jdcxdata.js 1.88 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: "业务来源",
      },
      {
        label: "流程状态",
        render: (h, scope) => {
          switch (scope.row.lczt) {
            case '1':
              return <span>进行中</span>
            case '2':
              return <span>已结束</span>
            case '3':
              return <span>进行中</span>
          }
        }
      },
      {
        label: "办理状态",
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.blStatus}</span>
            </div>
          )
        }
      },
      {
        label: "业务号",
        render: (h, scope) => {
          return (
            <div>
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
            </div>
          )
        }
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
      },
      {
        label: "权利人",
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.qlrmcStr}</span>
            </div>
          )
        }
      },
      {
        label: "义务人",
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.ywrmcStr}</span>
            </div>
          )
        }
      },
      {
        prop: "zl",
        label: "坐落",
      },
      {
        prop: "slsj",
        label: "受理时间",
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}