fix(权限设置): 修复权限设置
This commit is contained in:
parent
5b42f01b80
commit
add73293a7
|
@ -5,7 +5,7 @@
|
|||
<template v-slot:header>
|
||||
<ms-table-header :condition.sync="condition" @search="search"
|
||||
:title="$t('commons.test')"
|
||||
v-permission="['PROJECT_PERFORMANCE_TEST:READ+CREATE']"
|
||||
:create-permission="['PROJECT_PERFORMANCE_TEST:READ+CREATE']"
|
||||
@create="create" :createTip="$t('load_test.create')"/>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -131,7 +131,8 @@
|
|||
<header-label-operate @exec="customHeader"/>
|
||||
</template>
|
||||
<template v-slot:default="scope">
|
||||
<ms-table-operator v-permission="['PROJECT_TRACK_CASE:READ+EDIT','PROJECT_TRACK_CASE:READ+DELETE']"
|
||||
<ms-table-operator :edit-permission="['PROJECT_TRACK_CASE:READ+EDIT']"
|
||||
:delete-permission="['PROJECT_TRACK_CASE:READ+DELETE']"
|
||||
@editClick="handleEdit(scope.row)"
|
||||
@deleteClick="handleDelete(scope.row)">
|
||||
<template v-slot:middle>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<el-card class="table-card" v-loading="result.loading">
|
||||
<template v-slot:header>
|
||||
<ms-table-header v-permission="['PROJECT_TRACK_PLAN:READ+CREATE']" :condition.sync="condition"
|
||||
<ms-table-header :create-permission="['PROJECT_TRACK_PLAN:READ+CREATE']" :condition.sync="condition"
|
||||
@search="initTableData" @create="testPlanCreate"
|
||||
:create-tip="$t('test_track.plan.create_plan')"
|
||||
:title="$t('test_track.plan.test_plan')"
|
||||
|
@ -184,7 +184,8 @@
|
|||
<header-label-operate @exec="customHeader"/>
|
||||
</template>
|
||||
<template v-slot:default="scope">
|
||||
<ms-table-operator v-permission="['PROJECT_TRACK_PLAN:READ+EDIT', 'PROJECT_TRACK_PLAN:READ+DELETE']"
|
||||
<ms-table-operator :edit-permission="['PROJECT_TRACK_PLAN:READ+EDIT']"
|
||||
:delete-permission="['PROJECT_TRACK_PLAN:READ+DELETE']"
|
||||
@editClick="handleEdit(scope.row)"
|
||||
@deleteClick="handleDelete(scope.row)">
|
||||
<template v-slot:middle>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<el-card class="table-card" v-loading="result.loading">
|
||||
<template v-slot:header>
|
||||
<ms-table-header v-permission="['PROJECT_TRACK_REVIEW:READ+CREATE']" :condition.sync="condition"
|
||||
<ms-table-header :create-permission="['PROJECT_TRACK_REVIEW:READ+CREATE']" :condition.sync="condition"
|
||||
@search="initTableData" @create="testCaseReviewCreate"
|
||||
:create-tip="$t('test_track.review.create_review')"
|
||||
:title="$t('test_track.review.test_review')"/>
|
||||
|
@ -95,7 +95,8 @@
|
|||
<header-label-operate @exec="customHeader"/>
|
||||
</template>
|
||||
<template v-slot:default="scope">
|
||||
<ms-table-operator v-permission="['PROJECT_TRACK_REVIEW:READ+EDIT', 'PROJECT_TRACK_REVIEW:READ+DELETE']"
|
||||
<ms-table-operator :edit-permission="['PROJECT_TRACK_REVIEW:READ+EDIT']"
|
||||
:delete-permission="['PROJECT_TRACK_REVIEW:READ+DELETE']"
|
||||
@editClick="handleEdit(scope.row)"
|
||||
@deleteClick="handleDelete(scope.row)">
|
||||
</ms-table-operator>
|
||||
|
|
Loading…
Reference in New Issue