apply-clients 3.3.64 → 3.3.65
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
CHANGED
package/src/apply.js
CHANGED
|
@@ -39,12 +39,6 @@ export default function () {
|
|
|
39
39
|
// 报建菜单页面控制层
|
|
40
40
|
Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
|
|
41
41
|
|
|
42
|
-
/** 预约报建 **/
|
|
43
|
-
// 报建功能业务总入口
|
|
44
|
-
Vue.component('order-apply', (resolve) => { require(['./components/product/Order/OrderApply'], resolve) })
|
|
45
|
-
Vue.component('order-apply-list', (resolve) => { require(['./components/product/Order/OrderApplyList'], resolve) })
|
|
46
|
-
Vue.component('order-message', (resolve) => { require(['./components/product/Order/OrderMessage'], resolve) })
|
|
47
|
-
|
|
48
42
|
// 终止报建页面入口
|
|
49
43
|
Vue.component('stop-apply', (resolve) => { require(['./components/product/Stop/StopApply'], resolve) })
|
|
50
44
|
Vue.component('stop-apply-list', (resolve) => { require(['./components/product/Stop/StopApplyList'], resolve) })
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div :class="{'basic-main':!showRight,'binary-left':showRight}">
|
|
4
|
-
<order-apply-list v-ref:query></order-apply-list>
|
|
5
|
-
</div>
|
|
6
|
-
<div v-if="showRight" class="binary-right flex">
|
|
7
|
-
<order-message :selectdata="selectdata" :type="type"></order-message>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
<script>
|
|
12
|
-
import Vue from 'vue'
|
|
13
|
-
import {HttpResetClass} from 'vue-client'
|
|
14
|
-
export default {
|
|
15
|
-
title: '预约报建',
|
|
16
|
-
data () {
|
|
17
|
-
return {
|
|
18
|
-
showRight: false,
|
|
19
|
-
type: null,
|
|
20
|
-
selectdata: null
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
methods: {
|
|
24
|
-
},
|
|
25
|
-
events: {
|
|
26
|
-
'handleOrder' (type, row) {
|
|
27
|
-
this.showRight = false
|
|
28
|
-
|
|
29
|
-
this.type = type
|
|
30
|
-
this.selectdata = row
|
|
31
|
-
|
|
32
|
-
this.$nextTick(() => {
|
|
33
|
-
this.showRight = true
|
|
34
|
-
})
|
|
35
|
-
},
|
|
36
|
-
'search' () {
|
|
37
|
-
this.selectdata = null
|
|
38
|
-
this.showRight = false
|
|
39
|
-
this.type = null
|
|
40
|
-
|
|
41
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
watch: {
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
</script>
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' 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
|
-
<v-select
|
|
19
|
-
v-model="model.f_ordertype"
|
|
20
|
-
placeholder='预约类型'
|
|
21
|
-
condition="o.f_ordertype = '{}'"
|
|
22
|
-
:value.sync="model.f_ordertype"
|
|
23
|
-
:options='$parent.$parent.orderType'
|
|
24
|
-
class="select select_list"
|
|
25
|
-
:value-single="true"
|
|
26
|
-
close-on-select ></v-select>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="form-group col-sm-3">
|
|
29
|
-
<label class="font_normal_body">处理状态:</label>
|
|
30
|
-
<v-select
|
|
31
|
-
v-model="model.f_orderstate"
|
|
32
|
-
placeholder='处理状态'
|
|
33
|
-
condition="o.f_orderstate = '{}'"
|
|
34
|
-
:value.sync="model.f_orderstate"
|
|
35
|
-
:options='$parent.$parent.orderState'
|
|
36
|
-
class="select select_list"
|
|
37
|
-
:value-single="true"
|
|
38
|
-
close-on-select ></v-select>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="form-group col-sm-6 button-range">
|
|
41
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
42
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
-
<div
|
|
44
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
45
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
46
|
-
class="button_spacing"
|
|
47
|
-
style="float: right">
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
52
|
-
<div class="form-group col-sm-3">
|
|
53
|
-
<label class="font_normal_body">预约来源:</label>
|
|
54
|
-
<v-select
|
|
55
|
-
placeholder='预约来源'
|
|
56
|
-
v-model="model.f_order_source"
|
|
57
|
-
:value.sync="model.f_order_source"
|
|
58
|
-
condition="o.f_order_source = '{}'"
|
|
59
|
-
:options='$parent.$parent.orderSource'`
|
|
60
|
-
class="select select_list"
|
|
61
|
-
:value-single="true"
|
|
62
|
-
close-on-select ></v-select>
|
|
63
|
-
</div>
|
|
64
|
-
<div class="form-group col-sm-3">
|
|
65
|
-
<label class="font_normal_body">用户编号:</label>
|
|
66
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
67
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="o.f_userinfo_code like '%{}%'" placeholder='用户编号'>
|
|
68
|
-
</div>
|
|
69
|
-
<div class="form-group col-sm-3">
|
|
70
|
-
<label class="font_normal_body">用户姓名:</label>
|
|
71
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
72
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="o.f_user_name like '%{}%'" placeholder='用户姓名'>
|
|
73
|
-
</div>
|
|
74
|
-
<div class="form-group col-sm-3">
|
|
75
|
-
<label class="font_normal_body">联系电话:</label>
|
|
76
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
|
|
77
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="o.f_phone like '%{}%'" placeholder='联系电话'>
|
|
78
|
-
</div>
|
|
79
|
-
<div class="form-group col-sm-3">
|
|
80
|
-
<label class="font_normal_body">详细地址:</label>
|
|
81
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
82
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="o.f_address like '%{}%'" placeholder='详细地址'>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="form-group col-sm-3">
|
|
85
|
-
<label class="font_normal_body">审 核 人:</label>
|
|
86
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_check_user"
|
|
87
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="o.f_check_user like '%{}%'" placeholder='审核人'>
|
|
88
|
-
</div>
|
|
89
|
-
<div class="form-group col-sm-3">
|
|
90
|
-
<label class="font_normal_body">处 理 人:</label>
|
|
91
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_process_user"
|
|
92
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="o.f_process_user like '%{}%'" placeholder='处理人'>
|
|
93
|
-
</div>
|
|
94
|
-
<div class="form-group col-sm-3">
|
|
95
|
-
<label class="font_normal_body">报建编号:</label>
|
|
96
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_apply_num"
|
|
97
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="u.f_apply_num like '%{}%'" placeholder='报建编号'>
|
|
98
|
-
</div>
|
|
99
|
-
<div class="form-group col-sm-3">
|
|
100
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
101
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
102
|
-
style="width: 60%!important;"
|
|
103
|
-
v-model="model.startDate"
|
|
104
|
-
:value.sync="model.startDate"
|
|
105
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
106
|
-
:show-reset-button="true"
|
|
107
|
-
condition="o.f_orderdate >= '{}'">
|
|
108
|
-
</datepicker>
|
|
109
|
-
</div>
|
|
110
|
-
<div class="form-group col-sm-3">
|
|
111
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
112
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
113
|
-
style="width: 60%!important;"
|
|
114
|
-
v-model="model.endDate"
|
|
115
|
-
:value.sync="model.endDate"
|
|
116
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
117
|
-
:show-reset-button="true"
|
|
118
|
-
condition="o.f_orderdate <= '{}'">
|
|
119
|
-
</datepicker>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</criteria>
|
|
124
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
125
|
-
<template partial='head'>
|
|
126
|
-
<tr>
|
|
127
|
-
<th style="white-space: nowrap;">序号</th>
|
|
128
|
-
<th style="white-space: nowrap;">预约类型</th>
|
|
129
|
-
<th style="white-space: nowrap;">处理状态</th>
|
|
130
|
-
<th style="white-space: nowrap;">预约来源</th>
|
|
131
|
-
<th style="white-space: nowrap;">用户编号</th>
|
|
132
|
-
<th style="white-space: nowrap;">用户姓名</th>
|
|
133
|
-
<th style="white-space: nowrap;">联系电话</th>
|
|
134
|
-
<th style="white-space: nowrap;">预约地址</th>
|
|
135
|
-
<th style="white-space: nowrap;">备注信息</th>
|
|
136
|
-
<th style="white-space: nowrap;">预约时间</th>
|
|
137
|
-
<th style="white-space: nowrap;">报建编号</th>
|
|
138
|
-
<th style="white-space: nowrap;">操作</th>
|
|
139
|
-
</tr>
|
|
140
|
-
</template>
|
|
141
|
-
<template partial='body'>
|
|
142
|
-
<tr>
|
|
143
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
144
|
-
<nobr>{{$index+1}}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
147
|
-
<nobr>{{row.f_ordertype}}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
150
|
-
<nobr>{{row.f_orderstate}}</nobr>
|
|
151
|
-
</td>
|
|
152
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
153
|
-
<nobr>{{row.f_order_source}}</nobr>
|
|
154
|
-
</td>
|
|
155
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
156
|
-
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
157
|
-
</td>
|
|
158
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
159
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
160
|
-
</td>
|
|
161
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
162
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
163
|
-
</td>
|
|
164
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
165
|
-
<nobr>{{row.f_address}}</nobr>
|
|
166
|
-
</td>
|
|
167
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
168
|
-
<nobr>{{row.f_orderremark}}</nobr>
|
|
169
|
-
</td>
|
|
170
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
171
|
-
<nobr>{{row.f_orderdate}}</nobr>
|
|
172
|
-
</td>
|
|
173
|
-
<td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
|
|
174
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
175
|
-
</td>
|
|
176
|
-
<td style="text-align: center;">
|
|
177
|
-
<button class="button_search button_spacing width-60"
|
|
178
|
-
@click="$parent.$parent.$parent.handleOrder('check', row)"
|
|
179
|
-
v-if="row.f_orderstate === '待审核'"
|
|
180
|
-
>审核</button>
|
|
181
|
-
<button class="button_search button_spacing width-60"
|
|
182
|
-
@click="$parent.$parent.$parent.handleOrder('process', row)"
|
|
183
|
-
v-if="row.f_orderstate === '待处理' && row.f_ordertype !== '预约点火'"
|
|
184
|
-
>处理</button>
|
|
185
|
-
</td>
|
|
186
|
-
</tr>
|
|
187
|
-
</template>
|
|
188
|
-
</data-grid>
|
|
189
|
-
</criteria-paged>
|
|
190
|
-
</div>
|
|
191
|
-
</template>
|
|
192
|
-
<script>
|
|
193
|
-
import {PagedList} from 'vue-client'
|
|
194
|
-
export default {
|
|
195
|
-
title: '预约单',
|
|
196
|
-
data () {
|
|
197
|
-
return {
|
|
198
|
-
model: new PagedList('rs/sql/getOrderApply', 20, null),
|
|
199
|
-
curorgid: [this.$login.f.orgid],
|
|
200
|
-
criteriaShow: false,
|
|
201
|
-
orderType: [
|
|
202
|
-
{'label': '预约报装', 'value': '预约报装'},
|
|
203
|
-
{'label': '预约改管', 'value': '预约改管'},
|
|
204
|
-
{'label': '预约增容', 'value': '预约增容'},
|
|
205
|
-
{'label': '预约点火', 'value': '预约点火'}
|
|
206
|
-
],
|
|
207
|
-
orderState: [
|
|
208
|
-
{'label': '待审核', 'value': '待审核'},
|
|
209
|
-
{'label': '待处理', 'value': '待处理'},
|
|
210
|
-
{'label': '预约成功', 'value': '预约成功'},
|
|
211
|
-
{'label': '预约失败', 'value': '预约失败'}
|
|
212
|
-
],
|
|
213
|
-
orderSource: [
|
|
214
|
-
{'label': '微客服', 'value': '微客服'},
|
|
215
|
-
{'label': '呼叫中心', 'value': '呼叫中心'}
|
|
216
|
-
],
|
|
217
|
-
userType: [
|
|
218
|
-
{'label': '个人', 'value': '个人'},
|
|
219
|
-
{'label': '整体小区', 'value': '整体小区'}
|
|
220
|
-
],
|
|
221
|
-
userNature: [
|
|
222
|
-
{'label': '民用', 'value': '民用'},
|
|
223
|
-
{'label': '非民用', 'value': '非民用'}
|
|
224
|
-
]
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
ready () {
|
|
228
|
-
// 调用查询
|
|
229
|
-
this.search()
|
|
230
|
-
},
|
|
231
|
-
events: {
|
|
232
|
-
},
|
|
233
|
-
methods: {
|
|
234
|
-
// 处理
|
|
235
|
-
handleOrder (type, row) {
|
|
236
|
-
this.$dispatch('handleOrder', type, row)
|
|
237
|
-
},
|
|
238
|
-
searchCondition (args) {
|
|
239
|
-
args.condition = args.condition + ` and o.f_orgid = '${this.curorgid[0]}'`
|
|
240
|
-
this.model.search(args.condition, args.model)
|
|
241
|
-
},
|
|
242
|
-
search () {
|
|
243
|
-
this.$dispatch('search')
|
|
244
|
-
},
|
|
245
|
-
clear () {
|
|
246
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
247
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
248
|
-
})
|
|
249
|
-
},
|
|
250
|
-
getorg (val) {
|
|
251
|
-
if (val.length <= 0) {
|
|
252
|
-
return
|
|
253
|
-
}
|
|
254
|
-
this.curorgid = val
|
|
255
|
-
this.search()
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
computed: {
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
</script>
|
|
262
|
-
<style scoped>
|
|
263
|
-
</style>
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="form-horizontal select-overspread container-fluid row" style="overflow: scroll">
|
|
3
|
-
<validator name='v'>
|
|
4
|
-
<!-- 预约单信息 -->
|
|
5
|
-
<div class="auto">
|
|
6
|
-
<div class="col-sm-12 text-center bg-info pt-8">{{selectdata.f_ordertype}}</div>
|
|
7
|
-
<div class="col-sm-6 form-group ">
|
|
8
|
-
<label class="font_normal_body">预约来源</label>
|
|
9
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_order_source" readonly />
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-sm-6 form-group ">
|
|
12
|
-
<label class="font_normal_body">处理状态</label>
|
|
13
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_orderstate" readonly />
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-6 form-group ">
|
|
16
|
-
<label class="font_normal_body">用户编号</label>
|
|
17
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_userinfo_code" readonly />
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-6 form-group ">
|
|
20
|
-
<label class="font_normal_body">用户姓名</label>
|
|
21
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_user_name" readonly />
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col-sm-6 form-group ">
|
|
24
|
-
<label class="font_normal_body">联系电话</label>
|
|
25
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_phone" readonly />
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-sm-6 form-group ">
|
|
28
|
-
<label class="font_normal_body">预约时间</label>
|
|
29
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_orderdate" readonly />
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-12 form-group ">
|
|
32
|
-
<label class="font_normal_body">预约地址</label>
|
|
33
|
-
<input type="text" class="input_search" style="width: 80%" v-model="selectdata.f_address" readonly />
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-12 form-group ">
|
|
36
|
-
<label class="font_normal_body">预约备注</label>
|
|
37
|
-
<textarea
|
|
38
|
-
readonly rows="2" style="width: 80%;"
|
|
39
|
-
v-model="selectdata.f_orderremark"
|
|
40
|
-
></textarea>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="col-sm-12" style="min-height: 200px;max-height: 300px;margin: 10px auto" v-if="selectdata.f_fileurl">
|
|
43
|
-
<!-- <a href="http://192.168.20.27:8400/zhoukou-oracle/files/2021/9/17/fd2bd8dbe150f1c99d897f3c1ac1db45.jpg" target="_blank">-->
|
|
44
|
-
<!-- <img style="min-height: 150px;max-height: 200px;" src="http://192.168.20.27:8400/zhoukou-oracle/files/2021/9/17/fd2bd8dbe150f1c99d897f3c1ac1db45.jpg">-->
|
|
45
|
-
<!-- </a>-->
|
|
46
|
-
<a :href="selectdata.f_fileurl" target="_blank">
|
|
47
|
-
<img style="min-height: 150px;max-height: 200px;" :src="selectdata.f_fileurl">
|
|
48
|
-
</a>
|
|
49
|
-
<!-- <div class="col-sm-12 form-group" style="height: 200px!important;">-->
|
|
50
|
-
<!-- <img style="margin: auto;height: 100%" :src="selectdata.f_fileurl">-->
|
|
51
|
-
<!-- {{selectdata.f_fileurl}}-->
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<!-- 审核信息 -->
|
|
55
|
-
<div class="auto" v-if="type === 'check' || selectdata.f_orderstate !== '待审核'">
|
|
56
|
-
<div class="col-sm-12 text-center bg-info pt-8">审核信息</div>
|
|
57
|
-
<div class="col-sm-6 form-group" :class="[$v.check.required ? 'has-error' : '']">
|
|
58
|
-
<label class="font_normal_body">是否合格</label>
|
|
59
|
-
<input type="text" v-show="false" v-validate:check = "['required']" v-model="check">
|
|
60
|
-
<v-select
|
|
61
|
-
v-model="check"
|
|
62
|
-
:value.sync="check"
|
|
63
|
-
:options='checkOptions'
|
|
64
|
-
:value-single="true"
|
|
65
|
-
class="select select_list"
|
|
66
|
-
:search="false"
|
|
67
|
-
width="60%" :disabled="type === 'process' || selectdata.f_orderstate !== '待审核'"
|
|
68
|
-
close-on-select ></v-select>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="col-sm-12 form-group ">
|
|
71
|
-
<label class="font_normal_body">审核备注</label>
|
|
72
|
-
<textarea
|
|
73
|
-
rows="2" style="width: 80%;" :readonly="type === 'process' || selectdata.f_orderstate !== '待审核'"
|
|
74
|
-
v-model="selectdata.f_check_remark"
|
|
75
|
-
:value="selectdata.f_check_remark"
|
|
76
|
-
></textarea>
|
|
77
|
-
</div>
|
|
78
|
-
<div class="col-sm-6 form-group" v-if="type === 'process' || selectdata.f_orderstate !== '待审核'">
|
|
79
|
-
<label class="font_normal_body">审 核 人</label>
|
|
80
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_check_user" readonly />
|
|
81
|
-
</div>
|
|
82
|
-
<div class="col-sm-6 form-group" v-if="type === 'process' || selectdata.f_orderstate !== '待审核'">
|
|
83
|
-
<label class="font_normal_body">审核时间</label>
|
|
84
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_check_date" readonly />
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
<!-- 项目信息 -->
|
|
88
|
-
<div class="auto" v-if="selectdata.f_ordertype !== '预约点火' && (type === 'process' || selectdata.f_orderstate === '预约成功')">
|
|
89
|
-
<div class="col-sm-12 text-center bg-info pt-8">项目信息</div>
|
|
90
|
-
<div class="col-sm-6 form-group" v-if="selectdata.f_ordertype === '预约报装'" :class="[$v.f_apply_type.required ? 'has-error' : '']">
|
|
91
|
-
<label class="font_normal_body">报建类型</label>
|
|
92
|
-
<input type="text" v-show="false" v-validate:f_apply_type = "['required']" v-model="apply.f_apply_type">
|
|
93
|
-
<v-select
|
|
94
|
-
v-model="apply.f_apply_type"
|
|
95
|
-
:value.sync="apply.f_apply_type"
|
|
96
|
-
:options='applyType'
|
|
97
|
-
:value-single="true"
|
|
98
|
-
class="select select_list"
|
|
99
|
-
:search="false"
|
|
100
|
-
width="60%" :disabled="selectdata.f_orderstate === '预约成功'"
|
|
101
|
-
close-on-select ></v-select>
|
|
102
|
-
</div>
|
|
103
|
-
<div class="col-sm-6 form-group" v-if="selectdata.f_ordertype === '预约改管'">
|
|
104
|
-
<label class="font_normal_body">报建类型</label>
|
|
105
|
-
<input type="text" class="input_search" style="width: 60%" v-model="apply.f_apply_type" value="改管报建" readonly />
|
|
106
|
-
</div>
|
|
107
|
-
<div class="col-sm-6 form-group" v-if="selectdata.f_ordertype === '预约增容'">
|
|
108
|
-
<label class="font_normal_body">报建类型</label>
|
|
109
|
-
<input type="text" class="input_search" style="width: 60%" v-model="apply.f_apply_type" value="增容报建" readonly />
|
|
110
|
-
</div>
|
|
111
|
-
<div class="col-sm-6 form-group" v-if="selectdata.f_orderstate === '预约成功'">
|
|
112
|
-
<label class="font_normal_body">办 理 人</label>
|
|
113
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_dispose_operator" readonly />
|
|
114
|
-
</div>
|
|
115
|
-
<div class="col-sm-6 form-group" v-if="selectdata.f_orderstate === '预约成功'">
|
|
116
|
-
<label class="font_normal_body">办理时间</label>
|
|
117
|
-
<input type="text" class="input_search" style="width: 60%" v-model="selectdata.f_disposedate" readonly />
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
|
|
121
|
-
<div class="col-sm-12 text-right button-range auto" style="margin-top: 10px">
|
|
122
|
-
<button class="button_search button_spacing" :disabled='!$v.valid'
|
|
123
|
-
v-if="type !== 'view' && selectdata.f_orderstate === '待审核'"
|
|
124
|
-
@click="checkOrder()">保存</button>
|
|
125
|
-
<button class="button_search button_spacing" :disabled='!$v.valid'
|
|
126
|
-
v-if="type !== 'view' && selectdata.f_orderstate === '待处理'"
|
|
127
|
-
@click="batchApply()">保存</button>
|
|
128
|
-
<button class="button_clear button_spacing" @click="cancel()">取消</button>
|
|
129
|
-
</div>
|
|
130
|
-
</validator>
|
|
131
|
-
</div>
|
|
132
|
-
</template>
|
|
133
|
-
<script>
|
|
134
|
-
import Vue from 'vue'
|
|
135
|
-
import {HttpResetClass} from 'vue-client'
|
|
136
|
-
export default {
|
|
137
|
-
title: '预约详情',
|
|
138
|
-
props: ['selectdata', 'type'],
|
|
139
|
-
data () {
|
|
140
|
-
return {
|
|
141
|
-
showRight: false,
|
|
142
|
-
selectdata: null,
|
|
143
|
-
checkOptions: [
|
|
144
|
-
{
|
|
145
|
-
label: '是',
|
|
146
|
-
value: '是'
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
label: '否',
|
|
150
|
-
value: '否'
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
check: null,
|
|
154
|
-
apply: {}
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
async ready () {
|
|
158
|
-
if (this.selectdata.f_orderstate === '待处理' || this.selectdata.f_orderstate === '预约成功') {
|
|
159
|
-
this.check = '是'
|
|
160
|
-
}
|
|
161
|
-
if (this.selectdata.f_orderstate === '预约失败') {
|
|
162
|
-
this.check = '否'
|
|
163
|
-
}
|
|
164
|
-
if (this.selectdata.f_orderstate === '预约成功') {
|
|
165
|
-
let data = {
|
|
166
|
-
tablename: 't_apply',
|
|
167
|
-
condition: `f_process_id = '${this.selectdata.f_process_id}'`
|
|
168
|
-
}
|
|
169
|
-
let res = await this.$resetpost(
|
|
170
|
-
`rs/sql/singleTable`,
|
|
171
|
-
{data: data},
|
|
172
|
-
{resolveMsg: null, rejectMsg: '所属项目查询失败!!!'}
|
|
173
|
-
)
|
|
174
|
-
|
|
175
|
-
this.apply = {
|
|
176
|
-
f_entry_name: res.data[0].f_entry_name,
|
|
177
|
-
f_apply_type: res.data[0].f_apply_type
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
methods: {
|
|
182
|
-
async batchApply () {
|
|
183
|
-
let data = {
|
|
184
|
-
selectdata: this.selectdata,
|
|
185
|
-
apply: this.apply,
|
|
186
|
-
user: this.$login.f
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
let res = await this.$resetpost(
|
|
190
|
-
`rs/logic/initiateOrderApply`,
|
|
191
|
-
data,
|
|
192
|
-
{resolveMsg: null,rejectMsg: '预约单处理失败!!!'}
|
|
193
|
-
)
|
|
194
|
-
|
|
195
|
-
this.cancel()
|
|
196
|
-
},
|
|
197
|
-
async checkOrder () {
|
|
198
|
-
let data = {
|
|
199
|
-
selectdata: this.selectdata,
|
|
200
|
-
check: this.check,
|
|
201
|
-
user: this.$login.f
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
let res = await this.$resetpost(
|
|
205
|
-
`rs/logic/checkOrder`,
|
|
206
|
-
data,
|
|
207
|
-
{resolveMsg: null,rejectMsg: '预约单审核处理失败!!!'}
|
|
208
|
-
)
|
|
209
|
-
|
|
210
|
-
this.cancel()
|
|
211
|
-
},
|
|
212
|
-
cancel () {
|
|
213
|
-
this.$dispatch('search')
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
events: {
|
|
217
|
-
},
|
|
218
|
-
computed: {
|
|
219
|
-
applyType () {
|
|
220
|
-
return this.$appdata.getParam("报建类型").filter(item => {
|
|
221
|
-
return item.label === '工商户报建' || item.label === '散户报建'
|
|
222
|
-
})
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
watch: {
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
</script>
|
|
229
|
-
<style scoped>
|
|
230
|
-
input[readonly],textarea[readonly] {
|
|
231
|
-
border: 1px solid #DDD!important;
|
|
232
|
-
color:#ACA899!important;
|
|
233
|
-
}
|
|
234
|
-
textarea {
|
|
235
|
-
padding: 2px;
|
|
236
|
-
}
|
|
237
|
-
</style>
|