jdcxdata.js 2.39 KB
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',
        width: '50'
      },
      {
        prop: "ywlymc",
        label: "业务来源",
        minWidth: '100'
      },
      {
        label: "流程状态",
        width: '80',
        render: (h, scope) => {
          if (scope.row.cfgqzt == '1') {
            return <div class='suspend'>查封挂起</div>
          }
          if (scope.row.yygqzt == '1') {
            return <div class='suspend'>异议挂起</div>
          }
          if (scope.row.jssj != null) {
            return <div class='prohibit'>已结束</div>
          } else {
            return <div class='allow'>进行中</div>
          }
        }
      },
      {
        label: "在办环节",
        minWidth: '100',
        render: (h, scope) => {
          if ((scope.row.zbhj != '' && scope.row.zbhj != null) || (scope.row.userName != '' && scope.row.userName != null))
            return (
              <div>
                <span>{scope.row.zbhj}{scope.row.userName}</span>
              </div>
            )
        }
      },
      {
        label: "业务号",
        minWidth: '100',
        render: (h, scope) => {
          return (
            <div>
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
            </div>
          )
        }
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
        minWidth: '150',
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '150',
      },
      {
        prop: "qlrmc",
        label: "权利人",
        width: '120',
      },
      {
        prop: "ywrmc",
        label: "义务人",
        width: '120',
      },
      {
        prop: "zl",
        label: "坐落",
        minWidth: '150',
        showOverflowTooltip: true
      },    
      {
        prop: "slsj",
        label: "受理时间",
        width: '140',
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      },
      {
        prop: "jssj",
        label: "结束时间",
        width: '140',
        sortable: 'custom'
      },
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}