sale-client 3.6.92 → 3.6.93
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 +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/OffGasAddGas/OffGasAddGas.vue +7 -3
- package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +7 -3
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackRecordQuery.vue +213 -0
- package/src/components/revenue/comprehen/SpecialUser/SpecialUserManage.vue +3 -0
- package/src/filiale/shexian/revenue/newchangemeter/ChangeMeter.vue +8 -3
- package/src/filiale/shexian/revenue/newchangemeter/ResetMeter.vue +7 -3
- package/src/sale.js +2 -0
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<div style="text-align:right;">
|
|
49
49
|
<button class="button_search button_spacing" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单</button>
|
|
50
50
|
<button class="button_search button_spacing" v-show="config.approve == true ? applyButtonShow : false" @click="apply()" :disabled='!$v.valid'>掉气补气审核</button>
|
|
51
|
-
<button class="button_search button_spacing" v-show="config.approve == true ? !applyButtonShow : true" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
51
|
+
<button class="button_search button_spacing" v-show="config.approve == true ? !applyButtonShow : true" @click="confirm()" :disabled='!$v.valid || buttonDisable'>确认</button>
|
|
52
52
|
<button class="button_clear" v-show="applyButtonShow" @click="clean()">取消</button>
|
|
53
53
|
</div>
|
|
54
54
|
</validator>
|
|
@@ -142,7 +142,8 @@ export default {
|
|
|
142
142
|
f_memorandum: ''
|
|
143
143
|
},
|
|
144
144
|
addTaskValid: false,
|
|
145
|
-
addTaskModalShow: false
|
|
145
|
+
addTaskModalShow: false,
|
|
146
|
+
buttonDisable: false
|
|
146
147
|
}
|
|
147
148
|
},
|
|
148
149
|
props: {
|
|
@@ -206,7 +207,6 @@ export default {
|
|
|
206
207
|
this.addTaskModel.f_work_flow_name = ''
|
|
207
208
|
this.addTaskModel.f_task_name = ''
|
|
208
209
|
this.addTaskModel.f_userinfo_code = ''
|
|
209
|
-
this.addTaskModel.f_approval = ''
|
|
210
210
|
this.addTaskModel.f_memorandum = ''
|
|
211
211
|
},
|
|
212
212
|
addTask () {
|
|
@@ -283,6 +283,7 @@ export default {
|
|
|
283
283
|
this.acceptprint = false
|
|
284
284
|
},
|
|
285
285
|
confirm () {
|
|
286
|
+
this.buttonDisable = true
|
|
286
287
|
this.$dispatch('no-button')
|
|
287
288
|
this.row.cardInfo = this.cardData
|
|
288
289
|
this.$OffGasAddGasService.offGasAddGas(this.model, this.row).then((res) => {
|
|
@@ -294,6 +295,8 @@ export default {
|
|
|
294
295
|
}
|
|
295
296
|
}
|
|
296
297
|
this.$dispatch('futureapply', obj)
|
|
298
|
+
// 向上级触发一个事件改变流程的操作状态
|
|
299
|
+
this.$dispatch('changeFlowOperateState')
|
|
297
300
|
}
|
|
298
301
|
if (this.config.hasPrint) {
|
|
299
302
|
if (this.config.hasBillManage) {
|
|
@@ -313,6 +316,7 @@ export default {
|
|
|
313
316
|
this.$error('重复提交')
|
|
314
317
|
return
|
|
315
318
|
}
|
|
319
|
+
this.buttonDisable = false
|
|
316
320
|
this.$dispatch('error', '掉气补气', this.row, error)
|
|
317
321
|
})
|
|
318
322
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<div style="text-align:right;margin-top: 2%">
|
|
59
59
|
<button class="button_search" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单</button>
|
|
60
60
|
<button class="button_search" v-show="config.approve == true ? applyButtonShow : false" @click="apply()" :disabled='!$v.valid' >其他补气审核</button>
|
|
61
|
-
<button class="button_search" v-show="config.approve == true ? !applyButtonShow : true" @click="confirm()" :disabled='!$v.valid' >确认</button>
|
|
61
|
+
<button class="button_search" v-show="config.approve == true ? !applyButtonShow : true" @click="confirm()" :disabled='!$v.valid || buttonDisable' >确认</button>
|
|
62
62
|
<button class="button_clear" v-show="applyButtonShow" @click="clean()" >取消</button>
|
|
63
63
|
</div>
|
|
64
64
|
</validator>
|
|
@@ -200,6 +200,7 @@
|
|
|
200
200
|
rollback.f_tag = self.row.f_tag
|
|
201
201
|
}
|
|
202
202
|
await self.$resetpost('rs/logic/otherGasRollback', {data: rollback}, {rejectMsg: '其他补气回滚出错', resolveMsg: null})
|
|
203
|
+
self.buttonDisable = false
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
}
|
|
@@ -258,7 +259,8 @@
|
|
|
258
259
|
f_memorandum: ''
|
|
259
260
|
},
|
|
260
261
|
addTaskValid: false,
|
|
261
|
-
addTaskModalShow: false
|
|
262
|
+
addTaskModalShow: false,
|
|
263
|
+
buttonDisable: false
|
|
262
264
|
}
|
|
263
265
|
},
|
|
264
266
|
props: {
|
|
@@ -291,7 +293,6 @@
|
|
|
291
293
|
this.addTaskModel.f_work_flow_name = ''
|
|
292
294
|
this.addTaskModel.f_task_name = ''
|
|
293
295
|
this.addTaskModel.f_userinfo_code = ''
|
|
294
|
-
this.addTaskModel.f_approval = ''
|
|
295
296
|
this.addTaskModel.f_memorandum = ''
|
|
296
297
|
},
|
|
297
298
|
addTask () {
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
this.acceptprint = false
|
|
348
349
|
},
|
|
349
350
|
async confirm () {
|
|
351
|
+
this.buttonDisable = true
|
|
350
352
|
let res = await otherGasGen(this)
|
|
351
353
|
if (this.config.approve) {
|
|
352
354
|
console.log('存储补气业务信息')
|
|
@@ -356,6 +358,8 @@
|
|
|
356
358
|
}
|
|
357
359
|
}
|
|
358
360
|
this.$dispatch('futureapply', obj)
|
|
361
|
+
// 向上级触发一个事件改变流程的操作状态
|
|
362
|
+
this.$dispatch('changeFlowOperateState')
|
|
359
363
|
}
|
|
360
364
|
if (this.config.hasPrint) {
|
|
361
365
|
if (this.config.hasBillManage) {
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" @keyup.enter="search" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="form-group col-sm-2">
|
|
10
|
+
<label class="font_normal_body">用户编号</label>
|
|
11
|
+
<input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="用户编号" style="width:60%"
|
|
12
|
+
type="text" v-model="model.ename"
|
|
13
|
+
/>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="form-group col-sm-2">
|
|
16
|
+
<label class="font_normal_body">用户姓名</label>
|
|
17
|
+
<input class="input_search" condition="f_user_name = '{}'" placeholder="用户姓名" style="width:60%"
|
|
18
|
+
type="text" v-model="model.name"
|
|
19
|
+
/>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="form-group col-sm-2">
|
|
22
|
+
<label class="font_normal_body">地  址</label>
|
|
23
|
+
<input :size="model.f_address ? model.f_address.length * 2 : 4" class="input_search" condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%"
|
|
24
|
+
type="text"
|
|
25
|
+
v-model="model.f_address">
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-sm-2">
|
|
28
|
+
<label class="font_normal_body">电  话</label>
|
|
29
|
+
<input :size="model.f_user_phone ? model.f_user_phone.length : 2" class="input_search" condition="f_user_phone = '{}'" placeholder='电话' style="width:60%"
|
|
30
|
+
type="text"
|
|
31
|
+
v-model="model.f_user_phone">
|
|
32
|
+
</div>
|
|
33
|
+
<div class="form-group col-sm-3 button-range" style="padding-right: 10px">
|
|
34
|
+
<button @click="$parent.$parent.search()" class="button_search button_spacing" style="width:80px;margin-left:30px;" v-el:cx>查询</button>
|
|
35
|
+
<export-excel
|
|
36
|
+
:data="$parent.$parent.getCondition"
|
|
37
|
+
:field="$parent.$parent.getfield"
|
|
38
|
+
sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="sale_blackRecordQuery" template-name='黑名单记录导出'
|
|
39
|
+
:choose-col="true">
|
|
40
|
+
</export-excel>
|
|
41
|
+
<div
|
|
42
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
43
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
47
|
+
<res-select-group :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getorg" v-ref:sel></res-select-group>
|
|
48
|
+
<div class="form-group col-sm-2">
|
|
49
|
+
<label class="font_normal_body">表  号</label>
|
|
50
|
+
<input :size="model.f_meternumber ? model.f_meternumber.length * 2 : 4" class="input_search" condition="f_meternumber = '{}'" placeholder='表号' style="width:60%"
|
|
51
|
+
type="text"
|
|
52
|
+
v-model="model.f_meternumber">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-group col-sm-2">
|
|
55
|
+
<label class="font_normal_body">卡  号</label>
|
|
56
|
+
<input :size="model.f_card_id ? model.f_card_id.length * 2 : 4" class="input_search" condition="f_card_id = '{}'" placeholder='卡号' style="width:60%"
|
|
57
|
+
type="text"
|
|
58
|
+
v-model="model.f_card_id">
|
|
59
|
+
</div>
|
|
60
|
+
<div class="form-group col-sm-2">
|
|
61
|
+
<label class="font_normal_body">操作日期</label>
|
|
62
|
+
<datepicker placeholder="开始日期"
|
|
63
|
+
style="width:60%"
|
|
64
|
+
class="datepicker"
|
|
65
|
+
v-model="model.startDate"
|
|
66
|
+
:value.sync="model.startDate"
|
|
67
|
+
:format="'yyyy-MM-dd'"
|
|
68
|
+
condition="f_operate_date >= '{} 00:00:00'">
|
|
69
|
+
</datepicker>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-2">
|
|
72
|
+
<label class="font_normal_body">操作日期</label>
|
|
73
|
+
<datepicker placeholder="结束日期"
|
|
74
|
+
style="width:60%"
|
|
75
|
+
class="datepicker"
|
|
76
|
+
v-model="model.endDate"
|
|
77
|
+
:value.sync="model.endDate"
|
|
78
|
+
:format="'yyyy-MM-dd'"
|
|
79
|
+
condition="f_operate_date <= '{} 23:59:59'">
|
|
80
|
+
</datepicker>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="col-sm-2 form-group">
|
|
83
|
+
<label class="font_normal_body">操作类型</label>
|
|
84
|
+
<v-select :value.sync="model.f_operat_type"
|
|
85
|
+
v-model="model.f_operat_type"
|
|
86
|
+
style="width: 60%"
|
|
87
|
+
condition="f_operat_type = '{}'"
|
|
88
|
+
:options='$parent.$parent.operateType' placeholder='操作类型'
|
|
89
|
+
close-on-select>
|
|
90
|
+
</v-select>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</criteria>
|
|
95
|
+
|
|
96
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
97
|
+
<template partial='head'>
|
|
98
|
+
<tr>
|
|
99
|
+
<th style="text-align: center;">序号</th>
|
|
100
|
+
<th style="text-align: center;">用户编号</th>
|
|
101
|
+
<th style="text-align: center;">姓名</th>
|
|
102
|
+
<th style="text-align: center;">表号</th>
|
|
103
|
+
<th style="text-align: center;">卡号</th>
|
|
104
|
+
<th style="text-align: center;">电话</th>
|
|
105
|
+
<th style="text-align: center;">地址</th>
|
|
106
|
+
<th style="text-align: center;">操作日期</th>
|
|
107
|
+
<th style="text-align: center;">操作类型</th>
|
|
108
|
+
<th style="text-align: center;">操作人</th>
|
|
109
|
+
<th style="text-align: center;">操作原因</th>
|
|
110
|
+
</tr>
|
|
111
|
+
</template>
|
|
112
|
+
<template partial='body'>
|
|
113
|
+
<td style="text-align: center;">{{$index+1}}</td>
|
|
114
|
+
<td style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
115
|
+
<td style="text-align: center;">{{row.f_user_name}}</td>
|
|
116
|
+
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
117
|
+
<td style="text-align: center;">{{row.f_card_id}}</td>
|
|
118
|
+
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
119
|
+
<td style="text-align: center;">{{row.f_address}}</td>
|
|
120
|
+
<td style="text-align: center;">{{row.f_operate_date}}</td>
|
|
121
|
+
<td style="text-align: center;">{{row.f_operat_type}}</td>
|
|
122
|
+
<td style="text-align: center;">{{row.f_operator}}</td>
|
|
123
|
+
<td style="text-align: center;">{{row.f_comments}}</td>
|
|
124
|
+
</template>
|
|
125
|
+
<template partial='foot'></template>
|
|
126
|
+
</data-grid>
|
|
127
|
+
</criteria-paged>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</template>
|
|
132
|
+
|
|
133
|
+
<script>
|
|
134
|
+
import {PagedList} from 'vue-client'
|
|
135
|
+
|
|
136
|
+
export default {
|
|
137
|
+
data () {
|
|
138
|
+
return {
|
|
139
|
+
initres: {
|
|
140
|
+
org: [this.$login.f.orgid],
|
|
141
|
+
dep: [],
|
|
142
|
+
user: []
|
|
143
|
+
},
|
|
144
|
+
criteriaShow: false,
|
|
145
|
+
model: new PagedList('rs/sql/sale_blackRecordQuery', 20),
|
|
146
|
+
// 公司下拉
|
|
147
|
+
curorgid: [this.$login.f.orgid],
|
|
148
|
+
f_orgid: '',
|
|
149
|
+
getfield: {
|
|
150
|
+
'f_userinfo_code': '用户编号',
|
|
151
|
+
'f_user_name': '用户姓名',
|
|
152
|
+
'f_meternumber': '表号',
|
|
153
|
+
'f_card_id': '卡号',
|
|
154
|
+
'f_user_phone': '用户电话',
|
|
155
|
+
'f_address': '用户地址',
|
|
156
|
+
'f_operate_date': '操作日期',
|
|
157
|
+
'f_operat_type': '操作类型',
|
|
158
|
+
'f_operator': '操作人',
|
|
159
|
+
'f_comments': '原因'
|
|
160
|
+
},
|
|
161
|
+
operateType: [{label: '全部', value: ''}, {label: '拉黑 ', value: '拉黑'}, {label: '取消拉黑', value: '取消拉黑'}]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
props: {
|
|
165
|
+
row: {},
|
|
166
|
+
ispartial: false
|
|
167
|
+
},
|
|
168
|
+
ready () {
|
|
169
|
+
this.$refs.paged.$refs.cri.model.startDate = this.data ? this.data.startDate : this.$login.toStandardDateString()
|
|
170
|
+
this.$refs.paged.$refs.cri.model.endDate = this.data ? this.data.endDate : this.$login.toStandardDateString()
|
|
171
|
+
this.search()
|
|
172
|
+
},
|
|
173
|
+
methods: {
|
|
174
|
+
async getRes (condition, obj) {
|
|
175
|
+
console.log('condition =', condition)
|
|
176
|
+
console.log('obj =', obj)
|
|
177
|
+
},
|
|
178
|
+
hidden () {
|
|
179
|
+
this.criteriaShow = !this.criteriaShow
|
|
180
|
+
},
|
|
181
|
+
search () {
|
|
182
|
+
this.$refs.paged.$refs.cri.search()
|
|
183
|
+
this.$dispatch('search')
|
|
184
|
+
},
|
|
185
|
+
getorg (val) {
|
|
186
|
+
this.f_orgid = val
|
|
187
|
+
},
|
|
188
|
+
selfSearch (args) {
|
|
189
|
+
if (!this.f_orgid) {
|
|
190
|
+
this.getorg('and f_orgid in' + '(\'' + [this.$login.f.orgid] + '\')')
|
|
191
|
+
}
|
|
192
|
+
console.log('查询。。。', this.f_orgid)
|
|
193
|
+
if (this.f_orgid) {
|
|
194
|
+
args.condition = `${args.condition} ${this.f_orgid} `
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
this.model.search(args.condition, args.model)
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
watch: {
|
|
201
|
+
'model.rows.length' (val) {
|
|
202
|
+
if (val === 1) {
|
|
203
|
+
this.$refs.paged.$refs.grid.select(this.model.rows[0])
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
computed: {
|
|
208
|
+
getCondition () {
|
|
209
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.f_orgid}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
</script>
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
<tabs header="黑名单管理" v-if="permission('黑名单管理')">
|
|
8
8
|
<black-list-mangae @deal-msg="dealMsg"></black-list-mangae>
|
|
9
9
|
</tabs>
|
|
10
|
+
<tabs header="黑名单记录查询" v-if="permission('黑名单记录查询')">
|
|
11
|
+
<black-record-query @deal-msg="dealMsg"></black-record-query>
|
|
12
|
+
</tabs>
|
|
10
13
|
</tab-button>
|
|
11
14
|
<!-- </div>-->
|
|
12
15
|
<!-- <div v-if="!listpage">-->
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
</button>
|
|
298
298
|
<button class="button_search" v-show="config.approve == true ? !applyButtonShow : true" type="button" @click="confirmbefore()"
|
|
299
299
|
:disabled="(!meterinfo && !(model.f_type.includes('清零') ||
|
|
300
|
-
model.f_type.includes('换卡控流量计'))) || !$v.valid"
|
|
300
|
+
model.f_type.includes('换卡控流量计'))) || !$v.valid || buttonDisable"
|
|
301
301
|
>确认
|
|
302
302
|
</button>
|
|
303
303
|
<button class="button_clear" v-show="applyButtonShow" type="button" @click="clean()">取消
|
|
@@ -500,7 +500,8 @@ export default {
|
|
|
500
500
|
f_memorandum: ''
|
|
501
501
|
},
|
|
502
502
|
addTaskValid: false,
|
|
503
|
-
addTaskModalShow: false
|
|
503
|
+
addTaskModalShow: false,
|
|
504
|
+
buttonDisable: false
|
|
504
505
|
}
|
|
505
506
|
},
|
|
506
507
|
props: {
|
|
@@ -555,7 +556,6 @@ export default {
|
|
|
555
556
|
this.addTaskModel.f_work_flow_name = ''
|
|
556
557
|
this.addTaskModel.f_task_name = ''
|
|
557
558
|
this.addTaskModel.f_userinfo_code = ''
|
|
558
|
-
this.addTaskModel.f_approval = ''
|
|
559
559
|
this.addTaskModel.f_memorandum = ''
|
|
560
560
|
},
|
|
561
561
|
validateBill (val) {
|
|
@@ -752,6 +752,7 @@ export default {
|
|
|
752
752
|
}
|
|
753
753
|
},
|
|
754
754
|
async saveobj () {
|
|
755
|
+
this.buttonDisable = true
|
|
755
756
|
try {
|
|
756
757
|
this.model.f_operator = this.$login.f.name
|
|
757
758
|
this.model.f_operatorid = this.$login.f.id
|
|
@@ -770,6 +771,8 @@ export default {
|
|
|
770
771
|
resolveMsg: null,
|
|
771
772
|
rejectMsg: '换表失败!!!'
|
|
772
773
|
})
|
|
774
|
+
// 向上级触发一个事件改变流程的操作状态
|
|
775
|
+
this.$dispatch('changeFlowOperateState')
|
|
773
776
|
let param = []
|
|
774
777
|
for (let row of this.resid) {
|
|
775
778
|
param.push({id: row.id})
|
|
@@ -859,8 +862,10 @@ export default {
|
|
|
859
862
|
} catch (error) {
|
|
860
863
|
console.log('抛出的错误。。', error)
|
|
861
864
|
let res = error.data.toString()
|
|
865
|
+
this.buttonDisable = false
|
|
862
866
|
this.$showAlert(res, 'danger', 2000)
|
|
863
867
|
this.$dispatch('refresh')
|
|
868
|
+
|
|
864
869
|
}
|
|
865
870
|
},
|
|
866
871
|
pregasChange () {
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
>清零审核
|
|
298
298
|
</button>
|
|
299
299
|
<button class="button_search" v-show="config.approve == true ? !applyButtonShow : true" type="button" @click="confirmbefore()"
|
|
300
|
-
:disabled="(!meterinfo && !(model.f_type.includes('清零') || model.f_type.includes('换卡控流量计'))) || !$v.valid"
|
|
300
|
+
:disabled="(!meterinfo && !(model.f_type.includes('清零') || model.f_type.includes('换卡控流量计'))) || !$v.valid || buttonDisable"
|
|
301
301
|
>确认
|
|
302
302
|
</button>
|
|
303
303
|
<button class="button_clear" v-show="applyButtonShow" type="button" @click="clean()">取消
|
|
@@ -502,7 +502,8 @@ export default {
|
|
|
502
502
|
f_memorandum: ''
|
|
503
503
|
},
|
|
504
504
|
addTaskValid: false,
|
|
505
|
-
addTaskModalShow: false
|
|
505
|
+
addTaskModalShow: false,
|
|
506
|
+
buttonDisable: false
|
|
506
507
|
}
|
|
507
508
|
},
|
|
508
509
|
props: {
|
|
@@ -553,7 +554,6 @@ export default {
|
|
|
553
554
|
this.addTaskModel.f_work_flow_name = ''
|
|
554
555
|
this.addTaskModel.f_task_name = ''
|
|
555
556
|
this.addTaskModel.f_userinfo_code = ''
|
|
556
|
-
this.addTaskModel.f_approval = ''
|
|
557
557
|
this.addTaskModel.f_memorandum = ''
|
|
558
558
|
},
|
|
559
559
|
addTask () {
|
|
@@ -748,6 +748,7 @@ export default {
|
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
750
|
async saveobj () {
|
|
751
|
+
this.buttonDisable = true
|
|
751
752
|
try {
|
|
752
753
|
this.model.f_operator = this.$login.f.name
|
|
753
754
|
this.model.f_operatorid = this.$login.f.id
|
|
@@ -766,6 +767,8 @@ export default {
|
|
|
766
767
|
resolveMsg: null,
|
|
767
768
|
rejectMsg: '换表失败!!!'
|
|
768
769
|
})
|
|
770
|
+
// 向上级触发一个事件改变流程的操作状态
|
|
771
|
+
this.$dispatch('changeFlowOperateState')
|
|
769
772
|
let param = []
|
|
770
773
|
for (let row of this.resid) {
|
|
771
774
|
param.push({id: row.id})
|
|
@@ -855,6 +858,7 @@ export default {
|
|
|
855
858
|
} catch (error) {
|
|
856
859
|
console.log('抛出的错误。。', error)
|
|
857
860
|
let res = error.data.toString()
|
|
861
|
+
this.buttonDisable = false
|
|
858
862
|
this.$showAlert(res, 'danger', 2000)
|
|
859
863
|
this.$dispatch('refresh')
|
|
860
864
|
}
|
package/src/sale.js
CHANGED
|
@@ -773,6 +773,8 @@ export default function () {
|
|
|
773
773
|
Vue.component('black-list', (resolve) => { require(['./components/revenue/comprehen/SpecialUser/BlackList/BlackList'], resolve) })
|
|
774
774
|
Vue.component('black-list-record', (resolve) => { require(['./components/revenue/comprehen/SpecialUser/BlackList/BlackListRecord'], resolve) })
|
|
775
775
|
Vue.component('black-list-detail', (resolve) => { require(['./components/revenue/comprehen/SpecialUser/BlackList/BlackListDetail'], resolve) })
|
|
776
|
+
// 黑名单记录查询
|
|
777
|
+
Vue.component('black-record-query', (resolve) => { require(['./components/revenue/comprehen/SpecialUser/BlackList/BlackRecordQuery'], resolve) })
|
|
776
778
|
// 工具卡制
|
|
777
779
|
Vue.component('tool-card-making-manage', (resolve) => { require(['./components/revenue/comprehen/ToolCard/ToolCardMakingManage'], resolve) })
|
|
778
780
|
Vue.component('tool-card-list', (resolve) => { require(['./components/revenue/comprehen/ToolCard/ToolCardList'], resolve) })
|