From 236fdf92ecb6ff876d400f6c360efca8ab085f5c Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期四, 30 十一月 2023 09:04:38 +0800 Subject: [PATCH] 修改青羊后台部门bug --- src/views/education/department/edit.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/views/education/department/edit.vue b/src/views/education/department/edit.vue index 49d73c9..9cf1ea9 100644 --- a/src/views/education/department/edit.vue +++ b/src/views/education/department/edit.vue @@ -22,9 +22,11 @@ import { mapGetters, mapState, mapActions } from 'vuex' import subjectApi from '@/api/subject' import departmentApi from '@/api/department' +import enumItem from '@/store/modules/enumItem' export default { data () { return { + depart:[], form: { id: null, name: '', @@ -64,6 +66,7 @@ departmentApi.addData(this.form.name).then(res=>{ console.log(res) if (res.code ==1){ + _this.$message.success(res.message) _this.delCurrentView(_this).then(() => { _this.$router.push('/education/department/list') -- Gitblit v1.8.0