diff --git a/src/pages/service/Detail.vue b/src/pages/service/Detail.vue
index e6ce3a49..f9397d57 100644
--- a/src/pages/service/Detail.vue
+++ b/src/pages/service/Detail.vue
@@ -69,11 +69,11 @@
-
- {{ $t('common.button.applied') }}
+
+ {{ $t('application.button.goDocument') }}
- {{ $t('common.button.buyMore') }}
+ {{ $t('application.button.buyMore') }}
@@ -92,12 +92,19 @@
-
- {{ $t('common.button.apply') }}
-
-
- {{ $t('common.button.applied') }}
-
+
+
+ {{ $t('common.button.apply') }}
+
+
+
+
+ {{ $t('application.button.goDocument') }}
+
+
+ {{ $t('application.button.buyMore') }}
+
+
@@ -133,7 +140,12 @@ import { apiOperator } from '@/operators/api/operator';
import { IApi, IApiListResponse } from '@/operators/api/models';
import { IApplicationType } from '@/operators/application/models';
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
-import { ROUTE_AUTH_LOGIN, ROUTE_CONSOLE_APPLICATION_BUY, ROUTE_CONSOLE_APPLICATION_LIST } from '@/router';
+import {
+ ROUTE_AUTH_LOGIN,
+ ROUTE_CONSOLE_APPLICATION_BUY,
+ ROUTE_CONSOLE_APPLICATION_LIST,
+ ROUTE_DOCUMENT_DETAIL
+} from '@/router';
import { ElCol, ElRow, ElButton, ElCard, ElDivider, ElSkeleton, ElSkeletonItem } from 'element-plus';
import ApiPreview from '@/components/api/Preview.vue';
import ProxyPreview from '@/components/proxy/Preview.vue';
@@ -262,6 +274,14 @@ export default defineComponent({
this.confirm.object = obj;
this.confirm.type = type;
},
+ onGoDocument(documentId: string) {
+ this.$router.push({
+ name: ROUTE_DOCUMENT_DETAIL,
+ params: {
+ id: documentId
+ }
+ });
+ },
onApply(obj: IApi | IProxy, type: IApplicationType) {
applicationOperator
.create({
diff --git a/src/plugins/font-awesome.ts b/src/plugins/font-awesome.ts
index a7772f1f..08f06570 100644
--- a/src/plugins/font-awesome.ts
+++ b/src/plugins/font-awesome.ts
@@ -9,6 +9,7 @@ import {
faCheck as faSolidCheck,
faCube as faSolidCube,
faStore as faSolidStore,
+ faQuestion as faSolidQuestion,
faArrowsRotate as faSolidArrowsRotate,
faUpRightFromSquare as faSolidUpRightFromSquare
} from '@fortawesome/free-solid-svg-icons';
@@ -20,5 +21,6 @@ library.add(faRegularUser);
library.add(faRegularIdCard);
library.add(faSolidCube);
library.add(faSolidStore);
+library.add(faSolidQuestion);
library.add(faSolidUpRightFromSquare);
library.add(faSolidArrowsRotate);