|
@@ -101,7 +101,6 @@ import dictMixins from '@/mixins/dictMixins';
|
|
|
import {notifyTemplateGetByIdAPI, notifyTemplateSaveAPI, notifyTemplateUpdateAPI} from "@/api/notifyManage";
|
|
import {notifyTemplateGetByIdAPI, notifyTemplateSaveAPI, notifyTemplateUpdateAPI} from "@/api/notifyManage";
|
|
|
import RoleSelect from '@/views/system/user/components/role-select.vue';
|
|
import RoleSelect from '@/views/system/user/components/role-select.vue';
|
|
|
import staffSelection from '@/views/enterpriseModel/dept/components/staffSelection.vue';
|
|
import staffSelection from '@/views/enterpriseModel/dept/components/staffSelection.vue';
|
|
|
-import { getlistRole } from '@/api/system/role';
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'addOrEditDialog',
|
|
name: 'addOrEditDialog',
|
|
|
props: {
|
|
props: {
|
|
@@ -208,19 +207,8 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
- this.getUsers();
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- getUsers() {
|
|
|
|
|
- /* 获取角色数据 */
|
|
|
|
|
- getlistRole()
|
|
|
|
|
- .then((res) => {
|
|
|
|
|
- this.users = res
|
|
|
|
|
- .catch((e) => {
|
|
|
|
|
- // this.$message.error(e.message);
|
|
|
|
|
- });
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
handleRecipientTypeChange() {
|
|
handleRecipientTypeChange() {
|
|
|
this.formData.recipient = [];
|
|
this.formData.recipient = [];
|
|
|
this.formData.recipientName = '';
|
|
this.formData.recipientName = '';
|