apply-clients 3.3.219 → 3.3.220
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
|
@@ -81,6 +81,7 @@ export default function (filiale) {
|
|
|
81
81
|
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
82
82
|
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/GaoPaiYi/HighMeter'], resolve) })
|
|
83
83
|
|
|
84
|
+
// Vue.component('apply-order', (resolve) => { require(['./components/android/Order/ApplyOrder'], resolve) })
|
|
84
85
|
if (filiale) {
|
|
85
86
|
let filialeComp = require(`./filiale/${filiale}/pc`).specialComp
|
|
86
87
|
for (let key in filialeComp) {
|
package/src/applyAndroid.js
CHANGED
|
@@ -43,7 +43,8 @@ export default function (filiale) {
|
|
|
43
43
|
Vue.component('market_survey', (resolve) => { require(['./components/product/Function/MarketSurvey'], resolve) })
|
|
44
44
|
// 安装标准告知单
|
|
45
45
|
Vue.component('inform', (resolve) => { require(['./components/product/Function/Inform'], resolve) })
|
|
46
|
-
|
|
46
|
+
//手机预约报装页面
|
|
47
|
+
Vue.component('apply-order', (resolve) => { require(['./components/android/Order/ApplyOrder'], resolve) })
|
|
47
48
|
if (filiale) {
|
|
48
49
|
let filialeComp = require(`./filiale/${filiale}/android`).specialComp
|
|
49
50
|
for (let key in filialeComp) {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<validator name='v'>
|
|
3
|
+
<div partial class="auto">
|
|
4
|
+
<div class="row form-group app-input" style="margin-top: 20px">
|
|
5
|
+
<label class="font_normal_body">用 户 名</label>
|
|
6
|
+
<input type="text" class="input_search" v-model="selectdata.f_user_name" v-validate:f_user_name = "['required']"/>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row form-group app-input">
|
|
9
|
+
<label class="font_normal_body">电   话</label>
|
|
10
|
+
<input type="text" class="input_search" v-model="selectdata.f_phone" v-validate:f_phone = "['required']" />
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row form-group app-input">
|
|
13
|
+
<label class="font_normal_body">地   址</label>
|
|
14
|
+
<input type="text" class="input_search" v-model="selectdata.f_address" v-validate:f_address = "['required']" />
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row form-group app-input">
|
|
17
|
+
<label class="font_normal_body">公   司</label>
|
|
18
|
+
<input type="text" class="input_search" v-model="selectdata.f_orgname" v-validate:f_orgname = "['required']" />
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row form-group app-input">
|
|
21
|
+
<label class="font_normal_body">用气位置</label>
|
|
22
|
+
<input type="text" class="input_search" v-model="selectdata.f_usegasposition" v-validate:f_usegasposition = "['required']" />
|
|
23
|
+
</div>
|
|
24
|
+
<div class="row form-group app-input">
|
|
25
|
+
<label class="font_normal_body">用戶类型</label>
|
|
26
|
+
<input type="text" class="input_search" v-model="selectdata.f_user_type" v-validate:f_user_type = "['required']" />
|
|
27
|
+
</div>
|
|
28
|
+
<div class="row form-group app-input">
|
|
29
|
+
<label class="font_normal_body">省 市 区</label>
|
|
30
|
+
<input type="text" class="input_search" v-model="selectdata.f_pcd" v-validate:f_pcd = "['required']" />
|
|
31
|
+
</div>
|
|
32
|
+
<div class="row form-group app-input">
|
|
33
|
+
<label class="font_normal_body">备用电话</label>
|
|
34
|
+
<input type="text" class="input_search" v-model="selectdata.f_spare_phone" v-validate:f_spare_phone = "['required']" />
|
|
35
|
+
</div>
|
|
36
|
+
<div class="row form-group app-input">
|
|
37
|
+
<label class="font_normal_body">安装情况</label>
|
|
38
|
+
<input type="text" class="input_search" v-model="selectdata.f_installation_situation" v-validate:f_installation_situation = "['required']" />
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="row form-group text-right" style="">
|
|
42
|
+
<button class="button_search button_spacing" :disabled='!$v.valid'
|
|
43
|
+
v-if="type !== 'view'"
|
|
44
|
+
@click="checkOrder()">保存</button>
|
|
45
|
+
<button class="button_clear button_spacing" @click="clear()">清除</button>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</validator>
|
|
49
|
+
</template>
|
|
50
|
+
|
|
51
|
+
<script>
|
|
52
|
+
export default {
|
|
53
|
+
title: '预约报装',
|
|
54
|
+
name: "ApplyOrder",
|
|
55
|
+
data() {
|
|
56
|
+
return {
|
|
57
|
+
selectdata: null
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
methods: {
|
|
61
|
+
async checkOrder() {
|
|
62
|
+
let data = {
|
|
63
|
+
selectdata: this.selectdata,
|
|
64
|
+
check: this.check,
|
|
65
|
+
user: this.$login.f
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
let res = await this.$resetpost(
|
|
69
|
+
`rs/logic/ApplyOrder`,
|
|
70
|
+
data,
|
|
71
|
+
{resolveMsg: null, rejectMsg: '申请报装失败,请检查内容!!!'}
|
|
72
|
+
)
|
|
73
|
+
this.clear()
|
|
74
|
+
},
|
|
75
|
+
clear() {
|
|
76
|
+
Object.keys(this.selectdata).forEach((key) => {
|
|
77
|
+
this.selectdata[key] = null
|
|
78
|
+
})
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
83
|
+
|
|
84
|
+
<style scoped>
|
|
85
|
+
|
|
86
|
+
</style>
|
|
@@ -1,270 +1,270 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="p-10">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
5
|
-
<div partial class="auto">
|
|
6
|
-
<div class="row form-group app-input">
|
|
7
|
-
<label class="">客户名称:</label>
|
|
8
|
-
<div class="col-xs-8" >
|
|
9
|
-
<input class="" v-model=model.f_user_name condition="u.f_user_name 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_phone condition="u.f_phone 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
|
-
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
25
|
-
<label class="">合同编号:</label>
|
|
26
|
-
<div class="col-xs-8" >
|
|
27
|
-
<input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
31
|
-
<label class="">报建类型:</label>
|
|
32
|
-
<div class="col-xs-8" >
|
|
33
|
-
<v-select
|
|
34
|
-
width="100%"
|
|
35
|
-
v-model="model.f_apply_type"
|
|
36
|
-
placeholder='报建类型'
|
|
37
|
-
condition="u.f_apply_type like '%{}%'"
|
|
38
|
-
:value.sync="model.f_apply_type"
|
|
39
|
-
:options='$parent.$parent.applytype'
|
|
40
|
-
class="select select_list"
|
|
41
|
-
:value-single="true"
|
|
42
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
43
|
-
close-on-select ></v-select>
|
|
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
|
-
<v-select
|
|
50
|
-
width="100%"
|
|
51
|
-
v-model="model.defname"
|
|
52
|
-
placeholder='办理环节'
|
|
53
|
-
condition="act.defname = '{}'"
|
|
54
|
-
:value.sync="model.defname"
|
|
55
|
-
:options='$parent.$parent.defnames'
|
|
56
|
-
class="select select_list"
|
|
57
|
-
:value-single="true"
|
|
58
|
-
close-on-select ></v-select>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
62
|
-
<label class="">用户地址:</label>
|
|
63
|
-
<div class="col-xs-8" >
|
|
64
|
-
<input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
68
|
-
<label class="">开始时间:</label>
|
|
69
|
-
<div class="col-xs-8" >
|
|
70
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
71
|
-
style="width: 100%!important;"
|
|
72
|
-
v-model="model.startDate"
|
|
73
|
-
:value.sync="model.startDate"
|
|
74
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
75
|
-
:show-reset-button="true"
|
|
76
|
-
condition="u.f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
77
|
-
</datepicker>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
81
|
-
<label class="">结束时间:</label>
|
|
82
|
-
<div class="col-xs-8" >
|
|
83
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
84
|
-
style="width: 100%!important;"
|
|
85
|
-
v-model="model.endDate"
|
|
86
|
-
:value.sync="model.endDate"
|
|
87
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
88
|
-
:show-reset-button="true"
|
|
89
|
-
condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
90
|
-
</datepicker>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
<div class="row form-group text-right" style="">
|
|
94
|
-
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
95
|
-
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
96
|
-
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</criteria>
|
|
100
|
-
|
|
101
|
-
<list :model="model" partial='list'>
|
|
102
|
-
<div partial class="auto app-text panel">
|
|
103
|
-
<div class="panel-body panel-self">
|
|
104
|
-
<div class="col-xs-12">
|
|
105
|
-
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
106
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
|
|
107
|
-
</div>
|
|
108
|
-
<div class="col-xs-12">
|
|
109
|
-
<p class="col-xs-3 text-left font"><b>电  话:</b></p>
|
|
110
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_phone }}</p>
|
|
111
|
-
</div>
|
|
112
|
-
<div class="col-xs-12">
|
|
113
|
-
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
114
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="col-xs-12">
|
|
117
|
-
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
118
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="col-xs-12">
|
|
121
|
-
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
122
|
-
<p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
|
|
123
|
-
</div>
|
|
124
|
-
<div class="col-xs-12">
|
|
125
|
-
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
126
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
|
|
127
|
-
</div>
|
|
128
|
-
<div class="col-xs-12">
|
|
129
|
-
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
130
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
|
|
131
|
-
</div>
|
|
132
|
-
|
|
133
|
-
<div class="col-xs-12 text-right">
|
|
134
|
-
<button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</list>
|
|
139
|
-
</criteria-paged>
|
|
140
|
-
</div>
|
|
141
|
-
</template>
|
|
142
|
-
<script>
|
|
143
|
-
import Vue from 'vue'
|
|
144
|
-
import { PagedList, HttpResetClass } from 'vue-client'
|
|
145
|
-
import {isEmpty} from '../../Util'
|
|
146
|
-
export default {
|
|
147
|
-
title: '报建流程',
|
|
148
|
-
data () {
|
|
149
|
-
return {
|
|
150
|
-
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
|
|
151
|
-
// model: new PagedList('rs/sql/checkuser', 20, {
|
|
152
|
-
data: {
|
|
153
|
-
id: Vue.user.id,
|
|
154
|
-
orgid: Vue.user.orgid
|
|
155
|
-
// id: '1626081',
|
|
156
|
-
// orgid: '1123'
|
|
157
|
-
}
|
|
158
|
-
}),
|
|
159
|
-
criteriaShow: false,
|
|
160
|
-
applytype: this.$appdata.getParam('报建类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]:[{label: '全部', value: ''}], // 所有报建类型
|
|
161
|
-
// applytype: [{label: '全部', value: ''},{label: '散户报建', value: '散户报建'}], // 所有报建类型
|
|
162
|
-
|
|
163
|
-
defnames: [{label: '全部', value: ''}]
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
ready () {
|
|
167
|
-
this.search()
|
|
168
|
-
},
|
|
169
|
-
methods: {
|
|
170
|
-
clear () {
|
|
171
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
172
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
173
|
-
})
|
|
174
|
-
},
|
|
175
|
-
// 查询
|
|
176
|
-
search () {
|
|
177
|
-
this.$refs.cp.$refs.cri.search()
|
|
178
|
-
},
|
|
179
|
-
searchCondition (args) {
|
|
180
|
-
args.condition
|
|
181
|
-
this.model.search(args.condition, args.model)
|
|
182
|
-
},
|
|
183
|
-
click (row) {
|
|
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.search)
|
|
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
|
-
} else {
|
|
202
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
events: {
|
|
207
|
-
},
|
|
208
|
-
watch: {
|
|
209
|
-
},
|
|
210
|
-
computed: {
|
|
211
|
-
appDefnames () {
|
|
212
|
-
// let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'}]
|
|
213
|
-
let list = this.$appdata.getParam('手机节点')
|
|
214
|
-
return `(${list.map(item => `'${item.value}'`).toString()})`
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
</script>
|
|
219
|
-
<style scoped>
|
|
220
|
-
.panel-self{
|
|
221
|
-
border-radius: 10px;
|
|
222
|
-
border:1px solid #499EDF;
|
|
223
|
-
background-color: #F8F8F8;
|
|
224
|
-
}
|
|
225
|
-
.font{
|
|
226
|
-
font: 15px PingFang-SC-Medium;
|
|
227
|
-
color: #666666;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.button_shrink_top {
|
|
231
|
-
width: 34px;
|
|
232
|
-
height: 34px;
|
|
233
|
-
border: solid 1px #6aa6e2;
|
|
234
|
-
background-size: 100%;
|
|
235
|
-
background-image: url("../../../../static/newStyle/stretch_top.png")
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.button_shrink_bottom {
|
|
239
|
-
width: 34px;
|
|
240
|
-
height: 34px;
|
|
241
|
-
border: solid 1px #6aa6e2;
|
|
242
|
-
background-size: 100%;
|
|
243
|
-
background-image: url("../../../../static/newStyle/stretch_bottom.png")
|
|
244
|
-
}
|
|
245
|
-
</style>
|
|
246
|
-
<style lang="less">
|
|
247
|
-
.app-input {
|
|
248
|
-
label {
|
|
249
|
-
float: left;
|
|
250
|
-
}
|
|
251
|
-
.select {
|
|
252
|
-
button {
|
|
253
|
-
border: none;
|
|
254
|
-
outline: none;
|
|
255
|
-
text-align: left;
|
|
256
|
-
.btn-placeholder {
|
|
257
|
-
color: #ACA899
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
.datepicker {
|
|
262
|
-
.form-control:focus {
|
|
263
|
-
border: none!important;
|
|
264
|
-
outline: none!important;
|
|
265
|
-
-webkit-box-shadow: none;
|
|
266
|
-
box-shadow: none;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
</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">
|
|
7
|
+
<label class="">客户名称:</label>
|
|
8
|
+
<div class="col-xs-8" >
|
|
9
|
+
<input class="" v-model=model.f_user_name condition="u.f_user_name 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_phone condition="u.f_phone 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
|
+
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
25
|
+
<label class="">合同编号:</label>
|
|
26
|
+
<div class="col-xs-8" >
|
|
27
|
+
<input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
31
|
+
<label class="">报建类型:</label>
|
|
32
|
+
<div class="col-xs-8" >
|
|
33
|
+
<v-select
|
|
34
|
+
width="100%"
|
|
35
|
+
v-model="model.f_apply_type"
|
|
36
|
+
placeholder='报建类型'
|
|
37
|
+
condition="u.f_apply_type like '%{}%'"
|
|
38
|
+
:value.sync="model.f_apply_type"
|
|
39
|
+
:options='$parent.$parent.applytype'
|
|
40
|
+
class="select select_list"
|
|
41
|
+
:value-single="true"
|
|
42
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
43
|
+
close-on-select ></v-select>
|
|
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
|
+
<v-select
|
|
50
|
+
width="100%"
|
|
51
|
+
v-model="model.defname"
|
|
52
|
+
placeholder='办理环节'
|
|
53
|
+
condition="act.defname = '{}'"
|
|
54
|
+
:value.sync="model.defname"
|
|
55
|
+
:options='$parent.$parent.defnames'
|
|
56
|
+
class="select select_list"
|
|
57
|
+
:value-single="true"
|
|
58
|
+
close-on-select ></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
62
|
+
<label class="">用户地址:</label>
|
|
63
|
+
<div class="col-xs-8" >
|
|
64
|
+
<input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
68
|
+
<label class="">开始时间:</label>
|
|
69
|
+
<div class="col-xs-8" >
|
|
70
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
71
|
+
style="width: 100%!important;"
|
|
72
|
+
v-model="model.startDate"
|
|
73
|
+
:value.sync="model.startDate"
|
|
74
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
75
|
+
:show-reset-button="true"
|
|
76
|
+
condition="u.f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
77
|
+
</datepicker>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
81
|
+
<label class="">结束时间:</label>
|
|
82
|
+
<div class="col-xs-8" >
|
|
83
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
84
|
+
style="width: 100%!important;"
|
|
85
|
+
v-model="model.endDate"
|
|
86
|
+
:value.sync="model.endDate"
|
|
87
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
88
|
+
:show-reset-button="true"
|
|
89
|
+
condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
90
|
+
</datepicker>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="row form-group text-right" style="">
|
|
94
|
+
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
95
|
+
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
96
|
+
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</criteria>
|
|
100
|
+
|
|
101
|
+
<list :model="model" partial='list'>
|
|
102
|
+
<div partial class="auto app-text panel">
|
|
103
|
+
<div class="panel-body panel-self">
|
|
104
|
+
<div class="col-xs-12">
|
|
105
|
+
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
106
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="col-xs-12">
|
|
109
|
+
<p class="col-xs-3 text-left font"><b>电  话:</b></p>
|
|
110
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_phone }}</p>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="col-xs-12">
|
|
113
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
114
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="col-xs-12">
|
|
117
|
+
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
118
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="col-xs-12">
|
|
121
|
+
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
122
|
+
<p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="col-xs-12">
|
|
125
|
+
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
126
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="col-xs-12">
|
|
129
|
+
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
130
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div class="col-xs-12 text-right">
|
|
134
|
+
<button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</list>
|
|
139
|
+
</criteria-paged>
|
|
140
|
+
</div>
|
|
141
|
+
</template>
|
|
142
|
+
<script>
|
|
143
|
+
import Vue from 'vue'
|
|
144
|
+
import { PagedList, HttpResetClass } from 'vue-client'
|
|
145
|
+
import {isEmpty} from '../../Util'
|
|
146
|
+
export default {
|
|
147
|
+
title: '报建流程',
|
|
148
|
+
data () {
|
|
149
|
+
return {
|
|
150
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
|
|
151
|
+
// model: new PagedList('rs/sql/checkuser', 20, {
|
|
152
|
+
data: {
|
|
153
|
+
id: Vue.user.id,
|
|
154
|
+
orgid: Vue.user.orgid
|
|
155
|
+
// id: '1626081',
|
|
156
|
+
// orgid: '1123'
|
|
157
|
+
}
|
|
158
|
+
}),
|
|
159
|
+
criteriaShow: false,
|
|
160
|
+
applytype: this.$appdata.getParam('报建类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]:[{label: '全部', value: ''}], // 所有报建类型
|
|
161
|
+
// applytype: [{label: '全部', value: ''},{label: '散户报建', value: '散户报建'}], // 所有报建类型
|
|
162
|
+
|
|
163
|
+
defnames: [{label: '全部', value: ''}]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
ready () {
|
|
167
|
+
this.search()
|
|
168
|
+
},
|
|
169
|
+
methods: {
|
|
170
|
+
clear () {
|
|
171
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
172
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
173
|
+
})
|
|
174
|
+
},
|
|
175
|
+
// 查询
|
|
176
|
+
search () {
|
|
177
|
+
this.$refs.cp.$refs.cri.search()
|
|
178
|
+
},
|
|
179
|
+
searchCondition (args) {
|
|
180
|
+
args.condition
|
|
181
|
+
this.model.search(args.condition, args.model)
|
|
182
|
+
},
|
|
183
|
+
click (row) {
|
|
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.search)
|
|
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
|
+
} else {
|
|
202
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
events: {
|
|
207
|
+
},
|
|
208
|
+
watch: {
|
|
209
|
+
},
|
|
210
|
+
computed: {
|
|
211
|
+
appDefnames () {
|
|
212
|
+
// let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'}]
|
|
213
|
+
let list = this.$appdata.getParam('手机节点')
|
|
214
|
+
return `(${list.map(item => `'${item.value}'`).toString()})`
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
</script>
|
|
219
|
+
<style scoped>
|
|
220
|
+
.panel-self{
|
|
221
|
+
border-radius: 10px;
|
|
222
|
+
border:1px solid #499EDF;
|
|
223
|
+
background-color: #F8F8F8;
|
|
224
|
+
}
|
|
225
|
+
.font{
|
|
226
|
+
font: 15px PingFang-SC-Medium;
|
|
227
|
+
color: #666666;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.button_shrink_top {
|
|
231
|
+
width: 34px;
|
|
232
|
+
height: 34px;
|
|
233
|
+
border: solid 1px #6aa6e2;
|
|
234
|
+
background-size: 100%;
|
|
235
|
+
background-image: url("../../../../static/newStyle/stretch_top.png")
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.button_shrink_bottom {
|
|
239
|
+
width: 34px;
|
|
240
|
+
height: 34px;
|
|
241
|
+
border: solid 1px #6aa6e2;
|
|
242
|
+
background-size: 100%;
|
|
243
|
+
background-image: url("../../../../static/newStyle/stretch_bottom.png")
|
|
244
|
+
}
|
|
245
|
+
</style>
|
|
246
|
+
<style lang="less">
|
|
247
|
+
.app-input {
|
|
248
|
+
label {
|
|
249
|
+
float: left;
|
|
250
|
+
}
|
|
251
|
+
.select {
|
|
252
|
+
button {
|
|
253
|
+
border: none;
|
|
254
|
+
outline: none;
|
|
255
|
+
text-align: left;
|
|
256
|
+
.btn-placeholder {
|
|
257
|
+
color: #ACA899
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
.datepicker {
|
|
262
|
+
.form-control:focus {
|
|
263
|
+
border: none!important;
|
|
264
|
+
outline: none!important;
|
|
265
|
+
-webkit-box-shadow: none;
|
|
266
|
+
box-shadow: none;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
</style>
|
|
@@ -1,262 +1,262 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="p-10">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div partial class="auto">
|
|
6
|
-
<div class="row form-group app-input">
|
|
7
|
-
<label class="">客户名称:</label>
|
|
8
|
-
<div class="col-xs-8" >
|
|
9
|
-
<input class="" v-model=model.f_user_name condition="u.f_user_name 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_contact condition="u.f_contact 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
|
-
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
25
|
-
<label class="">合同编号:</label>
|
|
26
|
-
<div class="col-xs-8" >
|
|
27
|
-
<input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
31
|
-
<label class="">报建类型:</label>
|
|
32
|
-
<div class="col-xs-8" >
|
|
33
|
-
<v-select
|
|
34
|
-
width="100%"
|
|
35
|
-
v-model="model.f_apply_type"
|
|
36
|
-
placeholder='报建类型'
|
|
37
|
-
condition="u.f_apply_type like '%{}%'"
|
|
38
|
-
:value.sync="model.f_apply_type"
|
|
39
|
-
:options='$parent.$parent.applytype'
|
|
40
|
-
class="select select_list"
|
|
41
|
-
:value-single="true"
|
|
42
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
43
|
-
close-on-select ></v-select>
|
|
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
|
-
<v-select
|
|
50
|
-
width="100%"
|
|
51
|
-
v-model="model.defname"
|
|
52
|
-
placeholder='办理环节'
|
|
53
|
-
condition="act.defname = '{}'"
|
|
54
|
-
:value.sync="model.defname"
|
|
55
|
-
:options='$parent.$parent.defnames'
|
|
56
|
-
class="select select_list"
|
|
57
|
-
:value-single="true"
|
|
58
|
-
close-on-select ></v-select>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
62
|
-
<label class="">联系电话:</label>
|
|
63
|
-
<div class="col-xs-8" >
|
|
64
|
-
<input class="" v-model=model.f_phone condition="u.f_phone like '%{}%'" />
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
68
|
-
<label class="">用户地址:</label>
|
|
69
|
-
<div class="col-xs-8" >
|
|
70
|
-
<input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
74
|
-
<label class="">开始时间:</label>
|
|
75
|
-
<div class="col-xs-8" >
|
|
76
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
77
|
-
style="width: 100%!important;"
|
|
78
|
-
v-model="model.startDate"
|
|
79
|
-
:value.sync="model.startDate"
|
|
80
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
81
|
-
:show-reset-button="true"
|
|
82
|
-
condition="u.f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
83
|
-
</datepicker>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
87
|
-
<label class="">结束时间:</label>
|
|
88
|
-
<div class="col-xs-8" >
|
|
89
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
90
|
-
style="width: 100%!important;"
|
|
91
|
-
v-model="model.endDate"
|
|
92
|
-
:value.sync="model.endDate"
|
|
93
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
94
|
-
:show-reset-button="true"
|
|
95
|
-
condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
96
|
-
</datepicker>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
<div class="row form-group text-right" style="">
|
|
100
|
-
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
101
|
-
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
102
|
-
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
</criteria>
|
|
106
|
-
<list :model="model" partial='list'>
|
|
107
|
-
<div partial class="auto app-text panel">
|
|
108
|
-
<div class="panel-body panel-self">
|
|
109
|
-
<div class="col-xs-12">
|
|
110
|
-
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
111
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="col-xs-12">
|
|
114
|
-
<p class="col-xs-3 text-left font"><b>电  话:</b></p>
|
|
115
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_phone }}</p>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="col-xs-12">
|
|
118
|
-
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
119
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
|
|
120
|
-
</div>
|
|
121
|
-
<div class="col-xs-12">
|
|
122
|
-
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
123
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
|
|
124
|
-
</div>
|
|
125
|
-
<div class="col-xs-12">
|
|
126
|
-
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
127
|
-
<p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
|
|
128
|
-
</div>
|
|
129
|
-
<div class="col-xs-12">
|
|
130
|
-
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
131
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
|
|
132
|
-
</div>
|
|
133
|
-
<div class="col-xs-12">
|
|
134
|
-
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
135
|
-
<p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
|
|
136
|
-
</div>
|
|
137
|
-
|
|
138
|
-
<div class="col-xs-12 text-right">
|
|
139
|
-
<button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看</button>
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|
|
143
|
-
</list>
|
|
144
|
-
</criteria-paged>
|
|
145
|
-
</div>
|
|
146
|
-
</template>
|
|
147
|
-
<script>
|
|
148
|
-
import Vue from 'vue'
|
|
149
|
-
import { PagedList, HttpResetClass } from 'vue-client'
|
|
150
|
-
import {isEmpty} from '../../Util'
|
|
151
|
-
export default {
|
|
152
|
-
title: '报建流程',
|
|
153
|
-
data () {
|
|
154
|
-
return {
|
|
155
|
-
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`, 20, {
|
|
156
|
-
// model: new PagedList('rs/sql/supervisory', 20, {
|
|
157
|
-
data: {
|
|
158
|
-
id: Vue.user.id,
|
|
159
|
-
orgid: Vue.user.orgid
|
|
160
|
-
// id: '1626081',
|
|
161
|
-
// orgid: '1123'
|
|
162
|
-
}
|
|
163
|
-
}),
|
|
164
|
-
criteriaShow: false,
|
|
165
|
-
applytype: this.$appdata.getParam('报建类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]:[{label: '全部', value: ''}], // 所有报建类型
|
|
166
|
-
// applytype: [{label: '全部', value: ''},{label: '散户报建', value: '散户报建'}], // 所有报建类型
|
|
167
|
-
defnames: [{label: '全部', value: ''}]
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
ready () {
|
|
171
|
-
this.search()
|
|
172
|
-
},
|
|
173
|
-
methods: {
|
|
174
|
-
clear () {
|
|
175
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
176
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
177
|
-
})
|
|
178
|
-
},
|
|
179
|
-
// 查询
|
|
180
|
-
search () {
|
|
181
|
-
this.$refs.cp.$refs.cri.search()
|
|
182
|
-
},
|
|
183
|
-
click (row) {
|
|
184
|
-
let _this = this
|
|
185
|
-
this.$dispatch('gotoson', {
|
|
186
|
-
_this: _this,
|
|
187
|
-
title: '详情信息',
|
|
188
|
-
safe: true
|
|
189
|
-
})
|
|
190
|
-
this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
|
|
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
|
-
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
197
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
198
|
-
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
199
|
-
})
|
|
200
|
-
} else {
|
|
201
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
events: {
|
|
206
|
-
},
|
|
207
|
-
watch: {
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
</script>
|
|
211
|
-
<style scoped>
|
|
212
|
-
.panel-self{
|
|
213
|
-
border-radius: 10px;
|
|
214
|
-
border:1px solid #499EDF;
|
|
215
|
-
background-color: #F8F8F8;
|
|
216
|
-
}
|
|
217
|
-
.font{
|
|
218
|
-
font: 15px PingFang-SC-Medium;
|
|
219
|
-
color: #666666;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.button_shrink_top {
|
|
223
|
-
width: 34px;
|
|
224
|
-
height: 34px;
|
|
225
|
-
border: solid 1px #6aa6e2;
|
|
226
|
-
background-size: 100%;
|
|
227
|
-
background-image: url("../../../../static/newStyle/stretch_top.png")
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.button_shrink_bottom {
|
|
231
|
-
width: 34px;
|
|
232
|
-
height: 34px;
|
|
233
|
-
border: solid 1px #6aa6e2;
|
|
234
|
-
background-size: 100%;
|
|
235
|
-
background-image: url("../../../../static/newStyle/stretch_bottom.png")
|
|
236
|
-
}
|
|
237
|
-
</style>
|
|
238
|
-
<style lang="less">
|
|
239
|
-
.app-input {
|
|
240
|
-
label {
|
|
241
|
-
float: left;
|
|
242
|
-
}
|
|
243
|
-
.select {
|
|
244
|
-
button {
|
|
245
|
-
border: none;
|
|
246
|
-
outline: none;
|
|
247
|
-
text-align: left;
|
|
248
|
-
.btn-placeholder {
|
|
249
|
-
color: #ACA899
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
.datepicker {
|
|
254
|
-
.form-control:focus {
|
|
255
|
-
border: none!important;
|
|
256
|
-
outline: none!important;
|
|
257
|
-
-webkit-box-shadow: none;
|
|
258
|
-
box-shadow: none;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="p-10">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div partial class="auto">
|
|
6
|
+
<div class="row form-group app-input">
|
|
7
|
+
<label class="">客户名称:</label>
|
|
8
|
+
<div class="col-xs-8" >
|
|
9
|
+
<input class="" v-model=model.f_user_name condition="u.f_user_name 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_contact condition="u.f_contact 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
|
+
<input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
25
|
+
<label class="">合同编号:</label>
|
|
26
|
+
<div class="col-xs-8" >
|
|
27
|
+
<input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
31
|
+
<label class="">报建类型:</label>
|
|
32
|
+
<div class="col-xs-8" >
|
|
33
|
+
<v-select
|
|
34
|
+
width="100%"
|
|
35
|
+
v-model="model.f_apply_type"
|
|
36
|
+
placeholder='报建类型'
|
|
37
|
+
condition="u.f_apply_type like '%{}%'"
|
|
38
|
+
:value.sync="model.f_apply_type"
|
|
39
|
+
:options='$parent.$parent.applytype'
|
|
40
|
+
class="select select_list"
|
|
41
|
+
:value-single="true"
|
|
42
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
43
|
+
close-on-select ></v-select>
|
|
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
|
+
<v-select
|
|
50
|
+
width="100%"
|
|
51
|
+
v-model="model.defname"
|
|
52
|
+
placeholder='办理环节'
|
|
53
|
+
condition="act.defname = '{}'"
|
|
54
|
+
:value.sync="model.defname"
|
|
55
|
+
:options='$parent.$parent.defnames'
|
|
56
|
+
class="select select_list"
|
|
57
|
+
:value-single="true"
|
|
58
|
+
close-on-select ></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
62
|
+
<label class="">联系电话:</label>
|
|
63
|
+
<div class="col-xs-8" >
|
|
64
|
+
<input class="" v-model=model.f_phone condition="u.f_phone like '%{}%'" />
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
68
|
+
<label class="">用户地址:</label>
|
|
69
|
+
<div class="col-xs-8" >
|
|
70
|
+
<input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
74
|
+
<label class="">开始时间:</label>
|
|
75
|
+
<div class="col-xs-8" >
|
|
76
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
77
|
+
style="width: 100%!important;"
|
|
78
|
+
v-model="model.startDate"
|
|
79
|
+
:value.sync="model.startDate"
|
|
80
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
81
|
+
:show-reset-button="true"
|
|
82
|
+
condition="u.f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
83
|
+
</datepicker>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
87
|
+
<label class="">结束时间:</label>
|
|
88
|
+
<div class="col-xs-8" >
|
|
89
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
90
|
+
style="width: 100%!important;"
|
|
91
|
+
v-model="model.endDate"
|
|
92
|
+
:value.sync="model.endDate"
|
|
93
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
94
|
+
:show-reset-button="true"
|
|
95
|
+
condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
|
|
96
|
+
</datepicker>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="row form-group text-right" style="">
|
|
100
|
+
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
101
|
+
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
102
|
+
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</criteria>
|
|
106
|
+
<list :model="model" partial='list'>
|
|
107
|
+
<div partial class="auto app-text panel">
|
|
108
|
+
<div class="panel-body panel-self">
|
|
109
|
+
<div class="col-xs-12">
|
|
110
|
+
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
111
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="col-xs-12">
|
|
114
|
+
<p class="col-xs-3 text-left font"><b>电  话:</b></p>
|
|
115
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_phone }}</p>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-xs-12">
|
|
118
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
119
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-xs-12">
|
|
122
|
+
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
123
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
|
|
124
|
+
</div>
|
|
125
|
+
<div class="col-xs-12">
|
|
126
|
+
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
127
|
+
<p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="col-xs-12">
|
|
130
|
+
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
131
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="col-xs-12">
|
|
134
|
+
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
135
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
<div class="col-xs-12 text-right">
|
|
139
|
+
<button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看</button>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
</list>
|
|
144
|
+
</criteria-paged>
|
|
145
|
+
</div>
|
|
146
|
+
</template>
|
|
147
|
+
<script>
|
|
148
|
+
import Vue from 'vue'
|
|
149
|
+
import { PagedList, HttpResetClass } from 'vue-client'
|
|
150
|
+
import {isEmpty} from '../../Util'
|
|
151
|
+
export default {
|
|
152
|
+
title: '报建流程',
|
|
153
|
+
data () {
|
|
154
|
+
return {
|
|
155
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`, 20, {
|
|
156
|
+
// model: new PagedList('rs/sql/supervisory', 20, {
|
|
157
|
+
data: {
|
|
158
|
+
id: Vue.user.id,
|
|
159
|
+
orgid: Vue.user.orgid
|
|
160
|
+
// id: '1626081',
|
|
161
|
+
// orgid: '1123'
|
|
162
|
+
}
|
|
163
|
+
}),
|
|
164
|
+
criteriaShow: false,
|
|
165
|
+
applytype: this.$appdata.getParam('报建类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]:[{label: '全部', value: ''}], // 所有报建类型
|
|
166
|
+
// applytype: [{label: '全部', value: ''},{label: '散户报建', value: '散户报建'}], // 所有报建类型
|
|
167
|
+
defnames: [{label: '全部', value: ''}]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
ready () {
|
|
171
|
+
this.search()
|
|
172
|
+
},
|
|
173
|
+
methods: {
|
|
174
|
+
clear () {
|
|
175
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
176
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
177
|
+
})
|
|
178
|
+
},
|
|
179
|
+
// 查询
|
|
180
|
+
search () {
|
|
181
|
+
this.$refs.cp.$refs.cri.search()
|
|
182
|
+
},
|
|
183
|
+
click (row) {
|
|
184
|
+
let _this = this
|
|
185
|
+
this.$dispatch('gotoson', {
|
|
186
|
+
_this: _this,
|
|
187
|
+
title: '详情信息',
|
|
188
|
+
safe: true
|
|
189
|
+
})
|
|
190
|
+
this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
|
|
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
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
197
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
198
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
199
|
+
})
|
|
200
|
+
} else {
|
|
201
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
events: {
|
|
206
|
+
},
|
|
207
|
+
watch: {
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
</script>
|
|
211
|
+
<style scoped>
|
|
212
|
+
.panel-self{
|
|
213
|
+
border-radius: 10px;
|
|
214
|
+
border:1px solid #499EDF;
|
|
215
|
+
background-color: #F8F8F8;
|
|
216
|
+
}
|
|
217
|
+
.font{
|
|
218
|
+
font: 15px PingFang-SC-Medium;
|
|
219
|
+
color: #666666;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.button_shrink_top {
|
|
223
|
+
width: 34px;
|
|
224
|
+
height: 34px;
|
|
225
|
+
border: solid 1px #6aa6e2;
|
|
226
|
+
background-size: 100%;
|
|
227
|
+
background-image: url("../../../../static/newStyle/stretch_top.png")
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.button_shrink_bottom {
|
|
231
|
+
width: 34px;
|
|
232
|
+
height: 34px;
|
|
233
|
+
border: solid 1px #6aa6e2;
|
|
234
|
+
background-size: 100%;
|
|
235
|
+
background-image: url("../../../../static/newStyle/stretch_bottom.png")
|
|
236
|
+
}
|
|
237
|
+
</style>
|
|
238
|
+
<style lang="less">
|
|
239
|
+
.app-input {
|
|
240
|
+
label {
|
|
241
|
+
float: left;
|
|
242
|
+
}
|
|
243
|
+
.select {
|
|
244
|
+
button {
|
|
245
|
+
border: none;
|
|
246
|
+
outline: none;
|
|
247
|
+
text-align: left;
|
|
248
|
+
.btn-placeholder {
|
|
249
|
+
color: #ACA899
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
.datepicker {
|
|
254
|
+
.form-control:focus {
|
|
255
|
+
border: none!important;
|
|
256
|
+
outline: none!important;
|
|
257
|
+
-webkit-box-shadow: none;
|
|
258
|
+
box-shadow: none;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
</style>
|