Browse Source

Merge branch 'master' of http://182.92.126.35:3000/hrx/mky-vent-base

hongrunxia 8 tháng trước cách đây
mục cha
commit
6a5859972a

+ 1 - 0
src/views/vent/deviceManager/configurationTable/configuration.data.ts

@@ -56,6 +56,7 @@ export const formSchema: FormSchema[] = [
     label: '',
     field: 'id',
     component: 'InputNumber',
+    show: false,
   },
   {
     label: '设备类型',

+ 13 - 0
src/views/vent/home/configurable/README.md

@@ -0,0 +1,13 @@
+可配置首页文档
+
+1. 目的
+
+这个首页是可以通过前端进行配置的首页,首页各个模块需要展示的字段可以通过表格进行配置。例如:左上角的主通风机模块默认展示风筒长度、风筒直径、风筒位置这三个字段,那么你可以通过配置表调整为其他的字段。
+
+2. 使用
+
+首页组件 ./index.vue 配置表格 vent/deviceManager/configurationTable/index.vue
+
+将上述两个组件配置到菜单中之后:
+
+点开配置表格,对各个设备进行配置,配置好的点表/字段将用于在首页展示。如有多个需要配置的首页。首页各个模块都有其对应的设备,例如:左上角对应主通风机

+ 1 - 1
src/views/vent/home/configurable/components/Ventilate.vue

@@ -22,7 +22,7 @@
   // import mapComponent from './components/3Dmap/index.vue';
 
   // 设备类别,是个枚举 TODO: 将手动换为自动获取类别
-  const devicekind = 'fanlocal';
+  const devicekind = 'fanmain';
 
   const configs = ref<{ prop: string; label: string }[]>([]);
   function fetchConfig() {

+ 1 - 1
src/views/vent/home/configurable/components/VentilateAnalysis.vue

@@ -38,7 +38,7 @@
   // import mapComponent from './components/3Dmap/index.vue';
 
   // 设备类别,是个枚举 TODO: 将手动换为自动获取类别
-  const devicekind = 'fanlocal';
+  const devicekind = 'windrect';
 
   const configs = ref<{ prop: string; label: string }[]>([]);
   function fetchConfig() {