gaoshp
2024-11-04 eef1ef0be935d4a3d8fc691b2666f41796b2d4a5
src/views/master/person/main/department.vue
@@ -73,7 +73,7 @@
      },
      methods: {
         getOrganizationList() {
            this.$HTTP.get(`/api/blade-cps/organization/tree?groupType=group_organization&groupCategory=1`).then(res=> {
            this.$HTTP.get(`/api/smis/organization/tree?groupType=group_organization&groupCategory=1`).then(res=> {
               if(res.code == 200) {
                  this.departmentList = res.data;
               }
@@ -109,7 +109,7 @@
            obj.status = obj.status ? 1 : 0;
            this.$refs.dialogForm.validate(async (valid) => {
               if (valid) {
                  this.$HTTP[postMethods]("/api/blade-cps/group",obj).then(res=> {
                  this.$HTTP[postMethods]("/api/smis/group",obj).then(res=> {
                     if(res.code == 200) {
                        this.$emit('success', this.depatmentForm, this.mode);
                        this.visible = false;