|
|
@ -224,7 +224,7 @@ function pushModal (props) { |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
dispatch(service.postPush({ pushId: pushId, ...obj, msg: '编辑推送配置' })).then((res) => {//获取项企(PEP)全部部门及其下用户 |
|
|
|
dispatch(service.postPush({ pushId: editObj.id, ...obj, msg: '编辑推送配置' })).then((res) => {//获取项企(PEP)全部部门及其下用户 |
|
|
|
if (res.success) { |
|
|
|
close(); |
|
|
|
} |
|
|
@ -567,7 +567,7 @@ function pushModal (props) { |
|
|
|
placeholder="请选择通知时效" |
|
|
|
style={{ width: 285 }} |
|
|
|
rules={[{ required: true, message: "请选择通知时效" }]} |
|
|
|
initValue={editObj?.timeType.length > 0 ? editObj?.timeType : timeTypePOMS.current} |
|
|
|
initValue={editObj?.timeType?.length > 0 ? editObj?.timeType : timeTypePOMS.current} |
|
|
|
disabled={timeTypeDis} |
|
|
|
multiple |
|
|
|
maxTagCount={3} |
|
|
|