From 0ed29fe125d30a1293b3e226c89217772bb02318 Mon Sep 17 00:00:00 2001 From: zhangyao Date: Thu, 20 Jul 2023 16:09:11 +0800 Subject: [PATCH] feat: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 预警列表推送和关闭接口参数,ids改为[int]传参 --- src/page/main/forewarning/list/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page/main/forewarning/list/index.vue b/src/page/main/forewarning/list/index.vue index 4bfb3a2..fba98a0 100644 --- a/src/page/main/forewarning/list/index.vue +++ b/src/page/main/forewarning/list/index.vue @@ -407,7 +407,7 @@ const pushConfirm = async () => { if (!manual_distribution_form_valid) return; const { method, lists } = manual_distribution_form.value.form || {}; let params = { - ids: state.pushType == 1 ? [`${state.actionRow.id}`] : state.selected.map((e) => `${e.id}`), + ids: state.pushType == 1 ? [+state.actionRow.id] : state.selected.map((e) => +e.id), notify_method: method || [], notify_recipients: lists?.map((e) => { return { @@ -448,7 +448,7 @@ const confirmClose = () => { closeForm.value.validate((valid) => { if (valid) { let params = { - ids: state.closeType == 1 ? [state.actionRow.id] : state.selected.map((e) => e.id), + ids: state.closeType == 1 ? [+state.actionRow.id] : state.selected.map((e) => +e.id), close_remark: state.closeFormData.close_notes, defer_push: state.closeFormData.close_remind ? 1 : 0, }; -- 2.26.0