Blame view

src/views/sbbwcx/data/index.js 938 Bytes
任超 committed
1 2 3 4 5 6 7 8
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
任超 committed
9 10 11
        type: 'selection'
      },
      {
任超 committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
        prop: "xzqdm",
        label: "行政区代码",
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
      },
      {
        prop: "xzqmc",
        label: "行政区名称",
      },
      {
        prop: "ywbm",
        label: "业务编码",
      },
      {
        prop: "sbsj",
        label: "上报时间",
      },
      {
        prop: 'sbjg',
        label: '上报结果',
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.sbjg
                  ? <el-tag type='success'>通过</el-tag>
                  : <el-tag type='primary'>通过1</el-tag>
              }
            </div>
          )
        }
      },
    ]
  }
}
export default new data()