Browse Source

修改bug

wangxy 2 days ago
parent
commit
adaed7e2fd
3 changed files with 29 additions and 0 deletions
  1. 12 0
      api/zijiazhenggongsi.js
  2. 7 0
      pages.json
  3. 10 0
      pages/admin/ShouYe/shouye.vue

+ 12 - 0
api/zijiazhenggongsi.js

@@ -22,4 +22,16 @@ export function getZiJiazhengGongsiInfo(data = {}) {
         data,
         timeout: 20000
     })
+}
+
+export function getKzchaxunInfo(data = {}) {
+    return request({
+        url: '/app/user/kzchaxun/info',
+        headers: {
+            isToken: true
+        },
+        method: 'post',
+        data,
+        timeout: 20000
+    })
 }

+ 7 - 0
pages.json

@@ -375,6 +375,13 @@
 			{
 					"navigationStyle": "custom"
 			}
+		},
+		{
+			"path" : "pages/admin/Kaoshi/checkList",
+			"style" : 
+			{
+					"navigationStyle": "custom"
+			}
 		}
 		
 	],

+ 10 - 0
pages/admin/ShouYe/shouye.vue

@@ -79,6 +79,10 @@
 				<icon class="index-icon kc-icon"></icon>
 				<text>课程管理</text>
 			</view>
+			<view @click="goToPage('kscx')" class="card-item-box">
+				<icon class="index-icon kz-icon"></icon>
+				<text>考试查询</text>
+			</view>
 		</view>
 		<view class="card-list-box">
 			<view class="card-list-title">合同管理</view>
@@ -261,6 +265,12 @@
 	// 获取用户头像
 	function goToPage(data) {
 		switch (data) {
+			case  'kscx':
+				uni.redirectTo({
+					url: '/pages/admin/Kaoshi/checkList'
+				})
+			break;
+			
 			case 'jz':
 				uni.redirectTo({
 					url: '/pages/admin/Jiazheng/index'