| | |
| | | 'model.menu.basemsg': 'Please complete the basic information !', |
| | | 'header.menu.basedata': 'The basic information', |
| | | 'header.menu.table.add': 'Add tables', |
| | | 'header.menu.table.placeholder': 'Please select a table', |
| | | 'header.menu.config.placeholder': 'Configuration has been modified, do you want to save configuration information ?', |
| | | 'header.menu.config.notsave': 'The menu has not been saved, please save the menu configuration first!', |
| | | 'header.menu.config.update': 'Menu configuration has been modified, please save!', |
| | | 'model.menu.template.empty': 'Menu template is missing, please select template again!', |
| | | 'model.menu.presave': 'Menu order has been adjusted, Please save!', |
| | | 'header.menu.form': 'The form', |
| | | 'header.menu.form.add': 'Add form', |
| | | 'header.menu.form.configurable': 'Configuration of forms', |
| | | 'header.menu.group.add': 'Add a group', |
| | | 'header.menu.group.manage': 'Group management', |
| | | 'header.menu.search': 'Search', |
| | | 'header.menu.search.add': 'Add searches', |
| | | 'header.menu.action': 'Button', |
| | | 'header.menu.action.configurable': 'Button Configurable', |
| | | 'header.menu.tab.configurable': 'Tab Configurable', |
| | | 'header.menu.column': 'Column', |
| | | 'model.menu.column.add': 'Add columns', |
| | | 'model.menu.field.add': 'Add fields', |
| | | 'header.menu.page.configurable': 'Configuration Page', |
| | | 'header.menu.viewName': 'The name of the page', |
| | | 'header.menu.tabName': 'Tag name', |
| | | 'header.menu.Remark': 'Note', |
| | | 'header.menu.func.create': 'Create stored procedures', |
| | | 'header.menu.interface.create': 'Create the interface', |
| | | 'header.menu.tab': 'Tab', |
| | | 'model.menu.tab.subtable': 'Child table', |
| | | 'header.menu.datasource': 'The data source', |
| | | 'header.menu.maintable': 'The main table', |
| | | 'header.menu.query': 'The query', |
| | | 'model.form.tabType': 'The tag type', |
| | | 'header.form.search.placeholder': 'Please add search criteria', |
| | | 'header.form.modal.placeholder': 'Please add the form', |
| | | 'header.form.action.placeholder': 'Please add buttons', |
| | | 'header.form.column.placeholder': 'Please add columns', |
| | | 'model.form.width': 'Width', |
| | | 'header.form.title': 'Title', |
| | | 'model.form.field': 'Field', |
| | | 'header.form.innerFunc': 'Internal func', |
| | | 'header.form.outerFunc': 'External function', |
| | | 'header.form.callbackFunc': 'Callback function', |
| | | 'header.form.position': 'Position', |
| | | 'model.form.afterSuccess': 'Success', |
| | | 'model.form.afterError': 'Failure', |
| | | 'header.form.messageTip': 'Message', |
| | | 'header.form.refresh': 'Refresh', |
| | | 'header.form.refresh.never': 'Don\'t refresh', |
| | | 'header.form.refresh.grid': 'Refresh the table', |
| | | 'header.form.refresh.maingrid': 'Refresh the main table', |
| | | 'header.form.refresh.equaltab': 'Refresh sibling tag', |
| | | 'header.form.refresh.subgrid': 'Refresh the child table', |
| | | 'header.form.popClose': 'Label closing', |
| | | 'header.form.toolbar': 'The toolbar', |
| | | 'header.form.grid': 'Table', |
| | |
| | | 'model.form.picture': 'Picture', |
| | | 'model.form.number': 'Number', |
| | | 'header.form.letter': '字母', |
| | | 'header.form.letter&number': '字母+数字', |
| | | 'model.form.colspan': 'The columns of the merger', |
| | | 'model.form.select': 'Select', |
| | | 'model.form.multiselect': 'Multi-select', |
| | |
| | | 'model.form.alignRight': 'The Right', |
| | | 'model.form.alignCenter': 'The center', |
| | | 'model.form.columnWidth': 'Column width', |
| | | 'header.form.setAll': '设置全部项', |
| | | 'header.form.resourceType': '选项来源', |
| | | 'header.form.custom': '自定义', |
| | | 'header.form.datasource': '数据源', |
| | | 'model.form.tablename': 'Table name', |
| | |
| | | 'header.form.action.insert': '添加', |
| | | 'header.form.action.update': '修改', |
| | | 'header.form.action.audit': '审核', |
| | | 'header.form.action.insertOrUpdate': '添加或修改', |
| | | 'header.form.action.LogicDelete': '逻辑删除', |
| | | 'header.form.action.delete': '物理删除', |
| | | 'header.form.valueField': '值·字段', |
| | | 'header.form.match': '匹配模式', |
| | | 'header.form.matchVal': '匹配值', |
| | | 'header.form.asc': '正序', |
| | | 'header.form.desc': '倒序', |
| | | 'header.form.linkField': '关联字段', |
| | | 'header.form.dropdown': '下拉菜单', |
| | | 'header.form.button': '按钮', |
| | | 'model.form.style': '风格', |
| | |
| | | 'model.menu.basemsg': '请完善菜单基本信息!', |
| | | 'header.menu.basedata': '基本信息', |
| | | 'header.menu.table.add': '添加表名', |
| | | 'header.menu.table.placeholder': '请选择表名', |
| | | 'header.menu.config.placeholder': '配置已修改,是否保存配置信息?', |
| | | 'header.menu.config.notsave': '菜单尚未保存,请先保存菜单配置!', |
| | | 'header.menu.config.update': '菜单配置已修改,请保存!', |
| | | 'model.menu.template.empty': '菜单模板丢失,请重新选择模板!', |
| | | 'model.menu.presave': '菜单顺序已调整,请保存!', |
| | | 'header.menu.form': '表单', |
| | | 'header.menu.form.add': '添加表单', |
| | | 'header.menu.form.configurable': '表单配置', |
| | | 'header.menu.group.add': '添加分组', |
| | | 'header.menu.group.manage': '分组管理', |
| | | 'header.menu.search': '搜索', |
| | | 'header.menu.search.add': '添加搜索条件', |
| | | 'header.menu.action': '按钮', |
| | | 'header.menu.action.configurable': '按钮配置', |
| | | 'header.menu.tab.configurable': '标签配置', |
| | | 'header.menu.column': '显示列', |
| | | 'model.menu.column.add': '添加显示列', |
| | | 'model.menu.field.add': '添加字段', |
| | | 'header.menu.page.configurable': '页面配置', |
| | | 'header.menu.viewName': '页面名称', |
| | | 'header.menu.tabName': '标签名称', |
| | | 'header.menu.Remark': '备注', |
| | | 'header.menu.func.create': '创建存储过程', |
| | | 'header.menu.interface.create': '创建接口', |
| | | 'header.menu.tab': '标签页', |
| | | 'model.menu.tab.subtable': '子表', |
| | | 'header.menu.datasource': '数据来源', |
| | | 'header.menu.maintable': '主表', |
| | | 'header.menu.query': '查询', |
| | | 'model.form.tabType': '标签类型', |
| | | 'header.form.search.placeholder': '请添加搜索条件', |
| | | 'header.form.modal.placeholder': '请添加表单', |
| | | 'header.form.action.placeholder': '请添加按钮', |
| | | 'header.form.column.placeholder': '请添加显示列', |
| | | 'model.form.width': '宽度', |
| | | 'header.form.title': '标题', |
| | | 'model.form.field': '字段', |
| | | 'header.form.innerFunc': '内部函数', |
| | | 'header.form.outerFunc': '外部函数', |
| | | 'header.form.callbackFunc': '回调函数', |
| | | 'header.form.position': '显示位置', |
| | | 'model.form.afterSuccess': '成功后', |
| | | 'model.form.afterError': '失败后', |
| | | 'header.form.messageTip': '信息提示', |
| | | 'header.form.refresh': '刷新', |
| | | 'header.form.refresh.never': '不刷新', |
| | | 'header.form.refresh.grid': '刷新表格', |
| | | 'header.form.refresh.maingrid': '刷新主表(行)', |
| | | 'header.form.refresh.equaltab': '刷新同级标签', |
| | | 'header.form.refresh.subgrid': '刷新子表', |
| | | 'header.form.popClose': '关闭后', |
| | | 'header.form.toolbar': '工具栏', |
| | | 'header.form.grid': '表格', |
| | |
| | | 'model.form.picture': '图片', |
| | | 'model.form.number': '数字', |
| | | 'header.form.letter': '字母', |
| | | 'header.form.letter&number': '字母+数字', |
| | | 'model.form.colspan': '合并列', |
| | | 'model.form.select': '下拉选择', |
| | | 'model.form.multiselect': '下拉多选', |
| | |
| | | 'model.form.alignRight': '右对齐', |
| | | 'model.form.alignCenter': '居中', |
| | | 'model.form.columnWidth': '列宽', |
| | | 'header.form.setAll': '设置全部', |
| | | 'header.form.resourceType': '选项来源', |
| | | 'header.form.custom': '自定义', |
| | | 'header.form.datasource': '数据源', |
| | | 'model.form.tablename': '表名', |
| | |
| | | 'header.form.action.insert': '添加', |
| | | 'header.form.action.update': '修改', |
| | | 'header.form.action.audit': '审核', |
| | | 'header.form.action.insertOrUpdate': '添加或修改', |
| | | 'header.form.action.LogicDelete': '逻辑删除', |
| | | 'header.form.action.delete': '物理删除', |
| | | 'header.form.valueField': '值·字段', |
| | | 'header.form.match': '匹配模式', |
| | | 'header.form.matchVal': '匹配值', |
| | | 'header.form.asc': '正序', |
| | | 'header.form.desc': '倒序', |
| | | 'header.form.linkField': '关联字段', |
| | | 'header.form.dropdown': '下拉菜单', |
| | | 'header.form.button': '按钮', |
| | | 'model.form.style': '风格', |
| | |
| | | import Card from './card' |
| | | import './index.scss' |
| | | |
| | | const Container = ({list, showField, placeholder, handleList, handleMenu, deleteMenu }) => { |
| | | const Container = ({list, showField, handleList, handleMenu, deleteMenu }) => { |
| | | const [cards, setCards] = useState(list) |
| | | const moveCard = (id, atIndex) => { |
| | | const { card, index } = findCard(id) |
| | |
| | | </Col> : null} |
| | | {cards.length === 0 ? |
| | | <div className="common-drawarea-placeholder"> |
| | | {placeholder} |
| | | 请添加搜索条件 |
| | | </div> : null |
| | | } |
| | | </div> |
| | |
| | | handleList={this.handleList} |
| | | handleMenu={this.handleSearch} |
| | | deleteMenu={this.deleteElement} |
| | | placeholder={dict['header.form.search.placeholder']} |
| | | /> |
| | | <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={ |
| | | <div className="mk-popover-control"> |
| | |
| | | }], |
| | | deleteOptions: [{ |
| | | value: 'LogicDelete', |
| | | text: this.props.dict['header.form.action.LogicDelete'] |
| | | text: '逻辑删除' |
| | | }, { |
| | | value: 'delete', |
| | | text: this.props.dict['header.form.action.delete'] |
| | | text: '物理删除' |
| | | }, { |
| | | value: 'custom', |
| | | text: this.props.dict['header.form.custom'] |
| | |
| | | </Collapse> |
| | | </div> |
| | | <div className="setting"> |
| | | <Card title={dict['header.menu.form.configurable']} bordered={false} extra={ |
| | | <Card title="表单配置" bordered={false} extra={ |
| | | <div> |
| | | <Button type="danger" onClick={this.clearConfig}>清空</Button> |
| | | <EditComponent dict={dict} options={['form']} config={this.state.config} plusFields={this.plusFields}/> |
| | |
| | | <Tooltip placement="topLeft" title="点击按钮,可完成或查看按钮配置信息。"> |
| | | <QuestionCircleOutlined className="mk-form-tip"/> |
| | | </Tooltip> |
| | | {this.state.dict['header.menu.action.configurable']} |
| | | 按钮配置 |
| | | </p> : null |
| | | } |
| | | </div> |
| | |
| | | <Tooltip placement="topLeft" title="点击按钮,可完成或查看标签配置信息。"> |
| | | <QuestionCircleOutlined className="mk-form-tip"/> |
| | | </Tooltip> |
| | | {this.state.dict['header.menu.tab.configurable']} |
| | | 标签配置 |
| | | </p> : null |
| | | } |
| | | {configTabs.map((item, index) => { |
| | |
| | | <div className="setting"> |
| | | <Card title={ |
| | | <div> |
| | | {this.state.dict['header.menu.page.configurable']} |
| | | 页面配置 |
| | | <RedoOutlined style={{marginLeft: '10px'}} title="刷新标签列表" onClick={() => this.reloadTab(true)} /> |
| | | </div> |
| | | } bordered={false} extra={ |
| | |
| | | text: this.props.dict['header.form.action.update'] |
| | | }, { |
| | | value: 'insertOrUpdate', |
| | | text: this.props.dict['header.form.action.insertOrUpdate'] |
| | | text: '添加或修改' |
| | | }], |
| | | returnoptions: [{ // 返回后-不刷新、刷新页面、刷新表格 |
| | | value: 'never', |
| | |
| | | import ItemTypes from './itemtypes' |
| | | import './index.scss' |
| | | |
| | | const Container = ({list, type, groupId, setting, placeholder, handleList, handleMenu, deleteMenu, profileMenu }) => { |
| | | const Container = ({list, type, groupId, setting, handleList, handleMenu, deleteMenu, profileMenu }) => { |
| | | const [cards, setCards] = useState(list) |
| | | const moveCard = (id, atIndex) => { |
| | | const { card, index } = findCard(id) |
| | |
| | | ))} |
| | | {cards.length === 0 && |
| | | <div className="common-drawarea-placeholder"> |
| | | {placeholder} |
| | | {type === 'action' ? '请添加按钮' : '请添加表单'} |
| | | </div> |
| | | } |
| | | </div> |
| | |
| | | className="tables" |
| | | style={{ width: '100%' }} |
| | | optionFilterProp="children" |
| | | value={this.state.dict['header.menu.table.placeholder']} |
| | | value="请选择表名" |
| | | onChange={this.onTableChange} |
| | | showArrow={false} |
| | | getPopupContainer={() => document.getElementById('common-basedata')} |
| | |
| | | return (<SourceElement key={index} content={item}/>) |
| | | })} |
| | | </div> |
| | | <Button type="primary" block onClick={() => this.queryField('search')}>{this.state.dict['header.menu.form.add']}</Button> |
| | | <Button type="primary" block onClick={() => this.queryField('search')}>批量添加</Button> |
| | | </Panel> |
| | | {/* 按钮添加 */} |
| | | <Panel header={this.state.dict['header.menu.action']} key="2"> |
| | |
| | | <Tooltip placement="topLeft" title="点击按钮,可完成或查看标签配置信息。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | </Tooltip> |
| | | {this.state.dict['header.menu.tab.configurable']} |
| | | 标签配置 |
| | | </p> : null |
| | | } |
| | | {configTabs.map((item, index) => { |
| | |
| | | <div className="setting"> |
| | | <Card title={ |
| | | <div> |
| | | {this.state.dict['header.menu.page.configurable']} |
| | | 页面配置 |
| | | <RedoOutlined style={{marginLeft: '10px'}} title="刷新标签列表" onClick={this.reloadTab} /> |
| | | </div> |
| | | } bordered={false} extra={ |
| | |
| | | setting={config.setting} |
| | | handleMenu={this.handleSearch} |
| | | deleteMenu={this.deleteElement} |
| | | placeholder={this.state.dict['header.form.modal.placeholder']} |
| | | /> |
| | | </Panel> |
| | | ))} |
| | |
| | | handleMenu={this.handleAction} |
| | | deleteMenu={this.deleteElement} |
| | | profileMenu={this.profileAction} |
| | | placeholder={this.state.dict['header.form.action.placeholder']} |
| | | /> |
| | | </div> |
| | | {/* 标签组 */} |
| | |
| | | {this.state.dict['header.menu.config.placeholder']} |
| | | </Modal> |
| | | <Modal |
| | | title={this.state.dict['header.menu.group.manage']} |
| | | title="分组管理" |
| | | visible={this.state.groupVisible} |
| | | width={700} |
| | | maskClosable={false} |
| | |
| | | if (_Template.length === 0) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.state.dict['model.menu.template.empty'], |
| | | message: '菜单模板丢失,请重新选择模板!', |
| | | duration: 5 |
| | | }) |
| | | |
| | |
| | | </Collapse> |
| | | </div> |
| | | <div className="setting"> |
| | | <Card title={dict['header.menu.form.configurable']} bordered={false} extra={ |
| | | <Card title="表单配置" bordered={false} extra={ |
| | | <div> |
| | | <Versions MenuId={editAction.uuid} open_edition={openEdition} updateConfig={this.refreshConfig}/> |
| | | <ReplaceField type="form" config={config} updateConfig={this.updateconfig}/> |
| | |
| | | }], |
| | | deleteOptions: [{ |
| | | value: 'LogicDelete', |
| | | text: this.props.dict['header.form.action.LogicDelete'] |
| | | text: '逻辑删除' |
| | | }, { |
| | | value: 'delete', |
| | | text: this.props.dict['header.form.action.delete'] |
| | | text: '物理删除' |
| | | }, { |
| | | value: 'custom', |
| | | text: this.props.dict['header.form.custom'] |
| | |
| | | import Card from './card' |
| | | import './index.scss' |
| | | |
| | | const Container = ({list, setting, placeholder, handleList, handleMenu, deleteMenu, profileMenu, doubleClickCard }) => { |
| | | const Container = ({list, setting, handleList, handleMenu, deleteMenu, profileMenu, doubleClickCard }) => { |
| | | const [cards, setCards] = useState(list) |
| | | const moveCard = (id, atIndex) => { |
| | | const { card, index } = findCard(id) |
| | |
| | | |
| | | {cards.length === 0 ? |
| | | <div className="common-drawarea-placeholder"> |
| | | {placeholder} |
| | | 请添加按钮 |
| | | </div> : null |
| | | } |
| | | </div> |
| | |
| | | deleteMenu={this.deleteElement} |
| | | profileMenu={this.profileAction} |
| | | doubleClickCard={this.btnDoubleClick} |
| | | placeholder={dict['header.form.action.placeholder']} |
| | | /> |
| | | {/* 编辑按钮:复制、编辑 */} |
| | | <Modal |
| | |
| | | import Card from './card' |
| | | import './index.scss' |
| | | |
| | | const Container = ({list, setting, gridBtn, showfield, placeholder, handleList, handleMenu, handleGridBtn, deleteMenu, markMenu }) => { |
| | | const Container = ({list, setting, gridBtn, showfield, handleList, handleMenu, handleGridBtn, deleteMenu, markMenu }) => { |
| | | const [cards, setCards] = useState(list) |
| | | const moveCard = (id, atIndex) => { |
| | | const { card, index } = findCard(id) |
| | |
| | | |
| | | {cards.length === 0 ? |
| | | <div className="common-drawarea-placeholder"> |
| | | {placeholder} |
| | | 请添加显示列 |
| | | </div> : null |
| | | } |
| | | </div> |
| | |
| | | markMenu={this.markElement} |
| | | handleGridBtn={this.handleGridBtn} |
| | | showfield={this.state.showField} |
| | | placeholder={this.state.dict['header.form.column.placeholder']} |
| | | /> |
| | | {/* 显示列编辑 */} |
| | | <Modal |
| | |
| | | import Card from './card' |
| | | import './index.scss' |
| | | |
| | | const Container = ({list, show, placeholder, showField, handleList, handleMenu, deleteMenu }) => { |
| | | const Container = ({list, show, showField, handleList, handleMenu, deleteMenu }) => { |
| | | const [cards, setCards] = useState(list) |
| | | const moveCard = (id, atIndex) => { |
| | | const { card, index } = findCard(id) |
| | |
| | | </Col> : null} |
| | | {cards.length === 0 ? |
| | | <div className="common-drawarea-placeholder"> |
| | | {placeholder} |
| | | 请添加搜索条件 |
| | | </div> : null |
| | | } |
| | | </div> |
| | |
| | | handleList={this.handleList} |
| | | handleMenu={this.handleSearch} |
| | | deleteMenu={this.deleteElement} |
| | | placeholder={dict['header.form.search.placeholder']} |
| | | /> |
| | | {/* 编辑搜索条件 */} |
| | | <Modal |
| | |
| | | className="tables" |
| | | style={{ width: '100%' }} |
| | | optionFilterProp="children" |
| | | value={dict['header.menu.table.placeholder']} |
| | | value="请选择表名" |
| | | onChange={this.onTableChange} |
| | | showArrow={false} |
| | | getPopupContainer={() => containerId ? document.getElementById(containerId) : document.body} |
| | |
| | | <Tooltip placement="topLeft" title="点击按钮,可完成或查看按钮配置信息。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | </Tooltip> |
| | | {this.state.dict['header.menu.action.configurable']} |
| | | 按钮配置 |
| | | </p> : null |
| | | } |
| | | </div> |
| | |
| | | <Form {...formItemLayout} className="ant-advanced-search-form" id="subqazxcvbn"> |
| | | <Row gutter={24}> |
| | | <Col span={24}> |
| | | <Form.Item label={dict['header.menu.viewName']}> |
| | | <Form.Item label="页面名称"> |
| | | {getFieldDecorator('tabName', { |
| | | initialValue: config.tabName, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: dict['form.required.input'] + dict['header.menu.viewName'] + '!' |
| | | message: dict['form.required.input'] + '页面名称!' |
| | | }, |
| | | { |
| | | max: formRule.input.max, |
| | |
| | | <Tooltip placement="topLeft" title="点击按钮,可完成或查看标签配置信息。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | </Tooltip> |
| | | {this.state.dict['header.menu.tab.configurable']} |
| | | 标签配置 |
| | | </p> : null |
| | | } |
| | | {configTabs.map((item, index) => { |
| | |
| | | <div className="setting"> |
| | | <Card title={ |
| | | <div> |
| | | {this.state.dict['header.menu.page.configurable']} |
| | | 页面配置 |
| | | <RedoOutlined style={{marginLeft: '10px'}} title="刷新标签列表" onClick={() => this.reloadTab(true)} /> |
| | | </div> |
| | | } bordered={false} extra={ |
| | |
| | | onClick={this.props.trigger} |
| | | loading={this.state.loading} |
| | | > |
| | | {this.props.dict['header.menu.func.create']} |
| | | 创建存储过程 |
| | | </Button> |
| | | ) |
| | | } |
| | |
| | | onClick={this.props.trigger} |
| | | loading={this.state.loading} |
| | | > |
| | | {this.props.dict['header.menu.interface.create']} |
| | | 创建接口 |
| | | </Button> |
| | | {/* 接口选项 */} |
| | | <Modal |
| | | title={this.props.dict['header.menu.interface.create']} |
| | | title="创建接口" |
| | | visible={this.state.visible} |
| | | width={500} |
| | | maskClosable={false} |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'resourceType', |
| | | label: Formdict['header.form.resourceType'], |
| | | label: '选项来源', |
| | | initVal: card.resourceType || '0', |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'setAll', |
| | | label: Formdict['header.form.setAll'], |
| | | label: '设置全部', |
| | | initVal: card.setAll || 'true', |
| | | options: [{ |
| | | value: 'true', |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'cardValField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.cardValField || 'Value', |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'linkField', |
| | | label: Formdict['header.form.linkField'], |
| | | label: '关联字段', |
| | | initVal: card.linkField || '', |
| | | required: true, |
| | | readonly: false, |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'valueField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.valueField || '', |
| | | required: true, |
| | | readonly: false |
| | |
| | | } |
| | | refresh.push({ |
| | | value: 'maingrid', |
| | | text: Formdict['header.form.refresh.maingrid'] |
| | | text: '刷新主表(行)' |
| | | }, { |
| | | value: 'equaltab', |
| | | text: Formdict['header.form.refresh.equaltab'] |
| | | text: '刷新同级标签' |
| | | }) |
| | | } |
| | | |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'position', |
| | | label: Formdict['header.form.position'], |
| | | label: '显示位置', |
| | | initVal: card.position || 'toolbar', |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'resourceType', |
| | | label: Formdict['header.form.resourceType'], |
| | | label: '选项来源', |
| | | initVal: card.resourceType || '0', |
| | | required: true, |
| | | options: [{ |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'cardValField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.cardValField || 'Value', |
| | | required: true, |
| | | readonly: false |
| | |
| | | { |
| | | type: 'select', |
| | | key: 'linkField', |
| | | label: Formdict['header.form.linkField'], |
| | | label: '关联字段', |
| | | initVal: card.linkField || '', |
| | | required: true, |
| | | readonly: false, |
| | |
| | | { |
| | | type: 'text', |
| | | key: 'valueField', |
| | | label: Formdict['header.form.valueField'], |
| | | label: '值·字段', |
| | | initVal: card.valueField || '', |
| | | required: true, |
| | | readonly: false |
| | |
| | | text: Formdict['header.form.letter'] |
| | | }, { |
| | | value: 'letter&number', |
| | | text: Formdict['header.form.letter&number'] |
| | | text: '字母+数字' |
| | | }, { |
| | | value: 'phone', |
| | | text: '手机号' |