feat:在接口列表等窗口中,可点击ID进入编辑页面 (#1269)
* feat: (接口定义、接口自动化) 删除模块时,模块下的所有接口或场景被放入回收站 * feat:在接口列表等窗口中,可点击ID进入编辑页面
This commit is contained in:
parent
6f93e09f47
commit
9f05de4205
|
@ -28,7 +28,13 @@
|
|||
|
||||
<el-table-column prop="num" label="ID"
|
||||
sortable="custom"
|
||||
show-overflow-tooltip/>
|
||||
show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip content="编辑">
|
||||
<a style="cursor:pointer" @click="edit(scope.row)"> {{ scope.row.num }} </a>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="name"
|
||||
sortable="custom"
|
||||
:label="$t('api_test.automation.scenario_name')"
|
||||
|
|
|
@ -31,7 +31,13 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column prop="num" label="ID" show-overflow-tooltip/>
|
||||
<el-table-column prop="num" label="ID" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip content="编辑">
|
||||
<a style="cursor:pointer" @click="handleTestCase(scope.row)"> {{ scope.row.num }} </a>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" :label="$t('test_track.case.name')" show-overflow-tooltip/>
|
||||
|
||||
<el-table-column
|
||||
|
|
|
@ -31,7 +31,13 @@
|
|||
</el-table-column>
|
||||
|
||||
<el-table-column prop="num" label="ID" show-overflow-tooltip
|
||||
sortable="custom"/>
|
||||
sortable="custom">
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip content="编辑">
|
||||
<a style="cursor:pointer" @click="editApi(scope.row)"> {{ scope.row.num }} </a>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" :label="$t('api_test.definition.api_name')"
|
||||
show-overflow-tooltip
|
||||
sortable="custom" min-width="120px"/>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
@cell-mouse-enter="showPopover"
|
||||
row-key="id"
|
||||
class="test-content adjust-table ms-select-all"
|
||||
ref="table">
|
||||
ref="table" @row-click="handleEdit">
|
||||
|
||||
<el-table-column
|
||||
width="50"
|
||||
|
|
Loading…
Reference in New Issue