bug修复
This commit is contained in:
parent
75b1e2d3d6
commit
3bc8808210
|
|
@ -13,7 +13,7 @@ let loadingInstance = null
|
||||||
// 是否显示重新登录
|
// 是否显示重新登录
|
||||||
export let isRelogin = { show: false }
|
export let isRelogin = { show: false }
|
||||||
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
||||||
// 创建axios实例
|
// 创建axios实例6
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||||
baseURL: process.env.VUE_APP_BASE_API,
|
baseURL: process.env.VUE_APP_BASE_API,
|
||||||
|
|
|
||||||
|
|
@ -456,7 +456,9 @@ export default {
|
||||||
async onCancelBatchAuditing() {
|
async onCancelBatchAuditing() {
|
||||||
this.batchAuditingForm.isResult = 1
|
this.batchAuditingForm.isResult = 1
|
||||||
this.batchAuditingForm.isOpinion = ''
|
this.batchAuditingForm.isOpinion = ''
|
||||||
|
},
|
||||||
|
// 批量审核弹框确定按钮
|
||||||
|
async onSubmitBatchAuditing() {
|
||||||
const batchAuditingParams = this.selectList.map(e => {
|
const batchAuditingParams = this.selectList.map(e => {
|
||||||
return {
|
return {
|
||||||
reason: this.batchAuditingForm.isOpinion,
|
reason: this.batchAuditingForm.isOpinion,
|
||||||
|
|
@ -475,13 +477,10 @@ export default {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.$modal.msgSuccess('审核成功!')
|
this.$modal.msgSuccess('审核成功!')
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.batchAuditingForm.isOpinion = ''
|
||||||
|
this.batchAuditingForm.isResult = 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 批量审核弹框确定按钮
|
|
||||||
onSubmitBatchAuditing() {
|
|
||||||
this.batchAuditingForm.isResult = 1
|
|
||||||
this.batchAuditingForm.isOpinion = ''
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue