Browse Source

bug修改

qymljy 2 years ago
parent
commit
114a9bee0d

+ 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()
       }
     },

+ 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": {