fix 测试计划状态修改权限
This commit is contained in:
parent
e00aac7bee
commit
f5d91992a3
|
@ -29,8 +29,8 @@
|
||||||
:label="$t('test_track.plan.plan_status')"
|
:label="$t('test_track.plan.plan_status')"
|
||||||
show-overflow-tooltip>
|
show-overflow-tooltip>
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<div @click.stop="false">
|
<span @click.stop="clickt = 'stop'">
|
||||||
<el-dropdown class="test-case-status" @command="statusChange">
|
<el-dropdown v-permission="['test_manager','test_user']" class="test-case-status" @command="statusChange">
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link">
|
||||||
<plan-status-table-item :value="scope.row.status"/>
|
<plan-status-table-item :value="scope.row.status"/>
|
||||||
</span>
|
</span>
|
||||||
|
@ -46,7 +46,8 @@
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</span>
|
||||||
|
<plan-status-table-item v-permission="['test_viewer']" :value="scope.row.status"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
column-key="status"
|
column-key="status"
|
||||||
:label="$t('test_track.plan_view.execute_result')">
|
:label="$t('test_track.plan_view.execute_result')">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<div @click.stop="false">
|
<span @click.stop="clickt = 'stop'">
|
||||||
<el-dropdown class="test-case-status" @command="statusChange" >
|
<el-dropdown v-permission="['test_manager','test_user']" class="test-case-status" @command="statusChange" >
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link">
|
||||||
<status-table-item :value="scope.row.status"/>
|
<status-table-item :value="scope.row.status"/>
|
||||||
</span>
|
</span>
|
||||||
|
@ -108,7 +108,8 @@
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</span>
|
||||||
|
<status-table-item v-permission="['test_viewer']" :value="scope.row.status"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue