-
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/views/system/apiPage/components/ApiTest.vue b/src/views/system/apiPage/components/ApiTest.vue
new file mode 100644
index 00000000..b0bb47d0
--- /dev/null
+++ b/src/views/system/apiPage/components/ApiTest.vue
@@ -0,0 +1,42 @@
+
+
+
+
{{ selectApi.summary }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/apiPage/components/ChooseApi.vue b/src/views/system/apiPage/components/ChooseApi.vue
new file mode 100644
index 00000000..24362336
--- /dev/null
+++ b/src/views/system/apiPage/components/ChooseApi.vue
@@ -0,0 +1,65 @@
+
+
+
+
+ {{ slotProps.row.url }}
+
+
+
+
保存
+
+
+
+
+
+
diff --git a/src/views/system/apiPage/components/InputCard.vue b/src/views/system/apiPage/components/InputCard.vue
new file mode 100644
index 00000000..c1742737
--- /dev/null
+++ b/src/views/system/apiPage/components/InputCard.vue
@@ -0,0 +1,35 @@
+
+
+ {{ props.value?.toLocaleUpperCase() }}
+
+
+
+
+
+
diff --git a/src/views/system/apiPage/components/LeftTree.vue b/src/views/system/apiPage/components/LeftTree.vue
index 91f414d4..cbae4bea 100644
--- a/src/views/system/apiPage/components/LeftTree.vue
+++ b/src/views/system/apiPage/components/LeftTree.vue
@@ -81,6 +81,9 @@ const combData = (dataSource: object) => {
\ No newline at end of file
diff --git a/src/views/link/AccessConfig/components/Network.vue b/src/views/link/AccessConfig/components/Network.vue
new file mode 100644
index 00000000..8bb9b232
--- /dev/null
+++ b/src/views/link/AccessConfig/components/Network.vue
@@ -0,0 +1,733 @@
+
+
+
+
+
+
+
+
+
+
+ 使用选择的消息协议,对网络组件通信数据进行编解码、认证等操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 接入方式
+
+
+ {{ provider.name }}
+
+
+ {{ provider.description }}
+
+
+
+
+ 消息协议
+
+
+ {{
+ procotolList.find(
+ (i) => i.id === procotolCurrent,
+ ).name
+ }}
+
+
+ {{ config.document }}
+
+
+
+
+
+ {{
+ data.provider ===
+ 'mqtt-server-gateway' ||
+ data.provider ===
+ 'mqtt-client-gateway'
+ ? 'topic'
+ : 'URL信息'
+ }}
+
+
+
+ 上行、下行
+ 上行
+ 下行
+
+
+
+
+
+
+
+
+
+
+
+ 下一步
+
+
+ 保存
+
+
+ 上一步
+
+
+
+
+
+
+
+
diff --git a/src/views/link/AccessConfig/components/Provider/index.vue b/src/views/link/AccessConfig/components/Provider/index.vue
new file mode 100644
index 00000000..d73dad78
--- /dev/null
+++ b/src/views/link/AccessConfig/components/Provider/index.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+ {{ item.name }}
+
+
+
+ {{ item.description || '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/link/AccessConfig/index.vue b/src/views/link/AccessConfig/index.vue
index 5ce2ef66..e1509f3b 100644
--- a/src/views/link/AccessConfig/index.vue
+++ b/src/views/link/AccessConfig/index.vue
@@ -1,11 +1,18 @@
- 新增
+ 新增
From 2d49f87ceaa6e8c41acef4f6fdec1c9a78140775 Mon Sep 17 00:00:00 2001
From: 100011797 <2642441182@qq.com>
Date: Wed, 11 Jan 2023 18:24:07 +0800
Subject: [PATCH 13/13] =?UTF-8?q?feat:=20=E8=A1=A8=E6=A0=BC=E9=80=89?=
=?UTF-8?q?=E6=8B=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components.d.ts | 6 +-
src/components/CardBox/index.vue | 93 ++++++------
src/components/Table/index.vue | 102 +++++++------
src/components/Table/old/index.module.less | 45 ------
src/components/Table/old/index.tsx | 168 ---------------------
src/views/demo/index.vue | 6 +-
src/views/demo/table/index.vue | 111 ++++++++++----
7 files changed, 193 insertions(+), 338 deletions(-)
delete mode 100644 src/components/Table/old/index.module.less
delete mode 100644 src/components/Table/old/index.tsx
diff --git a/components.d.ts b/components.d.ts
index e30d186c..2ef70390 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -7,6 +7,7 @@ export {}
declare module '@vue/runtime-core' {
export interface GlobalComponents {
+ AAlert: typeof import('ant-design-vue/es')['Alert']
ABadge: typeof import('ant-design-vue/es')['Badge']
AButton: typeof import('ant-design-vue/es')['Button']
ACard: typeof import('ant-design-vue/es')['Card']
@@ -16,13 +17,12 @@ declare module '@vue/runtime-core' {
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
ADivider: typeof import('ant-design-vue/es')['Divider']
AEmpty: typeof import('ant-design-vue/es')['Empty']
- ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
- ADivider: typeof import('ant-design-vue/es')['Divider']
- AEmpty: typeof import('ant-design-vue/es')['Empty']
AForm: typeof import('ant-design-vue/es')['Form']
AFormItem: typeof import('ant-design-vue/es')['FormItem']
AInput: typeof import('ant-design-vue/es')['Input']
+ AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
AInputPassword: typeof import('ant-design-vue/es')['InputPassword']
+ AModal: typeof import('ant-design-vue/es')['Modal']
APagination: typeof import('ant-design-vue/es')['Pagination']
APopconfirm: typeof import('ant-design-vue/es')['Popconfirm']
ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup']
diff --git a/src/components/CardBox/index.vue b/src/components/CardBox/index.vue
index fc942f65..1cc26f6e 100644
--- a/src/components/CardBox/index.vue
+++ b/src/components/CardBox/index.vue
@@ -2,17 +2,10 @@
-
+
@@ -27,7 +20,7 @@
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
@@ -46,23 +41,21 @@
-
+
-
+
+
@@ -88,12 +81,11 @@