index.js 1.76 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-03-17 15:11:13
 */
import filter from '@/utils/filter.js'
let vm = null
const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        label: '汇交状态',
        width: '130',
        render: (h, scope) => {
          return (
            <div>
              <span v-show={scope.row.exchangeState == 0} class='warehousing'>未上报</span>
              <span v-show={scope.row.exchangeState == 1} class='warehousing'>上报成功未响应</span>
              <span v-show={scope.row.exchangeState == 2} class='fail'>上报响应失败</span>
              <span v-show={scope.row.exchangeState == 3} class='adopt'>上报响应成功</span>
            </div>
          )
        }
      },
      {
        prop: "areacode",
        label: "行政区代码",
        minWidth: 90,
      },
      {
        prop: "areaName",
        label: "行政区名称",
        minWidth: 90,
      },
      {
        prop: "bizMsgid",
        label: "业务报文ID",
        minWidth: 150,
      },
      {
        prop: "createdate",
        label: "创建时间",
        width: 140,
      },
      {
        prop: "recflowid",
        label: "业务流水号",
        minWidth: 100,
      },
      {
        prop: "estatenum",
        label: "不动产单元号",
        minWidth: 150,
      },
      {
        prop: "rectype",
        label: "业务编码",
        minWidth: 90,
      },
      {
        prop: "rectypeName",
        label: "业务名称",
        minWidth: 190,
      },
      {
        prop: "exchangeDate",
        label: "汇交时间",
        width: 140,
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}