dbxdata.js 1.82 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: "ywly",
        label: "业务来源",
      },
      {
        label: "流程状态",
        render: (h, scope) => {
          switch (scope.row.lczt) {
            case '1':
              return <span>进行中</span>
            case '2':
              return <span>进行中</span>
            case '3':
              return <span>进行中</span>
          }
        }
      },
      {
        prop: "zbhj",
        label: "在办环节",
      },
      {
        label: '业务号',
        align: 'center',
        render: (h, scope) => {
          return <el-button type="text" onClick={() => { vm.ywhClick(scope.row.bsmSlsq) }}>{scope.row.ywh}</el-button>
        }
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
      },
      {
        prop: "qlr",
        label: "权利人",
      },
      {
        prop: "ywr",
        label: "义务人",
      },
      {
        prop: "zl",
        label: "坐落",
      },
      {
        prop: "slsj",
        label: "受理时间",
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      },
      {
        prop: "zrsj",
        label: "转入时间",
        sortable: 'custom'
      },
      {
        label: '操作',
        width: '80',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope) }}>编辑</el-button>
        }
      }
    ]
  }


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