telephone-clients 3.0.103 → 3.0.104-11

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 (132) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +54 -56
  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/Console.vue +9 -0
  8. package/src/components/guoxin/VisitInfo.vue +0 -11
  9. package/src/components/pc/NewRepairPaper.vue +370 -370
  10. package/src/components/pc/RepairsWork.vue +23 -2
  11. package/src/components/pc/RoleSelectorDep.vue +158 -0
  12. package/src/components/pc/TelFindUser.vue +1 -1
  13. package/src/components/pc/TelListener.vue +47 -16
  14. package/src/components/pc/VisitInfo.vue +44 -17
  15. package/src/components/pc/WorkCenter.vue +1 -1
  16. package/src/components/pc/WorkCenterList.vue +1 -1
  17. package/src/components/pc/WorkHistory.vue +20 -2
  18. package/src/components/pc/WorkListAll.vue +1 -1
  19. package/src/components/pc/WorkListAllNew.vue +10 -3
  20. package/src/components/pc/WorkListNew.vue +9 -3
  21. package/src/components/pc/olddata/OldWorkList.vue +193 -0
  22. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  23. package/src/components/telreport/TableFaultReport.vue +96 -0
  24. package/src/components/telreport/Traffic.vue +3 -3
  25. package/src/components/telreport/TrafficClassificationReport.vue +134 -0
  26. package/src/components/temp/ChangemeterInfo.vue +75 -87
  27. package/src/components/temp/DeviceInfo.vue +80 -82
  28. package/src/components/temp/HandplanInfo.vue +14 -3
  29. package/src/components/temp/InfoTable.vue +5 -2
  30. package/src/components/temp/MetereadInfo.vue +1 -4
  31. package/src/components/temp/OldRepairList.vue +100 -0
  32. package/src/components/temp/RepairList.vue +2 -2
  33. package/src/components/weinan/Console.vue +1 -1
  34. package/src/components/weinan/RecordList.vue +2 -2
  35. package/src/components/weinan/SiteSend.vue +2 -2
  36. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  37. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  38. package/src/components/weinan/WorkList.vue +73 -0
  39. package/src/components/weinan/WorkListAll.vue +90 -14
  40. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  41. package/src/components/workorder/CompletedRepair.vue +269 -183
  42. package/src/components/workorder/FaultAll.vue +826 -826
  43. package/src/components/workorder/PhoneStandWork.vue +354 -354
  44. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  45. package/src/components/workorder/RepairDetails.vue +12 -2
  46. package/src/components/workorder/RepairFirstV.vue +1 -1
  47. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  48. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  49. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  50. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  51. package/src/filiale/hanzhong/telephone.js +1 -1
  52. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  53. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  54. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  55. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  56. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  57. package/src/filiale/kelai/telephone.js +9 -8
  58. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  59. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  60. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  61. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  62. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  63. package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
  64. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  65. package/src/filiale/qianneng/pc/MaterialDetailed.vue +15 -3
  66. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  67. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  68. package/src/filiale/qianneng/pc/RepairsWork.vue +992 -982
  69. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  70. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  71. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  72. package/src/filiale/qianneng/telephone.js +2 -0
  73. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  74. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  75. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  76. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  77. package/src/filiale/rizhao/telephone.js +1 -1
  78. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  79. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  80. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  81. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  82. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  83. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  84. package/src/filiale/shanxian/pc/WorkList.vue +1 -1
  85. package/src/filiale/shanxian/telephone.js +13 -12
  86. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  87. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  88. package/src/filiale/shexian/android/FaultAll.vue +847 -0
  89. package/src/filiale/shexian/android/Outlay.vue +182 -165
  90. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  91. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  92. package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
  93. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
  94. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  95. package/src/filiale/shexian/pc/WorkList.vue +782 -740
  96. package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
  97. package/src/filiale/shexian/telephone.js +21 -18
  98. package/src/filiale/shexian/telephoneAndroid.js +32 -26
  99. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  100. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  101. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  102. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  103. package/src/filiale/tongchuan/telephone.js +52 -52
  104. package/src/filiale/tongchuan/telephoneAndroid.js +23 -22
  105. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  106. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
  107. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  108. package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
  109. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  110. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  111. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  112. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  113. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  114. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  115. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  116. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  117. package/src/filiale/wenxi/pc/WorkListAll.vue +348 -297
  118. package/src/filiale/wenxi/telephone.js +4 -5
  119. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  120. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  121. package/src/filiale/wuhai/telephone.js +1 -1
  122. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  123. package/src/filiale/yuncheng/telephone.js +12 -0
  124. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  125. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  126. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  127. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  128. package/src/filiale/zhongsheng/telephone.js +23 -23
  129. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  130. package/src/main.js +1 -1
  131. package/src/telephone.js +17 -1
  132. package/src/weinan.js +6 -0
@@ -8,78 +8,89 @@
8
8
  <!-- 工单的基本信息 -->
9
9
  <div class="panel panel-default auto repair-info-content">
10
10
  <div class="panel-body">
11
- <p v-if="service.f_userinfo_id" >用户编号: <span style="text-decoration:underline">{{service.f_userinfo_code}}</span><!--&ensp;&ensp;<span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>--></p>
12
- <!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
13
- <!--<p>工单编号: {{service.f_service_id}}</p>-->
14
- <!--<p>生成时间: {{service.f_created_date}}</p>-->
15
- <!--<p>预约时间: {{service.f_repair_date}}</p>-->
16
- <p>来电电话: {{service.f_phone}}
17
- <img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'>
18
- </p>
19
- <!--<p>用户姓名: {{service.f_user_name}}</p>-->
20
- <!--<p>用户地址: {{service.f_address}}</p>-->
21
- <!--<p>备注信息: {{service.f_remarks}}</p>-->
22
- <!--<p>指导建议: {{service.f_advice}}</p>-->
11
+ <p v-if="service.f_userinfo_id">用户编号: <span style="text-decoration:underline">{{ service.f_userinfo_code }}</span></p>
12
+ <p>来电电话: {{ service.f_phone }}<img src="../../../assets/telphonesend.png" style="width: 12px;"
13
+ @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
14
+ <div v-if="service.f_userinfo_id" class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
15
+ <div class="col-xs-6 col-sm-6">
16
+ <input type="checkbox" v-model="backlistisselect" :disabled="enabled"/><label
17
+ class="text-left font">限制该用户购气</label>
18
+ </div>
19
+ </div>
20
+
23
21
  <failure-show :value='service.failure'>
24
22
  </failure-show>
25
23
  <div style="clear:both;">
26
- <phone-sell-info-lite v-if="showSellInfo" :user="{}" :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
24
+ <phone-sell-info-lite v-if="showSellInfo" :user="{}"
25
+ :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
27
26
  </div>
28
27
  <div class="from-group">
29
- <img-self v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
30
- <img-self v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
31
- <img-self v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
28
+ <img-self v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
29
+ <img-self v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
30
+ <img-self v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
32
31
  </div>
33
- <route name="info-route" ></route>
32
+ <route name="info-route"></route>
34
33
  </div>
35
34
  </div>
36
35
  </div>
36
+ <modal :show.sync="showmodel" v-ref:modal>
37
+ <div slot="modal-header" class="modal-header">
38
+ <h4 class="modal-title">
39
+ 限制用户购气
40
+ </h4>
41
+ </div>
42
+ <div slot="modal-body" class="modal-body">
43
+ <div class="row" style="margin-top: 6px">
44
+ <textarea id="el_ca_tx" v-model.trim="cause" style="border-radius:4px;width: 100%;" placeholder="请输入停用购气原因">
45
+ </textarea>
46
+ </div>
47
+ </div>
48
+ <div slot="modal-footer" class="modal-footer">
49
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="backlistXin()">确认</button>
50
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="cancel()">取消</button>
51
+ </div>
52
+ </modal>
37
53
  </template>
38
54
  <script>
39
- import FailureShow from '../../../components/pc/FailureShow'
55
+ import FailureShow from './FailureShow'
40
56
  import {HttpResetClass} from "vue-client";
41
57
  import Vue from "vue";
42
58
 
43
59
  export default {
44
60
  title: '工单历史记录',
45
- data () {
61
+ data() {
46
62
  return {
47
- // service: null
48
- imgfilename:'',
49
- imgfilenamea:'',
50
- imgfilenameb:'',
51
- f_userinfo_code : '测试文本',
63
+ imgfilename: '',
64
+ imgfilenamea: '',
65
+ cause: '',
66
+ imgfilenameb: '',
67
+ enabled: false,
68
+ showmodel: false,
69
+ backlistisselect: false,
70
+ f_userinfo_code: '测试文本',
52
71
  showSellInfo: false
53
72
  }
54
73
  },
55
74
  props: {
56
-
57
75
  service: { // 传入一条报修单信息
58
76
  type: Object
59
77
  },
60
- issee:'',
61
- worktype:{
78
+ issee: '',
79
+ worktype: {
62
80
  type: String,
63
81
  default: '报修单'
64
82
  },
65
- // userinfo: {
66
- // type: Object
67
- // },
68
83
  // 维修对应的用户数据收集
69
84
  model: {
70
85
  type: Object
71
86
  },
72
87
  // 工单信息
73
- repair:{
88
+ repair: {
74
89
  type: Object
75
90
  },
76
- savevalid:{
77
-
78
- },
79
- sum:{
80
-
81
- },
82
- user:{
91
+ savevalid: {},
92
+ sum: {},
93
+ user: {
83
94
  type: Object
84
95
  },
85
96
  show: {
@@ -90,75 +101,148 @@ import FailureShow from '../../../components/pc/FailureShow'
90
101
  data: {
91
102
  type: Object
92
103
  },
93
- shutype:'heng'
104
+ shutype: 'heng'
94
105
  },
95
- ready () {
96
- //tag)
97
- //tag)
98
- //tag)
99
- //tag
100
- this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
101
- this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
102
- this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
103
- //tag
104
- //tag
105
- //tag
106
+ ready() {
107
+ this.imgfilename = `${this.$androidUtil.getProxyUrl()}/rs/image/file/` + this.service.f_single_path
108
+ this.imgfilenamea = `${this.$androidUtil.getProxyUrl()}/rs/image/file/` + this.service.f_singlea_path
109
+ this.imgfilenameb = `${this.$androidUtil.getProxyUrl()}/rs/image/file/` + this.service.f_singleb_path
106
110
  for (let i in this.service) {
107
- //tag + ':' + JSON.stringify(this.service[i]))
108
111
  }
109
- this.$goto('repair-user-info',{
112
+ this.$goto('repair-user-info', {
110
113
  model: this.model,
111
114
  data: this.data,
112
115
  savevalid: this.savevalid,
113
116
  repair: this.repair,
114
117
  show: this.show,
115
118
  // userinfo: this.userinfo
116
- shutype:this.shutype,
117
- worktype:this.worktype,
118
- issee:this.issee},'info-route')
119
+ shutype: this.shutype,
120
+ worktype: this.worktype,
121
+ issee: this.issee
122
+ }, 'info-route')
119
123
  },
120
124
  methods: {
125
+ async backlistXin() {
126
+ if (!this.cause) {
127
+ this.$showMessage("请填写停用原因!")
128
+ return
129
+ }
130
+ let http = new HttpResetClass()
131
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
132
+ data: {
133
+ items: "f_userfiles_id,version",
134
+ tablename: "t_userfiles",
135
+ condition: "f_table_state in ('正常','停用','封堵','待开通') and f_userinfo_id= '" + this.service.f_userinfo_id + "'",
136
+ orderitem: "f_userfiles_id"
137
+ }
138
+ }, {resolveMsg: null, rejectMsg: null})
139
+ if (res2.data.length == 0) {
140
+ this.$showMessage('已成功停用')
141
+ this.showmodel = false
142
+ this.enabled = true
143
+ return
144
+ }
145
+ let data = {
146
+ f_userfiles_id: {
147
+ f_userfiles_id: res2.data[0].f_userfiles_id,
148
+ f_table_state: '停用',
149
+ version: res2.data[0].version
150
+ },
151
+ f_userfile_id: res2.data[0].f_userfiles_id,
152
+ f_user_id: this.service.f_userinfo_code,
153
+ f_userinfo_id: "'" + this.service.f_userinfo_id + "'",
154
+ f_user_name: this.service.f_user_name,
155
+ f_othereason: this.cause,
156
+ f_operat_type: '停用',
157
+ f_describe: `${Vue.user.name}对客户${this.service.f_user_name}进行停用操作`,
158
+ f_state: '有效',
159
+ f_operator: Vue.user.name,
160
+ f_operatorid: Vue.user.id,
161
+ f_orgid: Vue.user.orgid,
162
+ f_orgname: Vue.user.orgs,
163
+ f_depid: Vue.user.depids,
164
+ f_depname: Vue.user.deps,
165
+ f_zoneid: Vue.user.zoneid,
166
+ f_zones: Vue.user.zones
167
+ }
168
+ new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/entity/t_disable`,
169
+ data, {resolveMsg: null, rejectMsg: null}).then((row) => {
170
+ this.$showMessage('已成功停用')
171
+ this.showmodel = false
172
+ this.enabled = true
173
+ })
174
+ },
175
+ cancel() {
176
+ this.backlistisselect = false
177
+ this.showmodel = false
178
+ },
179
+ upUserInfo(userinfo) {
180
+ debugger
181
+ let _this = this.$parent.$parent
182
+ this.$dispatch('gotoson', {
183
+ _this: this.$parent.$parent,
184
+ title: '档案信息变更',
185
+ safe: false
186
+ })
187
+ this.$parent.$parent.$goto('PhoneUpUserinfo', {
188
+ f_userinfo_id: userinfo.f_userinfo_id,
189
+ f_source: '维修',
190
+ f_check_type: ''
191
+ }, 'self')
192
+ },
121
193
  makeAPhoneCall(phoneNumber) {
122
194
  this.$androidUtil.makeAPhoneCall(phoneNumber)
123
195
  },
124
- goOtherCharge(userinfoid){
125
- //tag
126
- new HttpResetClass().load("POST",`${this.$androidUtil.getProxyUrl()}/rs/sql/onlinequeryuser`,{data:{condition : ` uf.f_orgid = '${Vue.user.orgid}' and (ui.f_user_state = '正常' or ui.f_user_state = '预备') and ui.f_userinfo_id = '${userinfoid}'`}}).then((res)=>{
127
- //tag)
128
- if(res.data.length==1){
196
+ goOtherCharge(userinfoid) {
197
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/onlinequeryuser`, {data: {condition: ` uf.f_orgid = '${Vue.user.orgid}' and (ui.f_user_state = '正常' or ui.f_user_state = '预备') and ui.f_userinfo_id = '${userinfoid}'`}}).then((res) => {
198
+ if (res.data.length == 1) {
129
199
  let _this = this
130
200
  var pardate = {
131
- _this:_this,
132
- title:'其他收费',
133
- safe:false
201
+ _this: _this,
202
+ title: '其他收费',
203
+ safe: false
134
204
  }
135
- _this.$dispatch('gotoson',pardate)
136
- //tag
205
+ _this.$dispatch('gotoson', pardate)
137
206
  _this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
138
- }else if(res.data.length>1){
207
+ } else if (res.data.length > 1) {
139
208
  this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
140
- }else{
209
+ } else {
141
210
  this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
142
211
  }
143
- }).catch((msg)=>{
212
+ }).catch((msg) => {
144
213
  this.$showMessage('获取用户信息失败,请检查手机网络!')
145
214
  })
146
215
  },
147
- selfSearch () {
148
- if(!this.rowOne) {
216
+ selfSearch() {
217
+ if (!this.rowOne) {
149
218
  return
150
219
  }
151
- // let gen = getGen(this)
152
- // co(gen)
153
220
  },
154
221
  searchHistory() {
155
222
  this.showSellInfo = !this.showSellInfo
156
223
  }
157
224
  },
158
225
  watch: {
159
- 'rowOne' () {
226
+ 'rowOne'() {
160
227
  this.selfSearch()
161
- }
228
+ },
229
+ 'backlistisselect'(val) {
230
+ if (val == true) {
231
+ this.showmodel = true
232
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
233
+ data: {
234
+ items: "f_othereason",
235
+ tablename: "t_disable",
236
+ condition: "f_userinfo_id= '" + this.service.f_userinfo_id + "'",
237
+ orderitem: "id desc"
238
+ }
239
+ }, {resolveMsg: null, rejectMsg: null}).then(response => {
240
+ if (response.data.length > 0) {
241
+ this.cause = response.data[0].f_othereason
242
+ }
243
+ })
244
+ }
245
+ },
162
246
  },
163
247
  components: {
164
248
  FailureShow,