This commit is contained in:
qq787203167
2022-03-04 15:26:51 +08:00
parent c4d539f626
commit 025cdae989
2 changed files with 5 additions and 1 deletions
@@ -26,6 +26,7 @@
}, },
watch: { watch: {
'$route': function(val) { '$route': function(val) {
console.log(val)
if (val.meta.title == '首页') { if (val.meta.title == '首页') {
this.Navigation = val.meta.title this.Navigation = val.meta.title
this.subNavigation = null this.subNavigation = null
@@ -7,7 +7,7 @@
<a-row :gutter="10"> <a-row :gutter="10">
<a-col :md="10" :sm="12"> <a-col :md="10" :sm="12">
<a-form-item :label="$t('userAccount')" style="margin-left:8px"> <a-form-item :label="$t('userAccount')" style="margin-left:8px">
<j-input :placeholder="$t('enterAccountNumber')" v-model="queryParam.username"></j-input> <a-input :placeholder="$t('enterAccountNumber')" v-model="queryParam.username"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<span style="float: left;overflow: hidden;margin-top: 1px" class="table-page-search-submitButtons"> <span style="float: left;overflow: hidden;margin-top: 1px" class="table-page-search-submitButtons">
@@ -165,6 +165,9 @@
this.queryParam = {} this.queryParam = {}
this.loadDataIndex(1); this.loadDataIndex(1);
}, },
searchQuery(){
this.loadDataIndex(1);
},
loadData(){}, loadData(){},
loadDataIndex(arg) { loadDataIndex(arg) {
if (!this.url.list) { if (!this.url.list) {