Browse Source

Merge remote-tracking branch 'origin/master'

main
parent
commit
8be2d5f284
  1. 4
      src/components/negative/verify.vue
  2. 10
      src/views/sensitivePerception/DepartNegative.vue
  3. 14
      src/views/sensitivePerception/PoliceNegative.vue
  4. 15
      src/views/sensitivePerception/RiskClue.vue
  5. 15
      src/views/sensitivePerception/RiskPersonnel.vue

4
src/components/negative/verify.vue

@ -315,7 +315,7 @@
>
<el-form-item
:label="`问题类型${j + 1}`"
:prop="`blames.${index}.problems.${j}.threeLevelCode`"
:prop="blames[index].problems[j].threeLevelCode"
:rules="{
required: true,
message: '请选择问题类型',
@ -980,7 +980,7 @@
>
<el-form-item
:label="`问题类型${j + 1}`"
:prop="`blames.${index}.problems.${j}.threeLevelCode`"
:prop="blames[index].problems[j].threeLevelCode"
:rules="{
required: true,
message: '请选择问题类型',

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