apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3
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 +7 -3
- package/package.json +3 -3
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +12 -1
- package/src/applyAndroid.js +87 -83
- package/src/components/android/AppUpload.vue +15 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +1410 -1397
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
- package/src/components/android/Task/Build/BuildTsak.vue +7 -4
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -432
- package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
- package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -98
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
- package/src/components/product/Function/InstallInfoSelect.vue +371 -370
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -236
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
- package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
- package/src/components/product/List/ShowAllActivity.vue +455 -0
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
- package/src/components/product/Process/ExplorationSelect.vue +591 -581
- package/src/components/product/Process/ExplorationUser.vue +158 -158
- package/src/components/product/Process/New1ExplorationUser.vue +201 -0
- package/src/components/product/Process/New2ExplorationUser.vue +163 -0
- package/src/components/product/Process/NewExplorationSelect.vue +586 -0
- package/src/components/product/Process/NewExplorationUser.vue +219 -184
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
- package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
- package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Service/ServiceControl.vue +2166 -2162
- package/src/components/product/Report/ReportItems.vue +85 -79
- package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
- package/src/components/product/Report/gongchengbu.vue +199 -0
- package/src/components/product/ServiceView.vue +644 -644
- package/src/components/product/Stop/StopApplyList.vue +8 -8
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -594
- package/src/components/product/Supervisory/SupervisoryList.vue +539 -537
- package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
- package/src/main.js +27 -27
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/rebel.xml +0 -16
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
- package/yarn-error.log +0 -9976
|
@@ -1,370 +1,371 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
:
|
|
37
|
-
:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<button class="button_search button_spacing" @click="$parent.$parent.
|
|
45
|
-
<button class="
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
<
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
:
|
|
110
|
-
:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
:
|
|
121
|
-
:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
<
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
<th style="white-space: nowrap;"
|
|
146
|
-
<th style="white-space: nowrap;"
|
|
147
|
-
<th style="white-space: nowrap;"
|
|
148
|
-
<th style="white-space: nowrap;"
|
|
149
|
-
<th style="white-space: nowrap;"
|
|
150
|
-
<th style="white-space: nowrap;"
|
|
151
|
-
<th style="white-space: nowrap;"
|
|
152
|
-
<th style="white-space: nowrap;"
|
|
153
|
-
<th style="white-space: nowrap;"
|
|
154
|
-
<th style="white-space: nowrap;"
|
|
155
|
-
<th style="white-space: nowrap;"
|
|
156
|
-
<th style="white-space: nowrap;"
|
|
157
|
-
<th style="white-space: nowrap;"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
</
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
import {
|
|
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
|
-
|
|
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
|
-
this.$refs.cp.$refs.cri.model
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<!-- 功能业务 -->
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-2">
|
|
9
|
+
<label class="font_normal_body"><strong>工程编号:</strong></label>
|
|
10
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
11
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
12
|
+
condition="f_apply_num like '%{}%'">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-2">
|
|
15
|
+
<label class="font_normal_body"><strong>客户名称:</strong></label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-2">
|
|
20
|
+
<label class="font_normal_body"><strong>联系电话:</strong></label>
|
|
21
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
22
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
23
|
+
condition="f_phone like '%{}%'">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group col-sm-2">
|
|
26
|
+
<label class="font_normal_body"><strong>联 系 人:</strong></label>
|
|
27
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系人' v-model="model.f_contact"
|
|
28
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
29
|
+
condition="f_contact like '%{}%'">
|
|
30
|
+
</div>
|
|
31
|
+
<div class="form-group col-sm-2">
|
|
32
|
+
<label class="font_normal_body"><strong>设计人员:</strong></label>
|
|
33
|
+
<v-select class="select select_list"
|
|
34
|
+
placeholder='设计人员'
|
|
35
|
+
v-model="model.f_designer_people"
|
|
36
|
+
:value.sync="model.f_designer_people"
|
|
37
|
+
:options='$parent.$parent.designerPeoples'
|
|
38
|
+
:value-single="true"
|
|
39
|
+
close-on-select
|
|
40
|
+
condition="f_designer_people = '{}'">
|
|
41
|
+
</v-select>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="form-group col-sm-3 button-range">
|
|
44
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
45
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
46
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
47
|
+
<div
|
|
48
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
50
|
+
class="button_spacing"
|
|
51
|
+
style="float: right">
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
56
|
+
<div class="form-group col-sm-2">
|
|
57
|
+
<label class="font_normal_body"><strong>合同编号:</strong></label>
|
|
58
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
59
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
60
|
+
condition="f_contract_number like '%{}%'">
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group col-sm-2">
|
|
63
|
+
<label class="font_normal_body"><strong>报建类型:</strong></label>
|
|
64
|
+
<v-select
|
|
65
|
+
v-model="model.f_apply_type"
|
|
66
|
+
placeholder='报建类型'
|
|
67
|
+
condition="f_apply_type in {}"
|
|
68
|
+
:value.sync="model.f_apply_type"
|
|
69
|
+
:options='$parent.$parent.applytype'
|
|
70
|
+
class="select select_list"
|
|
71
|
+
multiple
|
|
72
|
+
@change="$parent.$parent.applyTypeChange()"></v-select>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="form-group col-sm-2">
|
|
75
|
+
<label class="font_normal_body"><strong>办理环节:</strong></label>
|
|
76
|
+
<v-select
|
|
77
|
+
v-model="model.defname"
|
|
78
|
+
placeholder='办理环节'
|
|
79
|
+
condition="defname = '{}'"
|
|
80
|
+
:value.sync="model.defname"
|
|
81
|
+
:options='$parent.$parent.defnames'
|
|
82
|
+
class="select select_list"
|
|
83
|
+
:value-single="true"
|
|
84
|
+
close-on-select ></v-select>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="form-group col-sm-2" v-if="false">
|
|
87
|
+
<label class="font_normal_body"><strong>报建性质:</strong></label>
|
|
88
|
+
<v-select
|
|
89
|
+
v-model="model.f_apply_nature"
|
|
90
|
+
placeholder='报建性质'
|
|
91
|
+
condition="f_apply_nature = '{}'"
|
|
92
|
+
:value.sync="model.f_apply_nature"
|
|
93
|
+
:options='$parent.$parent.applyNatures'
|
|
94
|
+
class="select select_list"
|
|
95
|
+
:value-single="true"
|
|
96
|
+
close-on-select ></v-select>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="form-group col-sm-2">
|
|
99
|
+
<label class="font_normal_body"><strong>用户地址:</strong></label>
|
|
100
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
101
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
102
|
+
condition="f_address like '%{}%'">
|
|
103
|
+
</div>
|
|
104
|
+
<div class="form-group col-sm-2">
|
|
105
|
+
<label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
|
|
106
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
107
|
+
style="width: 60%!important;"
|
|
108
|
+
v-model="model.startDate"
|
|
109
|
+
:value.sync="model.startDate"
|
|
110
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
111
|
+
:show-reset-button="true"
|
|
112
|
+
condition="f_apply_date >= '{}'">
|
|
113
|
+
</datepicker>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="form-group col-sm-2">
|
|
116
|
+
<label for="endDate" class="font_normal_body"><strong>结束时间:</strong></label>
|
|
117
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
118
|
+
style="width: 60%!important;"
|
|
119
|
+
v-model="model.endDate"
|
|
120
|
+
:value.sync="model.endDate"
|
|
121
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
122
|
+
:show-reset-button="true"
|
|
123
|
+
condition="f_apply_date <= '{}'">
|
|
124
|
+
</datepicker>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="form-group col-sm-2">
|
|
127
|
+
<label class="font_normal_body"><strong>来  源:</strong></label>
|
|
128
|
+
<v-select
|
|
129
|
+
v-model="model.f_apply_source"
|
|
130
|
+
placeholder='来源'
|
|
131
|
+
condition="u.f_apply_source = '{}'"
|
|
132
|
+
:value.sync="model.f_apply_source"
|
|
133
|
+
:options='$parent.$parent.sources'
|
|
134
|
+
class="select select_list"
|
|
135
|
+
:value-single="true"
|
|
136
|
+
close-on-select >
|
|
137
|
+
</v-select>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</criteria>
|
|
142
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
143
|
+
<template partial='head'>
|
|
144
|
+
<tr class="title">
|
|
145
|
+
<th style="white-space: nowrap;">序号</th>
|
|
146
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
147
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
148
|
+
<th style="white-space: nowrap;">联系人</th>
|
|
149
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
150
|
+
<th style="white-space: nowrap;">电话</th>
|
|
151
|
+
<th style="white-space: nowrap;">地址</th>
|
|
152
|
+
<th style="white-space: nowrap;">来源</th>
|
|
153
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
154
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
155
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
156
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
157
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
158
|
+
<th style="white-space: nowrap;">操作</th>
|
|
159
|
+
</tr>
|
|
160
|
+
</template>
|
|
161
|
+
<template partial='body'>
|
|
162
|
+
<tr>
|
|
163
|
+
<td style="text-align: center;">
|
|
164
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
165
|
+
</td>
|
|
166
|
+
<td style="text-align: center;">
|
|
167
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
168
|
+
</td>
|
|
169
|
+
<td style="text-align: center;">
|
|
170
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
171
|
+
</td>
|
|
172
|
+
<td style="text-align: center;">
|
|
173
|
+
<nobr><font>{{row.f_contact}}</font></nobr>
|
|
174
|
+
</td>
|
|
175
|
+
<td style="text-align: center;">
|
|
176
|
+
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
177
|
+
</td>
|
|
178
|
+
<td style="text-align: center;">
|
|
179
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
180
|
+
</td>
|
|
181
|
+
<td style="text-align: center;">
|
|
182
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
183
|
+
</td>
|
|
184
|
+
<td style="text-align: center;">
|
|
185
|
+
<nobr><font>{{row.f_apply_source}}</font></nobr>
|
|
186
|
+
</td>
|
|
187
|
+
<td style="text-align: center;">
|
|
188
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
189
|
+
</td>
|
|
190
|
+
<td style="text-align: center;">
|
|
191
|
+
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
192
|
+
</td>
|
|
193
|
+
<td style="text-align: center;">
|
|
194
|
+
<nobr><font>{{row.defname}}</font></nobr>
|
|
195
|
+
</td>
|
|
196
|
+
<td style="text-align: center;">
|
|
197
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
198
|
+
</td>
|
|
199
|
+
<td style="text-align: center;">
|
|
200
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
201
|
+
</td>
|
|
202
|
+
<td style="text-align: center;">
|
|
203
|
+
<dropdown>
|
|
204
|
+
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
205
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
206
|
+
</button>
|
|
207
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
208
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func.personexpression)">
|
|
209
|
+
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
210
|
+
</li>
|
|
211
|
+
</ul>
|
|
212
|
+
</dropdown>
|
|
213
|
+
</td>
|
|
214
|
+
</tr>
|
|
215
|
+
</template>
|
|
216
|
+
</data-grid>
|
|
217
|
+
</criteria-paged>
|
|
218
|
+
</div>
|
|
219
|
+
</template>
|
|
220
|
+
<script>
|
|
221
|
+
import {PagedList} from 'vue-client'
|
|
222
|
+
import {isEmpty} from '../../Util'
|
|
223
|
+
export default {
|
|
224
|
+
title: '报建业务信息',
|
|
225
|
+
props: ['showData'],
|
|
226
|
+
data () {
|
|
227
|
+
return {
|
|
228
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
229
|
+
data: {
|
|
230
|
+
f_filiale: this.$login.f.f_fengongsi
|
|
231
|
+
}
|
|
232
|
+
}),
|
|
233
|
+
funcs: [], // 功能列表
|
|
234
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
235
|
+
defnames: isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
|
|
236
|
+
criteriaShow: false,
|
|
237
|
+
sources:[{label: '微信公众号', value: '微信公众号'},{label: '线下发起', value: '线下发起'}],
|
|
238
|
+
designerPeoples: this.getDesigner()
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
ready () {
|
|
242
|
+
// 调用查询
|
|
243
|
+
this.search()
|
|
244
|
+
},
|
|
245
|
+
methods: {
|
|
246
|
+
searchCondition (args) {
|
|
247
|
+
args.condition = args.condition
|
|
248
|
+
if (args.condition.includes('民用报建')) {
|
|
249
|
+
args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')');
|
|
250
|
+
}
|
|
251
|
+
console.log("args.condition",args.condition)
|
|
252
|
+
this.model.search(args.condition, args.model)
|
|
253
|
+
},
|
|
254
|
+
// 查询
|
|
255
|
+
search () {
|
|
256
|
+
this.$dispatch('search')
|
|
257
|
+
},
|
|
258
|
+
loadPage () {
|
|
259
|
+
this.$dispatch('loadPage')
|
|
260
|
+
},
|
|
261
|
+
// 获取配置
|
|
262
|
+
async checkfuncs (row) {
|
|
263
|
+
|
|
264
|
+
this.funcs = []
|
|
265
|
+
let functions = JSON.parse(JSON.stringify(this.$function_vue.functions))
|
|
266
|
+
|
|
267
|
+
for (const item of functions) {
|
|
268
|
+
// 显示类型
|
|
269
|
+
if (item.showApplyTypes) {
|
|
270
|
+
if (item.showApplyTypes.indexOf(row.f_apply_type) === -1) {
|
|
271
|
+
continue
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
// 显示节点
|
|
275
|
+
if (item.showDefnames) {
|
|
276
|
+
if (item.showDefnames.indexOf(row.defname) === -1) {
|
|
277
|
+
continue
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
// 显示设备
|
|
281
|
+
if (item.device && item.device !== 'pc') {
|
|
282
|
+
continue
|
|
283
|
+
}
|
|
284
|
+
this.funcs.push(item)
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
// 点击功能操作
|
|
288
|
+
func (func, row) {
|
|
289
|
+
this.$dispatch('func', func, row)
|
|
290
|
+
},
|
|
291
|
+
// 权限控制
|
|
292
|
+
showFunc (personexpression) {
|
|
293
|
+
|
|
294
|
+
if (isEmpty(personexpression)) {
|
|
295
|
+
return true
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
let mark = personexpression.charAt(0)
|
|
299
|
+
|
|
300
|
+
let str = personexpression.substring(2, personexpression.length-1)
|
|
301
|
+
|
|
302
|
+
if (mark === 'D' && this.$login.f.f_parentname.includes(str)) {
|
|
303
|
+
return true
|
|
304
|
+
}
|
|
305
|
+
if (mark === 'R' && this.$login.f.rolesnames.includes(str)) {
|
|
306
|
+
return true
|
|
307
|
+
}
|
|
308
|
+
if (personexpression.indexOf('RS') === 0) {
|
|
309
|
+
for (str of personexpression.substring(3, personexpression.length-1).split(',')) {
|
|
310
|
+
if(this.$login.f.rolesnames.includes(str)){
|
|
311
|
+
return true
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
if (mark === 'P' && this.$login.f.id.includes(str)) {
|
|
316
|
+
return true
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
return false
|
|
320
|
+
},
|
|
321
|
+
async applyTypeChange () {
|
|
322
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
323
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
324
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
325
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
326
|
+
)
|
|
327
|
+
|
|
328
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
329
|
+
} else {
|
|
330
|
+
this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
async getDesigner() {
|
|
334
|
+
let data = {
|
|
335
|
+
source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
|
|
336
|
+
userid: this.$login.f.id
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
let res = await this.$resetpost(
|
|
340
|
+
'rs/search',
|
|
341
|
+
{data: data},
|
|
342
|
+
{resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
|
|
343
|
+
)
|
|
344
|
+
console.log("ces",res.data.map(item => {
|
|
345
|
+
return {
|
|
346
|
+
label: item.name,
|
|
347
|
+
value: item.name
|
|
348
|
+
}
|
|
349
|
+
}))
|
|
350
|
+
this.designerPeoples = res.data.map(item => {
|
|
351
|
+
return {
|
|
352
|
+
label: item.name,
|
|
353
|
+
value: item.name
|
|
354
|
+
}
|
|
355
|
+
})
|
|
356
|
+
},
|
|
357
|
+
clear () {
|
|
358
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
359
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
360
|
+
this.$refs.cp.$refs.cri.model.f_apply_type = []
|
|
361
|
+
})
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
computed: {
|
|
365
|
+
},
|
|
366
|
+
events: {
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
</script>
|
|
370
|
+
<style scoped>
|
|
371
|
+
</style>
|