telephone-clients 3.0.103 → 3.0.104-1

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 (126) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +7 -9
  3. package/src/assets//345/210/240/351/231/244.png +0 -0
  4. package/src/components/Util/RightTreeSafe.vue +2 -2
  5. package/src/components/Util/RightTreeSafeDep.vue +350 -0
  6. package/src/components/android/AddMyTask.vue +7 -0
  7. package/src/components/guoxin/VisitInfo.vue +0 -11
  8. package/src/components/pc/NewRepairPaper.vue +3 -3
  9. package/src/components/pc/RepairsWork.vue +22 -2
  10. package/src/components/pc/RoleSelectorDep.vue +158 -0
  11. package/src/components/pc/TelFindUser.vue +1 -1
  12. package/src/components/pc/TelListener.vue +47 -16
  13. package/src/components/pc/VisitInfo.vue +0 -10
  14. package/src/components/pc/WorkCenter.vue +1 -1
  15. package/src/components/pc/WorkCenterList.vue +1 -1
  16. package/src/components/pc/WorkHistory.vue +20 -2
  17. package/src/components/pc/WorkListAll.vue +1 -1
  18. package/src/components/pc/WorkListAllNew.vue +10 -3
  19. package/src/components/pc/WorkListNew.vue +712 -706
  20. package/src/components/pc/olddata/OldWorkList.vue +193 -0
  21. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  22. package/src/components/telreport/TableFaultReport.vue +96 -0
  23. package/src/components/telreport/Traffic.vue +3 -3
  24. package/src/components/telreport/TrafficClassificationReport.vue +134 -0
  25. package/src/components/temp/ChangemeterInfo.vue +75 -87
  26. package/src/components/temp/DeviceInfo.vue +80 -82
  27. package/src/components/temp/HandplanInfo.vue +2 -2
  28. package/src/components/temp/InfoTable.vue +5 -2
  29. package/src/components/temp/MetereadInfo.vue +1 -4
  30. package/src/components/temp/OldRepairList.vue +100 -0
  31. package/src/components/temp/RepairList.vue +2 -2
  32. package/src/components/weinan/Console.vue +1 -1
  33. package/src/components/weinan/RecordList.vue +2 -2
  34. package/src/components/weinan/SiteSend.vue +2 -2
  35. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  36. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  37. package/src/components/weinan/WorkList.vue +73 -0
  38. package/src/components/weinan/WorkListAll.vue +90 -14
  39. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  40. package/src/components/workorder/CompletedRepair.vue +269 -183
  41. package/src/components/workorder/FaultAll.vue +826 -826
  42. package/src/components/workorder/PhoneStandWork.vue +354 -354
  43. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  44. package/src/components/workorder/RepairDetails.vue +12 -2
  45. package/src/components/workorder/RepairFirstV.vue +1 -1
  46. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  47. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  48. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  49. package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
  50. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  51. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  52. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  53. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  54. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  55. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  56. package/src/filiale/kelai/telephone.js +9 -8
  57. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  58. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  59. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  60. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  61. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  62. package/src/filiale/qianneng/android/TemporarySingle.vue +537 -512
  63. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  64. package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -248
  65. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  66. package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
  67. package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
  68. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  69. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  70. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  71. package/src/filiale/qianneng/telephone.js +22 -20
  72. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  73. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  74. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  75. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  76. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  77. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  78. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  79. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  80. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  81. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  82. package/src/filiale/shanxian/pc/WorkList.vue +1 -1
  83. package/src/filiale/shanxian/telephone.js +13 -12
  84. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  85. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  86. package/src/filiale/shexian/android/FaultAll.vue +847 -0
  87. package/src/filiale/shexian/android/Outlay.vue +182 -165
  88. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  89. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  90. package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
  91. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
  92. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  93. package/src/filiale/shexian/pc/WorkList.vue +782 -740
  94. package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
  95. package/src/filiale/shexian/telephone.js +21 -18
  96. package/src/filiale/shexian/telephoneAndroid.js +32 -26
  97. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  98. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  99. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  100. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  101. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
  102. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  103. package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
  104. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  105. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  106. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  107. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  108. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  109. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  110. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  111. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  112. package/src/filiale/wenxi/telephone.js +4 -6
  113. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  114. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  115. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  116. package/src/filiale/yuncheng/telephone.js +12 -0
  117. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  118. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  119. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  120. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  121. package/src/filiale/zhongsheng/telephone.js +23 -23
  122. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  123. package/src/main.js +1 -1
  124. package/src/telephone.js +16 -0
  125. package/src/weinan.js +6 -0
  126. package/src/filiale/wenxi/pc/WorkListAll.vue +0 -647
@@ -1,87 +1,75 @@
1
- <template >
2
- <div id="pc-finduser-page">
3
- <criteria-paged :model="model" v-ref:paged :simple="true">
4
- <!-- <criteria partial='criteria'>
5
- </criteria> -->
6
- <data-grid :model="model" partial='list' v-ref:grid
7
- class="list_area table_sy">
8
- <template partial='head'>
9
- <tr>
10
- <!--<th><nobr>用户编号</nobr></th>-->
11
- <!--<th><nobr>用户姓名</nobr></th>-->
12
- <th><nobr>新表号</nobr></th>
13
- <th><nobr>旧表号</nobr></th>
14
- <th><nobr>补气量</nobr></th>
15
- <th><nobr>换表原因</nobr></th>
16
- <th><nobr>操作人</nobr></th>
17
- <th><nobr>操作日期</nobr></th>
18
- </tr>
19
- </template>
20
- <template partial='body'>
21
- <!--<td><nobr>{{row.f_userinfo_id}}</nobr></td>-->
22
- <!--<td><nobr>{{row.f_user_name}}</nobr></td>-->
23
- <td><nobr>{{row.f_newmeternumber}}</nobr></td>
24
- <td><nobr>{{row.f_meternumber}}</nobr></td>
25
- <td><nobr>{{row.f_newremanent_gas}}</nobr></td>
26
- <td><nobr>{{row.f_changemeter_type}}</nobr></td>
27
- <th><nobr>{{row.f_operator}}</nobr></th>
28
- <td><nobr>{{row.f_operate_date}}</nobr></td>
29
- </template>
30
- <!--<template partial='foot'>
31
- <td style="text-align:center">汇总</td>
32
- <td></td>
33
- <td></td>
34
- <td >累计购气量:{{model.sums.f_pregas}}</td>
35
- <td >累计金额:{{model.sums.f_totalcost}}</td>
36
- <td >共{{model.count}}条</td>
37
- </template>-->
38
- </data-grid>
39
- </criteria-paged>
40
- </div>
41
- </template>
42
-
43
- <script>
44
- import { PagedList } from 'vue-client'
45
- export default {
46
- title: '换表记录',
47
- data () {
48
- return {
49
- model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 5, {items: '"*"', tablename: '"t_changemeter"', orderitem: '"f_operate_date desc"'}),
50
- show: false,
51
- row: Object
52
- }
53
- },
54
- props: {
55
- user: {
56
- type: Object
57
- },
58
- clearflg:0
59
- },
60
- methods: {
61
- selected (row) {
62
- if (this.row === row) {
63
- this.row = null
64
- } else {
65
- this.row = row
66
- }
67
- },
68
- isSelected (row) {
69
- return this.row === row
70
- }
71
- },
72
- watch: {
73
- 'user' (val) {
74
- this.model.rows = []
75
- this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
76
- },
77
- 'clearflg'(){
78
- this.model.rows = []
79
- }
80
- },
81
- ready () {
82
- if (this.user && this.user.f_userinfo_id) {
83
- this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
84
- }
85
- }
86
- }
87
- </script>
1
+ <template >
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <!-- <criteria partial='criteria'>
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid
7
+ class="list_area table_sy">
8
+ <template partial='head'>
9
+ <tr>
10
+ <th><nobr>新表号</nobr></th>
11
+ <th><nobr>旧表号</nobr></th>
12
+ <th><nobr>补气量</nobr></th>
13
+ <th><nobr>换表原因</nobr></th>
14
+ <th><nobr>操作人</nobr></th>
15
+ <th><nobr>操作日期</nobr></th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body'>
19
+ <td><nobr>{{row.f_meternumber}}</nobr></td>
20
+ <td><nobr>{{row.f_meternumber_old}}</nobr></td>
21
+ <td><nobr>{{row.f_remanent_gas}}</nobr></td>
22
+ <td><nobr>{{row.f_type}}</nobr></td>
23
+ <th><nobr>{{row.f_operator}}</nobr></th>
24
+ <td><nobr>{{row.f_operate_date}}</nobr></td>
25
+ </template>
26
+ </data-grid>
27
+ </criteria-paged>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ import { PagedList } from 'vue-client'
33
+ export default {
34
+ title: '换表记录',
35
+ data () {
36
+ return {
37
+ model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 5, {items: '"*"', tablename: '"t_changetables"', orderitem: '"f_operate_date desc"'}),
38
+ show: false,
39
+ row: Object
40
+ }
41
+ },
42
+ props: {
43
+ user: {
44
+ type: Object
45
+ },
46
+ clearflg:0
47
+ },
48
+ methods: {
49
+ selected (row) {
50
+ if (this.row === row) {
51
+ this.row = null
52
+ } else {
53
+ this.row = row
54
+ }
55
+ },
56
+ isSelected (row) {
57
+ return this.row === row
58
+ }
59
+ },
60
+ watch: {
61
+ 'user' (val) {
62
+ this.model.rows = []
63
+ this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
64
+ },
65
+ 'clearflg'(){
66
+ this.model.rows = []
67
+ }
68
+ },
69
+ ready () {
70
+ if (this.user && this.user.f_userinfo_id) {
71
+ this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
72
+ }
73
+ }
74
+ }
75
+ </script>
@@ -1,82 +1,80 @@
1
- <template >
2
- <div id="pc-finduser-page">
3
- <criteria-paged :model="model" v-ref:paged :simple="true">
4
- <!-- <criteria partial='criteria'>
5
- </criteria> -->
6
- <data-grid :model="model" partial='list' v-ref:grid
7
- class="list_area table_sy">
8
- <template partial='head'>
9
- <tr>
10
- <!--<th><nobr>用户编号</nobr></th>-->
11
- <th><nobr>设备类型</nobr></th>
12
- <th><nobr>设备品牌</nobr></th>
13
- <th><nobr>设备数量</nobr></th>
14
- <th><nobr>设备状态</nobr></th>
15
- <th><nobr>操作日期</nobr></th>
16
- </tr>
17
- </template>
18
- <template partial='body'>
19
- <!--<td><nobr>{{row.f_user_id}}</nobr></td>-->
20
- <td><nobr>{{row.f_devices_type}}</nobr></td>
21
- <td><nobr>{{row.f_brand}}</nobr></td>
22
- <td><nobr>{{row.f_devices_num}}</nobr></td>
23
- <td><nobr>{{row.f_devices_state}}</nobr></td>
24
- <td><nobr>{{row.f_operate_date}}</nobr></td>
25
- </template>
26
- </data-grid>
27
- </criteria-paged>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- import { PagedList } from 'vue-client'
33
- import co from 'co'
34
- let getmodelGen = function * (self, val) {
35
- yield self.model.search((`f_userinfo_id = '${self.user.f_userinfo_id}'`))
36
- .then(() => {
37
- // self.getdata()
38
- })
39
- }
40
- export default {
41
- title: '设备信息',
42
- data () {
43
- return {
44
- model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: '"t_devices"', orderitem: '"f_operate_date desc"'}),
45
- show: false,
46
- row: Object
47
- }
48
- },
49
- props: {
50
- user: {
51
- type: Object
52
- },
53
- clearflg:0
54
- },
55
- methods: {
56
- getmodel () {
57
- let gen = getmodelGen(this)
58
- co(gen)
59
- }
60
- },
61
- watch: {
62
- 'user' (val) {
63
- // this.model.search(`card_id = ${this.user.card_id}`)
64
- if(this.user){
65
- if (!(this.user.isNuN)) {
66
- this.model.rows = []
67
- this.getmodel()
68
- }
69
- }
70
- },
71
- 'clearflg'(){
72
- this.model.rows = []
73
- }
74
- },
75
- ready () {
76
- if (this.user && this.user.f_userinfo_id) {
77
- // this.model.search(`card_id = ${this.user.card_id}`)
78
- this.getmodel()
79
- }
80
- }
81
- }
82
- </script>
1
+ <template >
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <!-- <criteria partial='criteria'>
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid
7
+ class="list_area table_sy">
8
+ <template partial='head'>
9
+ <tr>
10
+ <th><nobr>设备类型</nobr></th>
11
+ <th><nobr>设备品牌</nobr></th>
12
+ <th><nobr>设备数量</nobr></th>
13
+ <th><nobr>设备状态</nobr></th>
14
+ <th><nobr>操作日期</nobr></th>
15
+ </tr>
16
+ </template>
17
+ <template partial='body'>
18
+ <td><nobr>{{row.f_devices_type}}</nobr></td>
19
+ <td><nobr>{{row.f_brand}}</nobr></td>
20
+ <td><nobr>{{row.f_devices_num}}</nobr></td>
21
+ <td><nobr>{{row.f_userinfodevices_state}}</nobr></td>
22
+ <td><nobr>{{row.f_operate_date}}</nobr></td>
23
+ </template>
24
+ </data-grid>
25
+ </criteria-paged>
26
+ </div>
27
+ </template>
28
+
29
+ <script>
30
+ import { PagedList } from 'vue-client'
31
+ import co from 'co'
32
+ let getmodelGen = function * (self, val) {
33
+ yield self.model.search((`f_user_id = '${self.user.f_user_id}'`))
34
+ .then(() => {
35
+ // self.getdata()
36
+ })
37
+ }
38
+ export default {
39
+ title: '设备信息',
40
+ data () {
41
+ return {
42
+ model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: '"t_devices"', orderitem: '"f_operate_date desc"'}),
43
+ show: false,
44
+ row: Object
45
+ }
46
+ },
47
+ props: {
48
+ user: {
49
+ type: Object
50
+ },
51
+ clearflg:0
52
+ },
53
+ methods: {
54
+ getmodel () {
55
+ let gen = getmodelGen(this)
56
+ co(gen)
57
+ }
58
+ },
59
+ watch: {
60
+ 'user' (val) {
61
+ // this.model.search(`card_id = ${this.user.card_id}`)
62
+ if(this.user){
63
+ if (!(this.user.isNuN)) {
64
+ this.model.rows = []
65
+ this.getmodel()
66
+ }
67
+ }
68
+ },
69
+ 'clearflg'(){
70
+ this.model.rows = []
71
+ }
72
+ },
73
+ ready () {
74
+ if (this.user && this.user.f_userinfo_id) {
75
+ // this.model.search(`card_id = ${this.user.card_id}`)
76
+ this.getmodel()
77
+ }
78
+ }
79
+ }
80
+ </script>
@@ -21,7 +21,7 @@
21
21
  </tr>
22
22
  </template>
23
23
  <template partial='body'>
24
- <td><nobr>{{row.f_userinfo_id}}</nobr></td>
24
+ <td><nobr>{{row.f_userinfo_code}}</nobr></td>
25
25
  <td><nobr>{{row.f_user_name}}</nobr></td>
26
26
  <td><nobr>{{row.f_meternumber}}</nobr></td>
27
27
  <td><nobr>{{row.f_meter_brand}}</nobr></td>
@@ -70,7 +70,7 @@
70
70
  }
71
71
  },
72
72
  ready () {
73
- if (this.user && this.user.f_userid) {
73
+ if (this.user && this.user.f_userinfo_id) {
74
74
  this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
75
75
  }
76
76
  }
@@ -19,6 +19,7 @@
19
19
  <li ><a :style="selectFiled == '指令查看'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '指令查看','tel_f_size':selectFiled != '指令查看'}" href="javascript:void(0)" @click="setField('指令查看')">指令查看</a></li>
20
20
  <li ><a :style="selectFiled == '上报查询'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '上报查询','tel_f_size':selectFiled != '上报查询'}" href="javascript:void(0)" @click="setField('上报查询')">上报查询</a></li>
21
21
  <li ><a :style="selectFiled == '停用信息'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '停用信息','tel_f_size':selectFiled != '停用信息'}" href="javascript:void(0)" @click="setField('停用信息')">停用信息</a></li>
22
+ <li v-if="oldshow"><a :style="selectFiled == '旧单信息'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '旧单信息','tel_f_size':selectFiled != '旧单信息'}" href="javascript:void(0)" @click="setField('旧单信息')">旧单信息</a></li>
22
23
  </ul>
23
24
  <div class="tab-content span">
24
25
  <sell-info v-if="selectFiled=='购气记录'" :user="user" :clearflg="clearflg" style="font-size: 12px"></sell-info>
@@ -31,7 +32,7 @@
31
32
  <tel-meteread-info v-if="selectFiled=='上报查询'" :user="user" :clearflg="clearflg" style="font-size: 12px"></tel-meteread-info>
32
33
  <disable-information v-if="selectFiled=='停用信息'" :user="user" :clearflg="clearflg" style="font-size: 12px"></disable-information>
33
34
  <repair-list v-if="selectFiled=='来电记录'" :user="user" :clearflg="clearflg" style="font-size: 12px"></repair-list>
34
-
35
+ <old-repair-list v-if="selectFiled=='旧单信息'" :user="user" :clearflg="clearflg" style="font-size: 12px"></old-repair-list>
35
36
  </div>
36
37
 
37
38
  </div>
@@ -81,12 +82,14 @@ export default {
81
82
  },
82
83
 
83
84
  ready () {
85
+ this.oldshow = this.$appdata.getSingleValue('旧工单信息显示') ? true : false
84
86
  //tag
85
87
  },
86
88
  data () {
87
89
  return {
88
90
  a:'tabs-one',
89
- selectFiled:'购气记录'
91
+ selectFiled:'购气记录',
92
+ oldshow:false
90
93
  }
91
94
  },
92
95
  methods :{
@@ -8,7 +8,6 @@
8
8
  <template partial='head'>
9
9
  <tr>
10
10
  <th><nobr>表号</nobr></th>
11
- <!--<th><nobr>气表厂家</nobr></th>-->
12
11
  <th><nobr>上报日期</nobr></th>
13
12
  <th><nobr>本次抄表底数</nobr></th>
14
13
  <th><nobr>表内剩余金额</nobr></th>
@@ -17,12 +16,10 @@
17
16
  </template>
18
17
  <template partial='body'>
19
18
  <td style="text-align: center">{{row.f_meternumber}}</td>
20
- <!--<td>{{row.f_manufacturers}}</td>-->
21
19
  <td style="text-align: center">{{row.f_hand_date}}</td>
22
20
  <td style="text-align: center">{{row.f_tablebase}}</td>
23
21
  <td style="text-align: center">{{row.f_jval}}</td>
24
- <td style="text-align: center" v-if="row.f_valveState===0">开阀</td>
25
- <td style="text-align: center" v-else>关阀</td>
22
+ <td style="text-align: center">{{row.f_valvestate == '0' ? '开阀' : '关阀'}}</td>
26
23
  </template>
27
24
  </data-grid>
28
25
  </criteria-paged>
@@ -0,0 +1,100 @@
1
+ <template>
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <data-grid :model="model" partial='list' v-ref:grid
5
+ class="list_area table_sy">
6
+ <template partial='head'>
7
+ <tr>
8
+ <th><nobr>用户编号</nobr></th>
9
+ <th><nobr>用户信息</nobr></th>
10
+ <th><nobr>来电电话</nobr></th>
11
+ <th><nobr>来电时间</nobr></th>
12
+ <th><nobr>表信息</nobr></th>
13
+ <th><nobr>累够</nobr></th>
14
+ <th><nobr>来电方式</nobr></th>
15
+ <th><nobr>报修类型</nobr></th>
16
+ <th><nobr>话务员信息</nobr></th>
17
+ <th><nobr>维修备注</nobr></th>
18
+ <th><nobr>工单编号</nobr></th>
19
+ <th><nobr>处理方式</nobr></th>
20
+ <th><nobr>是否处理</nobr></th>
21
+ <th><nobr>派单人</nobr></th>
22
+ <th><nobr>派单时间</nobr></th>
23
+ <th><nobr>接单人信息</nobr></th>
24
+ <th><nobr>维修信息</nobr></th>
25
+ <th><nobr>完成状态</nobr></th>
26
+ <th><nobr>是否回访</nobr></th>
27
+ <th><nobr>回访人</nobr></th>
28
+ <th><nobr>用户意见</nobr>
29
+ </tr>
30
+ </template>
31
+ <template partial='body'>
32
+ <td>{{row.f_userid}}</td>
33
+ <td>{{row.f_username}} {{row.f_address}} {{row.f_phone}}</td>
34
+ <td>{{row.f_linktype}}</td>
35
+ <td>{{row.f_reporttime}}</td>
36
+ <td>{{row.f_meternumber}} {{row.f_metertype}} {{row.f_aroundmeter}}</td>
37
+ <td>{{row.f_metergasnums}}</td>
38
+ <td>{{row.f_teltype}}</td>
39
+ <td>{{row.f_repairtype}}</td>
40
+ <td>{{row.f_operator}} {{row.f_department}}</td>
41
+ <td>{{row.f_repairreason}}</td>
42
+ <td>{{row.f_cucode}}</td>
43
+ <td>{{row.f_dealtype}}</td>
44
+ <td>{{row.f_havadeal}}</td>
45
+ <td>{{row.f_sender}}</td>
46
+ <td>{{row.f_senddate}}</td>
47
+ <td>{{row.f_accepter}} {{row.f_acceptertel}}</td>
48
+ <td>{{row.f_smwxjl}}</td>
49
+ <td>{{row.f_havacomplete}}</td>
50
+ <td>{{row.f_ifvisit}}</td>
51
+ <td>{{row.f_visitren}}</td>
52
+ <td>{{row.f_consumeroption}}</td>
53
+ </template>
54
+
55
+ </data-grid>
56
+ </criteria-paged>
57
+ </div>
58
+ </template>
59
+
60
+ <script>
61
+ /**
62
+ *用户档案相关信息组件
63
+ */
64
+ import { PagedList } from 'vue-client'
65
+ export default {
66
+ title: '历史维修记录',
67
+ data () {
68
+ return {
69
+ model: new PagedList( 'rs/sql/tel_singleTable_OrderBy', 5,{items: '"*"', tablename: '"t_oldserviceworkorder"', orderitem: '"f_reporttime desc"'}),
70
+ show:false,
71
+ }
72
+ },
73
+ props: {
74
+ user: {
75
+ type: Object
76
+ },
77
+ callObj:{
78
+ type: Object
79
+ },
80
+ clearflg:0
81
+ },
82
+ methods: {
83
+ },
84
+ watch : {
85
+ 'user' (val) {
86
+ this.model.rows = []
87
+ this.model.search(`f_userid = '${this.user.f_userinfo_code}'`)
88
+
89
+ },
90
+ 'clearflg'(){
91
+ this.model.rows = []
92
+ }
93
+ },
94
+ ready () {
95
+ if (this.user && this.user.f_userinfo_code) {
96
+ this.model.search(`f_userid = '${this.user.f_userinfo_code}'`)
97
+ }
98
+ }
99
+ }
100
+ </script>
@@ -108,7 +108,7 @@
108
108
  watch : {
109
109
  'user' (val) {
110
110
  this.model.rows = []
111
- this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
111
+ this.model.search(`tswo.f_userinfo_id = '${this.user.f_userinfo_id}'`)
112
112
 
113
113
  },
114
114
 
@@ -118,7 +118,7 @@
118
118
  },
119
119
  ready () {
120
120
  if (this.user && this.user.f_userinfo_id) {
121
- this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
121
+ this.model.search(`tswo.f_userinfo_id = '${this.user.f_userinfo_id}'`)
122
122
  }
123
123
  }
124
124
  }
@@ -356,7 +356,7 @@
356
356
  callObj = {
357
357
  callNum: this.initPhone,
358
358
  ext_no: this.ext_no,
359
- aId: Util.f.id,
359
+ aId: this.$login.f.id,
360
360
  RecordsID: ''
361
361
  }
362
362
  this.$emit('call-in', callObj)
@@ -78,7 +78,7 @@
78
78
  </v-select>
79
79
  </div>
80
80
  <div class="col-sm-9 form-group form-input-group" style="width: 80%" >
81
- <label style="width: 100%;margin-right: 10px" class="font_normal_body">呼入数:{{$parent.$parent.RecordAll.neixian}}&nbsp;&nbsp;&nbsp; 接听数:{{$parent.$parent.RecordAll.jieting}}&nbsp;&nbsp;&nbsp; 回访数:{{$parent.$parent.RecordAll.huchu}}&nbsp;&nbsp;&nbsp; 接线率:{{$parent.$parent.RecordAll.hflv}}%&nbsp;&nbsp;&nbsp; </label>
81
+ <label style="width: 100%;margin-right: 10px" class="font_normal_body">呼入自助数:{{$parent.$parent.RecordAll.zizhu}}&nbsp;&nbsp;&nbsp; 呼入人工数:{{$parent.$parent.RecordAll.neixian}}&nbsp;&nbsp;&nbsp; 人工接听数:{{$parent.$parent.RecordAll.jieting}}&nbsp;&nbsp;&nbsp; 回访数:{{$parent.$parent.RecordAll.huchu}}&nbsp;&nbsp;&nbsp; 接线率:{{$parent.$parent.RecordAll.hflv}}%&nbsp;&nbsp;&nbsp; </label>
82
82
 
83
83
  </div>
84
84
  <!-- <div class="col-sm-1" style="float: right;margin-right: 40px" >-->
@@ -218,7 +218,7 @@
218
218
  ],
219
219
  model: new PagedList('rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
220
220
  row: null,
221
- RecordAll: {"huru":0,"zongshu":0,"jieting":0,"huchu":0,"neixian":0,"hflv":0,"jxlv":0},
221
+ RecordAll: {"huru":0,"zongshu":0,"jieting":0,"huchu":0,"neixian":0,"hflv":0,"jxlv":0,"zizhu":0},
222
222
  cclist:{
223
223
  type: Array,
224
224
  default: null
@@ -199,7 +199,7 @@ export default {
199
199
  resolveMsg: null,
200
200
  rejectMsg: null
201
201
  }).then((res) => {
202
- let result = res.data.filter(res=>res.depids==Vue.user.depids)
202
+ let result = res.data.filter(res=>res.depids==Vue.user.depids && res.state == '在职')
203
203
  result.forEach((item) => {
204
204
  this.repairers.push({label: `${item.name} ${item.f_user_telephone}`, value: item.name})
205
205
 
@@ -213,7 +213,7 @@ export default {
213
213
  }
214
214
  http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
215
215
 
216
- let result = res.data.filter(res=>res.depids==this.$login.f.depids)
216
+ let result = res.data.filter(res=>res.depids==this.$login.f.depids && res.state == '在职')
217
217
 
218
218
  result.forEach((item) => {
219
219
  this.repairers.push({label: `${item.name} ${item.f_user_telephone}`, value: item.name})
@@ -33,10 +33,11 @@
33
33
  @click="$emit('cancel')">取消
34
34
  </button>
35
35
 
36
- <button style="float: right; margin-top: 25vh " type="button" name="button" class="button_search button_spacing" @click="worksend()">
36
+ <button v-if="rowlist.length===0" style="float: right; margin-top: 25vh " type="button" name="button" class="button_search button_spacing" @click="worksend()">
37
37
  下发
38
38
  </button>
39
- <!--<button type="button" name="button" class="btn btn-success" @click="worksendall()" :disabled='btnshow' v-if="!source == 'mobile'">批量下发</button>-->
39
+ <button v-if="!(rowlist.length===0) && !(source == 'mobile')" style="float: right; margin-top: 25vh" type="button" name="button" class="button_search button_spacing" @click="worksendall()">批量下发</button>
40
+ <!-- <button type="button" name="button" class="btn btn-success" @click="worksendall()" :disabled='btnshow' v-if="!source == 'mobile'">批量下发</button>-->
40
41
  </div>
41
42
  </template>
42
43
  <script>
@@ -182,43 +183,33 @@ export default {
182
183
  if (!this.row.serviceacitivity[0].f_reciever) {
183
184
  return this.$showAlert('请选择维修人员', 'warning', 2000)
184
185
  }
185
- if (this.rowlist.length > 0 && this.rowlist.length < 16) {
186
+ if (this.rowlist.length > 0) {
186
187
  this.bartext = '正在批量下发' + this.rowlist.length + '个单子'
187
188
  this.btnshow = true
188
189
  this.$showAlert('正在批量下发,请稍等!!!!!', 'warning', 2000)
189
190
  for (var index in this.rowlist) {
190
191
  this.barperc = ((parseInt(index) + 1) * 100) / (parseInt(this.rowlist.length))
191
- //this.barperc=parseInt((parseInt(index)+1)/this.rowlist.length)*100)
192
- //tag
193
- //tag
194
- // let result = ''
195
- // if(this.rowlist[index].f_repairtype == '置换通气'){
196
- // result = this.getUserfile(this.rowlist[index])
197
- // //tag)
198
- // }
199
192
  this.rowlist[index].serviceacitivity = this.row.serviceacitivity
200
193
  let userdata = Object.assign({}, userdata, this.rowlist[index])
201
194
  userdata.f_advice = this.f_advice
202
195
  let data = {
203
196
  model: userdata,
204
197
  loginUser: {name: this.$login.f.name, ename: this.$login.f.ename}
205
- // adduser:{userinfo: result, devices: []}
206
198
  }
207
199
  let gen = await this.sendmsg(data)
208
- //tag
209
200
  }
210
201
  this.saveing = false
211
202
  this.btnshow = false
212
203
  this.barperc = 0
213
204
  this.$showMessage('批量派发' + this.rowlist.length + '个单子成功', ['confirm']).then((res) => {
214
205
  if (res === 'confirm') {
206
+ this.rowlist = []
215
207
  this.$emit('success')
216
- // this.cleardate()
217
208
  }
218
209
  })
219
210
  //tag
220
211
  } else {
221
- this.$showMessage('批量派发单子个数小于等于15个', ['confirm']).then((res) => {
212
+ this.$showMessage('请先选择工单,再进行批量下发', ['confirm']).then((res) => {
222
213
  if (res === 'confirm') {
223
214
  //tag
224
215
  }
@@ -262,7 +253,7 @@ export default {
262
253
  }
263
254
  http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
264
255
 
265
- let result = res.data.filter(res=>res.depids==this.$login.f.depids)
256
+ let result = res.data
266
257
 
267
258
  result.forEach((item) => {
268
259
  this.repairers.push({label: item.name, value: item.name})