Browse Source

代码上传

zhangqiOMG 2 years ago
parent
commit
d4e54c46b1

+ 1 - 1
src/HDrpManagement/projectChange/modules/detail.vue

@@ -244,7 +244,7 @@ export default {
       this.getProjectAddres()
       this.projectStage()
       this.tagData()
-      if (this.$route.query.portrait != ''){
+      if (this.$route.query.portrait == '1' || this.$route.query.portrait == 'jzds' || this.$route.query.portrait == 'glkh' || this.$route.query.portrait == 'bj' || this.$route.query.portrait == 'ht'){
         this.$refs.mindmap.onShow()
       }
     },

+ 6 - 6
src/HDrpManagement/projectChange/modules/modules/contract/components/add.vue

@@ -5,8 +5,8 @@
         <el-button ref="btn" size="small" type="primary">新 建</el-button>
       </span>
       <el-dropdown-menu slot="dropdown">
-        <el-dropdown-item command="经销项目" v-if="flag === 1">经销项目协议</el-dropdown-item>
-        <el-dropdown-item command="直销项目" v-if="flag === 2">直销项目协议</el-dropdown-item>
+        <el-dropdown-item command="经销项目" >经销项目协议</el-dropdown-item>
+        <el-dropdown-item command="直销项目" >直销项目协议</el-dropdown-item>
         <el-dropdown-item command="居间">居间协议</el-dropdown-item>
       </el-dropdown-menu>
     </el-dropdown>
@@ -616,7 +616,7 @@ export default {
               this.$router.push({path:'/contractDetail',query:{type:this.contractType,id:res.data.sa_contractid,rowindex:res.data.rowindex}})
             })
           }
-          
+
         }
       })
     },
@@ -640,8 +640,8 @@ export default {
     },
     agentChange (data) {
       this.form.sys_enterpriseid = data[0].sys_enterpriseid
-      this.form.enterprisename = data[0].enterprisename   
-      this.agentVisible = false 
+      this.form.enterprisename = data[0].enterprisename
+      this.agentVisible = false
     },
     centerChange (data) {
       this.form.enterprisename = data[0].enterprisename
@@ -768,4 +768,4 @@ export default {
   color: #6191F8;
   cursor: pointer;
 }
-</style>
+</style>

+ 1 - 1
src/HManagement/marketing2/saler/area/detail/index.vue

@@ -80,7 +80,7 @@ export default {
       this.mainData = res.data
       console.log(this.mainData);
       this.$refs['details'].param.content.sa_saleareaid = this.mainData.sa_saleareaid
-      if (this.$route.query.portrait !== ''){
+      if (this.$route.query.portrait == '1' || this.$route.query.portrait == 'khtj' || this.$route.query.portrait == 'xmtj' || this.$route.query.portrait == 'xstj' || this.$route.query.portrait == 'yxht' || this.$route.query.portrait == 'xmbj' || this.$route.query.portrait == 'khbj'){
         this.$refs.mindmap.onShow()
       }
       this.changeDataStructure()

+ 1 - 1
src/SDrpManagement/salerPrivatecustomer/detail/customerDetail.vue

@@ -287,7 +287,7 @@ export default {
           value:this.mainData.agentname
         },
       ]
-      if (this.$route.query.portrait != ''){
+      if (this.$route.query.portrait == '1' || this.$route.query.portrait == 'ht' || this.$route.query.portrait == 'xm' || this.$route.query.portrait == 'dd' || this.$route.query.portrait == 'fw'){
         this.$refs.mindmap.onShow()
       }
     },

+ 2 - 2
src/components/mindmap/custom.vue

@@ -1,7 +1,7 @@
 <template>
   <div style="background:#f1f2f3;overflow: auto;" id="full" :style="divStyle">
-    <img style="width: 25px; height: 25px;float: left" v-if="!fullscreen" @click="enterFullscreen" src="@/assets/icons/amplify.svg" title="全屏">
-    <img style="width: 25px; height: 25px;float: left" @click="backFullscreen" v-if="fullscreen" src="@/assets/icons/reduce.svg" title="还原">
+    <img style="width: 25px; height: 25px;" v-if="!fullscreen" @click="enterFullscreen" src="@/assets/icons/amplify.svg" title="全屏">
+    <img style="width: 25px; height: 25px;" @click="backFullscreen" v-if="fullscreen" src="@/assets/icons/reduce.svg" title="还原">
     <div  id="container" :style="contentStyle">
     </div>
     <el-drawer

+ 2 - 2
src/components/mindmap/project.vue

@@ -1,7 +1,7 @@
 <template>
   <div style="background:#f1f2f3" id="full" :style="divStyle">
-    <img style="width: 25px; height: 25px;float: left" v-if="!fullscreen" @click="enterFullscreen" src="@/assets/icons/amplify.svg" title="全屏">
-    <img style="width: 25px; height: 25px;float: left" @click="backFullscreen" v-if="fullscreen" src="@/assets/icons/reduce.svg" title="还原">
+    <img style="width: 25px;height: 25px" v-if="!fullscreen" @click="enterFullscreen" src="@/assets/icons/amplify.svg" title="全屏">
+    <img style="width: 25px; height: 25px" @click="backFullscreen" v-if="fullscreen" src="@/assets/icons/reduce.svg" title="还原">
     <div id="container" :style="contentStyle"></div>
     <el-drawer
         :visible.sync="drawer"

+ 6 - 4
src/components/mindmap/saler.vue

@@ -1,7 +1,7 @@
 <template>
-  <div style="background:#f1f2f3" id="full" :style="divStyle">
-    <img style="width: 25px; height: 25px;float: left" v-if="!fullscreen" @click="enterFullscreen" src="@/assets/icons/amplify.svg" title="全屏">
-    <img style="width: 25px; height: 25px;float: left" @click="backFullscreen" v-if="fullscreen" src="@/assets/icons/reduce.svg" title="还原">
+  <div style="background:#f1f2f3" id="full" :style="divStyle" >
+    <img style="width: 25px; height: 25px;" v-if="!fullscreen" @click="enterFullscreen" src="@/assets/icons/amplify.svg" title="全屏">
+    <img style="width: 25px; height: 25px;" @click="backFullscreen" v-if="fullscreen" src="@/assets/icons/reduce.svg" title="还原">
     <div id="container" :style="contentStyle"></div>
     <el-drawer
         :visible.sync="drawer"
@@ -385,7 +385,8 @@ export default {
       fullscreen:false,
       drawer:false,
       title:'',
-      tableData: []
+      tableData: [],
+      loading:false
     }
   },
   mounted () {
@@ -432,6 +433,7 @@ export default {
       return arr
     },
     async getData () {
+      this.loading = true
       const res = await this.$api.requested({
         "id": 20230625101004,
         "content": {