ADD:添加按钮权限

This commit is contained in:
贾同学
2025-08-20 08:51:01 +08:00
parent d761c0449b
commit a2db45cace
3 changed files with 263 additions and 226 deletions

View File

@@ -32,7 +32,7 @@
</el-button> -->
<el-button
type="primary"
v-auth.plan="'import'"
v-auth.plan="'import_subplan'"
icon="Upload"
@click="importSubClick"
v-if="modeStore.currentMode === '比对式'"
@@ -82,9 +82,20 @@
:icon="List"
@click="openChildrenPlan(scope.row)"
v-if="modeStore.currentMode == '比对式' && scope.row.fatherPlanId == 0"
v-auth.plan="'add_subplan'"
>
子计划
</el-button>
<el-button
type="primary"
link
icon="View"
@click="openChildrenPlan(scope.row)"
v-if="modeStore.currentMode == '比对式' && scope.row.fatherPlanId == 0"
v-auth.plan="'import_subplan'"
>
查看
</el-button>
<!-- <el-button type='primary' link :icon='List' @click='showDeviceOpen(scope.row)'>设备绑定</el-button> -->
<el-button
type="primary"