From 86cb02a298ad827ea8d6869fe9dacfc0b37d68d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com>
Date: Wed, 6 Aug 2025 17:38:52 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E9=85=8D=E7=BD=AE=E7=AE=A1?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tplink/config/components/ConfigDrawer.vue | 91 +++++++++
src/views/iot/tplink/config/config.api.ts | 28 +++
src/views/iot/tplink/config/config.data.ts | 104 +++++++++++
src/views/iot/tplink/config/index.vue | 173 ++++++++++++++++++
.../iot/tq/config/components/ConfigDrawer.vue | 91 +++++++++
src/views/iot/tq/config/config.api.ts | 28 +++
src/views/iot/tq/config/config.data.ts | 90 +++++++++
src/views/iot/tq/config/index.vue | 158 ++++++++++++++++
.../config/components/ConfigDrawer.vue | 91 +++++++++
src/views/iot/yiweilian/config/config.api.ts | 28 +++
src/views/iot/yiweilian/config/config.data.ts | 42 +++++
src/views/iot/yiweilian/config/index.vue | 172 +++++++++++++++++
.../{ => humid}/components/AlarmList.vue | 0
.../components/ApiLogAlarmList.vue | 0
.../components/ApiLogAlarmModal.vue | 0
.../{ => humid}/components/ApiLogList.vue | 0
.../components/DeviceInfoDrawer.vue | 0
.../iot/yiweilian/{ => humid}/humid.api.ts | 0
.../iot/yiweilian/{ => humid}/humid.data.ts | 0
src/views/iot/yiweilian/{ => humid}/index.vue | 0
20 files changed, 1096 insertions(+)
create mode 100644 src/views/iot/tplink/config/components/ConfigDrawer.vue
create mode 100644 src/views/iot/tplink/config/config.api.ts
create mode 100644 src/views/iot/tplink/config/config.data.ts
create mode 100644 src/views/iot/tplink/config/index.vue
create mode 100644 src/views/iot/tq/config/components/ConfigDrawer.vue
create mode 100644 src/views/iot/tq/config/config.api.ts
create mode 100644 src/views/iot/tq/config/config.data.ts
create mode 100644 src/views/iot/tq/config/index.vue
create mode 100644 src/views/iot/yiweilian/config/components/ConfigDrawer.vue
create mode 100644 src/views/iot/yiweilian/config/config.api.ts
create mode 100644 src/views/iot/yiweilian/config/config.data.ts
create mode 100644 src/views/iot/yiweilian/config/index.vue
rename src/views/iot/yiweilian/{ => humid}/components/AlarmList.vue (100%)
rename src/views/iot/yiweilian/{ => humid}/components/ApiLogAlarmList.vue (100%)
rename src/views/iot/yiweilian/{ => humid}/components/ApiLogAlarmModal.vue (100%)
rename src/views/iot/yiweilian/{ => humid}/components/ApiLogList.vue (100%)
rename src/views/iot/yiweilian/{ => humid}/components/DeviceInfoDrawer.vue (100%)
rename src/views/iot/yiweilian/{ => humid}/humid.api.ts (100%)
rename src/views/iot/yiweilian/{ => humid}/humid.data.ts (100%)
rename src/views/iot/yiweilian/{ => humid}/index.vue (100%)
diff --git a/src/views/iot/tplink/config/components/ConfigDrawer.vue b/src/views/iot/tplink/config/components/ConfigDrawer.vue
new file mode 100644
index 0000000..fd05c87
--- /dev/null
+++ b/src/views/iot/tplink/config/components/ConfigDrawer.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/iot/tplink/config/config.api.ts b/src/views/iot/tplink/config/config.api.ts
new file mode 100644
index 0000000..67dcc2c
--- /dev/null
+++ b/src/views/iot/tplink/config/config.api.ts
@@ -0,0 +1,28 @@
+import { defHttp } from '/@/utils/http/axios';
+
+enum Api {
+
+ list = '/iot/tplink/config/list',
+ add = '/iot/tplink/config/add',
+ edit = '/iot/tplink/config/edit',
+
+}
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+/**
+ * 更新
+ * @param params
+ */
+export const add = (params) => {
+ return defHttp.post({ url: Api.add, params });
+}
+/**
+ * 更新
+ * @param params
+ */
+export const edit = (params) => {
+ return defHttp.post({ url: Api.edit, params });
+}
diff --git a/src/views/iot/tplink/config/config.data.ts b/src/views/iot/tplink/config/config.data.ts
new file mode 100644
index 0000000..890442b
--- /dev/null
+++ b/src/views/iot/tplink/config/config.data.ts
@@ -0,0 +1,104 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '图门地址',
+ align: "center",
+ dataIndex: 'tumsUrl',
+ width: 340,
+ },
+ {
+ title: '用户',
+ align: "center",
+ dataIndex: 'tumsUsername'
+ },
+ {
+ title: '密码',
+ align: "center",
+ dataIndex: 'tumsPassword'
+ },
+ {
+ title: 'FTP地址',
+ align: "center",
+ dataIndex: 'ftpIp'
+ },
+ {
+ title: 'FTP端口',
+ align: "center",
+ dataIndex: 'ftpPort'
+ },
+ {
+ title: 'FTP用户',
+ align: "center",
+ dataIndex: 'ftpUsername'
+ },
+ {
+ title: 'FTP密码',
+ align: "center",
+ dataIndex: 'ftpPassword'
+ },
+ {
+ title: 'FTP上传路径',
+ align: "center",
+ dataIndex: 'ftpUploadpath'
+ },
+ {
+ title: '更新时间',
+ align: "center",
+ dataIndex: 'updateTime'
+ },
+];
+
+export const formSchema: FormSchema[] = [
+ {
+ label: '',
+ field: 'id',
+ component: 'Input',
+ show: false,
+ },
+ {
+ label: '图门地址',
+ field: 'tumsUrl',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: '用户',
+ field: 'tumsUsername',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: '密码',
+ field: 'tumsPassword',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: 'FTP地址',
+ field: 'ftpIp',
+ component: 'Input',
+ },
+ {
+ label: 'FTP端口',
+ field: 'ftpPort',
+ component: 'Input',
+ },
+ {
+ label: 'FTP用户',
+ field: 'ftpUsername',
+ component: 'Input',
+ },
+ {
+ label: 'FTP密码',
+ field: 'ftpPassword',
+ component: 'Input',
+ },
+ {
+ label: 'FTP上传路径',
+ field: 'ftpUploadpath',
+ component: 'Input',
+ }
+];
diff --git a/src/views/iot/tplink/config/index.vue b/src/views/iot/tplink/config/index.vue
new file mode 100644
index 0000000..a54476e
--- /dev/null
+++ b/src/views/iot/tplink/config/index.vue
@@ -0,0 +1,173 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/iot/tq/config/components/ConfigDrawer.vue b/src/views/iot/tq/config/components/ConfigDrawer.vue
new file mode 100644
index 0000000..fd05c87
--- /dev/null
+++ b/src/views/iot/tq/config/components/ConfigDrawer.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/iot/tq/config/config.api.ts b/src/views/iot/tq/config/config.api.ts
new file mode 100644
index 0000000..0f0894b
--- /dev/null
+++ b/src/views/iot/tq/config/config.api.ts
@@ -0,0 +1,28 @@
+import { defHttp } from '/@/utils/http/axios';
+
+enum Api {
+
+ list = '/iot/tq/config/list',
+ add = '/iot/tq/config/add',
+ edit = '/iot/tq/config/edit',
+
+}
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+/**
+ * 更新
+ * @param params
+ */
+export const add = (params) => {
+ return defHttp.post({ url: Api.add, params });
+}
+/**
+ * 更新
+ * @param params
+ */
+export const edit = (params) => {
+ return defHttp.post({ url: Api.edit, params });
+}
diff --git a/src/views/iot/tq/config/config.data.ts b/src/views/iot/tq/config/config.data.ts
new file mode 100644
index 0000000..f34f13b
--- /dev/null
+++ b/src/views/iot/tq/config/config.data.ts
@@ -0,0 +1,90 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '机构编码',
+ align: "center",
+ dataIndex: 'orgCode',
+ width: 80,
+ },
+ {
+ title: '机构名称',
+ align: "center",
+ dataIndex: 'orgCode_dictText',
+ width: 240,
+ },
+ {
+ title: '厂家云地址',
+ align: "center",
+ dataIndex: 'requestUrl',
+ },
+ {
+ title: '授权码',
+ align: "center",
+ dataIndex: 'authCode',
+ width: 260,
+ },
+ {
+ title: '随机字符串',
+ align: "center",
+ dataIndex: 'randomCode',
+ width: 260,
+ },
+ {
+ title: '通知地址',
+ align: "center",
+ dataIndex: 'notifyUrl'
+ },
+ {
+ title: '更新时间',
+ align: "center",
+ dataIndex: 'updateTime',
+ width: 160,
+ },
+];
+
+export const formSchema: FormSchema[] = [
+ {
+ label: '',
+ field: 'id',
+ component: 'Input',
+ show: false,
+ },
+ {
+ label: '机构',
+ field: 'orgCode',
+ component: 'JSelectDept',
+ componentProps: {
+ rowKey: 'orgCode',
+ labelKey: 'departName',
+ selectType: true,
+ },
+ required: true
+ },
+ {
+ label: '厂家云地址',
+ field: 'requestUrl',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: '授权码',
+ field: 'authCode',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: '随机字符串',
+ field: 'randomCode',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: '通知地址',
+ field: 'notifyUrl',
+ component: 'Input',
+ },
+
+];
diff --git a/src/views/iot/tq/config/index.vue b/src/views/iot/tq/config/index.vue
new file mode 100644
index 0000000..5e4d0b2
--- /dev/null
+++ b/src/views/iot/tq/config/index.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/iot/yiweilian/config/components/ConfigDrawer.vue b/src/views/iot/yiweilian/config/components/ConfigDrawer.vue
new file mode 100644
index 0000000..fd05c87
--- /dev/null
+++ b/src/views/iot/yiweilian/config/components/ConfigDrawer.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/iot/yiweilian/config/config.api.ts b/src/views/iot/yiweilian/config/config.api.ts
new file mode 100644
index 0000000..1177aee
--- /dev/null
+++ b/src/views/iot/yiweilian/config/config.api.ts
@@ -0,0 +1,28 @@
+import { defHttp } from '/@/utils/http/axios';
+
+enum Api {
+
+ list = '/iot/yiweilian/config/list',
+ add = '/iot/yiweilian/config/add',
+ edit = '/iot/yiweilian/config/edit',
+
+}
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+/**
+ * 更新
+ * @param params
+ */
+export const add = (params) => {
+ return defHttp.post({ url: Api.add, params });
+}
+/**
+ * 更新
+ * @param params
+ */
+export const edit = (params) => {
+ return defHttp.post({ url: Api.edit, params });
+}
diff --git a/src/views/iot/yiweilian/config/config.data.ts b/src/views/iot/yiweilian/config/config.data.ts
new file mode 100644
index 0000000..39f59ee
--- /dev/null
+++ b/src/views/iot/yiweilian/config/config.data.ts
@@ -0,0 +1,42 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '厂家云地址',
+ align: "center",
+ dataIndex: 'requestUrl',
+ },
+ {
+ title: '用户标识',
+ align: "center",
+ dataIndex: 'clientId'
+ },
+ {
+ title: '更新时间',
+ align: "center",
+ dataIndex: 'updateTime'
+ },
+];
+
+export const formSchema: FormSchema[] = [
+ {
+ label: '',
+ field: 'id',
+ component: 'Input',
+ show: false,
+ },
+ {
+ label: '厂家云地址',
+ field: 'requestUrl',
+ component: 'Input',
+ required: true
+ },
+ {
+ label: '用户标识',
+ field: 'clientId',
+ component: 'Input',
+ required: true
+ },
+];
diff --git a/src/views/iot/yiweilian/config/index.vue b/src/views/iot/yiweilian/config/index.vue
new file mode 100644
index 0000000..3eb8cc7
--- /dev/null
+++ b/src/views/iot/yiweilian/config/index.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/iot/yiweilian/components/AlarmList.vue b/src/views/iot/yiweilian/humid/components/AlarmList.vue
similarity index 100%
rename from src/views/iot/yiweilian/components/AlarmList.vue
rename to src/views/iot/yiweilian/humid/components/AlarmList.vue
diff --git a/src/views/iot/yiweilian/components/ApiLogAlarmList.vue b/src/views/iot/yiweilian/humid/components/ApiLogAlarmList.vue
similarity index 100%
rename from src/views/iot/yiweilian/components/ApiLogAlarmList.vue
rename to src/views/iot/yiweilian/humid/components/ApiLogAlarmList.vue
diff --git a/src/views/iot/yiweilian/components/ApiLogAlarmModal.vue b/src/views/iot/yiweilian/humid/components/ApiLogAlarmModal.vue
similarity index 100%
rename from src/views/iot/yiweilian/components/ApiLogAlarmModal.vue
rename to src/views/iot/yiweilian/humid/components/ApiLogAlarmModal.vue
diff --git a/src/views/iot/yiweilian/components/ApiLogList.vue b/src/views/iot/yiweilian/humid/components/ApiLogList.vue
similarity index 100%
rename from src/views/iot/yiweilian/components/ApiLogList.vue
rename to src/views/iot/yiweilian/humid/components/ApiLogList.vue
diff --git a/src/views/iot/yiweilian/components/DeviceInfoDrawer.vue b/src/views/iot/yiweilian/humid/components/DeviceInfoDrawer.vue
similarity index 100%
rename from src/views/iot/yiweilian/components/DeviceInfoDrawer.vue
rename to src/views/iot/yiweilian/humid/components/DeviceInfoDrawer.vue
diff --git a/src/views/iot/yiweilian/humid.api.ts b/src/views/iot/yiweilian/humid/humid.api.ts
similarity index 100%
rename from src/views/iot/yiweilian/humid.api.ts
rename to src/views/iot/yiweilian/humid/humid.api.ts
diff --git a/src/views/iot/yiweilian/humid.data.ts b/src/views/iot/yiweilian/humid/humid.data.ts
similarity index 100%
rename from src/views/iot/yiweilian/humid.data.ts
rename to src/views/iot/yiweilian/humid/humid.data.ts
diff --git a/src/views/iot/yiweilian/index.vue b/src/views/iot/yiweilian/humid/index.vue
similarity index 100%
rename from src/views/iot/yiweilian/index.vue
rename to src/views/iot/yiweilian/humid/index.vue