ybxdata.js 1.77 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>
          }
        }
      },
      {
        prop: "ywh",
        label: "业务号",
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
      },
      {
        prop: "qlrmc",
        label: "权利人",
      },
      {
        prop: "ywrmc",
        label: "义务人",
      },
      {
        prop: "zl",
        label: "坐落",
      },
      {
        prop: "slsj",
        label: "受理时间",
        width: '140',
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      },
      {
        label: "转出时间",
        width: '140',
        sortable: 'custom',
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.zcsj[0]}</span>
            </div>
          )
        }
      },
      {
        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
}