apply-clients 3.3.48 → 3.3.52
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/.project +17 -0
- package/build/dev-server.js +130 -130
- 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/AppExplorationUser.vue +340 -340
- package/src/components/android/Process/AppServiceControl.vue +4 -0
- 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 +4 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -372
- package/src/components/product/Function/InstallFunction.vue +132 -132
- package/src/components/product/Function/InstallInfoSelect.vue +10 -0
- 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/Print/BuildOrder/buildOrderList.vue +264 -264
- 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/InstallationDetails.vue +592 -592
- 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 +207 -207
- package/src/components/product/Process/Service/ServiceControl.vue +1265 -1254
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/components/product/Supervisory/SupervisoryList.vue +296 -296
- 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,296 +1,296 @@
|
|
|
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
|
-
</tr>
|
|
153
|
-
</template>
|
|
154
|
-
<template partial='body'>
|
|
155
|
-
<tr>
|
|
156
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
157
|
-
<nobr>{{$index+1}}</nobr>
|
|
158
|
-
</td>
|
|
159
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
160
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
161
|
-
</td>
|
|
162
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
163
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
164
|
-
</td>
|
|
165
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
166
|
-
<nobr>{{row.f_contract_number}}</nobr>
|
|
167
|
-
</td>
|
|
168
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
169
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
170
|
-
</td>
|
|
171
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
172
|
-
<nobr>{{row.f_address}}</nobr>
|
|
173
|
-
</td>
|
|
174
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
175
|
-
<nobr>{{row.f_apply_source}}</nobr>
|
|
176
|
-
</td>
|
|
177
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
178
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
179
|
-
</td>
|
|
180
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
181
|
-
<nobr>{{row.defname}}</nobr>
|
|
182
|
-
</td>
|
|
183
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
184
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
185
|
-
</td>
|
|
186
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
187
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
188
|
-
</td>
|
|
189
|
-
</tr>
|
|
190
|
-
</template>
|
|
191
|
-
</data-grid>
|
|
192
|
-
</criteria-paged>
|
|
193
|
-
</div>
|
|
194
|
-
</template>
|
|
195
|
-
<script>
|
|
196
|
-
import {PagedList} from 'vue-client'
|
|
197
|
-
import {isEmpty} from '../../Util'
|
|
198
|
-
export default {
|
|
199
|
-
title: '勘探详情',
|
|
200
|
-
props: ['showData'],
|
|
201
|
-
data () {
|
|
202
|
-
return {
|
|
203
|
-
model: new PagedList('rs/sql/supervisory', 20, {
|
|
204
|
-
data: {
|
|
205
|
-
orgid: this.$login.f.orgid
|
|
206
|
-
}
|
|
207
|
-
}),
|
|
208
|
-
curorgid: [this.$login.f.orgid],
|
|
209
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
210
|
-
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
211
|
-
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
212
|
-
criteriaShow: false,
|
|
213
|
-
subStates: [
|
|
214
|
-
{label: '全部', value: ''},
|
|
215
|
-
{label: '新增', value: '新增'},
|
|
216
|
-
{label: '暂停', value: '暂停'},
|
|
217
|
-
{label: '终止', value: '终止'},
|
|
218
|
-
{label: '完工', value: '完工'},
|
|
219
|
-
{label: '正在进行', value: '正在进行'}
|
|
220
|
-
], // 流程状态
|
|
221
|
-
getfield: {
|
|
222
|
-
'f_apply_num': '工程编号',
|
|
223
|
-
'f_user_name': '客户名称',
|
|
224
|
-
'f_contract_number': '合同编号',
|
|
225
|
-
'f_phone': '电话',
|
|
226
|
-
'f_address': '地址',
|
|
227
|
-
'f_apply_type': '报建类型',
|
|
228
|
-
'f_apply_nature': '报建性质',
|
|
229
|
-
'f_cumulative_payment_money': '收费金额',
|
|
230
|
-
'defname': '办理环节',
|
|
231
|
-
'f_sub_state': '流程状态',
|
|
232
|
-
'f_apply_date': '报建日期',
|
|
233
|
-
'f_apply_remarks': '备注',
|
|
234
|
-
'f_payment_remarks': '缴费备注',
|
|
235
|
-
'f_operator': '发起人'
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
ready () {
|
|
240
|
-
// 调用查询
|
|
241
|
-
this.search()
|
|
242
|
-
},
|
|
243
|
-
events: {
|
|
244
|
-
},
|
|
245
|
-
methods: {
|
|
246
|
-
loadPage () {
|
|
247
|
-
this.$dispatch('loadPage')
|
|
248
|
-
},
|
|
249
|
-
// 查询
|
|
250
|
-
search () {
|
|
251
|
-
this.$dispatch('search')
|
|
252
|
-
},
|
|
253
|
-
check (val) {
|
|
254
|
-
this.$dispatch('apply', val)
|
|
255
|
-
},
|
|
256
|
-
async applyTypeChange () {
|
|
257
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
258
|
-
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
259
|
-
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
260
|
-
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
261
|
-
)
|
|
262
|
-
|
|
263
|
-
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
264
|
-
|
|
265
|
-
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}性质`)]
|
|
266
|
-
} else {
|
|
267
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
268
|
-
this.applyNatures = [{label: '全部', value: ''}]
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
clear () {
|
|
272
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
273
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
274
|
-
})
|
|
275
|
-
},
|
|
276
|
-
getorg (val) {
|
|
277
|
-
if (val.length <= 0) {
|
|
278
|
-
return
|
|
279
|
-
}
|
|
280
|
-
this.model.params.data.orgid = val[0]
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
computed: {
|
|
284
|
-
getCondition () {
|
|
285
|
-
return {
|
|
286
|
-
condition: this.model.condition,
|
|
287
|
-
data: {
|
|
288
|
-
orgid: this.$login.f.orgid
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
</script>
|
|
295
|
-
<style scoped>
|
|
296
|
-
</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
|
+
</tr>
|
|
153
|
+
</template>
|
|
154
|
+
<template partial='body'>
|
|
155
|
+
<tr>
|
|
156
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
157
|
+
<nobr>{{$index+1}}</nobr>
|
|
158
|
+
</td>
|
|
159
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
160
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
163
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_address}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_apply_source}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
178
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
179
|
+
</td>
|
|
180
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
181
|
+
<nobr>{{row.defname}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
184
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
187
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
</tr>
|
|
190
|
+
</template>
|
|
191
|
+
</data-grid>
|
|
192
|
+
</criteria-paged>
|
|
193
|
+
</div>
|
|
194
|
+
</template>
|
|
195
|
+
<script>
|
|
196
|
+
import {PagedList} from 'vue-client'
|
|
197
|
+
import {isEmpty} from '../../Util'
|
|
198
|
+
export default {
|
|
199
|
+
title: '勘探详情',
|
|
200
|
+
props: ['showData'],
|
|
201
|
+
data () {
|
|
202
|
+
return {
|
|
203
|
+
model: new PagedList('rs/sql/supervisory', 20, {
|
|
204
|
+
data: {
|
|
205
|
+
orgid: this.$login.f.orgid
|
|
206
|
+
}
|
|
207
|
+
}),
|
|
208
|
+
curorgid: [this.$login.f.orgid],
|
|
209
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
210
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
211
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
212
|
+
criteriaShow: false,
|
|
213
|
+
subStates: [
|
|
214
|
+
{label: '全部', value: ''},
|
|
215
|
+
{label: '新增', value: '新增'},
|
|
216
|
+
{label: '暂停', value: '暂停'},
|
|
217
|
+
{label: '终止', value: '终止'},
|
|
218
|
+
{label: '完工', value: '完工'},
|
|
219
|
+
{label: '正在进行', value: '正在进行'}
|
|
220
|
+
], // 流程状态
|
|
221
|
+
getfield: {
|
|
222
|
+
'f_apply_num': '工程编号',
|
|
223
|
+
'f_user_name': '客户名称',
|
|
224
|
+
'f_contract_number': '合同编号',
|
|
225
|
+
'f_phone': '电话',
|
|
226
|
+
'f_address': '地址',
|
|
227
|
+
'f_apply_type': '报建类型',
|
|
228
|
+
'f_apply_nature': '报建性质',
|
|
229
|
+
'f_cumulative_payment_money': '收费金额',
|
|
230
|
+
'defname': '办理环节',
|
|
231
|
+
'f_sub_state': '流程状态',
|
|
232
|
+
'f_apply_date': '报建日期',
|
|
233
|
+
'f_apply_remarks': '备注',
|
|
234
|
+
'f_payment_remarks': '缴费备注',
|
|
235
|
+
'f_operator': '发起人'
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
ready () {
|
|
240
|
+
// 调用查询
|
|
241
|
+
this.search()
|
|
242
|
+
},
|
|
243
|
+
events: {
|
|
244
|
+
},
|
|
245
|
+
methods: {
|
|
246
|
+
loadPage () {
|
|
247
|
+
this.$dispatch('loadPage')
|
|
248
|
+
},
|
|
249
|
+
// 查询
|
|
250
|
+
search () {
|
|
251
|
+
this.$dispatch('search')
|
|
252
|
+
},
|
|
253
|
+
check (val) {
|
|
254
|
+
this.$dispatch('apply', val)
|
|
255
|
+
},
|
|
256
|
+
async applyTypeChange () {
|
|
257
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
258
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
259
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
260
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
264
|
+
|
|
265
|
+
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}性质`)]
|
|
266
|
+
} else {
|
|
267
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
268
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
clear () {
|
|
272
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
273
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
274
|
+
})
|
|
275
|
+
},
|
|
276
|
+
getorg (val) {
|
|
277
|
+
if (val.length <= 0) {
|
|
278
|
+
return
|
|
279
|
+
}
|
|
280
|
+
this.model.params.data.orgid = val[0]
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
computed: {
|
|
284
|
+
getCondition () {
|
|
285
|
+
return {
|
|
286
|
+
condition: this.model.condition,
|
|
287
|
+
data: {
|
|
288
|
+
orgid: this.$login.f.orgid
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
</script>
|
|
295
|
+
<style scoped>
|
|
296
|
+
</style>
|