Browse Source

涉及对象显示不对问题

main
kami 1 year ago
parent
commit
8c9ffee58b
  1. 10
      src/views/sensitivePerception/DepartNegative.vue
  2. 14
      src/views/sensitivePerception/PoliceNegative.vue
  3. 15
      src/views/sensitivePerception/RiskClue.vue
  4. 15
      src/views/sensitivePerception/RiskPersonnel.vue

10
src/views/sensitivePerception/DepartNegative.vue

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

14
src/views/sensitivePerception/PoliceNegative.vue

@ -601,6 +601,20 @@ const handleNotification = async () => {
feedback.msgSuccess("操作成功");
}
const initFormData2 = () => {
formData2.value ={
alarmTypeId: 1,
involveDepartId: '',
involveDepartName: '',
alarmContent: '',
blameName: '',
blameIdCode: '',
blameEmpNo: '',
blames: {},
level: -1
}
}
const changeDepart = (row) => {
formData2.value.involveDepartName = row.shortName;
formData2.value.level = row.level

15
src/views/sensitivePerception/RiskClue.vue

@ -272,6 +272,21 @@ const handleNotification = async () => {
await alarmNotificationCommit(data);
showNotification.value = false;
feedback.msgSuccess("操作成功");
initFormData2();
}
const initFormData2 = () => {
formData2.value = {
alarmTypeId: 1,
involveDepartId: '',
involveDepartName: '',
alarmContent: '',
blameName: '',
blameIdCode: '',
blameEmpNo: '',
blames: {},
level: -1
}
}
const changeDepart = (row) => {

15
src/views/sensitivePerception/RiskPersonnel.vue

@ -344,6 +344,21 @@ const handleNotification = async () => {
await alarmNotificationCommit(data);
showNotification.value = false;
feedback.msgSuccess("操作成功");
initFormData2();
}
const initFormData2 = () => {
formData2.value = {
alarmTypeId: 1,
involveDepartId: '',
involveDepartName: '',
alarmContent: '',
blameName: '',
blameIdCode: '',
blameEmpNo: '',
blames: {},
level: -1
}
}
const changeDepart = (row) => {

Loading…
Cancel
Save