From 3533736aa8f7ad7170e7c4f036527f9c87223a27 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Thu, 20 Jun 2024 22:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E8=B6=85=E7=AE=A1=E4=BB=8E=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E5=88=9B=E5=BB=BA=E7=A7=9F=E6=88=B7=E6=8D=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/api/api.js | 2 ++ jshERP-web/src/views/system/modules/TenantModal.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jshERP-web/src/api/api.js b/jshERP-web/src/api/api.js index 32239730..8b831a5b 100644 --- a/jshERP-web/src/api/api.js +++ b/jshERP-web/src/api/api.js @@ -5,6 +5,7 @@ const getBuyAndSaleStatistics = (params)=>getAction("/depotHead/getBuyAndSaleSta const buyOrSalePrice = (params)=>getAction("/depotItem/buyOrSalePrice",params); //租户管理 const checkTenant = (params)=>getAction("/tenant/checkIsNameExist",params); +const addTenant = (params)=>postAction("/tenant/add",params); const editTenant = (params)=>putAction("/tenant/update",params); //角色管理 const addRole = (params)=>postAction("/role/add",params); @@ -116,6 +117,7 @@ export { getBuyAndSaleStatistics, buyOrSalePrice, checkTenant, + addTenant, editTenant, addRole, editRole, diff --git a/jshERP-web/src/views/system/modules/TenantModal.vue b/jshERP-web/src/views/system/modules/TenantModal.vue index 5581c2f8..6ff184bb 100644 --- a/jshERP-web/src/views/system/modules/TenantModal.vue +++ b/jshERP-web/src/views/system/modules/TenantModal.vue @@ -44,7 +44,7 @@