发布信息提示
This commit is contained in:
parent
4841ebdda7
commit
22a2e11517
@ -714,6 +714,14 @@ export default {
|
||||
confirmPublish() {
|
||||
publishRunPlanAllUser(this.loadRunPlanId, this.publishName || this.loadRunPlanName).then(resp => {
|
||||
this.$message.success(this.$t('tip.publishRunPlanSuccess'));
|
||||
if (resp.data && resp.data.length > 0) {
|
||||
let message = '';
|
||||
resp.data.forEach(msg => message += (msg + ';'))
|
||||
this.$confirm(message, this.$t('global.tips'), {
|
||||
confirmButtonText: this.$t('global.confirm'),
|
||||
showCancelButton: false
|
||||
})
|
||||
}
|
||||
this.publishVisible = false;
|
||||
}).catch(() => {
|
||||
this.$messageBox(this.$t('tip.publishRunPlanFail'));
|
||||
|
@ -717,6 +717,13 @@ export default {
|
||||
confirmPublish() {
|
||||
publishRunPlanAllUser(this.loadRunPlanId, this.publishName || this.loadRunPlanName).then(resp => {
|
||||
this.$message.success(this.$t('tip.publishRunPlanSuccess'));
|
||||
if (resp.data && resp.data.length > 0) {
|
||||
let message = '';
|
||||
resp.data.forEach(msg => message += (msg + ';'))
|
||||
this.$confirm(message, this.$t('global.tips'), {
|
||||
confirmButtonText: this.$t('global.confirm')
|
||||
})
|
||||
}
|
||||
this.publishVisible = false;
|
||||
}).catch(() => {
|
||||
this.$messageBox(this.$t('tip.publishRunPlanFail'));
|
||||
|
Loading…
Reference in New Issue
Block a user