提交 c45659a9 编写于 作者: S shiziyuan9527

项目名长度限制

上级 a127177c
...@@ -8,11 +8,8 @@ ...@@ -8,11 +8,8 @@
:show-create="false"/> :show-create="false"/>
</template> </template>
<el-table :data="tableData" class="table-content" @sort-change="sort" <el-table :data="tableData" class="table-content" @sort-change="sort"
@filter-change="filter"> @filter-change="filter" @row-click="handleView">
<el-table-column :label="$t('commons.name')" width="200" show-overflow-tooltip> <el-table-column :label="$t('commons.name')" width="200" show-overflow-tooltip prop="name">
<template v-slot:default="scope">
<el-link type="info" @click="handleView(scope.row)">{{ scope.row.name }}</el-link>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="testName" :label="$t('api_report.test_name')" width="200" show-overflow-tooltip/> <el-table-column prop="testName" :label="$t('api_report.test_name')" width="200" show-overflow-tooltip/>
<el-table-column prop="projectName" :label="$t('load_test.project_name')" width="150" show-overflow-tooltip/> <el-table-column prop="projectName" :label="$t('load_test.project_name')" width="150" show-overflow-tooltip/>
...@@ -83,8 +80,6 @@ ...@@ -83,8 +80,6 @@
methods: { methods: {
search() { search() {
if (this.testId !== 'all') { if (this.testId !== 'all') {
this.condition.testId = this.testId; this.condition.testId = this.testId;
} }
...@@ -121,9 +116,6 @@ ...@@ -121,9 +116,6 @@
this.testId = this.$route.params.testId; this.testId = this.$route.params.testId;
this.search(); this.search();
}, },
/* filter(value, row) {
return row.status === value;
},*/
sort(column) { sort(column) {
_sort(column, this.condition); _sort(column, this.condition);
this.init(); this.init();
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-table-column <el-table-column
prop="name" prop="name"
:label="$t('commons.name')" :label="$t('commons.name')"
width="200" width="150"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
:create-tip="btnTips" :title="title"/> :create-tip="btnTips" :title="title"/>
</template> </template>
<el-table @row-click="link" :data="items" style="width: 100%" @sort-change="sort"> <el-table @row-click="link" :data="items" style="width: 100%" @sort-change="sort">
<el-table-column prop="name" :label="$t('commons.name')"/> <el-table-column prop="name" :label="$t('commons.name')" width="250" show-overflow-tooltip/>
<el-table-column prop="description" :label="$t('commons.description')"/> <el-table-column prop="description" :label="$t('commons.description')" show-overflow-tooltip/>
<!--<el-table-column prop="workspaceName" :label="$t('project.owning_workspace')"/>--> <!--<el-table-column prop="workspaceName" :label="$t('project.owning_workspace')"/>-->
<el-table-column <el-table-column
sortable sortable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册