Commit 77e8ae24 by 前端

修改完整周期提示

1 parent dc29666b
...@@ -2055,8 +2055,15 @@ export default { ...@@ -2055,8 +2055,15 @@ export default {
} }
this.taskFormValidate() this.taskFormValidate()
if (!this.validFlag) { if (!this.validFlag) {
let message
if (this.taskList && this.taskList[0].activityTime == '-1') {
message = '完整周期未填写完成'
} else {
message = '第' + (this.dayIndex + 1) + '天填写未完成'
}
// this.taskList = JSON.parse(JSON.stringify(this.cloneList)) // this.taskList = JSON.parse(JSON.stringify(this.cloneList))
this.$alert('第' + (this.dayIndex + 1) + '天填写未完成', '警告', { this.$alert(message, '警告', {
confirmButtonText: '知道了', confirmButtonText: '知道了',
callback: (action) => { callback: (action) => {
this.validFlag = true this.validFlag = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!