From 1fd09f8ca369f93e936df04201d37f34d21dff28 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 28 二月 2023 19:57:33 +0800
Subject: [PATCH] update 优化 获取系统url存储重复问题

---
 ruoyi-ui/src/views/system/tenant/index.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/views/system/tenant/index.vue b/ruoyi-ui/src/views/system/tenant/index.vue
index 3aa20f4..5f137d2 100644
--- a/ruoyi-ui/src/views/system/tenant/index.vue
+++ b/ruoyi-ui/src/views/system/tenant/index.vue
@@ -264,9 +264,6 @@
         password: [
           { required: true, message: "瀵嗙爜涓嶈兘涓虹┖", trigger: "blur" },
           { min: 5, max: 20, message: '鐢ㄦ埛瀵嗙爜闀垮害蹇呴』浠嬩簬 5 鍜� 20 涔嬮棿', trigger: 'blur' }
-        ],
-        packageId: [
-          { required: true, message: "绉熸埛濂楅涓嶈兘涓虹┖", trigger: "blur" }
         ]
       }
     };
@@ -294,7 +291,7 @@
     handleStatusChange(row) {
       let text = row.status === "0" ? "鍚敤" : "鍋滅敤";
       this.$modal.confirm('纭瑕�"' + text + '""' + row.companyName + '"绉熸埛鍚楋紵').then(function() {
-        return changeTenantStatus(row.id, row.status);
+        return changeTenantStatus(row.id, row.tenantId, row.status);
       }).then(() => {
         this.$modal.msgSuccess(text + "鎴愬姛");
       }).catch(function() {
@@ -360,6 +357,7 @@
     handleUpdate(row) {
       this.loading = true;
       this.reset();
+      this.getTenantPackage();
       const id = row.id || this.ids
       getTenant(id).then(response => {
         this.loading = false;

--
Gitblit v1.9.3