apply-clients 3.5.5-75 → 3.5.5-76
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 +6 -2
- package/package.json +2 -2
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -497
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -8,10 +8,14 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://
|
|
12
|
-
var applyinstall = 'http://
|
|
11
|
+
var ldap = 'http://113.219.4.57:31467'
|
|
12
|
+
var applyinstall = 'http://113.219.4.57:31467'
|
|
13
13
|
|
|
14
14
|
var proxyTable = {
|
|
15
|
+
'/api': {
|
|
16
|
+
target: ldap,
|
|
17
|
+
changeOrigin: true
|
|
18
|
+
},
|
|
15
19
|
'/rs/logic/getSaleInitData': {
|
|
16
20
|
target: ldap,
|
|
17
21
|
changeOrigin: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.5.5-
|
|
3
|
+
"version": "3.5.5-76",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"sinon-chai": "^2.8.0",
|
|
97
97
|
"style": "0.0.3",
|
|
98
98
|
"style-loader": "^0.20.3",
|
|
99
|
-
"system-clients": "
|
|
99
|
+
"system-clients": "4.0.5",
|
|
100
100
|
"system-phone": "1.2.80-49",
|
|
101
101
|
"url-loader": "^0.5.7",
|
|
102
102
|
"vue-client": "1.25.33",
|
|
@@ -1,497 +1,523 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-3">
|
|
8
|
-
<label class="font_normal_body">客户名称:</label>
|
|
9
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
10
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="form-group col-sm-3">
|
|
13
|
-
<label class="font_normal_body">组织机构:</label>
|
|
14
|
-
<res-select
|
|
15
|
-
restype='organization'
|
|
16
|
-
:initresid='$parent.$parent.curorgid'
|
|
17
|
-
@res-select="$parent.$parent.getorg"
|
|
18
|
-
is-mul="false"
|
|
19
|
-
></res-select>
|
|
20
|
-
</div>
|
|
21
|
-
<!-- <div class="form-group col-sm-3">-->
|
|
22
|
-
<!-- <label class="font_normal_body">工程编号:</label>-->
|
|
23
|
-
<!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
|
|
24
|
-
<!-- v-on:keyup.enter="$parent.$parent.search()"-->
|
|
25
|
-
<!-- condition="u.f_apply_num = '{}'">-->
|
|
26
|
-
<!-- </div>-->
|
|
27
|
-
<div class="form-group col-sm-3 button-range">
|
|
28
|
-
<a type="button" class="button_new button_spacing" v-if="$parent.$parent.projectStart"
|
|
29
|
-
href="/apply/download/excel/散户报装模板.xlsx" download>模板下载</a>
|
|
30
|
-
<button class="button_new button_spacing" style="width: max-content"
|
|
31
|
-
v-if="$parent.$parent.projectStart"
|
|
32
|
-
@click="$parent.$parent.showFile = !$parent.$parent.showFile">批量散户导入</button>
|
|
33
|
-
<button class="button_new button_spacing" style="width: max-content"
|
|
34
|
-
v-if="$parent.$parent.projectStart"
|
|
35
|
-
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
36
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
37
|
-
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
38
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
39
|
-
<div
|
|
40
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
41
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
42
|
-
class="button_spacing"
|
|
43
|
-
style="float: right">
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
-
<!-- <div class="form-group col-sm-3">-->
|
|
49
|
-
<!-- <label class="font_normal_body">客户名称:</label>-->
|
|
50
|
-
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
|
|
51
|
-
<!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
|
|
52
|
-
<!-- </div>-->
|
|
53
|
-
<div class="form-group col-sm-3">
|
|
54
|
-
<label class="font_normal_body">用户编号:</label>
|
|
55
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
|
|
56
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
-
condition="ui.f_userinfo_code like '%{}%'">
|
|
58
|
-
</div>
|
|
59
|
-
<div class="form-group col-sm-3">
|
|
60
|
-
<label class="font_normal_body">工程编号:</label>
|
|
61
|
-
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
62
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
-
condition="u.f_apply_num like '%{}%'">
|
|
64
|
-
</div>
|
|
65
|
-
<div class="form-group col-sm-3">
|
|
66
|
-
<label class="font_normal_body">合同金额:</label>
|
|
67
|
-
<input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
|
|
68
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
69
|
-
condition="u.f_contract_money like '%{}%'">
|
|
70
|
-
</div>
|
|
71
|
-
<div class="form-group col-sm-3">
|
|
72
|
-
<label class="font_normal_body">联系电话:</label>
|
|
73
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
74
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
75
|
-
condition="f_phone like '%{}%'">
|
|
76
|
-
</div>
|
|
77
|
-
<div class="form-group col-sm-3">
|
|
78
|
-
<label class="font_normal_body">合同编号:</label>
|
|
79
|
-
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
80
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
81
|
-
condition="f_contract_number = '{}'">
|
|
82
|
-
</div>
|
|
83
|
-
<div class="form-group col-sm-3">
|
|
84
|
-
<label class="font_normal_body">报建类型:</label>
|
|
85
|
-
<v-select
|
|
86
|
-
v-model="model.f_apply_type"
|
|
87
|
-
placeholder='报建类型'
|
|
88
|
-
condition="f_apply_type = '{}'"
|
|
89
|
-
:value.sync="model.f_apply_type"
|
|
90
|
-
:options='$parent.$parent.applytype'
|
|
91
|
-
class="select select_list"
|
|
92
|
-
:value-single="true"
|
|
93
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
94
|
-
close-on-select ></v-select>
|
|
95
|
-
</div>
|
|
96
|
-
<div class="form-group col-sm-3">
|
|
97
|
-
<label class="font_normal_body">办理环节:</label>
|
|
98
|
-
<v-select
|
|
99
|
-
v-model="model.defname"
|
|
100
|
-
placeholder='办理环节'
|
|
101
|
-
condition="act.defname = '{}'"
|
|
102
|
-
:value.sync="model.defname"
|
|
103
|
-
:options='$parent.$parent.defnames'
|
|
104
|
-
class="select select_list"
|
|
105
|
-
:value-single="true"
|
|
106
|
-
close-on-select ></v-select>
|
|
107
|
-
</div>
|
|
108
|
-
<div class="form-group col-sm-3">
|
|
109
|
-
<label class="font_normal_body">报建性质:</label>
|
|
110
|
-
<v-select
|
|
111
|
-
v-model="model.f_apply_nature"
|
|
112
|
-
placeholder='报建性质'
|
|
113
|
-
condition="f_apply_nature = '{}'"
|
|
114
|
-
:value.sync="model.f_apply_nature"
|
|
115
|
-
:options='$parent.$parent.applyNatures'
|
|
116
|
-
class="select select_list"
|
|
117
|
-
:value-single="true"
|
|
118
|
-
close-on-select ></v-select>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="form-group col-sm-3">
|
|
121
|
-
<label class="font_normal_body">用户地址:</label>
|
|
122
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
123
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
124
|
-
condition="f_address like '%{}%'">
|
|
125
|
-
</div>
|
|
126
|
-
<div class="form-group col-sm-3">
|
|
127
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
128
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
129
|
-
style="width: 60%!important;"
|
|
130
|
-
v-model="model.startDate"
|
|
131
|
-
:value.sync="model.startDate"
|
|
132
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
133
|
-
:show-reset-button="true"
|
|
134
|
-
condition="f_apply_date >= '{}'">
|
|
135
|
-
</datepicker>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="form-group col-sm-3">
|
|
138
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
139
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
140
|
-
style="width: 60%!important;"
|
|
141
|
-
v-model="model.endDate"
|
|
142
|
-
:value.sync="model.endDate"
|
|
143
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
144
|
-
:show-reset-button="true"
|
|
145
|
-
condition="f_apply_date <= '{}'">
|
|
146
|
-
</datepicker>
|
|
147
|
-
</div>
|
|
148
|
-
<div class="form-group col-sm-3">
|
|
149
|
-
<label class="font_normal_body">稍后处理:</label>
|
|
150
|
-
<v-select
|
|
151
|
-
v-model="model.f_no_valid"
|
|
152
|
-
placeholder='稍后处理'
|
|
153
|
-
condition="lp.f_no_valid = '{}'"
|
|
154
|
-
:value.sync="model.f_no_valid"
|
|
155
|
-
:options='$parent.$parent.laterList'
|
|
156
|
-
class="select select_list"
|
|
157
|
-
:value-single="true"
|
|
158
|
-
close-on-select ></v-select>
|
|
159
|
-
</div>
|
|
160
|
-
<div class="form-group col-sm-3">
|
|
161
|
-
<label class="font_normal_body">节点发起人:</label>
|
|
162
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.act_sender"
|
|
163
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="act.sender like '%{}%'" placeholder='节点发起人'>
|
|
164
|
-
</div>
|
|
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
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
<
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
<
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
<
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
<
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':''
|
|
212
|
-
<nobr><font>{{
|
|
213
|
-
</td>
|
|
214
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
215
|
-
<nobr><font>{{row.
|
|
216
|
-
</td>
|
|
217
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
218
|
-
<nobr><font>{{row.
|
|
219
|
-
</td>
|
|
220
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
221
|
-
<
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
//
|
|
319
|
-
|
|
320
|
-
this.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
data
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
data.
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
data.
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
data.
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-3">
|
|
8
|
+
<label class="font_normal_body">客户名称:</label>
|
|
9
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
10
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3">
|
|
13
|
+
<label class="font_normal_body">组织机构:</label>
|
|
14
|
+
<res-select
|
|
15
|
+
restype='organization'
|
|
16
|
+
:initresid='$parent.$parent.curorgid'
|
|
17
|
+
@res-select="$parent.$parent.getorg"
|
|
18
|
+
is-mul="false"
|
|
19
|
+
></res-select>
|
|
20
|
+
</div>
|
|
21
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
22
|
+
<!-- <label class="font_normal_body">工程编号:</label>-->
|
|
23
|
+
<!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
|
|
24
|
+
<!-- v-on:keyup.enter="$parent.$parent.search()"-->
|
|
25
|
+
<!-- condition="u.f_apply_num = '{}'">-->
|
|
26
|
+
<!-- </div>-->
|
|
27
|
+
<div class="form-group col-sm-3 button-range">
|
|
28
|
+
<a type="button" class="button_new button_spacing" v-if="$parent.$parent.projectStart"
|
|
29
|
+
href="/apply/download/excel/散户报装模板.xlsx" download>模板下载</a>
|
|
30
|
+
<button class="button_new button_spacing" style="width: max-content"
|
|
31
|
+
v-if="$parent.$parent.projectStart"
|
|
32
|
+
@click="$parent.$parent.showFile = !$parent.$parent.showFile">批量散户导入</button>
|
|
33
|
+
<button class="button_new button_spacing" style="width: max-content"
|
|
34
|
+
v-if="$parent.$parent.projectStart"
|
|
35
|
+
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
36
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
37
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
38
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
39
|
+
<div
|
|
40
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
41
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
42
|
+
class="button_spacing"
|
|
43
|
+
style="float: right">
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
49
|
+
<!-- <label class="font_normal_body">客户名称:</label>-->
|
|
50
|
+
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
|
|
51
|
+
<!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
|
|
52
|
+
<!-- </div>-->
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label class="font_normal_body">用户编号:</label>
|
|
55
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
|
|
56
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
+
condition="ui.f_userinfo_code like '%{}%'">
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group col-sm-3">
|
|
60
|
+
<label class="font_normal_body">工程编号:</label>
|
|
61
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
62
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
+
condition="u.f_apply_num like '%{}%'">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group col-sm-3">
|
|
66
|
+
<label class="font_normal_body">合同金额:</label>
|
|
67
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
|
|
68
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
69
|
+
condition="u.f_contract_money like '%{}%'">
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">联系电话:</label>
|
|
73
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
74
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
75
|
+
condition="f_phone like '%{}%'">
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label class="font_normal_body">合同编号:</label>
|
|
79
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
80
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
81
|
+
condition="f_contract_number = '{}'">
|
|
82
|
+
</div>
|
|
83
|
+
<div class="form-group col-sm-3">
|
|
84
|
+
<label class="font_normal_body">报建类型:</label>
|
|
85
|
+
<v-select
|
|
86
|
+
v-model="model.f_apply_type"
|
|
87
|
+
placeholder='报建类型'
|
|
88
|
+
condition="f_apply_type = '{}'"
|
|
89
|
+
:value.sync="model.f_apply_type"
|
|
90
|
+
:options='$parent.$parent.applytype'
|
|
91
|
+
class="select select_list"
|
|
92
|
+
:value-single="true"
|
|
93
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
94
|
+
close-on-select ></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="form-group col-sm-3">
|
|
97
|
+
<label class="font_normal_body">办理环节:</label>
|
|
98
|
+
<v-select
|
|
99
|
+
v-model="model.defname"
|
|
100
|
+
placeholder='办理环节'
|
|
101
|
+
condition="act.defname = '{}'"
|
|
102
|
+
:value.sync="model.defname"
|
|
103
|
+
:options='$parent.$parent.defnames'
|
|
104
|
+
class="select select_list"
|
|
105
|
+
:value-single="true"
|
|
106
|
+
close-on-select ></v-select>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="form-group col-sm-3">
|
|
109
|
+
<label class="font_normal_body">报建性质:</label>
|
|
110
|
+
<v-select
|
|
111
|
+
v-model="model.f_apply_nature"
|
|
112
|
+
placeholder='报建性质'
|
|
113
|
+
condition="f_apply_nature = '{}'"
|
|
114
|
+
:value.sync="model.f_apply_nature"
|
|
115
|
+
:options='$parent.$parent.applyNatures'
|
|
116
|
+
class="select select_list"
|
|
117
|
+
:value-single="true"
|
|
118
|
+
close-on-select ></v-select>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="form-group col-sm-3">
|
|
121
|
+
<label class="font_normal_body">用户地址:</label>
|
|
122
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
123
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
124
|
+
condition="f_address like '%{}%'">
|
|
125
|
+
</div>
|
|
126
|
+
<div class="form-group col-sm-3">
|
|
127
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
128
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
129
|
+
style="width: 60%!important;"
|
|
130
|
+
v-model="model.startDate"
|
|
131
|
+
:value.sync="model.startDate"
|
|
132
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
133
|
+
:show-reset-button="true"
|
|
134
|
+
condition="f_apply_date >= '{}'">
|
|
135
|
+
</datepicker>
|
|
136
|
+
</div>
|
|
137
|
+
<div class="form-group col-sm-3">
|
|
138
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
139
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
140
|
+
style="width: 60%!important;"
|
|
141
|
+
v-model="model.endDate"
|
|
142
|
+
:value.sync="model.endDate"
|
|
143
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
144
|
+
:show-reset-button="true"
|
|
145
|
+
condition="f_apply_date <= '{}'">
|
|
146
|
+
</datepicker>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="form-group col-sm-3">
|
|
149
|
+
<label class="font_normal_body">稍后处理:</label>
|
|
150
|
+
<v-select
|
|
151
|
+
v-model="model.f_no_valid"
|
|
152
|
+
placeholder='稍后处理'
|
|
153
|
+
condition="lp.f_no_valid = '{}'"
|
|
154
|
+
:value.sync="model.f_no_valid"
|
|
155
|
+
:options='$parent.$parent.laterList'
|
|
156
|
+
class="select select_list"
|
|
157
|
+
:value-single="true"
|
|
158
|
+
close-on-select ></v-select>
|
|
159
|
+
</div>
|
|
160
|
+
<div class="form-group col-sm-3">
|
|
161
|
+
<label class="font_normal_body">节点发起人:</label>
|
|
162
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.act_sender"
|
|
163
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="act.sender like '%{}%'" placeholder='节点发起人'>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="form-group col-sm-3">
|
|
166
|
+
<label class="font_normal_body">点火类型:</label>
|
|
167
|
+
<v-select
|
|
168
|
+
v-model="model.f_igniter_type"
|
|
169
|
+
placeholder='点火类型'
|
|
170
|
+
condition="f_igniter_type = '{}'"
|
|
171
|
+
:value.sync="model.f_igniter_type"
|
|
172
|
+
:options='$parent.$parent.ignitertype'
|
|
173
|
+
class="select select_list"
|
|
174
|
+
:value-single="true"
|
|
175
|
+
close-on-select ></v-select>
|
|
176
|
+
</div>
|
|
177
|
+
<div class="form-group col-sm-3">
|
|
178
|
+
<label class="font_normal_body">老居民首次开发:</label>
|
|
179
|
+
<v-select
|
|
180
|
+
v-model="model.f_first_user"
|
|
181
|
+
placeholder='是否老居民首次开发'
|
|
182
|
+
condition="f_first_user = '{}'"
|
|
183
|
+
:value.sync="model.f_first_user"
|
|
184
|
+
:options='$parent.$parent.firstUser'
|
|
185
|
+
class="select select_list"
|
|
186
|
+
:value-single="true"
|
|
187
|
+
close-on-select ></v-select>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</criteria>
|
|
192
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
193
|
+
<template partial='head'>
|
|
194
|
+
<tr>
|
|
195
|
+
<th style="white-space: nowrap;">序号</th>
|
|
196
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
197
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
198
|
+
<th style="white-space: nowrap;">发起人</th>
|
|
199
|
+
<th style="white-space: nowrap;">电话</th>
|
|
200
|
+
<th style="white-space: nowrap;">地址</th>
|
|
201
|
+
<th style="white-space: nowrap;">来源</th>
|
|
202
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
203
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
204
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
205
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
206
|
+
<th style="white-space: nowrap;">操作</th>
|
|
207
|
+
</tr>
|
|
208
|
+
</template>
|
|
209
|
+
<template partial='body'>
|
|
210
|
+
<tr class="back-style">
|
|
211
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'', row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
212
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
213
|
+
</td>
|
|
214
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
215
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
216
|
+
</td>
|
|
217
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
218
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
219
|
+
</td>
|
|
220
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
221
|
+
<nobr><font>{{row.f_operator}}</font></nobr>
|
|
222
|
+
</td>
|
|
223
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
224
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
225
|
+
</td>
|
|
226
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
227
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
228
|
+
</td>
|
|
229
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
230
|
+
<nobr><font>{{row.f_apply_source}}</font></nobr>
|
|
231
|
+
</td>
|
|
232
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
233
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
234
|
+
</td>
|
|
235
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
236
|
+
<nobr><font>{{row.defname}}</font></nobr>
|
|
237
|
+
</td>
|
|
238
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
239
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
240
|
+
</td>
|
|
241
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
242
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
243
|
+
</td>
|
|
244
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
245
|
+
<dropdown>
|
|
246
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
247
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
248
|
+
</button>
|
|
249
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
250
|
+
<li>
|
|
251
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
252
|
+
<a href="#" @click="$parent.$parent.$parent.openLater(row)" v-if="row.f_no_valid !== '有效'">稍后处理</a>
|
|
253
|
+
</li>
|
|
254
|
+
</ul>
|
|
255
|
+
</dropdown>
|
|
256
|
+
</td>
|
|
257
|
+
</tr>
|
|
258
|
+
</template>
|
|
259
|
+
</data-grid>
|
|
260
|
+
</criteria-paged>
|
|
261
|
+
|
|
262
|
+
<modal
|
|
263
|
+
v-if="showModal"
|
|
264
|
+
:show.sync="showModal"
|
|
265
|
+
backdrop="false"
|
|
266
|
+
title="工程类型"
|
|
267
|
+
cancel-text="取消"
|
|
268
|
+
ok-text="确认"
|
|
269
|
+
:callback="apply"
|
|
270
|
+
>
|
|
271
|
+
<div class="form-horizontal" slot="modal-body">
|
|
272
|
+
<div class="form-group" style="margin: 10px auto">
|
|
273
|
+
<label class="col-sm-3 control-label">报建类型:</label>
|
|
274
|
+
<div class="col-sm-9">
|
|
275
|
+
<v-select
|
|
276
|
+
v-model="applyType"
|
|
277
|
+
placeholder='请选择需要发起的工程类型'
|
|
278
|
+
:value.sync="applyType"
|
|
279
|
+
:options='$appdata.getParam("报建类型")'
|
|
280
|
+
:value-single="true"
|
|
281
|
+
class="select select_list"
|
|
282
|
+
:search="false"
|
|
283
|
+
close-on-select ></v-select>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
</div>
|
|
287
|
+
</modal>
|
|
288
|
+
|
|
289
|
+
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
290
|
+
<header slot="modal-header" class="modal-header">
|
|
291
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
292
|
+
<h4 class="modal-title">选择文件</h4>
|
|
293
|
+
</header>
|
|
294
|
+
<article slot="modal-body" class="modal-body">
|
|
295
|
+
<div class="form-group">
|
|
296
|
+
<file-upload class="my-file-uploader" action="singlepage/rs/file/uploadFile" tagname="确定" v-ref:file></file-upload>
|
|
297
|
+
</div>
|
|
298
|
+
</article>
|
|
299
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
300
|
+
</modal>
|
|
301
|
+
</div>
|
|
302
|
+
</template>
|
|
303
|
+
<script>
|
|
304
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
305
|
+
import {isEmpty} from "../../../components/Util";
|
|
306
|
+
|
|
307
|
+
export default {
|
|
308
|
+
title: '工程列表',
|
|
309
|
+
props: ['showData'],
|
|
310
|
+
data () {
|
|
311
|
+
return {
|
|
312
|
+
model: new PagedList('rs/sql/checkuser', 20, {
|
|
313
|
+
data: {
|
|
314
|
+
id: this.$login.f.id,
|
|
315
|
+
orgid: this.$login.f.orgid
|
|
316
|
+
}
|
|
317
|
+
}),
|
|
318
|
+
showModal: false, // 控制发起类型选择
|
|
319
|
+
applyType: '', // 报建类型
|
|
320
|
+
curorgid: [this.$login.f.orgid],
|
|
321
|
+
ignitertype: [{label: '全部', value: ''},{label: '一次点火', value: '一次点火'},{label: '二次点火', value: '二次点火'}],
|
|
322
|
+
firstUser: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
323
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
324
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
325
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
326
|
+
criteriaShow: false,
|
|
327
|
+
showFile: false,
|
|
328
|
+
laterList: [
|
|
329
|
+
{label: '全部', value: ''},
|
|
330
|
+
{label: '有效', value: '有效'}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
ready () {
|
|
335
|
+
// 调用查询
|
|
336
|
+
this.search()
|
|
337
|
+
},
|
|
338
|
+
methods: {
|
|
339
|
+
openLater (row) {
|
|
340
|
+
this.$dispatch('openLater', row)
|
|
341
|
+
},
|
|
342
|
+
closeFile () {
|
|
343
|
+
this.showFile = false
|
|
344
|
+
// 将选的文件清空
|
|
345
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
346
|
+
this.search()
|
|
347
|
+
},
|
|
348
|
+
// 点击操作
|
|
349
|
+
click (val) {
|
|
350
|
+
this.$dispatch('apply', val)
|
|
351
|
+
},
|
|
352
|
+
// 获取流程id
|
|
353
|
+
async getProcessId(processname) {
|
|
354
|
+
let data = {
|
|
355
|
+
workname: processname
|
|
356
|
+
}
|
|
357
|
+
let http = new HttpResetClass()
|
|
358
|
+
let res = await http.load(
|
|
359
|
+
'POST',
|
|
360
|
+
'rs/logic/getProcessId',
|
|
361
|
+
{data: data},
|
|
362
|
+
{resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
|
|
363
|
+
)
|
|
364
|
+
|
|
365
|
+
return res.data
|
|
366
|
+
},
|
|
367
|
+
// 报装申请
|
|
368
|
+
async apply () {
|
|
369
|
+
if (this.applyType === '' || this.applyType === null) {
|
|
370
|
+
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
371
|
+
return
|
|
372
|
+
}
|
|
373
|
+
let data = {
|
|
374
|
+
f_apply_type: this.applyType
|
|
375
|
+
}
|
|
376
|
+
if (this.applyType === '散户报建') {
|
|
377
|
+
data.processname = '散户报建流程'
|
|
378
|
+
data.defname = '报装申请'
|
|
379
|
+
} else if (this.applyType === '工商户报建') {
|
|
380
|
+
data.processname = '工商户报建流程'
|
|
381
|
+
data.defname = '报装申请'
|
|
382
|
+
} else if (this.applyType === '改管报建') {
|
|
383
|
+
data.processname = '改管报建流程'
|
|
384
|
+
data.defname = '报装申请'
|
|
385
|
+
} else if (this.applyType === '增容报建') {
|
|
386
|
+
data.processname = '增容报建流程'
|
|
387
|
+
data.defname = '报装申请'
|
|
388
|
+
} else if (this.applyType === '团购报建') {
|
|
389
|
+
data.processname = '团购报建流程'
|
|
390
|
+
data.defname = '报装申请'
|
|
391
|
+
} else if (this.applyType === '退款报建') {
|
|
392
|
+
data.processname = '退款报建流程'
|
|
393
|
+
data.defname = '终止报建'
|
|
394
|
+
} else if (this.applyType === '团购转散户') {
|
|
395
|
+
data.processname = '团购转散户报建流程'
|
|
396
|
+
data.defname = '信息确认'
|
|
397
|
+
}else if (this.applyType === '报警器报建') {
|
|
398
|
+
data.processname = '报警器报建流程'
|
|
399
|
+
data.defname = '报装申请'
|
|
400
|
+
}else if (this.applyType === '工商业报警器报建') {
|
|
401
|
+
data.processname = '工商业报警器报建流程'
|
|
402
|
+
data.defname = '报装申请'
|
|
403
|
+
}else if (this.applyType === '集体报建') {
|
|
404
|
+
data.processname = '集体报建流程'
|
|
405
|
+
data.defname = '报装申请'
|
|
406
|
+
} else if (this.applyType === '工商业报建') {
|
|
407
|
+
data.processname = '工商业报建流程'
|
|
408
|
+
data.defname = '报装申请'
|
|
409
|
+
} else if (this.applyType === '民改商报建') {
|
|
410
|
+
data.processname = '民改商报建流程'
|
|
411
|
+
data.defname = '报装申请'
|
|
412
|
+
} else {
|
|
413
|
+
this.$showMessage('暂无此类报装')
|
|
414
|
+
return
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
data.f_sub_state = "新增"
|
|
418
|
+
data.f_apply_source = "线下发起"
|
|
419
|
+
data.f_process_id = await this.getProcessId(data.processname)
|
|
420
|
+
|
|
421
|
+
// 调用ExplorationUser事件
|
|
422
|
+
this.$dispatch('apply', data)
|
|
423
|
+
|
|
424
|
+
this.applyType = null
|
|
425
|
+
this.showModal = false
|
|
426
|
+
},
|
|
427
|
+
loadPage () {
|
|
428
|
+
this.$dispatch('loadPage')
|
|
429
|
+
},
|
|
430
|
+
search () {
|
|
431
|
+
this.$dispatch('search')
|
|
432
|
+
},
|
|
433
|
+
async applyTypeChange () {
|
|
434
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
435
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
436
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
437
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
438
|
+
)
|
|
439
|
+
|
|
440
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
441
|
+
|
|
442
|
+
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
443
|
+
} else {
|
|
444
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
445
|
+
|
|
446
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
clear () {
|
|
450
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
451
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
452
|
+
})
|
|
453
|
+
},
|
|
454
|
+
getorg (val) {
|
|
455
|
+
if (val.length <= 0) {
|
|
456
|
+
return
|
|
457
|
+
}
|
|
458
|
+
this.model.params.data.orgid = val[0]
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
computed: {
|
|
462
|
+
projectStart () {
|
|
463
|
+
return this.$login.r.includes('报建发起')
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
watch: {
|
|
467
|
+
'model.rows': {
|
|
468
|
+
handler: function () {
|
|
469
|
+
let isover = [] // 过期(超时)数据
|
|
470
|
+
let isbeforeover = [] // 未过期 提前提醒
|
|
471
|
+
for (let i = 0; i < this.model.rows.length; i++) {
|
|
472
|
+
let item = this.model.rows[i]
|
|
473
|
+
if (item.isover === '过期') {
|
|
474
|
+
isover.push(i + 1)
|
|
475
|
+
}
|
|
476
|
+
if (item.isbeforeover === '预期提醒') {
|
|
477
|
+
isbeforeover.push(i + 1)
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
let msg = null
|
|
481
|
+
if (isover.length > 0) {
|
|
482
|
+
msg = `第${isover.toString()}条数据已过期`
|
|
483
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
if (isbeforeover.length > 0) {
|
|
487
|
+
msg = `第${isbeforeover.toString()}条数据即将过期`
|
|
488
|
+
if (isover.length > 0) {
|
|
489
|
+
setTimeout(() => {
|
|
490
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
491
|
+
}, 4000)
|
|
492
|
+
} else {
|
|
493
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
events: {
|
|
500
|
+
async 'onFileUpload'(file, result) {
|
|
501
|
+
let data = {
|
|
502
|
+
filepath: result.f_realpath,
|
|
503
|
+
user: this.$login.f
|
|
504
|
+
}
|
|
505
|
+
let res = await this.$resetpost(`rs/logic/importApply`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
|
|
506
|
+
|
|
507
|
+
this.closeFile()
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
</script>
|
|
512
|
+
<style scoped>
|
|
513
|
+
.back-style{
|
|
514
|
+
background-color: #ffa726;
|
|
515
|
+
}
|
|
516
|
+
.p1 {
|
|
517
|
+
color: #dc0b12;
|
|
518
|
+
font-weight:bold
|
|
519
|
+
}
|
|
520
|
+
.p {
|
|
521
|
+
color: #ffaf4f;
|
|
522
|
+
}
|
|
523
|
+
</style>
|