fix: 工作台处理
This commit is contained in:
parent
674073bd0e
commit
2604523dd2
|
@ -153,6 +153,23 @@
|
||||||
#{value}
|
#{value}
|
||||||
</foreach>
|
</foreach>
|
||||||
</when>
|
</when>
|
||||||
|
<when test="key=='status'">
|
||||||
|
<choose>
|
||||||
|
<when test="request.executorOrPrincipal != null">
|
||||||
|
AND (( test_plan_principal.principal_id = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' and
|
||||||
|
test_plan.status in
|
||||||
|
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||||
|
#{value}
|
||||||
|
</foreach>
|
||||||
|
)
|
||||||
|
or
|
||||||
|
(test_plan_test_case.executor = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' and
|
||||||
|
test_plan_test_case.status in
|
||||||
|
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||||
|
#{value}
|
||||||
|
</foreach>
|
||||||
|
))
|
||||||
|
</when>
|
||||||
<otherwise >
|
<otherwise >
|
||||||
and test_plan.status in
|
and test_plan.status in
|
||||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||||
|
@ -160,12 +177,12 @@
|
||||||
</foreach>
|
</foreach>
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
</if>
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="request.executorOrPrincipal != null">
|
|
||||||
AND ( test_plan.creator = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' or test_plan_principal.principal_id = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' or test_plan_test_case.executor = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}')
|
|
||||||
</if>
|
|
||||||
</where>
|
</where>
|
||||||
|
|
||||||
<if test="request.orders != null and request.orders.size() > 0">
|
<if test="request.orders != null and request.orders.size() > 0">
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
:key="menuKey"
|
:key="menuKey"
|
||||||
router>
|
router>
|
||||||
<el-menu-item index="/workstation" v-xpack onselectstart="return false"
|
<el-menu-item index="/workstation" onselectstart="return false"
|
||||||
v-permission="['PROJECT_API_DEFINITION:READ','PROJECT_API_SCENARIO:READ','PROJECT_API_REPORT:READ']">
|
v-permission="['PROJECT_API_DEFINITION:READ','PROJECT_API_SCENARIO:READ','PROJECT_API_REPORT:READ']">
|
||||||
{{ $t('commons.my_workstation') }}
|
{{ $t('commons.my_workstation') }}
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
|
|
@ -342,7 +342,7 @@ export default {
|
||||||
workstation:{
|
workstation:{
|
||||||
dash_board: '我的仪表盘',
|
dash_board: '我的仪表盘',
|
||||||
upcoming: '我的待办',
|
upcoming: '我的待办',
|
||||||
focus: '我关注的',
|
focus: '我的关注',
|
||||||
creation: '我创建的',
|
creation: '我创建的',
|
||||||
table_name:{
|
table_name:{
|
||||||
track_case:'功能用例',
|
track_case:'功能用例',
|
||||||
|
|
|
@ -342,7 +342,7 @@ export default {
|
||||||
workstation:{
|
workstation:{
|
||||||
dash_board: '我的儀錶盤',
|
dash_board: '我的儀錶盤',
|
||||||
upcoming: '我的待辦',
|
upcoming: '我的待辦',
|
||||||
focus: '我關注的',
|
focus: '我的關注',
|
||||||
creation: '我創建的',
|
creation: '我創建的',
|
||||||
table_name:{
|
table_name:{
|
||||||
track_case:'功能用例',
|
track_case:'功能用例',
|
||||||
|
|
Loading…
Reference in New Issue