Blame view

src/views/zhcx/zslqcx/zslqcx.js 3.24 KB
任超 committed
1 2 3 4 5 6 7 8 9 10
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
11
  columns () {
任超 committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25
    return [
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
tianhaohao@pashanhoo.com committed
26 27 28 29 30 31
        label: "证书状态",
        width: '80',
        render: (h, scope) => {
          return (
            <div>
              {
32
                scope.row.zszt == '1' ?
tianhaohao@pashanhoo.com committed
33 34 35 36 37 38 39 40
                  <div class='allow'>有效</div> :
                  <div class='prohibit'>失效</div>
              }
            </div>
          )
        }
      },
      {
任超 committed
41
        label: "领取状态",
任超 committed
42
        width: '80',
任超 committed
43 44 45 46
        render: (h, scope) => {
          return (
            <div>
              {
蔡俊立 committed
47
                scope.row.bsmFz ?
任超 committed
48 49 50 51 52 53 54 55
                  <div class='allow'>已领取</div> :
                  <div class='prohibit'>未领取</div>
              }
            </div>
          )
        }
      },
      {
tianhaohao@pashanhoo.com committed
56 57 58 59 60 61
        label: "不动产权证类型",
        width: '120',
        render: (h, scope) => {
          return (
            <div>
              {
62
                scope.row.bdcqzlx == '1' ?
tianhaohao@pashanhoo.com committed
63 64 65 66 67 68
                  <div>不动产权证书</div> :
                  <div>不动产登记证明</div>
              }
            </div>
          )
        }
69 70 71
      },
      {
        label: "业务号",
72
        width: '100',
1  
renchao@pashanhoo.com committed
73 74 75 76 77 78 79
        render: (h, scope) => {
          return (
            <div>
              <el-link type="primary" onClick={() => { vm.openYwDialog(scope.row) }}>{scope.row.ywh}</el-link>
            </div>
          )
        }
80
      },
任超 committed
81 82
      {
        label: "权利类型",
蔡俊立 committed
83
        prop: "qllx",
任超 committed
84 85
      },
      {
tianhaohao@pashanhoo.com committed
86 87 88
        prop: "ysxlh",
        label: "印刷序列号",
        width: '100'
89
      },
tianhaohao@pashanhoo.com committed
90
      {
任超 committed
91 92
        prop: "bdcqzh",
        label: "不动产权证号",
93 94 95 96 97 98 99 100
        minWidth: '150',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.bdcqzh}</span>
            </el-tooltip>
          )
        }
任超 committed
101 102
      },
      {
103 104
        prop: "qlr",
        label: "权利人",
105
        minWidth: '100'
任超 committed
106 107
      },
      {
108 109
        prop: "ywr",
        label: "义务人",
任超 committed
110
      },
111

任超 committed
112 113
      {
        prop: "bdcdyh",
114
        label: "不动产单元号",
115
        minWidth: '150',
任超 committed
116 117
      },
      {
118 119 120 121 122 123 124 125 126
        label: "坐落",
        minWidth: '150',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.zl}</span>
            </el-tooltip>
          )
        }
任超 committed
127
      },
128
      {
tianhaohao@pashanhoo.com committed
129
        label: "证书详情",
130 131 132
        width: '80',
        render: (h, scope) => {
          return (
133
            <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope.row) }}>查看</el-button>
134 135 136
          )
        }
      },
任超 committed
137 138 139 140 141 142 143 144
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}