| | |
| | | </div> |
| | | </div> |
| | | <OperaInsuranceApplyWindow ref="operaInsuranceApplyWindow" @success="handleCurrentChange0()"/> |
| | | <OperaInsuranceApplyShopWindow ref="operaInsuranceApplyShopWindow" @success="handleCurrentChange0()"/> |
| | | <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handleCurrentChange0()"/> |
| | | <dispatchUnitDetailsPlat ref="dispatchUnitDetailsPlat" @success="handleCurrentChange0()"/> |
| | | <OperaSettleClaimsWindow ref="operaSettleClaimsWindow" @success="handleCurrentChange2()"/> |
| | | <OperaApplyChangeUnitDetailWindow ref="operaApplyChangeUnitDetailWindow" @success="handleCurrentChange0()"/> |
| | |
| | | import * as echarts from 'echarts' |
| | | import { mapState } from 'vuex' |
| | | import OperaInsuranceApplyWindow from '@/components/business/OperaInsuranceApplyWindow' |
| | | import OperaInsuranceApplyShopWindow from '@/components/business/OperaInsuranceApplyShopWindow' |
| | | import dispatchUnitDetailsPlat from '@/components/business/dispatchUnitDetailsPlat' |
| | | import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow' |
| | | import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow' |
| | | import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow' |
| | | import OperaTaxesWindow from '@/components/business/OperaTaxesWindow' |
| | | import { fetchList as noticeList, deleById } from '@/api/business/notices' |
| | | import {getChangeDetail, getDetail} from "@/api/business/insuranceApply"; |
| | | import OperaWtbApplyShopWindow from "@/components/business/OperaWtbApplyShopWindow"; |
| | | export default { |
| | | components: { |
| | | OperaWtbApplyShopWindow, |
| | | OperaInsuranceApplyWindow, |
| | | dispatchUnitDetailsPlat, |
| | | OperaTaxesWindow, |
| | | OperaSettleClaimsWindow, |
| | | OperaApplyChangeDetailWindow, |
| | | OperaApplyChangeUnitDetailWindow, |
| | | OperaInsuranceApplyShopWindow |
| | | }, |
| | | name: 'Index', |
| | | data () { |
| | |
| | | methods: { |
| | | detail (obj) { |
| | | if (obj.objType === 0) { |
| | | if(obj.solutionType == 1){ |
| | | this.$refs.operaInsuranceApplyWindow.open('投保申请详情', { id: obj.objId }) |
| | | }else{ |
| | | this.$refs.operaInsuranceApplyWindow.open('投保申请详情', { id: obj.objId }) |
| | | } |
| | | getDetail(obj.objId).then(res => { |
| | | if( res.solutionType == 0){ |
| | | this.$refs.operaInsuranceApplyWindow.open('投保申请详情', { id: obj.objId }) |
| | | }else{ |
| | | this.$refs.OperaWtbApplyShopWindow.open('委托投保申请详情', { id: obj.objId }) |
| | | } |
| | | }).catch(err => { |
| | | }) |
| | | } else if (obj.objType === 1) { |
| | | this.$refs.operaApplyChangeDetailWindow.open('加减保详情', { id: obj.objId, applyId: obj.param1 }) |
| | | getChangeDetail(obj.objId).then(res => { |
| | | this.$refs.operaApplyChangeDetailWindow.open('加减保详情', { id: obj.objId, applyId: res.applyId }) |
| | | }).catch(err => { |
| | | }) |
| | | } else if (obj.objType === 2) { |
| | | this.$refs.operaApplyChangeUnitDetailWindow.open('更换派遣单位申请详情', { id: obj.objId, applyId: obj.param1 }) |
| | | getChangeDetail(obj.objId).then(res => { |
| | | this.$refs.operaApplyChangeUnitDetailWindow.open('更换派遣单位申请详情', { id: obj.objId, applyId: res.applyId }) |
| | | }).catch(err => { |
| | | }) |
| | | } else if (obj.objType === 3) { |
| | | this.$refs.dispatchUnitDetailsPlat.open('派遣单详情', { id: obj.objId }) |
| | | } else if (obj.objType === 4) { |