fzxxdata.js 1.36 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'
      },
      {
        prop: "qllxmc",
        label: "权利类型"
      },
      {
        prop: "ysxlh",
        label: "印刷序列号"
      },
      {
        prop: "bdcqzh",
        label: "不动产权证号"
      },
      {
        prop: "qlrmc",
        label: "权利人"
      },
      {
        prop: "ywrmc",
        label: "义务人",
        render: (h, scope) => {
          if (scope.row.bdcqzh=="") {
            return  <div>{scope.row.ywrmc}</div>
          }  else{
            return <div>{scope.row.ywrmc}</div>
          }      
        }
      },
      {
        prop: "mj",
        label: "面积(㎡)"
      },
      {
        prop: "zl",
        label: "坐落"
      },
      {
        prop: "lzrxm",
        label: "领取人"
      },
      {
        label: '操作',
        width: '200',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>添加领取材料</el-button>
        }
      }
    ]
  }


}
let datas = new data()
export {
  datas,
  sendThis
}