Blame view

src/views/sqcx/sqcxjl/components/sqcxjlInfodata.js 3.64 KB
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()
  }
任超 committed
11
  cxjgcolumns () {
12 13 14 15
    return [
      {
        prop: 'qszt',
        label: '权属状态',
jiaozeping@pashanhoo.com committed
16 17 18 19 20 21 22 23 24 25 26 27
        render: (h, scope) => {
          switch (scope.row.qszt) {
            case '0':
              return <div>临时</div>
            case '1':
              return <div>现势</div>
            case '2':
              return <div>历史</div>
            case '3':
              return <div>终止</div>
          }
        }
28 29
      },
      {
30
        width: '130',
31
        label: '不动产权证号',
32 33 34 35 36 37 38
        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>
          )
        }
39 40 41 42 43 44
      },
      {
        prop: 'djsj',
        label: '登记时间',
      },
      {
jiaozeping@pashanhoo.com committed
45
        prop: 'wqhth',
46 47 48 49 50 51 52
        label: '合同号',
      },
      {
        prop: 'wqsj',
        label: '网签时间',
      },
      {
53
        width: '130',
54
        label: '不动产单元号',
55 56 57 58 59 60 61
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.bdcdyh}</span>
            </el-tooltip>
          )
        }
62 63 64 65 66 67
      },
      {
        prop: 'gyfs',
        label: '共有方式',
      },
      {
jiaozeping@pashanhoo.com committed
68
        prop: 'qlrmc',
69 70 71
        label: '权利人',
      },
      {
jiaozeping@pashanhoo.com committed
72
        prop: 'zjhm',
73 74 75 76
        label: '证件号',
      },
      {
        label: '房地坐落',
77 78 79 80 81 82 83 84
        width: '100',
        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>
          )
        }
85 86
      },
      {
jiaozeping@pashanhoo.com committed
87
        prop: 'fwmj',
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
        label: '建筑面积(㎡)',
      },
      {
        prop: 'fwyt',
        label: '房屋用途',
      },
      {

        label: '登记状态',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.editClick(scope) }}>抵押</el-button>
            </div>
          )
        }
      }
    ]
  }
任超 committed
109
  sqrcolumns () {
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }

任超 committed
130
  qlrcolumns () {
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }
150 151 152 153
  dyjlcolumns () {
    return [
      {
        label: '打印类型',
蔡俊立 committed
154 155 156 157 158 159 160 161
        render: (h, scope) => {
          switch (scope.row.dylx) {
            case '1':
              return <div>房产结果</div>
            case '2':
              return <div>无房证明</div>
          }
        }
162 163
      },
      {
蔡俊立 committed
164
        prop: 'dyr',
165 166 167
        label: '打印人员',
      },
      {
蔡俊立 committed
168
        prop: 'dysj',
169 170 171 172
        label: '打印时间',
      }
    ]
  }
173 174 175 176 177 178 179 180 181 182
}



let datas = new data()

export {
  datas,
  sendThis
}