Blame view

src/views/zhcx/lpcx/lpcxdata.js 1.2 KB
1 2 3 4 5 6 7 8 9 10
import filter from '@/utils/filter.js'
let vm = null

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