浏览代码

销售漏斗调整

qymljy 1 年之前
父节点
当前提交
8e0cbae182
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/mediaStatistics/modules/salesfunnel.vue

+ 6 - 6
src/views/mediaStatistics/modules/salesfunnel.vue

@@ -35,7 +35,7 @@
     </div>
     <div class="inline-16" style="margin-top:0px;margin-bottom: 20px">
       <el-button-group>
-        <el-button size="small" :type="dataParam.content.dateType==0?'primary':''" @click="dataChange(0)">全部</el-button>
+        <el-button size="small" :type="dataParam.content.dateType==99?'primary':''" @click="dataChange(99)">全部</el-button>
         <el-button size="small" :type="dataParam.content.dateType==1?'primary':''" @click="dataChange(1)">近一年</el-button>
         <el-button size="small" :type="dataParam.content.dateType==2?'primary':''" @click="dataChange(2)">近九个月</el-button>
         <el-button size="small" :type="dataParam.content.dateType==3?'primary':''" @click="dataChange(3)">近六个月</el-button>
@@ -234,7 +234,7 @@ export default {
         "content": {
           "type":0, // 0 按人搜素 1 按部门搜索
           "dataid":0, // 人员id或部门id
-          'dateType':0,
+          'dateType':99,
           "where": {
             "begindate": "",
             "begdate":"",
@@ -253,7 +253,7 @@ export default {
           "pageSize": 20,
           "type": '',
           "dataid": '',
-          "dateType": 0,
+          "dateType": 99,
           "sa_projstagemagid":'',
           "where": {
             "begdate":"",
@@ -394,7 +394,7 @@ export default {
         let startDate = new Date(currentDate.getFullYear(), currentDate.getMonth() - 3, currentDate.getDate() + 1); // 计算起始日期
         let endDate = currentDate; // 结束日期为当前日期
         this.dateSelect = [startDate.toISOString().split('T')[0],endDate.toISOString().split('T')[0]]
-      }else if (val == '0'){
+      }else if (val == '99'){
         this.dateSelect = []
       }
       this.getProportionOfFileModel()
@@ -420,7 +420,7 @@ export default {
         let startDate = new Date(currentDate.getFullYear(), currentDate.getMonth() - 3, currentDate.getDate() + 1); // 计算起始日期
         let endDate = currentDate; // 结束日期为当前日期
         this.dateSelect = [startDate.toISOString().split('T')[0],endDate.toISOString().split('T')[0]]
-      }else if (val == '0'){
+      }else if (val == '99'){
         this.dateSelect = []
       }
     },
@@ -842,7 +842,7 @@ export default {
   mounted () {
    /* this.renderPie()*/
     this.departmentrtment()
-    this.dateSet(1)
+    this.dateSet(99)
     this.queryTradeField()
   },
   created() {