fix: 我的工作台-修复问题

1.没有button 已补
2.我创建 filter 过滤
3.仪表盘字段对应
4.状态刷新不变
5.测试计划加项目的显示
This commit is contained in:
guoyuqi 2021-10-22 18:46:05 +08:00 committed by 刘瑞斌
parent 36b99467e5
commit cef9219504
4 changed files with 13 additions and 2 deletions

View File

@ -176,10 +176,11 @@
test_case.other_test_name, test_case.review_status, test_case.tags,
test_case.demand_id, test_case.demand_name, test_case.`status`,
test_case.custom_num, test_case.step_model, test_case.create_user,u.name as createName,
test_case.custom_fields
test_case.custom_fields, project.name as projectName
</if>
from test_case left join user u on test_case.create_user=u.id
left join user deleteUser on test_case.delete_user_id=deleteUser.id
left join project project on test_case.project_id = project.id
<include refid="queryWhereCondition"/>
<include refid="io.metersphere.base.mapper.ext.ExtBaseMapper.orders"/>
</select>

View File

@ -8,7 +8,7 @@
@select="handleSelect"
:key="menuKey"
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']">
{{ $t('commons.my_workstation') }}
</el-menu-item>

View File

@ -186,3 +186,9 @@ export const CONFIG_TYPE = {
NORMAL: "NORMAL",
ABNORMAL: "ABNORMAL"
}
export const WORKSTATION={
UPCOMING:"upcoming",
FOCUS:"focus",
}

View File

@ -78,6 +78,7 @@ export let CUSTOM_TABLE_HEADER = {
{id: 'lastResult', key: 'a', label: 'api_test.automation.last_result'},
{id: 'passRate', key: 'b', label: 'api_test.automation.passing_rate'},
{id: 'createTime', key: 'c', label: 'commons.create_time'},
{id: 'projectName', key: 'd', label: 'commons.project'},
],
//用例评审
TEST_CASE_REVIEW: [
@ -172,6 +173,7 @@ export let CUSTOM_TABLE_HEADER = {
{id: 'updateTime', key: '6', label: 'api_test.automation.update_time'},
{id: 'createTime', key: 'b', label: 'commons.create_time'},
{id: 'lastResult', key: 'c', label: 'api_test.automation.last_result'},
{id: 'projectName', key: 'd', label: 'commons.project'},
],
//测试用例
TRACK_TEST_CASE: [
@ -185,6 +187,8 @@ export let CUSTOM_TABLE_HEADER = {
{id: 'createTime', key: '8', label: 'commons.create_time'},
{id: 'desc', key: '9', label: 'test_track.case.case_desc'},
{id: 'status', key: '10', label: 'api_test.definition.api_case_status'},
{id: 'projectName', key: 'c', label: 'commons.project'},
{id: 'caseStatus', key: 'd', label: 'commons.status'},
],
//缺陷列表
ISSUE_LIST: [