Commit c76ff507 authored by zhengke's avatar zhengke

修改

parent c757d89b
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</q-select> </q-select>
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" <q-select @input="resetBelong" dense filled option-value="Id" option-label="Name"
v-model="msg.BelongType" :options="BelongTypeList" emit-value map-options label="归属类型" /> v-model="msg.BelongType" :options="BelongTypeList" emit-value map-options label="归属类型" />
</div> </div>
<div class="col-3"> <div class="col-3">
...@@ -192,6 +192,12 @@ ...@@ -192,6 +192,12 @@
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
this.getStudent(); this.getStudent();
}, },
resetBelong(){
if(this.msg.BelongType!=4){
this.msg.pageIndex = 1;
this.getStudent();
}
},
changePage(val) { changePage(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getStudent(); this.getStudent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment