apply-clients 4.1.68 → 4.1.69

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.
@@ -0,0 +1,409 @@
1
+ <template>
2
+ <div class="auto">
3
+ <modal :show.sync="show_fire" width="80%" title="点火基本信息" v-ref:modal large backdrop="false">
4
+ <article slot="modal-body" class="modal-body" style="height: auto">
5
+ <div class="flex-row flex-deviceinfo">
6
+ <div class="panel panel-primary col-sm-12 datapanel" >
7
+ <div style="margin-top: 2%">
8
+ <img style="margin-top: -2px;margin-left: 2px" src="../../../../../static/images/lefticon/矩形1183.png">
9
+ <a style="font-size: 16px;font-weight: 500;">档案信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
10
+ </div>
11
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
12
+ <div class="col-sm-3 form-group" >
13
+ <label class="font_normal_body">&emsp;&emsp;&emsp;客户姓名</label>
14
+ <input type="text" class="input-underline" style="width:60%" v-model="baseinfo.f_user_name" readonly
15
+ placeholder='客户姓名' >
16
+ </div>
17
+ <div class="col-sm-3 form-group" >
18
+ <label class="font_normal_body">&emsp;&emsp;&emsp;客户电话</label>
19
+ <input type="text" class="input-underline" style="width:60%" v-model="baseinfo.f_user_phone" readonly
20
+ placeholder='客户电话' >
21
+ </div>
22
+ <div class="col-sm-6 form-group" >
23
+ <label class="font_normal_body">&emsp;&emsp;&emsp;客户地址</label>
24
+ <input type="text" class="input-underline" style="width:60%" v-model="addressinfo.f_address" readonly
25
+ placeholder='客户地址' >
26
+ </div>
27
+ </div>
28
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
29
+ <div class="col-sm-3 form-group" >
30
+ <label class="font_normal_body">&emsp;&emsp;&emsp;表&emsp;&emsp;号</label>
31
+ <input type="text" class="input-underline" style="width:60%" v-model="meter.f_meternumber" readonly
32
+ placeholder='表号' >
33
+ </div>
34
+ <div class="col-sm-3 form-group" >
35
+ <label class="font_normal_body">&emsp;&emsp;&emsp;卡&emsp;&emsp;号</label>
36
+ <input type="text" class="input-underline" style="width:60%" v-model="meter.f_card_id" readonly
37
+ placeholder='卡号' >
38
+ </div>
39
+ <div class="col-sm-3 form-group" >
40
+ <label class="font_normal_body">&emsp;&emsp;&emsp;表&nbsp;封&nbsp;号&nbsp;</label>
41
+ <input type="text" class="input-underline" style="width:60%" v-model="meter.f_metertitles" readonly
42
+ placeholder='表封号' >
43
+ </div>
44
+ <div class="col-sm-3 form-group" >
45
+ <label class="font_normal_body">&emsp;&emsp;&emsp;气表品牌</label>
46
+ <input type="text" class="input-underline" style="width:60%"
47
+ v-model="meter.gasbrand.length>0?meter.gasbrand[0].f_meter_brand:null" readonly
48
+ placeholder='气表品牌' >
49
+ </div>
50
+ </div>
51
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
52
+ <div class="col-sm-3 form-group" >
53
+ <label class="font_normal_body">&emsp;&emsp;&emsp;气表型号</label>
54
+ <input type="text" class="input-underline" style="width:60%"
55
+ readonly
56
+ v-model="meter.gasmodel.length>0?(meter.gasmodel[0].f_meter_style+meter.gasmodel[0].f_type):null"
57
+ placeholder='气表型号' >
58
+ </div>
59
+ <div class="col-sm-3 form-group" >
60
+ <label class="font_normal_body">&emsp;&emsp;&emsp;表&emsp;&emsp;向</label>
61
+ <input type="text" class="input-underline" style="width:60%" v-model="meter.f_aroundmeter" readonly
62
+ placeholder='表向' >
63
+ </div>
64
+ <div class="col-sm-3 form-group" >
65
+ <label class="font_normal_body">&emsp;&emsp;&emsp;表&nbsp;前&nbsp;阀&nbsp;</label>
66
+ <input type="text" class="input-underline" style="width:60%" v-model="meter.f_bqf_type" readonly
67
+ placeholder='表前阀' >
68
+ </div>
69
+ <div class="col-sm-3 form-group" >
70
+ <label class="font_normal_body">&emsp;&emsp;&emsp;报&nbsp;警&nbsp;器&nbsp;</label>
71
+ <input type="text" class="input-underline" style="width:60%" v-model="meter.f_alarm_code" readonly
72
+ placeholder='报警器' >
73
+ </div>
74
+ </div>
75
+
76
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
77
+ <div class="col-sm-3 form-group" >
78
+ <label class="font_normal_body">&emsp;&emsp;流量计品牌</label>
79
+ <input type="text" class="input-underline" style="width:60%"
80
+ readonly
81
+ v-model="meter.f_flowmeter_brand"
82
+ placeholder='流量计品牌' >
83
+ </div>
84
+ <div class="col-sm-3 form-group" >
85
+ <label class="font_normal_body">&emsp;&emsp;流量计型号</label>
86
+ <input type="text" class="input-underline" style="width:60%"
87
+ readonly
88
+ v-model="meter.f_flowmeter_model"
89
+ placeholder='流量计型号' >
90
+ </div>
91
+ <div class="col-sm-3 form-group" >
92
+ <label class="font_normal_body">流量计出厂编号</label>
93
+ <input type="text" class="input-underline" style="width:60%"
94
+ readonly
95
+ v-model="meter.f_flowmeter_factory_num"
96
+ placeholder='流量计出厂编号' >
97
+ </div>
98
+ <div class="col-sm-3 form-group" >
99
+ <label class="font_normal_body">&emsp;流量计表封号</label>
100
+ <input type="text" class="input-underline" style="width:60%"
101
+ readonly
102
+ v-model="meter.f_llj_metertitles"
103
+ placeholder='流量计表封号' >
104
+ </div>
105
+ </div>
106
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
107
+ <div class="col-sm-3 form-group" >
108
+ <label class="font_normal_body">&emsp;&emsp;流量计类型</label>
109
+ <input type="text" class="input-underline" style="width:60%"
110
+ readonly
111
+ v-model="meter.f_llj_type"
112
+ placeholder='流量计类型' >
113
+ </div>
114
+ </div>
115
+ </div>
116
+ <!-- </div>-->
117
+
118
+
119
+ <div class="panel panel-primary col-sm-12 datapanel" v-if="meter.f_user_type[0]=='民用'">
120
+ <!-- <avatar-upload :img-src.sync="row.img.content" :filename.sync="row.img.filename"></avatar-upload>-->
121
+ <form class="form-horizontal select-overspread " style="flex: 1;">
122
+ <div style="margin-top: 2%">
123
+ <img style="margin-top: -2px;margin-left: 2px" src="../../../../../static/images/lefticon/矩形1183.png">
124
+ <a style="font-size: 16px;font-weight: 500;">民用点火信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
125
+ </div>
126
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
127
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
128
+ <label class="font_normal_body">&emsp;&emsp;&emsp;镀锌管&nbsp;&nbsp;&nbsp;</label>
129
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_galvanize_pipe"
130
+ placeholder='镀锌管' >
131
+ </div>
132
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
133
+ <label class="font_normal_body">&emsp;&emsp;&emsp;三&emsp;通&emsp;</label>
134
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_tee"
135
+ placeholder='三通' >
136
+ </div>
137
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
138
+ <label class="font_normal_body">&emsp;&emsp;&emsp;对&emsp;丝&emsp;</label>
139
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_nipple"
140
+ placeholder='对丝' >
141
+ </div>
142
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
143
+ <label class="font_normal_body">&emsp;&emsp;&emsp;弯&emsp;头&emsp;</label>
144
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_elbow"
145
+ placeholder='弯头' >
146
+ </div>
147
+ </div>
148
+ <div class="row auto" style="margin-left: 10px;">
149
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
150
+ <label class="font_normal_body">&emsp;&emsp;&emsp;管&emsp;卡&emsp;</label>
151
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_pipe_strap"
152
+ placeholder='管卡' >
153
+ </div>
154
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
155
+ <label class="font_normal_body">&emsp;&emsp;&emsp;灶前阀&emsp;</label>
156
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_zqf"
157
+ placeholder='灶前阀' >
158
+ </div>
159
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
160
+ <label class="font_normal_body">&emsp;&emsp;&emsp;胶&emsp;管&emsp;</label>
161
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_sebific_duct"
162
+ placeholder='胶管' >
163
+ </div>
164
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
165
+ <label class="font_normal_body">&emsp;&emsp;&emsp;自闭阀&emsp;</label>
166
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_zbf"
167
+ placeholder='自闭阀' >
168
+ </div>
169
+ </div>
170
+ <div class="row auto" style="margin-left: 10px;">
171
+
172
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
173
+ <label class="font_normal_body">&emsp;&emsp;&emsp;燃气具&emsp;</label>
174
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_gas_appliance"
175
+ placeholder='燃气具' >
176
+ </div>
177
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
178
+ <label class="font_normal_body">&emsp;&emsp;&emsp;热水器&emsp;</label>
179
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_geyser"
180
+ placeholder='热水器' >
181
+ </div>
182
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
183
+ <label class="font_normal_body">&emsp;&emsp;&emsp;壁挂锅炉</label>
184
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_bgl"
185
+ placeholder='壁挂锅炉' >
186
+ </div>
187
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
188
+ <label class="font_normal_body">&emsp;&emsp;&emsp;型&emsp;号&emsp;</label>
189
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_bgl_style"
190
+ placeholder='壁挂锅炉型号' >
191
+ </div>
192
+ </div>
193
+ <div class="row auto" style="margin-left: 10px;">
194
+ <div class="col-sm-3 form-group" >
195
+ <label class="font_normal_body">&emsp;&emsp;&emsp;交付日期</label>
196
+ <datepicker placeholder="交付日期" style="width: 57%"
197
+ v-model="fireinfo.f_deliver_date"
198
+ :value.sync="fireinfo.f_deliver_date"
199
+ :format="'yyyy-MM-dd HH:mm:ss'">
200
+ </datepicker>
201
+ </div>
202
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
203
+ <label class="font_normal_body">&emsp;&emsp;&emsp;点火人员</label>
204
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_lgniter"
205
+ placeholder='点火人员' >
206
+ </div>
207
+ <div class="col-sm-12 form-group" >
208
+ <label class="font_normal_body">&emsp;&emsp;&emsp;检验结论</label>
209
+ <input type="text" class="input_search" style="width:80%" v-model="fireinfo.f_fic"
210
+ placeholder='设施检验结论' >
211
+ </div>
212
+ <div class="col-sm-12 form-group" >
213
+ <label class="font_normal_body">&emsp;&emsp;&emsp;备&emsp;&emsp;注</label>
214
+ <input type="text" class="input_search" style="width:80%" v-model="fireinfo.f_comments"
215
+ placeholder='备注' >
216
+ </div>
217
+ </div>
218
+ </form>
219
+ </div>
220
+ <div class="panel panel-primary col-sm-12 datapanel" v-if="meter.f_user_type[0]!='民用'">
221
+ <!-- <avatar-upload :img-src.sync="row.img.content" :filename.sync="row.img.filename"></avatar-upload>-->
222
+ <form class="form-horizontal select-overspread " style="flex: 1;">
223
+ <div style="margin-top: 2%">
224
+ <img style="margin-top: -2px;margin-left: 2px" src="../../../../../static/images/lefticon/矩形1183.png">
225
+ <a style="font-size: 16px;font-weight: 500;">非民用点火基本信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
226
+ </div>
227
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
228
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
229
+ <label class="font_normal_body">&emsp;&emsp;探测器数量</label>
230
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_detector_number"
231
+ placeholder='探测器数量' >
232
+ </div>
233
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
234
+ <label class="font_normal_body">&emsp;&emsp;气表品牌</label>
235
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_fire_gasbrand"
236
+ placeholder='气表品牌' >
237
+ </div>
238
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
239
+ <label class="font_normal_body">&emsp;控制器品牌</label>
240
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_control_brand"
241
+ placeholder='控制器品牌' >
242
+ </div>
243
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
244
+ <label class="font_normal_body">&emsp;控制器型号</label>
245
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_control_model"
246
+ placeholder='控制器型号' >
247
+ </div>
248
+ </div>
249
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
250
+
251
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
252
+ <label class="font_normal_body">控制器出厂日期</label>
253
+ <datepicker placeholder="控制器出厂日期" style="width: 60%"
254
+ v-model="fireinfo.f_control_date"
255
+ :value.sync="fireinfo.f_control_date"
256
+ :format="'yyyy-MM-dd HH:mm:ss'">
257
+ </datepicker>
258
+ </div>
259
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
260
+ <label class="font_normal_body">控制器表编码</label>
261
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_control_code"
262
+ placeholder='控制器表编码' >
263
+ </div>
264
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
265
+ <label class="font_normal_body">控制器表封号</label>
266
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_control_number"
267
+ placeholder='控制器表封号' >
268
+ </div>
269
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
270
+ <label class="font_normal_body">&emsp;燃气具类型</label>
271
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_appliance_type"
272
+ placeholder='燃气具类型' >
273
+ </div>
274
+ </div>
275
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
276
+
277
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
278
+ <label class="font_normal_body">&emsp;&emsp;燃气具品牌</label>
279
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_appliance_brand"
280
+ placeholder='燃气具品牌' >
281
+ </div>
282
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
283
+ <label class="font_normal_body">&emsp;燃气具型号</label>
284
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_appliance_model"
285
+ placeholder='燃气具型号' >
286
+ </div>
287
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
288
+ <label class="font_normal_body">&emsp;报警箱信息</label>
289
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_alarm_info"
290
+ placeholder='报警控制箱信息' >
291
+ </div>
292
+ <div class="col-sm-3 form-group" >
293
+ <label class="font_normal_body">&emsp;&emsp;交付日期</label>
294
+ <datepicker placeholder="交付日期" style="width: 60%"
295
+ v-model="fireinfo.f_deliver_date"
296
+ :value.sync="fireinfo.f_deliver_date"
297
+ :format="'yyyy-MM-dd HH:mm:ss'">
298
+ </datepicker>
299
+ </div>
300
+ </div>
301
+ <div class="row auto" style="margin-top: 10px;margin-left: 10px;">
302
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
303
+ <label class="font_normal_body">&emsp;&emsp;&emsp;通讯方式</label>
304
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_contact_method"
305
+ placeholder='通讯方式' >
306
+ </div>
307
+ <div class="col-sm-3 form-group" style="padding-right: 5px;">
308
+ <label class="font_normal_body">&emsp;&emsp;点火人员</label>
309
+ <input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_lgniter"
310
+ placeholder='点火人员' >
311
+ </div>
312
+ <div class="col-sm-12 form-group" >
313
+ <label class="font_normal_body">&emsp;&emsp;&emsp;检验结论</label>
314
+ <input type="text" class="input_search" style="width:90%" v-model="fireinfo.f_fic"
315
+ placeholder='设施检验结论' >
316
+ </div>
317
+ <div class="col-sm-12 form-group" >
318
+ <label class="font_normal_body">&emsp;&emsp;&emsp;备&emsp;&emsp;注</label>
319
+ <input type="text" class="input_search" style="width:80%" v-model="fireinfo.f_comments"
320
+ placeholder='备注' >
321
+ </div>
322
+ </div>
323
+ </form>
324
+ </div>
325
+ </div>
326
+
327
+ </article>
328
+
329
+ <footer slot="modal-footer" class="modal-footer">
330
+ <button type="button" class="btn btn-success" @click='confirm()'>确定</button>
331
+ <button type="button" class="btn btn-default" @click='cancel()'>取消</button>
332
+ </footer>
333
+ </modal>
334
+ </div>
335
+
336
+ </template>
337
+
338
+ <script>
339
+ // import moment from 'moment'
340
+ // import * as Util from '../../Util'
341
+ export default {
342
+ title: '表具设备信息',
343
+ data () {
344
+ return {
345
+ showTable: false,
346
+ // imgdelete: '/images/mainicon/deletedevice.png',
347
+ // imgadd: '/images/mainicon/adddevice.png',
348
+ f_service_life: 0,
349
+ fireinfoShow: true,
350
+ show_fire: true
351
+ }
352
+ },
353
+ props: ['fireinfo', 'baseinfo', 'addressinfo', 'meter', 'showFilePage'],
354
+ // props: {
355
+ // fireinfo: {
356
+ // type: Object
357
+ // },
358
+ // baseinfo: {},
359
+ // addressinfo: {},
360
+ // meter: {},
361
+ // show_fire: {
362
+ // type: Boolean,
363
+ // default: false
364
+ // },
365
+ // showFilePage: {
366
+ // type: Boolean,
367
+ // default: false
368
+ // }
369
+ // },
370
+ computed: {
371
+ },
372
+ methods: {
373
+ showTableBtn () {
374
+ this.showTable = !this.showTable
375
+ console.log('点火信息???', this.fireinfo)
376
+ },
377
+ confirm () {
378
+ console.log('传入数据:')
379
+ },
380
+ cancel () {
381
+ // this.show_fire = false
382
+ this.showFilePage = false
383
+ }
384
+ },
385
+ watch: {
386
+ 'fireinfo' (val) {
387
+ }
388
+ }
389
+ }
390
+ </script>
391
+ <style lang="less">
392
+ .flex-deviceinfo {
393
+ padding: 0px 20px;
394
+ justify-content: space-between;
395
+ height: auto;
396
+ flex-wrap: wrap;
397
+ }
398
+ .input-underline {
399
+ border-bottom: 1px solid #dbdbdb;
400
+ border-top: 0px;
401
+ border-left: 0px;
402
+ border-right: 0px;
403
+ }
404
+ .flex-two-info {
405
+ margin-bottom: 10px;
406
+ align-items: center;
407
+ width: 48%;
408
+ }
409
+ </style>
@@ -1,5 +1,24 @@
1
1
  <template>
2
2
  <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <div class="auto" style="overflow:auto;margin: 15px 0 0 15px;">
4
+ <div class="form-inline auto col-sm-12">
5
+ <div class="row col-sm-12">
6
+ <div class="form-group col-sm-3">
7
+ <label class=" control-label" >客户姓名</label>
8
+ <input type="text" class="input_search" placeholder='客户姓名' v-model="query.f_user_name">
9
+ </div>
10
+ <div class="form-group col-sm-3">
11
+ <label class=" control-label" >客户电话</label>
12
+ <input type="text" class="input_search" placeholder='客户电话' v-model="query.f_user_phone">
13
+ </div>
14
+ <div class="form-group col-sm-5" >
15
+ <!-- <button class="button_search button_spacing" @click="search()">查询</button>-->
16
+ <button type="button" class="btn btn-default" @click="search()">查询</button>
17
+ <button type="button" class="btn btn-default" @click="clear()">清空</button>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
3
22
  <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
23
  <template partial='head'>
5
24
  <tr>
@@ -10,7 +29,7 @@
10
29
  <th class="textNoLineBreak">街道</th>
11
30
  <th class="textNoLineBreak">小区</th>
12
31
  <th class="textNoLineBreak">详细地址</th>
13
- <th class="textNoLineBreak">地址状态</th>
32
+ <th class="textNoLineBreak">用户状态</th>
14
33
  <th class="textNoLineBreak">客户编号</th>
15
34
  <th class="textNoLineBreak">用户姓名</th>
16
35
  <th class="textNoLineBreak">电话</th>
@@ -18,9 +37,12 @@
18
37
  <th class="textNoLineBreak">证件号码</th>
19
38
  <th class="textNoLineBreak">时间</th>
20
39
  <th v-if="$parent.$parent.showremark" class="textNoLineBreak">退回理由</th>
40
+ <th v-if="$parent.$parent.signReason" class="textNoLineBreak">标记原因</th>
21
41
  <th class="textNoLineBreak">
22
42
  <button v-if="$parent.$parent.showback"type="button" class="btn btn-info head-but"
23
43
  @click="$parent.$parent.unpass()">退回</button>
44
+ <button v-if="$parent.$parent.void"type="button" class="btn btn-info head-but"
45
+ @click="$parent.$parent.voidFunction()">标记</button>
24
46
  <button v-if="$parent.$parent.showcover"type="button" class="btn btn-info head-but"
25
47
  @click="$parent.$parent.pass()">恢复</button>
26
48
  <!-- <button v-if="$parent.$parent.showfiling"type="button" class="btn btn-info head-but"-->
@@ -68,7 +90,7 @@
68
90
  <nobr>{{row.f_address}}</nobr>
69
91
  </td>
70
92
  <td style="text-align: center;" @click="$parent.$parent.selectOne(row)">
71
- <nobr>{{row.f_address_state}}</nobr>
93
+ <nobr>{{row.f_user_state}}</nobr>
72
94
  </td>
73
95
  <td style="text-align: center;" @click="$parent.$parent.selectOne(row)">
74
96
  <nobr>{{row.f_userinfo_code}}</nobr>
@@ -93,6 +115,9 @@
93
115
 
94
116
  <button class="button_new button_spacing" @click.prevent="$parent.$parent.backremark(row)">退回原因</button>
95
117
  </td>
118
+ <td v-if="$parent.$parent.signReason" style="text-align: center;">
119
+ <button class="button_new button_spacing" @click.prevent="$parent.$parent.signremark(row)">标记原因</button>
120
+ </td>
96
121
  <td style="text-align: center;">
97
122
  <button v-if="$parent.$parent.showclean" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.cleanupload(row)">删除</button>
98
123
  <button v-if="$parent.$parent.showrecover" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.recoverupload(row)">恢复</button>
@@ -124,6 +149,29 @@
124
149
  <button type="button" class="btn btn-default" @click='cancel()'>取消</button>
125
150
  </footer>
126
151
  </modal>
152
+ <!-- 标记原因 -->
153
+ <modal :show.sync="signReasonPage" v-ref:modal large backdrop="false">
154
+ <header slot="modal-header" class="modal-header">
155
+ <h3 style="color:black" class="modal-title">标记原因</h3>
156
+ </header>
157
+ <article slot="modal-body" class="modal-body">
158
+ <div class="auto">
159
+ <form class="form-horizontal">
160
+ <div class="row">
161
+ <div class="col-sm-12 form-group form-input-group" >
162
+ <label class="control-label">原因</label>
163
+ <textarea class="form-control" v-model=f_comments placeholder="请添加原因" :disabled="!signReasonPage"></textarea>
164
+ </div>
165
+ </div>
166
+ </form>
167
+ </div>
168
+ </article>
169
+ <footer slot="modal-footer" class="modal-footer">
170
+ <button type="button" class="btn btn-success" @click='confirmPage()'>确定</button>
171
+ <button type="button" class="btn btn-default" @click='cancelPage()'>取消</button>
172
+ </footer>
173
+ </modal>
174
+
127
175
  <modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :backdrop="false" title="点火信息">
128
176
  <header slot="modal-header" class="modal-header">
129
177
  <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
@@ -642,18 +690,22 @@ export default {
642
690
  model: {
643
691
  data: null
644
692
  },
693
+ query: {},//查询数据
645
694
  selectedData:[],
646
695
  showselect:false, //checkbox按钮
647
696
  showclean:false, //删除
648
697
  showrecover:false, //恢复
649
698
  showUserFile:false, //点火信息表
650
699
  showback:false,//退回
700
+ void:false,//作废
651
701
  showfiling:false,//退回
652
702
  showcover:false,//恢复退回数据
653
703
  showbackremark:false,//退回界面
704
+ signReasonPage: false,//标记原因界面
654
705
  f_comments:'',
655
706
  showhina:true, //导入
656
707
  showremark:false,
708
+ signReason: false,//标记原因
657
709
  showfire:false, //点火按钮
658
710
  userinfo:{},
659
711
  showreason:false,
@@ -676,13 +728,16 @@ export default {
676
728
  "f_credentials": "证件类型",
677
729
  "f_idnumber": "证件号码",
678
730
  "f_people_num": "人口数"
679
- }
731
+ },
732
+ condition: "1 = 1"
680
733
  }
681
734
  },
682
735
  ready () {
683
- if(this.selectdata.defname==='竣工验收'||this.selectdata.defname==='营业厅建档'||this.selectdata.f_apply_type==='验收退回'&&this.selectdata.f_apply_type!=='工商户报建')
736
+ if(this.selectdata.f_apply_type!=='工商户报建')
684
737
  {
685
738
  this.showselect=true
739
+ this.void = true
740
+ this.signReason = true
686
741
  }
687
742
  if(this.selectdata.defname==='报建登记')
688
743
  {
@@ -725,6 +780,24 @@ export default {
725
780
  console.log(this.model)
726
781
  console.log(this.selectedData)
727
782
  },
783
+ voidFunction() {
784
+ let data = {
785
+ userData: this.selectedData,
786
+ userType: "标记"
787
+ }
788
+ this.$showMessage('确认标记吗?', ['confirm', 'cancel']).then(
789
+ (response) => {
790
+ if (response === 'confirm') {
791
+ this.$resetpost('rs/logic/updateUserState', {data: data}, {resolveMsg: '标记成功', rejectMsg: '标记失败'})
792
+ .then((res) => {
793
+ // this.$showMessage("作废成功!")
794
+ this.search()
795
+ })
796
+ } else if (response === 'cancel') {
797
+ this.$dispatch('cancel')
798
+ }
799
+ })
800
+ },
728
801
  async unpass() {
729
802
  console.log("1342244", this.selectedData[0].f_user_state)
730
803
  for (let i = 0; i < this.selectedData.length; i++) {
@@ -899,7 +972,23 @@ export default {
899
972
  }
900
973
  this.showFile = !this.showFile
901
974
  },
975
+ async clear() {
976
+ this.query = {}
977
+ this.condition = "1 = 1"
978
+ },
979
+ conditionData() {
980
+ if (this.query.f_user_name && !this.query.f_user_phone) {
981
+ this.condition = "f_user_name = '" + this.query.f_user_name + "'"
982
+ }
983
+ if (this.query.f_user_phone && !this.query.f_user_name) {
984
+ this.condition = "f_user_phone = '" + this.query.f_user_phone + "'"
985
+ }
986
+ if (this.query.f_user_name && this.query.f_user_phone) {
987
+ this.condition = "f_user_name = '" + this.query.f_user_name + "'" + " and f_user_phone = '" + this.query.f_user_phone + "'"
988
+ }
989
+ },
902
990
  async search () {
991
+ this.conditionData()
903
992
  console.log("selectdata.f2")
904
993
  console.log(this.selectdata)
905
994
  if(this.selectdata.showDefnames){
@@ -909,7 +998,7 @@ export default {
909
998
  this.showclean=false
910
999
  let http = new HttpResetClass()
911
1000
  let data = {
912
- condition: " 1=1",
1001
+ condition: this.condition,
913
1002
  f_filialeid: this.$login.f.orgid,
914
1003
  f_process_id: this.selectdata.f_process_id,
915
1004
  state:'销户'
@@ -925,7 +1014,7 @@ export default {
925
1014
  {
926
1015
  let http = new HttpResetClass()
927
1016
  let data = {
928
- condition: " 1=1",
1017
+ condition: this.condition,
929
1018
  f_filialeid: this.$login.f.orgid,
930
1019
  f_process_id: this.selectdata.f_process_id,
931
1020
  }
@@ -959,6 +1048,11 @@ export default {
959
1048
  }
960
1049
  }
961
1050
  },
1051
+ //标记原因
1052
+ signremark(row) {
1053
+ this.signReasonPage = true
1054
+ this.remark = row
1055
+ },
962
1056
  async backremark(row){
963
1057
  this.showbackremark=true
964
1058
  this.remark=row
@@ -990,9 +1084,27 @@ export default {
990
1084
  })
991
1085
  this.cancel()
992
1086
  },
1087
+ async confirmPage() {
1088
+ // 保存此备注信息
1089
+ console.log("备注信息:",this.f_comments,"用户id:",this.remark.f_userinfo_id)
1090
+ let http = new HttpResetClass()
1091
+ let data = {
1092
+ userType: "原因",
1093
+ f_comments: this.f_comments,
1094
+ f_userinfo_id: this.remark.f_userinfo_id
1095
+ }
1096
+ await http.load('POST', 'rs/logic/updateUserState', {data: data}, {
1097
+ resolveMsg: '添加成功',
1098
+ rejectMsg: '添加错误'
1099
+ })
1100
+ this.cancelPage()
1101
+ },
993
1102
  cancel() {
994
1103
  this.showbackremark = false;
995
1104
  },
1105
+ cancelPage() {
1106
+ this.signReasonPage = false
1107
+ },
996
1108
  // 关闭文件上传对话框
997
1109
  closeFile() {
998
1110
  this.showFile = false