manage-client 3.2.172 → 3.2.174

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.
Files changed (27) hide show
  1. package/build/dev-server.js +182 -182
  2. package/package.json +2 -2
  3. package/src/components/SellReport/DayStairMoneyHunum.vue +256 -0
  4. package/src/components/SellReport/MonthStairHunum.vue +256 -0
  5. package/src/components/sale/config/exportConfig.js +1 -1
  6. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -586
  7. package/src/filiale/WEINAN/InspectListGas.vue +76 -4
  8. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +594 -0
  9. package/src/filiale/WEINAN/webmeterManage.js +10 -0
  10. package/src/filiale/kelai/AreaChargeQuery.vue +393 -0
  11. package/src/filiale/kelai/sale.js +3 -1
  12. package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +25 -16
  13. package/src/filiale/zhongyi/CallReport/DropDownBox.vue +15 -25
  14. package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +17 -2
  15. package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +95 -37
  16. package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +15 -4
  17. package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +86 -100
  18. package/src/filiale/zhongyi/CallReport/SwiperTools.vue +34 -55
  19. package/src/filiale/zhongyi/CallReport/Userinfo.vue +33 -61
  20. package/src/filiale/zhongyi/CallReport/WeatherData.vue +69 -5
  21. package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +32 -41
  22. package/src/main.js +66 -66
  23. package/src/reportManage.js +8 -0
  24. package/static/images/zhongyi//345/244/251/346/260/224-/346/231/264.png +0 -0
  25. package/static/images/zhongyi//346/232/264/351/233/250/345/210/260/345/244/247/346/232/264/351/233/250.png +0 -0
  26. package/static/images/zhongyi//351/230/264/345/244/251.png +0 -0
  27. package/static/images/zhongyi//351/233/276.png +0 -0
@@ -7,81 +7,52 @@
7
7
 
8
8
  <script>
9
9
  import SwiperTools from "./SwiperTools"
10
+ import {HttpResetClass} from "vue-client";
10
11
  export default {
11
-
12
12
  name: "Userinfo",
13
13
  components:{
14
14
  SwiperTools
15
15
  },
16
16
  data(){
17
17
  return{
18
- noticeList:[
19
- {
20
- date: "2022-09-01 10:25:06",
21
- // duration:'2min',
22
- name:'赵王莉1',
23
- orderType:'报修',
24
- address:'建设小区21号112室',
25
- receptionist:'候倩楠',
26
- state:'接听'
27
- },
28
- {
29
- date: "2022-09-01 10:25:06",
30
- // duration:'2min',
31
- name:'林妹妹1',
32
- orderType:'报修',
33
- address:'建设小区21号112室',
34
- receptionist:'候倩楠',
35
- state:'接听'
36
- },
37
- {
38
- date: "2022-09-01 10:25:06",
39
- // duration:'2min',
40
- name:'赵王莉2',
41
- orderType:'报修',
42
- address:'建设小区21号112室',
43
- receptionist:'候倩楠',
44
- state:'接听'
45
- },
46
- {
47
- date: "2022-09-01 10:25:06",
48
- // duration:'2min',
49
- name:'林妹妹2',
50
- orderType:'报修',
51
- address:'建设小区21号112室',
52
- receptionist:'候倩楠',
53
- state:'接听'
54
- },
55
- {
56
- date: "2022-09-01 10:25:06",
57
- // duration:'2min',
58
- name:'赵王莉3',
59
- orderType:'报修',
60
- address:'建设小区21号112室',
61
- receptionist:'候倩楠',
62
- state:'接听'
63
- },
64
- {
65
- date: "2022-09-01 10:25:06",
66
- // duration:'2min',
67
- name:'林妹妹3',
68
- orderType:'报修',
69
- address:'建设小区21号112室',
70
- receptionist:'候倩楠',
71
- state:'接听'
72
- },
73
- ],
18
+ noticeList:[],
74
19
  titleList:{
75
- date: '时间',
76
- // duration: '来电时长',
20
+ date: '派单时间',
77
21
  name:'用户姓名',
78
22
  orderType:'工单类型',
79
23
  address:'用户地址',
80
- receptionist:'接待员',
81
- state:'状态'
24
+ receptionist:'话务员',
25
+ state:'工单状态'
82
26
  }
83
27
  }
84
28
  },
29
+ props:['filialeId'],
30
+ methods:{
31
+ getworkuser(){
32
+ let http = new HttpResetClass()
33
+ http.load('post','rs/logic/Workorderinformation',{
34
+ data: {
35
+ f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
36
+ }
37
+ },{rejectMsg:null,resolveMsg:null}).then((ress)=>{
38
+ console.log("getworkuser"+JSON.stringify(ress.data))
39
+ this.noticeList = ress.data.data
40
+ console.log("this.noticeList"+JSON.stringify(this.noticeList))
41
+ })
42
+ }
43
+ },
44
+ ready(){
45
+ this.getworkuser()
46
+ setInterval(() => {
47
+ this.getworkuser()
48
+ }, 300000)
49
+ },
50
+ watch: {
51
+ 'filialeId'(val){
52
+ console.log("filialeId>>>=====",val)
53
+ this.getworkuser()
54
+ }
55
+ }
85
56
  }
86
57
  </script>
87
58
 
@@ -93,5 +64,6 @@ export default {
93
64
  position: absolute;
94
65
  right: 1.09375vw;
95
66
  bottom: 3.889vh;
67
+ padding: 0 1vw;
96
68
  }
97
69
  </style>
@@ -1,21 +1,85 @@
1
1
  <template>
2
2
  <div class="weather">
3
- <div class="weather-icon"></div>
3
+ <div id="scan" class="weather-icon"></div>
4
4
  <span class="weather-text">
5
- 多云12℃ — 22℃
5
+ {{weatherList.wea}}&nbsp;{{weatherList.tem_night}}℃~{{weatherList.tem_day}}℃&nbsp;&nbsp;风速:{{weatherList.win_meter}}
6
+ &nbsp;风向:{{weatherList.win}}
6
7
  </span>
7
8
  </div>
8
9
  </template>
9
10
 
10
11
  <script>
12
+ import axios from "axios";
11
13
  export default {
12
- name: "WeatherData"
14
+ name: "WeatherData",
15
+ data(){
16
+ return{
17
+ cityid: '',
18
+ weatherList: {},
19
+ }
20
+ },
21
+ props:['filiale'],
22
+ ready(){
23
+ this.serchWeather()
24
+ setInterval(() => {
25
+ this.serchWeather()
26
+ }, 28800000)
27
+ console.log("ssss"+JSON.stringify(this.filiale))
28
+
29
+ },
30
+ methods: {
31
+ serchWeather(){
32
+ // 调用天气接口
33
+ axios.get('https://www.tianqiapi.com/free/day?appid=85841439&appsecret=EKCDLT4I&cityid=' + this.cityid)
34
+ .then((response) => {
35
+ console.log("天气"+JSON.stringify(response.data))
36
+ this.weatherList = response.data
37
+ console.log("22222"+JSON.stringify(this.weatherList))
38
+ })
39
+ }
40
+ },
41
+
42
+ watch: {
43
+ 'weatherList.wea':{
44
+ handler(val){
45
+ if(val=='多云'||val=='阴转多云'){
46
+ document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/cloudy.png")'
47
+ }if(val=='晴'){
48
+ document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/天气-晴.png")'
49
+ }if(val=='霾'){
50
+ document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/雾.png")'
51
+ }if(val=='暴雨'){
52
+ document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/暴雨到大暴雨.png")'
53
+ }
54
+ this.serchWeather()
55
+ console.log('f_orgname==>',val)
56
+ },
57
+ immediate: true
58
+ },
59
+ 'filiale': {
60
+ handler(val){
61
+ if(val=='山东彤运天燃气有限公司'||val=='临邑中邑燃气有限公司'){
62
+ this.cityid=101120401
63
+ }if(val=='夏津中邑燃气有限公司'){
64
+ this.cityid=101120410
65
+ }if(val=='庆云浩通天燃气有限公司'){
66
+ this.cityid=101120407
67
+ }if(val=='山东中邑燃气有限公司'){
68
+ this.cityid=101120409
69
+ }
70
+ this.serchWeather()
71
+ console.log('f_orgname==>',val)
72
+ },
73
+ immediate: true
74
+ }
75
+
76
+ }
13
77
  }
14
78
  </script>
15
79
 
16
80
  <style scoped>
17
81
  .weather {
18
- width: 13.021vw;
82
+ width: 24.021vw;
19
83
  height: 2.222vh;
20
84
  position: absolute;
21
85
  top: 0.926vh;
@@ -36,7 +100,7 @@ export default {
36
100
 
37
101
  .weather-text {
38
102
  font-family: alhy;
39
- font-size: 2.315vh;
103
+ font-size: 1.9vh;
40
104
  font-weight: 400;
41
105
  color: #C3DEFF;
42
106
  line-height: 3.333vh;
@@ -8,10 +8,8 @@
8
8
  <li><span>工单量</span><span class="orderQuantity">{{ data.orderQuantity }}</span></li>
9
9
  <li><span>在线处理</span><span class="onLineProcessing">{{ data.onLineProcessing }}</span></li>
10
10
  <li><span>派单量</span><span class="sendOrders">{{ data.sendOrders }}</span></li>
11
-
12
11
  <li><span>电话派单量</span><span class="orderByTelephone">{{ data.orderByTelephone }}</span></li>
13
12
  <li><span>微信客服派单量</span><span class="orderByWechat">{{ data.orderByWechat }}</span></li>
14
- <li><span>网厅预约派单量</span><span class="orderByNetHall">{{ data.orderByNetHall }}</span></li>
15
13
  </ul>
16
14
  </div>
17
15
  </template>
@@ -26,14 +24,12 @@ export default {
26
24
  data(){
27
25
  return{
28
26
  data:{
29
- orderQuantity:'8740',
30
- onLineProcessing:'5487',
31
- sendOrders:'8740',
32
- orderByTelephone:'8740',
33
- orderByWechat:'5487',
34
- orderByNetHall:'4723',
35
-
36
-
27
+ orderQuantity:'',
28
+ onLineProcessing:'',
29
+ sendOrders:'',
30
+ orderByTelephone:'',
31
+ orderByWechat:'',
32
+ orderByNetHall:'',
37
33
  },
38
34
  }
39
35
  },
@@ -44,14 +40,12 @@ export default {
44
40
  let http = new HttpResetClass()
45
41
  http.load('post','rs/logic/TelenumberWorkorders',{
46
42
  data: {
47
- start_date: Util.toStandardDateString(),
48
- end_date: Util.toStandardDateString(), // 结束时间
49
- f_orgid: this.filialeId?this.filialeId:0 // 分公司id
43
+ f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
50
44
  }
51
45
  },{rejectMsg:null,resolveMsg:null}).then((res)=>{
52
46
  // console.log('获取所有工单数量TelenumberWorkorders',res.data.data[0].wordercont)
53
- console.log(res.data)
54
- this.data.orderQuantity = res.data.data[0].wordercont
47
+ console.log("所有工单数量"+JSON.stringify(res.data))
48
+ this.data.orderQuantity = res.data.data[0].wordercont||0
55
49
  })
56
50
  },
57
51
  //获取在线处理
@@ -59,14 +53,11 @@ export default {
59
53
  let http = new HttpResetClass()
60
54
  http.load('post','rs/logic/Directlyprocessedworkorder',{
61
55
  data: {
62
- start_date: Util.toStandardDateString(),
63
- end_date: Util.toStandardDateString(), // 结束时间
64
- f_orgid: this.filialeId?this.filialeId:0 // 分公司id
56
+ f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
65
57
  }
66
58
  },{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
59
+ console.log("获取在线处理"+JSON.stringify(res.data))
60
+ this.data.onLineProcessing = res.data.data[0].zaixian||0
70
61
  })
71
62
  },
72
63
  //获取所有下派工单
@@ -74,13 +65,15 @@ export default {
74
65
  let http = new HttpResetClass()
75
66
  http.load('post','rs/logic/Quantityworkorder',{
76
67
  data: {
77
- start_date: Util.toStandardDateString(),
78
- end_date: Util.toStandardDateString(), // 结束时间
79
- f_orgid: this.filialeId?this.filialeId:0 // 分公司id
68
+ f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
80
69
  }
81
70
  },{rejectMsg:null,resolveMsg:null}).then((res)=>{
82
- console.log(res.data)
83
- this.sendOrders = res.data.handlingsum
71
+ console.log("下派工单"+JSON.stringify(res.data))
72
+ if (res.data.data.length > 0){
73
+ this.data.sendOrders = res.data.data[0].handlingsum||0
74
+ }else {
75
+ this.data.sendOrders=0
76
+ }
84
77
  })
85
78
  },
86
79
  //获取电话派单量
@@ -88,31 +81,23 @@ export default {
88
81
  let http = new HttpResetClass()
89
82
  http.load('post','rs/logic/QuantityworkorderNoWeixin',{
90
83
  data: {
91
- start_date: Util.toStandardDateString(),
92
- end_date: Util.toStandardDateString(), // 结束时间
93
- f_orgid: this.filialeId?this.filialeId:0 // 分公司id
84
+ f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
94
85
  }
95
86
  },{rejectMsg:null,resolveMsg:null}).then((res)=>{
96
- console.log(res.data)
97
- this.sendOrders = res.data.noweixinsums
87
+ console.log("电话派单量"+JSON.stringify(res.data))
88
+ this.data.orderByTelephone = res.data.data[0].noweixinsums||0
98
89
  })
99
90
  },
100
91
  //获取微信客服派单量
101
92
  getOrderByWechat(){
102
- // if (val){
103
- // let f_orgid = val
104
- // }
105
93
  let http = new HttpResetClass()
106
94
  http.load('post','rs/logic/QuantityworkorderWeixin',{
107
95
  data: {
108
- start_date: Util.toStandardDateString(),
109
- end_date: Util.toStandardDateString(), // 结束时间
110
- f_orgid: this.filialeId?this.filialeId:0 // 分公司id
96
+ f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
111
97
  }
112
98
  },{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))
99
+ console.log("微信客服派单量"+JSON.stringify(res.data))
100
+ this.data.orderByWechat = res.data.data[0].weixinsums||0
116
101
  })
117
102
  },
118
103
  },
@@ -122,13 +107,19 @@ export default {
122
107
  this.getSendOrders()
123
108
  this.getOrderByTelephone()
124
109
  this.getOrderByWechat()
110
+ setInterval(() => {
111
+ this.getOrderQuantity()
112
+ this.getOnLineProcessing()
113
+ this.getSendOrders()
114
+ this.getOrderByTelephone()
115
+ this.getOrderByWechat()
116
+ }, 5000*60)
125
117
  },
126
118
  computed:{
127
119
 
128
120
  },
129
121
  watch: {
130
122
  'filialeId'(val){
131
- // console.log("filialeId>>>=====",val)
132
123
  this.getOrderQuantity()
133
124
  this.getOnLineProcessing()
134
125
  this.getSendOrders()
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("tongchuan")
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('WEINAN')
50
+ newmanage('WEINAN')
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
+
@@ -652,6 +652,14 @@ export default function (filiale) {
652
652
  Vue.component('feimin_style', (resolve) => {
653
653
  require(['./components/SellReport/feimin_style'], resolve)
654
654
  })
655
+ // 物联网月用气报表(户数)
656
+ Vue.component('monthm-stair-hunum', (resolve) => {
657
+ require(['./components/SellReport/MonthStairHunum'], resolve)
658
+ })
659
+ // 物联网日用气报表(户数)
660
+ Vue.component('day-stair-hunum', (resolve) => {
661
+ require(['./components/SellReport/DayStairMoneyHunum'], resolve)
662
+ })
655
663
  if (filiale) {
656
664
  let filialeComp = require(`./filiale/${filiale}/reportManage`).specialComp
657
665
  Vue.filialeInfo = Vue.prototype.$filialeInfo = filiale