diff --git a/src/i18n/zh/application/message.ts b/src/i18n/zh/application/message.ts
index 4be5d97d..f8c39b73 100644
--- a/src/i18n/zh/application/message.ts
+++ b/src/i18n/zh/application/message.ts
@@ -10,5 +10,10 @@ export default {
readPolicy: '我已阅读并同意',
policy: '《数据技术服务使用协议》',
notAgreePolicy: '您尚未同意《数据技术服务使用协议》',
- confirmApplying: '申请服务确认'
+ confirmApplying: '申请服务确认',
+ rotateCredential: '重置密钥',
+ rotateCredentialConfirm: '你确定要重置密钥吗?重置后不可恢复',
+ idDoesNotExist: '申请不存在',
+ rotateCredentialSuccessfully: '密钥重置成功',
+ rotateCredentialFailed: '密钥重置失败,请联系处理'
};
diff --git a/src/operators/application/operator.ts b/src/operators/application/operator.ts
index fdf92878..19f5b90c 100644
--- a/src/operators/application/operator.ts
+++ b/src/operators/application/operator.ts
@@ -35,6 +35,10 @@ class ApplicationOperator {
async delete(id: string): Promise
> {
return await httpClient.delete(`/${this.key}/${id}`);
}
+
+ async rotateCredential(id: string): Promise> {
+ return await httpClient.post(`/${this.key}/${id}/rotate-credential/`);
+ }
}
export const applicationOperator = new ApplicationOperator();
diff --git a/src/pages/console/application/List.vue b/src/pages/console/application/List.vue
index 76b3cc8c..1256148e 100644
--- a/src/pages/console/application/List.vue
+++ b/src/pages/console/application/List.vue
@@ -55,6 +55,9 @@
+
+
+