From 0bfbf391e2a50dd229a869190d7bc653003eec6e Mon Sep 17 00:00:00 2001 From: lushihan <2813036942@qq.com> Date: Thu, 6 Jun 2024 16:49:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=81=AF=E5=85=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/main.ts | 6 +- hx-ai-intelligent/src/router/equipmentControl.ts | 4 +- .../view/equipmentControl/lightingManage/index.vue | 1 + .../equipmentControl/lightingManage/indexs.vue | 586 +++++++++++++++++++++ 4 files changed, 592 insertions(+), 5 deletions(-) create mode 100644 hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue diff --git a/hx-ai-intelligent/src/main.ts b/hx-ai-intelligent/src/main.ts index 4603c03..5eea1a2 100644 --- a/hx-ai-intelligent/src/main.ts +++ b/hx-ai-intelligent/src/main.ts @@ -5,8 +5,8 @@ import { apiModule } from '/@/api'; import { appConfig } from '/@/config'; import './theme/global.less'; import { LeftOutlined } from '@ant-design/icons-vue'; -import ElementPlus from 'element-plus' -import 'element-plus/dist/index.css' +// import ElementPlus from 'element-plus' +// import 'element-plus/dist/index.css' const app = createApp(App); app.component('LeftOutlined', LeftOutlined); saasInit({ @@ -14,5 +14,5 @@ saasInit({ apiModule, appConfig, }); -app.use(ElementPlus) +// app.use(ElementPlus) app.mount('#app'); diff --git a/hx-ai-intelligent/src/router/equipmentControl.ts b/hx-ai-intelligent/src/router/equipmentControl.ts index 5aaa6b6..9bedcc5 100644 --- a/hx-ai-intelligent/src/router/equipmentControl.ts +++ b/hx-ai-intelligent/src/router/equipmentControl.ts @@ -15,9 +15,9 @@ const equipmentControl = { { path: 'index', name: 'lightManageIndex', - component: () => import('/@/view/equipmentControl/lightingManage/index.vue'), + component: () => import('/@/view/equipmentControl/lightingManage/indexs.vue'), meta: { - title: '部门/权限', + title: '智能照明', keepAlive: true, // backApi: [], }, diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.vue b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.vue index a0552bf..5698958 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/index.vue @@ -3,6 +3,7 @@ open + diff --git a/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue new file mode 100644 index 0000000..da5f92d --- /dev/null +++ b/hx-ai-intelligent/src/view/equipmentControl/lightingManage/indexs.vue @@ -0,0 +1,586 @@ + + Open + + + + + + + 照明区域 + 计划启用 + + + + + {{ button.label }} + + + + + + 照明回路 + 计划启用 + + {{ selectionModeText }} + + 全选 + + + + + {{ button2.label }} + + + + + + 控制模式 + + + + + {{ button3.label }} + + + + + + 控制场景 + + + + + {{ button4.label }} + + + + + + 灯具参数 + + + 开启数量 + 亮度 + 色温 + 8/10 + 100lux + 4200k + + + 刷新 + 执行 + + + + + + + + + {{ text || ' ' }} + + + + 重启 + 删除 + + + + + 添加 + + + + + + + + {{ text || ' ' }} + + + + + + 刷新 + + + + + + + + + \ No newline at end of file
开启数量
亮度
色温
8/10
100lux
4200k