fzxxdata.js 2.71 KB
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns() {
    return {
      //发证列表
      fzgrid: [
        {
          label: '序号',
          type: 'index',
          width: '50'
        },
        {
          prop: "bdcqzlx",
          label: "不动产权证类型",
          // render: (h, scope) => {
          //   if (scope.row.bdcqzlx == "1") {
          //     return (<div>不动产权证书</div>)
          //   } else {
          //     return (<div>不动产登记证明</div>)
          //   }
          // }
        },
        {
          prop: "qllx",
          label: "权利类型"
        },
        {
          prop: "ysxlh",
          label: "印刷序列号",
          width: '100',
        },
        {
          prop: "bdcqzh",
          label: "不动产权证号"
        },
        {
          prop: "qlr",
          label: "权利人"
        },
        {
          prop: "ywr",
          label: "义务人"
        },
        {
          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>
          }
        }
      ],
      //领证证列表
      lzgrid: [
        {
          label: '序号',
          type: 'index',
          width: '50'
        },
        {
          prop: "bdcqzlx",
          label: "不动产权证类型",
          width: '120',
          // render: (h, scope) => {
          //   if (scope.row.bdcqzlx == "1") {
          //     return (<div>不动产权证书</div>)
          //   } else {
          //     return (<div>不动产登记证明</div>)
          //   }
          // }
        },
        {
          prop: "qllx",
          label: "权利类型"
        },
        {
          prop: "ysxlh",
          label: "印刷序列号",
          width: '100',
        },
        {
          prop: "bdcqzh",
          label: "不动产权证号"
        },
        {
          prop: "qlr",
          label: "权利人"
        },
        {
          prop: "ywr",
          label: "义务人"
        },
        {
          prop: "mj",
          label: "面积(㎡)",
          width: '100',
        },
        {
          prop: "zl",
          label: "坐落"
        }
      ]
    }
  }


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