|
|
@ -140,26 +140,24 @@ export default { |
|
|
|
type: "warning", |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
return put('/admin/ap/custdemandverhead/issueglobalallversion') |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
// this.msgSuccess("全局发布成功"); |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: '全局发布成功', |
|
|
|
type: 'success', |
|
|
|
duration: 0 |
|
|
|
put('/admin/ap/custdemandverhead/issueglobalallversion').then(() => { |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: '全局发布成功', |
|
|
|
type: 'success', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
this.$emit('batchReleaseEmit', true) |
|
|
|
}) |
|
|
|
this.$emit('batchReleaseEmit', true) |
|
|
|
.catch(({msg}) => { |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: msg, |
|
|
|
type: 'error', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(({msg}) => { |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: msg, |
|
|
|
type: 'error', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 全局反发布 |
|
|
|
contraryReleaseAll() { |
|
|
@ -169,19 +167,23 @@ export default { |
|
|
|
type: "warning", |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
return put('/admin/ap/custdemandverhead/removeissueglobalallversion') |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
// this.msgSuccess("全局反发布成功"); |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: '全局反发布成功', |
|
|
|
type: 'success', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
this.$emit('batchReleaseEmit', true) |
|
|
|
put('/admin/ap/custdemandverhead/removeissueglobalallversion').then(() => { |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: '全局反发布成功', |
|
|
|
type: 'success', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
this.$emit('batchReleaseEmit', true) |
|
|
|
}).catch(({msg}) => { |
|
|
|
ElMessage({ |
|
|
|
showClose: true, |
|
|
|
message: msg, |
|
|
|
type: 'error', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(() => { }); |
|
|
|
}, |
|
|
|
// 上传 |
|
|
|
handleUpload() { |
|
|
|