Blame view

src/views/ywbl/ywsq/javascript/selecBdcql.js 2.85 KB
1 2 3 4 5
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-05-17 10:37:14
 */
田浩浩 committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        type: 'selection',
任超 committed
20 21
        label: '全选',
        selectable: this.selected
田浩浩 committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
      },
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        prop: "status",
        label: "状态",
38 39
        render: (h, scope) => {
          return (
任超 committed
40
            <div>
41
              {/* <a v-on:click="doSomething"></a> */}
田浩浩 committed
42 43 44 45 46 47 48 49 50 51 52
              <a icon="el-icon-discover" style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
              <span icon="el-icon-discover" v-show={scope.row.zjgcdyzt == 1}>在建工程抵押</span>
              <span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span>
              <span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span>
              <span icon="el-icon-discover" v-show={scope.row.cfzt == 1}> 已查封</span>
              <span icon="el-icon-discover" v-show={scope.row.diyizt == 1}>,已地役</span>
              <span icon="el-icon-discover" v-show={scope.row.yyzt == 1}>,异议中</span>
              <span icon="el-icon-discover" v-show={scope.row.xzzt == 1}>,已限制</span>
              <span icon="el-icon-discover" v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
              <span icon="el-icon-discover" v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
              <span icon="el-icon-discover" v-show={scope.row.dyzt == 1}>,已抵押</span>
53 54 55
            </div>
          )
        }
田浩浩 committed
56 57 58 59 60 61 62 63
      },
      {
        prop: "qllxmc",
        label: "权利类型",
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
64
        minWidth: '150'
田浩浩 committed
65 66 67 68
      },
      {
        prop: "bdcqzh",
        label: "不动产权证号",
69
        minWidth: '150'
田浩浩 committed
70 71
      },
      {
72 73 74 75
        prop: "gyqk",
        label: "共有情况",
      },
      {
田浩浩 committed
76 77 78 79
        prop: "qlrmc",
        label: "权利人",
      },
      {
80 81
        prop: "qlrzjhm",
        label: "权利人证件号",
82
        minWidth: '150'
83 84 85 86 87 88 89 90
      },
      {
        prop: "ywrmc",
        label: "义务人",
      },
      {
        prop: "ywrzjhm",
        label: "义务人证件号",
91
        minWidth: '150'
田浩浩 committed
92 93 94 95 96 97
      },
      {
        prop: "mj",
        label: "面积",
      },
      {
98
        prop: "ytmc",
田浩浩 committed
99 100 101 102 103
        label: "用途",
      },
      {
        prop: "zl",
        label: "坐落",
104
        minWidth: '130'
田浩浩 committed
105 106 107 108 109 110 111 112 113 114 115
      }
    ]
  }


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