apply-clients 7.1.36-yuchuan-7 → 7.1.36-yuchuan-8
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/package.json +1 -1
- package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +454 -454
- package/src/components/android/Process/AppServiceControl.vue +4 -4
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +980 -980
- package/src/components/android/Sign/AppSignTask.vue +183 -183
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +2 -2
- package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
- package/src/components/android/newPackage/customerServiceManager.vue +218 -218
- package/src/components/android/newPackage/projectPrice.vue +218 -218
- package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
- package/src/components/product/Process/Service/ServiceControl.vue +2205 -2205
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +1 -1
|
@@ -1,317 +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" 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>
|
|
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?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?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>
|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
233
233
|
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/showBuildCheckuser`, 20, {
|
|
234
234
|
data: {
|
|
235
235
|
userid: Vue.user.id,
|
|
236
|
-
f_filiale: Vue.user.f_fengongsi
|
|
236
|
+
f_filiale: Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'
|
|
237
237
|
}
|
|
238
238
|
}),
|
|
239
239
|
criteriaShow: false,
|
|
@@ -335,7 +335,7 @@ export default {
|
|
|
335
335
|
async getArea () {
|
|
336
336
|
let data = {
|
|
337
337
|
tablename: 't_area_address',
|
|
338
|
-
condition: `f_filiale = '${Vue.user.f_fengongsi}' and f_area_status = '启用'`
|
|
338
|
+
condition: `f_filiale = '${Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'}' and f_area_status = '启用'`
|
|
339
339
|
}
|
|
340
340
|
let http = new HttpResetClass()
|
|
341
341
|
let res = await http.load(
|