From c01dff9a24f98f10f247d2f2e449383f567ec338 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 18 五月 2022 14:55:48 +0800 Subject: [PATCH] 提交代码 --- src/views/basics/organization/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/basics/organization/index.vue b/src/views/basics/organization/index.vue index 946b4f6..5dc98e3 100644 --- a/src/views/basics/organization/index.vue +++ b/src/views/basics/organization/index.vue @@ -181,7 +181,7 @@ }, /** 鏌ヨ楂樻牎缁勭粐鏈烘瀯涓嬫媺鏍戠粨鏋� */ getTreeselect() { - listOrganization().then(response => { + listOrganization({schoolId: this.schoolId}).then(response => { this.organizationOptions = []; const data = {id: 0, name: '椤剁骇鑺傜偣', children: []}; data.children = this.handleTree(response.data, "id", "parentId"); @@ -276,7 +276,7 @@ }, /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { - this.$modal.confirm('鏄惁纭鍒犻櫎楂樻牎缁勭粐鏈烘瀯缂栧彿涓�"' + row.id + '"鐨勬暟鎹」锛�').then(() => { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(() => { this.loading = true; return delOrganization(row.id); }).then(() => { -- Gitblit v1.9.1