ADD:添加按钮权限
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user