apply-clients 4.1.63-weinan → 4.1.64-weinan
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/index.html +30 -30
- package/package.json +1 -1
- package/src/apply.js +81 -81
- package/src/applyAndroid.js +52 -52
- package/src/components/app_apply/AppChargeManagement.vue +753 -749
- package/src/components/app_apply/AppInstallationDetails.vue +529 -529
- package/src/components/app_apply/AppProcessSupervisory.vue +214 -214
- package/src/components/app_apply/AppSupervisoryCart.vue +68 -68
- package/src/components/app_apply/AppTakePic.vue +146 -146
- package/src/components/app_apply/AppdevicesDetails.vue +867 -867
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyToDoList.vue +292 -292
- package/src/components/app_apply/PlaceControler.vue +274 -274
- package/src/components/app_apply/ServiceControl.vue +440 -440
- package/src/components/app_apply/ServiceView.vue +394 -394
- package/src/components/app_apply/materialshoufei.vue +248 -248
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +252 -252
- package/src/components/product/Process/ExplorationSelect.vue +377 -377
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +515 -515
- package/src/components/product/Process/Processes/chargeManagement.vue +545 -545
- package/src/components/product/Process/Processes/devicesDetails.vue +843 -843
- package/src/components/product/Process/Processes/materialshoufei.vue +187 -187
- package/src/components/product/Process/Service/ServiceControl.vue +1490 -1490
- package/src/components/product/Stop/StopApply.vue +101 -101
- package/src/components/product/Stop/StopApplyList.vue +266 -266
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +200 -200
- package/src/components/product/Supervisory/SupervisoryControl.vue +124 -124
- package/src/components/product/Supervisory/SupervisoryList.vue +221 -221
- package/src/components/product/VueUtils/ApplyUpload.vue +276 -276
- package/src/main.js +25 -25
|
@@ -1,292 +1,292 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="repair-bg auto" id="repair-first" style="padding-bottom:5px;overflow:auto">
|
|
3
|
-
<!--<div class="app-botton" @click="back()">-->
|
|
4
|
-
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
5
|
-
<!--</div>-->
|
|
6
|
-
<!-- <back-page :need-back='true' @flag="back()"></back-page>-->
|
|
7
|
-
<div class="bq-parent">
|
|
8
|
-
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
|
-
<p>
|
|
10
|
-
待办报建<span v-if="rows">({{ rows.length }}单)</span>
|
|
11
|
-
<span v-if="!rows">(暂无待处理报建单)</span>
|
|
12
|
-
</p>
|
|
13
|
-
<div partial class="auto" style="color: #2b2b2b;">
|
|
14
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
15
|
-
<label class="">报建编号:</label>
|
|
16
|
-
<div class="col-xs-8">
|
|
17
|
-
<input class="" v-model=model.f_apply_num>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
21
|
-
<label class="">项目名称:</label>
|
|
22
|
-
<div class="col-xs-8">
|
|
23
|
-
<input class="" v-model=model.f_entry_name>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
27
|
-
<label class="">报建类型:</label>
|
|
28
|
-
<div class="col-xs-8" style="width: 100%">
|
|
29
|
-
<v-select
|
|
30
|
-
class="select select_list"
|
|
31
|
-
:value.sync="model.f_apply_type"
|
|
32
|
-
v-model="model.f_apply_type"
|
|
33
|
-
:options='applytype'
|
|
34
|
-
placeholder='请选择'
|
|
35
|
-
close-on-select >
|
|
36
|
-
</v-select>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
40
|
-
<label class="">办理环节:</label>
|
|
41
|
-
<div class="col-xs-8">
|
|
42
|
-
<v-select
|
|
43
|
-
class="select select_list"
|
|
44
|
-
:value.sync="model.defname"
|
|
45
|
-
v-model="model.defname"
|
|
46
|
-
:options='defnames'
|
|
47
|
-
placeholder='请选择'
|
|
48
|
-
close-on-select >
|
|
49
|
-
</v-select>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
53
|
-
<label class="">用户类型:</label>
|
|
54
|
-
<div class="col-xs-8">
|
|
55
|
-
<v-select
|
|
56
|
-
class="select select_list"
|
|
57
|
-
:value.sync="model.f_user_type"
|
|
58
|
-
v-model="model.f_user_type"
|
|
59
|
-
:options='usertype'
|
|
60
|
-
placeholder='请选择'
|
|
61
|
-
close-on-select >
|
|
62
|
-
</v-select>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
66
|
-
<label class="">开始时间:</label>
|
|
67
|
-
<div class="col-xs-8" >
|
|
68
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
69
|
-
v-model="model.startDate"
|
|
70
|
-
:value.sync="model.startDate"
|
|
71
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
72
|
-
:show-reset-button="true"
|
|
73
|
-
>
|
|
74
|
-
</datepicker>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
<div class="row form-group app-input" v-if="criteriaShow">
|
|
78
|
-
<label class="">结束时间:</label>
|
|
79
|
-
<div class="col-xs-8" >
|
|
80
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
81
|
-
v-model="model.endDate"
|
|
82
|
-
:value.sync="model.endDate"
|
|
83
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
84
|
-
:show-reset-button="true"
|
|
85
|
-
>
|
|
86
|
-
</datepicker>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
<div class="row form-group text-right" style="">
|
|
90
|
-
<button class="btn btn-primary" @click="search()">查询</button>
|
|
91
|
-
<button class="btn btn-info" @click="clear()">清空</button>
|
|
92
|
-
<button class="btn" :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}"
|
|
93
|
-
@click="criteriaShow = !criteriaShow"></button>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
</blockquote>
|
|
97
|
-
</div>
|
|
98
|
-
<div class="panel panel-default repair-info-content auto">
|
|
99
|
-
<div class="panel-body">
|
|
100
|
-
<div class="panel panel-default well" v-for="row in rows">
|
|
101
|
-
<div class="panel-body bg-info" style="padding: 10px">
|
|
102
|
-
<div class="row form-group">
|
|
103
|
-
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
104
|
-
<div class="row">
|
|
105
|
-
<div :class="{'text-danger': row.f_remindersign}" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
106
|
-
报建编号: {{ row.f_apply_num }}<!--<span v-if="row.f_remindersign">(催单)</span>-->
|
|
107
|
-
</div>
|
|
108
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
109
|
-
项目名称: {{ row.f_entry_name }}
|
|
110
|
-
</div>
|
|
111
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
112
|
-
用户类型: {{ row.f_user_type }}
|
|
113
|
-
</div>
|
|
114
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
115
|
-
流程状态: {{ row.f_sub_state }}
|
|
116
|
-
</div>
|
|
117
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
118
|
-
报建类型: {{ row.f_apply_type }}
|
|
119
|
-
</div>
|
|
120
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
121
|
-
办理环节: {{ row.defname }}
|
|
122
|
-
</div>
|
|
123
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
124
|
-
报建日期: {{ row.f_apply_date }}
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
130
|
-
<button type="button" name="button" class="btn btn-primary"
|
|
131
|
-
style="background-color:#499edf;float: right" @click="selected(row)">立即处理
|
|
132
|
-
</button>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
</template>
|
|
141
|
-
<script>
|
|
142
|
-
import Vue from 'vue'
|
|
143
|
-
import {HttpResetClass} from 'vue-client'
|
|
144
|
-
import {isEmpty} from '../Util'
|
|
145
|
-
export default {
|
|
146
|
-
title: '待办报建列表',
|
|
147
|
-
data () {
|
|
148
|
-
return {
|
|
149
|
-
// rows: Object
|
|
150
|
-
rows: [],
|
|
151
|
-
editshow: false,
|
|
152
|
-
row: {
|
|
153
|
-
type: Object,
|
|
154
|
-
default: {}
|
|
155
|
-
},
|
|
156
|
-
criteriaShow: false,
|
|
157
|
-
model: {},
|
|
158
|
-
usertype: this.$appdata.getParam('用户类型'),
|
|
159
|
-
applytype: this.$appdata.getParam('报建类型'),
|
|
160
|
-
defnames: this.$appdata.getParam('办理环节')
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
props: {
|
|
164
|
-
sourcet: {
|
|
165
|
-
type: String,
|
|
166
|
-
default: '横屏'
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
methods: {
|
|
170
|
-
selected (row) {
|
|
171
|
-
row.canedit = true
|
|
172
|
-
if (this.sourcet === '横屏') {
|
|
173
|
-
let pardate = {
|
|
174
|
-
_this: this,
|
|
175
|
-
tittle: '报建工作',
|
|
176
|
-
safe: true
|
|
177
|
-
}
|
|
178
|
-
this.$dispatch('gotoson', pardate)
|
|
179
|
-
this.$goto('placecontrolerapp', {row: row}, 'self', this.search)
|
|
180
|
-
} else {
|
|
181
|
-
let pardate = {
|
|
182
|
-
_this: this,
|
|
183
|
-
tittle: '报建工作',
|
|
184
|
-
safe: true
|
|
185
|
-
}
|
|
186
|
-
this.$dispatch('gotoson', pardate)
|
|
187
|
-
this.$goto('placecontrolerapp', {row: row}, 'self', this.search)
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
back () {
|
|
191
|
-
let _this = this
|
|
192
|
-
_this.$back()
|
|
193
|
-
},
|
|
194
|
-
search () {
|
|
195
|
-
var condition = "1=1 and (f_apply_type! = '居民报建' and f_apply_type! = '工商户报建' or (f_apply_type = '居民报建' and defname = '入户安装') or (f_apply_type = '工商户报建' and (defname = '现场勘察' or defname = '施工')))"
|
|
196
|
-
// 报建编号
|
|
197
|
-
if (this.model.f_apply_num) {
|
|
198
|
-
condition = condition + ` and u.f_apply_num like '%${this.model.f_apply_num}%'`
|
|
199
|
-
}
|
|
200
|
-
// 项目名称
|
|
201
|
-
if (this.model.f_entry_name) {
|
|
202
|
-
condition = condition + ` and u.f_entry_name like '%${this.model.f_entry_name}%'`
|
|
203
|
-
}
|
|
204
|
-
// 报建类型
|
|
205
|
-
if (!isEmpty(this.model.f_apply_type)) {
|
|
206
|
-
condition = condition + ` and f_apply_type = '${this.model.f_apply_type}'`
|
|
207
|
-
}
|
|
208
|
-
// 办理环节
|
|
209
|
-
if (!isEmpty(this.model.defname)) {
|
|
210
|
-
condition = condition + ` and defname = '${this.model.defname}'`
|
|
211
|
-
}
|
|
212
|
-
// 用户类型
|
|
213
|
-
if (!isEmpty(this.model.f_user_type)) {
|
|
214
|
-
condition = condition + ` and f_user_type = '${this.model.f_user_type}'`
|
|
215
|
-
}
|
|
216
|
-
// 报建时间
|
|
217
|
-
if (!isEmpty(this.model.startDate)) {
|
|
218
|
-
condition = condition + ` and u.f_apply_date >= '${this.model.startDate}'`
|
|
219
|
-
}
|
|
220
|
-
if (!isEmpty(this.model.endDate)) {
|
|
221
|
-
condition = condition + ` and u.f_apply_date <= '${this.model.endDate}'`
|
|
222
|
-
}
|
|
223
|
-
var param = {condition: condition, condValue: [], data: {id: Vue.user.id, orgid: Vue.user.orgid}}
|
|
224
|
-
let http = new HttpResetClass()
|
|
225
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, {data: param}).then(res => {
|
|
226
|
-
console.log(`前台本地报建代办工单查询结果data=>>>${JSON.stringify(res.data)}`)
|
|
227
|
-
if (res.data) {
|
|
228
|
-
this.rows = res.data
|
|
229
|
-
} else {
|
|
230
|
-
this.rows = []
|
|
231
|
-
}
|
|
232
|
-
})
|
|
233
|
-
},
|
|
234
|
-
makeAPhoneCall (phoneNumber) {
|
|
235
|
-
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
236
|
-
},
|
|
237
|
-
upload () {
|
|
238
|
-
this.$goto('up-load')
|
|
239
|
-
},
|
|
240
|
-
clear () {
|
|
241
|
-
this.model = {}
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
ready () {
|
|
245
|
-
this.search()
|
|
246
|
-
var _this = this
|
|
247
|
-
this.timeoutHandle = window.setInterval(function () {
|
|
248
|
-
_this.search()
|
|
249
|
-
}, 6000000)// 60000
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
</script>
|
|
253
|
-
|
|
254
|
-
<style>
|
|
255
|
-
.button_shrink_top {
|
|
256
|
-
width: 34px;
|
|
257
|
-
height: 34px;
|
|
258
|
-
border: solid 1px #6aa6e2;
|
|
259
|
-
background-size: 100%;
|
|
260
|
-
background-image: url("../../../static/newStyle/stretch_top.png")
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.button_shrink_bottom {
|
|
264
|
-
width: 34px;
|
|
265
|
-
height: 34px;
|
|
266
|
-
border: solid 1px #6aa6e2;
|
|
267
|
-
background-size: 100%;
|
|
268
|
-
background-image: url("../../../static/newStyle/stretch_bottom.png")
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.app-botton {
|
|
272
|
-
position: fixed;
|
|
273
|
-
background: #87b2dd;
|
|
274
|
-
color: #FFF;
|
|
275
|
-
padding: 8px;
|
|
276
|
-
text-align: center;
|
|
277
|
-
font-size: 1.2em;
|
|
278
|
-
z-index: 10;
|
|
279
|
-
opacity: 0.5;
|
|
280
|
-
bottom: 50px;
|
|
281
|
-
margin-top: -10px;
|
|
282
|
-
height: 40px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.class-a {
|
|
286
|
-
border: 1px solid red;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.padd-div-shu {
|
|
290
|
-
padding-bottom: 5px;
|
|
291
|
-
}
|
|
292
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="repair-bg auto" id="repair-first" style="padding-bottom:5px;overflow:auto">
|
|
3
|
+
<!--<div class="app-botton" @click="back()">-->
|
|
4
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
5
|
+
<!--</div>-->
|
|
6
|
+
<!-- <back-page :need-back='true' @flag="back()"></back-page>-->
|
|
7
|
+
<div class="bq-parent">
|
|
8
|
+
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
|
+
<p>
|
|
10
|
+
待办报建<span v-if="rows">({{ rows.length }}单)</span>
|
|
11
|
+
<span v-if="!rows">(暂无待处理报建单)</span>
|
|
12
|
+
</p>
|
|
13
|
+
<div partial class="auto" style="color: #2b2b2b;">
|
|
14
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
15
|
+
<label class="">报建编号:</label>
|
|
16
|
+
<div class="col-xs-8">
|
|
17
|
+
<input class="" v-model=model.f_apply_num>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
21
|
+
<label class="">项目名称:</label>
|
|
22
|
+
<div class="col-xs-8">
|
|
23
|
+
<input class="" v-model=model.f_entry_name>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
27
|
+
<label class="">报建类型:</label>
|
|
28
|
+
<div class="col-xs-8" style="width: 100%">
|
|
29
|
+
<v-select
|
|
30
|
+
class="select select_list"
|
|
31
|
+
:value.sync="model.f_apply_type"
|
|
32
|
+
v-model="model.f_apply_type"
|
|
33
|
+
:options='applytype'
|
|
34
|
+
placeholder='请选择'
|
|
35
|
+
close-on-select >
|
|
36
|
+
</v-select>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
40
|
+
<label class="">办理环节:</label>
|
|
41
|
+
<div class="col-xs-8">
|
|
42
|
+
<v-select
|
|
43
|
+
class="select select_list"
|
|
44
|
+
:value.sync="model.defname"
|
|
45
|
+
v-model="model.defname"
|
|
46
|
+
:options='defnames'
|
|
47
|
+
placeholder='请选择'
|
|
48
|
+
close-on-select >
|
|
49
|
+
</v-select>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
53
|
+
<label class="">用户类型:</label>
|
|
54
|
+
<div class="col-xs-8">
|
|
55
|
+
<v-select
|
|
56
|
+
class="select select_list"
|
|
57
|
+
:value.sync="model.f_user_type"
|
|
58
|
+
v-model="model.f_user_type"
|
|
59
|
+
:options='usertype'
|
|
60
|
+
placeholder='请选择'
|
|
61
|
+
close-on-select >
|
|
62
|
+
</v-select>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
66
|
+
<label class="">开始时间:</label>
|
|
67
|
+
<div class="col-xs-8" >
|
|
68
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
69
|
+
v-model="model.startDate"
|
|
70
|
+
:value.sync="model.startDate"
|
|
71
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
72
|
+
:show-reset-button="true"
|
|
73
|
+
>
|
|
74
|
+
</datepicker>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="row form-group app-input" v-if="criteriaShow">
|
|
78
|
+
<label class="">结束时间:</label>
|
|
79
|
+
<div class="col-xs-8" >
|
|
80
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
81
|
+
v-model="model.endDate"
|
|
82
|
+
:value.sync="model.endDate"
|
|
83
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
84
|
+
:show-reset-button="true"
|
|
85
|
+
>
|
|
86
|
+
</datepicker>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="row form-group text-right" style="">
|
|
90
|
+
<button class="btn btn-primary" @click="search()">查询</button>
|
|
91
|
+
<button class="btn btn-info" @click="clear()">清空</button>
|
|
92
|
+
<button class="btn" :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}"
|
|
93
|
+
@click="criteriaShow = !criteriaShow"></button>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</blockquote>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="panel panel-default repair-info-content auto">
|
|
99
|
+
<div class="panel-body">
|
|
100
|
+
<div class="panel panel-default well" v-for="row in rows">
|
|
101
|
+
<div class="panel-body bg-info" style="padding: 10px">
|
|
102
|
+
<div class="row form-group">
|
|
103
|
+
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
104
|
+
<div class="row">
|
|
105
|
+
<div :class="{'text-danger': row.f_remindersign}" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
106
|
+
报建编号: {{ row.f_apply_num }}<!--<span v-if="row.f_remindersign">(催单)</span>-->
|
|
107
|
+
</div>
|
|
108
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
109
|
+
项目名称: {{ row.f_entry_name }}
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
112
|
+
用户类型: {{ row.f_user_type }}
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
115
|
+
流程状态: {{ row.f_sub_state }}
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
118
|
+
报建类型: {{ row.f_apply_type }}
|
|
119
|
+
</div>
|
|
120
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
121
|
+
办理环节: {{ row.defname }}
|
|
122
|
+
</div>
|
|
123
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
124
|
+
报建日期: {{ row.f_apply_date }}
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
130
|
+
<button type="button" name="button" class="btn btn-primary"
|
|
131
|
+
style="background-color:#499edf;float: right" @click="selected(row)">立即处理
|
|
132
|
+
</button>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</template>
|
|
141
|
+
<script>
|
|
142
|
+
import Vue from 'vue'
|
|
143
|
+
import {HttpResetClass} from 'vue-client'
|
|
144
|
+
import {isEmpty} from '../Util'
|
|
145
|
+
export default {
|
|
146
|
+
title: '待办报建列表',
|
|
147
|
+
data () {
|
|
148
|
+
return {
|
|
149
|
+
// rows: Object
|
|
150
|
+
rows: [],
|
|
151
|
+
editshow: false,
|
|
152
|
+
row: {
|
|
153
|
+
type: Object,
|
|
154
|
+
default: {}
|
|
155
|
+
},
|
|
156
|
+
criteriaShow: false,
|
|
157
|
+
model: {},
|
|
158
|
+
usertype: this.$appdata.getParam('用户类型'),
|
|
159
|
+
applytype: this.$appdata.getParam('报建类型'),
|
|
160
|
+
defnames: this.$appdata.getParam('办理环节')
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
props: {
|
|
164
|
+
sourcet: {
|
|
165
|
+
type: String,
|
|
166
|
+
default: '横屏'
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
methods: {
|
|
170
|
+
selected (row) {
|
|
171
|
+
row.canedit = true
|
|
172
|
+
if (this.sourcet === '横屏') {
|
|
173
|
+
let pardate = {
|
|
174
|
+
_this: this,
|
|
175
|
+
tittle: '报建工作',
|
|
176
|
+
safe: true
|
|
177
|
+
}
|
|
178
|
+
this.$dispatch('gotoson', pardate)
|
|
179
|
+
this.$goto('placecontrolerapp', {row: row}, 'self', this.search)
|
|
180
|
+
} else {
|
|
181
|
+
let pardate = {
|
|
182
|
+
_this: this,
|
|
183
|
+
tittle: '报建工作',
|
|
184
|
+
safe: true
|
|
185
|
+
}
|
|
186
|
+
this.$dispatch('gotoson', pardate)
|
|
187
|
+
this.$goto('placecontrolerapp', {row: row}, 'self', this.search)
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
back () {
|
|
191
|
+
let _this = this
|
|
192
|
+
_this.$back()
|
|
193
|
+
},
|
|
194
|
+
search () {
|
|
195
|
+
var condition = "1=1 and (f_apply_type! = '居民报建' and f_apply_type! = '工商户报建' or (f_apply_type = '居民报建' and defname = '入户安装') or (f_apply_type = '工商户报建' and (defname = '现场勘察' or defname = '施工')))"
|
|
196
|
+
// 报建编号
|
|
197
|
+
if (this.model.f_apply_num) {
|
|
198
|
+
condition = condition + ` and u.f_apply_num like '%${this.model.f_apply_num}%'`
|
|
199
|
+
}
|
|
200
|
+
// 项目名称
|
|
201
|
+
if (this.model.f_entry_name) {
|
|
202
|
+
condition = condition + ` and u.f_entry_name like '%${this.model.f_entry_name}%'`
|
|
203
|
+
}
|
|
204
|
+
// 报建类型
|
|
205
|
+
if (!isEmpty(this.model.f_apply_type)) {
|
|
206
|
+
condition = condition + ` and f_apply_type = '${this.model.f_apply_type}'`
|
|
207
|
+
}
|
|
208
|
+
// 办理环节
|
|
209
|
+
if (!isEmpty(this.model.defname)) {
|
|
210
|
+
condition = condition + ` and defname = '${this.model.defname}'`
|
|
211
|
+
}
|
|
212
|
+
// 用户类型
|
|
213
|
+
if (!isEmpty(this.model.f_user_type)) {
|
|
214
|
+
condition = condition + ` and f_user_type = '${this.model.f_user_type}'`
|
|
215
|
+
}
|
|
216
|
+
// 报建时间
|
|
217
|
+
if (!isEmpty(this.model.startDate)) {
|
|
218
|
+
condition = condition + ` and u.f_apply_date >= '${this.model.startDate}'`
|
|
219
|
+
}
|
|
220
|
+
if (!isEmpty(this.model.endDate)) {
|
|
221
|
+
condition = condition + ` and u.f_apply_date <= '${this.model.endDate}'`
|
|
222
|
+
}
|
|
223
|
+
var param = {condition: condition, condValue: [], data: {id: Vue.user.id, orgid: Vue.user.orgid}}
|
|
224
|
+
let http = new HttpResetClass()
|
|
225
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, {data: param}).then(res => {
|
|
226
|
+
console.log(`前台本地报建代办工单查询结果data=>>>${JSON.stringify(res.data)}`)
|
|
227
|
+
if (res.data) {
|
|
228
|
+
this.rows = res.data
|
|
229
|
+
} else {
|
|
230
|
+
this.rows = []
|
|
231
|
+
}
|
|
232
|
+
})
|
|
233
|
+
},
|
|
234
|
+
makeAPhoneCall (phoneNumber) {
|
|
235
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
236
|
+
},
|
|
237
|
+
upload () {
|
|
238
|
+
this.$goto('up-load')
|
|
239
|
+
},
|
|
240
|
+
clear () {
|
|
241
|
+
this.model = {}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
ready () {
|
|
245
|
+
this.search()
|
|
246
|
+
var _this = this
|
|
247
|
+
this.timeoutHandle = window.setInterval(function () {
|
|
248
|
+
_this.search()
|
|
249
|
+
}, 6000000)// 60000
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
</script>
|
|
253
|
+
|
|
254
|
+
<style>
|
|
255
|
+
.button_shrink_top {
|
|
256
|
+
width: 34px;
|
|
257
|
+
height: 34px;
|
|
258
|
+
border: solid 1px #6aa6e2;
|
|
259
|
+
background-size: 100%;
|
|
260
|
+
background-image: url("../../../static/newStyle/stretch_top.png")
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.button_shrink_bottom {
|
|
264
|
+
width: 34px;
|
|
265
|
+
height: 34px;
|
|
266
|
+
border: solid 1px #6aa6e2;
|
|
267
|
+
background-size: 100%;
|
|
268
|
+
background-image: url("../../../static/newStyle/stretch_bottom.png")
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.app-botton {
|
|
272
|
+
position: fixed;
|
|
273
|
+
background: #87b2dd;
|
|
274
|
+
color: #FFF;
|
|
275
|
+
padding: 8px;
|
|
276
|
+
text-align: center;
|
|
277
|
+
font-size: 1.2em;
|
|
278
|
+
z-index: 10;
|
|
279
|
+
opacity: 0.5;
|
|
280
|
+
bottom: 50px;
|
|
281
|
+
margin-top: -10px;
|
|
282
|
+
height: 40px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.class-a {
|
|
286
|
+
border: 1px solid red;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.padd-div-shu {
|
|
290
|
+
padding-bottom: 5px;
|
|
291
|
+
}
|
|
292
|
+
</style>
|