This commit is contained in:
2025-09-25 08:39:06 +08:00
parent 5730b9c5cf
commit ab62e56bbb

View File

@@ -28,7 +28,6 @@
<template #tableHeader="scope"> <template #tableHeader="scope">
<el-button <el-button
v-if="!isTabPlanFather" v-if="!isTabPlanFather"
v-auth.plan="'add_subplan'"
icon="CirclePlus" icon="CirclePlus"
type="primary" type="primary"
@click="addTab('add')" @click="addTab('add')"
@@ -37,7 +36,6 @@
</el-button> </el-button>
<el-button <el-button
v-if="isTabPlanFather && planFormContent?.testState === 0" v-if="isTabPlanFather && planFormContent?.testState === 0"
v-auth.plan="'add_subplan'"
icon="Edit" icon="Edit"
type="primary" type="primary"
@click="addTab('edit')" @click="addTab('edit')"
@@ -46,7 +44,6 @@
</el-button> </el-button>
<el-button <el-button
v-if="isTabPlanFather && planFormContent?.testState === 0" v-if="isTabPlanFather && planFormContent?.testState === 0"
v-auth.plan="'export_subplan'"
icon="Download" icon="Download"
type="primary" type="primary"
@click="exportPlan" @click="exportPlan"
@@ -54,7 +51,6 @@
导出子计划元信息 导出子计划元信息
</el-button> </el-button>
<el-button <el-button
v-auth.plan="'import_subplan'"
:disabled="!scope.isSelected" :disabled="!scope.isSelected"
v-if="planFormContent?.importFlag === 1" v-if="planFormContent?.importFlag === 1"
icon="Download" icon="Download"
@@ -70,7 +66,6 @@
planFormContent.children && planFormContent.children &&
planFormContent?.children?.length > 0 planFormContent?.children?.length > 0
" "
v-auth.plan="'add_subplan'"
icon="Box" icon="Box"
type="primary" type="primary"
@click="importAndMergePlanCheckDataClick" @click="importAndMergePlanCheckDataClick"
@@ -89,7 +84,6 @@
</el-button> </el-button>
<el-dropdown <el-dropdown
v-if="planFormContent && planFormContent.children && planFormContent.children?.length > 0" v-if="planFormContent && planFormContent.children && planFormContent.children?.length > 0"
v-auth.plan="'add_subplan'"
:disabled="!scope.isSelected" :disabled="!scope.isSelected"
placement="right-start" placement="right-start"
trigger="hover" trigger="hover"
@@ -117,7 +111,6 @@
</el-dropdown> </el-dropdown>
<el-dropdown <el-dropdown
v-if="planFormContent && planFormContent.children && planFormContent.children?.length > 0" v-if="planFormContent && planFormContent.children && planFormContent.children?.length > 0"
v-auth.plan="'add_subplan'"
placement="right-start" placement="right-start"
trigger="hover" trigger="hover"
> >