Bladeren bron

业务数据大屏,销售漏斗调整

qymljy 2 maanden geleden
bovenliggende
commit
370be472c2

+ 44 - 44
src/HManagement/serviceDataScreen/index.vue

@@ -404,29 +404,29 @@ export default {
       this.$refs.profileRef.param.content.type = this.departmentid !== ''?1:0
       this.$refs.profileRef.param.content.where.isleave = this.isleave
       this.$refs.profileRef.listData()
-      this.$refs.profileRef.$refs.proTypRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.proTypRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.proTypRef.param.content.where.isleave = this.isleave
-      this.$refs.profileRef.$refs.proFowRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.proFowRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.proFowRef.param.content.where.isleave = this.isleave
-      this.$refs.profileRef.$refs.cusFowRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.cusFowRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.cusFowRef.param.content.where.isleave = this.isleave
-      let currentDate = new Date(); // 获取当前日期
+      // this.$refs.profileRef.$refs.proTypRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.proTypRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.proTypRef.param.content.where.isleave = this.isleave
+      // this.$refs.profileRef.$refs.proFowRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.proFowRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.proFowRef.param.content.where.isleave = this.isleave
+      // this.$refs.profileRef.$refs.cusFowRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.cusFowRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.cusFowRef.param.content.where.isleave = this.isleave
+      // let currentDate = new Date(); // 获取当前日期
       // let startDate = new Date(currentDate.getFullYear(), currentDate.getMonth() ) // 计算起始日期
-      let startDate = currentDate.getFullYear() +'-' + 1
-      let endDate = currentDate.getFullYear() +'-' + 12 // 计算起始日期
-      this.$refs.profileRef.$refs.startRef.value = startDate
-      this.$refs.profileRef.$refs.endRef.value = endDate
-      this.$refs.profileRef.$refs.proTypRef.typeInit(true,'项目类型分析')
-      this.$refs.profileRef.$refs.proFowRef.typeInit(true,'项目跟进情况')
-      this.$refs.profileRef.$refs.cusFowRef.typeInit(true,'客户跟进情况')
-      this.$refs.profileRef.$refs.analyzeRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.analyzeRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.analyzeRef.param.content.where.isleave = this.isleave
-      this.$refs.profileRef.$refs.analyzeDateRef.value = new Date().getFullYear() + '-' +  (new Date().getMonth() + 1) + '-' + new Date().getDate()
-      this.$refs.profileRef.$refs.analyzeRef.lineInit(true)
+      // let startDate = currentDate.getFullYear() +'-' + 1
+      // let endDate = currentDate.getFullYear() +'-' + 12 // 计算起始日期
+      // this.$refs.profileRef.$refs.startRef.value = startDate
+      // this.$refs.profileRef.$refs.endRef.value = endDate
+      // this.$refs.profileRef.$refs.proTypRef.typeInit(true,'项目类型分析')
+      // this.$refs.profileRef.$refs.proFowRef.typeInit(true,'项目跟进情况')
+      // this.$refs.profileRef.$refs.cusFowRef.typeInit(true,'客户跟进情况')
+      // this.$refs.profileRef.$refs.analyzeRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.analyzeRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.analyzeRef.param.content.where.isleave = this.isleave
+      // this.$refs.profileRef.$refs.analyzeDateRef.value = new Date().getFullYear() + '-' +  (new Date().getMonth() + 1) + '-' + new Date().getDate()
+      // this.$refs.profileRef.$refs.analyzeRef.lineInit(true)
     },
     queryAllAgainData(id){
       /*业务员账户*/
@@ -494,29 +494,29 @@ export default {
       this.$refs.profileRef.param.content.type = this.departmentid !== ''?1:0
       this.$refs.profileRef.param.content.where.isleave = this.isleave
       this.$refs.profileRef.listData()
-      this.$refs.profileRef.$refs.proTypRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.proTypRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.proTypRef.param.content.where.isleave = this.isleave
-      this.$refs.profileRef.$refs.proFowRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.proFowRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.proFowRef.param.content.where.isleave = this.isleave
-      this.$refs.profileRef.$refs.cusFowRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.cusFowRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.cusFowRef.param.content.where.isleave = this.isleave
-      let currentDate = new Date(); // 获取当前日期
+      // this.$refs.profileRef.$refs.proTypRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.proTypRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.proTypRef.param.content.where.isleave = this.isleave
+      // this.$refs.profileRef.$refs.proFowRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.proFowRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.proFowRef.param.content.where.isleave = this.isleave
+      // this.$refs.profileRef.$refs.cusFowRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.cusFowRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.cusFowRef.param.content.where.isleave = this.isleave
+      // let currentDate = new Date(); // 获取当前日期
       // let startDate = new Date(currentDate.getFullYear(), currentDate.getMonth() ) // 计算起始日期
-      let startDate = currentDate.getFullYear() +'-' + 1
-      let endDate = currentDate.getFullYear() +'-' + 12 // 计算起始日期
-      this.$refs.profileRef.$refs.startRef.value = startDate
-      this.$refs.profileRef.$refs.endRef.value = endDate
-      this.$refs.profileRef.$refs.proTypRef.typeInit(false,'项目类型分析')
-      this.$refs.profileRef.$refs.proFowRef.typeInit(false,'项目跟进情况')
-      this.$refs.profileRef.$refs.cusFowRef.typeInit(false,'客户跟进情况')
-      this.$refs.profileRef.$refs.analyzeRef.param.content.dataid = id
-      this.$refs.profileRef.$refs.analyzeRef.param.content.type = this.departmentid !== ''?1:0
-      this.$refs.profileRef.$refs.analyzeRef.param.content.where.isleave = this.isleave
-      this.$refs.profileRef.$refs.analyzeDateRef.value = new Date().getFullYear() + '-' +  (new Date().getMonth() + 1) + '-' + new Date().getDate()
-      this.$refs.profileRef.$refs.analyzeRef.lineInit(false)
+      // let startDate = currentDate.getFullYear() +'-' + 1
+      // let endDate = currentDate.getFullYear() +'-' + 12 // 计算起始日期
+      // this.$refs.profileRef.$refs.startRef.value = startDate
+      // this.$refs.profileRef.$refs.endRef.value = endDate
+      // this.$refs.profileRef.$refs.proTypRef.typeInit(false,'项目类型分析')
+      // this.$refs.profileRef.$refs.proFowRef.typeInit(false,'项目跟进情况')
+      // this.$refs.profileRef.$refs.cusFowRef.typeInit(false,'客户跟进情况')
+      // this.$refs.profileRef.$refs.analyzeRef.param.content.dataid = id
+      // this.$refs.profileRef.$refs.analyzeRef.param.content.type = this.departmentid !== ''?1:0
+      // this.$refs.profileRef.$refs.analyzeRef.param.content.where.isleave = this.isleave
+      // this.$refs.profileRef.$refs.analyzeDateRef.value = new Date().getFullYear() + '-' +  (new Date().getMonth() + 1) + '-' + new Date().getDate()
+      // this.$refs.profileRef.$refs.analyzeRef.lineInit(false)
     },
     detailClick(){
       this.dialogVisible = true

+ 2 - 2
src/HManagement/serviceDataScreen/modules/salesFunnel.vue

@@ -25,7 +25,7 @@
           </div>
         </div>
         <div style="height: 0.256vw"></div>
-        <div>
+        <div style="max-height: 28.345vw;min-height:28.345vw;overflow: auto">
           <funnelBox style="margin-top: 1.256vw;" v-for="(item,index) in list"  :key="item.index" :width="width - (index * 1.042)"  :data="item"></funnelBox>
         </div>
         <div class="justify-style-left" style="margin-top: 1.026vw;color: #e13333">
@@ -120,7 +120,7 @@
           </div>
         </div>
         <div style="clear: both;margin-top: 0.625vw">
-          <div ref="chartRef" style="height: 9.856vw;">
+          <div ref="chartRef" style="height: 7.856vw;">
           </div>
         </div>
       </template>