Blame view

src/views/ywbl/ywsq/javascript/fwsyq.js 6.25 KB
1 2 3 4 5
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-05-17 10:37:01
 */
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 19
    return [
      {
        type: 'selection',
田浩浩 committed
20
        label: '全选',
21
        width: '50',
任超 committed
22
        selectable: this.selected
23 24
      },
      {
25
        label: '序号',
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
        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>
              {/* <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>
          )
        }
      },
      {
        prop: "tdzh",
        label: "土地证号",
      },
      {
        prop: "qllxmc",
        label: "权利类型",
      },
      {
        prop: "xmmc",
        label: "项目名称",
      },
      {
        prop: "zrzh",
        label: "自然幢号",
      },
      {
        prop: "jzwmc",
        label: "建筑物名称",
76
        minWidth: '80'
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
      },
      {
        label: "土地/房屋性质",
        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: "土地/房屋用途",
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
            </div>
          )
        }
      },
      {
        prop: "zcs",
        label: "总层数",
        width: '70',
      },
      {
        prop: "zts",
        label: "总套数",
        width: '70',
      },
      {
        prop: "zl",
        label: "自然幢坐落",
121
        minWidth: '130'
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
      },
      {
        label: '操作',
        width: '80',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return <el-button type="text" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
        }
      }
    ]
  }
  dzcolumns () {
    return [
      {
        type: 'selection',
        label: '全选',
139
        width: '50',
140 141 142
        selectable: this.selected
      },
      {
143
        label: '序号',
144 145 146 147 148 149 150 151 152 153
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
田浩浩 committed
154 155 156 157
      {
        label: "状态",
        render: (h, scope) => {
          return (
任超 committed
158
            <div>
田浩浩 committed
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
              {/* <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>
          )
        }
      },
      {
176
        prop: "tdzh",
田浩浩 committed
177
        label: "土地证号",
任超 committed
178
      },
179 180 181 182 183
      {
        prop: "qllxmc",
        label: "权利类型",
      },
      {
田浩浩 committed
184 185
        prop: "xmmc",
        label: "项目名称",
任超 committed
186
      },
jiaozeping@pashanhoo.com committed
187 188 189 190 191 192 193 194
      // {
      //   prop: "zrzh",
      //   label: "自然幢号",
      // },
      // {
      //   prop: "jzwmc",
      //   label: "建筑物名称",
      // },
任超 committed
195
      {
1  
jiaozeping@pashanhoo.com committed
196
        label: "土地/房屋性质",
田浩浩 committed
197 198
        render: (h, scope) => {
          return (
任超 committed
199
            <div>
1  
jiaozeping@pashanhoo.com committed
200
              {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
田浩浩 committed
201 202
            </div>
          )
任超 committed
203
        }
204
      },
任超 committed
205
      {
田浩浩 committed
206
        label: "面积",
田浩浩 committed
207 208
        render: (h, scope) => {
          return (
任超 committed
209
            <div>
jiaozeping@pashanhoo.com committed
210
              {(scope.row.zdmj) + (' / ') + (scope.row.dzmj)}
田浩浩 committed
211 212
            </div>
          )
任超 committed
213 214
        }
      },
任超 committed
215
      {
1  
jiaozeping@pashanhoo.com committed
216
        label: "土地/房屋用途",
217 218 219 220 221 222 223
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
            </div>
          )
        }
田浩浩 committed
224 225 226 227 228 229 230 231 232 233
      },
      {
        prop: "zcs",
        label: "总层数",
        width: '70',
      },
      {
        prop: "zts",
        label: "总套数",
        width: '70',
234 235 236
      },
      {
        prop: "zl",
jiaozeping@pashanhoo.com committed
237
        label: "多幢坐落",
任超 committed
238
      }
jiaozeping@pashanhoo.com committed
239 240 241 242 243 244 245 246 247
      // {
      //   label: '操作',
      //   width: '80',
      //   align: 'center',
      //   fixed: 'right',
      //   render: (h, scope) => {
      //     return <el-button type="text" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
      //   }
      // }
248 249 250 251 252 253 254 255 256
    ]
  }

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