index.js 953 Bytes
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        type: 'selection'
      },
      {
        prop: "pcode",
        label: "行政区代码",
      },
      {
        prop: "estatenum",
        label: "不动产单元号",
      },
      {
        prop: "pcode",
        label: "行政区名称",
      },
      {
        prop: "rectype",
        label: "业务编码",
      },
      {
        prop: "uploadtime",
        label: "上报时间",
      },
      {
        prop: 'sbjg',
        label: '上报结果',
        render: (h, scope) => {
          return (
            <div>
              {
                !scope.row.successflag ? '' : scope.row.successflag == '1' ? <span class='adopt'>成功</span> : <span class='warehousing'>失败</span>
              }
            </div>
          )
        }
      },
    ]
  }
}
export default new data()