This commit is contained in:
2022-03-19 11:48:15 +08:00
parent 4a5d2824d1
commit 34311763b1
20 changed files with 52 additions and 34 deletions

View File

@@ -289,10 +289,14 @@
},
// 弹出提交任务弹窗
handleSubmit () {
this.submitFormVisible = true
this.$nextTick(() => {
this.$refs.submitForm.init(this.dataList)
})
if (this.dataList.length) {
this.submitFormVisible = true
this.$nextTick(() => {
this.$refs.submitForm.init(this.dataList)
})
} else {
this.$message.warning('请至少添加一条任务!')
}
},
handleAutoDetail (id) {
this.autoDetailVisible = true