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: "流程状态", 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 <div class='allow'>进行中</div> } } }, { 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: "zlStr", label: "坐落", }, { prop: "slsj", label: "受理时间", sortable: 'custom' }, { prop: "slry", label: "受理人员", } ] } } let datas = new data() export { datas, sendThis }