提交 c45659a9 编写于 作者: S shiziyuan9527

项目名长度限制

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