Blame view

src/views/sthj/sbbwcx/data/index.js 1.76 KB
任超 committed
1 2 3
/*
 * @Description: 
 * @Autor: renchao
任超 committed
4
 * @LastEditTime: 2023-03-17 15:11:13
任超 committed
5
 */
任超 committed
6
import filter from '@/utils/filter.js'
任超 committed
7 8 9 10
let vm = null
const sendThis = (_this) => {
  vm = _this
}
任超 committed
11 12 13 14 15
class data extends filter {
  constructor() {
    super()
  }
  columns () {
任超 committed
16 17 18
    return [
      {
        label: '汇交状态',
任超 committed
19
        width: '130',
任超 committed
20 21 22 23 24
        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>
任超 committed
25
              <span v-show={scope.row.exchangeState == 2} class='fail'>上报响应失败</span>
田浩浩 committed
26
              <span v-show={scope.row.exchangeState == 3} class='adopt'>上报响应成功</span>
任超 committed
27 28 29 30
            </div>
          )
        }
      },
任超 committed
31
      {
田浩浩 committed
32 33
        prop: "areacode",
        label: "行政区代码",
任超 committed
34
        minWidth: 90,
任超 committed
35 36
      },
      {
田浩浩 committed
37 38
        prop: "areaName",
        label: "行政区名称",
任超 committed
39
        minWidth: 90,
任超 committed
40 41
      },
      {
田浩浩 committed
42 43
        prop: "bizMsgid",
        label: "业务报文ID",
任超 committed
44
        minWidth: 150,
任超 committed
45 46
      },
      {
田浩浩 committed
47 48
        prop: "createdate",
        label: "创建时间",
任超 committed
49
        width: 140,
田浩浩 committed
50 51 52 53
      },
      {
        prop: "recflowid",
        label: "业务流水号",
任超 committed
54
        minWidth: 100,
田浩浩 committed
55 56 57 58
      },
      {
        prop: "estatenum",
        label: "不动产单元号",
任超 committed
59
        minWidth: 150,
任超 committed
60 61
      },
      {
蔡俊立 committed
62
        prop: "rectype",
任超 committed
63
        label: "业务编码",
任超 committed
64
        minWidth: 90,
任超 committed
65 66
      },
      {
田浩浩 committed
67 68
        prop: "rectypeName",
        label: "业务名称",
任超 committed
69
        minWidth: 190,
任超 committed
70
      },
田浩浩 committed
71
      {
yangwei committed
72
        prop: "exchangeDate",
田浩浩 committed
73
        label: "汇交时间",
任超 committed
74
        width: 140,
任超 committed
75
      }
任超 committed
76 77 78
    ]
  }
}
任超 committed
79 80 81 82 83 84
let datas = new data()
export {
  datas,
  sendThis
}