apply-clients 7.1.36-1 → 7.1.36-yuchuan-2
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.
- package/build/dev-server.js +8 -2
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/package.json +1 -1
- package/rebel.xml +16 -0
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +31 -4
- package/src/applyAndroid.js +83 -76
- package/src/components/android/AppSign.vue +13 -10
- package/src/components/android/Process/AppExplorationUser.vue +454 -454
- package/src/components/android/Process/AppServiceControl.vue +3 -3
- package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +432 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
- package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -95
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
- package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
- package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
- package/src/components/product/Function/InstallInfoSelect.vue +370 -370
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -232
- package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
- package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
- package/src/components/product/List/ShowDevices.vue +279 -277
- package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
- package/src/components/product/Process/ExplorationSelect.vue +581 -566
- package/src/components/product/Process/ExplorationUser.vue +158 -155
- package/src/components/product/Process/NewExplorationUser.vue +184 -0
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
- package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
- package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
- package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Service/ServiceControl.vue +178 -16
- package/src/components/product/Report/ReportItems.vue +79 -0
- package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
- package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
- package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
- package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
- package/src/components/product/ServiceView.vue +644 -632
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -551
- package/src/components/product/Supervisory/SupervisoryList.vue +78 -26
- package/src/main.js +27 -27
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
|
@@ -1,551 +1,594 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto clearfix">
|
|
3
|
-
<show-back-reason :selectdata="show_data"></show-back-reason>
|
|
4
|
-
</div>
|
|
5
|
-
<service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
|
|
6
|
-
</template>
|
|
7
|
-
<script>
|
|
8
|
-
import Vue from 'vue'
|
|
9
|
-
import {HttpResetClass} from 'vue-client'
|
|
10
|
-
import {isEmpty} from "../../../Util";
|
|
11
|
-
// Date格式化
|
|
12
|
-
Date.prototype.Format = function (fmt) {
|
|
13
|
-
var o = {
|
|
14
|
-
'M+': this.getMonth() + 1, // 月份
|
|
15
|
-
'd+': this.getDate(), // 日
|
|
16
|
-
'H+': this.getHours(), // 小时
|
|
17
|
-
'm+': this.getMinutes(), // 分
|
|
18
|
-
's+': this.getSeconds(), // 秒
|
|
19
|
-
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
20
|
-
'S': this.getMilliseconds() // 毫秒
|
|
21
|
-
}
|
|
22
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
23
|
-
for (var k in o) {
|
|
24
|
-
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
25
|
-
}
|
|
26
|
-
return fmt
|
|
27
|
-
}
|
|
28
|
-
export default {
|
|
29
|
-
title: '报建监控控制层',
|
|
30
|
-
props: {
|
|
31
|
-
selectdata: {
|
|
32
|
-
type: Object
|
|
33
|
-
},
|
|
34
|
-
nodeSnapshot: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: false
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
data() {
|
|
40
|
-
return {
|
|
41
|
-
data: null, // 展示的数据
|
|
42
|
-
json_datas: null, // json配置数据结构
|
|
43
|
-
showview: false, // 控制显示层显示
|
|
44
|
-
show_data: null
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
created () {
|
|
48
|
-
this.refurbish()
|
|
49
|
-
},
|
|
50
|
-
methods: {
|
|
51
|
-
// 初始化模块
|
|
52
|
-
async refurbish() {
|
|
53
|
-
this.json_datas = this.$workflow_vue
|
|
54
|
-
let sum = 0
|
|
55
|
-
let jsonData = {}
|
|
56
|
-
if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
|
|
57
|
-
this.$showMessage("网络故障,请刷新页面")
|
|
58
|
-
return
|
|
59
|
-
}
|
|
60
|
-
this.json_datas.activitys.forEach(item => {
|
|
61
|
-
if (this.selectdata.defname === item.title) {
|
|
62
|
-
jsonData = item // 拿到当前节点的json配置信息
|
|
63
|
-
sum++ // 节点名一样的个数
|
|
64
|
-
}
|
|
65
|
-
return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
|
|
66
|
-
})
|
|
67
|
-
if (sum === 0) {
|
|
68
|
-
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
if (sum > 1) {
|
|
72
|
-
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
73
|
-
return
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
this.data = null
|
|
77
|
-
this.data = jsonData
|
|
78
|
-
this.data = Object.assign({}, this.data, this.selectdata)
|
|
79
|
-
|
|
80
|
-
// fields 字段填充值
|
|
81
|
-
for (const item of this.data.fields) {
|
|
82
|
-
if (this.selectdata[item.field]) {
|
|
83
|
-
item.value = this.selectdata[item.field]
|
|
84
|
-
}
|
|
85
|
-
if (this.selectdata[item.field] === 0) {
|
|
86
|
-
item.value = 0
|
|
87
|
-
}
|
|
88
|
-
item.readonly = true
|
|
89
|
-
item.disabled = true
|
|
90
|
-
if (item.logo) {
|
|
91
|
-
if (item.ready) {
|
|
92
|
-
item.options = await this[item.ready]()
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
item.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
this.
|
|
184
|
-
this
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
for (const item of this.
|
|
223
|
-
if (item.label
|
|
224
|
-
item.
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
let
|
|
254
|
-
|
|
255
|
-
'
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
let
|
|
407
|
-
'
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
let
|
|
426
|
-
'
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
{
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
for (const item of this.data.fields) {
|
|
490
|
-
if (item.label === '
|
|
491
|
-
item.value =
|
|
492
|
-
this.data[item.field] = item.value
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
let
|
|
501
|
-
|
|
502
|
-
'
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto clearfix">
|
|
3
|
+
<show-back-reason :selectdata="show_data"></show-back-reason>
|
|
4
|
+
</div>
|
|
5
|
+
<service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
import Vue from 'vue'
|
|
9
|
+
import {HttpResetClass} from 'vue-client'
|
|
10
|
+
import {isEmpty} from "../../../Util";
|
|
11
|
+
// Date格式化
|
|
12
|
+
Date.prototype.Format = function (fmt) {
|
|
13
|
+
var o = {
|
|
14
|
+
'M+': this.getMonth() + 1, // 月份
|
|
15
|
+
'd+': this.getDate(), // 日
|
|
16
|
+
'H+': this.getHours(), // 小时
|
|
17
|
+
'm+': this.getMinutes(), // 分
|
|
18
|
+
's+': this.getSeconds(), // 秒
|
|
19
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
20
|
+
'S': this.getMilliseconds() // 毫秒
|
|
21
|
+
}
|
|
22
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
23
|
+
for (var k in o) {
|
|
24
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
25
|
+
}
|
|
26
|
+
return fmt
|
|
27
|
+
}
|
|
28
|
+
export default {
|
|
29
|
+
title: '报建监控控制层',
|
|
30
|
+
props: {
|
|
31
|
+
selectdata: {
|
|
32
|
+
type: Object
|
|
33
|
+
},
|
|
34
|
+
nodeSnapshot: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
data() {
|
|
40
|
+
return {
|
|
41
|
+
data: null, // 展示的数据
|
|
42
|
+
json_datas: null, // json配置数据结构
|
|
43
|
+
showview: false, // 控制显示层显示
|
|
44
|
+
show_data: null
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
created () {
|
|
48
|
+
this.refurbish()
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
// 初始化模块
|
|
52
|
+
async refurbish() {
|
|
53
|
+
this.json_datas = this.$workflow_vue
|
|
54
|
+
let sum = 0
|
|
55
|
+
let jsonData = {}
|
|
56
|
+
if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
|
|
57
|
+
this.$showMessage("网络故障,请刷新页面")
|
|
58
|
+
return
|
|
59
|
+
}
|
|
60
|
+
this.json_datas.activitys.forEach(item => {
|
|
61
|
+
if (this.selectdata.defname === item.title) {
|
|
62
|
+
jsonData = item // 拿到当前节点的json配置信息
|
|
63
|
+
sum++ // 节点名一样的个数
|
|
64
|
+
}
|
|
65
|
+
return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
|
|
66
|
+
})
|
|
67
|
+
if (sum === 0) {
|
|
68
|
+
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
69
|
+
return
|
|
70
|
+
}
|
|
71
|
+
if (sum > 1) {
|
|
72
|
+
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
73
|
+
return
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
this.data = null
|
|
77
|
+
this.data = jsonData
|
|
78
|
+
this.data = Object.assign({}, this.data, this.selectdata)
|
|
79
|
+
|
|
80
|
+
// fields 字段填充值
|
|
81
|
+
for (const item of this.data.fields) {
|
|
82
|
+
if (this.selectdata[item.field]) {
|
|
83
|
+
item.value = this.selectdata[item.field]
|
|
84
|
+
}
|
|
85
|
+
if (this.selectdata[item.field] === 0) {
|
|
86
|
+
item.value = 0
|
|
87
|
+
}
|
|
88
|
+
item.readonly = true
|
|
89
|
+
item.disabled = true
|
|
90
|
+
if (item.logo) {
|
|
91
|
+
if (item.ready) {
|
|
92
|
+
item.options = await this[item.ready]()
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (item.param) {
|
|
96
|
+
let temp = this.$appdata.getParam(item.label)
|
|
97
|
+
|
|
98
|
+
if (temp && temp.length > 0) {
|
|
99
|
+
item.options = temp
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (item.paramLabel) {
|
|
103
|
+
temp = this.$appdata.getParam(item.paramLabel)
|
|
104
|
+
if (temp && temp.length > 0) {
|
|
105
|
+
item.options = temp
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// 控制组件
|
|
112
|
+
if (this.data.components) {
|
|
113
|
+
this.data.components.forEach(item => {
|
|
114
|
+
item.mark = 1
|
|
115
|
+
})
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// onetomany 数据获取
|
|
119
|
+
if (this.data.onetomany) {
|
|
120
|
+
for (const item of this.data.onetomany) {
|
|
121
|
+
let res = null
|
|
122
|
+
if (item.queryEvent) {
|
|
123
|
+
res = this[item.queryEvent]()
|
|
124
|
+
} else {
|
|
125
|
+
let data = {
|
|
126
|
+
tablename: item.tables[0],
|
|
127
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
128
|
+
}
|
|
129
|
+
res = await this.$resetpost(
|
|
130
|
+
'rs/sql/applySingleTable',
|
|
131
|
+
{data: data},
|
|
132
|
+
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
133
|
+
)
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
item.rows = res.data
|
|
137
|
+
|
|
138
|
+
// 隐藏所有操作
|
|
139
|
+
item.hiddenOperate = true
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// 去除button
|
|
144
|
+
this.data.buttons = null
|
|
145
|
+
|
|
146
|
+
// 完成时间和完成人,部门,分公司
|
|
147
|
+
if (this.selectdata.state === '结束') {
|
|
148
|
+
this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
|
|
149
|
+
this.data.operator = this.selectdata.person
|
|
150
|
+
|
|
151
|
+
let http = new HttpResetClass()
|
|
152
|
+
try {
|
|
153
|
+
let res = await http.load('POST', 'rs/search', {
|
|
154
|
+
source: 'this.getInfo()',
|
|
155
|
+
userid: this.selectdata.userid
|
|
156
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
157
|
+
let user = res.data
|
|
158
|
+
this.data.orgs = user.orgs
|
|
159
|
+
this.data.parentname = user.deps
|
|
160
|
+
} catch (e) {
|
|
161
|
+
this.data.orgs = this.$login.f.orgs
|
|
162
|
+
this.data.parentname = this.$login.f.deps
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
if (this.selectdata.f_apply_nature === '散户') {
|
|
166
|
+
this.hideLabels('营业执照', '小区')
|
|
167
|
+
this.electiveLabels('营业执照', '购货单位识别号', '购货单位银行账号', '购货单位地址电话', '小区')
|
|
168
|
+
}
|
|
169
|
+
if (this.selectdata.f_apply_nature === '小区') {
|
|
170
|
+
this.showLabels('营业执照', '小区', '小区名称')
|
|
171
|
+
this.requiredLabels( '小区')
|
|
172
|
+
}
|
|
173
|
+
if (this.selectdata.f_dispatching_type === '施工工队') {
|
|
174
|
+
this.showLabels('现场项目负责人', '安装单位', '建设单位', '监理单位', '土建单位', '检测单位')
|
|
175
|
+
this.requiredLabels( '小区')
|
|
176
|
+
}
|
|
177
|
+
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
178
|
+
let temp = JSON.parse(JSON.stringify(this.data))
|
|
179
|
+
|
|
180
|
+
this.show_data = temp
|
|
181
|
+
this.$nextTick(() => {
|
|
182
|
+
if ((this.show_data.defname==='报装缴费' || this.show_data.defname==='收费标准') && !(this.$login.f.rolesnames.includes('营业厅报装')||this.$login.f.rolesnames.includes('市场部报装'))){
|
|
183
|
+
this.showview = false
|
|
184
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
185
|
+
}else {
|
|
186
|
+
this.showview = true
|
|
187
|
+
}
|
|
188
|
+
})
|
|
189
|
+
},
|
|
190
|
+
// json配置数据处理
|
|
191
|
+
async initializtion() {
|
|
192
|
+
// 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
|
|
193
|
+
if (this.nodeSnapshot && this.data.nodeSnapshot) {
|
|
194
|
+
let http = new HttpResetClass()
|
|
195
|
+
let data = {
|
|
196
|
+
tablename: 't_node_snapshot',
|
|
197
|
+
condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
|
|
198
|
+
}
|
|
199
|
+
let res = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
|
|
200
|
+
resolveMsg: null,
|
|
201
|
+
rejectMsg: null
|
|
202
|
+
})
|
|
203
|
+
if (res.data.length > 0) {
|
|
204
|
+
data = JSON.parse(res.data[0].f_node_data)
|
|
205
|
+
|
|
206
|
+
this.data.fields = data.fields
|
|
207
|
+
this.data.onetomany = data.onetomany
|
|
208
|
+
this.data.title = data.title
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
hideLabels(...labels) {
|
|
213
|
+
console.log('报建性质1')
|
|
214
|
+
for (const item of this.data.fields) {
|
|
215
|
+
if (labels.includes(item.label)) {
|
|
216
|
+
item.hidden = true
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
electiveLabels(...labels) {
|
|
221
|
+
console.log('报建性质2')
|
|
222
|
+
for (const item of this.data.fields) {
|
|
223
|
+
if (labels.includes(item.label)) {
|
|
224
|
+
item.required = false
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
showLabels(...labels) {
|
|
229
|
+
console.log('报建性质3')
|
|
230
|
+
for (const item of this.data.fields) {
|
|
231
|
+
if (labels.includes(item.label)) {
|
|
232
|
+
item.hidden = false
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
requiredLabels(...labels) {
|
|
237
|
+
console.log('报建性质4')
|
|
238
|
+
for (const item of this.data.fields) {
|
|
239
|
+
if (labels.includes(item.label)) {
|
|
240
|
+
item.required = true
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
setLabelOptions(label, options) {
|
|
245
|
+
for (const item of this.show_data.fields) {
|
|
246
|
+
if (item.label === label) {
|
|
247
|
+
item.options = options
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
// 获取小区
|
|
252
|
+
async getResidentialArea () {
|
|
253
|
+
let data = {
|
|
254
|
+
tablename: 't_area_address',
|
|
255
|
+
condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
|
|
256
|
+
}
|
|
257
|
+
let http = new HttpResetClass()
|
|
258
|
+
let res = await http.load(
|
|
259
|
+
'POST',
|
|
260
|
+
`rs/sql/applySingleTable`,
|
|
261
|
+
{data: data},
|
|
262
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
263
|
+
)
|
|
264
|
+
return res.data.map(item => {
|
|
265
|
+
return {
|
|
266
|
+
label: item.f_residential_area,
|
|
267
|
+
value: item.id
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
},
|
|
271
|
+
// 获取气表品牌
|
|
272
|
+
async getMeterBrand () {
|
|
273
|
+
let data = {
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
let http = new HttpResetClass()
|
|
277
|
+
let res = await http.load(
|
|
278
|
+
'POST',
|
|
279
|
+
`rs/sql/getMeterBrand1`,
|
|
280
|
+
{data: data},
|
|
281
|
+
{resolveMsg: null, rejectMsg: '气表品牌查询失败!!!'}
|
|
282
|
+
)
|
|
283
|
+
|
|
284
|
+
return res.data
|
|
285
|
+
},
|
|
286
|
+
async meterBrandChenge (index) {
|
|
287
|
+
if (isEmpty(this.selectdata.f_meter_brand)) {
|
|
288
|
+
console.log("测试无表具")
|
|
289
|
+
return
|
|
290
|
+
}
|
|
291
|
+
let data = {
|
|
292
|
+
f_gasbrand_id: this.selectdata.f_meter_brand
|
|
293
|
+
}
|
|
294
|
+
let http = new HttpResetClass()
|
|
295
|
+
let res = await http.load(
|
|
296
|
+
'POST',
|
|
297
|
+
`rs/sql/getGasModel`,
|
|
298
|
+
{data: data},
|
|
299
|
+
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
300
|
+
)
|
|
301
|
+
console.log("测试有表具",res.data)
|
|
302
|
+
return res.data
|
|
303
|
+
},
|
|
304
|
+
async getUserName() {
|
|
305
|
+
console.log('用户姓名查询')
|
|
306
|
+
if(this.selectdata.f_construction_unit_id){
|
|
307
|
+
let data = {
|
|
308
|
+
tablename: 't_user',
|
|
309
|
+
condition: `id='${this.selectdata.f_construction_unit_id}'`
|
|
310
|
+
}
|
|
311
|
+
let res = await this.$resetpost(
|
|
312
|
+
'rs/sql/applySingleTable',
|
|
313
|
+
{data: data},
|
|
314
|
+
{resolveMsg: null, rejectMsg: null}
|
|
315
|
+
)
|
|
316
|
+
return res.data.map(item => {
|
|
317
|
+
return {
|
|
318
|
+
label: item.name,
|
|
319
|
+
value: item.id
|
|
320
|
+
}
|
|
321
|
+
})
|
|
322
|
+
}
|
|
323
|
+
return
|
|
324
|
+
},
|
|
325
|
+
async getConstructionWorker(){
|
|
326
|
+
let data = {
|
|
327
|
+
source: 'this.getParentByType($organization$).getChildByName($建设单位$).getChildren()',
|
|
328
|
+
userid: this.$login.f.id
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
let res = await this.$resetpost(
|
|
332
|
+
`rs/search`,
|
|
333
|
+
{data: data},
|
|
334
|
+
{resolveMsg: null, rejectMsg: '现场负责人查询失败!!!'}
|
|
335
|
+
)
|
|
336
|
+
|
|
337
|
+
return res.data.map(item => {
|
|
338
|
+
return {
|
|
339
|
+
label: item.name,
|
|
340
|
+
value: item.id
|
|
341
|
+
}
|
|
342
|
+
})
|
|
343
|
+
},
|
|
344
|
+
// 安装单位签字人
|
|
345
|
+
async getConstructionUnitId () {
|
|
346
|
+
if (this.selectdata.f_construction_unit_id){
|
|
347
|
+
let data = {
|
|
348
|
+
tablename: 't_user',
|
|
349
|
+
condition: `id='${this.selectdata.f_construction_unit_id}'`
|
|
350
|
+
}
|
|
351
|
+
let res = await this.$resetpost(
|
|
352
|
+
'rs/sql/applySingleTable',
|
|
353
|
+
{data: data},
|
|
354
|
+
{resolveMsg: null, rejectMsg: null}
|
|
355
|
+
)
|
|
356
|
+
return res.data.map(item => {
|
|
357
|
+
return {
|
|
358
|
+
label: item.name,
|
|
359
|
+
value: item.id
|
|
360
|
+
}
|
|
361
|
+
})
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
// 安装单位负责人
|
|
365
|
+
async getConstructionUnit () {
|
|
366
|
+
let data = {
|
|
367
|
+
source: 'this.getParentByType($organization$).getChildByName($工程施工队$).getChildren()',
|
|
368
|
+
userid: this.$login.f.id
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
let res = await this.$resetpost(
|
|
372
|
+
'rs/search',
|
|
373
|
+
{data: data},
|
|
374
|
+
{resolveMsg: null, rejectMsg: '安装单位负责人查询失败!!!'}
|
|
375
|
+
)
|
|
376
|
+
|
|
377
|
+
return res.data.map(item => {
|
|
378
|
+
return {
|
|
379
|
+
label: item.name,
|
|
380
|
+
value: item.id
|
|
381
|
+
}
|
|
382
|
+
})
|
|
383
|
+
},
|
|
384
|
+
// 建设单位
|
|
385
|
+
async getConstructOperator () {
|
|
386
|
+
let data = {
|
|
387
|
+
source: 'this.getParentByType($organization$).getChildByName($建设单位$).getChildren()',
|
|
388
|
+
userid: this.$login.f.id
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
let res = await this.$resetpost(
|
|
392
|
+
'rs/search',
|
|
393
|
+
{data: data},
|
|
394
|
+
{resolveMsg: null, rejectMsg: '建设单位人员查询失败!!!'}
|
|
395
|
+
)
|
|
396
|
+
|
|
397
|
+
return res.data.map(item => {
|
|
398
|
+
return {
|
|
399
|
+
label: item.name,
|
|
400
|
+
value: item.id
|
|
401
|
+
}
|
|
402
|
+
})
|
|
403
|
+
},
|
|
404
|
+
// 监理单位
|
|
405
|
+
async getSupervisorOperator () {
|
|
406
|
+
let data = {
|
|
407
|
+
source: 'this.getParentByType($organization$).getChildByName($监理单位$).getChildren()',
|
|
408
|
+
userid: this.$login.f.id
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
let res = await this.$resetpost(
|
|
412
|
+
'rs/search',
|
|
413
|
+
{data: data},
|
|
414
|
+
{resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
|
|
415
|
+
)
|
|
416
|
+
return res.data.map(item => {
|
|
417
|
+
return {
|
|
418
|
+
label: item.name,
|
|
419
|
+
value: item.id
|
|
420
|
+
}
|
|
421
|
+
})
|
|
422
|
+
},
|
|
423
|
+
// 监理现场负责人
|
|
424
|
+
async getSupervisorOperatorId () {
|
|
425
|
+
let data = {
|
|
426
|
+
source: 'this.getParentByType($organization$).getChildByName($监理班组$).getChildren()',
|
|
427
|
+
userid: this.$login.f.id
|
|
428
|
+
}
|
|
429
|
+
let res = await this.$resetpost(
|
|
430
|
+
'rs/search',
|
|
431
|
+
{data: data},
|
|
432
|
+
{resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
|
|
433
|
+
)
|
|
434
|
+
return res.data.map(item => {
|
|
435
|
+
return {
|
|
436
|
+
label: item.name,
|
|
437
|
+
value: item.id
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
},
|
|
441
|
+
// 土建单位
|
|
442
|
+
async getEngineeringOperator () {
|
|
443
|
+
let data = {
|
|
444
|
+
source: 'this.getParentByType($organization$).getChildByName($土建单位$).getChildren()',
|
|
445
|
+
userid: this.$login.f.id
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
let res = await this.$resetpost(
|
|
449
|
+
'rs/search',
|
|
450
|
+
{data: data},
|
|
451
|
+
{resolveMsg: null, rejectMsg: '土建单位人员查询失败!!!'}
|
|
452
|
+
)
|
|
453
|
+
let result = res.data.map(item => {
|
|
454
|
+
return {
|
|
455
|
+
label: item.name,
|
|
456
|
+
value: item.id
|
|
457
|
+
}
|
|
458
|
+
})
|
|
459
|
+
if(this.selectdata.f_apply_nature === '散户' || this.selectdata.f_apply_type === '改线业务'){
|
|
460
|
+
result.push({label:'用户自理',value:'用户自理'})
|
|
461
|
+
}
|
|
462
|
+
result.push({label:'无',value:'无'})
|
|
463
|
+
return result
|
|
464
|
+
},
|
|
465
|
+
// 检测单位
|
|
466
|
+
async getCheckOperator () {
|
|
467
|
+
let data = {
|
|
468
|
+
source: 'this.getParentByType($organization$).getChildByName($检测单位$).getChildren()',
|
|
469
|
+
userid: this.$login.f.id
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
let res = await this.$resetpost(
|
|
473
|
+
'rs/search',
|
|
474
|
+
{data: data},
|
|
475
|
+
{resolveMsg: null, rejectMsg: '检测单位人员查询失败!!!'}
|
|
476
|
+
)
|
|
477
|
+
|
|
478
|
+
let result = res.data.map(item => {
|
|
479
|
+
return {
|
|
480
|
+
label: item.name,
|
|
481
|
+
value: item.id
|
|
482
|
+
}
|
|
483
|
+
})
|
|
484
|
+
result.push({label:'无',value:'无'})
|
|
485
|
+
return result
|
|
486
|
+
},
|
|
487
|
+
// 户内出单日期
|
|
488
|
+
async getOutdoorsTime () {
|
|
489
|
+
for (const item of this.data.fields) {
|
|
490
|
+
if (item.label === '户内出单日期') {
|
|
491
|
+
item.value = this.data.f_release_date
|
|
492
|
+
this.data[item.field] = item.value
|
|
493
|
+
}else if(item.label === '庭院出单日期'){
|
|
494
|
+
item.value = this.data.f_release_date
|
|
495
|
+
this.data[item.field] = item.value
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
async getChargeDate() {
|
|
500
|
+
let data = {
|
|
501
|
+
tablename: 'activityins',
|
|
502
|
+
condition: `processid = '${this.data.f_process_id}' and defname = '报装缴费'`,
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
let http = new HttpResetClass()
|
|
506
|
+
let res = await http.load(
|
|
507
|
+
'POST',
|
|
508
|
+
`rs/sql/applySingleTable`,
|
|
509
|
+
{data: data},
|
|
510
|
+
{resolveMsg: null, rejectMsg: null}
|
|
511
|
+
)
|
|
512
|
+
if (res.data[0]){
|
|
513
|
+
for (const item of this.data.fields) {
|
|
514
|
+
if (item.label === '缴费日期') {
|
|
515
|
+
item.value = res.data[0].finishtime
|
|
516
|
+
this.data[item.field] = item.value
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
async getSingAct() {
|
|
522
|
+
let data = {
|
|
523
|
+
f_process_id: this.data.f_process_id
|
|
524
|
+
}
|
|
525
|
+
let http = new HttpResetClass()
|
|
526
|
+
let res = await http.load(
|
|
527
|
+
'POST',
|
|
528
|
+
`rs/sql/getSingAct`,
|
|
529
|
+
{data: data},
|
|
530
|
+
{resolveMsg: null, rejectMsg: '签字状态查询失败!!!'}
|
|
531
|
+
)
|
|
532
|
+
if (res.data.length > 0) {
|
|
533
|
+
for (const item of this.data.fields) {
|
|
534
|
+
if (item.label === '签字所在环节') {
|
|
535
|
+
item.value = res.data[0].defname
|
|
536
|
+
this.data[item.field] = item.value
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
events:{
|
|
543
|
+
// 工程派工初始化
|
|
544
|
+
async 'dispatchReadyEvent' () {
|
|
545
|
+
console.log("cscc")
|
|
546
|
+
if (isEmpty(this.show_data.f_meter_brand)) {
|
|
547
|
+
return
|
|
548
|
+
}
|
|
549
|
+
let data = {
|
|
550
|
+
f_gasbrand_id: this.show_data.f_meter_brand
|
|
551
|
+
}
|
|
552
|
+
let http = new HttpResetClass()
|
|
553
|
+
let res = await http.load(
|
|
554
|
+
'POST',
|
|
555
|
+
`rs/sql/getGasModel`,
|
|
556
|
+
{data: data},
|
|
557
|
+
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
558
|
+
)
|
|
559
|
+
|
|
560
|
+
this.setLabelOptions('气表型号', res.data)
|
|
561
|
+
},
|
|
562
|
+
async 'buildReadyEvent' () {
|
|
563
|
+
console.log("cscc")
|
|
564
|
+
if (isEmpty(this.show_data.f_meter_brand)) {
|
|
565
|
+
return
|
|
566
|
+
}
|
|
567
|
+
let data = {
|
|
568
|
+
f_gasbrand_id: this.show_data.f_meter_brand
|
|
569
|
+
}
|
|
570
|
+
let http = new HttpResetClass()
|
|
571
|
+
let res = await http.load(
|
|
572
|
+
'POST',
|
|
573
|
+
`rs/sql/getGasModel`,
|
|
574
|
+
{data: data},
|
|
575
|
+
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
576
|
+
)
|
|
577
|
+
|
|
578
|
+
this.setLabelOptions('气表型号', res.data)
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
watch: {
|
|
582
|
+
deep: true
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
</script>
|
|
586
|
+
<style scoped>
|
|
587
|
+
/*清除model中的浮动*/
|
|
588
|
+
.clearfix:after,.clearfix:before{
|
|
589
|
+
display: table;
|
|
590
|
+
}
|
|
591
|
+
.clearfix:after{
|
|
592
|
+
clear: both;
|
|
593
|
+
}
|
|
594
|
+
</style>
|