diff --git a/src/api/modules/subaccount.js b/src/api/modules/subaccount.js
index dd36919..b68d65b 100644
--- a/src/api/modules/subaccount.js
+++ b/src/api/modules/subaccount.js
@@ -50,3 +50,12 @@ export function checkUsername (username) {
params: { username }
})
}
+
+// 重置子账号密码
+export function resetPassword (subAccountId, newPassword) {
+ return httpRequest({
+ url: httpRequest.adornUrl(`/merchant-api/subaccount/${subAccountId}/reset-password`),
+ method: 'put',
+ data: httpRequest.adornData({ newPassword })
+ })
+}
diff --git a/src/views/modules/operation-management/permission/sub-operator/index.vue b/src/views/modules/operation-management/permission/sub-operator/index.vue
index 7357a79..60e10a7 100644
--- a/src/views/modules/operation-management/permission/sub-operator/index.vue
+++ b/src/views/modules/operation-management/permission/sub-operator/index.vue
@@ -35,6 +35,12 @@
>
+
+ 重置密码
+
+
+
+
@@ -63,17 +69,35 @@
保存
+
+
+
+
+
+
+
+
+