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,432 +1,317 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="p-10">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
5
|
-
<div partial class="auto">
|
|
6
|
-
<div class="row form-group app-input">
|
|
7
|
-
<label class=""
|
|
8
|
-
<div class="col-xs-8" >
|
|
9
|
-
<input class="" v-model=model.
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
13
|
-
<label class=""
|
|
14
|
-
<div class="col-xs-8" >
|
|
15
|
-
<input class="" v-model=model.
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
19
|
-
<label class=""
|
|
20
|
-
<div class="col-xs-8" >
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
47
|
-
<label class=""
|
|
48
|
-
<div class="col-xs-8" >
|
|
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
|
-
<div class="col-xs-
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
class="
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
<div class="col-xs-
|
|
100
|
-
<
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
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
|
-
|
|
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
|
-
} else {
|
|
319
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
320
|
-
|
|
321
|
-
this.applyNatures = [{label: '全部', value: ''}]
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
// 获取小区
|
|
325
|
-
async getArea () {
|
|
326
|
-
let data = {
|
|
327
|
-
tablename: 't_area_address',
|
|
328
|
-
condition: `f_filiale = '${Vue.user.f_fengongsi}' and f_area_status = '启用'`
|
|
329
|
-
}
|
|
330
|
-
let http = new HttpResetClass()
|
|
331
|
-
let res = await http.load(
|
|
332
|
-
'POST',
|
|
333
|
-
`${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
|
|
334
|
-
{data: data},
|
|
335
|
-
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
336
|
-
)
|
|
337
|
-
this.areaList = res.data.map(item => {
|
|
338
|
-
return {
|
|
339
|
-
label: item.f_residential_area,
|
|
340
|
-
value: item.f_residential_area
|
|
341
|
-
}
|
|
342
|
-
})
|
|
343
|
-
},
|
|
344
|
-
changeSearch(){
|
|
345
|
-
this.showSupervisory = !this.showSupervisory
|
|
346
|
-
this.search()
|
|
347
|
-
},
|
|
348
|
-
},
|
|
349
|
-
events: {
|
|
350
|
-
'loadPage' () {
|
|
351
|
-
this.selectdata = {}
|
|
352
|
-
// 关闭详细
|
|
353
|
-
this.showtotal = false
|
|
354
|
-
// 显示列表数据
|
|
355
|
-
this.showData = true
|
|
356
|
-
// 显示分页
|
|
357
|
-
this.$refs.query.$refs.cp.pager = true
|
|
358
|
-
// 调用查询
|
|
359
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
watch: {
|
|
363
|
-
// 通过计算属性同时监听多个值
|
|
364
|
-
'changeData' () {
|
|
365
|
-
if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
|
|
366
|
-
this.search()
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
computed: {
|
|
371
|
-
changeData () {
|
|
372
|
-
const {f_lat, f_lng} = this
|
|
373
|
-
return {
|
|
374
|
-
f_lat,
|
|
375
|
-
f_lng
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
</script>
|
|
381
|
-
<style scoped>
|
|
382
|
-
.panel-self{
|
|
383
|
-
border-radius: 10px;
|
|
384
|
-
border:1px solid #499EDF;
|
|
385
|
-
background-color: #F8F8F8;
|
|
386
|
-
}
|
|
387
|
-
.font{
|
|
388
|
-
font: 15px PingFang-SC-Medium;
|
|
389
|
-
color: #666666;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.button_shrink_top {
|
|
393
|
-
width: 34px;
|
|
394
|
-
height: 34px;
|
|
395
|
-
border: solid 1px #6aa6e2;
|
|
396
|
-
background-size: 100%;
|
|
397
|
-
background-image: url("../../../../../static/newStyle/stretch_top.png")
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
.button_shrink_bottom {
|
|
401
|
-
width: 34px;
|
|
402
|
-
height: 34px;
|
|
403
|
-
border: solid 1px #6aa6e2;
|
|
404
|
-
background-size: 100%;
|
|
405
|
-
background-image: url("../../../../../static/newStyle/stretch_bottom.png")
|
|
406
|
-
}
|
|
407
|
-
</style>
|
|
408
|
-
<style lang="less">
|
|
409
|
-
.app-input {
|
|
410
|
-
label {
|
|
411
|
-
float: left;
|
|
412
|
-
}
|
|
413
|
-
.select {
|
|
414
|
-
button {
|
|
415
|
-
border: none;
|
|
416
|
-
outline: none;
|
|
417
|
-
text-align: left;
|
|
418
|
-
.btn-placeholder {
|
|
419
|
-
color: #ACA899
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
.datepicker {
|
|
424
|
-
.form-control:focus {
|
|
425
|
-
border: none!important;
|
|
426
|
-
outline: none!important;
|
|
427
|
-
-webkit-box-shadow: none;
|
|
428
|
-
box-shadow: none;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="p-10">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
5
|
+
<div partial class="auto">
|
|
6
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
7
|
+
<label class="">管线编号:</label>
|
|
8
|
+
<div class="col-xs-8" >
|
|
9
|
+
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
13
|
+
<label class="">工程名称:</label>
|
|
14
|
+
<div class="col-xs-8" >
|
|
15
|
+
<input class="" v-model=model.f_address condition="u.f_address_name like '%{}%'" />
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
19
|
+
<label class="">办理环节:</label>
|
|
20
|
+
<div class="col-xs-8" >
|
|
21
|
+
<v-select
|
|
22
|
+
width="100%"
|
|
23
|
+
v-model="model.defname"
|
|
24
|
+
placeholder='办理环节'
|
|
25
|
+
condition="act.defname = '{}'"
|
|
26
|
+
:value.sync="model.defname"
|
|
27
|
+
:options='$parent.$parent.defnames'
|
|
28
|
+
class="select select_list"
|
|
29
|
+
:value-single="true"
|
|
30
|
+
close-on-select ></v-select>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
34
|
+
<label class="">开始时间:</label>
|
|
35
|
+
<div class="col-xs-8" >
|
|
36
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
37
|
+
style="width: 100%!important;"
|
|
38
|
+
v-model="model.startDate"
|
|
39
|
+
:value.sync="model.startDate"
|
|
40
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
41
|
+
:show-reset-button="true"
|
|
42
|
+
condition="u.f_apply_date >= '{}'">
|
|
43
|
+
</datepicker>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
47
|
+
<label class="">结束时间:</label>
|
|
48
|
+
<div class="col-xs-8" >
|
|
49
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
50
|
+
style="width: 100%!important;"
|
|
51
|
+
v-model="model.endDate"
|
|
52
|
+
:value.sync="model.endDate"
|
|
53
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
54
|
+
:show-reset-button="true"
|
|
55
|
+
condition="u.f_apply_date <= '{}'">
|
|
56
|
+
</datepicker>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="row form-group text-right" style="">
|
|
60
|
+
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
61
|
+
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
62
|
+
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</criteria>
|
|
66
|
+
|
|
67
|
+
<list :model="model" partial='list'>
|
|
68
|
+
<div partial class="auto app-text panel">
|
|
69
|
+
<div class="panel-body panel-self">
|
|
70
|
+
<div class="col-xs-12">
|
|
71
|
+
<p class="col-xs-3 text-left font"><b>工程名称:</b></p>
|
|
72
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_address_name }}</p>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-xs-12">
|
|
75
|
+
<p class="col-xs-3 text-left font"><b>片区:</b></p>
|
|
76
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_area }}</p>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="col-xs-12">
|
|
79
|
+
<p class="col-xs-3 text-left font"><b>管线建设编号:</b></p>
|
|
80
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="col-xs-12">
|
|
83
|
+
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
84
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-xs-12">
|
|
87
|
+
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
88
|
+
<p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="col-xs-12">
|
|
91
|
+
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
92
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="col-xs-12" style="color: red">
|
|
95
|
+
<p class="col-xs-3 text-left font"><b>施工备注:</b></p>
|
|
96
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<div class="col-xs-12 text-right">
|
|
100
|
+
<button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</list>
|
|
105
|
+
</criteria-paged>
|
|
106
|
+
</div>
|
|
107
|
+
</template>
|
|
108
|
+
<script>
|
|
109
|
+
import Vue from 'vue'
|
|
110
|
+
import { PagedList, HttpResetClass } from 'vue-client'
|
|
111
|
+
import {isEmpty} from '../../../Util'
|
|
112
|
+
export default {
|
|
113
|
+
title: '管线建设流程',
|
|
114
|
+
props: ['defname', 'f_lat', 'f_lng', 'usertype'],
|
|
115
|
+
data () {
|
|
116
|
+
return {
|
|
117
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getGuanXianApply`, 20, {
|
|
118
|
+
data: {
|
|
119
|
+
userid: Vue.user.id,
|
|
120
|
+
f_filiale: Vue.user.f_fengongsi
|
|
121
|
+
}
|
|
122
|
+
}),
|
|
123
|
+
criteriaShow: false,
|
|
124
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
125
|
+
defnames: isEmpty(this.$appdata.getParam('管线建设环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('管线建设环节')], // 流程节点
|
|
126
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
127
|
+
areaList: [],
|
|
128
|
+
showSupervisory: true
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
ready () {
|
|
132
|
+
this.getArea()
|
|
133
|
+
this.search()
|
|
134
|
+
},
|
|
135
|
+
methods: {
|
|
136
|
+
refresh () {
|
|
137
|
+
this.search()
|
|
138
|
+
this.$dispatch('refreshDot')
|
|
139
|
+
},
|
|
140
|
+
openAmap (selectdata) {
|
|
141
|
+
HostApp.openThirdPartyMap({
|
|
142
|
+
lon: selectdata.f_lng,
|
|
143
|
+
lat: selectdata.f_lat,
|
|
144
|
+
address: selectdata.f_order_address
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
dialNumber (phone) {
|
|
148
|
+
this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
|
|
149
|
+
if (res === 'confirm') {
|
|
150
|
+
this.$androidUtil.makeAPhoneCall(phone)
|
|
151
|
+
}
|
|
152
|
+
})
|
|
153
|
+
},
|
|
154
|
+
clear () {
|
|
155
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
156
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
157
|
+
})
|
|
158
|
+
},
|
|
159
|
+
// 查询
|
|
160
|
+
search () {
|
|
161
|
+
this.$refs.cp.$refs.cri.search()
|
|
162
|
+
this.criteriaShow = false
|
|
163
|
+
},
|
|
164
|
+
searchCondition (args) {
|
|
165
|
+
if (this.defname === '施工信息'){
|
|
166
|
+
args.condition = args.condition + ` and act.defname = '管线建设施工' and (f_construction_unit = '${Vue.user.id}'
|
|
167
|
+
or f_check_operator_id = '${Vue.user.id}' or f_engineering_operator_id = '${Vue.user.id}'
|
|
168
|
+
or f_supervisor_operator_id = '${Vue.user.id}' or f_supervisor_operator = '${Vue.user.id}'
|
|
169
|
+
or f_construct_operator_id = '${Vue.user.id}')`
|
|
170
|
+
} else {
|
|
171
|
+
args.condition += `and act.defname = '${this.defname}'`
|
|
172
|
+
}
|
|
173
|
+
if (this.usertype){
|
|
174
|
+
args.condition += `and u.f_apply_type = '${this.usertype}'`
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
console.log("args.condition",args.condition)
|
|
178
|
+
this.model.search(args.condition, args.model)
|
|
179
|
+
},
|
|
180
|
+
click (row) {
|
|
181
|
+
if (this.defname === '施工信息'){
|
|
182
|
+
row.defname = '施工信息'
|
|
183
|
+
}
|
|
184
|
+
let _this = this
|
|
185
|
+
this.$dispatch('gotoson', {
|
|
186
|
+
_this: _this,
|
|
187
|
+
title: row.defname,
|
|
188
|
+
safe: true
|
|
189
|
+
})
|
|
190
|
+
this.$goto('app-service-control', {selectdata: row}, 'self', _this.refresh)
|
|
191
|
+
},
|
|
192
|
+
applyTypeChange () {
|
|
193
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
194
|
+
let http = new HttpResetClass()
|
|
195
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
|
|
196
|
+
// http.load('POST', 'rs/logic/getDefnameByType', {
|
|
197
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
198
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
199
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
200
|
+
|
|
201
|
+
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}性质`)]
|
|
202
|
+
})
|
|
203
|
+
} else {
|
|
204
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
205
|
+
|
|
206
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
// 获取小区
|
|
210
|
+
async getArea () {
|
|
211
|
+
let data = {
|
|
212
|
+
tablename: 't_area_address',
|
|
213
|
+
condition: `f_filiale = '${Vue.user.f_fengongsi}' and f_area_status = '启用'`
|
|
214
|
+
}
|
|
215
|
+
let http = new HttpResetClass()
|
|
216
|
+
let res = await http.load(
|
|
217
|
+
'POST',
|
|
218
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
|
|
219
|
+
{data: data},
|
|
220
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
221
|
+
)
|
|
222
|
+
this.areaList = res.data.map(item => {
|
|
223
|
+
return {
|
|
224
|
+
label: item.f_residential_area,
|
|
225
|
+
value: item.f_residential_area
|
|
226
|
+
}
|
|
227
|
+
})
|
|
228
|
+
},
|
|
229
|
+
changeSearch(){
|
|
230
|
+
this.showSupervisory = !this.showSupervisory
|
|
231
|
+
this.search()
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
events: {
|
|
235
|
+
'loadPage' () {
|
|
236
|
+
this.selectdata = {}
|
|
237
|
+
// 关闭详细
|
|
238
|
+
this.showtotal = false
|
|
239
|
+
// 显示列表数据
|
|
240
|
+
this.showData = true
|
|
241
|
+
// 显示分页
|
|
242
|
+
this.$refs.query.$refs.cp.pager = true
|
|
243
|
+
// 调用查询
|
|
244
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
watch: {
|
|
248
|
+
// 通过计算属性同时监听多个值
|
|
249
|
+
'changeData' () {
|
|
250
|
+
if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
|
|
251
|
+
this.search()
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
computed: {
|
|
256
|
+
changeData () {
|
|
257
|
+
const {f_lat, f_lng} = this
|
|
258
|
+
return {
|
|
259
|
+
f_lat,
|
|
260
|
+
f_lng
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
</script>
|
|
266
|
+
<style scoped>
|
|
267
|
+
.panel-self{
|
|
268
|
+
border-radius: 10px;
|
|
269
|
+
border:1px solid #499EDF;
|
|
270
|
+
background-color: #F8F8F8;
|
|
271
|
+
}
|
|
272
|
+
.font{
|
|
273
|
+
font: 15px PingFang-SC-Medium;
|
|
274
|
+
color: #666666;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.button_shrink_top {
|
|
278
|
+
width: 34px;
|
|
279
|
+
height: 34px;
|
|
280
|
+
border: solid 1px #6aa6e2;
|
|
281
|
+
background-size: 100%;
|
|
282
|
+
background-image: url("../../../../../static/newStyle/stretch_top.png")
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.button_shrink_bottom {
|
|
286
|
+
width: 34px;
|
|
287
|
+
height: 34px;
|
|
288
|
+
border: solid 1px #6aa6e2;
|
|
289
|
+
background-size: 100%;
|
|
290
|
+
background-image: url("../../../../../static/newStyle/stretch_bottom.png")
|
|
291
|
+
}
|
|
292
|
+
</style>
|
|
293
|
+
<style lang="less">
|
|
294
|
+
.app-input {
|
|
295
|
+
label {
|
|
296
|
+
float: left;
|
|
297
|
+
}
|
|
298
|
+
.select {
|
|
299
|
+
button {
|
|
300
|
+
border: none;
|
|
301
|
+
outline: none;
|
|
302
|
+
text-align: left;
|
|
303
|
+
.btn-placeholder {
|
|
304
|
+
color: #ACA899
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
.datepicker {
|
|
309
|
+
.form-control:focus {
|
|
310
|
+
border: none!important;
|
|
311
|
+
outline: none!important;
|
|
312
|
+
-webkit-box-shadow: none;
|
|
313
|
+
box-shadow: none;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
</style>
|