index.js 958 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' ? <el-tag type='success'>成功</el-tag> : <el-tag type='primary'>失败</el-tag>
              }
            </div>
          )
        }
      },
    ]
  }
}
export default new data()