通知记录中操作栏中的发送通知按钮点击无反应 已修改

This commit is contained in:
zhaotianfeng 2024-09-19 10:44:11 +08:00
parent f4c56dddd1
commit 3649ac6ddd

View File

@ -271,11 +271,28 @@ export default {
},
//
send(data) {
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() {