外链编辑

This commit is contained in:
zhangyc
2022-11-08 17:05:12 +08:00
parent 1df8bc4f36
commit 604f1d7fb7
2 changed files with 4 additions and 3 deletions

View File

@@ -174,7 +174,7 @@ export default {
};
const handleFinish = values => {
console.log(values);
updateRef(props.workId)
updateRef(props.EditRefId)
};
const handleFinishFailed = errors => {
console.log(errors);

View File

@@ -1882,10 +1882,11 @@ export default {
console.log("任务id", id);
};
//打开编辑外链的弹窗
const showEditRefDrawer = (id) => {
const showEditRefDrawer = (id,eleId) => {
state.addrefvisible = true;
state.isRefEdit = true;
state.EditRefId = id;
state.projectTaskId = eleId;
};
//打开编辑直播的弹窗
const showEditLiveDrawer = (id) => {
@@ -1906,7 +1907,7 @@ export default {
state.edit = true;
console.log(type, id);
if (type == "外链") {
showEditRefDrawer(id);
showEditRefDrawer(id,eleId);
}
else if (type == "直播") {
showEditLiveDrawer(id,eleId);