Blame view

src/views/ywbl/ywsq/javascript/cfdj.js 2.31 KB
1
/*
2
 * @Description:
3
 * @Autor: renchao
4
 * @LastEditTime: 2024-01-30 15:51:33
5
 */
jiaozeping@pashanhoo.com committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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',
任超 committed
21 22 23 24 25 26 27 28
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
29 30 31 32
      },
      {
        prop: "status",
        label: "状态",
33 34 35
        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
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
41 42
      },
      {
田浩浩 committed
43 44
        prop: "ywh",
        label: "业务号",
jiaozeping@pashanhoo.com committed
45 46 47 48
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
49
        minWidth: '150'
jiaozeping@pashanhoo.com committed
50 51
      },
      {
田浩浩 committed
52 53
        prop: "cfjg",
        label: "查封机关",
jiaozeping@pashanhoo.com committed
54 55
      },
      {
56 57 58 59
        prop: "cflxmc",
        label: "查封类型",
      },
      {
田浩浩 committed
60 61
        prop: "cfwh",
        label: "查封文号",
jiaozeping@pashanhoo.com committed
62 63
      },
      {
蔡俊立 committed
64
        prop: "qlrmc",
田浩浩 committed
65
        label: "被执行权利人",
jiaozeping@pashanhoo.com committed
66 67
      },
      {
田浩浩 committed
68 69
        prop: "cfqssj",
        label: "查封起始时间",
70
        width: '140'
任超 committed
71 72
      },
      {
田浩浩 committed
73 74
        prop: "cfjssj",
        label: "查封结束时间",
75
        width: '140'
jiaozeping@pashanhoo.com committed
76 77 78
      },
      {
        label: "坐落",
79 80 81 82 83 84 85 86
        minWidth: '100',
        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>
          )
        }
87 88 89 90 91 92 93 94 95
      },
      {
        label: '操作',
        width: '80',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
96
              <el-button type="text" icon="el-icon-edit-outline" onClick={(event) => { event.stopPropagation(); vm.openBook(scope.row) }}>登记薄</el-button>
97 98 99 100
            </div>
          )
        }
      },
jiaozeping@pashanhoo.com committed
101 102 103 104 105 106 107 108
    ]
  }


}
let datas = new data()
export {
  datas,
任超 committed
109
  sendThis
jiaozeping@pashanhoo.com committed
110
}