From 4ae412f93eed17830c6876760e8cd3304ea5745a Mon Sep 17 00:00:00 2001
From: fengachen <373943794@qq.com>
Date: Tue, 2 Aug 2022 15:59:20 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=BC=80=E5=8F=91=E3=80=91=E4=BC=81?=
=?UTF-8?q?=E4=B8=9A=E7=AE=A1=E7=90=86=E5=91=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/api.js | 9 +-
src/views/businessManagement/CompanyAdmin.vue | 197 ++++++++++++++++
.../modules/CompanyAdminModule.vue | 211 ++++++++++++++++++
3 files changed, 416 insertions(+), 1 deletion(-)
create mode 100644 src/views/businessManagement/CompanyAdmin.vue
create mode 100644 src/views/businessManagement/modules/CompanyAdminModule.vue
diff --git a/src/api/api.js b/src/api/api.js
index 4bdc4f9..e7f0a87 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -116,6 +116,11 @@ const getContactsByCompany = (params) => getAction('/company/payContactsManageme
const getContactsByCompanyNoLimit = (params) => getAction('/company/payContactsManagement/queryByCompanyMeeting', params)
// 通过联系人id获取联系人信息
const getContactsById = (param) => getAction('/company/payContactsManagement/queryByIdMeeting', param)
+// 企业管理员重置密码
+const companyAdminResetPassword = (param) => postAction('/company/payContactsManagement/queryByIdMeeting', param)
+
+// 企业管理员启用禁用
+const companyAdminEnable= (param) => postAction('/company/payContactsManagement/queryByIdMeeting', param)
// 加密获取key 与 iv
const getKeyIv = (param) => getAction('/sys/getEncryptedString',param)
@@ -183,7 +188,9 @@ export {
getFileInfo,
getKeyIv,
getContactsByCompanyNoLimit,
- loginIdmPlatform
+ loginIdmPlatform,
+ companyAdminResetPassword,
+ companyAdminEnable
}
diff --git a/src/views/businessManagement/CompanyAdmin.vue b/src/views/businessManagement/CompanyAdmin.vue
new file mode 100644
index 0000000..42b987a
--- /dev/null
+++ b/src/views/businessManagement/CompanyAdmin.vue
@@ -0,0 +1,197 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/businessManagement/modules/CompanyAdminModule.vue b/src/views/businessManagement/modules/CompanyAdminModule.vue
new file mode 100644
index 0000000..460a10d
--- /dev/null
+++ b/src/views/businessManagement/modules/CompanyAdminModule.vue
@@ -0,0 +1,211 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ event.target.value = event.target.value.trim()" :maxLength="50"
+ v-decorator="['username']">
+
+
+
+
+
+
+ {e.target.value = e.target.value.replace(/[^0-9]/g,'')}"
+ :maxLength="11"
+ v-decorator="['phone']">
+
+
+
+
+
+
+
+
+
+
+