index.js 1.56 KB
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns() {
    return [
      {
        prop: "areacode",
        label: "行政区代码",
        width: 100,
      },
      {
        prop: "areaName",
        label: "行政区名称",
        width: 100,
      },
      {
        prop: "bizMsgid",
        label: "业务报文ID",
      },
      {
        prop: "createdate",
        label: "创建时间",
      },
      {
        prop: "recflowid",
        label: "业务流水号",
      },
      {
        prop: "estatenum",
        label: "不动产单元号",
        width: 240,
      },
      {
        prop: "rectype",
        label: "业务编码",
      },
      {
        prop: "rectypeName",
        label: "业务名称",
      },
      {
        prop: "createdate",
        label: "接收时间",
      },
      {
        prop: 'jcjg',
        label: '检查结果',
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.jcjg
                  ? <span class='adopt'>通过</span>
                  : <span>通过1</span>
              }
            </div>
          )
        }
      },
      {
        prop: 'rkjg',
        label: '入库结果',
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.jcjg
                  ? <span class='warehousing'>入库</span>
                  : <span>入库1</span>
              }
            </div>
          )
        }
      },
    ]
  }
}
export default new data()