fix:bug修复

This commit is contained in:
2026-03-31 09:43:00 +08:00
parent ea8357cd39
commit 4749f73bfa
10 changed files with 13 additions and 9 deletions

View File

@@ -10,7 +10,7 @@
:params="apiParam"
:show-checkbox="showCheckbox"
:actionList="actionList"
:defaultActions="canUpdate && showLeftOptions ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate && showLeftOptions ?['rename'] : []"
:full-height="true"
>
<template v-if="showLeftOptions" #leftOptions>

View File

@@ -8,7 +8,7 @@
ref="baseTableRef"
:showCheckbox="showCheckbox"
:actionList="actionList"
:defaultActions="canUpdate && showLeftOptions ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate && showLeftOptions ?['rename'] : []"
>
<template v-if="showLeftOptions" #leftOptions>
<AddFile

View File

@@ -8,7 +8,7 @@
:showCheckbox="showCheckbox"
:params="apiParam"
:actionList="actionList"
:defaultActions="canUpdate ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate ? ['rename'] : []"
>
<template v-if="showLeftOptions" #leftOptions>
<AddFile

View File

@@ -10,7 +10,7 @@
:show-checkbox="showCheckbox"
:full-height="true"
:actionList="actionList"
:defaultActions="canUpdate && showLeftOptions ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate && showLeftOptions ? ['rename'] : []"
>
<template v-if="showLeftOptions" #leftOptions>
<AddFile

View File

@@ -87,6 +87,9 @@ watch(
(newVal) => {
if (newVal) {
localDetail.value = newVal;
console.log(localDetail.value, 'localDetail.value');
nextTick(() => {
tableFormRef.value?.setFormDataFun({
...localDetail.value,

View File

@@ -8,7 +8,7 @@
:showCheckbox="showCheckbox"
:params="apiParam"
:actionList="actionList"
:defaultActions="canUpdate ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate ? ['rename'] : []"
>
<template v-if="showLeftOptions" #leftOptions>
<AddFile

View File

@@ -8,7 +8,7 @@
ref="baseTableRef"
:showCheckbox="showCheckbox"
:actionList="actionList"
:defaultActions="canUpdate ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate ? ['rename'] : []"
>
<template v-if="showLeftOptions" #leftOptions>
<!-- <el-button v-if="canUpdate" @click="reportInpDiaShow = true">编辑报告</el-button> -->

View File

@@ -8,7 +8,7 @@
ref="baseTableRef"
:showCheckbox="showCheckbox"
:actionList="actionList"
:defaultActions="canUpdate && showLeftOptions ? ['rename', 'refresh'] : ['refresh']"
:defaultActions="canUpdate && showLeftOptions ?['rename'] : []"
>
<template v-if="showLeftOptions" #leftOptions>
<AddFile

View File

@@ -400,6 +400,9 @@ const nodeChangeClickFun = (data: any, node: any) => {
localStorage.setItem('CURRENT_TASK_RUN_INFO', JSON.stringify(data));
defaultExpandKeys.value = [data.uuid];
console.log(currentNodeInfo.value, 'currentNodeInfo.value');
emits('nodeClickFn', { node: currentNodeInfo.value });
};

View File

@@ -416,9 +416,7 @@ watch(
(newVal) => {
if (newVal) {
currentTaskInfo.value = newVal;
currentTaskInfo.value.achieveStatus = currentTaskInfo.value.achieveStatus?.toString();
currentTaskInfo.value.expStatus = currentTaskInfo.value.expStatus ? '1' : '0';
}
},
{