e8ee9cf0 by renchao@pashanhoo.com

style:楼盘查询登记薄查询模块功能的完善

1 parent dfe3546b
......@@ -13,7 +13,14 @@ class data extends filter {
{
label: '序号',
type: 'index',
width: '50'
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
prop: "ywlymc",
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 14:04:47
* @LastEditTime: 2023-10-19 10:30:56
-->
<template>
<div class="from-clues">
......@@ -46,7 +46,7 @@
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange"
:current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-19 10:31:31
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -8,12 +13,19 @@ class data extends filter {
constructor() {
super()
}
columns() {
columns () {
return [
{
label: '序号',
type: 'index',
width: '50'
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
prop: "qymc",
......