|
|
@ -141,11 +141,10 @@ |
|
|
|
this.deleteTiming({ |
|
|
|
this.deleteTiming({ |
|
|
|
scheduleId: item.id |
|
|
|
scheduleId: item.id |
|
|
|
}).then(res => { |
|
|
|
}).then(res => { |
|
|
|
this.$refs[`poptip-delete-${i}`][0].doClose() |
|
|
|
this.pageNo = 1 |
|
|
|
|
|
|
|
this._getScheduleList('false') |
|
|
|
this.$message.success(res.msg) |
|
|
|
this.$message.success(res.msg) |
|
|
|
this.$router.push({ name: 'projects-definition-list' }) |
|
|
|
|
|
|
|
}).catch(e => { |
|
|
|
}).catch(e => { |
|
|
|
this.$refs[`poptip-delete-${i}`][0].doClose() |
|
|
|
|
|
|
|
this.$message.error(e.msg || '') |
|
|
|
this.$message.error(e.msg || '') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|