Commit ca88db98 authored by 黄奎's avatar 黄奎

页面修改

parent c3c7f212
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</div> </div>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" <q-pagination class="full-width justify-end" v-model="qMsg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" /> :input="true" @input="changePage" />
</template> </template>
<template v-slot:body="props"> <template v-slot:body="props">
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
</q-td> </q-td>
</q-tr> </q-tr>
</template> </template>
<template v-slot:bottom>
</template>
</q-table> </q-table>
<template> <template>
<q-dialog ref="dialog" @hide="onDialogHide" persistent style="max-width:400px"> <q-dialog ref="dialog" @hide="onDialogHide" persistent style="max-width:400px">
...@@ -176,7 +174,7 @@ ...@@ -176,7 +174,7 @@
}, },
//翻页 //翻页
changePage(val) { changePage(val) {
this.msg.pageIndex = val; this.qMsg.pageIndex = val;
this.getList(); this.getList();
}, },
//获取数据 //获取数据
...@@ -186,12 +184,10 @@ ...@@ -186,12 +184,10 @@
var tempData = res.Data.PageData; var tempData = res.Data.PageData;
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
tempData.map(item => { tempData.map(item => {
item.Shifts = item.Shifts.split(",").map(_item => { item.Shifts = item.Shifts.split(",").map(_item => {
_item = parseInt(_item) _item = parseInt(_item)
return _item return _item
}) })
item.ItemSchools = item.ItemSchools.split(",").map(_item => { item.ItemSchools = item.ItemSchools.split(",").map(_item => {
_item = parseInt(_item) _item = parseInt(_item)
return _item return _item
......
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