jiangping
2024-05-07 529d0b8982cf30f57ba7e366c0f822c1d82c0b69
company/src/components/enterprise/additionSubtractionApplication.vue
@@ -2,7 +2,7 @@
    <GlobalWindow
        :title="title"
        width="100%"
        text="投保申请"
        text="批改申请"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
@@ -173,6 +173,8 @@
        <confirmJobType ref="confirmJobType" @result="getUser" />
        <!--    详情    -->
        <ApplyChangeDetails1 ref="ApplyChangeDetails1" @success="success" />
        <!-- 加减保详情 -->
        <OperaApplyChangeDetailWindow ref="OperaApplyChangeDetailWindow" />
    </GlobalWindow>
</template>
@@ -184,6 +186,7 @@
import importEmployees from '@/components/enterprise/importEmployees'
import confirmJobType from '@/components/enterprise/confirmJobType'
import ApplyChangeDetails1 from '@/components/business/ApplyChangeDetails1'
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import { all } from '@/api/business/solutions'
import { getDetail } from '@/api/business/insuranceApply'
import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange'
@@ -192,7 +195,7 @@
export default {
  name: 'additionSubtractionApplication',
  extends: BaseOpera,
  components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeDetails1 },
  components: { GlobalWindow, selectEmployees, OperaApplyChangeDetailWindow, addEmployee, importEmployees, confirmJobType, ApplyChangeDetails1 },
  data () {
    return {
      form: {
@@ -380,10 +383,11 @@
        delDetailList: this.form.delDetailList,
        validTime: this.form.applyStartTime,
        type: 0
      }).then(() => {
      }).then(res => {
        this.visible = false
        this.$tip.apiSuccess('操作成功')
        this.$emit('success')
          this.$refs.OperaApplyChangeDetailWindow.open('加减保详情', { applyId: this.form.id, id: res })
        // this.$emit('success')
      }).catch(e => {
        this.$tip.apiFailed(e)
      }).finally(() => {