telephone-clients 3.0.104-10 → 3.0.104-100

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 (99) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +54 -54
  3. package/src/components/android/ImgArea.vue +80 -0
  4. package/src/components/guoxin/Console.vue +42 -14
  5. package/src/components/guoxin/call.state.api.js +3 -1
  6. package/src/components/pc/ComplainWork.vue +3 -0
  7. package/src/components/pc/RecordListLeft.vue +80 -10
  8. package/src/components/pc/RepairsWork.vue +33 -3
  9. package/src/components/pc/RoleSelector.vue +7 -1
  10. package/src/components/pc/Seekwork.vue +3 -0
  11. package/src/components/pc/SiteSend.vue +38 -1
  12. package/src/components/pc/TelLossList.vue +20 -3
  13. package/src/components/pc/WorkHistory.vue +1 -1
  14. package/src/components/pc/WorkList.vue +4 -3
  15. package/src/components/pc/WorkListAllNew.vue +16 -8
  16. package/src/components/pc/WorkListNew.vue +722 -712
  17. package/src/components/sendsingle/onlinequeryuser.vue +1 -1
  18. package/src/components/telcount/TelByOrderMan.vue +22 -4
  19. package/src/components/telreport/RepairsDetailsReport.vue +2 -2
  20. package/src/components/telreport/TrafficClassificationReport.vue +13 -13
  21. package/src/components/telreport/Trafficassess.vue +2 -2
  22. package/src/components/temp/HandplanInfo.vue +5 -1
  23. package/src/components/temp/InstructInfo.vue +1 -1
  24. package/src/components/temp/SecuritycheckInfo.vue +14 -0
  25. package/src/components/workorder/RepairDetails.vue +8 -2
  26. package/src/components/workorder/RepairInfo.vue +3 -3
  27. package/src/components/workorder/RepairPaperAndroid.vue +351 -0
  28. package/src/components/workorder/ServiceOnlineQuery.vue +306 -0
  29. package/src/components/workorder/TemporarySingle.vue +346 -302
  30. package/src/filiale/furuike/pc/QueryVisitHistory.vue +14 -1
  31. package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
  32. package/src/filiale/hanzhong/telephone.js +1 -1
  33. package/src/filiale/jiaocheng/android/createQRcode.vue +204 -0
  34. package/src/filiale/jiaocheng/android/onlineBuyGas.vue +637 -0
  35. package/src/filiale/jiaocheng/telephone.js +8 -0
  36. package/src/filiale/jiaocheng/telephoneAndroid.js +15 -0
  37. package/src/filiale/lixian/onlineChangeMeter.vue +481 -0
  38. package/src/filiale/lixian/onlineoperation.vue +606 -0
  39. package/src/filiale/lixian/onlinequeryuser.vue +509 -0
  40. package/src/filiale/lixian/telephoneAndroid.js +23 -0
  41. package/src/filiale/qianneng/android/AppInstallationMaterial.vue +880 -845
  42. package/src/filiale/qianneng/android/TemporarySingle.vue +537 -537
  43. package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -260
  44. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  45. package/src/filiale/qianneng/pc/RepairsWork.vue +992 -992
  46. package/src/filiale/qianneng/pc/WorkListAllNew.vue +757 -757
  47. package/src/filiale/qianneng/pc/changetable.vue +273 -273
  48. package/src/filiale/qianneng/telephone.js +22 -22
  49. package/src/filiale/rizhao/pc/IgnitionVentilation.vue +0 -1
  50. package/src/filiale/rizhao/pc/RepairsWork.vue +0 -1
  51. package/src/filiale/rizhao/pc/WorkListAllNew.vue +11 -5
  52. package/src/filiale/rizhao/telephone.js +1 -1
  53. package/src/filiale/shanxian/android/RepairFirstV.vue +3 -0
  54. package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
  55. package/src/filiale/shanxian/pc/WorkList.vue +2 -2
  56. package/src/filiale/shanxian/telephone.js +1 -0
  57. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  58. package/src/filiale/shexian/android/RepairFirstV.vue +5 -0
  59. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  60. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
  61. package/src/filiale/shexian/pc/TelByRepairType.vue +3 -3
  62. package/src/filiale/shexian/pc/WorkList.vue +4 -1
  63. package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
  64. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  65. package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
  66. package/src/filiale/tongchuan/pc/RepairsWork.vue +8 -0
  67. package/src/filiale/tongchuan/pc/UserWork.vue +8 -0
  68. package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
  69. package/src/filiale/wenxi/android/FaultAll.vue +710 -0
  70. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +73 -162
  71. package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
  72. package/src/filiale/wenxi/android/ZHihuanFirst.vue +149 -129
  73. package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
  74. package/src/filiale/wenxi/pc/RecordListLeft.vue +272 -0
  75. package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
  76. package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
  77. package/src/filiale/wenxi/pc/TelLossList.vue +272 -0
  78. package/src/filiale/wenxi/telephone.js +4 -0
  79. package/src/filiale/wenxi/telephoneAndroid.js +2 -1
  80. package/src/filiale/wuhai/telephone.js +1 -1
  81. package/src/filiale/yuncheng/android/LdapHelper.js +75 -0
  82. package/src/filiale/yuncheng/android/Outlay.vue +201 -0
  83. package/src/filiale/yuncheng/android/RepairInfo.vue +163 -0
  84. package/src/filiale/yuncheng/android/RepairOrderV.vue +1483 -0
  85. package/src/filiale/yuncheng/android/RepairUserInfo.vue +390 -0
  86. package/src/filiale/yuncheng/android/RightTree.vue +218 -0
  87. package/src/filiale/yuncheng/android/TemporarySingle.vue +522 -0
  88. package/src/filiale/yuncheng/android/ZHihuanFirst.vue +541 -0
  89. package/src/filiale/yuncheng/pc/DistributeWork.vue +199 -0
  90. package/src/filiale/yuncheng/pc/GasWork.vue +773 -0
  91. package/src/filiale/yuncheng/pc/TelFindUser.vue +31 -11
  92. package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
  93. package/src/filiale/yuncheng/pc/WorkListAllNew.vue +781 -0
  94. package/src/filiale/yuncheng/telephone.js +5 -1
  95. package/src/filiale/yuncheng/telephoneAndroid.js +19 -0
  96. package/src/filiale/zhongyi/pc/WorkListAllNew.vue +2 -1
  97. package/src/main.js +1 -1
  98. package/src/telephone-android.js +7 -0
  99. package/src/telephone.js +1 -1
@@ -0,0 +1,522 @@
1
+ <template>
2
+ <div style="height: auto;width: 100%">
3
+ <div class="row app-row">
4
+ <div class="col-xs-4">
5
+ <label>用户姓名</label>
6
+ </div>
7
+ <div class="col-xs-8">
8
+ <input class="inputText4" v-model=model.f_user_name style="width: 100%"></input>
9
+ </div>
10
+
11
+ </div>
12
+ <div class="row app-row">
13
+ <div class="col-xs-4">
14
+ <label>联系电话</label>
15
+ </div>
16
+ <div class="col-xs-8">
17
+ <input class="input-font inputText4 " v-model=model.f_contact_phone style="width: 100%"></input>
18
+ </div>
19
+
20
+ </div>
21
+ <div class="row app-row">
22
+ <div class="col-xs-4">
23
+ <label>详细地址</label>
24
+ </div>
25
+ <div class="col-xs-8">
26
+ <input class="input-font inputText4 " v-model=model.f_address style="width: 100%"></input>
27
+ </div>
28
+
29
+ </div>
30
+ <div class="row app-row">
31
+ <div class="col-xs-4">
32
+ <label>用户类型</label>
33
+ </div>
34
+ <div class="col-xs-8">
35
+ <v-select id="f_user_type" :value.sync="model.f_user_type" class="input-font"
36
+ :options='user_types' placeholder='请选择用户类型'
37
+ class="inputText4"
38
+ :width="'100%'"
39
+ :value-single="true"
40
+ v-model="model.f_user_type" close-on-select clear-button></v-select>
41
+
42
+ </div>
43
+
44
+ </div>
45
+
46
+ <!-- <div class="row app-row">-->
47
+ <!-- <div class="col-xs-4">-->
48
+ <!-- <label>是否上报</label>-->
49
+ <!-- </div>-->
50
+ <!-- <div class="col-xs-8">-->
51
+ <!-- <v-select id="f_user_paidan" :value.sync="model.f_handlingtype" class="input-font"-->
52
+ <!-- :options='handling_types' placeholder='请选择是否上报'-->
53
+ <!-- class="inputText4"-->
54
+ <!-- :width="'100%'"-->
55
+ <!-- :value-single="true"-->
56
+ <!-- v-model="model.f_handlingtype" close-on-select clear-button></v-select>-->
57
+ <!-- </div>-->
58
+
59
+ <!-- </div>-->
60
+ <div class="row app-row" v-if="model.f_handlingtype=='转站点'">
61
+ <div class="col-xs-4">
62
+ <label>选择站点</label>
63
+ </div>
64
+ <div class="col-xs-8">
65
+ <right-tree-yuncheng islist :userid="userid" :source="source" v-on:re-res="reres" v-ref:f_reciever width="100%"
66
+ style="width: 100%">
67
+
68
+ </right-tree-yuncheng>
69
+ </div>
70
+
71
+ </div>
72
+ <div class="row app-row">
73
+ <div class="col-xs-4">
74
+ <label>报修类型</label>
75
+ </div>
76
+ <div class="col-xs-8">
77
+ <v-select id="f_qiangxiu" :value.sync="model.f_repairtype" class="input-font"
78
+ :options='repairstypes' placeholder='请选择报修类型'
79
+ class="inputText4"
80
+ :width="'100%'"
81
+ :value-single="true"
82
+ v-model="model.f_repairtype" close-on-select clear-button></v-select>
83
+ </div>
84
+
85
+ </div>
86
+ <!-- <div class="row app-row">-->
87
+ <!-- <div class="col-xs-4">-->
88
+ <!-- <label>故障类型</label>-->
89
+ <!-- </div>-->
90
+ <!-- <div class="col-xs-8">-->
91
+ <!-- <v-select id="f_guzhang" :value.sync="failure" class="input-font"-->
92
+ <!-- :options='failuretypes' placeholder='请选择故障类型'-->
93
+ <!-- class="inputText4"-->
94
+ <!-- :width="'100%'"-->
95
+ <!-- multiple-->
96
+ <!-- v-model="failure" clear-button></v-select>-->
97
+ <!-- </div>-->
98
+
99
+ <!-- </div>-->
100
+ <div class="row app-row">
101
+ <div class="col-xs-4">
102
+ <label>故障备注</label>
103
+ </div>
104
+ <div class="col-xs-8">
105
+ <textarea class="input-font " v-model=model.f_remarks style="width: 100%"></textarea>
106
+ </div>
107
+
108
+ </div>
109
+ <div class="form-group col-sm-12">
110
+
111
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
112
+ <div class="panel-body panel-self"
113
+ style="background-color: #F8F8F8;width: 90%;margin-left:5%;height: 220px;position: relative">
114
+ <div class="row" style="height: 180px;overflow: scroll;top: 1px">
115
+ <div class="col-sm-4">
116
+ <img-self :src="model.f_single_path" alt="抢修照片" :width="140" :height="170" capture="camera" type="file"
117
+ @change="upload"></img-self>
118
+ </div>
119
+ </div>
120
+
121
+ <div class="row text-right div-photo" style="height: 50px">
122
+ <img src="../../../assets/remove.png" @click="delfile('f_single_path', model.f_single_path)"/>
123
+ <button type="button" name="button" class="btn btn-primary btn-photo"
124
+ @click="takePic('f_single_path','抢修照片')">拍照
125
+ </button>
126
+
127
+ </div>
128
+ </div>
129
+ </div>
130
+
131
+ </div>
132
+ <div class="form-group col-sm-12">
133
+
134
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
135
+ <div class="panel-body panel-self"
136
+ style="background-color: #F8F8F8;width: 90%;margin-left:5%;height: 220px;position: relative">
137
+ <div class="row" style="height: 180px;overflow: scroll;top: 1px">
138
+ <div class="col-sm-4">
139
+ <img-self :src="model.f_singlea_path" alt="抢修照片" :width="140" :height="170" capture="camera" type="file"
140
+ @change="upload"></img-self>
141
+ </div>
142
+ </div>
143
+
144
+ <div class="row text-right div-photo" style="height: 50px">
145
+ <img src="../../../assets/remove.png" @click="delfile('f_singlea_path', model.f_singlea_path)"/>
146
+ <button type="button" name="button" class="btn btn-primary btn-photo"
147
+ @click="takePic1('f_singlea_path','抢修照片')">拍照
148
+ </button>
149
+
150
+ </div>
151
+ </div>
152
+ </div>
153
+
154
+ </div>
155
+ <div class="form-group col-sm-12">
156
+
157
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
158
+ <div class="panel-body panel-self"
159
+ style="background-color: #F8F8F8;width: 90%;margin-left:5%;height: 220px;position: relative">
160
+ <div class="row" style="height: 180px;overflow: scroll;top: 1px">
161
+ <div class="col-sm-4">
162
+ <img-self :src="model.f_singleb_path" alt="抢修照片" :width="140" :height="170" capture="camera" type="file"
163
+ @change="upload"></img-self>
164
+ </div>
165
+ </div>
166
+
167
+ <div class="row text-right div-photo" style="height: 50px">
168
+ <img src="../../../assets/remove.png" @click="delfile('f_singleb_path', model.f_singleb_path)"/>
169
+ <button type="button" name="button" class="btn btn-primary btn-photo"
170
+ @click="takePic2('f_singleb_path','抢修照片')">拍照
171
+ </button>
172
+
173
+ </div>
174
+ </div>
175
+ </div>
176
+
177
+ </div>
178
+ <div class="row app-row text-center" style="margin-top: 20px;">
179
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="save">保存</button>
180
+ </div>
181
+
182
+ </div>
183
+ </template>
184
+
185
+ <script>
186
+ import Vue from 'vue'
187
+ import * as Util from '../../../components/Util'
188
+ import {HttpResetClass} from "vue-client";
189
+
190
+ export default {
191
+ title: '在线维修处理',
192
+ props: {
193
+ userinfo: {
194
+ type: Object,
195
+ default: null
196
+ },
197
+ f_userinfo_id: {
198
+ type: String,
199
+ default: ''
200
+ }
201
+ },
202
+ data() {
203
+ return {
204
+ source:
205
+ 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
206
+ 'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
207
+ userid: Vue.user.id,
208
+ is_has_jingweidu: this.$appdata.getSingleValue('照片水印加经纬度') || 'false',
209
+ failure: [],
210
+ model: {
211
+ f_userinfo_id: '',
212
+ f_userinfo_code: '',
213
+ aState: null,
214
+ f_address: '',
215
+ f_area: "",
216
+ f_attendant: Vue.user.name,
217
+ f_building: "",
218
+ f_card_id: "",
219
+ f_contact_phone: "",
220
+ f_depid: Vue.user.depids,
221
+ f_filiale_id: "",
222
+ f_floor: "",
223
+ f_handlingtype: "转站点",
224
+ f_enter_number: '',
225
+ f_meetunit: "",
226
+ f_operator: Vue.user.name,
227
+ f_operatorid: Vue.user.id,
228
+ f_orgid: Vue.user.orgid,
229
+ f_orgname: Vue.user.orgs,
230
+ f_outlets: "",
231
+ f_phone: "",
232
+ f_reciever: "",
233
+ f_remarks: "",
234
+ f_repair_date: Util.getNowDate(),
235
+ f_repairman_phone: "",
236
+ f_repairtype: "整改",
237
+ f_residential_area: "",
238
+ f_room: "",
239
+ f_service_id: "",
240
+ f_source: "临时派单",
241
+ f_street: "",
242
+ f_unit: "",
243
+ f_unit_name: "",
244
+ f_user_name: "",
245
+ f_user_type: "",
246
+ failure: "",
247
+ f_single_path: '',
248
+ f_singlea_path: '',
249
+ f_singleb_path: '',
250
+ serviceacitivity: [{
251
+ f_service_acitivity_type: "派单",
252
+ f_reciever: Vue.user.name
253
+ }]
254
+ },
255
+ repairstypes: this.$appdata.getParam('报修类型'),
256
+ failuretypes: this.$appdata.getParam('在线维修故障类型'),
257
+ user_types: [{label: "民用", value: "民用"},
258
+ {label: "非民用", value: "非民用"}],
259
+ repair_types: [{label: "民用", value: "民用"},
260
+ {label: "非民用", value: "非民用"}],
261
+ handling_types: [{label: "是", value: "转站点"},
262
+ {label: "否", value: "转维修员"}]
263
+ }
264
+ },
265
+ methods: {
266
+ delfile(prop, fileName) {
267
+ if (fileName == Vue.nopic)
268
+ return
269
+ else {
270
+ HostApp.delfile(fileName)
271
+ this.model[prop] = Vue.nopic
272
+ }
273
+ },
274
+ cameraCallBack(prop, fileName) {
275
+ HostApp.__this__.model.f_single_path = fileName + '?' + Math.random()
276
+ HostApp.__callback__ = null
277
+ HostApp.__this__ = null
278
+ },
279
+ cameraCallBack1(prop, fileName) {
280
+ HostApp.__this__.model.f_singlea_path = fileName + '?' + Math.random()
281
+ HostApp.__callback__ = null
282
+ HostApp.__this__ = null
283
+ },
284
+ cameraCallBack2(prop, fileName) {
285
+ HostApp.__this__.model.f_singleb_path = fileName + '?' + Math.random()
286
+ HostApp.__callback__ = null
287
+ HostApp.__this__ = null
288
+ },
289
+
290
+ takePic(prop, title) {
291
+ const obj = HostApp.getGpsDetailAddress()
292
+ HostApp.__callback__ = this.cameraCallBack
293
+ HostApp.__this__ = this
294
+ let fileName
295
+ if (!this.model.f_single_path || this.model.f_single_path.includes("nopic.png")) {
296
+ fileName = Util.guid() + '-' + prop + '.jpg'
297
+ } else {
298
+ fileName = Util.getFileName(this.model.f_single_path)
299
+ }
300
+ let jingweidu = ''
301
+ if (this.is_has_jingweidu == 'true') {
302
+ jingweidu = '\t经度:' + obj.longitude + '\t纬度:' + obj.latitude
303
+ }
304
+ //tag
305
+ //tag
306
+ HostApp._open_a_page({
307
+ type: 'boomerang',
308
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
309
+ param: {
310
+ file: fileName,
311
+ requestCode: 111,
312
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
313
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name + jingweidu
314
+ }
315
+ })
316
+ },
317
+ takePic1(prop, title) {
318
+ HostApp.__callback__ = this.cameraCallBack1
319
+ HostApp.__this__ = this
320
+ let fileName
321
+ if (!this.model.f_singlea_path || this.model.f_singlea_path.includes("nopic.png")) {
322
+ fileName = Util.guid() + '-' + prop + '.jpg'
323
+ } else {
324
+ fileName = Util.getFileName(this.model.f_singlea_path)
325
+ }
326
+ //tag
327
+ //tag
328
+ HostApp._open_a_page({
329
+ type: 'boomerang',
330
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
331
+ param: {
332
+ file: fileName,
333
+ requestCode: 111,
334
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
335
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
336
+ }
337
+ })
338
+ },
339
+ takePic2(prop, title) {
340
+ HostApp.__callback__ = this.cameraCallBack2
341
+ HostApp.__this__ = this
342
+ let fileName
343
+ if (!this.model.f_singleb_path || this.model.f_singleb_path.includes("nopic.png")) {
344
+ fileName = Util.guid() + '-' + prop + '.jpg'
345
+ } else {
346
+ fileName = Util.getFileName(this.model.f_singleb_path)
347
+ }
348
+ //tag
349
+ //tag
350
+ HostApp._open_a_page({
351
+ type: 'boomerang',
352
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
353
+ param: {
354
+ file: fileName,
355
+ requestCode: 111,
356
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
357
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
358
+ }
359
+ })
360
+ },
361
+
362
+ save() {
363
+ if (!this.model.f_address) {
364
+ this.$showMessage('请填写地址信息')
365
+ return
366
+ }
367
+ //tag)
368
+ let data = {
369
+ model: this.model, loginUser: {
370
+ name: Vue.user.name,
371
+ ename: Vue.user.ename
372
+ }, user: null, callObj: null
373
+ }
374
+ if (this.model.f_handlingtype == '转维修员') {
375
+ data.toRepair = '一级派单'
376
+ this.model.f_meetunit = Vue.user.deps
377
+ this.model.f_orgid = Vue.user.orgid
378
+ this.model.f_filiale = Vue.user.org
379
+ this.model.f_outlets = Vue.user.deps
380
+ this.model.f_filiale_id = Vue.user.orgid
381
+ }
382
+ //tag
383
+ HostApp.__this__ = this
384
+ HostApp.logicWithHint({
385
+ 'logic': 'callerSendPhone', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
386
+ 'data': data, 'backresult': 1
387
+ })
388
+ },
389
+ commitCallBack(jo) {
390
+ if (jo.state == "ok" && this.model.f_handlingtype == '转站点') {
391
+ this.$showMessage('抢修上报成功', ['confirm']).then((req) => {
392
+ if (req === 'confirm') {
393
+ this.$dispatch('confirm')
394
+ }
395
+ })
396
+ } else if (jo.state == "ok" && this.model.f_handlingtype == '转维修员') {
397
+ this.$showMessage('抢修上报成功,请前往待办工单页面查看', ['confirm']).then((req) => {
398
+ if (req === 'confirm') {
399
+ this.$dispatch('confirm')
400
+ }
401
+ })
402
+ } else {
403
+ this.$showMessage('服务器内部错误')
404
+ }
405
+ },
406
+ reres(val) {
407
+ if (val.res == undefined || val.res[0] == undefined || val.res[0] == '') {
408
+ return
409
+ }
410
+ this.model.serviceacitivity[0].f_meetunit = val.res[0]
411
+ this.model.f_meetunit = val.res[0]
412
+ this.model.f_filiale_id = val.orgobj[0].parentid
413
+ this.model.f_filiale = val.orgobj[0].parentname
414
+ this.model.f_outlets = val.res[0]
415
+ this.model.serviceacitivity[0].f_reciever = val.resids[0]
416
+ },
417
+ changeFailure(val) {
418
+ let failure = []
419
+ for (let i = 0; i < val.length; i++) {
420
+ failure.push({"f_failure_type": val[i], "failurecase": []})
421
+ }
422
+ this.model.failure = JSON.stringify(failure)
423
+ }
424
+ },
425
+ ready() {
426
+ this.changeFailure(this.failure)
427
+ if (this.f_userinfo_id) {
428
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_getUserInfoAdress`, {
429
+ data: {
430
+ condition: `ti.f_userinfo_id = '${this.f_userinfo_id}'`
431
+ }
432
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
433
+ this.userinfo = res.data[0]
434
+ })
435
+ }
436
+ },
437
+ watch: {
438
+ 'failure'(val) {
439
+ this.changeFailure(val)
440
+ },
441
+ 'userinfo'(val) {
442
+ if (val) {
443
+ this.model.f_user_name = val.f_user_name
444
+ this.model.f_contact_phone = val.f_user_phone
445
+ this.model.f_userinfo_id = val.f_userinfo_id
446
+ this.model.f_userinfo_code = val.f_userinfo_code
447
+ this.model.f_address = val.f_address
448
+ this.model.f_user_type = val.f_user_type
449
+ this.model.f_enter_number = val.f_enter_number
450
+ }
451
+ }
452
+ }
453
+ }
454
+ </script>
455
+
456
+ <style scoped>
457
+ .inputText4 {
458
+ font-family: Arial, Helvetica, sans-serif;
459
+ background: none repeat scroll 0 0 #F5F7FD;
460
+ border: 1px solid #B8BFE9;
461
+ padding: 5px 7px;
462
+ width: 100px;
463
+ vertical-align: middle;
464
+ height: 30px;
465
+ font-size: 12px;
466
+ margin: 0;
467
+ list-style: none outside none;
468
+ }
469
+
470
+ .input-font {
471
+ font: 15px PingFang-SC-Medium;
472
+ color: #333333;
473
+ }
474
+
475
+ .app-row {
476
+ background-color: white;
477
+ padding: 10px 10px 0 10px;
478
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
479
+ }
480
+
481
+ .bg {
482
+ background-color: blue;
483
+ height: 1px;
484
+ border: 0;
485
+ }
486
+
487
+ .app-row {
488
+ background-color: white;
489
+ padding: 10px 10px 0 10px;
490
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
491
+ }
492
+
493
+ .search_input {
494
+ border: 0;
495
+ outline: none;
496
+ }
497
+
498
+ .font {
499
+ font: 15px PingFang-SC-Medium;
500
+ color: #666666;
501
+ }
502
+
503
+ .input-font {
504
+ font: 15px PingFang-SC-Medium;
505
+ color: #333333;
506
+ }
507
+
508
+ .btn-font {
509
+ font: 600 16px PingFang-SC-Bold;
510
+ color: #499EDF;
511
+ }
512
+
513
+ .btn-color {
514
+ background-color: #FFFFFF;
515
+ border-radius: 10px;
516
+ border: 1px solid #499EDF;
517
+ }
518
+
519
+ .app-text {
520
+ font-size: 12px;
521
+ }
522
+ </style>