From 3649ac6ddd130ed4eb45d56b499c2aef4c50e9a0 Mon Sep 17 00:00:00 2001 From: zhaotianfeng <12345678> Date: Thu, 19 Sep 2024 10:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E8=AE=B0=E5=BD=95=E4=B8=AD?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=A0=8F=E4=B8=AD=E7=9A=84=E5=8F=91=E9=80=81?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=8C=89=E9=92=AE=E7=82=B9=E5=87=BB=E6=97=A0?= =?UTF-8?q?=E5=8F=8D=E5=BA=94=20=E5=B7=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/notify/page/record.vue | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/fuintAdmin_zt/src/views/system/notify/page/record.vue b/fuintAdmin_zt/src/views/system/notify/page/record.vue index 48a71cbfd..1a66c2192 100644 --- a/fuintAdmin_zt/src/views/system/notify/page/record.vue +++ b/fuintAdmin_zt/src/views/system/notify/page/record.vue @@ -271,11 +271,28 @@ export default { }, // 发送通知 send(data) { - getSendNotifyApi({id: data}).then(res => { - if (res.code === 200) { - this.getList() - } - }) + + + this.$confirm('是否发送本条通知信息', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + // 确定 + getSendNotifyApi({id: data}).then(res => { + if (res.code === 200) { + this.$message.success('发送成功'); + this.getList() + } + else { + this.$message.error(res.msg); + } + }) + }).catch(() => { + //取消 + }); + + }, getUserByRoles() {