miaofuhao 4 yıl önce
ebeveyn
işleme
8fa7d108d9

+ 2 - 2
fuwaiCallCenterWeb.UI/src/views/reportForm/callTotalCount/index.vue

65
       })
65
       })
66
     },
66
     },
67
     btn_search() {
67
     btn_search() {
68
-      this.getList();
69
-      this.getChartDatas();
68
+      this.getList()
69
+      this.getChartDatas()
70
     },
70
     },
71
     btn_export() {
71
     btn_export() {
72
       window.location.href = this.$store.getters.serverConfig.BASE_API + 'callcenterapi/api/totalcall/exportexcel?years=' + this.seachrDate
72
       window.location.href = this.$store.getters.serverConfig.BASE_API + 'callcenterapi/api/totalcall/exportexcel?years=' + this.seachrDate

+ 1 - 1
fuwaiCallCenterWeb.UI/src/views/telCall/numAssigned/index.vue

70
         const params = {
70
         const params = {
71
           pageindex: this.pageParams.pageindex, // 第几页
71
           pageindex: this.pageParams.pageindex, // 第几页
72
           pagesize: this.pageParams.pagesize, // 每页几条信息
72
           pagesize: this.pageParams.pagesize, // 每页几条信息
73
-          key: this.keyword.replace(/\s+/g, ""),
73
+          key: this.keyword.replace(/\s+/g, ''),
74
           stime: this.searchDate && this.searchDate[0],
74
           stime: this.searchDate && this.searchDate[0],
75
           etime: this.searchDate && this.searchDate[1]
75
           etime: this.searchDate && this.searchDate[1]
76
         }
76
         }

+ 18 - 18
fuwaiCallCenterWeb.UI/src/views/trafficData/callRecord/index.vue

15
         end-placeholder="结束日期"/>
15
         end-placeholder="结束日期"/>
16
       <el-input v-model="keyword" placeholder="请输入呼叫号码" class="filter-item"/>
16
       <el-input v-model="keyword" placeholder="请输入呼叫号码" class="filter-item"/>
17
       <el-cascader
17
       <el-cascader
18
-      v-model="provinceCity"
19
-      :options="provinceCityDatas"
20
-      :props="props"
21
-      placeholder="请选择省市"
22
-      class="filter-item"
23
-      clearable
24
-      filterable
25
-      change-on-select />
18
+        v-model="provinceCity"
19
+        :options="provinceCityDatas"
20
+        :props="props"
21
+        placeholder="请选择省市"
22
+        class="filter-item"
23
+        clearable
24
+        filterable
25
+        change-on-select />
26
       <el-select v-model="roleId" class="filter-item" filterable clearable placeholder="请选择角色">
26
       <el-select v-model="roleId" class="filter-item" filterable clearable placeholder="请选择角色">
27
         <el-option
27
         <el-option
28
           v-for="item in roleOptions"
28
           v-for="item in roleOptions"
204
       dataLists: [] // 列表数据
204
       dataLists: [] // 列表数据
205
     }
205
     }
206
   },
206
   },
207
-   computed: {
207
+  computed: {
208
     ...mapGetters([
208
     ...mapGetters([
209
       'token'
209
       'token'
210
     ])
210
     ])
226
         const params = {
226
         const params = {
227
           pageindex: this.pageParams.pageindex, // 第几页
227
           pageindex: this.pageParams.pageindex, // 第几页
228
           pagesize: this.pageParams.pagesize, // 每页几条信息
228
           pagesize: this.pageParams.pagesize, // 每页几条信息
229
-          keyword: this.keyword.replace(/\s*/g, ""), //	否	string	模糊查询(呼叫号码)
229
+          keyword: this.keyword.replace(/\s*/g, ''), //	否	string	模糊查询(呼叫号码)
230
           usercode: this.roleId, //	否	string	模糊查询(呼叫号码)
230
           usercode: this.roleId, //	否	string	模糊查询(呼叫号码)
231
-          province: this.provinceCity[0] == undefined?'':this.provinceCity[0],//省
232
-          city: this.provinceCity[1] == undefined?'':this.provinceCity[1],//市
231
+          province: this.provinceCity[0] == undefined ? '' : this.provinceCity[0], // 
232
+          city: this.provinceCity[1] == undefined ? '' : this.provinceCity[1], // 
233
           stime: this.searchDate && this.searchDate[0],
233
           stime: this.searchDate && this.searchDate[0],
234
           etime: this.searchDate && this.searchDate[1]
234
           etime: this.searchDate && this.searchDate[1]
235
         }
235
         }
247
     btn_search() {
247
     btn_search() {
248
       this.getList()
248
       this.getList()
249
     },
249
     },
250
-    //导出
250
+    // 导出
251
     btn_export() {
251
     btn_export() {
252
       alert(this.token)
252
       alert(this.token)
253
       debugger
253
       debugger
254
       window.location.href = this.$store.getters.serverConfig.BASE_API + 'callrecords/exportexcel?pageindex=' + this.pageParams.pageindex +
254
       window.location.href = this.$store.getters.serverConfig.BASE_API + 'callrecords/exportexcel?pageindex=' + this.pageParams.pageindex +
255
       '&pagesize=' + this.pageParams.pagesize +
255
       '&pagesize=' + this.pageParams.pagesize +
256
-      '&stime=' +  this.searchDate && this.searchDate[0] +
256
+      '&stime=' + this.searchDate && this.searchDate[0] +
257
       '&etime=' + this.searchDate && this.searchDate[1] +
257
       '&etime=' + this.searchDate && this.searchDate[1] +
258
-      '&province=' + this.provinceCity[0] == undefined?'':this.provinceCity[0] +
259
-      '&city=' + this.provinceCity[1] == undefined?'':this.provinceCity[1] +
260
-      '&keyword=' +  this.keyword.replace(/\s*/g, "") +
261
-      '&token=' +  this.token +
258
+      '&province=' + this.provinceCity[0] == undefined ? '' : this.provinceCity[0] +
259
+      '&city=' + this.provinceCity[1] == undefined ? '' : this.provinceCity[1] +
260
+      '&keyword=' + this.keyword.replace(/\s*/g, '') +
261
+      '&token=' + this.token +
262
       '&usercode=' + this.roleId
262
       '&usercode=' + this.roleId
263
     },
263
     },
264
     // 获取角色下拉
264
     // 获取角色下拉