| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- import { BasicColumn, FormSchema } from '/@/components/Table';
- import { ThemeEnum } from '/@/enums/appEnum';
- export const columns: BasicColumn[] = [
- {
- title: '系统标题',
- width: 150,
- dataIndex: 'systemTitle',
- },
- {
- 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: '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,
- },
- ],
- },
- },
- {
- field: 'loginBack',
- label: '登录背景图',
- component: 'JImageUpload',
- componentProps: {
- fileMax: 1,
- },
- },
- {
- field: 'voiceAlarmType',
- label: '语音报警协议类型',
- component: 'Input',
- },
- {
- field: 'voiceAlarmAddress',
- label: '语音报警服务地址',
- component: 'Input',
- },
- ];
|