apply-clients 3.3.62 → 3.3.63
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 +4 -4
- package/package.json +1 -1
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +93 -93
- package/src/applyAndroid.js +31 -31
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +566 -566
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/Function/AppInstallFunction.vue +366 -366
- package/src/components/android/Process/AppServiceControl.vue +865 -865
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
- package/src/components/product/Function/InstallFunction.vue +132 -132
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
- package/src/components/product/Material/MaterialDetailed.vue +235 -235
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
- package/src/components/product/OldApply/OldApply.vue +150 -150
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Order/OrderApplyList.vue +263 -263
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
- package/src/components/product/Process/ExplorationSelect.vue +457 -457
- package/src/components/product/Process/ExplorationUser.vue +147 -147
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
- package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +804 -804
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/components/product/Supervisory/SupervisoryList.vue +311 -311
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
|
@@ -1,311 +1,311 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12">
|
|
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
|
-
<res-select
|
|
10
|
-
restype='organization'
|
|
11
|
-
:initresid='$parent.$parent.curorgid'
|
|
12
|
-
@res-select="$parent.$parent.getorg"
|
|
13
|
-
is-mul="false"
|
|
14
|
-
></res-select>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="form-group col-sm-3">
|
|
17
|
-
<label class="font_normal_body">工程编号:</label>
|
|
18
|
-
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
19
|
-
v-on:keyup.enter="search"
|
|
20
|
-
condition="f_apply_num = '{}'">
|
|
21
|
-
</div>
|
|
22
|
-
<div class="form-group col-sm-2 button-range">
|
|
23
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
24
|
-
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
25
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
26
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
27
|
-
:field="$parent.$parent.getfield"
|
|
28
|
-
sqlurl="rs/logic/applyExportfile"
|
|
29
|
-
sql-name="supervisory"
|
|
30
|
-
template-name='报装信息导出'
|
|
31
|
-
:choose-col="true"></export-excel>
|
|
32
|
-
<div
|
|
33
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
34
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
35
|
-
class="button_spacing"
|
|
36
|
-
style="float: right">
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
41
|
-
<div class="form-group col-sm-3">
|
|
42
|
-
<label class="font_normal_body">客户名称:</label>
|
|
43
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
44
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
45
|
-
</div>
|
|
46
|
-
<div class="form-group col-sm-3">
|
|
47
|
-
<label class="font_normal_body">联系电话:</label>
|
|
48
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
49
|
-
v-on:keyup.enter="search"
|
|
50
|
-
condition="f_phone like '%{}%'">
|
|
51
|
-
</div>
|
|
52
|
-
<div class="form-group col-sm-3">
|
|
53
|
-
<label class="font_normal_body">合同编号:</label>
|
|
54
|
-
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
55
|
-
v-on:keyup.enter="search"
|
|
56
|
-
condition="f_contract_number = '{}'">
|
|
57
|
-
</div>
|
|
58
|
-
<div class="form-group col-sm-3">
|
|
59
|
-
<label class="font_normal_body">报建类型:</label>
|
|
60
|
-
<v-select
|
|
61
|
-
v-model="model.f_apply_type"
|
|
62
|
-
placeholder='报建类型'
|
|
63
|
-
condition="f_apply_type = '{}'"
|
|
64
|
-
:value.sync="model.f_apply_type"
|
|
65
|
-
:options='$parent.$parent.applytype'
|
|
66
|
-
class="select select_list"
|
|
67
|
-
:value-single="true"
|
|
68
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
69
|
-
close-on-select ></v-select>
|
|
70
|
-
</div>
|
|
71
|
-
<div class="form-group col-sm-3">
|
|
72
|
-
<label class="font_normal_body">办理环节:</label>
|
|
73
|
-
<v-select
|
|
74
|
-
v-model="model.defname"
|
|
75
|
-
placeholder='办理环节'
|
|
76
|
-
condition="defname = '{}'"
|
|
77
|
-
:value.sync="model.defname"
|
|
78
|
-
:options='$parent.$parent.defnames'
|
|
79
|
-
class="select select_list"
|
|
80
|
-
:value-single="true"
|
|
81
|
-
close-on-select ></v-select>
|
|
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_nature"
|
|
87
|
-
placeholder='报建性质'
|
|
88
|
-
condition="f_apply_nature = '{}'"
|
|
89
|
-
:value.sync="model.f_apply_nature"
|
|
90
|
-
:options='$parent.$parent.applyNatures'
|
|
91
|
-
class="select select_list"
|
|
92
|
-
:value-single="true"
|
|
93
|
-
close-on-select ></v-select>
|
|
94
|
-
</div>
|
|
95
|
-
<div class="form-group col-sm-3">
|
|
96
|
-
<label class="font_normal_body">流程状态:</label>
|
|
97
|
-
<v-select
|
|
98
|
-
v-model="model.f_sub_state"
|
|
99
|
-
placeholder='流程状态'
|
|
100
|
-
condition="f_sub_state = '{}'"
|
|
101
|
-
:value.sync="model.f_sub_state"
|
|
102
|
-
:options='$parent.$parent.subStates'
|
|
103
|
-
class="select select_list"
|
|
104
|
-
:value-single="true"
|
|
105
|
-
close-on-select ></v-select>
|
|
106
|
-
</div>
|
|
107
|
-
<div class="form-group col-sm-3">
|
|
108
|
-
<label class="font_normal_body">用户地址:</label>
|
|
109
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
110
|
-
v-on:keyup.enter="search"
|
|
111
|
-
condition="f_address like '%{}%'">
|
|
112
|
-
</div>
|
|
113
|
-
<div class="form-group col-sm-3">
|
|
114
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
115
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
116
|
-
style="width: 60%!important;"
|
|
117
|
-
v-model="model.startDate"
|
|
118
|
-
:value.sync="model.startDate"
|
|
119
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
120
|
-
:show-reset-button="true"
|
|
121
|
-
condition="f_apply_date >= '{}'">
|
|
122
|
-
</datepicker>
|
|
123
|
-
</div>
|
|
124
|
-
<div class="form-group col-sm-3">
|
|
125
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
126
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
127
|
-
style="width: 60%!important;"
|
|
128
|
-
v-model="model.endDate"
|
|
129
|
-
:value.sync="model.endDate"
|
|
130
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
131
|
-
:show-reset-button="true"
|
|
132
|
-
condition="f_apply_date <= '{}'">
|
|
133
|
-
</datepicker>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</criteria>
|
|
138
|
-
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
139
|
-
<template partial='head'>
|
|
140
|
-
<tr>
|
|
141
|
-
<th style="white-space: nowrap;">序号</th>
|
|
142
|
-
<th style="white-space: nowrap;">工程编号</th>
|
|
143
|
-
<th style="white-space: nowrap;">客户名称</th>
|
|
144
|
-
<th style="white-space: nowrap;">合同编号</th>
|
|
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
|
-
</tr>
|
|
156
|
-
</template>
|
|
157
|
-
<template partial='body'>
|
|
158
|
-
<tr>
|
|
159
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
160
|
-
<nobr>{{$index+1}}</nobr>
|
|
161
|
-
</td>
|
|
162
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
163
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
164
|
-
</td>
|
|
165
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
166
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
167
|
-
</td>
|
|
168
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
169
|
-
<nobr>{{row.f_contract_number}}</nobr>
|
|
170
|
-
</td>
|
|
171
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
172
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
173
|
-
</td>
|
|
174
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
175
|
-
<nobr>{{row.f_address}}</nobr>
|
|
176
|
-
</td>
|
|
177
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
178
|
-
<nobr>{{row.f_apply_source}}</nobr>
|
|
179
|
-
</td>
|
|
180
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
181
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
182
|
-
</td>
|
|
183
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
184
|
-
<nobr>{{row.defname}}</nobr>
|
|
185
|
-
</td>
|
|
186
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
187
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
188
|
-
</td>
|
|
189
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
190
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
191
|
-
</td>
|
|
192
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
193
|
-
<nobr>{{row.f_install_project}}</nobr>
|
|
194
|
-
</td>
|
|
195
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
196
|
-
<nobr>{{row.f_construction_unit}}</nobr>
|
|
197
|
-
</td>
|
|
198
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
199
|
-
<nobr>{{row.f_construction_date}}</nobr>
|
|
200
|
-
</td>
|
|
201
|
-
</tr>
|
|
202
|
-
</template>
|
|
203
|
-
</data-grid>
|
|
204
|
-
</criteria-paged>
|
|
205
|
-
</div>
|
|
206
|
-
</template>
|
|
207
|
-
<script>
|
|
208
|
-
import {PagedList} from 'vue-client'
|
|
209
|
-
import {isEmpty} from '../../Util'
|
|
210
|
-
export default {
|
|
211
|
-
title: '勘探详情',
|
|
212
|
-
props: ['showData'],
|
|
213
|
-
data () {
|
|
214
|
-
return {
|
|
215
|
-
model: new PagedList('rs/sql/supervisory', 20, {
|
|
216
|
-
data: {
|
|
217
|
-
orgid: this.$login.f.orgid
|
|
218
|
-
}
|
|
219
|
-
}),
|
|
220
|
-
curorgid: [this.$login.f.orgid],
|
|
221
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
222
|
-
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
223
|
-
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
224
|
-
criteriaShow: false,
|
|
225
|
-
subStates: [
|
|
226
|
-
{label: '全部', value: ''},
|
|
227
|
-
{label: '新增', value: '新增'},
|
|
228
|
-
{label: '暂停', value: '暂停'},
|
|
229
|
-
{label: '终止', value: '终止'},
|
|
230
|
-
{label: '完工', value: '完工'},
|
|
231
|
-
{label: '正在进行', value: '正在进行'}
|
|
232
|
-
], // 流程状态
|
|
233
|
-
getfield: {
|
|
234
|
-
'f_apply_num': '工程编号',
|
|
235
|
-
'f_user_name': '客户名称',
|
|
236
|
-
'f_contract_number': '合同编号',
|
|
237
|
-
'f_phone': '电话',
|
|
238
|
-
'f_address': '地址',
|
|
239
|
-
'f_apply_type': '报建类型',
|
|
240
|
-
'f_apply_nature': '报建性质',
|
|
241
|
-
'f_cumulative_payment_money': '收费金额',
|
|
242
|
-
'defname': '办理环节',
|
|
243
|
-
'f_sub_state': '流程状态',
|
|
244
|
-
'f_apply_date': '报建日期',
|
|
245
|
-
'f_apply_remarks': '备注',
|
|
246
|
-
'f_payment_remarks': '缴费备注',
|
|
247
|
-
'f_operator': '发起人',
|
|
248
|
-
'f_install_project': '安装项目',
|
|
249
|
-
'f_construction_unit': '施工单位',
|
|
250
|
-
'f_construction_date': '施工时间'
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
ready () {
|
|
255
|
-
// 调用查询
|
|
256
|
-
this.search()
|
|
257
|
-
},
|
|
258
|
-
events: {
|
|
259
|
-
},
|
|
260
|
-
methods: {
|
|
261
|
-
loadPage () {
|
|
262
|
-
this.$dispatch('loadPage')
|
|
263
|
-
},
|
|
264
|
-
// 查询
|
|
265
|
-
search () {
|
|
266
|
-
this.$dispatch('search')
|
|
267
|
-
},
|
|
268
|
-
check (val) {
|
|
269
|
-
this.$dispatch('apply', val)
|
|
270
|
-
},
|
|
271
|
-
async applyTypeChange () {
|
|
272
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
273
|
-
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
274
|
-
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
275
|
-
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
276
|
-
)
|
|
277
|
-
|
|
278
|
-
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
279
|
-
|
|
280
|
-
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}性质`)]
|
|
281
|
-
} else {
|
|
282
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
283
|
-
this.applyNatures = [{label: '全部', value: ''}]
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
clear () {
|
|
287
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
288
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
289
|
-
})
|
|
290
|
-
},
|
|
291
|
-
getorg (val) {
|
|
292
|
-
if (val.length <= 0) {
|
|
293
|
-
return
|
|
294
|
-
}
|
|
295
|
-
this.model.params.data.orgid = val[0]
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
computed: {
|
|
299
|
-
getCondition () {
|
|
300
|
-
return {
|
|
301
|
-
condition: this.model.condition,
|
|
302
|
-
data: {
|
|
303
|
-
orgid: this.$login.f.orgid
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
</script>
|
|
310
|
-
<style scoped>
|
|
311
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12">
|
|
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
|
+
<res-select
|
|
10
|
+
restype='organization'
|
|
11
|
+
:initresid='$parent.$parent.curorgid'
|
|
12
|
+
@res-select="$parent.$parent.getorg"
|
|
13
|
+
is-mul="false"
|
|
14
|
+
></res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-3">
|
|
17
|
+
<label class="font_normal_body">工程编号:</label>
|
|
18
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
19
|
+
v-on:keyup.enter="search"
|
|
20
|
+
condition="f_apply_num = '{}'">
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-2 button-range">
|
|
23
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
24
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
25
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
26
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
27
|
+
:field="$parent.$parent.getfield"
|
|
28
|
+
sqlurl="rs/logic/applyExportfile"
|
|
29
|
+
sql-name="supervisory"
|
|
30
|
+
template-name='报装信息导出'
|
|
31
|
+
:choose-col="true"></export-excel>
|
|
32
|
+
<div
|
|
33
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
34
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
35
|
+
class="button_spacing"
|
|
36
|
+
style="float: right">
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
41
|
+
<div class="form-group col-sm-3">
|
|
42
|
+
<label class="font_normal_body">客户名称:</label>
|
|
43
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
44
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="form-group col-sm-3">
|
|
47
|
+
<label class="font_normal_body">联系电话:</label>
|
|
48
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
49
|
+
v-on:keyup.enter="search"
|
|
50
|
+
condition="f_phone like '%{}%'">
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-3">
|
|
53
|
+
<label class="font_normal_body">合同编号:</label>
|
|
54
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
55
|
+
v-on:keyup.enter="search"
|
|
56
|
+
condition="f_contract_number = '{}'">
|
|
57
|
+
</div>
|
|
58
|
+
<div class="form-group col-sm-3">
|
|
59
|
+
<label class="font_normal_body">报建类型:</label>
|
|
60
|
+
<v-select
|
|
61
|
+
v-model="model.f_apply_type"
|
|
62
|
+
placeholder='报建类型'
|
|
63
|
+
condition="f_apply_type = '{}'"
|
|
64
|
+
:value.sync="model.f_apply_type"
|
|
65
|
+
:options='$parent.$parent.applytype'
|
|
66
|
+
class="select select_list"
|
|
67
|
+
:value-single="true"
|
|
68
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
69
|
+
close-on-select ></v-select>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label class="font_normal_body">办理环节:</label>
|
|
73
|
+
<v-select
|
|
74
|
+
v-model="model.defname"
|
|
75
|
+
placeholder='办理环节'
|
|
76
|
+
condition="defname = '{}'"
|
|
77
|
+
:value.sync="model.defname"
|
|
78
|
+
:options='$parent.$parent.defnames'
|
|
79
|
+
class="select select_list"
|
|
80
|
+
:value-single="true"
|
|
81
|
+
close-on-select ></v-select>
|
|
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_nature"
|
|
87
|
+
placeholder='报建性质'
|
|
88
|
+
condition="f_apply_nature = '{}'"
|
|
89
|
+
:value.sync="model.f_apply_nature"
|
|
90
|
+
:options='$parent.$parent.applyNatures'
|
|
91
|
+
class="select select_list"
|
|
92
|
+
:value-single="true"
|
|
93
|
+
close-on-select ></v-select>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="form-group col-sm-3">
|
|
96
|
+
<label class="font_normal_body">流程状态:</label>
|
|
97
|
+
<v-select
|
|
98
|
+
v-model="model.f_sub_state"
|
|
99
|
+
placeholder='流程状态'
|
|
100
|
+
condition="f_sub_state = '{}'"
|
|
101
|
+
:value.sync="model.f_sub_state"
|
|
102
|
+
:options='$parent.$parent.subStates'
|
|
103
|
+
class="select select_list"
|
|
104
|
+
:value-single="true"
|
|
105
|
+
close-on-select ></v-select>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="form-group col-sm-3">
|
|
108
|
+
<label class="font_normal_body">用户地址:</label>
|
|
109
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
110
|
+
v-on:keyup.enter="search"
|
|
111
|
+
condition="f_address like '%{}%'">
|
|
112
|
+
</div>
|
|
113
|
+
<div class="form-group col-sm-3">
|
|
114
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
115
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
116
|
+
style="width: 60%!important;"
|
|
117
|
+
v-model="model.startDate"
|
|
118
|
+
:value.sync="model.startDate"
|
|
119
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
120
|
+
:show-reset-button="true"
|
|
121
|
+
condition="f_apply_date >= '{}'">
|
|
122
|
+
</datepicker>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="form-group col-sm-3">
|
|
125
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
126
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
127
|
+
style="width: 60%!important;"
|
|
128
|
+
v-model="model.endDate"
|
|
129
|
+
:value.sync="model.endDate"
|
|
130
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
131
|
+
:show-reset-button="true"
|
|
132
|
+
condition="f_apply_date <= '{}'">
|
|
133
|
+
</datepicker>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</criteria>
|
|
138
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
139
|
+
<template partial='head'>
|
|
140
|
+
<tr>
|
|
141
|
+
<th style="white-space: nowrap;">序号</th>
|
|
142
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
143
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
144
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
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
|
+
</tr>
|
|
156
|
+
</template>
|
|
157
|
+
<template partial='body'>
|
|
158
|
+
<tr>
|
|
159
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
160
|
+
<nobr>{{$index+1}}</nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
163
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_address}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
178
|
+
<nobr>{{row.f_apply_source}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
181
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
184
|
+
<nobr>{{row.defname}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
187
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
190
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
191
|
+
</td>
|
|
192
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
193
|
+
<nobr>{{row.f_install_project}}</nobr>
|
|
194
|
+
</td>
|
|
195
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
196
|
+
<nobr>{{row.f_construction_unit}}</nobr>
|
|
197
|
+
</td>
|
|
198
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
199
|
+
<nobr>{{row.f_construction_date}}</nobr>
|
|
200
|
+
</td>
|
|
201
|
+
</tr>
|
|
202
|
+
</template>
|
|
203
|
+
</data-grid>
|
|
204
|
+
</criteria-paged>
|
|
205
|
+
</div>
|
|
206
|
+
</template>
|
|
207
|
+
<script>
|
|
208
|
+
import {PagedList} from 'vue-client'
|
|
209
|
+
import {isEmpty} from '../../Util'
|
|
210
|
+
export default {
|
|
211
|
+
title: '勘探详情',
|
|
212
|
+
props: ['showData'],
|
|
213
|
+
data () {
|
|
214
|
+
return {
|
|
215
|
+
model: new PagedList('rs/sql/supervisory', 20, {
|
|
216
|
+
data: {
|
|
217
|
+
orgid: this.$login.f.orgid
|
|
218
|
+
}
|
|
219
|
+
}),
|
|
220
|
+
curorgid: [this.$login.f.orgid],
|
|
221
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
222
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
223
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
224
|
+
criteriaShow: false,
|
|
225
|
+
subStates: [
|
|
226
|
+
{label: '全部', value: ''},
|
|
227
|
+
{label: '新增', value: '新增'},
|
|
228
|
+
{label: '暂停', value: '暂停'},
|
|
229
|
+
{label: '终止', value: '终止'},
|
|
230
|
+
{label: '完工', value: '完工'},
|
|
231
|
+
{label: '正在进行', value: '正在进行'}
|
|
232
|
+
], // 流程状态
|
|
233
|
+
getfield: {
|
|
234
|
+
'f_apply_num': '工程编号',
|
|
235
|
+
'f_user_name': '客户名称',
|
|
236
|
+
'f_contract_number': '合同编号',
|
|
237
|
+
'f_phone': '电话',
|
|
238
|
+
'f_address': '地址',
|
|
239
|
+
'f_apply_type': '报建类型',
|
|
240
|
+
'f_apply_nature': '报建性质',
|
|
241
|
+
'f_cumulative_payment_money': '收费金额',
|
|
242
|
+
'defname': '办理环节',
|
|
243
|
+
'f_sub_state': '流程状态',
|
|
244
|
+
'f_apply_date': '报建日期',
|
|
245
|
+
'f_apply_remarks': '备注',
|
|
246
|
+
'f_payment_remarks': '缴费备注',
|
|
247
|
+
'f_operator': '发起人',
|
|
248
|
+
'f_install_project': '安装项目',
|
|
249
|
+
'f_construction_unit': '施工单位',
|
|
250
|
+
'f_construction_date': '施工时间'
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
ready () {
|
|
255
|
+
// 调用查询
|
|
256
|
+
this.search()
|
|
257
|
+
},
|
|
258
|
+
events: {
|
|
259
|
+
},
|
|
260
|
+
methods: {
|
|
261
|
+
loadPage () {
|
|
262
|
+
this.$dispatch('loadPage')
|
|
263
|
+
},
|
|
264
|
+
// 查询
|
|
265
|
+
search () {
|
|
266
|
+
this.$dispatch('search')
|
|
267
|
+
},
|
|
268
|
+
check (val) {
|
|
269
|
+
this.$dispatch('apply', val)
|
|
270
|
+
},
|
|
271
|
+
async applyTypeChange () {
|
|
272
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
273
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
274
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
275
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
276
|
+
)
|
|
277
|
+
|
|
278
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
279
|
+
|
|
280
|
+
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}性质`)]
|
|
281
|
+
} else {
|
|
282
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
283
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
clear () {
|
|
287
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
288
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
289
|
+
})
|
|
290
|
+
},
|
|
291
|
+
getorg (val) {
|
|
292
|
+
if (val.length <= 0) {
|
|
293
|
+
return
|
|
294
|
+
}
|
|
295
|
+
this.model.params.data.orgid = val[0]
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
computed: {
|
|
299
|
+
getCondition () {
|
|
300
|
+
return {
|
|
301
|
+
condition: this.model.condition,
|
|
302
|
+
data: {
|
|
303
|
+
orgid: this.$login.f.orgid
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
</script>
|
|
310
|
+
<style scoped>
|
|
311
|
+
</style>
|