| | |
| | | required: false, |
| | | readonly: false, |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | readonly: false, |
| | | forbid: type !== 'main', |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | readonly: false, |
| | | forbid: type !== 'main', |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | required: false, |
| | | readonly: false, |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | required: false, |
| | | readonly: false, |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | required: false, |
| | | readonly: false, |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | required: false, |
| | | readonly: false, |
| | | options: [ |
| | | { value: 'true', text: Formdict['header.form.true'] }, |
| | | { value: 'false', text: Formdict['header.form.false'] } |
| | | { value: 'true', text: Formdict['model.true'] }, |
| | | { value: 'false', text: Formdict['model.false'] } |
| | | ] |
| | | } |
| | | ] |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'MenuName', |
| | | label: Formdict['header.menu.menuName'], |
| | | label: Formdict['model.menu'] + Formdict['model.name'], |
| | | initVal: menu.MenuName, |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'MenuNo', |
| | | label: Formdict['header.menu.menuNo'], |
| | | label: Formdict['model.menu'] + Formdict['model.param'], |
| | | initVal: menu.MenuNo, |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'opentype', |
| | | label: Formdict['header.menu.openType'], |
| | | label: Formdict['model.openway'], |
| | | initVal: menu.PageParam.OpenType, |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'MenuNo', |
| | | label: Formdict['header.menu.menuNo'], |
| | | label: Formdict['model.menu'] + Formdict['model.param'], |
| | | initVal: config.tabNo, |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'label', |
| | | label: Formdict['model.form.name'], |
| | | label: Formdict['model.name'], |
| | | initVal: card.label || '', |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'type', |
| | | label: Formdict['header.form.type'], |
| | | label: Formdict['model.form.type'], |
| | | initVal: card.type, |
| | | required: true, |
| | | options: [{ |
| | |
| | | initVal: card.setAll || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | initVal: card.required || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | tooltip: '数据查询时,类型字段是否作为参数传递,类型字段对应值为 {"日": "day", "周": "week", "月": "month", "季": "quarter", "年": "year", "自定义": "customized"}。', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | } |
| | | ] |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'close', |
| | | text: Formdict['header.close'] |
| | | text: Formdict['model.close'] |
| | | }, { |
| | | value: 'notclose', |
| | | text: Formdict['header.notclose'] |
| | | text: Formdict['model.notclose'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'close', |
| | | text: Formdict['header.close'] |
| | | text: Formdict['model.close'] |
| | | }, { |
| | | value: 'notclose', |
| | | text: Formdict['header.notclose'] |
| | | text: Formdict['model.notclose'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'icon', |
| | | label: Formdict['model.form.icon'], |
| | | label: Formdict['model.icon'], |
| | | initVal: card.icon, |
| | | required: false, |
| | | options: [] |
| | |
| | | required: false, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'label', |
| | | label: Formdict['model.form.name'], |
| | | label: Formdict['model.name'], |
| | | initVal: card.label, |
| | | required: true |
| | | }, |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'type', |
| | | label: Formdict['header.form.type'], |
| | | label: Formdict['model.form.type'], |
| | | initVal: card.type, |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'nameField', |
| | | label: Formdict['model.form.name'] + Formdict['model.form.field'], |
| | | label: Formdict['model.name'] + Formdict['model.form.field'], |
| | | initVal: card.nameField, |
| | | required: false, |
| | | readonly: false |
| | |
| | | min: 1, |
| | | max: 1000, |
| | | decimal: 0, |
| | | label: Formdict['header.form.columnWidth'], |
| | | label: Formdict['model.form.columnWidth'], |
| | | initVal: card.Width, |
| | | required: true |
| | | }, |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | required: false, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | forbid: !['line', 'bar'].includes(card.chartType), |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'label', |
| | | label: Formdict['model.form.name'], |
| | | label: Formdict['model.name'], |
| | | initVal: card.label, |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'type', |
| | | label: Formdict['header.form.type'], |
| | | label: Formdict['model.form.type'], |
| | | initVal: card.type, |
| | | required: true, |
| | | options: [{ |
| | |
| | | initVal: card.setAll || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | initVal: card.readonly || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | initVal: card.required || 'true', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'hidden', |
| | | label: Formdict['model.required'], |
| | | label: Formdict['model.hidden'], |
| | | initVal: card.hidden || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | initVal: card.readin || 'true', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | |
| | |
| | | initVal: card.encryption || 'false', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | tooltip: '提交时,是否截取首尾的空白字符。', |
| | | options: [{ |
| | | value: 'true', |
| | | text: Formdict['header.form.true'] |
| | | text: Formdict['model.true'] |
| | | }, { |
| | | value: 'false', |
| | | text: Formdict['header.form.false'] |
| | | text: Formdict['model.false'] |
| | | }] |
| | | }, |
| | | { |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'icon', |
| | | label: Formdict['header.menu.icon'], |
| | | label: Formdict['model.icon'], |
| | | initVal: card.icon || '', |
| | | required: false, |
| | | options: [{ |