From 045569cb739726b7016695b41ac842b0ff218004 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 8 Apr 2020 18:48:56 +0800 Subject: [PATCH] loading --- .../settings/system/SystemWorkspace.vue | 47 ++++++++++++------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/frontend/src/business/components/settings/system/SystemWorkspace.vue b/frontend/src/business/components/settings/system/SystemWorkspace.vue index 2d5f1321ee..338724fa47 100644 --- a/frontend/src/business/components/settings/system/SystemWorkspace.vue +++ b/frontend/src/business/components/settings/system/SystemWorkspace.vue @@ -24,7 +24,8 @@ @@ -63,7 +64,8 @@ - + - + @@ -160,10 +164,13 @@ - - + + - + - + - + @@ -208,7 +217,8 @@ - + @@ -254,7 +265,7 @@ if (this.form.id) { saveType = 'update' } - this.$post("/workspace/" + saveType, this.form, () => { + this.result = this.$post("/workspace/" + saveType, this.form, () => { this.createVisible = false; this.list(); Message.success(this.$t('commons.save_success')); @@ -274,7 +285,7 @@ this.$set(this.memberForm, "roles", response.data); }) }, - cellClick(row){ + cellClick(row) { // 保存当前点击的组织信息到currentRow this.currentWorkspaceRow = row; this.memberVisible = true; @@ -308,7 +319,7 @@ updateWorkspace(updateForm) { this.$refs[updateForm].validate(valide => { if (valide) { - this.result = this.$post("/workspace/special/update", this.form,() => { + this.result = this.$post("/workspace/special/update", this.form, () => { this.$message({ type: 'success', message: this.$t('commons.modify_success') @@ -388,7 +399,7 @@ roleIds: this.memberForm.roleIds, workspaceId: this.currentWorkspaceRow.id }; - this.result = this.$post("user/special/ws/member/add", param,() => { + this.result = this.$post("user/special/ws/member/add", param, () => { this.cellClick(this.currentWorkspaceRow); this.addMemberVisible = false; }) @@ -436,7 +447,7 @@ roleIds: this.memberForm.roleIds, workspaceId: this.currentWorkspaceRow.id } - this.result = this.$post("/workspace/member/update", param,() => { + this.result = this.$post("/workspace/member/update", param, () => { this.$message({ type: 'success', message: this.$t('commons.modify_success') @@ -514,8 +525,8 @@ } .member-size { - text-decoration:underline; - cursor:pointer; + text-decoration: underline; + cursor: pointer; } .ws-member-name {