Browse Source

删除问题修改

zishan-an 11 months ago
parent
commit
5787524e46
3 changed files with 8 additions and 7 deletions
  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=>