apply-clients 3.0.7-136 → 3.0.7-137
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/apply.js +6 -0
- package/src/components/Util.js +4 -0
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/Function/InstallInfoSelect.vue +15 -1
- package/src/components/product/Function/Service/FunctionServiceControl.vue +34 -9
- package/src/components/product/Function/functions/RefundInstall.vue +129 -0
- package/src/components/product/Process/ExplorationSelect.vue +638 -638
- package/src/components/product/Process/ExplorationUser.vue +11 -28
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -3
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +281 -281
- package/src/components/product/Supervisory/SupervisoryControl.vue +10 -7
- package/src/components/product/Supervisory/SupervisoryList.vue +11 -3
- package/src/components/product/VueUtils/ApplyUpload.vue +293 -0
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.0.7-
|
|
3
|
+
"version": "3.0.7-137",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"system-clients": "3.2.2",
|
|
94
94
|
"system-phone": "1.1.18",
|
|
95
95
|
"url-loader": "^0.5.7",
|
|
96
|
-
"vue-client": "1.
|
|
96
|
+
"vue-client": "1.24.32",
|
|
97
97
|
"vue-hot-reload-api": "^1.2.0",
|
|
98
98
|
"vue-html-loader": "^1.0.0",
|
|
99
99
|
"vue-loader": "^8.2.1",
|
package/src/apply.js
CHANGED
|
@@ -63,6 +63,8 @@ export default function () {
|
|
|
63
63
|
Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
|
|
64
64
|
// 终止报建业务
|
|
65
65
|
Vue.component('stop-install', (resolve) => { require(['./components/product/Function/functions/StopInstall'], resolve) })
|
|
66
|
+
//退费
|
|
67
|
+
Vue.component('refund-install', (resolve) => { require(['./components/product/Function/functions/RefundInstall'], resolve) })
|
|
66
68
|
// 报建业务信息
|
|
67
69
|
Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
|
|
68
70
|
// 报建收费
|
|
@@ -143,4 +145,8 @@ export default function () {
|
|
|
143
145
|
Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
|
|
144
146
|
// 汇总查询入口 src/components/product/Statistics/ApplyStatisticsROOT.vue
|
|
145
147
|
Vue.component('apply-statistics-root', (resolve) => { require(['./components/product/Statistics/ApplyStatisticsROOT'], resolve) })
|
|
148
|
+
|
|
149
|
+
/** VueUtils **/
|
|
150
|
+
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
151
|
+
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
|
|
146
152
|
}
|
package/src/components/Util.js
CHANGED
|
@@ -2,6 +2,10 @@ import Vue from 'vue'
|
|
|
2
2
|
// 登录后获取的所有数据,需要自行获取
|
|
3
3
|
export var f
|
|
4
4
|
|
|
5
|
+
export function isEmpty (str) {
|
|
6
|
+
return str === undefined || str === null || str.toString().trim() === ''
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
export function getAttendanceState (item, timeToWork, timeToGo) {
|
|
6
10
|
item.f_state = ''
|
|
7
11
|
if (!item.f_signin_time || !item.f_knockoff_time) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -50,6 +50,13 @@
|
|
|
50
50
|
</v-select>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
|
+
<div class="form-group col-sm-2">
|
|
54
|
+
<div class="col-sm-12">
|
|
55
|
+
<v-select placeholder='报建状态' :options="$parent.$parent.bjstate" width="100%" :value-single="true"
|
|
56
|
+
v-model="model.f_state" :value.sync="model.f_state" close-on-select condition="u.f_state='{}'" >
|
|
57
|
+
</v-select>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
53
60
|
<div class="form-group col-sm-2">
|
|
54
61
|
<datepicker id="startDate" placeholder="开始日期"
|
|
55
62
|
v-model="model.startDate"
|
|
@@ -117,6 +124,9 @@
|
|
|
117
124
|
<th>
|
|
118
125
|
<nobr>报建类型</nobr>
|
|
119
126
|
</th>
|
|
127
|
+
<th>
|
|
128
|
+
<nobr>报建状态</nobr>
|
|
129
|
+
</th>
|
|
120
130
|
<th>
|
|
121
131
|
<nobr>报建日期</nobr>
|
|
122
132
|
</th>
|
|
@@ -163,6 +173,9 @@
|
|
|
163
173
|
<td style="text-align: center;">
|
|
164
174
|
<nobr>{{row.f_apply_type}}</nobr>
|
|
165
175
|
</td>
|
|
176
|
+
<td style="text-align: center;">
|
|
177
|
+
<nobr>{{row.f_state}}</nobr>
|
|
178
|
+
</td>
|
|
166
179
|
<td style="text-align: center;">
|
|
167
180
|
<nobr>{{row.f_apply_date}}</nobr>
|
|
168
181
|
</td>
|
|
@@ -205,6 +218,7 @@
|
|
|
205
218
|
refreshed:true,
|
|
206
219
|
usertype: this.$appdata.getParam('用户类型'),
|
|
207
220
|
defnameType: this.$appdata.getParam('流程状态'),
|
|
221
|
+
bjstate: [{label:"全部",value:''},...this.$appdata.getParam('报建状态')],
|
|
208
222
|
applytype: [{label:"全部",value:''},...this.$appdata.getParam('报建类型')],
|
|
209
223
|
//中燃 专用
|
|
210
224
|
fapplytype: this.$appdata.getParam('用户类型'),
|
|
@@ -222,7 +236,7 @@
|
|
|
222
236
|
{label: '全部', value: ''},
|
|
223
237
|
{label: '是', value: '是'},
|
|
224
238
|
{label: '否', value: '否'}
|
|
225
|
-
]
|
|
239
|
+
],
|
|
226
240
|
}
|
|
227
241
|
},
|
|
228
242
|
ready() {
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
<addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
|
|
25
25
|
<!-- 终止报建 -->
|
|
26
26
|
<stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
|
|
27
|
+
<!-- 退费 -->
|
|
28
|
+
<refund-install :refundapply="selectdata" v-if="showsrefund"></refund-install>
|
|
27
29
|
<!-- 领料记录 -->
|
|
28
30
|
<material_recording :infee="selectdata" v-if="show_material"></material_recording>
|
|
29
31
|
</div>
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
showinfee: false, // 报建收费
|
|
47
49
|
showprestorefee: false, // 开发商预存报建收费
|
|
48
50
|
showstop: false, // 终止报建
|
|
51
|
+
showsrefund: false, // 退费
|
|
49
52
|
showbill: false, // 打印票据
|
|
50
53
|
showpreparation: false, // 预付款
|
|
51
54
|
show_material:false,//报建材料
|
|
@@ -69,7 +72,7 @@
|
|
|
69
72
|
this.showview = false
|
|
70
73
|
this.showinfee = false
|
|
71
74
|
this.showprestorefee = false
|
|
72
|
-
this.
|
|
75
|
+
this.showsrefund = false
|
|
73
76
|
this.showreducefee = false
|
|
74
77
|
this.showstop = false
|
|
75
78
|
this.showcontract = false
|
|
@@ -91,7 +94,7 @@
|
|
|
91
94
|
this.showview = false
|
|
92
95
|
this.showinfee = false
|
|
93
96
|
this.showprestorefee = false
|
|
94
|
-
this.
|
|
97
|
+
this.showsrefund = false
|
|
95
98
|
this.showreducefee = false
|
|
96
99
|
this.showstop = false
|
|
97
100
|
this.showcontract = false
|
|
@@ -112,7 +115,7 @@
|
|
|
112
115
|
this.showview = false
|
|
113
116
|
this.showinfee = false
|
|
114
117
|
this.showprestorefee = false
|
|
115
|
-
this.
|
|
118
|
+
this.showsrefund = false
|
|
116
119
|
this.showreducefee = false
|
|
117
120
|
this.showstop = false
|
|
118
121
|
this.showcontract = false
|
|
@@ -133,7 +136,7 @@
|
|
|
133
136
|
this.showview = false
|
|
134
137
|
this.showinfee = false
|
|
135
138
|
this.showprestorefee = false
|
|
136
|
-
this.
|
|
139
|
+
this.showsrefund = false
|
|
137
140
|
this.showreducefee = false
|
|
138
141
|
this.showstop = false
|
|
139
142
|
this.showcontract = false
|
|
@@ -154,7 +157,7 @@
|
|
|
154
157
|
this.showview = false
|
|
155
158
|
this.showinfee = false
|
|
156
159
|
this.showprestorefee = false
|
|
157
|
-
this.
|
|
160
|
+
this.showsrefund = false
|
|
158
161
|
this.showreducefee = false
|
|
159
162
|
this.showstop = false
|
|
160
163
|
this.showcontract = false
|
|
@@ -174,7 +177,7 @@
|
|
|
174
177
|
this.showview = false
|
|
175
178
|
this.showinfee = false
|
|
176
179
|
this.showprestorefee = false
|
|
177
|
-
this.
|
|
180
|
+
this.showsrefund = false
|
|
178
181
|
this.showreducefee = false
|
|
179
182
|
this.showstop = false
|
|
180
183
|
this.showcontract = false
|
|
@@ -195,7 +198,7 @@
|
|
|
195
198
|
this.showview = false
|
|
196
199
|
this.showinfee = false
|
|
197
200
|
this.showprestorefee = false
|
|
198
|
-
this.
|
|
201
|
+
this.showsrefund = false
|
|
199
202
|
this.showreducefee = false
|
|
200
203
|
this.showstop = false
|
|
201
204
|
this.showbill = false
|
|
@@ -214,7 +217,7 @@
|
|
|
214
217
|
this.showmaterialmessage = false
|
|
215
218
|
this.showbuyer = false
|
|
216
219
|
this.showview = false
|
|
217
|
-
this.
|
|
220
|
+
this.showsrefund = false
|
|
218
221
|
this.showreducefee = false
|
|
219
222
|
this.showstop = false
|
|
220
223
|
this.showcontract = false
|
|
@@ -244,7 +247,7 @@
|
|
|
244
247
|
this.showbill = false
|
|
245
248
|
this.showinfee = false
|
|
246
249
|
this.showprestorefee = false
|
|
247
|
-
this.
|
|
250
|
+
this.showsrefund = false
|
|
248
251
|
this.showreducefee = false
|
|
249
252
|
this.showcontract = false
|
|
250
253
|
this.showpreparation = false
|
|
@@ -252,7 +255,26 @@
|
|
|
252
255
|
this.show_material = false
|
|
253
256
|
},
|
|
254
257
|
|
|
258
|
+
RefundInstall() {
|
|
259
|
+
this.$parent.$refs.installselect.clifun(this.selectdata)
|
|
260
|
+
// this.selectdata = row
|
|
261
|
+
this.$parent.clishow= true
|
|
262
|
+
this.$parent.show = false
|
|
255
263
|
|
|
264
|
+
this.showreceivebatch = false
|
|
265
|
+
this.showmaterialmessage = false
|
|
266
|
+
this.showbuyer = false
|
|
267
|
+
this.showview = false
|
|
268
|
+
this.showbill = false
|
|
269
|
+
this.showinfee = false
|
|
270
|
+
this.showprestorefee = false
|
|
271
|
+
this.showsrefund = true
|
|
272
|
+
this.showreducefee = false
|
|
273
|
+
this.showcontract = false
|
|
274
|
+
this.showpreparation = false
|
|
275
|
+
this.showstop = false
|
|
276
|
+
this.show_material = false
|
|
277
|
+
},
|
|
256
278
|
|
|
257
279
|
// json配置数据处理 比如下拉框的options
|
|
258
280
|
initializtion() {
|
|
@@ -292,6 +314,9 @@
|
|
|
292
314
|
if(this.funcdata.title==='终止报建'){
|
|
293
315
|
this.stopInstall()
|
|
294
316
|
}
|
|
317
|
+
if(this.funcdata.title==='退费'){
|
|
318
|
+
this.RefundInstall()
|
|
319
|
+
}
|
|
295
320
|
if(this.funcdata.title==='预付扣款'){
|
|
296
321
|
this.instalfee('预付扣款')
|
|
297
322
|
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12 auto select-overspread">
|
|
3
|
+
<div class="auto select-overspread">
|
|
4
|
+
<div class="panel panel-info">
|
|
5
|
+
<div class="panel-heading auto">
|
|
6
|
+
<h3 class="panel-title">退费</h3>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<validator name="v">
|
|
11
|
+
<form class="horizontal" style="padding-top: 50px;">
|
|
12
|
+
<div class="form-group col-sm-12">
|
|
13
|
+
<div class="col-sm-2">
|
|
14
|
+
<label class="control-label col-sm-12">退费金额:</label>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-10">
|
|
17
|
+
<input class="form-control" rows="3" v-model="model.f_refund_amount"></input>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div class="form-group col-sm-12">
|
|
22
|
+
<div class="col-sm-2">
|
|
23
|
+
<label class="control-label col-sm-12">退费原因:</label>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-sm-10">
|
|
26
|
+
<textarea class="form-control" rows="3" v-model="model.f_refund_amount_reason"></textarea>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div style="height:200px;"></div>
|
|
30
|
+
<div class="form-group col-sm-12">
|
|
31
|
+
<div class="col-sm-6">
|
|
32
|
+
<label class="control-label col-sm-4">分公司:</label>
|
|
33
|
+
<div class="col-sm-8">
|
|
34
|
+
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-6">
|
|
38
|
+
<label class="control-label col-sm-4">操作日期:</label>
|
|
39
|
+
<div class="col-sm-8">
|
|
40
|
+
<input class="form-control" type="text" v-model="model.f_date" disabled>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="form-group col-sm-12">
|
|
45
|
+
<div class="col-sm-6">
|
|
46
|
+
<label class="control-label col-sm-4">部门:</label>
|
|
47
|
+
<div class="col-sm-8">
|
|
48
|
+
<input class="form-control" type="text" v-model="model.f_department" disabled>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-6">
|
|
52
|
+
<label class="control-label col-sm-4">操作人:</label>
|
|
53
|
+
<div class="col-sm-8">
|
|
54
|
+
<input class="form-control" type="text" v-model="model.f_operator" disabled>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</form>
|
|
59
|
+
</validator>
|
|
60
|
+
<div class="from-group col-sm-12">
|
|
61
|
+
<center>
|
|
62
|
+
<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;" :disabled="$v.invalid">
|
|
63
|
+
保存
|
|
64
|
+
</button>
|
|
65
|
+
</center>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</template>
|
|
69
|
+
<script>
|
|
70
|
+
// import AppData from '../../../../stores/AppData'
|
|
71
|
+
import * as Util from '../../../Util'
|
|
72
|
+
import co from 'co'
|
|
73
|
+
let gen = function * (self, val, val1) {
|
|
74
|
+
// let data ={
|
|
75
|
+
// tablename:'t_apply',
|
|
76
|
+
// parameters:val1
|
|
77
|
+
// }
|
|
78
|
+
// yield self.$resetpost('rs/logic/save', {data:data})
|
|
79
|
+
// delete val.id
|
|
80
|
+
// // val.f_cancel_reason = self.stopapply.f_process_id
|
|
81
|
+
// val.processid = self.refundapply.f_process_id
|
|
82
|
+
// val.f_operator = self.$login.f.name
|
|
83
|
+
// data ={
|
|
84
|
+
// tablename:'t_apply',
|
|
85
|
+
// parameters:val
|
|
86
|
+
// }
|
|
87
|
+
// self.$resetpost('rs/logic/save', {data:data})
|
|
88
|
+
// .then(() => {
|
|
89
|
+
self.workflow()
|
|
90
|
+
// })
|
|
91
|
+
}
|
|
92
|
+
export default {
|
|
93
|
+
title: '退费',
|
|
94
|
+
data () {
|
|
95
|
+
return {
|
|
96
|
+
model: {
|
|
97
|
+
f_date: Util.toStandardTimeString(),
|
|
98
|
+
f_department: this.$login.f.f_department_name,
|
|
99
|
+
f_operator: this.$login.f.name,
|
|
100
|
+
f_filiale: this.$login.f.orgs
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
props: ['refundapply'],
|
|
105
|
+
methods: {
|
|
106
|
+
confirm () {
|
|
107
|
+
this.model = Object.assign({}, this.refundapply, this.model)
|
|
108
|
+
this.model.id = this.refundapply.id
|
|
109
|
+
// this.model.f_jmhj_cost= this.model.f_fee
|
|
110
|
+
// this.stopapply.f_state = '退费'
|
|
111
|
+
this.model.applyid = this.refundapply.id
|
|
112
|
+
this.model.f_operat_type = '退费'
|
|
113
|
+
this.model.f_state = '有效'
|
|
114
|
+
this.model.f_describe = this.model.f_user_name + '已退费'
|
|
115
|
+
let getGen = gen(this, this.model, this.refundapply)
|
|
116
|
+
co(getGen)
|
|
117
|
+
this.$dispatch('searchcard')
|
|
118
|
+
this.$dispatch('hiddenbtn')
|
|
119
|
+
},
|
|
120
|
+
workflow () {
|
|
121
|
+
// this.$post(`rs/workflow/stop/${this.stopapply.actid}/${this.$login.f.name}/${this.$login.f.id}`, [{data: `{id: ${this.model.actid}}`}])
|
|
122
|
+
this.$resetpost('rs/logic/refundapply', {data: this.model})
|
|
123
|
+
.then((res) => {
|
|
124
|
+
// this.reset()
|
|
125
|
+
})
|
|
126
|
+
},
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
</script>
|