index.js 1.65 KB
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        prop: 'jcjg',
        label: '检查结果',
        width: 100,
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.receiveState
                  ? <span class='adopt'>通过</span>
                  : <span class='warehousing'>不通过</span>
              }
            </div>
          )
        }
      },
      {
        prop: 'rkjg',
        label: '入库结果',
        width: 100,
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.storageState
                  ? <span class='success'>成功</span>
                  : <span class='fail'>失败</span>
              }
            </div>
          )
        }
      },
      {
        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: "receiveDate",
        label: "接收时间",
      }
    ]
  }
}
export default new data()