功能條整
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<v-card>
|
||||
<v-card-title>
|
||||
|
||||
<v-text-field v-model="picker.search.name" :label="picker.search.text" @keyup.enter.prevent=""></v-text-field>
|
||||
<v-text-field v-model="picker.search.name" :label="picker.search.text" @keyup.enter.prevent="getFollowers"></v-text-field>
|
||||
</v-card-title>
|
||||
<v-card-text>
|
||||
<div class="row">
|
||||
@@ -182,6 +182,11 @@
|
||||
watch: {
|
||||
"picker.target": {
|
||||
handler(newVal) {
|
||||
//this.options.page = 1;
|
||||
//this.options.pageSize = 10;
|
||||
this.options = { multiSort: false }
|
||||
this.picker.data_table.page = 1;
|
||||
this.picker.data_table.pageSize=10;
|
||||
if (this.picker.target === "follower") {
|
||||
this.picker.search.name = ""
|
||||
this.picker.search.text = "信眾姓名"
|
||||
@@ -196,7 +201,12 @@
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
|
||||
options: {
|
||||
handler() {
|
||||
this.getFollowers()
|
||||
},
|
||||
deep: true,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleRowClick(item, row) {
|
||||
@@ -230,7 +240,7 @@
|
||||
page: page??1, pageSize: itemsPerPage??10
|
||||
};
|
||||
this.picker.data_table.loading = true;
|
||||
let search = {}
|
||||
let search = {u_name:this.picker.search.name}
|
||||
axios
|
||||
.post(HTTP_HOST + 'api/follower/GetList', search, { params: params })
|
||||
.then(response => {
|
||||
|
||||
Reference in New Issue
Block a user