apply-clients 4.1.64 → 4.1.68
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/index.html +30 -30
- package/package.json +3 -2
- package/src/apply.js +2 -1
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/Function/InstallInfoSelect.vue +282 -281
- package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
- package/src/components/product/Process/ExplorationSelect.vue +354 -356
- package/src/components/product/Process/Processes/InstallationDetails.vue +269 -232
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +841 -103
- package/src/components/product/Process/Processes/chargeManagement.vue +9 -9
- package/src/components/product/Process/Processes/devicesDetails.vue +514 -0
- package/src/components/product/Process/Processes/printCharge.vue +130 -130
- package/src/components/product/Process/Processes/recordcancel.vue +50 -50
- package/src/components/product/Process/Service/ServiceControl.vue +86 -64
- package/src/components/product/ServiceView.vue +24 -39
- package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Test.vue +8 -4
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
- package/dist.rar +0 -0
|
@@ -17,12 +17,27 @@
|
|
|
17
17
|
<th class="textNoLineBreak">证件类型</th>
|
|
18
18
|
<th class="textNoLineBreak">证件号码</th>
|
|
19
19
|
<th class="textNoLineBreak">时间</th>
|
|
20
|
-
<th class="textNoLineBreak">
|
|
21
|
-
|
|
20
|
+
<th v-if="$parent.$parent.showremark" class="textNoLineBreak">退回理由</th>
|
|
21
|
+
<th class="textNoLineBreak">
|
|
22
|
+
<button v-if="$parent.$parent.showback"type="button" class="btn btn-info head-but"
|
|
23
|
+
@click="$parent.$parent.unpass()">退回</button>
|
|
24
|
+
<button v-if="$parent.$parent.showcover"type="button" class="btn btn-info head-but"
|
|
25
|
+
@click="$parent.$parent.pass()">恢复</button>
|
|
26
|
+
<!-- <button v-if="$parent.$parent.showfiling"type="button" class="btn btn-info head-but"-->
|
|
27
|
+
<!-- @click="$parent.$parent.filing()">建档不合格</button>-->
|
|
28
|
+
<button v-if="$parent.$parent.showhina" type="button" class="btn btn-info head-but"
|
|
22
29
|
:disabled="$parent.$parent.mark === 1"
|
|
23
|
-
|
|
24
|
-
<a type="button" class="btn btn-info head-but"
|
|
25
|
-
href="/apply/download/excel
|
|
30
|
+
@click="$parent.$parent.showFileModal()">导入</button>
|
|
31
|
+
<a v-if="$parent.$parent.showhina" type="button" class="btn btn-info head-but"
|
|
32
|
+
href="/apply/download/excel/中盛地址批量导入.xlsx" download>模板下载</a>
|
|
33
|
+
<!-- <export-excel :data="$parent.$parent.getCondition"-->
|
|
34
|
+
<!-- :field="$parent.$parent.getfield"-->
|
|
35
|
+
<!-- sqlurl="rs/logic/applyExportfile"-->
|
|
36
|
+
<!-- sql-name="getAddressAanUserinfo"-->
|
|
37
|
+
<!-- template-name='花名册导出'-->
|
|
38
|
+
<!-- btn-name="花名册导出"-->
|
|
39
|
+
<!-- :choose-col="true"></export-excel>-->
|
|
40
|
+
|
|
26
41
|
</th>
|
|
27
42
|
</tr>
|
|
28
43
|
</template>
|
|
@@ -73,15 +88,523 @@
|
|
|
73
88
|
<td style="text-align: center;" @click="$parent.$parent.selectOne(row)">
|
|
74
89
|
<nobr>{{row.f_create_date}}</nobr>
|
|
75
90
|
</td>
|
|
91
|
+
<td v-if="$parent.$parent.showremark" style="text-align: center;">
|
|
92
|
+
<!-- <button class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.cleanupload(row)">删除</button>-->
|
|
76
93
|
|
|
94
|
+
<button class="button_new button_spacing" @click.prevent="$parent.$parent.backremark(row)">退回原因</button>
|
|
95
|
+
</td>
|
|
77
96
|
<td style="text-align: center;">
|
|
78
97
|
<button v-if="$parent.$parent.showclean" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.cleanupload(row)">删除</button>
|
|
79
98
|
<button v-if="$parent.$parent.showrecover" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.recoverupload(row)">恢复</button>
|
|
99
|
+
<!-- <button v-if="$parent.$parent.showfire" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.fire(row)">点火</button>-->
|
|
80
100
|
</td>
|
|
81
101
|
</tr>
|
|
82
102
|
</template>
|
|
83
103
|
</data-grid>
|
|
84
104
|
</div>
|
|
105
|
+
|
|
106
|
+
<modal :show.sync="showbackremark" v-ref:modal large backdrop="false">
|
|
107
|
+
<header slot="modal-header" class="modal-header">
|
|
108
|
+
<h3 style="color:black" class="modal-title">退回原因</h3>
|
|
109
|
+
</header>
|
|
110
|
+
<article slot="modal-body" class="modal-body">
|
|
111
|
+
<div class="auto">
|
|
112
|
+
<form class="form-horizontal">
|
|
113
|
+
<div class="row">
|
|
114
|
+
<div class="col-sm-12 form-group form-input-group" >
|
|
115
|
+
<label class="control-label">备注</label>
|
|
116
|
+
<textarea class="form-control" v-model=f_comments placeholder="请添加原因" :disabled="!showback"></textarea>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</form>
|
|
120
|
+
</div>
|
|
121
|
+
</article>
|
|
122
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
123
|
+
<button type="button" class="btn btn-success" @click='confirm(row)'>确定</button>
|
|
124
|
+
<button type="button" class="btn btn-default" @click='cancel()'>取消</button>
|
|
125
|
+
</footer>
|
|
126
|
+
</modal>
|
|
127
|
+
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :backdrop="false" title="点火信息">
|
|
128
|
+
<header slot="modal-header" class="modal-header">
|
|
129
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
130
|
+
<h4 class="modal-title">点火信息</h4>
|
|
131
|
+
</header>
|
|
132
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
133
|
+
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-sm-12 panel panel-info">
|
|
134
|
+
<div class="panel-heading head" style="background-color: #e8f4ff;margin-bottom: 10px">通气点火信息</div>
|
|
135
|
+
|
|
136
|
+
<div class="form-group col-sm-12">
|
|
137
|
+
<label class="col-sm-4 control-label">IC卡号:</label>
|
|
138
|
+
<div class="col-sm-6">
|
|
139
|
+
<input-select
|
|
140
|
+
class="select select_list"
|
|
141
|
+
:value.sync="item.f_gas_pressure"
|
|
142
|
+
v-model="item.f_gas_pressure"
|
|
143
|
+
:options="f_gas_pressure"
|
|
144
|
+
@change="gasbrandChange(i)"
|
|
145
|
+
:valueSingle="true"></input-select>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<div class="form-group col-sm-12" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
150
|
+
<label class="col-sm-4 control-label">燃气表品牌:</label>
|
|
151
|
+
<div class="col-sm-6">
|
|
152
|
+
<input-select
|
|
153
|
+
class="select select_list"
|
|
154
|
+
:value.sync="item.f_gasbrand_id"
|
|
155
|
+
v-model="item.f_gasbrand_id"
|
|
156
|
+
:options="meterbrands"
|
|
157
|
+
@change="gasbrandChange(i)"
|
|
158
|
+
:valueSingle="true"></input-select>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="form-group col-sm-12" :class="item.f_gasmodel ? '':'has-error'">
|
|
162
|
+
<label class="col-sm-4 control-label">燃气表型号:</label>
|
|
163
|
+
<div class="col-sm-6">
|
|
164
|
+
<input-select
|
|
165
|
+
class="select select_list"
|
|
166
|
+
:value.sync="item.f_gasmodel"
|
|
167
|
+
v-model="item.f_gasmodel"
|
|
168
|
+
:options="item.f_gasmodel"
|
|
169
|
+
@change="gasmodelChange(i)"
|
|
170
|
+
:valueSingle="true"></input-select>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
|
|
174
|
+
<div class="form-group col-sm-12":class="item.f_meternumber ? '':'has-error'">
|
|
175
|
+
<label class="col-sm-4 control-label">表号:</label>
|
|
176
|
+
<div class="col-sm-6">
|
|
177
|
+
<input-select
|
|
178
|
+
class="select select_list"
|
|
179
|
+
:value.sync="item.f_meternumber"
|
|
180
|
+
v-model="item.f_meternumber"
|
|
181
|
+
:options="item.f_meternumber"
|
|
182
|
+
:valueSingle="true"></input-select>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
|
|
186
|
+
<div class="form-group col-sm-12":class="item.f_aroundmeter ? '':'has-error'">
|
|
187
|
+
<label class="col-sm-4 control-label">表向:</label>
|
|
188
|
+
<div class="col-sm-6">
|
|
189
|
+
<input-select
|
|
190
|
+
class="select select_list"
|
|
191
|
+
:value.sync="item.f_aroundmeter"
|
|
192
|
+
v-model="item.f_aroundmeter"
|
|
193
|
+
:options="item.f_aroundmeters"
|
|
194
|
+
:valueSingle="true"></input-select>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div class="form-group col-sm-12":class="item.f_gage_seal ? '':'has-error'">
|
|
199
|
+
<label class="col-sm-4 control-label">表封:</label>
|
|
200
|
+
<div class="col-sm-6">
|
|
201
|
+
<input-select
|
|
202
|
+
class="select select_list"
|
|
203
|
+
:value.sync="item.f_gage_seal"
|
|
204
|
+
v-model="item.f_gage_seal"
|
|
205
|
+
:options="item.f_gage_seal"
|
|
206
|
+
:valueSingle="true"></input-select>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
|
|
210
|
+
<div class="form-group col-sm-12":class="item.f_dn ? '':'has-error'">
|
|
211
|
+
<label class="col-sm-4 control-label">镀锌管DN15:</label>
|
|
212
|
+
<div class="col-sm-6">
|
|
213
|
+
<input-select
|
|
214
|
+
class="select select_list"
|
|
215
|
+
:value.sync="item.f_dn"
|
|
216
|
+
v-model="item.f_dn"
|
|
217
|
+
:options="item.f_dn"
|
|
218
|
+
:valueSingle="true"></input-select>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
|
|
222
|
+
<div class="form-group col-sm-12":class="item.f_three_link ? '':'has-error'">
|
|
223
|
+
<label class="col-sm-4 control-label">三通:</label>
|
|
224
|
+
<div class="col-sm-6">
|
|
225
|
+
<input-select
|
|
226
|
+
class="select select_list"
|
|
227
|
+
:value.sync="item.f_three_link"
|
|
228
|
+
v-model="item.f_three_link"
|
|
229
|
+
:options="item.f_three_link"
|
|
230
|
+
:valueSingle="true"></input-select>
|
|
231
|
+
</div>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div class="form-group col-sm-12":class="item.f_nipple ? '':'has-error'">
|
|
235
|
+
<label class="col-sm-4 control-label">对丝:</label>
|
|
236
|
+
<div class="col-sm-6">
|
|
237
|
+
<input-select
|
|
238
|
+
class="select select_list"
|
|
239
|
+
:value.sync="item.f_nipple"
|
|
240
|
+
v-model="item.f_nipple"
|
|
241
|
+
:options="item.f_nipple"
|
|
242
|
+
:valueSingle="true"></input-select>
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<div class="form-group col-sm-12":class="item.f_elbow ? '':'has-error'">
|
|
247
|
+
<label class="col-sm-4 control-label">弯头:</label>
|
|
248
|
+
<div class="col-sm-6">
|
|
249
|
+
<input-select
|
|
250
|
+
class="select select_list"
|
|
251
|
+
:value.sync="item.f_elbow"
|
|
252
|
+
v-model="item.f_elbow"
|
|
253
|
+
:options="item.f_elbow"
|
|
254
|
+
:valueSingle="true"></input-select>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
<div class="form-group col-sm-12":class="item.f_meter_valve ? '':'has-error'">
|
|
259
|
+
<label class="col-sm-4 control-label">表前阀:</label>
|
|
260
|
+
<div class="col-sm-6">
|
|
261
|
+
<input-select
|
|
262
|
+
class="select select_list"
|
|
263
|
+
:value.sync="item.f_meter_valve"
|
|
264
|
+
v-model="item.f_meter_valve"
|
|
265
|
+
:options="item.f_meter_valve"
|
|
266
|
+
:valueSingle="true"></input-select>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
<div class="form-group col-sm-12":class="item.f_pipe_strap ? '':'has-error'">
|
|
271
|
+
<label class="col-sm-4 control-label">管卡:</label>
|
|
272
|
+
<div class="col-sm-6">
|
|
273
|
+
<input-select
|
|
274
|
+
class="select select_list"
|
|
275
|
+
:value.sync="item.f_pipe_strap"
|
|
276
|
+
v-model="item.f_pipe_strap"
|
|
277
|
+
:options="item.f_pipe_strap"
|
|
278
|
+
:valueSingle="true"></input-select>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
|
|
282
|
+
<div class="form-group col-sm-12":class="item.f_stove_valve ? '':'has-error'">
|
|
283
|
+
<label class="col-sm-4 control-label">灶前阀:</label>
|
|
284
|
+
<div class="col-sm-6">
|
|
285
|
+
<input-select
|
|
286
|
+
class="select select_list"
|
|
287
|
+
:value.sync="item.f_stove_valve"
|
|
288
|
+
v-model="item.f_stove_valve"
|
|
289
|
+
:options="item.f_stove_valve"
|
|
290
|
+
:valueSingle="true"></input-select>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
<div class="form-group col-sm-12":class="item.f_rubber_sac ? '':'has-error'">
|
|
295
|
+
<label class="col-sm-4 control-label">胶管:</label>
|
|
296
|
+
<div class="col-sm-6">
|
|
297
|
+
<input-select
|
|
298
|
+
class="select select_list"
|
|
299
|
+
:value.sync="item.f_rubber_sac"
|
|
300
|
+
v-model="item.f_rubber_sac"
|
|
301
|
+
:options="item.f_rubber_sac"
|
|
302
|
+
:valueSingle="true"></input-select>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
|
|
306
|
+
<div class="form-group col-sm-12":class="item.f_alarm ? '':'has-error'">
|
|
307
|
+
<label class="col-sm-4 control-label">报警器:</label>
|
|
308
|
+
<div class="col-sm-6">
|
|
309
|
+
<input-select
|
|
310
|
+
class="select select_list"
|
|
311
|
+
:value.sync="item.f_alarm"
|
|
312
|
+
v-model="item.f_alarm"
|
|
313
|
+
:options="item.f_alarm"
|
|
314
|
+
:valueSingle="true"></input-select>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<div class="form-group col-sm-12":class="item.f_close_valve ? '':'has-error'">
|
|
319
|
+
<label class="col-sm-4 control-label">自闭阀:</label>
|
|
320
|
+
<div class="col-sm-6">
|
|
321
|
+
<input-select
|
|
322
|
+
class="select select_list"
|
|
323
|
+
:value.sync="item.f_close_valve"
|
|
324
|
+
v-model="item.f_close_valve"
|
|
325
|
+
:options="item.f_close_valve"
|
|
326
|
+
:valueSingle="true"></input-select>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
<div class="form-group col-sm-12":class="item.f_gas_stove ? '':'has-error'">
|
|
331
|
+
<label class="col-sm-4 control-label">燃气具:</label>
|
|
332
|
+
<div class="col-sm-6">
|
|
333
|
+
<input-select
|
|
334
|
+
class="select select_list"
|
|
335
|
+
:value.sync="item.f_gas_stove"
|
|
336
|
+
v-model="item.f_gas_stove"
|
|
337
|
+
:options="item.f_gas_stove"
|
|
338
|
+
:valueSingle="true"></input-select>
|
|
339
|
+
</div>
|
|
340
|
+
</div>
|
|
341
|
+
|
|
342
|
+
<div class="form-group col-sm-12":class="item.f_boiler ? '':'has-error'">
|
|
343
|
+
<label class="col-sm-4 control-label">热水器:</label>
|
|
344
|
+
<div class="col-sm-6">
|
|
345
|
+
<input-select
|
|
346
|
+
class="select select_list"
|
|
347
|
+
:value.sync="item.f_boiler"
|
|
348
|
+
v-model="item.f_boiler"
|
|
349
|
+
:options="item.f_boiler"
|
|
350
|
+
:valueSingle="true"></input-select>
|
|
351
|
+
</div>
|
|
352
|
+
</div>
|
|
353
|
+
|
|
354
|
+
<div class="form-group col-sm-12":class="item.f_hang_boiler ? '':'has-error'">
|
|
355
|
+
<label class="col-sm-4 control-label">壁挂锅炉:</label>
|
|
356
|
+
<div class="col-sm-6">
|
|
357
|
+
<input-select
|
|
358
|
+
class="select select_list"
|
|
359
|
+
:value.sync="item.f_hang_boiler"
|
|
360
|
+
v-model="item.f_hang_boiler"
|
|
361
|
+
:options="item.f_hang_boiler"
|
|
362
|
+
:valueSingle="true"></input-select>
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_ic_card ? '':'has-error'">
|
|
368
|
+
<label class="col-sm-4 control-label">IC卡号:</label>
|
|
369
|
+
<div class="col-sm-6">
|
|
370
|
+
<input-select
|
|
371
|
+
class="select select_list"
|
|
372
|
+
:value.sync="item.f_ic_card"
|
|
373
|
+
v-model="item.f_ic_card"
|
|
374
|
+
:options="item.f_ic_card"
|
|
375
|
+
:valueSingle="true"></input-select>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_flow_type ? '':'has-error'">
|
|
381
|
+
<label class="col-sm-4 control-label">流量计品牌:</label>
|
|
382
|
+
<div class="col-sm-6">
|
|
383
|
+
<input-select
|
|
384
|
+
class="select select_list"
|
|
385
|
+
:value.sync="item.f_flow_type"
|
|
386
|
+
v-model="item.f_flow_type"
|
|
387
|
+
:options="item.f_flow_type"
|
|
388
|
+
:valueSingle="true"></input-select>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
391
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_flow_type1 ? '':'has-error'">
|
|
392
|
+
<label class="col-sm-4 control-label">流量计型号:</label>
|
|
393
|
+
<div class="col-sm-6">
|
|
394
|
+
<input-select
|
|
395
|
+
class="select select_list"
|
|
396
|
+
:value.sync="item.f_flow_type1"
|
|
397
|
+
v-model="item.f_flow_type1"
|
|
398
|
+
:options="item.f_flow_type1"
|
|
399
|
+
:valueSingle="true"></input-select>
|
|
400
|
+
</div>
|
|
401
|
+
</div>
|
|
402
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_flow_card ? '':'has-error'">
|
|
403
|
+
<label class="col-sm-4 control-label">流量计出厂编号:</label>
|
|
404
|
+
<div class="col-sm-6">
|
|
405
|
+
<input-select
|
|
406
|
+
class="select select_list"
|
|
407
|
+
:value.sync="item.f_flow_card"
|
|
408
|
+
v-model="item.f_flow_card"
|
|
409
|
+
:options="item.f_flow_card"
|
|
410
|
+
:valueSingle="true"></input-select>
|
|
411
|
+
</div>
|
|
412
|
+
</div>
|
|
413
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_flow_scope ? '':'has-error'">
|
|
414
|
+
<label class="col-sm-4 control-label">流量计流量范围:</label>
|
|
415
|
+
<div class="col-sm-6">
|
|
416
|
+
<input-select
|
|
417
|
+
class="select select_list"
|
|
418
|
+
:value.sync="item.f_flow_scope"
|
|
419
|
+
v-model="item.f_flow_scope"
|
|
420
|
+
:options="item.f_flow_scope"
|
|
421
|
+
:valueSingle="true"></input-select>
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_flow_seal ? '':'has-error'">
|
|
425
|
+
<label class="col-sm-4 control-label">流量计表封号:</label>
|
|
426
|
+
<div class="col-sm-6">
|
|
427
|
+
<input-select
|
|
428
|
+
class="select select_list"
|
|
429
|
+
:value.sync="item.f_flow_seal"
|
|
430
|
+
v-model="item.f_flow_seal"
|
|
431
|
+
:options="item.f_flow_seal"
|
|
432
|
+
:valueSingle="true"></input-select>
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_control_brand ? '':'has-error'">
|
|
436
|
+
<label class="col-sm-4 control-label">控制器品牌:</label>
|
|
437
|
+
<div class="col-sm-6">
|
|
438
|
+
<input-select
|
|
439
|
+
class="select select_list"
|
|
440
|
+
:value.sync="item.f_control_brand"
|
|
441
|
+
v-model="item.f_control_brand"
|
|
442
|
+
:options="item.f_control_brand"
|
|
443
|
+
:valueSingle="true"></input-select>
|
|
444
|
+
</div>
|
|
445
|
+
</div>
|
|
446
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_control_type ? '':'has-error'">
|
|
447
|
+
<label class="col-sm-4 control-label">控制器型号:</label>
|
|
448
|
+
<div class="col-sm-6">
|
|
449
|
+
<input-select
|
|
450
|
+
class="select select_list"
|
|
451
|
+
:value.sync="item.f_control_type"
|
|
452
|
+
v-model="item.f_control_type"
|
|
453
|
+
:options="item.f_control_type"
|
|
454
|
+
:valueSingle="true"></input-select>
|
|
455
|
+
</div>
|
|
456
|
+
</div>
|
|
457
|
+
|
|
458
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_control_date ? '':'has-error'">
|
|
459
|
+
<label class="col-sm-4 control-label">控制器出厂日期:</label>
|
|
460
|
+
<div class="col-sm-6">
|
|
461
|
+
<input-select
|
|
462
|
+
class="select select_list"
|
|
463
|
+
:value.sync="item.f_control_date"
|
|
464
|
+
v-model="item.f_control_date"
|
|
465
|
+
:options="item.f_control_date"
|
|
466
|
+
:valueSingle="true"></input-select>
|
|
467
|
+
</div>
|
|
468
|
+
</div>
|
|
469
|
+
|
|
470
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_control_code ? '':'has-error'">
|
|
471
|
+
<label class="col-sm-4 control-label">控制器表号:</label>
|
|
472
|
+
<div class="col-sm-6">
|
|
473
|
+
<input-select
|
|
474
|
+
class="select select_list"
|
|
475
|
+
:value.sync="item.f_control_code"
|
|
476
|
+
v-model="item.f_control_code"
|
|
477
|
+
:options="item.f_control_code"
|
|
478
|
+
:valueSingle="true"></input-select>
|
|
479
|
+
</div>
|
|
480
|
+
</div>
|
|
481
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_control_seal ? '':'has-error'">
|
|
482
|
+
<label class="col-sm-4 control-label">控制器表封号:</label>
|
|
483
|
+
<div class="col-sm-6">
|
|
484
|
+
<input-select
|
|
485
|
+
class="select select_list"
|
|
486
|
+
:value.sync="item.f_control_seal"
|
|
487
|
+
v-model="item.f_control_seal"
|
|
488
|
+
:options="item.f_control_seal"
|
|
489
|
+
:valueSingle="true"></input-select>
|
|
490
|
+
</div>
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_finish_date ? '':'has-error'">
|
|
494
|
+
<label class="col-sm-4 control-label">交付日期:</label>
|
|
495
|
+
<div class="col-sm-6">
|
|
496
|
+
<input-select
|
|
497
|
+
class="select select_list"
|
|
498
|
+
:value.sync="item.f_finish_date"
|
|
499
|
+
v-model="item.f_finish_date"
|
|
500
|
+
:options="item.f_finish_date"
|
|
501
|
+
:valueSingle="true"></input-select>
|
|
502
|
+
</div>
|
|
503
|
+
</div>
|
|
504
|
+
|
|
505
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_meter_phone ? '':'has-error'">
|
|
506
|
+
<label class="col-sm-4 control-label">通讯方式:</label>
|
|
507
|
+
<div class="col-sm-6">
|
|
508
|
+
<input-select
|
|
509
|
+
class="select select_list"
|
|
510
|
+
:value.sync="item.f_meter_phone"
|
|
511
|
+
v-model="item.f_meter_phone"
|
|
512
|
+
:options="item.f_meter_phone"
|
|
513
|
+
:valueSingle="true"></input-select>
|
|
514
|
+
</div>
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_gas_type ? '':'has-error'">
|
|
518
|
+
<label class="col-sm-4 control-label">燃气具类型:</label>
|
|
519
|
+
<div class="col-sm-6">
|
|
520
|
+
<input-select
|
|
521
|
+
class="select select_list"
|
|
522
|
+
:value.sync="item.f_gas_type"
|
|
523
|
+
v-model="item.f_gas_type"
|
|
524
|
+
:options="item.f_gas_type"
|
|
525
|
+
:valueSingle="true"></input-select>
|
|
526
|
+
</div>
|
|
527
|
+
</div>
|
|
528
|
+
|
|
529
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_gas_brand ? '':'has-error'">
|
|
530
|
+
<label class="col-sm-4 control-label">燃气具品牌:</label>
|
|
531
|
+
<div class="col-sm-6">
|
|
532
|
+
<input-select
|
|
533
|
+
class="select select_list"
|
|
534
|
+
:value.sync="item.f_gas_brand"
|
|
535
|
+
v-model="item.f_gas_brand"
|
|
536
|
+
:options="item.f_gas_brand"
|
|
537
|
+
:valueSingle="true"></input-select>
|
|
538
|
+
</div>
|
|
539
|
+
</div>
|
|
540
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_gas_type_card ? '':'has-error'">
|
|
541
|
+
<label class="col-sm-4 control-label">燃气具型号:</label>
|
|
542
|
+
<div class="col-sm-6">
|
|
543
|
+
<input-select
|
|
544
|
+
class="select select_list"
|
|
545
|
+
:value.sync="item.f_gas_type_card"
|
|
546
|
+
v-model="item.f_gas_type_card"
|
|
547
|
+
:options="item.f_gas_type_card"
|
|
548
|
+
:valueSingle="true"></input-select>
|
|
549
|
+
</div>
|
|
550
|
+
</div>
|
|
551
|
+
|
|
552
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_alarm_num ? '':'has-error'">
|
|
553
|
+
<label class="col-sm-4 control-label">报警控制器品牌及数量:</label>
|
|
554
|
+
<div class="col-sm-6">
|
|
555
|
+
<input-select
|
|
556
|
+
class="select select_list"
|
|
557
|
+
:value.sync="item.f_alarm_num"
|
|
558
|
+
v-model="item.f_alarm_num"
|
|
559
|
+
:options="item.f_alarm_num"
|
|
560
|
+
:valueSingle="true"></input-select>
|
|
561
|
+
</div>
|
|
562
|
+
</div>
|
|
563
|
+
|
|
564
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_probe_num ? '':'has-error'">
|
|
565
|
+
<label class="col-sm-4 control-label">探测器数量:</label>
|
|
566
|
+
<div class="col-sm-6">
|
|
567
|
+
<input-select
|
|
568
|
+
class="select select_list"
|
|
569
|
+
:value.sync="item.f_probe_num"
|
|
570
|
+
v-model="item.f_probe_num"
|
|
571
|
+
:options="item.f_probe_num"
|
|
572
|
+
:valueSingle="true"></input-select>
|
|
573
|
+
</div>
|
|
574
|
+
</div>
|
|
575
|
+
|
|
576
|
+
<div v-if="showlky" class="form-group col-sm-12":class="item.f_conclusion ? '':'has-error'">
|
|
577
|
+
<label class="col-sm-4 control-label">检验结论:</label>
|
|
578
|
+
<div class="col-sm-6">
|
|
579
|
+
<input-select
|
|
580
|
+
class="select select_list"
|
|
581
|
+
:value.sync="item.f_conclusion"
|
|
582
|
+
v-model="item.f_conclusion"
|
|
583
|
+
:options="item.f_conclusion"
|
|
584
|
+
:valueSingle="true"></input-select>
|
|
585
|
+
</div>
|
|
586
|
+
</div>
|
|
587
|
+
|
|
588
|
+
<div class="form-group col-sm-12":class="item.f_boiler_remark ? '':'has-error'">
|
|
589
|
+
<label class="col-sm-4 control-label">备注:</label>
|
|
590
|
+
<div class="col-sm-6">
|
|
591
|
+
<input-select
|
|
592
|
+
class="select select_list"
|
|
593
|
+
:value.sync="item.f_boiler_remark"
|
|
594
|
+
v-model="item.f_boiler_remark"
|
|
595
|
+
:options="item.f_boiler_remark"
|
|
596
|
+
:valueSingle="true"></input-select>
|
|
597
|
+
</div>
|
|
598
|
+
</div>
|
|
599
|
+
</div>
|
|
600
|
+
|
|
601
|
+
</article>
|
|
602
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
603
|
+
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
604
|
+
</footer>
|
|
605
|
+
</modal>
|
|
606
|
+
|
|
607
|
+
|
|
85
608
|
<modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
|
|
86
609
|
<header slot="modal-header" class="modal-header">
|
|
87
610
|
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
@@ -94,6 +617,7 @@
|
|
|
94
617
|
</article>
|
|
95
618
|
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
96
619
|
</modal>
|
|
620
|
+
|
|
97
621
|
</template>
|
|
98
622
|
<script>
|
|
99
623
|
import {PagedList} from 'vue-client'
|
|
@@ -119,18 +643,74 @@ export default {
|
|
|
119
643
|
data: null
|
|
120
644
|
},
|
|
121
645
|
selectedData:[],
|
|
122
|
-
showselect:
|
|
123
|
-
showclean:
|
|
124
|
-
showrecover:false,
|
|
646
|
+
showselect:false, //checkbox按钮
|
|
647
|
+
showclean:false, //删除
|
|
648
|
+
showrecover:false, //恢复
|
|
649
|
+
showUserFile:false, //点火信息表
|
|
650
|
+
showback:false,//退回
|
|
651
|
+
showfiling:false,//退回
|
|
652
|
+
showcover:false,//恢复退回数据
|
|
653
|
+
showbackremark:false,//退回界面
|
|
654
|
+
f_comments:'',
|
|
655
|
+
showhina:true, //导入
|
|
656
|
+
showremark:false,
|
|
657
|
+
showfire:false, //点火按钮
|
|
658
|
+
userinfo:{},
|
|
659
|
+
showreason:false,
|
|
125
660
|
record:'',
|
|
126
661
|
all:[],
|
|
127
|
-
|
|
662
|
+
remark:'',
|
|
663
|
+
getfield: {
|
|
664
|
+
"f_pcd": "省市区",
|
|
665
|
+
"f_street": "街道",
|
|
666
|
+
"f_slice_area": "片区/管理站",
|
|
667
|
+
"f_residential_area": "小区",
|
|
668
|
+
"f_special": "地址类型",
|
|
669
|
+
"f_building": "楼号",
|
|
670
|
+
"f_unit": "单元号",
|
|
671
|
+
"f_floor": "楼层",
|
|
672
|
+
"f_room": "门牌号",
|
|
673
|
+
"f_address": "地址",
|
|
674
|
+
"f_user_name": "用户姓名/单位名称",
|
|
675
|
+
"f_user_phone": "电话",
|
|
676
|
+
"f_credentials": "证件类型",
|
|
677
|
+
"f_idnumber": "证件号码",
|
|
678
|
+
"f_people_num": "人口数"
|
|
679
|
+
}
|
|
128
680
|
}
|
|
129
|
-
|
|
130
681
|
},
|
|
131
682
|
ready () {
|
|
132
|
-
if(this.selectdata.
|
|
133
|
-
|
|
683
|
+
if(this.selectdata.defname==='竣工验收'||this.selectdata.defname==='营业厅建档'||this.selectdata.f_apply_type==='验收退回'&&this.selectdata.f_apply_type!=='工商户报建')
|
|
684
|
+
{
|
|
685
|
+
this.showselect=true
|
|
686
|
+
}
|
|
687
|
+
if(this.selectdata.defname==='报建登记')
|
|
688
|
+
{
|
|
689
|
+
this.showclean=true
|
|
690
|
+
}
|
|
691
|
+
if(this.selectdata.defname==='通气点火')
|
|
692
|
+
{
|
|
693
|
+
this.showfire=true
|
|
694
|
+
}
|
|
695
|
+
if(this.selectdata.defname==='收费')
|
|
696
|
+
{
|
|
697
|
+
this.showhina=false
|
|
698
|
+
}
|
|
699
|
+
if(this.selectdata.defname==='竣工验收'||this.selectdata.f_apply_type==='验收退回')
|
|
700
|
+
{
|
|
701
|
+
this.showremark=true
|
|
702
|
+
}
|
|
703
|
+
if(this.selectdata.defname==='竣工验收'&&this.selectdata.f_apply_type!=='验收退回')
|
|
704
|
+
{
|
|
705
|
+
this.showback=true
|
|
706
|
+
}
|
|
707
|
+
if(this.selectdata.defname==='营业厅建档'&&this.selectdata.f_apply_type!=='建档暂存')
|
|
708
|
+
{
|
|
709
|
+
this.showfiling=true
|
|
710
|
+
}
|
|
711
|
+
if(this.selectdata.f_apply_type==='验收退回'||this.selectdata.f_apply_type==='建档暂存')
|
|
712
|
+
{
|
|
713
|
+
this.showcover=true
|
|
134
714
|
}
|
|
135
715
|
this.search()
|
|
136
716
|
},
|
|
@@ -142,90 +722,173 @@ export default {
|
|
|
142
722
|
this.selectedData.push(row)
|
|
143
723
|
}
|
|
144
724
|
console.log("点击选择")
|
|
145
|
-
|
|
725
|
+
console.log(this.model)
|
|
726
|
+
console.log(this.selectedData)
|
|
727
|
+
},
|
|
728
|
+
async unpass() {
|
|
729
|
+
console.log("1342244", this.selectedData[0].f_user_state)
|
|
730
|
+
for (let i = 0; i < this.selectedData.length; i++) {
|
|
731
|
+
let data={
|
|
732
|
+
code:this.selectedData[i].f_userinfo_code
|
|
733
|
+
}
|
|
734
|
+
let http = new HttpResetClass()
|
|
735
|
+
http.load('POST', 'rs/logic/batchcheck', {data:data}, {resolveMsg: null, rejectMsg: null})
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
console.log("13ef44", this.selectdata.f_process_id)
|
|
739
|
+
let http = new HttpResetClass()
|
|
740
|
+
let son =await http.load('POST', 'rs/sql/sonprocess',{
|
|
741
|
+
data: {
|
|
742
|
+
process:this.selectdata.f_process_id
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{resolveMsg: null, rejectMsg: null})
|
|
746
|
+
console.log("v2df",son.data)
|
|
747
|
+
if(son.data.length>0){
|
|
748
|
+
console.log("evv")
|
|
749
|
+
http.load('POST', 'rs/logic/recoverson', {process:son.data[0].f_process_id}, {resolveMsg: null, rejectMsg: null})
|
|
750
|
+
this.$dispatch('search')
|
|
751
|
+
}
|
|
752
|
+
else {
|
|
753
|
+
let data = {
|
|
754
|
+
start_activity: this.$workflow_vue.start_activity,
|
|
755
|
+
model: this.selectdata,
|
|
756
|
+
diff:{
|
|
757
|
+
defname:'施工',
|
|
758
|
+
process:'验收退回报建流程',
|
|
759
|
+
applytype:'验收退回',
|
|
760
|
+
actor:'R(工程部报装)'
|
|
761
|
+
},
|
|
762
|
+
loginUser: this.$login.f
|
|
763
|
+
}
|
|
764
|
+
let res = await this.$resetpost(
|
|
765
|
+
`rs/logic/mergeInitiate`,
|
|
766
|
+
data,
|
|
767
|
+
{resolveMsg: null, rejectMsg: '退回!!!'}
|
|
768
|
+
)
|
|
769
|
+
console.log("返回值", res.data)
|
|
770
|
+
console.log("返回", res)
|
|
771
|
+
this.$dispatch('search')
|
|
772
|
+
}
|
|
146
773
|
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
774
|
+
|
|
775
|
+
async pass() {
|
|
776
|
+
|
|
777
|
+
let http = new HttpResetClass()
|
|
778
|
+
let data = {
|
|
779
|
+
tablename: 't_apply',
|
|
780
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
152
781
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
782
|
+
let parentres = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
783
|
+
resolveMsg: null,
|
|
784
|
+
rejectMsg: null
|
|
785
|
+
})
|
|
786
|
+
|
|
787
|
+
let data2 = {
|
|
788
|
+
tablename: 'activityins',
|
|
789
|
+
condition: `processid='${parentres.data[0].f_parent_process_id}'`
|
|
790
|
+
}
|
|
791
|
+
let resparent = await http.load('POST', 'rs/sql/singleTable', {data: data2}, {
|
|
792
|
+
resolveMsg: null,
|
|
793
|
+
rejectMsg: null
|
|
794
|
+
})
|
|
795
|
+
//查父流程是否关闭
|
|
796
|
+
for(let i=0;i<resparent.data.length;i++) {
|
|
797
|
+
if (resparent.data[i].defname === '竣工验收' && resparent.data[i].state === '结束')
|
|
798
|
+
// let http2 = new HttpResetClass()
|
|
799
|
+
await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
|
|
800
|
+
resolveMsg: null,
|
|
801
|
+
rejectMsg: null
|
|
802
|
+
})
|
|
803
|
+
if (resparent.data[i].defname === '营业厅建档' && resparent.data[i].state === '结束')
|
|
804
|
+
// let http3 = new HttpResetClass()
|
|
805
|
+
await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
|
|
806
|
+
resolveMsg: null,
|
|
807
|
+
rejectMsg: null
|
|
808
|
+
})
|
|
809
|
+
}
|
|
810
|
+
for (let i = 0; i < this.selectedData.length; i++) {
|
|
811
|
+
let data = {
|
|
812
|
+
code: this.selectedData[i].f_userinfo_code
|
|
159
813
|
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
814
|
+
let http = new HttpResetClass()
|
|
815
|
+
http.load('POST', 'rs/logic/mergecheck', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
816
|
+
}
|
|
817
|
+
await this.search()
|
|
818
|
+
console.log("vewvvb", this.model.data)
|
|
819
|
+
if (this.model.data.length === 0) {
|
|
820
|
+
let res = await this.$resetpost(
|
|
821
|
+
`rs/logic/mergeapply`,
|
|
822
|
+
{data: this.selectdata},
|
|
823
|
+
{resolveMsg: null, rejectMsg: '终止流程!!!'}
|
|
824
|
+
)
|
|
825
|
+
console.log("返回值", res.data)
|
|
826
|
+
console.log("返回", res)
|
|
827
|
+
}
|
|
828
|
+
this.$dispatch('search')
|
|
829
|
+
|
|
830
|
+
},
|
|
831
|
+
async filing() {
|
|
832
|
+
console.log("1342244", this.selectedData[0].f_user_state)
|
|
833
|
+
for (let i = 0; i < this.selectedData.length; i++) {
|
|
834
|
+
let data={
|
|
835
|
+
code:this.selectedData[i].f_userinfo_code
|
|
836
|
+
}
|
|
837
|
+
let http = new HttpResetClass()
|
|
838
|
+
http.load('POST', 'rs/logic/batchcheck', {data:data}, {resolveMsg: null, rejectMsg: null})
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
console.log("13ef44", this.selectedData)
|
|
842
|
+
let http = new HttpResetClass()
|
|
843
|
+
let son = http.load('POST', 'rs/sql/sonprocess',{
|
|
844
|
+
data: {
|
|
845
|
+
process:this.selectdata.f_process_id
|
|
166
846
|
}
|
|
847
|
+
},
|
|
848
|
+
{resolveMsg: null, rejectMsg: null})
|
|
849
|
+
console.log("v2",son)
|
|
850
|
+
console.log("v2df",son.data)
|
|
851
|
+
if(son.f_parent_process_id){
|
|
852
|
+
http.load('POST', 'rs/logic/recoverson', {data:son.f_parent_process_id}, {resolveMsg: null, rejectMsg: null})
|
|
853
|
+
}
|
|
854
|
+
else {
|
|
855
|
+
let data = {
|
|
856
|
+
start_activity: this.$workflow_vue.start_activity,
|
|
857
|
+
model: this.selectdata,
|
|
858
|
+
diff:{
|
|
859
|
+
defname:'营业厅建档',
|
|
860
|
+
process:'建档暂存',
|
|
861
|
+
applytype:'建档暂存',
|
|
862
|
+
actor:'R(市场部报装)'
|
|
863
|
+
},
|
|
864
|
+
loginUser: this.$login.f,
|
|
167
865
|
}
|
|
866
|
+
let res = await this.$resetpost(
|
|
867
|
+
`rs/logic/mergeInitiate`,
|
|
868
|
+
data,
|
|
869
|
+
{resolveMsg: null, rejectMsg: '退回!!!'}
|
|
870
|
+
)
|
|
871
|
+
console.log("返回值", res.data)
|
|
872
|
+
console.log("返回", res)
|
|
873
|
+
this.$dispatch('search')
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
async fire (row) {
|
|
877
|
+
this.useradders = row
|
|
878
|
+
|
|
879
|
+
let http = new HttpResetClass()
|
|
880
|
+
let data = {
|
|
881
|
+
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
882
|
+
}
|
|
883
|
+
let res = await http.load('POST', 'rs/logic/getUserinfoAndFire', {data:data}, {
|
|
884
|
+
resolveMsg: null,
|
|
885
|
+
rejectMsg: null
|
|
886
|
+
})
|
|
887
|
+
this.userinfo = res.data
|
|
888
|
+
console.log("12445",this.userinfo)
|
|
889
|
+
|
|
890
|
+
this.showUserFile = true
|
|
168
891
|
},
|
|
169
|
-
// selectOne (event, row, i) {
|
|
170
|
-
// console.log('单选', event.target.checked)
|
|
171
|
-
// let index = this.model.pageIndex - 1
|
|
172
|
-
// if (!this.rowsdata[index]) {
|
|
173
|
-
// this.rowsdata[index] = []
|
|
174
|
-
// }
|
|
175
|
-
// if (!this.radio[index]) {
|
|
176
|
-
// this.radio.$set(index, [])
|
|
177
|
-
// }
|
|
178
|
-
// if (event.target.checked) {
|
|
179
|
-
// // 数据
|
|
180
|
-
// this.rowsdata[index][i] = row
|
|
181
|
-
// // 勾选
|
|
182
|
-
// this.radio[index].$set(i, true)
|
|
183
|
-
// // 判断是否全部选中
|
|
184
|
-
// var allState = true
|
|
185
|
-
// if (this.model.rows.length !== this.radio[index].length) {
|
|
186
|
-
// allState = false
|
|
187
|
-
// }
|
|
188
|
-
// for (var state of this.radio[index]) {
|
|
189
|
-
// if (!state) {
|
|
190
|
-
// allState = false
|
|
191
|
-
// }
|
|
192
|
-
// }
|
|
193
|
-
// if (allState) {
|
|
194
|
-
// this.all.$set(index, true)
|
|
195
|
-
// } else {
|
|
196
|
-
// this.all.$set(index, false)
|
|
197
|
-
// }
|
|
198
|
-
// } else {
|
|
199
|
-
// // 数据
|
|
200
|
-
// this.rowsdata[index][i] = []
|
|
201
|
-
// // 不勾选
|
|
202
|
-
// this.radio[index].$set(i, false)
|
|
203
|
-
// // 任意取消一个则全选状态设为false
|
|
204
|
-
// this.all.$set(index, false)
|
|
205
|
-
// }
|
|
206
|
-
// },
|
|
207
|
-
// selectAll () {
|
|
208
|
-
// let index = this.model.pageIndex - 1
|
|
209
|
-
// console.log('全选', this.all[index])
|
|
210
|
-
// if (!this.radio[index]) {
|
|
211
|
-
// this.radio.$set(index, [])
|
|
212
|
-
// }
|
|
213
|
-
// if (this.all[index]) {
|
|
214
|
-
// // 数据
|
|
215
|
-
// this.rowsdata[index] = Object.assign([], this.model.rows)
|
|
216
|
-
// // 勾选
|
|
217
|
-
// for (var i = 0; i < this.model.rows.length; i++) {
|
|
218
|
-
// this.radio[index].$set(i, true)
|
|
219
|
-
// }
|
|
220
|
-
// } else {
|
|
221
|
-
// // 数据
|
|
222
|
-
// this.rowsdata[index] = []
|
|
223
|
-
// // 不勾选
|
|
224
|
-
// for (var i = 0; i < this.model.rows.length; i++) {
|
|
225
|
-
// this.radio[index].$set(i, false)
|
|
226
|
-
// }
|
|
227
|
-
// }
|
|
228
|
-
// },
|
|
229
892
|
showFileModal() {
|
|
230
893
|
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
231
894
|
let item = this.selectdata.fields[i]
|
|
@@ -233,33 +896,30 @@ export default {
|
|
|
233
896
|
this.$showAlert('街道地址不能为空!!!', 'warning', 3000)
|
|
234
897
|
return
|
|
235
898
|
}
|
|
236
|
-
// if (item.label === '小区' && !item.value) {
|
|
237
|
-
// this.$showAlert('小区不能为空!!!', 'warning', 3000)
|
|
238
|
-
// return
|
|
239
|
-
// }
|
|
240
899
|
}
|
|
241
900
|
this.showFile = !this.showFile
|
|
242
901
|
},
|
|
243
902
|
async search () {
|
|
244
|
-
console.log("selectdata")
|
|
903
|
+
console.log("selectdata.f2")
|
|
245
904
|
console.log(this.selectdata)
|
|
246
|
-
if(this.selectdata.
|
|
905
|
+
if(this.selectdata.showDefnames){
|
|
247
906
|
console.log("1212")
|
|
248
|
-
this.showclean=false
|
|
249
907
|
this.showselect=false
|
|
250
908
|
this.showrecover=true
|
|
909
|
+
this.showclean=false
|
|
251
910
|
let http = new HttpResetClass()
|
|
252
911
|
let data = {
|
|
253
912
|
condition: " 1=1",
|
|
254
913
|
f_filialeid: this.$login.f.orgid,
|
|
255
|
-
f_process_id: this.selectdata.f_process_id
|
|
914
|
+
f_process_id: this.selectdata.f_process_id,
|
|
915
|
+
state:'销户'
|
|
256
916
|
}
|
|
257
917
|
let res = await http.load('POST', 'rs/sql/getStopAddress', {data:data}, {
|
|
258
918
|
resolveMsg: null,
|
|
259
919
|
rejectMsg: null
|
|
260
920
|
})
|
|
261
921
|
this.model.data = res.data
|
|
262
|
-
|
|
922
|
+
console.log("rows",this.model.data)
|
|
263
923
|
}
|
|
264
924
|
else
|
|
265
925
|
{
|
|
@@ -267,15 +927,31 @@ export default {
|
|
|
267
927
|
let data = {
|
|
268
928
|
condition: " 1=1",
|
|
269
929
|
f_filialeid: this.$login.f.orgid,
|
|
270
|
-
f_process_id: this.selectdata.f_process_id
|
|
930
|
+
f_process_id: this.selectdata.f_process_id,
|
|
271
931
|
}
|
|
272
932
|
let res = await http.load('POST', 'rs/sql/getAddressAanUserinfo', {data:data}, {
|
|
273
933
|
resolveMsg: null,
|
|
274
934
|
rejectMsg: null
|
|
275
935
|
})
|
|
276
936
|
this.model.data = res.data
|
|
937
|
+
console.log(this.selectdata)
|
|
277
938
|
console.log("modeldata")
|
|
278
939
|
console.log(this.model.data)
|
|
940
|
+
if(this.selectdata.f_apply_type==='验收退回'||this.selectdata.f_apply_type==='建档暂存') {
|
|
941
|
+
let data = {
|
|
942
|
+
condition: " 1=1",
|
|
943
|
+
f_filialeid: this.$login.f.orgid,
|
|
944
|
+
f_process_id: this.selectdata.f_parent_process_id,
|
|
945
|
+
state:'不合格'
|
|
946
|
+
}
|
|
947
|
+
let res= await http.load('POST', 'rs/sql/getStopAddress', {data: data}, {
|
|
948
|
+
resolveMsg: null,
|
|
949
|
+
rejectMsg: null
|
|
950
|
+
})
|
|
951
|
+
this.model.data = res.data
|
|
952
|
+
|
|
953
|
+
console.log("vfgvb",this.model.data)
|
|
954
|
+
}
|
|
279
955
|
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
280
956
|
if (this.selectdata.fields[i].label === '户数') {
|
|
281
957
|
this.selectdata.fields[i].value = res.data.length
|
|
@@ -283,6 +959,40 @@ export default {
|
|
|
283
959
|
}
|
|
284
960
|
}
|
|
285
961
|
},
|
|
962
|
+
async backremark(row){
|
|
963
|
+
this.showbackremark=true
|
|
964
|
+
this.remark=row
|
|
965
|
+
let http = new HttpResetClass()
|
|
966
|
+
let data = {
|
|
967
|
+
tablename: 't_exploration_comments',
|
|
968
|
+
condition: `f_userinfo_id=${this.remark.f_userinfo_id}`
|
|
969
|
+
}
|
|
970
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
971
|
+
resolveMsg: null,
|
|
972
|
+
rejectMsg: '补充协议查询失败'
|
|
973
|
+
})
|
|
974
|
+
console.log("g4b",res.data)
|
|
975
|
+
this.f_comments =res.data[0].f_comments
|
|
976
|
+
console.log("d2fg",this.f_comments)
|
|
977
|
+
},
|
|
978
|
+
async confirm (row) {
|
|
979
|
+
// 保存此备注信息
|
|
980
|
+
console.log("v3b4",row)
|
|
981
|
+
let http = new HttpResetClass()
|
|
982
|
+
let data = {
|
|
983
|
+
f_userinfo_id: this.remark.f_userinfo_id,
|
|
984
|
+
f_comments: this.f_comments,
|
|
985
|
+
f_operator: this.$login.f.name
|
|
986
|
+
}
|
|
987
|
+
await http.load('POST', 'rs/logic/updatecomment', {data: data}, {
|
|
988
|
+
resolveMsg: '添加退回原因成功',
|
|
989
|
+
rejectMsg: '退回原因报错'
|
|
990
|
+
})
|
|
991
|
+
this.cancel()
|
|
992
|
+
},
|
|
993
|
+
cancel() {
|
|
994
|
+
this.showbackremark = false;
|
|
995
|
+
},
|
|
286
996
|
// 关闭文件上传对话框
|
|
287
997
|
closeFile() {
|
|
288
998
|
this.showFile = false
|
|
@@ -290,7 +1000,19 @@ export default {
|
|
|
290
1000
|
this.$refs.file.$el.querySelector('input').value = ''
|
|
291
1001
|
this.search()
|
|
292
1002
|
},
|
|
293
|
-
|
|
1003
|
+
closeModal() {
|
|
1004
|
+
console.log("1213")
|
|
1005
|
+
this.showUserFile = false
|
|
1006
|
+
this.useradders = null
|
|
1007
|
+
this.userinfo = null
|
|
1008
|
+
this.search()
|
|
1009
|
+
console.log("145")
|
|
1010
|
+
},
|
|
1011
|
+
async saveUserFile() {
|
|
1012
|
+
this.showUserFile = false
|
|
1013
|
+
console.log("987")
|
|
1014
|
+
},
|
|
1015
|
+
async cleanupload(row) {
|
|
294
1016
|
this.record=row
|
|
295
1017
|
let http = new HttpResetClass()
|
|
296
1018
|
let data = {
|
|
@@ -311,7 +1033,7 @@ export default {
|
|
|
311
1033
|
this.$showAlert(e.data, 'danger', 3000)
|
|
312
1034
|
}
|
|
313
1035
|
this.search()
|
|
314
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
1036
|
+
// this.$dispatch('breakControl', this.selectdata)
|
|
315
1037
|
},
|
|
316
1038
|
recoverupload(row) {
|
|
317
1039
|
this.record=row
|
|
@@ -333,6 +1055,15 @@ export default {
|
|
|
333
1055
|
this.$showAlert(e.data, 'danger', 3000)
|
|
334
1056
|
}
|
|
335
1057
|
this.search()
|
|
1058
|
+
// this.$dispatch('breakControl', this.selectdata)
|
|
1059
|
+
},
|
|
1060
|
+
async unqualcheck(row) {
|
|
1061
|
+
if (isEmpty(this.cv.f_void_remarks)) {
|
|
1062
|
+
this.$showAlert('请输入不合格原因!!!', 'warning', 3000)
|
|
1063
|
+
return
|
|
1064
|
+
}
|
|
1065
|
+
this.record=row
|
|
1066
|
+
this.$dispatch('unpass',this.selectedData)
|
|
336
1067
|
this.$dispatch('breakControl', this.selectdata)
|
|
337
1068
|
},
|
|
338
1069
|
},
|
|
@@ -362,6 +1093,14 @@ export default {
|
|
|
362
1093
|
return this.selectedData.includes(row)
|
|
363
1094
|
}
|
|
364
1095
|
|
|
1096
|
+
},
|
|
1097
|
+
getCondition () {
|
|
1098
|
+
let data = {
|
|
1099
|
+
condition: " 1=1",
|
|
1100
|
+
f_filialeid: this.$login.f.orgid,
|
|
1101
|
+
f_process_id: this.selectdata.f_process_id,
|
|
1102
|
+
}
|
|
1103
|
+
return data
|
|
365
1104
|
}
|
|
366
1105
|
},
|
|
367
1106
|
watch: {
|
|
@@ -375,7 +1114,6 @@ export default {
|
|
|
375
1114
|
.head-but{
|
|
376
1115
|
margin-left: 5px;
|
|
377
1116
|
height: 34px;
|
|
378
|
-
/*background-color: #6aa6e2;*/
|
|
379
1117
|
border-radius: 4px;
|
|
380
1118
|
font-family: PingFang;
|
|
381
1119
|
color: #ffffff;
|