| | |
| | | <confirmJobType ref="confirmJobType" @result="getUser" /> |
| | | <!-- 查看详单 --> |
| | | <detailsPolicyholder ref="detailsPolicyholder" @success="successEvent" /> |
| | | <!-- 直保投保详情 --> |
| | | <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" /> |
| | | <!-- 委托投保详情 --> |
| | | <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" /> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | import importEmployees from '@/components/enterprise/importEmployees' |
| | | import confirmJobType from '@/components/enterprise/confirmJobType' |
| | | import detailsPolicyholder from '@/components/business/detailsPolicyholder' |
| | | import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow' |
| | | import OperaWtbApplyShopWindow from '@/components/business/OperaWtbApplyShopWindow' |
| | | import { all, getNewVersion } from '@/api/business/solutions' |
| | | import { mapState } from 'vuex' |
| | | import { create, getCountCyclePriceVO, getDetail, findList, updateData } from '@/api/business/insuranceApply' |
| | | export default { |
| | | name: 'OperaInsuranceApplyWindow2', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, detailsPolicyholder }, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, OperaWtbApplyShopWindow, importEmployees, confirmJobType, detailsPolicyholder, OperaInsuranceApplyDetails }, |
| | | data () { |
| | | return { |
| | | form: { |
| | |
| | | applyStartTime: this.form.applyStartTime, |
| | | applyEndTime: this.form.applyEndTime, |
| | | solutionId: this.form.solutionId |
| | | }).then(() => { |
| | | }).then(res=> { |
| | | console.log(res) |
| | | this.visible = false |
| | | if (this.item.type == 1) { |
| | | this.$refs.OperaWtbApplyShopWindow.open('委托投保详情', { id: res }) |
| | | } else { |
| | | this.$refs.OperaInsuranceApplyDetails.open('投保详情', { id: res }) |
| | | } |
| | | this.$tip.apiSuccess('操作成功') |
| | | this.$emit('success') |
| | | // this.$emit('success') |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |