This commit is contained in:
parent
ae56e3cabc
commit
e6cda55f1f
|
|
@ -20,7 +20,7 @@
|
||||||
clearable
|
clearable
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
class="search-input"
|
class="search-input"
|
||||||
v-model="queryParams.searchValue"
|
v-model="queryParams.keyWord"
|
||||||
@keyup.enter.native="onHandleSearch"
|
@keyup.enter.native="onHandleSearch"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
|
|
@ -255,7 +255,7 @@ export default {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
searchValue: '',
|
keyWord: '',
|
||||||
parentId: '',
|
parentId: '',
|
||||||
type: '',
|
type: '',
|
||||||
labelIds: '',
|
labelIds: '',
|
||||||
|
|
@ -337,6 +337,8 @@ export default {
|
||||||
this.queryParams.pageNum = 1
|
this.queryParams.pageNum = 1
|
||||||
this.queryParams.parentId = newNode.id
|
this.queryParams.parentId = newNode.id
|
||||||
this.queryParams.type = newNode.type
|
this.queryParams.type = newNode.type
|
||||||
|
this.queryParams.keyWord = ''
|
||||||
|
this.queryParams.labelIds = ''
|
||||||
// 可以根据节点 ID 加载对应数据
|
// 可以根据节点 ID 加载对应数据
|
||||||
// 这里可以根据实际需求添加节点 ID 到查询参数
|
// 这里可以根据实际需求添加节点 ID 到查询参数
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue