Explorar el Código

删除问题修改

zishan-an hace 11 meses
padre
commit
5787524e46
Se han modificado 3 ficheros con 8 adiciones y 7 borrados
  1. 2 1
      src/views/login.vue
  2. 2 1
      src/views/system/business.vue
  3. 4 5
      src/views/system/businessInfoToDo.vue

+ 2 - 1
src/views/login.vue

@@ -62,9 +62,10 @@
 
               that.loginin = false;
 							localStorage.setItem('auth-token', res.data.token)
-							that.$router.replace('/index')
+							that.$router.replace('/homepage')
 							that.$message({
 								message: '登录成功',
+                duration:500,
 								type: 'success'
 							});
 						}, function(err) {

+ 2 - 1
src/views/system/business.vue

@@ -320,7 +320,8 @@ export default {
           businessNum : row.businessNum,
           headInfId:row.headInfId,
           rptNo:row.rptNo,
-          businessId:row.businessId
+          businessId:row.businessId,
+          cooperatorName:row.cooperatorName
         }
       })
     },

+ 4 - 5
src/views/system/businessInfoToDo.vue

@@ -54,7 +54,7 @@
               </el-descriptions-item>
               <el-descriptions-item label="合作方名称">
                 <p>
-                  {{this.businessInfoData.cooperatorName }}
+                  {{this.$route.query.cooperatorName }}
                 </p>
               </el-descriptions-item>
 
@@ -85,7 +85,7 @@
               </el-descriptions-item>
               <el-descriptions-item label="客户性别">
                 <p>
-                  {{this.customInfoData.sexCode }}
+                  {{this.customInfoData.sexDesc }}
                 </p>
               </el-descriptions-item>
               <el-descriptions-item label="手机号码">
@@ -309,6 +309,8 @@ export default {
       headInfId : this.$route.query.headInfId,
       rptNo : this.$route.query.rptNo,
       businessId : this.$route.query.businessId,
+      cooperatorName : this.$route.query.cooperatorName,
+
     }
   },
   watch: {},
@@ -325,9 +327,6 @@ export default {
           console.log(this.businessInfoData)
         }
     )
-    console.log("adshss十分")
-    console.log(this.businessId)
-    console.log(this.headInfId)
 
     findCustomInfoByHead(this.headInfId).then(
             res=>