Blame view

src/views/zhcx/lpcx/lpcxdata.js 1.46 KB
1 2 3 4 5
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-10-19 10:31:31
 */
6 7 8 9 10 11 12 13 14 15
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
16
  columns () {
17 18 19 20
    return [
      {
        label: '序号',
        type: 'index',
21 22 23 24 25 26 27 28
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
29 30
      },
      {
任超 committed
31 32
        prop: "qymc",
        label: "企业名称",
33 34
      },
      {
任超 committed
35 36
        prop: "xmmc",
        label: "项目名称",
37 38
      },
      {
任超 committed
39 40
        prop: "jzwmc",
        label: "建筑物名称",
41 42
      },
      {
任超 committed
43 44
        prop: "zrzh",
        label: "自然幢号",
45 46 47 48 49 50
      },
      {
        prop: "zl",
        label: "坐落",
      },
      {
51
        prop: "showFwyt",
任超 committed
52 53 54
        label: "用途",
      },
      {
jiaozeping@pashanhoo.com committed
55
        prop: "zydmj",
任超 committed
56
        label: "面积(㎡)",
57 58
      },
      {
任超 committed
59 60
        prop: "zts",
        label: "总套数",
61 62
      },
      {
任超 committed
63 64
        prop: "zcs",
        label: "总层数",
65 66 67
      },
      {
        label: '操作',
68
        width: '80',
69 70
        align: 'center',
        render: (h, scope) => {
jiaozeping@pashanhoo.com committed
71
          return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openlpbClick(scope) }}>楼盘表</el-button>
72 73 74 75 76 77 78 79 80 81
        }
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}