wupengfei
2025-04-01 4923681d933b455972166552dfb7538cd18f5808
src/views/Home/BatchChange.vue
@@ -298,7 +298,10 @@
      insurancePolicyId: id,
      effectTime: state.form.time,
      addInsStaffList: _addInsStaffList.filter((x) => x.changeFlag.includes('增加')),
      updateInsStaffList: _addInsStaffList.filter((x) => x.changeFlag.includes('替换')),
      updateInsStaffList: _.uniqBy(
        _addInsStaffList.filter((x) => x.changeFlag.includes('替换')),
        'orginIdNumber'
      ),
      delInsStaffList: _addInsStaffList.filter((x) => x.changeFlag.includes('删除')),
    };
    let res = await insureBatchBillServices.addOrUpdateInsureBatchBill(params);