apply-clients 5.0.35-2 → 5.0.35-23
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 +2 -2
- package/src/AndroidApp.vue +28 -28
- package/src/android.js +1 -1
- package/src/apply.js +154 -151
- 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/ApplyDownList.vue +168 -164
- package/src/components/app_apply/ApplyInfo.vue +2 -2
- package/src/components/app_apply/ApplyListUpload.vue +268 -268
- package/src/components/app_apply/ApplyToDoList.vue +2822 -183
- package/src/components/app_apply/PlaceControler.vue +287 -256
- package/src/components/app_apply/ServiceControl.vue +348 -335
- package/src/components/app_apply/ServiceView.vue +383 -383
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
- package/src/components/app_apply/ezhou/MinYong.vue +92 -92
- package/src/components/app_apply/ezhou/ServiceView.vue +765 -620
- package/src/components/product/Function/Service/FunctionServiceControl.vue +364 -328
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/InstallFee.vue +500 -339
- package/src/components/product/Process/ExplorationSelect.vue +2 -2
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +25 -27
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/ServiceView.vue +1 -1
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +6 -5
- package/src/components/product/Supervisory/SupervisoryList.vue +1 -1
- package/src/ezhouAndroid.js +44 -45
- package/src/index.js +8 -8
- 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
|
@@ -1,328 +1,364 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<service-view :data="data" v-if="showview"></service-view>
|
|
4
|
-
<installfee :infee="selectdata" v-if="showinfee"></installfee>
|
|
5
|
-
<!--预存款-->
|
|
6
|
-
<preparationfee :selectdata="selectdata" v-if="showpreparation"></preparationfee>
|
|
7
|
-
<!--预存报建收费-->
|
|
8
|
-
<prestorefee :infee="selectdata" v-if="showprestorefee" v-ref:prestorefee></prestorefee>
|
|
9
|
-
<!-- 费用变更 -->
|
|
10
|
-
<!--<updatefee :upfee="selectdata" v-if="showupfee"></updatefee>-->
|
|
11
|
-
<!-- 费用减免 -->
|
|
12
|
-
<!--<reducefee :redufee="selectdata" v-if="showreducefee"></reducefee>-->
|
|
13
|
-
<!-- 购货方信息 -->
|
|
14
|
-
<buyer-message v-ref:buyermessagev :selectdata="selectdata" :state="1" v-if="showbuyer" ></buyer-message>
|
|
15
|
-
<!-- 领取材料 -->
|
|
16
|
-
<receive-batch :selectdata="selectdata" :state="1" v-if="showreceivebatch" ></receive-batch>
|
|
17
|
-
<!-- 添加合同 -->
|
|
18
|
-
<addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
|
|
19
|
-
<!-- 终止报建 -->
|
|
20
|
-
<stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
|
|
21
|
-
<!-- 领料记录 -->
|
|
22
|
-
<material_recording :infee="selectdata" v-if="show_material"></material_recording>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
this.$parent.
|
|
55
|
-
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
this
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
this
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
this
|
|
112
|
-
|
|
113
|
-
this
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this
|
|
132
|
-
|
|
133
|
-
this
|
|
134
|
-
this
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
141
|
-
this.
|
|
142
|
-
|
|
143
|
-
this.
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
this
|
|
152
|
-
|
|
153
|
-
this
|
|
154
|
-
this
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
this
|
|
172
|
-
|
|
173
|
-
this
|
|
174
|
-
this
|
|
175
|
-
|
|
176
|
-
this.
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
this
|
|
198
|
-
//
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
this.
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
this.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
this.
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
this
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
'
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<service-view :data="data" v-if="showview"></service-view>
|
|
4
|
+
<installfee :infee="selectdata" v-if="showinfee"></installfee>
|
|
5
|
+
<!--预存款-->
|
|
6
|
+
<preparationfee :selectdata="selectdata" v-if="showpreparation"></preparationfee>
|
|
7
|
+
<!--预存报建收费-->
|
|
8
|
+
<prestorefee :infee="selectdata" v-if="showprestorefee" v-ref:prestorefee></prestorefee>
|
|
9
|
+
<!-- 费用变更 -->
|
|
10
|
+
<!--<updatefee :upfee="selectdata" v-if="showupfee"></updatefee>-->
|
|
11
|
+
<!-- 费用减免 -->
|
|
12
|
+
<!--<reducefee :redufee="selectdata" v-if="showreducefee"></reducefee>-->
|
|
13
|
+
<!-- 购货方信息 -->
|
|
14
|
+
<buyer-message v-ref:buyermessagev :selectdata="selectdata" :state="1" v-if="showbuyer" ></buyer-message>
|
|
15
|
+
<!-- 领取材料 -->
|
|
16
|
+
<receive-batch :selectdata="selectdata" :state="1" v-if="showreceivebatch" ></receive-batch>
|
|
17
|
+
<!-- 添加合同 -->
|
|
18
|
+
<addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
|
|
19
|
+
<!-- 终止报建 -->
|
|
20
|
+
<stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
|
|
21
|
+
<!-- 领料记录 -->
|
|
22
|
+
<material_recording :infee="selectdata" v-if="show_material"></material_recording>
|
|
23
|
+
<!-- APP附件 -->
|
|
24
|
+
<apply-upload :appupload="selectdata" v-if="show_upload"></apply-upload>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
<script>
|
|
28
|
+
import {HttpResetClass} from 'vue-client'
|
|
29
|
+
export default {
|
|
30
|
+
title: '报建功能业务控制层',
|
|
31
|
+
props: ['selectdata','funcdata'],
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
data:null,
|
|
35
|
+
model:null,
|
|
36
|
+
json_datas:null,
|
|
37
|
+
showview:false,
|
|
38
|
+
|
|
39
|
+
showbuyer: false, // 显示购货方信息
|
|
40
|
+
showreceivebatch:false,
|
|
41
|
+
showcontract: false, // 补充协议
|
|
42
|
+
showinfee: false, // 报建收费
|
|
43
|
+
showprestorefee: false, // 开发商预存报建收费
|
|
44
|
+
showstop: false, // 终止报建
|
|
45
|
+
showbill: false, // 打印票据
|
|
46
|
+
showpreparation: false, // 预付款
|
|
47
|
+
show_material:false,//报建材料
|
|
48
|
+
show_upload: false //APP附件
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
// 购货方信息
|
|
53
|
+
buyerMessage(){
|
|
54
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
55
|
+
// this.selectdata = row
|
|
56
|
+
this.$parent.clishow= true
|
|
57
|
+
this.$parent.show = false
|
|
58
|
+
|
|
59
|
+
this.showbuyer = true
|
|
60
|
+
this.showreceivebatch = false
|
|
61
|
+
this.show_material = false
|
|
62
|
+
this.showview = false
|
|
63
|
+
this.showinfee = false
|
|
64
|
+
this.showprestorefee = false
|
|
65
|
+
this.showupfee = false
|
|
66
|
+
this.showreducefee = false
|
|
67
|
+
this.showstop = false
|
|
68
|
+
this.showcontract = false
|
|
69
|
+
this.showbill = false
|
|
70
|
+
this.showpreparation = false
|
|
71
|
+
this.show_upload = false
|
|
72
|
+
},
|
|
73
|
+
// 派工单
|
|
74
|
+
receiveBatch(){
|
|
75
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
76
|
+
// this.selectdata = row
|
|
77
|
+
this.$parent.clishow= true
|
|
78
|
+
this.$parent.show = false
|
|
79
|
+
|
|
80
|
+
this.showreceivebatch = true
|
|
81
|
+
this.showbuyer = false
|
|
82
|
+
this.show_material = false
|
|
83
|
+
this.showview = false
|
|
84
|
+
this.showinfee = false
|
|
85
|
+
this.showprestorefee = false
|
|
86
|
+
this.showupfee = false
|
|
87
|
+
this.showreducefee = false
|
|
88
|
+
this.showstop = false
|
|
89
|
+
this.showcontract = false
|
|
90
|
+
this.showbill = false
|
|
91
|
+
this.showpreparation = false
|
|
92
|
+
this.show_upload = false
|
|
93
|
+
},
|
|
94
|
+
// 领料记录
|
|
95
|
+
materialRecord(){
|
|
96
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
97
|
+
// this.selectdata = row
|
|
98
|
+
this.$parent.clishow= true
|
|
99
|
+
this.$parent.show = false
|
|
100
|
+
|
|
101
|
+
this.show_material = true
|
|
102
|
+
this.showbuyer = false
|
|
103
|
+
this.showreceivebatch = false
|
|
104
|
+
this.showview = false
|
|
105
|
+
this.showinfee = false
|
|
106
|
+
this.showprestorefee = false
|
|
107
|
+
this.showupfee = false
|
|
108
|
+
this.showreducefee = false
|
|
109
|
+
this.showstop = false
|
|
110
|
+
this.showcontract = false
|
|
111
|
+
this.showbill = false
|
|
112
|
+
this.showpreparation = false
|
|
113
|
+
this.show_upload = false
|
|
114
|
+
},
|
|
115
|
+
// 预付款
|
|
116
|
+
preparation(){
|
|
117
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
118
|
+
// this.selectdata = row
|
|
119
|
+
this.$parent.clishow= true
|
|
120
|
+
this.$parent.show = false
|
|
121
|
+
|
|
122
|
+
this.showreceivebatch = false
|
|
123
|
+
this.showbuyer = false
|
|
124
|
+
this.show_material = false
|
|
125
|
+
this.showview = false
|
|
126
|
+
this.showinfee = false
|
|
127
|
+
this.showprestorefee = false
|
|
128
|
+
this.showupfee = false
|
|
129
|
+
this.showreducefee = false
|
|
130
|
+
this.showstop = false
|
|
131
|
+
this.showcontract = false
|
|
132
|
+
this.showbill = false
|
|
133
|
+
this.showpreparation = true
|
|
134
|
+
this.show_upload = false
|
|
135
|
+
},
|
|
136
|
+
// 票据打印
|
|
137
|
+
bill(){
|
|
138
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
139
|
+
// this.selectdata = row
|
|
140
|
+
this.$parent.clishow= true
|
|
141
|
+
this.$parent.show = false
|
|
142
|
+
|
|
143
|
+
this.showreceivebatch = false
|
|
144
|
+
this.showbuyer = false
|
|
145
|
+
this.showview = false
|
|
146
|
+
this.showinfee = false
|
|
147
|
+
this.showprestorefee = false
|
|
148
|
+
this.showupfee = false
|
|
149
|
+
this.showreducefee = false
|
|
150
|
+
this.showstop = false
|
|
151
|
+
this.showcontract = false
|
|
152
|
+
this.showpreparation = false
|
|
153
|
+
this.showbill = true
|
|
154
|
+
this.show_material = false
|
|
155
|
+
this.show_upload = false
|
|
156
|
+
},
|
|
157
|
+
// 补充合同
|
|
158
|
+
contract() {
|
|
159
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
160
|
+
// this.selectdata = row
|
|
161
|
+
this.$parent.clishow= true
|
|
162
|
+
this.$parent.show = false
|
|
163
|
+
|
|
164
|
+
this.showreceivebatch = false
|
|
165
|
+
this.showbuyer = false
|
|
166
|
+
this.showview = false
|
|
167
|
+
this.showinfee = false
|
|
168
|
+
this.showprestorefee = false
|
|
169
|
+
this.showupfee = false
|
|
170
|
+
this.showreducefee = false
|
|
171
|
+
this.showstop = false
|
|
172
|
+
this.showbill = false
|
|
173
|
+
this.showpreparation = false
|
|
174
|
+
this.showcontract = true
|
|
175
|
+
this.show_material = false
|
|
176
|
+
this.show_upload = false
|
|
177
|
+
},
|
|
178
|
+
// 收费
|
|
179
|
+
instalfee(str) {
|
|
180
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
181
|
+
// this.selectdata = row
|
|
182
|
+
this.$parent.clishow= true
|
|
183
|
+
this.$parent.show = false
|
|
184
|
+
|
|
185
|
+
this.showreceivebatch = false
|
|
186
|
+
this.showbuyer = false
|
|
187
|
+
this.showview = false
|
|
188
|
+
this.showupfee = false
|
|
189
|
+
this.showreducefee = false
|
|
190
|
+
this.showstop = false
|
|
191
|
+
this.showcontract = false
|
|
192
|
+
this.showbill = false
|
|
193
|
+
this.showpreparation = false
|
|
194
|
+
this.showprestorefee = false
|
|
195
|
+
this.showinfee = false
|
|
196
|
+
this.show_material = false
|
|
197
|
+
this.show_upload = false
|
|
198
|
+
// 采用开发商预付款方式收费
|
|
199
|
+
if(str==='预付扣款'){
|
|
200
|
+
this.showprestorefee = true
|
|
201
|
+
}else {
|
|
202
|
+
this.showinfee = true
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
// 终止报建
|
|
206
|
+
stopInstall() {
|
|
207
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
208
|
+
// this.selectdata = row
|
|
209
|
+
this.$parent.clishow= true
|
|
210
|
+
this.$parent.show = false
|
|
211
|
+
|
|
212
|
+
this.showreceivebatch = false
|
|
213
|
+
this.showbuyer = false
|
|
214
|
+
this.showview = false
|
|
215
|
+
this.showbill = false
|
|
216
|
+
this.showinfee = false
|
|
217
|
+
this.showprestorefee = false
|
|
218
|
+
this.showupfee = false
|
|
219
|
+
this.showreducefee = false
|
|
220
|
+
this.showcontract = false
|
|
221
|
+
this.showpreparation = false
|
|
222
|
+
this.showstop = true
|
|
223
|
+
this.show_material = false
|
|
224
|
+
this.show_upload = false
|
|
225
|
+
},
|
|
226
|
+
// APP附件
|
|
227
|
+
appUpload() {
|
|
228
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
229
|
+
// this.selectdata = row
|
|
230
|
+
this.$parent.clishow= true
|
|
231
|
+
this.$parent.show = false
|
|
232
|
+
|
|
233
|
+
this.showreceivebatch = false
|
|
234
|
+
this.showbuyer = false
|
|
235
|
+
this.showview = false
|
|
236
|
+
this.showbill = false
|
|
237
|
+
this.showinfee = false
|
|
238
|
+
this.showprestorefee = false
|
|
239
|
+
this.showupfee = false
|
|
240
|
+
this.showreducefee = false
|
|
241
|
+
this.showcontract = false
|
|
242
|
+
this.showpreparation = false
|
|
243
|
+
this.showstop = false
|
|
244
|
+
this.show_material = false
|
|
245
|
+
this.show_upload = true
|
|
246
|
+
},
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
// json配置数据处理 比如下拉框的options
|
|
251
|
+
initializtion() {
|
|
252
|
+
// selectdata 填充 data
|
|
253
|
+
this.data=Object.assign({},this.data,this.selectdata)
|
|
254
|
+
for(let i=0;i<this.data.fields.length;i++){
|
|
255
|
+
if(this.selectdata[this.data.fields[i].field]){
|
|
256
|
+
this.data.fields[i].value = this.selectdata[this.data.fields[i].field]
|
|
257
|
+
}
|
|
258
|
+
// 如果配置类型为select,获取options
|
|
259
|
+
if(this.data.fields[i].type==='select'){
|
|
260
|
+
this.data.fields[i].options=this.$appdata.getParam(this.data.fields[i].label)
|
|
261
|
+
if(this.data.fields[i].label==''){
|
|
262
|
+
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
hasChange(){
|
|
268
|
+
if(this.funcdata.fields){
|
|
269
|
+
this.data = this.funcdata
|
|
270
|
+
// 初始化要展示的数据结构
|
|
271
|
+
this.initializtion()
|
|
272
|
+
this.$parent.clishow= true
|
|
273
|
+
this.$parent.show = false
|
|
274
|
+
|
|
275
|
+
this.showview = true
|
|
276
|
+
this.showbill = false
|
|
277
|
+
this.showinfee = false
|
|
278
|
+
this.showprestorefee = false
|
|
279
|
+
this.showcontract = false
|
|
280
|
+
this.showpreparation = false
|
|
281
|
+
this.showstop = false
|
|
282
|
+
this.showreceivebatch = false
|
|
283
|
+
this.showbuyer = false
|
|
284
|
+
this.show_material = false
|
|
285
|
+
this.show_upload = false
|
|
286
|
+
}else{
|
|
287
|
+
if(this.funcdata.title==='终止报建'){
|
|
288
|
+
this.stopInstall()
|
|
289
|
+
}
|
|
290
|
+
if(this.funcdata.title==='预付扣款'){
|
|
291
|
+
this.instalfee('预付扣款')
|
|
292
|
+
}
|
|
293
|
+
if(this.funcdata.title==='报建收费'){
|
|
294
|
+
this.instalfee()
|
|
295
|
+
}
|
|
296
|
+
if(this.funcdata.title==='打印票据'){
|
|
297
|
+
this.bill()
|
|
298
|
+
}
|
|
299
|
+
// if(this.funcdata.title==='补充协议'){
|
|
300
|
+
// this.contract()
|
|
301
|
+
// }
|
|
302
|
+
if(this.funcdata.title==='预付款'){
|
|
303
|
+
this.preparation()
|
|
304
|
+
}
|
|
305
|
+
if(this.funcdata.title==='领料记录'){
|
|
306
|
+
this.materialRecord()
|
|
307
|
+
}
|
|
308
|
+
if(this.funcdata.title==='购买方信息'){
|
|
309
|
+
this.buyerMessage()
|
|
310
|
+
}
|
|
311
|
+
if(this.funcdata.title==='派工单'){
|
|
312
|
+
this.receiveBatch()
|
|
313
|
+
}
|
|
314
|
+
if(this.funcdata.title==='APP附件'){
|
|
315
|
+
this.appUpload()
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
events: {
|
|
321
|
+
// 任意select选中时触发事件
|
|
322
|
+
'select_cascade'(index){
|
|
323
|
+
// 级联操作示例:
|
|
324
|
+
/*
|
|
325
|
+
if(this.data.activitys.ields[index].label==='报建类型'){
|
|
326
|
+
for(let i=0;i<this.data.activitys.fields.length;i++){
|
|
327
|
+
// 控制设置级联
|
|
328
|
+
// 源select所选的值 this.data.activitys.fields[index].value
|
|
329
|
+
if(this.data.activitys.fields[i].label==='级联测试2'){
|
|
330
|
+
this.data.activitys.fields[i].options=[
|
|
331
|
+
{label:'级联选项1',value:'级联选项1'},{label:'级联选项2',value:'级联选项2'},{label:'级联选项3',value:'级联选项3'}
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
*/
|
|
337
|
+
},
|
|
338
|
+
// 获取view层button事件
|
|
339
|
+
async 'button'(model){
|
|
340
|
+
console.log("button事件接收参数:",model)
|
|
341
|
+
model=Object.assign({},this.selectdata,model)
|
|
342
|
+
// 下发,提交,保存,退回都在后台处理
|
|
343
|
+
let http = new HttpResetClass();
|
|
344
|
+
let res = await http.load('POST','rs/logic/ApplyProductFunctionService',{data:{tables:this.funcdata.tables,model:model,loginUser:this.$login.f}}, {resolveMsg: null, rejectMsg: '数据保存失败'})
|
|
345
|
+
console.log("service处理完成返回数据:",JSON.stringify(res.data))
|
|
346
|
+
if(res.code=200){
|
|
347
|
+
this.$dispatch('hiddenbtn')
|
|
348
|
+
this.showview= false
|
|
349
|
+
}else{
|
|
350
|
+
throw res.data.msg
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
watch:{
|
|
355
|
+
'funcdata'() {
|
|
356
|
+
this.hasChange()
|
|
357
|
+
},
|
|
358
|
+
'selectdata'() {
|
|
359
|
+
this.hasChange()
|
|
360
|
+
},
|
|
361
|
+
deep:true
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
</script>
|