This commit is contained in:
joylink_zhaoerwei 2024-02-23 10:06:49 +08:00
parent fefbf3ce83
commit de15e693e9

View File

@ -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;