From 9a2293ea12531e49bb183a1a98e7bc3b065fffa6 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 19 七月 2024 16:09:51 +0800
Subject: [PATCH] feat:通知空数据提示
---
src/views/exam/personalRandomTemplate/edit.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/views/exam/personalRandomTemplate/edit.vue b/src/views/exam/personalRandomTemplate/edit.vue
index dc1b61b..7a0c84b 100644
--- a/src/views/exam/personalRandomTemplate/edit.vue
+++ b/src/views/exam/personalRandomTemplate/edit.vue
@@ -239,6 +239,7 @@
},
subjectIdList: [],
form: {
+ deptId: '',
aggregateSource: '100',
id: null,
departmentIds: [],
@@ -309,6 +310,11 @@
});
},
async mounted() {
+ departmentApi.getCurrentDeptId().then(res => {
+ if (res.response && res.response[0]) {
+ this.form.deptId = res.response[0];
+ }
+ });
let id = this.$route.query.id;
let _this = this;
--
Gitblit v1.8.0