manage-client 3.2.161 → 3.2.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,12 +88,12 @@
88
88
  </div>
89
89
  <div>
90
90
  <i class="await"></i>
91
- <span class="await-text">等待接听</span>
91
+ <span class="await-text">闲置</span>
92
92
  <span class="await-num">{{ data.awaitNum }}</span>
93
93
  </div>
94
94
  <div>
95
95
  <i class="ring"></i>
96
- <span class="ring-text">振铃</span>
96
+ <span class="ring-text">响铃中</span>
97
97
  <span class="ring-num">{{ data.ringNum }}</span>
98
98
  </div>
99
99
  <div>
@@ -325,7 +325,7 @@ export default {
325
325
  color: #FFCD00;
326
326
  position: absolute;
327
327
  top: 1.204vh;
328
- left: 19.271vw;
328
+ left: 17.271vw;
329
329
  }
330
330
 
331
331
  .ring{
@@ -337,12 +337,12 @@ export default {
337
337
  background-size: contain;
338
338
  position: absolute;
339
339
  top: 1.389vh;
340
- left: 22.396vw;
340
+ left: 21vw;
341
341
  }
342
342
  .ring-text{
343
343
  position: absolute;
344
344
  top: 1.852vh;
345
- left: 25.78125vw;
345
+ left: 24vw;
346
346
  }
347
347
  .ring-num{
348
348
  font-size: 2.593vh;
@@ -77,7 +77,7 @@ export default {
77
77
  default:[
78
78
  {
79
79
  date: '',
80
- duration:'',
80
+ // duration:'',
81
81
  name:'',
82
82
  orderType:'',
83
83
  address:'',
@@ -96,12 +96,10 @@ export default {
96
96
  font-size: 2.5vh;
97
97
  display: flex;
98
98
  height: 5.093vh;
99
- flex-direction: row;
100
99
  align-items: center;
101
100
  position: relative;
102
101
  margin-top: 2.407vh;
103
102
  text-align: center;
104
- justify-content: space-evenly;
105
103
  //div:nth-of-type(1){width: 25%;}
106
104
  //div:nth-of-type(2){width: 8%;}
107
105
  //div:nth-of-type(3){width: 15%;}
@@ -109,6 +107,13 @@ export default {
109
107
  //div:nth-of-type(5){width: 21%;}
110
108
  //div:nth-of-type(6){width: 10%;}
111
109
  //div:nth-of-type(7){width: 11%;}
110
+ div:nth-of-type(1){width: 100px; margin-left: 142px;}
111
+ div:nth-of-type(2){width: 109px; margin-left: 142px;}
112
+ div:nth-of-type(3){width: 109px; margin-left: 52px;}
113
+ div:nth-of-type(4){width: 110px; margin-left: 107px;}
114
+ div:nth-of-type(5){width: 109px; margin-left: 177px;}
115
+ div:nth-of-type(6){width: 100px; margin-left: 49px;}
116
+ //div:nth-of-type(7){width: 100px;margin-left: 37px}
112
117
  }
113
118
 
114
119
  .userinfo-data {
@@ -126,36 +131,36 @@ export default {
126
131
  line-height: 41px;
127
132
  justify-content: space-evenly;
128
133
 
129
- //div:nth-of-type(1){
130
- // width: 230px;
131
- //}
134
+ div:nth-of-type(1){
135
+ width: 230px;
136
+ }
132
137
  //div:nth-of-type(2){
133
138
  // width: 70px;
134
139
  //}
135
- //div:nth-of-type(3){
136
- // width: 100px;
137
- //}
138
- //div:nth-of-type(4){
139
- // width: 22px;
140
- //}
141
- //div:nth-of-type(5){
142
- // height: 100%;
143
- // width: 266px;
144
- // //text-align: center;
145
- // margin-left: 40px;
146
- // div{
147
- // overflow: hidden;
148
- // text-overflow: ellipsis;
149
- // white-space: nowrap;
150
- // }
151
- //}
152
- //div:nth-of-type(6){
153
- // width: 90px;
154
- //}
155
- //div:nth-of-type(7){
156
- // width: 66px;
157
- // color: #F7DB35;
158
- //}
140
+ div:nth-of-type(2){
141
+ width: 100px;
142
+ }
143
+ div:nth-of-type(3){
144
+ width: 22px;
145
+ }
146
+ div:nth-of-type(4){
147
+ height: 100%;
148
+ width: 266px;
149
+ //text-align: center;
150
+ margin-left: 40px;
151
+ div{
152
+ overflow: hidden;
153
+ text-overflow: ellipsis;
154
+ white-space: nowrap;
155
+ }
156
+ }
157
+ div:nth-of-type(5){
158
+ width: 90px;
159
+ }
160
+ div:nth-of-type(6){
161
+ width: 66px;
162
+ color: #F7DB35;
163
+ }
159
164
  }
160
165
 
161
166
  </style>
@@ -7,13 +7,13 @@
7
7
  </tr>
8
8
  </thead>
9
9
  <!-- 显示不出来-->
10
- <!-- <tbody class="swiper-container">-->
11
- <!-- <template class="swiper-wrapper">-->
12
- <!-- <tr class="swiper-slide" v-for="item in noticeList">-->
13
- <!-- <td v-for="value in item">{{value}}</td>-->
14
- <!-- </tr>-->
15
- <!-- </template>-->
16
- <!-- </tbody>-->
10
+ <tbody class="swiper-container">
11
+ <template class="swiper-wrapper">
12
+ <tr class="swiper-slide" v-for="item in noticeList">
13
+ <td v-for="value in item">{{value}}</td>
14
+ </tr>
15
+ </template>
16
+ </tbody>
17
17
  <!-- 格式不对-->
18
18
  <!-- <tbody class="swiper-container">-->
19
19
  <!-- <tr class="swiper-wrapper">-->
@@ -23,11 +23,11 @@
23
23
  <!-- </tr>-->
24
24
  <!-- </tbody>-->
25
25
  <!-- 动不了的-->
26
- <tbody class="swiper-container">
27
- <tr class="swiper-slide" v-for="item in noticeList">
28
- <td v-for="value in item">{{value}}</td>
29
- </tr>
30
- </tbody>
26
+ <!-- <tbody class="swiper-container">-->
27
+ <!-- <tr class="swiper-slide" v-for="item in noticeList">-->
28
+ <!-- <td v-for="value in item">{{value}}</td>-->
29
+ <!-- </tr>-->
30
+ <!-- </tbody>-->
31
31
  </table>
32
32
  </div>
33
33
  </template>
@@ -58,26 +58,9 @@ export default {
58
58
  });
59
59
  })
60
60
  },
61
- // addScroll() {
62
- // let tBody = document.getElementsByClassName('zyl-tBody');
63
- // if (tBody) {
64
- // tBody.addEventListener('scroll', this.handleScroll);
65
- // }
66
- //
67
- // }
68
61
 
69
62
  }
70
63
  },
71
- // ready(){
72
- // this.show1()
73
- // },
74
- // methods:{
75
- // show1(){
76
- // let temp = document.getElementsByTagName("template");
77
- // let clon = temp.content.cloneNode(true);
78
- // document.body.appendChild(clon);
79
- // }
80
- // },
81
64
  props:{
82
65
  rowSpeed:{
83
66
  /* 行数 row 速度 speed */
@@ -96,9 +79,61 @@ export default {
96
79
  noticeList:{
97
80
  type:Array,
98
81
  default:[
99
- {
100
- },
101
- ]
82
+ {
83
+ date: "2022-09-01 10:25:06",
84
+ duration:'2min',
85
+ name:'赵王莉1',
86
+ orderType:'报修',
87
+ address:'建设小区21号112室',
88
+ receptionist:'候倩楠',
89
+ state:'接听'
90
+ },
91
+ {
92
+ date: "2022-09-01 10:25:06",
93
+ duration:'2min',
94
+ name:'林妹妹1',
95
+ orderType:'报修',
96
+ address:'建设小区21号112室',
97
+ receptionist:'候倩楠',
98
+ state:'接听'
99
+ },
100
+ {
101
+ date: "2022-09-01 10:25:06",
102
+ duration:'2min',
103
+ name:'赵王莉2',
104
+ orderType:'报修',
105
+ address:'建设小区21号112室',
106
+ receptionist:'候倩楠',
107
+ state:'接听'
108
+ },
109
+ {
110
+ date: "2022-09-01 10:25:06",
111
+ duration:'2min',
112
+ name:'林妹妹2',
113
+ orderType:'报修',
114
+ address:'建设小区21号112室',
115
+ receptionist:'候倩楠',
116
+ state:'接听'
117
+ },
118
+ {
119
+ date: "2022-09-01 10:25:06",
120
+ duration:'2min',
121
+ name:'赵王莉3',
122
+ orderType:'报修',
123
+ address:'建设小区21号112室',
124
+ receptionist:'候倩楠',
125
+ state:'接听'
126
+ },
127
+ {
128
+ date: "2022-09-01 10:25:06",
129
+ duration:'2min',
130
+ name:'林妹妹3',
131
+ orderType:'报修',
132
+ address:'建设小区21号112室',
133
+ receptionist:'候倩楠',
134
+ state:'接听'
135
+ },
136
+ ],
102
137
  }
103
138
  }
104
139
  }
@@ -115,9 +150,7 @@ export default {
115
150
  /*flex-direction: row;*/
116
151
  /*align-items: center;*/
117
152
  position: relative;
118
- /*margin-top: 2.407vh;*/
119
153
  text-align: center;
120
- /*justify-content: space-evenly;*/
121
154
  }
122
155
 
123
156
  .userinfo-data {
@@ -70,7 +70,7 @@ export default {
70
70
 
71
71
  <style scoped>
72
72
  .time {
73
- width: 16.625vw;
73
+ width: 17.625vw;
74
74
  height: 5.222vh;
75
75
  position: absolute;
76
76
  top: -1.389vh;
@@ -88,7 +88,7 @@ export default {
88
88
  line-height: 8.796vh;
89
89
  }
90
90
  .timeYMD {
91
- width: 8.49vw;
91
+ width: 10vw;
92
92
  height: 5.574vh;
93
93
  font-size: 1.667vh;
94
94
  font-weight: 400;
@@ -6,7 +6,7 @@
6
6
  </template>
7
7
 
8
8
  <script>
9
- import SwiperTools from "./SwiperTools2"
9
+ import SwiperTools from "./SwiperTools"
10
10
  export default {
11
11
 
12
12
  name: "Userinfo",
@@ -18,7 +18,7 @@ export default {
18
18
  noticeList:[
19
19
  {
20
20
  date: "2022-09-01 10:25:06",
21
- duration:'2min',
21
+ // duration:'2min',
22
22
  name:'赵王莉1',
23
23
  orderType:'报修',
24
24
  address:'建设小区21号112室',
@@ -27,7 +27,7 @@ export default {
27
27
  },
28
28
  {
29
29
  date: "2022-09-01 10:25:06",
30
- duration:'2min',
30
+ // duration:'2min',
31
31
  name:'林妹妹1',
32
32
  orderType:'报修',
33
33
  address:'建设小区21号112室',
@@ -36,7 +36,7 @@ export default {
36
36
  },
37
37
  {
38
38
  date: "2022-09-01 10:25:06",
39
- duration:'2min',
39
+ // duration:'2min',
40
40
  name:'赵王莉2',
41
41
  orderType:'报修',
42
42
  address:'建设小区21号112室',
@@ -45,7 +45,7 @@ export default {
45
45
  },
46
46
  {
47
47
  date: "2022-09-01 10:25:06",
48
- duration:'2min',
48
+ // duration:'2min',
49
49
  name:'林妹妹2',
50
50
  orderType:'报修',
51
51
  address:'建设小区21号112室',
@@ -54,7 +54,7 @@ export default {
54
54
  },
55
55
  {
56
56
  date: "2022-09-01 10:25:06",
57
- duration:'2min',
57
+ // duration:'2min',
58
58
  name:'赵王莉3',
59
59
  orderType:'报修',
60
60
  address:'建设小区21号112室',
@@ -63,7 +63,7 @@ export default {
63
63
  },
64
64
  {
65
65
  date: "2022-09-01 10:25:06",
66
- duration:'2min',
66
+ // duration:'2min',
67
67
  name:'林妹妹3',
68
68
  orderType:'报修',
69
69
  address:'建设小区21号112室',
@@ -73,7 +73,7 @@ export default {
73
73
  ],
74
74
  titleList:{
75
75
  date: '时间',
76
- duration: '来电时长',
76
+ // duration: '来电时长',
77
77
  name:'用户姓名',
78
78
  orderType:'工单类型',
79
79
  address:'用户地址',
@@ -19,6 +19,7 @@
19
19
 
20
20
  <script>
21
21
  import {HttpResetClass} from "vue-client";
22
+ import * as Util from '../../../util'
22
23
 
23
24
  export default {
24
25
  name: "WorkOrderPage",
@@ -33,21 +34,108 @@ export default {
33
34
  orderByNetHall:'4723',
34
35
 
35
36
 
36
- }
37
+ },
37
38
  }
38
39
  },
40
+ props:['filialeId'],
39
41
  methods:{
40
- getInitData(){
42
+ //获取所有工单数量
43
+ getOrderQuantity(){
41
44
  let http = new HttpResetClass()
42
- http.load('post','rs/sql/getCallSumData',{}).then((res)=>{
45
+ http.load('post','rs/logic/TelenumberWorkorders',{
46
+ data: {
47
+ start_date: Util.toStandardDateString(),
48
+ end_date: Util.toStandardDateString(), // 结束时间
49
+ f_orgid: this.filialeId?this.filialeId:0 // 分公司id
50
+ }
51
+ },{rejectMsg:null,resolveMsg:null}).then((res)=>{
52
+ // console.log('获取所有工单数量TelenumberWorkorders',res.data.data[0].wordercont)
43
53
  console.log(res.data)
44
- // this.data = res.data[0]
54
+ this.data.orderQuantity = res.data.data[0].wordercont
45
55
  })
46
- }
56
+ },
57
+ //获取在线处理
58
+ getOnLineProcessing(){
59
+ let http = new HttpResetClass()
60
+ http.load('post','rs/logic/Directlyprocessedworkorder',{
61
+ data: {
62
+ start_date: Util.toStandardDateString(),
63
+ end_date: Util.toStandardDateString(), // 结束时间
64
+ f_orgid: this.filialeId?this.filialeId:0 // 分公司id
65
+ }
66
+ },{rejectMsg:null,resolveMsg:null}).then((res)=>{
67
+ // console.log('获取在线处理Directlyprocessedworkorder',res.data.data[0].zaixian)
68
+ console.log(res.data)
69
+ this.data.onLineProcessing = res.data.data[0].zaixian
70
+ })
71
+ },
72
+ //获取所有下派工单
73
+ getSendOrders(){
74
+ let http = new HttpResetClass()
75
+ http.load('post','rs/logic/Quantityworkorder',{
76
+ data: {
77
+ start_date: Util.toStandardDateString(),
78
+ end_date: Util.toStandardDateString(), // 结束时间
79
+ f_orgid: this.filialeId?this.filialeId:0 // 分公司id
80
+ }
81
+ },{rejectMsg:null,resolveMsg:null}).then((res)=>{
82
+ console.log(res.data)
83
+ this.sendOrders = res.data.handlingsum
84
+ })
85
+ },
86
+ //获取电话派单量
87
+ getOrderByTelephone(){
88
+ let http = new HttpResetClass()
89
+ http.load('post','rs/logic/QuantityworkorderNoWeixin',{
90
+ data: {
91
+ start_date: Util.toStandardDateString(),
92
+ end_date: Util.toStandardDateString(), // 结束时间
93
+ f_orgid: this.filialeId?this.filialeId:0 // 分公司id
94
+ }
95
+ },{rejectMsg:null,resolveMsg:null}).then((res)=>{
96
+ console.log(res.data)
97
+ this.sendOrders = res.data.noweixinsums
98
+ })
99
+ },
100
+ //获取微信客服派单量
101
+ getOrderByWechat(){
102
+ // if (val){
103
+ // let f_orgid = val
104
+ // }
105
+ let http = new HttpResetClass()
106
+ http.load('post','rs/logic/QuantityworkorderWeixin',{
107
+ data: {
108
+ start_date: Util.toStandardDateString(),
109
+ end_date: Util.toStandardDateString(), // 结束时间
110
+ f_orgid: this.filialeId?this.filialeId:0 // 分公司id
111
+ }
112
+ },{rejectMsg:null,resolveMsg:null}).then((res)=>{
113
+ console.log(res.data)
114
+ this.orderByWechat = res.data.weixinsums
115
+ // console.log("orderByWechat"+JSON.stringify(this.orderByWechat))
116
+ })
117
+ },
47
118
  },
48
119
  ready(){
49
- // this.getInitData()
50
- }
120
+ this.getOrderQuantity()
121
+ this.getOnLineProcessing()
122
+ this.getSendOrders()
123
+ this.getOrderByTelephone()
124
+ this.getOrderByWechat()
125
+ },
126
+ computed:{
127
+
128
+ },
129
+ watch: {
130
+ 'filialeId'(val){
131
+ // console.log("filialeId>>>=====",val)
132
+ this.getOrderQuantity()
133
+ this.getOnLineProcessing()
134
+ this.getSendOrders()
135
+ this.getOrderByTelephone()
136
+ this.getOrderByWechat()
137
+ }
138
+ },
51
139
  }
52
140
  </script>
53
141
 
@@ -118,7 +206,7 @@ export default {
118
206
  }
119
207
  .left-1 li:nth-of-type(4) {
120
208
  top: 0.926vh;
121
- background-image: url("../../../../static/images/zhongyi/weChat.png");
209
+ background-image: url("../../../../static/images/zhongyi/phone5.png");
122
210
  }
123
211
  .left-1 li:nth-of-type(5) {
124
212
  top: 0.833vh;
@@ -37,7 +37,8 @@ let specialComp = {
37
37
  //客服状态
38
38
  'service-status':(resolve) => { require(['./CallReport/ServiceStatus'], resolve) },
39
39
 
40
- //
40
+ //分公司下拉框
41
+ 'drop-down-box':(resolve) => { require(['./CallReport/DropDownBox'], resolve) },
41
42
  }
42
43
  exports.specialComp = specialComp
43
44
 
package/src/main.js CHANGED
@@ -1,66 +1,66 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条0
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
-
47
- saleManage('qianneng')
48
- webmeterManage()
49
- ManageHome()
50
- newmanage()
51
- reportManage()
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条0
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+
47
+ saleManage("WEINAN")
48
+ webmeterManage()
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+
package/src/saleManage.js CHANGED
@@ -592,6 +592,9 @@ export default function (filiale) {
592
592
  Vue.component('res-select-new', (resolve) => { require(['./filiale/tongchuan/ResSelectNew'], resolve) })
593
593
  // 重点用户用气排行查询
594
594
  Vue.component('key-user-gas-ranking', (resolve) => { require(['./components/sale/businessquery/AccountQuery/keyUserGasRanking'], resolve) })
595
+ Vue.component('print-sheet-query', (resolve) => {
596
+ require(['./components/sale/businessquery/printSheetQuery'], resolve)
597
+ })
595
598
  // 分公司特殊页面注册替换
596
599
  if (filiale) {
597
600
  let filialeComp = require(`./filiale/${filiale}/sale`).specialComp