全局搜索

master
lion 8 months ago
parent 3880b9f02a
commit 2f4b3cd498

@ -295,7 +295,8 @@
name: '否'
}],
select: {
title: '',
title: '',
keyword:'',
table_name: 'records',
page: 1,
page_size: 9999,
@ -415,7 +416,7 @@
this.stateObj = state.state
this.is_search = false
if (this.$route.query.searchTitle) {
this.select.title = this.$route.query.searchTitle
this.select.keyword = this.$route.query.searchTitle
this.is_search = true
}
if (this.$route.query.dateTotal) {
@ -586,7 +587,7 @@
},
resetSearch() {
this.select.page = 1
this.select.keyword = ''
this.select.area_id = []
this.select.tag_id = []
this.select.startRange = []
@ -627,7 +628,8 @@
sort_name: 'date',
catalogs_id: this.select.catalog_id ? this.select.catalog_id : '',
area_ids: this.select.area_id ? this.select.area_id : '',
tag_ids: this.select.tag_id ? this.select.tag_id : '',
tag_ids: this.select.tag_id ? this.select.tag_id : '',
keyword:this.select.keyword?this.select.keyword:'',
// records_status:this.select.records_status,
filter: [{
"key": "title",

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin',
outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin_test',
assetsDir: 'static',
css: {
loaderOptions: { // 向 CSS 相关的 loader 传递选项

Loading…
Cancel
Save