fix(接口测试): 接口自动化查看引用弹窗表格美化

This commit is contained in:
RubyLiu 2023-06-21 15:01:07 +08:00 committed by rubylliu
parent 92a1ecb6bd
commit b6a9e9bc17
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<el-dialog :visible.sync="isVisible" class="advanced-item-value" width="50%"> <el-dialog :visible.sync="isVisible" class="advanced-item-value" width="880px">
<el-tabs tab-position="top" style="width: 100%" v-model="activeName" @tab-click="handleClick"> <el-tabs tab-position="top" style="width: 100%" v-model="activeName" @tab-click="handleClick">
<el-tab-pane <el-tab-pane
:label="$t('api_test.home_page.api_details_card.title')+$t('api_test.home_page.test_scene_details_card.title')" :label="$t('api_test.home_page.api_details_card.title')+$t('api_test.home_page.test_scene_details_card.title')"
@ -141,7 +141,7 @@
:enable-selection="false" :enable-selection="false"
@refresh="search" @refresh="search"
:condition="condition"> :condition="condition">
<ms-table-column prop="name" :label="$t('test_track.home.test_plan_name')" width="200" sortable> <ms-table-column prop="name" :label="$t('test_track.home.test_plan_name')" width="300" sortable>
<template v-slot:default="{ row }"> <template v-slot:default="{ row }">
<el-link @click="openTestPlan(row)" style="cursor: pointer">{{ row.name }} </el-link> <el-link @click="openTestPlan(row)" style="cursor: pointer">{{ row.name }} </el-link>
</template> </template>
@ -149,7 +149,7 @@
<ms-table-column <ms-table-column
prop="workspaceName" prop="workspaceName"
:label="$t('group.belong_workspace')" :label="$t('group.belong_workspace')"
width="200" width="300"
column-key="workspaceId"> column-key="workspaceId">
</ms-table-column> </ms-table-column>
<ms-table-column <ms-table-column
@ -157,7 +157,7 @@
:label="$t('group.belong_project')" :label="$t('group.belong_project')"
:filters="projectPlanFilters" :filters="projectPlanFilters"
column-key="projectId" column-key="projectId"
width="200"> width="280">
</ms-table-column> </ms-table-column>
</ms-table> </ms-table>
</el-tab-pane> </el-tab-pane>