feat(msgcenter): 消息卡片直批入口——铃铛卡片与全部消息表格加同意/拒绝(msgType=2),弹窗拒绝意见必填、提交防重、成功标已读刷新
This commit is contained in:
@@ -142,6 +142,17 @@ class Base extends Abstract {
|
||||
return this.postRequest({ url });
|
||||
}
|
||||
|
||||
/**
|
||||
* 消息卡片直批(B3 §2):同意/拒绝消息对应的审批待办。
|
||||
* 身份(operatorId/schId/operatorName)服务端取会话,前端只传消息定位与动作。
|
||||
* 返回 {ok, message}——ok=false 时 message 为可直接展示的文案。
|
||||
* @memberof Basic
|
||||
*/
|
||||
handleMsg(msgId: number, action: "approve" | "reject", opinion?: string) {
|
||||
const url = path + "/msgCenter/handle";
|
||||
return this.postRequest({ url, data: { msgId, action, opinion } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改密码
|
||||
* @memberof Basic
|
||||
|
||||
Reference in New Issue
Block a user