fix: 修复报告传值错误问题
This commit is contained in:
@@ -69,9 +69,6 @@ export default {
|
||||
tableId: {
|
||||
type: String
|
||||
},
|
||||
builtinId: {
|
||||
type: Number
|
||||
},
|
||||
tableTitle: {
|
||||
type: Array
|
||||
},
|
||||
@@ -99,8 +96,7 @@ export default {
|
||||
},
|
||||
onsearch () {
|
||||
const params = {
|
||||
q: this.keyWord,
|
||||
id: this.builtinId
|
||||
q: this.keyWord
|
||||
}
|
||||
this.$emit('search', params)
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@ export default {
|
||||
getTableData (params) {
|
||||
if (params) {
|
||||
this.searchLabel = { ...this.searchLabel, ...params }
|
||||
} else {
|
||||
this.searchLabel = {}
|
||||
}
|
||||
this.searchLabel = { ...this.searchLabel, ...this.pageObj }
|
||||
this.tools.loading = true
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
:tableId="tableId"
|
||||
v-model:custom-table-title="tools.customTableTitle"
|
||||
:api="url"
|
||||
:builtinId="builtinId"
|
||||
:from="fromRoute.builtinReport"
|
||||
:layout="['search']"
|
||||
@search="search"
|
||||
|
||||
Reference in New Issue
Block a user