selectJsydsyq.js 4.71 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-05-17 10:37:24
 */
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
// const sendThiss= (_this) => {
//   vm1 = _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>
              <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: "qllxmc",
        label: "权利类型",
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '150'
      },
      {
        prop: "bdcqzh",
        label: "不动产权证号",
        minWidth: '150'
      },
      {
        prop: "qlrmc",
        label: "使用权人",
      },
      {
        prop: "qlrzjhm",
        label: "证件号",
      },
      {
        prop: "qlxzmc",
        width: '80',
        label: "权利性质",
      },
      {
        prop: "mj",
        width: '100',
        label: "使用权面积",
      },
      {
        prop: "ytmc",
        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>
          )
        }
      },
    ]
  }

}
class datatwo  extends filter {
  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: "状态",
        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: "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'
      },
    ]
  }

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