index.js 1.22 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: "uploadtime",
        label: "汇交时间",
      },
      {        
        label: '汇交状态',
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.exchangeState == '1' ? <span class='adopt'>成功</span> : <span class='warehousing'>失败</span>
              }
            </div>
          )
        }
      },
    ]
  }
}
export default new data()