| | |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="100%" |
| | | text="投保申请" |
| | | text="批改申请" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | |
| | | <confirmJobType ref="confirmJobType" @result="getUser" /> |
| | | <!-- 详单 --> |
| | | <ApplyChangeUnitDetails1 ref="ApplyChangeUnitDetails1" @success="success" /> |
| | | <!-- 更新派遣单位详情 --> |
| | | <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" /> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | import importEmployees from '@/components/enterprise/importEmployees' |
| | | import confirmJobType from '@/components/enterprise/confirmJobType' |
| | | import ApplyChangeUnitDetails1 from '@/components/business/ApplyChangeUnitDetails1' |
| | | import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow' |
| | | import { all } from '@/api/business/solutions' |
| | | import { getDetail, findList } from '@/api/business/insuranceApply' |
| | | import { create } from '@/api/business/applyChange' |
| | |
| | | export default { |
| | | name: 'factoryChange', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 }, |
| | | components: { GlobalWindow, OperaApplyChangeUnitDetailWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 }, |
| | | data () { |
| | | return { |
| | | form: { |
| | |
| | | changeDetailList: this.form.factory, |
| | | validTime: this.form.applyStartTime, |
| | | type: 1 |
| | | }).then(() => { |
| | | }).then(res => { |
| | | this.visible = false |
| | | this.$refs.OperaApplyChangeUnitDetailWindow.open('更换派遣单位详情', { applyId: this.form.id, id: res }) |
| | | this.$tip.apiSuccess('操作成功') |
| | | this.$emit('success') |
| | | // this.$emit('success') |
| | | }).catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }).finally(() => { |