apply-clients 5.0.36 → 5.0.37-2
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 +111 -111
- package/src/android.js +1 -1
- package/src/apply.js +15 -1
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/234/260/345/235/200.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/224/265/350/257/235.png +0 -0
- package/src/components/app_apply/ApplyApp.vue +6 -6
- package/src/components/app_apply/ApplyDownList.vue +18 -16
- package/src/components/app_apply/ApplyInfo.vue +2 -2
- package/src/components/app_apply/ApplyListUpload.vue +15 -5
- package/src/components/app_apply/ApplyToDoList.vue +201 -54
- package/src/components/app_apply/ApplyUserInfo.vue +2 -2
- package/src/components/app_apply/FieldExploration.vue +0 -1
- package/src/components/app_apply/Gongcheng.vue +3631 -0
- package/src/components/app_apply/OneToMany.vue +194 -0
- package/src/components/app_apply/PlaceControler.vue +230 -189
- package/src/components/app_apply/ServiceControl.vue +630 -385
- package/src/components/app_apply/ServiceView.vue +44 -17
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -0
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -0
- package/src/components/app_apply/ezhou/MinYong.vue +92 -0
- package/src/components/app_apply/ezhou/ServiceView.vue +745 -0
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/phone/phoneselect.vue +250 -0
- package/src/components/phone/phoneselect2.vue +112 -0
- package/src/components/product/Common/ApplyValidateBill.vue +13 -6
- package/src/components/product/Common/PrintBill.vue +7 -6
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -0
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +132 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +340 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +490 -0
- package/src/components/product/Function/InstallInfoSelect.vue +3 -2
- package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
- package/src/components/product/Function/functions/InstallFee.vue +589 -347
- package/src/components/product/Function/functions/InstallFeeInfo.vue +6 -1
- package/src/components/product/Process/ExplorationSelect.vue +669 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +907 -907
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +126 -39
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2200 -1808
- package/src/components/product/ServiceView.vue +810 -795
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +559 -407
- package/src/components/product/Supervisory/SupervisoryList.vue +102 -17
- package/src/components/product/applyReport/ApplyReport.vue +205 -0
- package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
- package/src/components/product/stopInfo/ApplyStopInfo.vue +2 -1
- package/src/ezhouAndroid.js +48 -0
- package/src/index.js +3 -2
- package/src/main.js +1 -1
- package/src/plugins/commonService.js +11 -7
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/yarn.lock +0 -8072
|
@@ -1,17 +1,49 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="repair-bg auto" id="repair-first" style="padding-bottom:5px;overflow:auto">
|
|
3
3
|
<!--<div class="app-botton" @click="back()">-->
|
|
4
|
-
|
|
4
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
5
5
|
<!--</div>-->
|
|
6
|
-
<back-page :need-back='true' @flag="back()"></back-page
|
|
6
|
+
<!-- <back-page :need-back='true' @flag="back()"></back-page>-->
|
|
7
7
|
<div class="bq-parent">
|
|
8
|
-
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
|
-
<
|
|
8
|
+
<blockquote style="padding: 10px 10px;margin: 0 0 0px;color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
|
+
<div class=" row">
|
|
10
10
|
待办报建<span v-if="rows">({{rows.length}}单)</span>
|
|
11
11
|
<span v-if="!rows">(暂无待处理报建单)</span>
|
|
12
12
|
<img @click="search" src="../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
|
|
13
|
-
|
|
13
|
+
<div style="margin-right: 3%;float:right;height: 30px " class="button_spacing" :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
|
|
14
|
+
|
|
15
|
+
</div>
|
|
14
16
|
</blockquote>
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
<div style="height: auto;width: 100%" v-if="criteriaShow">
|
|
20
|
+
<div class="row app-row">
|
|
21
|
+
<div class="col-xs-4">
|
|
22
|
+
<img src="../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
23
|
+
<label class="font text-left">用户姓名:</label>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-xs-8" >
|
|
26
|
+
<input class="search_input input-font" v-model=model.f_user_name condition="f_user_name like '%{}%'" />
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row app-row">
|
|
30
|
+
<div class="col-xs-4">
|
|
31
|
+
<img src="../../assets/用户地址.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
32
|
+
<label class="font text-left">用户地址:</label>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-xs-8" >
|
|
35
|
+
<input class="search_input input-font" v-model=model.f_address condition="f_user_name like '%{}%'" />
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row app-row">
|
|
39
|
+
<div class="col-xs-4">
|
|
40
|
+
<img src="../../assets/用户电话.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
41
|
+
<label class="font text-left">用户电话:</label>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-xs-8" >
|
|
44
|
+
<input class="search_input input-font" v-model=model.f_phone condition="f_user_name like '%{}%'" />
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
15
47
|
</div>
|
|
16
48
|
<div class="panel panel-default repair-info-content auto">
|
|
17
49
|
<div class="panel-body">
|
|
@@ -37,7 +69,7 @@
|
|
|
37
69
|
<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_phone)'>
|
|
38
70
|
</div>
|
|
39
71
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
40
|
-
流程状态: {{row.
|
|
72
|
+
流程状态: {{row.defname}}
|
|
41
73
|
</div>
|
|
42
74
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
43
75
|
报建类型: {{row.f_apply_type}}
|
|
@@ -59,13 +91,16 @@
|
|
|
59
91
|
</div>
|
|
60
92
|
</template>
|
|
61
93
|
<script>
|
|
62
|
-
|
|
94
|
+
import Vue from 'vue'
|
|
95
|
+
import {HttpResetClass} from 'vue-client'
|
|
63
96
|
export default{
|
|
64
97
|
title: '待办报建列表',
|
|
65
98
|
data () {
|
|
66
99
|
return {
|
|
67
100
|
// rows: Object
|
|
68
101
|
rows: [],
|
|
102
|
+
model:{},
|
|
103
|
+
criteriaShow:false,
|
|
69
104
|
editshow:false,
|
|
70
105
|
row:{
|
|
71
106
|
type:Object,
|
|
@@ -82,12 +117,22 @@ export default{
|
|
|
82
117
|
}
|
|
83
118
|
},
|
|
84
119
|
methods: {
|
|
120
|
+
hidden() {
|
|
121
|
+
this.criteriaShow = !this.criteriaShow
|
|
122
|
+
},
|
|
85
123
|
selected (row) {
|
|
124
|
+
var _this = this
|
|
125
|
+
var pardate = {
|
|
126
|
+
_this: _this,
|
|
127
|
+
title: '报建待办详情',
|
|
128
|
+
safe: true
|
|
129
|
+
}
|
|
130
|
+
_this.$dispatch('gotoson',pardate)
|
|
86
131
|
row.canedit = true
|
|
87
|
-
if(
|
|
88
|
-
|
|
132
|
+
if(_this.sourcet == '横屏'){
|
|
133
|
+
_this.$goto('placecontrolerapp', {row: row},'self',this.search)
|
|
89
134
|
}else{
|
|
90
|
-
|
|
135
|
+
_this.$goto('placecontrolerapp', {row: row},'self',this.search)
|
|
91
136
|
}
|
|
92
137
|
},
|
|
93
138
|
back () {
|
|
@@ -95,41 +140,108 @@ export default{
|
|
|
95
140
|
_this.$back()
|
|
96
141
|
},
|
|
97
142
|
search () {
|
|
98
|
-
//pc模拟开发用
|
|
99
|
-
// console.log('------app开始查询本地代办工单------')
|
|
100
|
-
// var condition = ' (u.f_app_upload != \'已上传\' or u.f_app_upload is null) and f_order_type is not null '
|
|
101
|
-
// this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/getapplymobile`, {data: {'condition': condition}}).then((res) => {
|
|
102
|
-
// console.log(res)
|
|
103
|
-
// console.log(res.data)
|
|
104
|
-
// console.log(`res.data.data.rows=> ${res.data.data}`)
|
|
105
|
-
// if(res.data){
|
|
106
|
-
// this.rows = res.data.data.rows
|
|
107
|
-
// }else{
|
|
108
|
-
// this.rows = []
|
|
109
|
-
// }
|
|
110
|
-
// })
|
|
111
|
-
|
|
112
|
-
|
|
113
143
|
// app正式运行程序
|
|
114
144
|
console.log('------app开始查询本地代办工单------')
|
|
115
|
-
var condition =
|
|
145
|
+
var condition = "defname in ('现场勘查','验收','通气','现场勘查定价','安装通气')"
|
|
146
|
+
|
|
147
|
+
console.log(JSON.stringify(this.model))
|
|
148
|
+
if (this.model.f_user_name){
|
|
149
|
+
condition+=` and f_user_name like '%${this.model.f_user_name}%'`
|
|
150
|
+
}
|
|
151
|
+
if (this.model.f_address){
|
|
152
|
+
condition+=` and f_address like '%${this.model.f_address}%'`
|
|
153
|
+
}
|
|
154
|
+
if (this.model.f_phone){
|
|
155
|
+
condition+=` and f_phone like '%${this.model.f_phone}%'`
|
|
156
|
+
}
|
|
116
157
|
console.log(`login_user_id=>>>${Vue.user.id}`)
|
|
117
|
-
|
|
158
|
+
console.log(`分公司=>>>${Vue.user.f_fengongsi}`)
|
|
159
|
+
var param = {condition: condition,condValue:[],data:{"id": Vue.user.id,"fengongsi":Vue.user.f_fengongsi,f_product_id:0}}
|
|
160
|
+
|
|
118
161
|
console.log(`param=>>>${JSON.stringify(param)}`)
|
|
119
|
-
let
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
162
|
+
let http=new HttpResetClass()
|
|
163
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`,{data:param}).then(res=>{
|
|
164
|
+
console.log(`前台本地报建代办工单查询结果data=>>>${JSON.stringify(res.data)}`)
|
|
165
|
+
if(res.data){
|
|
166
|
+
this.rows = res.data
|
|
167
|
+
}else{
|
|
168
|
+
this.rows = []
|
|
169
|
+
}
|
|
170
|
+
})
|
|
127
171
|
},
|
|
128
172
|
makeAPhoneCall(phoneNumber) {
|
|
129
173
|
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
130
174
|
},
|
|
131
175
|
upload () {
|
|
132
176
|
this.$goto('up-load')
|
|
177
|
+
},
|
|
178
|
+
getpinpai(){
|
|
179
|
+
Vue.prototype.$pinpai=[]
|
|
180
|
+
let data={
|
|
181
|
+
items:"id,f_meter_brand",
|
|
182
|
+
tablename:"t_gasbrand",
|
|
183
|
+
condition:`f_filialeids = '${Vue.user.f_orgids}'`,
|
|
184
|
+
orderitem:'id'
|
|
185
|
+
}
|
|
186
|
+
new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
187
|
+
console.log("666666666666666666662")
|
|
188
|
+
console.log(JSON.stringify(res))
|
|
189
|
+
console.log(typeof res)
|
|
190
|
+
//console.log(JSON.stringify(res.data[0]))
|
|
191
|
+
let result=res.data
|
|
192
|
+
result.forEach(ress=>{
|
|
193
|
+
Vue.prototype.$pinpai.push({
|
|
194
|
+
id:ress.id,
|
|
195
|
+
label:ress.f_meter_brand,
|
|
196
|
+
value:ress.f_meter_brand
|
|
197
|
+
})
|
|
198
|
+
})
|
|
199
|
+
})
|
|
200
|
+
},
|
|
201
|
+
getqijia(){
|
|
202
|
+
let data={
|
|
203
|
+
items:"f_price_name",
|
|
204
|
+
tablename:"t_stairprice",
|
|
205
|
+
condition:`f_filialeids = '${Vue.user.f_orgids}' and f_state= '有效' and getdate()>=f_perform_date and getdate()<=f_end_date `,
|
|
206
|
+
orderitem:'id'
|
|
207
|
+
}
|
|
208
|
+
Vue.prototype.$qijia=[]
|
|
209
|
+
new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
210
|
+
console.log("66666666666666666666")
|
|
211
|
+
console.log(JSON.stringify(res))
|
|
212
|
+
console.log(typeof res)
|
|
213
|
+
//console.log(JSON.stringify(res.data[0]))
|
|
214
|
+
let result=res.data
|
|
215
|
+
result.forEach(ress=>{
|
|
216
|
+
Vue.prototype.$qijia.push({
|
|
217
|
+
label:ress.f_price_name,
|
|
218
|
+
value:ress.f_price_name
|
|
219
|
+
})
|
|
220
|
+
})
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
getxinghao(){
|
|
224
|
+
let data={
|
|
225
|
+
items:"gm.f_meter_style,gb.id",
|
|
226
|
+
tablename:"t_gasmodel gm left join t_gasbrand gb on gm.f_gasbrand_id=gb.id",
|
|
227
|
+
condition:`gb.f_filialeids = '${Vue.user.f_orgids}'`,
|
|
228
|
+
orderitem:'gm.id'
|
|
229
|
+
}
|
|
230
|
+
Vue.prototype.$xinghao=[]
|
|
231
|
+
new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
232
|
+
console.log("66666666666666666666")
|
|
233
|
+
console.log(JSON.stringify(res))
|
|
234
|
+
console.log(typeof res)
|
|
235
|
+
//console.log(JSON.stringify(res.data[0]))
|
|
236
|
+
let result=res.data
|
|
237
|
+
result.forEach(ress=>{
|
|
238
|
+
Vue.prototype.$xinghao.push({
|
|
239
|
+
id:ress.id,
|
|
240
|
+
label:ress.f_meter_style,
|
|
241
|
+
value:ress.f_meter_style
|
|
242
|
+
})
|
|
243
|
+
})
|
|
244
|
+
})
|
|
133
245
|
}
|
|
134
246
|
},
|
|
135
247
|
ready () {
|
|
@@ -138,28 +250,63 @@ export default{
|
|
|
138
250
|
this.timeoutHandle = window.setInterval(function() {
|
|
139
251
|
_this.search()
|
|
140
252
|
}, 6000000)//60000
|
|
253
|
+
this.getpinpai()
|
|
254
|
+
this.getqijia()
|
|
255
|
+
this.getxinghao()
|
|
256
|
+
},
|
|
257
|
+
created(){
|
|
258
|
+
let result = HostApp.readLocalFile('workflow_apply.json')
|
|
259
|
+
if(result.code == 500){
|
|
260
|
+
this.$showMessage('获取流程配置文件失败,请联系系统管理员')
|
|
261
|
+
return
|
|
262
|
+
}
|
|
263
|
+
let data = JSON.parse(result.data)
|
|
264
|
+
console.log('前台存入缓存中的data=>' + JSON.stringify(data))
|
|
265
|
+
Vue.workflow_vue = Vue.prototype.$workflow_vue = data
|
|
141
266
|
}
|
|
142
267
|
}
|
|
143
268
|
</script>
|
|
144
269
|
|
|
145
270
|
<style>
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
271
|
+
.app-row {
|
|
272
|
+
background-color: white;
|
|
273
|
+
padding: 10px 10px 0 10px;
|
|
274
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
275
|
+
}
|
|
276
|
+
.search_input {
|
|
277
|
+
border: 0;
|
|
278
|
+
outline: none;
|
|
279
|
+
}
|
|
280
|
+
.button_shrink_top {
|
|
281
|
+
width: 30px;
|
|
282
|
+
height: 30px;
|
|
283
|
+
background-size: 30px 30px;
|
|
284
|
+
background-image: url("../../../static/newStyle/stretch_top.png")
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.button_shrink_bottom {
|
|
288
|
+
width: 30px;
|
|
289
|
+
height: 30px;
|
|
290
|
+
background-size: 30px 30px;
|
|
291
|
+
background-image: url("../../../static/newStyle/stretch_bottom.png")
|
|
292
|
+
}
|
|
293
|
+
.app-botton {
|
|
294
|
+
position:fixed;
|
|
295
|
+
background: #87b2dd;
|
|
296
|
+
color: #FFF;
|
|
297
|
+
padding: 8px;
|
|
298
|
+
text-align: center;
|
|
299
|
+
font-size: 1.2em;
|
|
300
|
+
z-index: 10;
|
|
301
|
+
opacity:0.5;
|
|
302
|
+
bottom: 50px;
|
|
303
|
+
margin-top: -10px;
|
|
304
|
+
height: 40px;
|
|
305
|
+
}
|
|
306
|
+
.class-a{
|
|
307
|
+
border:1px solid red;
|
|
308
|
+
}
|
|
309
|
+
.padd-div-shu{
|
|
310
|
+
padding-bottom: 5px;
|
|
311
|
+
}
|
|
165
312
|
</style>
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
<p>客户电话: {{service.f_phone}}</p>
|
|
13
13
|
<p>客户地址: {{service.f_address}}</p>
|
|
14
14
|
<p>客户类型: {{service.f_user_type}}</p>
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
<p>客户片区: {{service.f_residential_area}}</p>
|
|
16
|
+
<p>客户小区: {{service.f_area}}</p>
|
|
17
17
|
<!--<p>申请户数: {{service.f_apply_count}}</p>-->
|
|
18
18
|
<!--<p>房屋类型: {{service.f_house_type}}</p>-->
|
|
19
19
|
</div>
|