MrShi
2025-03-26 cfdafcf22dbd868c9876d37efbd92b97ba014bef
company/src/components/enterprise/factoryChange.vue
@@ -69,10 +69,11 @@
                    align="center"
                    label="投保人数">
                </el-table-column>
              <el-table-column prop="guaranteeNum"  align="center" label="在保人数" ></el-table-column>
                <el-table-column
                    prop="serviceDays"
                    align="center"
                    label="在保时长(天)">
                    label="保单时长(天)">
                </el-table-column>
                <el-table-column
                    prop="currentFee"
@@ -135,6 +136,14 @@
                label="变更后所属工种">
            </el-table-column>
            <el-table-column
              prop="remark"
              align="center"
              label="备注">
            <template slot-scope="{row}">
              <el-input v-model="row.remark" placeholder="请输入"></el-input>
            </template>
          </el-table-column>
            <el-table-column
                label="操作">
                <template slot-scope="scope">
                    <el-button type="text" style="color: red;" @click="dele(scope.$index)">删除</el-button>
@@ -142,9 +151,9 @@
            </el-table-column>
        </el-table>
        <div class="info" v-if="item">
            <span v-if="item.specialAgreement">{{item.specialAgreement}}</span>
            <span v-if="item.specialInfo">{{item.specialInfo}}</span>
            <span v-if="item.ortherInfo">{{item.ortherInfo}}</span>
          <span v-if="item.specialAgreement" v-html="item.specialAgreement"></span>
          <span v-if="item.specialInfo" v-html="item.specialInfo"> </span>
          <span v-if="item.ortherInfo" v-html="item.ortherInfo"> </span>
        </div>
        <!--    选择员工    -->
        <selectEmployees ref="selectEmployees" @result="getValue1" />
@@ -157,7 +166,7 @@
        <!--    详单    -->
        <ApplyChangeUnitDetails1 ref="ApplyChangeUnitDetails1" @success="success" />
        <!-- 更新派遣单位详情 -->
        <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" />
<!--        <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" />-->
    </GlobalWindow>
</template>
@@ -169,7 +178,7 @@
    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'
@@ -177,7 +186,15 @@
    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: {
@@ -251,9 +268,9 @@
                    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(() => {
@@ -307,7 +324,7 @@
                                    }
                                }
                            }
                        };
          }
                        this.changeSolution1(res.solutionId)
                    })
            },
@@ -415,7 +432,7 @@
                    })
                })
                this.seleData = []
                this.$refs.multipleTable.clearSelection();
      this.$refs.multipleTable.clearSelection()
            },
            // 选择员工
            sele() {
@@ -465,7 +482,7 @@
            },
            // 选取员工
            getValue1 (list) {
                let arr = JSON.parse(JSON.stringify(list))
      const arr = JSON.parse(JSON.stringify(list))
                arr.forEach(item => {
                    item.oldDuId = item.duId
@@ -491,7 +508,7 @@
                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