Commit 859d1bb5 by 前端

bug修复

1 parent e53f411f
...@@ -886,6 +886,7 @@ export default { ...@@ -886,6 +886,7 @@ export default {
selectItem.endTime, selectItem.endTime,
-(this.cloneActivityDays - 1) -(this.cloneActivityDays - 1)
) )
this.dateStartTime = actualStartDate
this.setHouseRatesColumn(actualStartDate, selectItem.endTime) this.setHouseRatesColumn(actualStartDate, selectItem.endTime)
return return
} }
...@@ -1343,6 +1344,7 @@ export default { ...@@ -1343,6 +1344,7 @@ export default {
}, },
// 重复次数选择框改变 // 重复次数选择框改变
repeatChange(listindex, dateTask, type, taskIndex) { repeatChange(listindex, dateTask, type, taskIndex) {
console.log(type, 'type')
if (type) { if (type) {
// 去除校验 // 去除校验
this.$refs['taskForm'][listindex].fields.map((i) => { this.$refs['taskForm'][listindex].fields.map((i) => {
...@@ -1350,11 +1352,14 @@ export default { ...@@ -1350,11 +1352,14 @@ export default {
i.clearValidate() i.clearValidate()
} }
}) })
} else {
// this.$nextTick(() => { // this.$nextTick(() => {
this.$set(dateTask, 'repeatFlag', true)
// })
} else {
this.$nextTick(() => {
dateTask.repeatCount = '' dateTask.repeatCount = ''
this.$set(dateTask, 'repeatFlag', false) this.$set(dateTask, 'repeatFlag', false)
// }) })
} }
}, },
// 获取任务信息详情 // 获取任务信息详情
......
...@@ -371,6 +371,7 @@ export default { ...@@ -371,6 +371,7 @@ export default {
callback: (action) => { callback: (action) => {
if (action == 'confirm') { if (action == 'confirm') {
taskApi.updateStatusMission(params).then((res) => { taskApi.updateStatusMission(params).then((res) => {
console.log(res)
this.$message({ this.$message({
message: res.code == '0' ? '操作成功' : '操作失败', message: res.code == '0' ? '操作成功' : '操作失败',
type: res.code == '0' ? 'success' : 'error', type: res.code == '0' ? 'success' : 'error',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!