manage-client 3.2.161 → 3.2.162

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.
@@ -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("zhongyi")
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