|
|
|
|
@ -523,6 +523,15 @@ function getList() {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const initFormData2 = () => { |
|
|
|
|
formData2.value ={ |
|
|
|
|
alarmTypeId: 1, |
|
|
|
|
involveDepartId: '', |
|
|
|
|
involveDepartName: '', |
|
|
|
|
alarmContent: '' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function reset() { |
|
|
|
|
query.value = { |
|
|
|
|
current: 1, |
|
|
|
|
@ -558,6 +567,7 @@ const handleNotification = async () => {
|
|
|
|
|
await alarmNotificationCommit(data); |
|
|
|
|
showNotification.value = false; |
|
|
|
|
feedback.msgSuccess("操作成功"); |
|
|
|
|
initFormData2(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
|
|