apply-clients 3.5.6-2 → 3.5.6-21
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 +4 -4
- package/package.json +1 -1
- package/src/filiale/dingcheng/android/AppInstallationDetails.vue +477 -478
- package/src/filiale/dingcheng/pc/InstallationDetails.vue +607 -608
- package/src/filiale/fugou/android/AppDevicesManagement.vue +516 -521
- package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -542
- package/src/filiale/fugou/pc/ServiceControl.vue +9 -0
- package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
- package/src/filiale/jinhuang/pc/Applybatchdispatch.vue +770 -0
- package/src/filiale/jinhuang/pc/ContractList.vue +222 -220
- package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
- package/src/filiale/jinhuang/pc/SupervisoryList.vue +478 -459
- package/src/filiale/jinhuang/pc.js +2 -1
- package/src/filiale/shexian/android/AppServiceControl.vue +18 -1
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +1 -1
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1 -1
- package/src/filiale/yangchunboneng/android/AppOtherChargeList.vue +281 -0
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +4 -0
- package/src/filiale/yangchunboneng/android.js +2 -1
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +622 -612
- package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +400 -365
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +30 -3
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +9 -6
- package/src/main.js +1 -1
|
@@ -1,478 +1,477 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<list :model="model" partial='list'>
|
|
4
|
-
<div partial class="auto app-text panel">
|
|
5
|
-
<div class="panel-body panel-self">
|
|
6
|
-
<div class="row">
|
|
7
|
-
<p class="col-xs-3 text-left font"><b>客户编号</b></p>
|
|
8
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="row">
|
|
11
|
-
<p class="col-xs-3 text-left font"><b>客户名称</b></p>
|
|
12
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_name }}</p>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="row">
|
|
15
|
-
<p class="col-xs-3 text-left font"><b>客户电话</b></p>
|
|
16
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_phone }}</p>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="row">
|
|
19
|
-
<p class="col-xs-3 text-left font"><b>地址信息</b></p>
|
|
20
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_address }}</p>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="row">
|
|
23
|
-
<p class="col-xs-3 text-left font"><b>表具数量</b></p>
|
|
24
|
-
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{row.f_userfiles_num === null ? 0 : row.f_userfiles_num}}</p>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="row text-right">
|
|
27
|
-
<button class="btn btn-info"
|
|
28
|
-
:disabled="(row.f_cumulative_payment_money < $parent.$parent.selectdata.f_price && ($parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.selectdata.f_apply_type === '煤改气报建')) || $parent.$parent.mark === 1"
|
|
29
|
-
@click.prevent="$parent.$parent.showUserFileModal(row)">
|
|
30
|
-
{{row.f_userfiles_num > 0 ? '修正' : '添加'}}
|
|
31
|
-
</button>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</list>
|
|
36
|
-
|
|
37
|
-
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细" width="100%">
|
|
38
|
-
<header slot="modal-header" class="modal-header">
|
|
39
|
-
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
40
|
-
<h4 class="modal-title">安装明细</h4>
|
|
41
|
-
</header>
|
|
42
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
-
<div class="form-group row vertical-center">
|
|
44
|
-
<label class="col-xs-4 control-label">地址信息:</label>
|
|
45
|
-
<div class="col-xs-8">
|
|
46
|
-
<input class="form-control input_view" style=""
|
|
47
|
-
v-model="useradders.f_address"
|
|
48
|
-
:value="useradders.f_address"
|
|
49
|
-
:readonly="true"/>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
|
|
53
|
-
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-xs-12 panel panel-info">
|
|
54
|
-
<div class="panel-heading head row" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
55
|
-
<div class="col-xs-6 text-left">表具{{$index+1}}信息</div>
|
|
56
|
-
<div class="col-xs-6 text-right"><button
|
|
57
|
-
class="btn btn-danger"
|
|
58
|
-
v-if="!item.f_userfiles_id"
|
|
59
|
-
@click.prevent="deleteUserFile(i)"
|
|
60
|
-
>删除</button></div>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="form-group row vertical-center" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
63
|
-
<label class="col-xs-4 control-label">气表品牌:</label>
|
|
64
|
-
<div class="col-xs-8">
|
|
65
|
-
<input-select
|
|
66
|
-
class="select select_list"
|
|
67
|
-
:value.sync="item.gasbrand"
|
|
68
|
-
v-model="item.gasbrand"
|
|
69
|
-
:options="meterbrands"
|
|
70
|
-
@change="gasbrandChange(i)"
|
|
71
|
-
:valueSingle="true"></input-select>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
<div class="form-group row vertical-center" :class="item.f_gasmodel_id ? '':'has-error'">
|
|
75
|
-
<label class="col-xs-4 control-label">气表型号:</label>
|
|
76
|
-
<div class="col-xs-8">
|
|
77
|
-
<input-select
|
|
78
|
-
class="select select_list"
|
|
79
|
-
:value.sync="item.gasmodel"
|
|
80
|
-
v-model="item.gasmodel"
|
|
81
|
-
:options="item.gasbrand.gasmodel"
|
|
82
|
-
@change="gasmodelChange(i)"
|
|
83
|
-
:valueSingle="true"></input-select>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
<div class="form-group row vertical-center" :class="item.f_meternumber ? '':'has-error'">
|
|
87
|
-
<label class="col-xs-4 control-label">表  号:</label>
|
|
88
|
-
<div class="col-xs-8">
|
|
89
|
-
<input class="form-control input_view" style=""
|
|
90
|
-
placeholder="表号"
|
|
91
|
-
v-model="item.f_meternumber"
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
<button type="button" class="btn btn-primary" @click="
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
import
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
'
|
|
205
|
-
'
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
this.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
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
|
-
let res = await this.$resetpost(
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
this
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
this
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
let res = await this.$resetpost(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
this
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
this.userinfo.userfiles[i].
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
let
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
}
|
|
341
|
-
let res = await http.load('POST',
|
|
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
|
-
let
|
|
372
|
-
|
|
373
|
-
f_orgid:
|
|
374
|
-
|
|
375
|
-
}
|
|
376
|
-
let res = await http.load('POST',
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
let
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
}
|
|
400
|
-
let res = await http.load('POST',
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
this.
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
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
|
-
align
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<list :model="model" partial='list'>
|
|
4
|
+
<div partial class="auto app-text panel">
|
|
5
|
+
<div class="panel-body panel-self">
|
|
6
|
+
<div class="row">
|
|
7
|
+
<p class="col-xs-3 text-left font"><b>客户编号</b></p>
|
|
8
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="row">
|
|
11
|
+
<p class="col-xs-3 text-left font"><b>客户名称</b></p>
|
|
12
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_name }}</p>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<p class="col-xs-3 text-left font"><b>客户电话</b></p>
|
|
16
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_phone }}</p>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="row">
|
|
19
|
+
<p class="col-xs-3 text-left font"><b>地址信息</b></p>
|
|
20
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_address }}</p>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="row">
|
|
23
|
+
<p class="col-xs-3 text-left font"><b>表具数量</b></p>
|
|
24
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{row.f_userfiles_num === null ? 0 : row.f_userfiles_num}}</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="row text-right">
|
|
27
|
+
<button class="btn btn-info"
|
|
28
|
+
:disabled="(row.f_cumulative_payment_money < $parent.$parent.selectdata.f_price && ($parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.selectdata.f_apply_type === '煤改气报建')) || $parent.$parent.mark === 1"
|
|
29
|
+
@click.prevent="$parent.$parent.showUserFileModal(row)">
|
|
30
|
+
{{row.f_userfiles_num > 0 ? '修正' : '添加'}}
|
|
31
|
+
</button>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</list>
|
|
36
|
+
|
|
37
|
+
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细" width="100%">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
40
|
+
<h4 class="modal-title">安装明细</h4>
|
|
41
|
+
</header>
|
|
42
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
+
<div class="form-group row vertical-center">
|
|
44
|
+
<label class="col-xs-4 control-label">地址信息:</label>
|
|
45
|
+
<div class="col-xs-8">
|
|
46
|
+
<input class="form-control input_view" style=""
|
|
47
|
+
v-model="useradders.f_address"
|
|
48
|
+
:value="useradders.f_address"
|
|
49
|
+
:readonly="true"/>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-xs-12 panel panel-info">
|
|
54
|
+
<div class="panel-heading head row" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
55
|
+
<div class="col-xs-6 text-left">表具{{$index+1}}信息</div>
|
|
56
|
+
<div class="col-xs-6 text-right"><button
|
|
57
|
+
class="btn btn-danger"
|
|
58
|
+
v-if="!item.f_userfiles_id"
|
|
59
|
+
@click.prevent="deleteUserFile(i)"
|
|
60
|
+
>删除</button></div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group row vertical-center" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
63
|
+
<label class="col-xs-4 control-label">气表品牌:</label>
|
|
64
|
+
<div class="col-xs-8">
|
|
65
|
+
<input-select
|
|
66
|
+
class="select select_list"
|
|
67
|
+
:value.sync="item.gasbrand"
|
|
68
|
+
v-model="item.gasbrand"
|
|
69
|
+
:options="meterbrands"
|
|
70
|
+
@change="gasbrandChange(i)"
|
|
71
|
+
:valueSingle="true"></input-select>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="form-group row vertical-center" :class="item.f_gasmodel_id ? '':'has-error'">
|
|
75
|
+
<label class="col-xs-4 control-label">气表型号:</label>
|
|
76
|
+
<div class="col-xs-8">
|
|
77
|
+
<input-select
|
|
78
|
+
class="select select_list"
|
|
79
|
+
:value.sync="item.gasmodel"
|
|
80
|
+
v-model="item.gasmodel"
|
|
81
|
+
:options="item.gasbrand.gasmodel"
|
|
82
|
+
@change="gasmodelChange(i)"
|
|
83
|
+
:valueSingle="true"></input-select>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="form-group row vertical-center" :class="item.f_meternumber ? '':'has-error'">
|
|
87
|
+
<label class="col-xs-4 control-label">表  号:</label>
|
|
88
|
+
<div class="col-xs-8">
|
|
89
|
+
<input class="form-control input_view" style=""
|
|
90
|
+
placeholder="表号"
|
|
91
|
+
v-model="item.f_meternumber"
|
|
92
|
+
οnkeyup="this.value=this.value.replace(/\s+/g,'')"
|
|
93
|
+
:value="item.f_meternumber"
|
|
94
|
+
@change="meternumberValidate(i)"
|
|
95
|
+
:readonly="false"/>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="form-group row vertical-center">
|
|
99
|
+
<label class="col-xs-4 control-label ">表 封 号:</label>
|
|
100
|
+
<div class="col-xs-8">
|
|
101
|
+
<input class="form-control input_view" style=""
|
|
102
|
+
placeholder="表封号"
|
|
103
|
+
v-model="item.f_metertitles"
|
|
104
|
+
:value="item.f_metertitles"
|
|
105
|
+
:readonly="false"/>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="form-group row vertical-center">
|
|
109
|
+
<label class="col-xs-4 control-label">表 读 数:</label>
|
|
110
|
+
<div class="col-xs-8">
|
|
111
|
+
<input class="form-control input_view" style=""
|
|
112
|
+
placeholder="表读数"
|
|
113
|
+
v-model="item.f_meter_base"
|
|
114
|
+
:value="item.f_meter_base"
|
|
115
|
+
:readonly="false"/>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="form-group row vertical-center">
|
|
119
|
+
<label class="col-xs-4 control-label">初始底数:</label>
|
|
120
|
+
<div class="col-xs-8">
|
|
121
|
+
<input class="form-control input_view" style=""
|
|
122
|
+
v-model="item.f_initial_base"
|
|
123
|
+
:value="item.f_initial_base"
|
|
124
|
+
placeholder="初始底数"
|
|
125
|
+
:readonly="false"/>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="form-group row vertical-center">
|
|
129
|
+
<label class="col-xs-4 control-label">表  向:</label>
|
|
130
|
+
<div class="col-xs-8">
|
|
131
|
+
<input-select
|
|
132
|
+
class="select select_list"
|
|
133
|
+
:value.sync="item.f_aroundmeter"
|
|
134
|
+
v-model="item.f_aroundmeter"
|
|
135
|
+
:options="aroundmeters"
|
|
136
|
+
:valueSingle="true"></input-select>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="form-group row vertical-center">
|
|
140
|
+
<label class="col-xs-4 control-label">安装位置:</label>
|
|
141
|
+
<div class="col-xs-8">
|
|
142
|
+
<input-select
|
|
143
|
+
class="select select_list"
|
|
144
|
+
:value.sync="item.f_position"
|
|
145
|
+
v-model="item.f_position"
|
|
146
|
+
:options="positions"
|
|
147
|
+
:valueSingle="true"></input-select>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="form-group row vertical-center">
|
|
151
|
+
<label class="col-xs-4 control-label">安 装 人:</label>
|
|
152
|
+
<div class="col-xs-8">
|
|
153
|
+
<input class="form-control input_view" style=""
|
|
154
|
+
v-model="item.f_install_person"
|
|
155
|
+
:value.sync="installperson(item.f_install_person)"
|
|
156
|
+
placeholder="安装人"
|
|
157
|
+
readonly/>
|
|
158
|
+
<!-- <input-select-->
|
|
159
|
+
<!-- class="select select_list"-->
|
|
160
|
+
<!-- :value.sync="item.f_install_person"-->
|
|
161
|
+
<!-- v-model="item.f_install_person"-->
|
|
162
|
+
<!-- :options="installperson"-->
|
|
163
|
+
<!-- :valueSingle="true"></input-select>-->
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="form-group row vertical-center">
|
|
167
|
+
<label class="col-xs-4 control-label">安装日期:</label>
|
|
168
|
+
<div class="col-xs-8">
|
|
169
|
+
<input class="form-control input_view" style=""
|
|
170
|
+
v-model="item.f_install_date"
|
|
171
|
+
:value.sync="installdate(item.f_install_date)"
|
|
172
|
+
placeholder="安装日期"
|
|
173
|
+
readonly/>
|
|
174
|
+
<!-- <datepicker-->
|
|
175
|
+
<!-- placeholder="安装日期"-->
|
|
176
|
+
<!-- :value.sync="item.f_install_date"-->
|
|
177
|
+
<!-- v-model="item.f_install_date"-->
|
|
178
|
+
<!-- format="yyyy-MM-dd HH:mm:ss"-->
|
|
179
|
+
<!-- :show-reset-button="reset">-->
|
|
180
|
+
<!-- </datepicker>-->
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
</article>
|
|
186
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
187
|
+
<!-- 去除一户多表 -->
|
|
188
|
+
<button type="button" class="btn btn-primary" @click="addUserFile" v-if="false">添加表具</button>
|
|
189
|
+
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
190
|
+
</footer>
|
|
191
|
+
</modal>
|
|
192
|
+
</div>
|
|
193
|
+
|
|
194
|
+
</template>
|
|
195
|
+
<script>
|
|
196
|
+
import Vue from 'vue'
|
|
197
|
+
import {PagedList} from 'vue-client'
|
|
198
|
+
import {HttpResetClass} from 'vue-client'
|
|
199
|
+
import {isEmpty} from '../../../components/Util'
|
|
200
|
+
// Date格式化
|
|
201
|
+
Date.prototype.Format = function (fmt) {
|
|
202
|
+
var o = {
|
|
203
|
+
'M+': this.getMonth() + 1, // 月份
|
|
204
|
+
'd+': this.getDate(), // 日
|
|
205
|
+
'H+': this.getHours(), // 小时
|
|
206
|
+
'm+': this.getMinutes(), // 分
|
|
207
|
+
's+': this.getSeconds(), // 秒
|
|
208
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
209
|
+
'S': this.getMilliseconds() // 毫秒
|
|
210
|
+
}
|
|
211
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
212
|
+
for (var k in o) {
|
|
213
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
214
|
+
}
|
|
215
|
+
return fmt
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export default {
|
|
219
|
+
title: '安装明细',
|
|
220
|
+
props: {
|
|
221
|
+
selectdata: {
|
|
222
|
+
type: Object
|
|
223
|
+
},
|
|
224
|
+
mark: {
|
|
225
|
+
type: Number,
|
|
226
|
+
default: 0
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
data () {
|
|
230
|
+
return {
|
|
231
|
+
showUserFile: false,
|
|
232
|
+
model: {
|
|
233
|
+
rows: null
|
|
234
|
+
},
|
|
235
|
+
meterbrands: [], // 气表品牌
|
|
236
|
+
useradders: null,
|
|
237
|
+
userinfo: {}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
ready () {
|
|
241
|
+
this.search()
|
|
242
|
+
this.getMeterbrands()
|
|
243
|
+
},
|
|
244
|
+
methods: {
|
|
245
|
+
// 删除未保存的表具
|
|
246
|
+
async deleteUserFile (index) {
|
|
247
|
+
this.userinfo.userfiles.splice(index, 1)
|
|
248
|
+
},
|
|
249
|
+
// 追加表具
|
|
250
|
+
addUserFile() {
|
|
251
|
+
this.userinfo.userfiles.push({})
|
|
252
|
+
},
|
|
253
|
+
// 保存档案
|
|
254
|
+
async saveUserFile() {
|
|
255
|
+
// 检查必填项
|
|
256
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
257
|
+
let userfile = this.userinfo.userfiles[i]
|
|
258
|
+
if (userfile.f_gasbrand_id === null || userfile.f_gasbrand_id === '') {
|
|
259
|
+
this.$showMessage(`表具${i+1}气表品牌没有选择!!!`)
|
|
260
|
+
return
|
|
261
|
+
}
|
|
262
|
+
if (userfile.f_gasmodel_id === null || userfile.f_gasmodel_id === '') {
|
|
263
|
+
this.$showMessage(`表具${i+1}气表型号没有选择!!!`)
|
|
264
|
+
return
|
|
265
|
+
}
|
|
266
|
+
if (userfile.f_meternumber === null || userfile.f_meternumber === '') {
|
|
267
|
+
this.$showMessage(`表具${i+1}表号没有填写!!!`)
|
|
268
|
+
return
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
let data = {
|
|
272
|
+
// user: {"f_show_department_name":"","parentname":"营业厅","functions":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/档案管理.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"address-manage","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"33664","name":"地址管理","templatename":"functionedit","id":"33663","position":"5","fullname":"资源管理.功能模块.客服系统.档案管理.地址管理","fullid":"3.21.27.212.33663","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"file-user-files","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"237","name":"用户档案","templatename":"functionedit","id":"236","position":"8","fullname":"资源管理.功能模块.客服系统.档案管理.用户档案","fullid":"3.21.27.212.236","tablename":"t_function"}],"selfid":"213","name":"档案管理","templatename":"functionedit","id":"212","position":"2","fullname":"资源管理.功能模块.客服系统.档案管理","fullid":"3.21.27.212","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/综合业务.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"综合业务","link":"param-manage","hasright":true,"resourcetype":"function","parentid":"284","children":[],"selfid":"303","name":"参数管理","templatename":"functionedit","id":"302","position":"3","fullname":"资源管理.功能模块.客服系统.综合业务.参数管理","fullid":"3.21.27.284.302","tablename":"t_function"}],"selfid":"285","name":"综合业务","templatename":"functionedit","id":"284","position":"5","fullname":"资源管理.功能模块.客服系统.综合业务","fullid":"3.21.27.284","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"客服系统","icon":"/images/lefticon/报建系统.png","hasright":true,"resourcetype":"function","parentid":"27","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"install-function","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34680","name":"功能业务","templatename":"functionedit","id":"34679","position":"1","fullname":"资源管理.功能模块.客服系统.报建业务.功能业务","fullid":"3.21.27.34673.34679","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"exploration-user","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34686","name":"流程业务","templatename":"functionedit","id":"34685","position":"2","fullname":"资源管理.功能模块.客服系统.报建业务.流程业务","fullid":"3.21.27.34673.34685","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"supervisory-control","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34692","name":"流程监控","templatename":"functionedit","id":"34691","position":"3","fullname":"资源管理.功能模块.客服系统.报建业务.流程监控","fullid":"3.21.27.34673.34691","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"apply-charge-search","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34698","name":"收费明细","templatename":"functionedit","id":"34697","position":"4","fullname":"资源管理.功能模块.客服系统.报建业务.收费明细","fullid":"3.21.27.34673.34697","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"order-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34704","name":"预约申请","templatename":"functionedit","id":"34703","position":"5","fullname":"资源管理.功能模块.客服系统.报建业务.预约申请","fullid":"3.21.27.34673.34703","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"stop-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34710","name":"终止报建","templatename":"functionedit","id":"34709","position":"6","fullname":"资源管理.功能模块.客服系统.报建业务.终止报建","fullid":"3.21.27.34673.34709","tablename":"t_function"}],"selfid":"34674","name":"报建业务","templatename":"functionedit","id":"34673","position":"11","fullname":"资源管理.功能模块.客服系统.报建业务","fullid":"3.21.27.34673","tablename":"t_function"}],"qrcode":"/rs/user/getQRcode?QRCODE=406b-1630284429661-03197","rolesnames":"营业厅报装,设计部报装,市场部报装,工程部报装,运营部报装,财务部报装","roles":"34751,34757,34763,34769,34775,35326","f_sex":"男","f_icon":"tree_user","fullnames":"河南亿星集团实业有限公司.周口市天然气有限公司.营业厅.报建测试","dir":"zhoukou","userid":"406b-1630284429661-03197","accesstime":"1630409418399","parentid":"34715","f_show_rolestr":"","fullids":"30463.10101.34715.34781.","number":"10101","f_idnumber":{},"selfid":"34782","templatename":"useredit","logindate":"2021-08-30 16:36:39","id":"34781","state":"在职","tablename":"t_user","deptype":"部门","depids":"34715","loginid":"15","imgid":{},"f_user_telephone":{},"rolestr":"营业厅报装,设计部报装,市场部报装,工程部报装,运营部报装,财务部报装","deps":"营业厅","loginnum":"0","f_age":{},"resourcetype":"user","orgid":"10101","f_department_name":"营业厅","ename":"bjcs","deleted":"false","entitytype":"t_user","f_description":{},"loginip":"192.168.66.138","name":"报建测试","position":"1","orgs":"周口市天然气有限公司","f_role_name":"营业厅报装 设计部报装 市场部报装 工程部报装 运营部报装 财务部报装 ","f_allArea":[],"f_gasman":[],"lics":[]},
|
|
273
|
+
user: Vue.user,
|
|
274
|
+
useradders: this.useradders,
|
|
275
|
+
userinfo: this.userinfo,
|
|
276
|
+
selectdata: this.selectdata
|
|
277
|
+
}
|
|
278
|
+
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/addInstallationDetails`, {data:data}, {
|
|
279
|
+
// let res = await this.$resetpost(`rs/logic/addInstallationDetails`, {data:data}, {
|
|
280
|
+
resolveMsg: null,
|
|
281
|
+
rejectMsg: '表具添加失败!!!'
|
|
282
|
+
})
|
|
283
|
+
|
|
284
|
+
this.closeUserFile()
|
|
285
|
+
this.$dispatch('breakControl')
|
|
286
|
+
},
|
|
287
|
+
// 检查表号是否存在
|
|
288
|
+
async meternumberValidate(i) {
|
|
289
|
+
if (!this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
290
|
+
this.userinfo.userfiles[i].f_meternumber = ''
|
|
291
|
+
this.$showMessage('请先选择气表品牌!!!')
|
|
292
|
+
return
|
|
293
|
+
}
|
|
294
|
+
if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
|
|
295
|
+
let data = {
|
|
296
|
+
f_meternumber: this.userinfo.userfiles[i].f_meternumber,
|
|
297
|
+
f_gasbrand_id: this.userinfo.userfiles[i].f_gasbrand_id
|
|
298
|
+
}
|
|
299
|
+
if (this.userinfo.userfiles[i].f_userfiles_id) {
|
|
300
|
+
data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
|
|
301
|
+
}
|
|
302
|
+
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
303
|
+
// let res = await this.$resetpost(`rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
304
|
+
resolveMsg: null,
|
|
305
|
+
rejectMsg: '表号验证失败!!'
|
|
306
|
+
})
|
|
307
|
+
if (res.data) {
|
|
308
|
+
this.userinfo.userfiles[i].f_meternumber = ''
|
|
309
|
+
this.$showMessage('表号已存在!!')
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
// 选择气表型号
|
|
314
|
+
gasmodelChange(i) {
|
|
315
|
+
if (this.userinfo.userfiles[i].gasmodel) {
|
|
316
|
+
this.userinfo.userfiles[i].f_gasmodel_id = this.userinfo.userfiles[i].gasmodel.id
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
// 选择气表品牌
|
|
320
|
+
gasbrandChange(i) {
|
|
321
|
+
// 清空已保存的气表型号
|
|
322
|
+
this.userinfo.userfiles[i].f_gasmodel_id = null
|
|
323
|
+
this.userinfo.userfiles[i].gasmodel = null
|
|
324
|
+
|
|
325
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
326
|
+
// 气表品牌id
|
|
327
|
+
this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
|
|
328
|
+
// 气表分类
|
|
329
|
+
this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
// 打开安装明细
|
|
333
|
+
async showUserFileModal (row) {
|
|
334
|
+
this.useradders = row
|
|
335
|
+
|
|
336
|
+
let http = new HttpResetClass()
|
|
337
|
+
let data = {
|
|
338
|
+
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
339
|
+
}
|
|
340
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
341
|
+
// let res = await http.load('POST', `rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
342
|
+
resolveMsg: null,
|
|
343
|
+
rejectMsg: null
|
|
344
|
+
})
|
|
345
|
+
|
|
346
|
+
this.userinfo = res.data
|
|
347
|
+
|
|
348
|
+
// 已有表具的 气表信息补充
|
|
349
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
350
|
+
for (const item of this.meterbrands) {
|
|
351
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
352
|
+
// this.userinfo.userfiles[i].gasbrand = item.value // 防止双向绑定失败
|
|
353
|
+
Vue.set(this.userinfo.userfiles[i], 'gasbrand', item.value)
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
357
|
+
for (const item of this.userinfo.userfiles[i].gasbrand.gasmodel) {
|
|
358
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasmodel_id) {
|
|
359
|
+
// this.userinfo.userfiles[i].gasmodel = item.value
|
|
360
|
+
Vue.set(this.userinfo.userfiles[i], 'gasmodel', item.value)
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
this.showUserFile = true
|
|
367
|
+
},
|
|
368
|
+
// 获取气表品牌
|
|
369
|
+
async getMeterbrands() {
|
|
370
|
+
let http = new HttpResetClass()
|
|
371
|
+
let data = {
|
|
372
|
+
f_orgid: Vue.user.orgid
|
|
373
|
+
// f_orgid: '10101'
|
|
374
|
+
}
|
|
375
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterbrands`, {data:data}, {
|
|
376
|
+
// let res = await http.load('POST', `rs/logic/getMeterbrands`, {data:data}, {
|
|
377
|
+
resolveMsg: null,
|
|
378
|
+
rejectMsg: null
|
|
379
|
+
})
|
|
380
|
+
this.meterbrands = res.data
|
|
381
|
+
},
|
|
382
|
+
// 查询
|
|
383
|
+
async search () {
|
|
384
|
+
var tablestate=''
|
|
385
|
+
if(this.selectdata.f_sub_state==='完工'){
|
|
386
|
+
tablestate='正常'
|
|
387
|
+
}else{
|
|
388
|
+
tablestate='待开通'
|
|
389
|
+
}
|
|
390
|
+
let http = new HttpResetClass()
|
|
391
|
+
let data = {
|
|
392
|
+
condition: `ua.f_process_id = '${this.selectdata.f_process_id}'`,
|
|
393
|
+
condValue : tablestate
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
if (this.selectdata.f_apply_type === '团购转散户' || this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
397
|
+
data.condition = `ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
398
|
+
}
|
|
399
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
400
|
+
// let res = await http.load('POST', `rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
401
|
+
resolveMsg: null,
|
|
402
|
+
rejectMsg: null
|
|
403
|
+
})
|
|
404
|
+
this.model.rows = res.data
|
|
405
|
+
if (this.selectdata.f_apply_type === '团购报建') {
|
|
406
|
+
let f_installed_households = 0
|
|
407
|
+
for (const item of res.data) {
|
|
408
|
+
if (item.f_userfiles_num > 0) {
|
|
409
|
+
f_installed_households++
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
let f_uninstalled_households = this.selectdata.f_apply_count - f_installed_households
|
|
413
|
+
for (const item of this.selectdata.fields) {
|
|
414
|
+
if (item.label === '已安装户数') {
|
|
415
|
+
item.value = f_installed_households
|
|
416
|
+
}
|
|
417
|
+
if (item.label === '未安装户数') {
|
|
418
|
+
item.value = f_uninstalled_households
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
// 关闭安装明细
|
|
424
|
+
closeUserFile() {
|
|
425
|
+
this.showUserFile = false
|
|
426
|
+
this.useradders = null
|
|
427
|
+
this.userinfo = {}
|
|
428
|
+
this.search()
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
events: {
|
|
432
|
+
},
|
|
433
|
+
computed: {
|
|
434
|
+
// 安装人
|
|
435
|
+
installperson() {
|
|
436
|
+
return function (f_install_person) {
|
|
437
|
+
if (isEmpty(f_install_person)) {
|
|
438
|
+
return Vue.user.name
|
|
439
|
+
}
|
|
440
|
+
return f_install_person
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
installdate() {
|
|
444
|
+
return function (f_install_date) {
|
|
445
|
+
if (isEmpty(f_install_date)) {
|
|
446
|
+
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
447
|
+
}
|
|
448
|
+
return f_install_date
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
// 表向
|
|
452
|
+
aroundmeters() {
|
|
453
|
+
return this.$appdata.getParam('左右表')
|
|
454
|
+
},
|
|
455
|
+
// 安装位置
|
|
456
|
+
positions() {
|
|
457
|
+
return this.$appdata.getParam('安装位置')
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
watch: {
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
</script>
|
|
464
|
+
<style scoped>
|
|
465
|
+
.vertical-center {
|
|
466
|
+
display: flex;
|
|
467
|
+
align-items: center;
|
|
468
|
+
text-align: center;
|
|
469
|
+
}
|
|
470
|
+
/*清除model中的浮动*/
|
|
471
|
+
.clearfix:after,.clearfix:before{
|
|
472
|
+
display: table;
|
|
473
|
+
}
|
|
474
|
+
.clearfix:after{
|
|
475
|
+
clear: both;
|
|
476
|
+
}
|
|
477
|
+
</style>
|