| 
					
				 | 
			
			
				@@ -1,3 +1,4 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { ModuleBGOptions, ModuleChartTypeOptions, ModulePositionOptions, ModuleSizeOptions } from './options'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { BasicColumn } from '/@/components/Table'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { FormSchema } from '/@/components/Table'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import _ from 'lodash-es'; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12,32 +13,32 @@ export const columns: BasicColumn[] = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     dataIndex: 'deviceType', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    title: '主要内容配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    dataIndex: 'moduleData_list', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // format: (ctx: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     if (!ctx) return '/'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     return _.map(ctx.list, (v, k) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       return `点位:${k};名称:${v}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     }).join('\n'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   } catch (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     return '渲染错误'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    title: '图表内容配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    dataIndex: 'moduleData_chart', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   format: (ctx: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       if (!ctx) return '/'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       return _.map(ctx.chart, (v, k) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //         return `点位:${k};名称:${v}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       }).join('<br>'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     } catch (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //       return '渲染错误'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块标题', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'moduleName', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块主体配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'moduleData.main', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块图表配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'moduleData.chart', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块尺寸', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'showStyle.size', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块背景', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'showStyle.background', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块定位', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'showStyle.position', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    title: '模块图表类型', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    dataIndex: 'showStyle.charttype', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -71,6 +72,11 @@ export const formSchema: FormSchema[] = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     component: 'InputNumber', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     show: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块标题', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    field: 'moduleName', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    component: 'Input', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     label: '设备类型', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     field: 'deviceType', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -92,8 +98,8 @@ export const formSchema: FormSchema[] = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    label: '主要内容配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    field: 'moduleData.list', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块主体配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    field: 'moduleData.main', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     component: 'JAddInput', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     componentProps: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       min: 0, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -101,7 +107,7 @@ export const formSchema: FormSchema[] = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    label: '图表内容配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块图表配置', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     field: 'moduleData.chart', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     component: 'JAddInput', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     componentProps: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,4 +115,36 @@ export const formSchema: FormSchema[] = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       placeholders: ['请输入点位', '请输入名称'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块尺寸', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    field: 'showStyle.size', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    component: 'Select', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    componentProps: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      options: ModuleSizeOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块背景', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    field: 'showStyle.background', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    component: 'Select', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    componentProps: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      options: ModuleBGOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块定位', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    field: 'showStyle.position', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    component: 'Select', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    componentProps: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      options: ModulePositionOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    label: '模块图表类型', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    field: 'showStyle.charttype', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    component: 'Select', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    componentProps: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      options: ModuleChartTypeOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ]; 
			 |