| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 | 
							- import { BasicColumn, FormSchema } from '/@/components/Table';
 
- import { ThemeEnum } from '/@/enums/appEnum';
 
- export const columns: BasicColumn[] = [
 
-   {
 
-     title: '系统标题',
 
-     width: 150,
 
-     dataIndex: 'systemTitle',
 
-   },
 
-   {
 
-     title: '系统首页',
 
-     width: 150,
 
-     dataIndex: 'systemHome',
 
-     helpMessage: ['系统首页对应的url', '不填此项则首页为默认首页'],
 
-   },
 
-   {
 
-     title: 'logo',
 
-     dataIndex: 'logoIcon',
 
-     helpMessage: ['这是简单模式的图片列表', '只会显示一张在表格中', '但点击可预览多张图片'],
 
-     width: 140,
 
-   },
 
-   {
 
-     title: '系统风格',
 
-     dataIndex: 'defaultTheme',
 
-     width: 140,
 
-   },
 
-   {
 
-     title: '登录背景图',
 
-     dataIndex: 'loginBack',
 
-     helpMessage: ['这是简单模式的图片列表', '只会显示一张在表格中', '但点击可预览多张图片'],
 
-     width: 140,
 
-   },
 
-   {
 
-     title: '操作',
 
-     width: 150,
 
-     dataIndex: 'operation',
 
-   },
 
- ];
 
- export const formSchema: FormSchema[] = [
 
-   {
 
-     field: 'id',
 
-     label: 'id',
 
-     component: 'Input',
 
-     show: false,
 
-   },
 
-   {
 
-     field: 'systemTitle',
 
-     label: '系统标题',
 
-     required: true,
 
-     component: 'Input',
 
-   },
 
-   {
 
-     field: 'systemHome',
 
-     label: '系统首页',
 
-     component: 'Input',
 
-   },
 
-   {
 
-     field: 'logoIcon',
 
-     label: 'logo',
 
-     component: 'JImageUpload',
 
-     componentProps: {
 
-       fileMax: 1,
 
-     },
 
-   },
 
-   {
 
-     field: 'defaultTheme',
 
-     label: '系统风格',
 
-     component: 'RadioGroup',
 
-     defaultValue: 1,
 
-     required: true,
 
-     componentProps: {
 
-       options: [
 
-         {
 
-           label: '6.0',
 
-           value: 'styleOne',
 
-         },
 
-         {
 
-           label: '5.5',
 
-           value: 'styleTwo',
 
-         },
 
-         // {
 
-         //   label: '默认(开发中)',
 
-         //   value: ThemeEnum.VENT1,
 
-         // },
 
-         {
 
-           label: '明亮(开发中)',
 
-           value: ThemeEnum.LIGHT,
 
-         },
 
-         {
 
-           label: '深色(开发中)',
 
-           value: ThemeEnum.DARK,
 
-         },
 
-         {
 
-           label: '深蓝(开发中)',
 
-           value: ThemeEnum.DEEPBLUE,
 
-         },
 
-         {
 
-           label: '绿色(开发中)',
 
-           value: ThemeEnum.GREEN,
 
-         },
 
-       ],
 
-     },
 
-   },
 
-   {
 
-     field: 'loginBack',
 
-     label: '登录背景图',
 
-     component: 'JImageUpload',
 
-     componentProps: {
 
-       fileMax: 1,
 
-     },
 
-   },
 
-   {
 
-     field: 'dataType',
 
-     label: '矿井数据来源',
 
-     component: 'RadioGroup',
 
-     defaultValue: 1,
 
-     componentProps: {
 
-       options: [
 
-         {
 
-           label: '报表',
 
-           value: 'report',
 
-         },
 
-         {
 
-           label: '监测值',
 
-           value: 'monitor',
 
-         },
 
-         {
 
-           label: '两种切换',
 
-           value: 'all',
 
-         },
 
-       ],
 
-     },
 
-   },
 
-   {
 
-     field: 'voiceAlarmType',
 
-     label: '语音报警协议类型',
 
-     component: 'Input',
 
-   },
 
-   {
 
-     field: 'voiceAlarmAddress',
 
-     label: '语音报警服务地址',
 
-     component: 'Input',
 
-   },
 
-   {
 
-     field: 'airDensity',
 
-     label: '矿井空气密度',
 
-     component: 'Input',
 
-   },
 
- ];
 
 
  |