Blame view

src/views/jsbwcx/data/index.js 1.82 KB
任超 committed
1 2 3 4 5
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
6
  columns () {
任超 committed
7 8
    return [
      {
9 10 11 12 13 14
        prop: 'jcjg',
        label: '检查结果',
        width: 100,
        render: (h, scope) => {
          return (
            <div>
任超 committed
15 16 17
              <span class='adopt' v-show={scope.row.receiveState == 0}>未效验</span>
              <span class='adopt' v-show={scope.row.receiveState == 1}>效验成功</span>
              <span class='warehousing' v-show={scope.row.receiveState == 2}>效验失败</span>
18 19 20 21 22 23 24 25 26 27 28
            </div>
          )
        }
      },
      {
        prop: 'rkjg',
        label: '入库结果',
        width: 100,
        render: (h, scope) => {
          return (
            <div>
任超 committed
29 30 31
              <span class='fail' v-show={scope.row.storageState == 0}>未入库</span>
              <span class='success' v-show={scope.row.storageState == 1}>已入库</span>
              <span class='fail' v-show={scope.row.storageState == 2}>入库失败</span>
32 33 34 35 36
            </div>
          )
        }
      },
      {
任超 committed
37 38
        prop: "areacode",
        label: "行政区代码",
田浩浩 committed
39
        width: 100,
任超 committed
40 41
      },
      {
田浩浩 committed
42
        prop: "areaName",
任超 committed
43
        label: "行政区名称",
田浩浩 committed
44
        width: 100,
任超 committed
45 46
      },
      {
田浩浩 committed
47 48 49 50 51 52 53 54 55 56 57 58 59
        prop: "bizMsgid",
        label: "业务报文ID",
      },
      {
        prop: "createdate",
        label: "创建时间",
      },
      {
        prop: "recflowid",
        label: "业务流水号",
      },
      {
        prop: "estatenum",
任超 committed
60
        label: "不动产单元号",
田浩浩 committed
61
        width: 240,
任超 committed
62 63
      },
      {
田浩浩 committed
64 65
        prop: "rectype",
        label: "业务编码",
任超 committed
66 67
      },
      {
田浩浩 committed
68 69
        prop: "rectypeName",
        label: "业务名称",
任超 committed
70 71
      },
      {
田浩浩 committed
72
        prop: "receiveDate",
田浩浩 committed
73
        label: "接收时间",
74
      }
任超 committed
75 76 77 78
    ]
  }
}
export default new data()