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() {