产品-社保福利的自定义以及福利档案的接口调整

This commit is contained in:
黎永顺 2023-07-27 11:00:57 +08:00
parent 28471fe108
commit a3fde65b39
1 changed files with 4 additions and 1 deletions

View File

@ -325,7 +325,10 @@ export class ProgrammeStore {
@action
updateCustomCategory = (params) => {
return new Promise((resolve, reject) => {
API.updateCustomCategory(_.pick(params, ["id", "insuranceName", "paymentScope"])).then(res => {
API.updateCustomCategory({
..._.pick(params, ["id", "insuranceName"]),
paymentScope: _.pick(params, ["paymentScope"]).paymentScope.split(",")
}).then(res => {
if (res.status) {
message.success("编辑成功");
resolve();