龚焕茏
2024-07-16 0ebcc1fd3b16b7a43e85a9a4bde1a1cee3ae5831
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;