wangguoyu hai 2 meses
pai
achega
cff9821f2b
Modificáronse 2 ficheiros con 24 adicións e 3 borrados
  1. 13 0
      api/jiazheng.js
  2. 11 3
      pages/admin/Jiazheng/jiazhengUserInfo.vue

+ 13 - 0
api/jiazheng.js

@@ -266,3 +266,16 @@ export function jiazhengIdcard(data = {}) {
   })
 }
 
+
+export function jiazhengCheck(data = {}) {
+  return request({
+    url: '/app/user/jiazheng/check',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}
+

+ 11 - 3
pages/admin/Jiazheng/jiazhengUserInfo.vue

@@ -92,6 +92,7 @@
 			this.pageInfo.status = data.status
 			this.pageInfo.id = data.id
 			this.pageInfo.userId = data.userId
+			this.pageInfo.from = data.from
 			this.getJianliInfo()
 		},
 		methods: {
@@ -135,9 +136,16 @@
 				})
 			},
 			goUpPage() {
-				uni.redirectTo({
-					url: "/pages/admin/ShouYe/shouye"
-				})
+				if(this.pageInfo.from =='banzheng'){
+					uni.redirectTo({
+						url: "/pages/admin/banzheng/list"
+					})
+				}else{
+					uni.redirectTo({
+						url: "/pages/admin/Jiazheng/index"
+					})
+				}
+			
 			},
 
 		}