Blame view

src/views/ywbl/ywsq/javascript/fwsyq.js 6.12 KB
1
/*
2
 * @Description:
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-10-18 13:20:32
5
 */
6 7 8 9 10 11 12 13 14 15
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
16
  zrzcolumns () {
17 18
    return [
      {
19
        label: '序号',
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        label: "状态",
        render: (h, scope) => {
          return (
            <div>
35 36
              <span v-show={scope.row.qqzt == 1}>已确权</span>
              <span v-show={scope.row.qqzt == 0}>未确权</span>
37 38 39 40 41 42
            </div>
          )
        }
      },
      {
        prop: "tdzh",
tianhaohao@pashanhoo.com committed
43
        width: '150',
44 45 46
        label: "土地证号",
      },
      {
tianhaohao@pashanhoo.com committed
47
        width: '120',
48
        label: "权利类型",
49 50 51 52 53 54 55
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.qllxmc} placement="top" popper-class="tooltip-width">
              <span class="ellipsis-table"> {scope.row.qllxmc}</span>
            </el-tooltip>
          )
        }
56 57 58 59 60 61 62
      },
      {
        prop: "xmmc",
        label: "项目名称",
      },
      {
        label: "自然幢号",
63
        width: '90',
64 65 66 67 68 69 70
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.zrzh} placement="top" popper-class="tooltip-width">
              <span class="ellipsis-table"> {scope.row.zrzh}</span>
            </el-tooltip>
          )
        }
71 72 73 74
      },
      {
        prop: "jzwmc",
        label: "建筑物名称",
75
        minWidth: '80'
76 77 78
      },
      {
        label: "土地/房屋性质",
79
        minWidth: '100',
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
            </div>
          )
        }
      },
      {
        label: "面积",
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.zdmj) + (' / ') + (scope.row.scjzmj)}
            </div>
          )
        }
      },
      {
        label: "土地/房屋用途",
100
        minWidth: '170',
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
            </div>
          )
        }
      },
      {
        prop: "zcs",
        label: "总层数",
        width: '70',
      },
      {
        prop: "zts",
        label: "总套数",
        width: '70',
      },
      {
        label: "自然幢坐落",
121
        minWidth: '120',
122 123 124 125 126 127 128 129
        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>
          )
        }

130 131
      },
      {
xiaomiao committed
132
        label: '操作',
tianhaohao@pashanhoo.com committed
133
        width: '120',
134 135
        align: 'center',
        render: (h, scope) => {
136 137
          return (
            <div>
138
              <el-button type="text" icon="el-icon-film" onClick={(event) => { event.stopPropagation(); vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
139 140
            </div>
          )
141
        }
142
      }
143 144 145 146 147 148 149
    ]
  }
  dzcolumns () {
    return [
      {
        type: 'selection',
        label: '全选',
150
        width: '50'
151 152
      },
      {
153
        label: '序号',
154 155 156 157 158 159 160 161 162 163
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
田浩浩 committed
164 165 166 167
      {
        label: "状态",
        render: (h, scope) => {
          return (
任超 committed
168
            <div>
田浩浩 committed
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
              {/* <a v-on:click="doSomething"></a> */}
              <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
              <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
              <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
              <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
              <span v-show={scope.row.cfzt == 1}>,已查封</span>
              <span v-show={scope.row.diyizt == 1}>,已地役</span>
              <span v-show={scope.row.yyzt == 1}>,异议中</span>
              <span v-show={scope.row.xzzt == 1}>,已限制</span>
              <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
              <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
              <span v-show={scope.row.dyzt == 1}>,已抵押</span>
            </div>
          )
        }
      },
      {
186
        prop: "tdzh",
tianhaohao@pashanhoo.com committed
187
        width: '150',
田浩浩 committed
188
        label: "土地证号",
任超 committed
189
      },
190 191
      {
        prop: "qllxmc",
tianhaohao@pashanhoo.com committed
192
        width: '120',
193 194 195
        label: "权利类型",
      },
      {
田浩浩 committed
196 197
        prop: "xmmc",
        label: "项目名称",
任超 committed
198 199
      },
      {
1  
jiaozeping@pashanhoo.com committed
200
        label: "土地/房屋性质",
田浩浩 committed
201 202
        render: (h, scope) => {
          return (
任超 committed
203
            <div>
1  
jiaozeping@pashanhoo.com committed
204
              {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
田浩浩 committed
205 206
            </div>
          )
任超 committed
207
        }
208
      },
任超 committed
209
      {
tianhaohao@pashanhoo.com committed
210
        label: "土地/房屋面积",
田浩浩 committed
211 212
        render: (h, scope) => {
          return (
任超 committed
213
            <div>
jiaozeping@pashanhoo.com committed
214
              {(scope.row.zdmj) + (' / ') + (scope.row.dzmj)}
田浩浩 committed
215 216
            </div>
          )
任超 committed
217 218
        }
      },
任超 committed
219
      {
1  
jiaozeping@pashanhoo.com committed
220
        label: "土地/房屋用途",
221 222 223 224 225 226 227
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
            </div>
          )
        }
田浩浩 committed
228
      },
229 230
      {
        prop: "zl",
jiaozeping@pashanhoo.com committed
231
        label: "多幢坐落",
232 233 234
      },
      {
        label: '操作',
tianhaohao@pashanhoo.com committed
235
        width: '120',
236 237 238 239 240
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
“miaofang committed
241
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.dzlist(scope.row) }}>自然幢</el-button>
242 243 244 245
            </div>
          )
        }
      },
246 247 248 249 250 251 252 253 254
    ]
  }

}
let datas = new data()
export {
  datas,
  sendThis
}