Commit 0ed29fe1 authored by 张耀's avatar 张耀

feat:

预警列表推送和关闭接口参数,ids改为[int]传参
parent b2bd77a8
......@@ -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,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment