task修改
This commit is contained in:
@@ -162,6 +162,11 @@ export default {
|
|||||||
},
|
},
|
||||||
toDel (index) {
|
toDel (index) {
|
||||||
if (this.pkId) {
|
if (this.pkId) {
|
||||||
|
if (this.selectObj.task_status === '01') {
|
||||||
|
let tipText = this.$i18n.locale === 'en-us' ? 'The Task Is Running And Cannot Be Canceled' : '任务正在运行,不能取消'
|
||||||
|
this.toast(tipText)
|
||||||
|
return
|
||||||
|
}
|
||||||
this.dataList.splice(index, 1)
|
this.dataList.splice(index, 1)
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
this.up = false
|
this.up = false
|
||||||
|
|||||||
Reference in New Issue
Block a user