diff --git a/src/router/index.ts b/src/router/index.ts
index 7ed83b7..4190f98 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -103,7 +103,7 @@ export const constantRoutes: RouteRecordRaw[] = [
children: [
{
path: "businessCheck",
- component: () => import("@/views/business/businessCheck.vue"),
+ component: () => import("@/views/apiManage/businessCheck.vue"),
name: "businessCheck",
meta: {
title: "businessCheck",
diff --git a/src/types/components.d.ts b/src/types/components.d.ts
index 869d3c2..e940785 100644
--- a/src/types/components.d.ts
+++ b/src/types/components.d.ts
@@ -15,6 +15,8 @@ declare module '@vue/runtime-core' {
'EditPosition copy': typeof import('./../components/EditPosition copy.vue')['default']
ElButton: typeof import('element-plus/es')['ElButton']
ElCard: typeof import('element-plus/es')['ElCard']
+ ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
+ ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDropdown: typeof import('element-plus/es')['ElDropdown']
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
diff --git a/src/views/apiManage/businessCheck.vue b/src/views/apiManage/businessCheck.vue
index f4479b2..32f6325 100644
--- a/src/views/apiManage/businessCheck.vue
+++ b/src/views/apiManage/businessCheck.vue
@@ -74,6 +74,8 @@ const appId = ref("");
const hideCode = ref("");
const showCode = ref("");
const showText = ref("查看");
+const detailId = ref("");
+
const showHideCode = () => {
if (showText.value == "查看") {
@@ -120,6 +122,7 @@ const getKeyFunc = async () => {
try {
const res = await getKeyByIdApi(id);
console.log(res, "res");
+ detailId.value = res.data.id
appId.value = res.data.appId;
appKey.value = res.data.appKey;
signKey.value = res.data.signKey;
@@ -171,7 +174,7 @@ const copyKey = (text) => {
const keyStatus = ref("");
const changeStatus = async (status) => {
- const id = keyId.value;
+ const id = detailId.value;
if (status) {
ElMessageBox.confirm("此操作将作废密钥,确定?", "Warning", {
confirmButtonText: "确定",
diff --git a/src/views/apiManage/model.vue b/src/views/apiManage/model.vue
index 556f43d..a675852 100644
--- a/src/views/apiManage/model.vue
+++ b/src/views/apiManage/model.vue
@@ -1,48 +1,18 @@
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ item.title }}
+
+
+
+
取消
-
- {{ getDate(scope.row.createDate) }}
-
-
-
-
-
- 取消
- 确认关联
-
+
+
+
\ No newline at end of file