Commit 41c021a2 authored by 黄奎's avatar 黄奎

页面修改

parent 61176e98
......@@ -21,7 +21,7 @@
<div class="page-content">
<q-table :pagination='qMsg' :loading="loading" no-data-label="暂无相关数据" flat class="sticky-right-column-table"
separator="none" :data="dataList" :columns="columns" row-key="name">
<template v-slot:top="props">
<template v-slot:top>
<div class="col-2 q-table__title">值班事项管理</div>
<q-space />
<div class="page-option">
......@@ -175,7 +175,9 @@
},
//获取数据
getList() {
this.loading=true;
queryDutyItemPage(this.qMsg).then(res => {
this.loading=false;
if (res.Code == 1) {
this.pageCount = res.Data.PageCount;
this.dataList = res.Data.PageData;;
......
......@@ -2,7 +2,6 @@
.site_ListDiv {
margin-bottom: 10px;
}
</style>
<template>
<div class="page-body">
......@@ -102,7 +101,6 @@
}
],
data: [],
// loading: true,
loading: false,
msg: {
pageIndex: 1,
......@@ -116,12 +114,14 @@
},
methods: {
getList() {
this.loading = true;
getSiteConfig(this.msg).then(res => {
this.loading = false;
if (res.Code == 1) {
this.data = res.Data;
}
}).catch(() => {
this.loading = false;
})
},
//新增站点
......@@ -160,9 +160,7 @@
},
}
}
</script>
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
</style>
\ No newline at end of file
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