Blame view

src/views/ywbl/ywsq/javascript/selectJsydsyqhbfg.js 4.28 KB
1 2 3
/*
 * @Description:
 * @Autor: renchao
4
 * @LastEditTime: 2023-09-06 17:03:59
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
 */
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        label: "状态",
        width: '130',
        render: (h, scope) => {
          return (
            <div>
36 37
              <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
              <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
38 39 40 41 42 43 44 45 46 47
            </div>
          )
        }
      },
      {
        prop: "qllxmc",
        label: "权利类型",
      },
      {
        label: "不动产单元号",
48
        width: '150',
49 50 51 52 53 54 55
        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>
          )
        }
56 57 58
      },
      {
        label: "不动产权证号",
59
        width: '150',
60 61 62 63 64 65 66
        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>
          )
        }
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
      },
      {
        prop: "qlrmc",
        label: "使用权人",
      },
      {
        prop: "qlrzjhm",
        label: "证件号",
      },
      {
        prop: "qlxzmc",
        width: '80',
        label: "权利性质",
      },
      {
82
        prop: "qlmjmc",
83 84 85 86
        width: '100',
        label: "使用权面积",
      },
      {
87
        prop: "qlytmc",
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
        label: "土地用途",
      },
      {
        prop: "zl",
        label: "坐落",
        minWidth: '150'
      },
      {
        label: '操作',
        width: '80',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
            </div>
          )
        }
      },
    ]
  }

}
112
class datatwo extends filter {
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
  constructor() {
    super()
  }

  columns1 () {
    return [
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        label: "状态",
133
        width: '130',
134 135 136
        render: (h, scope) => {
          return (
            <div>
137 138
              <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
              <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
            </div>
          )
        }
      },
      {
        prop: "qllxmc",
        label: "权利类型",
      },
      {
        prop: "zddm",
        label: "宗地代码",
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '110'
      },
      {
        prop: "qlxzmc",
        label: "权利性质",
      },
      {
        prop: "mj",
        label: "宗地面积(㎡)",
      },
      {
        prop: "qlsdfsmc",
        label: "权利设定方式",
      },
      {
        prop: "ytmc",
        label: "土地用途",
      },
      {
        prop: "zl",
        label: "坐落",
        minWidth: '110'
      },
177 178 179 180 181 182 183 184 185 186 187 188 189
      {
        label: '操作',
        width: '80',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
            </div>
          )
        }
      },
190 191 192 193 194
    ]
  }

}
let datas = new data()
195
let datastwo = new datatwo()
196 197
export {
  datas,
198
  datastwo,
199 200
  sendThis
}