Browse Source

居住记录、入住记录样式调整,分页参数修改

wyx
wangyx 3 months ago
parent
commit
3044e21130
  1. 4
      src/assets/styles/index.scss
  2. 10
      src/views/records/checkin/index.vue
  3. 4
      src/views/records/live/index.vue

4
src/assets/styles/index.scss

@ -271,7 +271,9 @@ aside {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.mb-10{
margin-bottom: 10px;
}
.bg-white, .card { .bg-white, .card {
background: #fff; background: #fff;
} }

10
src/views/records/checkin/index.vue

@ -94,10 +94,10 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
@pagination="getList" /> @pagination="getList" />
<el-dialog title="详情" :visible.sync="open" width="50%"> <el-dialog title="详情" :visible.sync="open" width="55%">
<el-row :gutter="60"> <el-row :gutter="20">
<el-col :span="8" class="mb-10">所在区域{{ info.deptName }}</el-col> <el-col :span="8" class="mb-10">所在区域{{ info.deptName }}</el-col>
<el-col :span="8" class="mb-10">小区/公寓{{ info.apartmentName }}</el-col> <el-col :span="8" class="mb-10">小区/公寓{{ info.apartmentName }}</el-col>
<el-col :span="8" class="mb-10">楼号{{ info.buildingName }}</el-col> <el-col :span="8" class="mb-10">楼号{{ info.buildingName }}</el-col>
@ -152,7 +152,7 @@ export default {
// //
queryParams: { queryParams: {
pageNum: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
deptId:null, deptId:null,
apartmentId: null, apartmentId: null,
@ -305,7 +305,7 @@ export default {
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
this.queryParams.pageNum = 1; this.queryParams.pageNo = 1;
this.getList(); this.getList();
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */

4
src/views/records/live/index.vue

@ -212,8 +212,8 @@
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"
/> />
<el-dialog title="详情" :visible.sync="open" width="50%"> <el-dialog title="详情" :visible.sync="open" width="55%">
<el-row :gutter="60"> <el-row :gutter="20">
<el-col :span="8" class="mb-10">所在区域{{ info.parentName }}</el-col> <el-col :span="8" class="mb-10">所在区域{{ info.parentName }}</el-col>
<el-col :span="8" class="mb-10" <el-col :span="8" class="mb-10"
>小区/公寓{{ info.apartmentName }}</el-col >小区/公寓{{ info.apartmentName }}</el-col

Loading…
Cancel
Save