ybxdata.js 3.02 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-09-18 11:07:59
 */
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',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        prop: "ywlymc",
        label: "业务来源",
        width: '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>
          }
          switch (scope.row.lczt) {
            case '1':
              return <div class='allow'>进行中</div>
            case '2':
              return <div class='prohibit'>已结束</div>
            case '3':
              return <span>进行中</span>
          }
        }
      },
      {
        label: "业务号",
        width: '90',
        render: (h, scope) => {
          return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
        }
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
        minWidth: '200'
      },
      {
        label: "权利人",
        width: '120',
        render: (h, scope) => {
          return (
            <div>
              <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width ">
                <span class="ellipsis-table"> {scope.row.qlrmc}</span>
              </el-tooltip>
            </div>
          )
        }
      },
      {
        label: "义务人",
        width: '120',
        render: (h, scope) => {
          return (
            <div>
              <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width">
                <span class="ellipsis-table"> {scope.row.ywrmc}</span>
              </el-tooltip>
            </div>
          )
        }
      },
      {
        label: "坐落",
        minWidth: '150',
        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>
          )
        }
      },
      {
        prop: "slsj",
        label: "受理时间",
        width: '140',
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
        width: '80'
      },
      {
        label: "转出时间",
        width: '140',
        sortable: 'custom',
        prop: 'outstepdate'
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}