diff --git a/src/views/Log/Access/index.vue b/src/views/Log/Access/index.vue
index 48679537..d8d80a1a 100644
--- a/src/views/Log/Access/index.vue
+++ b/src/views/Log/Access/index.vue
@@ -144,7 +144,7 @@ const columns = [
search: {
type: 'string',
},
- // width: 200,
+ ellipsis: true,
},
{
title: '请求方法',
diff --git a/src/views/link/Certificate/index.vue b/src/views/link/Certificate/index.vue
index e4474b35..00d723de 100644
--- a/src/views/link/Certificate/index.vue
+++ b/src/views/link/Certificate/index.vue
@@ -13,45 +13,40 @@
:params="params"
>
- 新增
+
+ 新增
+
{{ slotProps.type.text }}
-
-
+
-
-
-
-
-
-
-
+ />
+
+
@@ -62,7 +57,9 @@
import type { ActionsType } from '@/components/Table/index';
import { query, remove } from '@/api/link/certificate';
import { message } from 'ant-design-vue';
+import { useMenuStore } from 'store/menu';
+const menuStory = useMenuStore();
const tableRef = ref>({});
const router = useRouter();
const params = ref>({});
@@ -119,7 +116,7 @@ const getActions = (data: Partial>): ActionsType[] => {
}
return [
{
- key: 'eye',
+ key: 'view',
text: '查看',
tooltip: {
title: '查看',
@@ -130,7 +127,7 @@ const getActions = (data: Partial>): ActionsType[] => {
},
},
{
- key: 'edit',
+ key: 'update',
text: '编辑',
tooltip: {
title: '编辑',
@@ -157,24 +154,19 @@ const getActions = (data: Partial>): ActionsType[] => {
};
const handlAdd = () => {
- router.push({
- path: `/iot/link/certificate/detail/:id`,
- query: { view: false },
- });
+ menuStory.jumpPage(
+ `link/Certificate/Detail`,
+ { id: ':id' },
+ { view: false },
+ );
};
const handlEye = (id: string) => {
- router.push({
- path: `/iot/link/certificate/detail/${id}`,
- query: { view: true },
- });
+ menuStory.jumpPage(`link/Certificate/Detail`, { id }, { view: true });
};
const handlEdit = (id: string) => {
- router.push({
- path: `/iot/link/certificate/detail/${id}`,
- query: { view: false },
- });
+ menuStory.jumpPage(`link/Certificate/Detail`, { id }, { view: false });
};
const handlDelete = async (id: string) => {