| | |
| | | <!-- 详单 --> |
| | | <ApplyChangeUnitDetails1 ref="ApplyChangeUnitDetails1" @success="success" /> |
| | | <!-- 更新派遣单位详情 --> |
| | | <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" /> |
| | | <!-- <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 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, OperaApplyChangeUnitDetailWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 }, |
| | | components: { |
| | | GlobalWindow, |
| | | // OperaApplyChangeUnitDetailWindow, |
| | | selectEmployees, |
| | | addEmployee, |
| | | importEmployees, |
| | | confirmJobType, |
| | | ApplyChangeUnitDetails1 |
| | | }, |
| | | data () { |
| | | return { |
| | | form: { |
| | |
| | | type: 1 |
| | | }).then(res => { |
| | | this.visible = false |
| | | this.$refs.OperaApplyChangeUnitDetailWindow.open('更换派遣单位详情', { applyId: this.form.id, id: res }) |
| | | // this.$refs.OperaApplyChangeUnitDetailWindow.open('更换派遣单位详情', { applyId: this.form.id, id: res }) |
| | | this.$tip.apiSuccess('操作成功') |
| | | // this.$emit('success') |
| | | this.$emit('success',{ applyId: this.form.id, id: res }) |
| | | }).catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }).finally(() => { |
| | |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | } |
| | | this.changeSolution1(res.solutionId) |
| | | }) |
| | | }, |
| | |
| | | }) |
| | | }) |
| | | this.seleData = [] |
| | | this.$refs.multipleTable.clearSelection(); |
| | | this.$refs.multipleTable.clearSelection() |
| | | }, |
| | | // 选择员工 |
| | | sele() { |
| | |
| | | }, |
| | | // 选取员工 |
| | | getValue1 (list) { |
| | | let arr = JSON.parse(JSON.stringify(list)) |
| | | const arr = JSON.parse(JSON.stringify(list)) |
| | | |
| | | arr.forEach(item => { |
| | | item.oldDuId = item.duId |
| | |
| | | this.form.factory.push(...arr) |
| | | }, |
| | | getValue(list) { |
| | | let arr = JSON.parse(JSON.stringify(list)) |
| | | const arr = JSON.parse(JSON.stringify(list)) |
| | | |
| | | arr.forEach(item => { |
| | | item.oldDuId = item.duId |