微调
This commit is contained in:
parent
fefbf3ce83
commit
de15e693e9
@ -83,7 +83,7 @@ export default {
|
||||
parentId:''
|
||||
};
|
||||
if (creatSonTask) {
|
||||
this.formModel.parentId = row.parentId;
|
||||
this.formModel.parentId = row.id;
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.$refs.ruleForm.resetFields();
|
||||
@ -117,7 +117,7 @@ export default {
|
||||
editTask(data).then(() => {
|
||||
this.$message.success('修改任务成功!');
|
||||
this.handleClose();
|
||||
this.$emit('paperListRefresh');
|
||||
this.$emit('reloadTaskTree');
|
||||
}).catch(error => {
|
||||
this.$message.error(error.message);
|
||||
this.loading = false;
|
||||
@ -126,7 +126,7 @@ export default {
|
||||
createTask(data).then(() => {
|
||||
this.$message.success('创建任务成功!');
|
||||
this.handleClose();
|
||||
this.$emit('paperListRefresh');
|
||||
this.$emit('reloadTaskTree');
|
||||
}).catch(error => {
|
||||
this.$message.error(error.message);
|
||||
this.loading = false;
|
||||
|
Loading…
Reference in New Issue
Block a user