fix:bug修复
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
:showCheckbox="showCheckbox"
|
||||
:params="apiParam"
|
||||
:actionList="actionList"
|
||||
:defaultActions="canUpdate ? ['rename', 'refresh'] : ['refresh']"
|
||||
:defaultActions="canUpdate ? ['rename'] : []"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
<AddFile
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -87,6 +87,9 @@ watch(
|
||||
(newVal) => {
|
||||
if (newVal) {
|
||||
localDetail.value = newVal;
|
||||
|
||||
console.log(localDetail.value, 'localDetail.value');
|
||||
|
||||
nextTick(() => {
|
||||
tableFormRef.value?.setFormDataFun({
|
||||
...localDetail.value,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
:showCheckbox="showCheckbox"
|
||||
:params="apiParam"
|
||||
:actionList="actionList"
|
||||
:defaultActions="canUpdate ? ['rename', 'refresh'] : ['refresh']"
|
||||
:defaultActions="canUpdate ? ['rename'] : []"
|
||||
>
|
||||
<template v-if="showLeftOptions" #leftOptions>
|
||||
<AddFile
|
||||
|
||||
@@ -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> -->
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 });
|
||||
};
|
||||
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user