zxgcdycx.js 1.38 KB
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        prop: "qymc",
        label: "企业名称",
      },
      {
        prop: "xmmc",
        label: "项目名称",
      },
      {
        prop: "jzwmc",
        label: "建筑物名称",
      },
      {
        prop: "zrzh",
        label: "自然幢号",
      },
      {
        prop: "zl",
        label: "坐落"
      },
      {
        prop: "yt",
        label: "用途"
      },
      {
        prop: "mj",
        label: "面积(㎡)"
      },
      {
        prop: "zts",
        label: "总套数"
      },
      {
        prop: "zcs",
        label: "总层数"
      },
      {
        label: '操作',
        width: '90',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openDialog(scope) }}>楼盘表</el-button>
        }
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}