| | |
| | | sessionStorage.setItem('LoginUID', result.LoginUID || '') |
| | | sessionStorage.setItem('dataM', 'false') |
| | | |
| | | this.getMenuParam() |
| | | |
| | | // 获取系统信息 |
| | | let _param = { |
| | | func: 's_Get_style', |
| | |
| | | document.getElementsByTagName('head')[0].appendChild(link) |
| | | } |
| | | } |
| | | |
| | | this.getMenuParam() |
| | | }) |
| | | } else { |
| | | notification.warning({ |
| | |
| | | return |
| | | } |
| | | |
| | | if (config.webTitle) { |
| | | document.title = config.webTitle |
| | | } |
| | | |
| | | config.style = config.style || {} |
| | | config.pageSize = ['A4', 'A3', 'A5'].includes(config.pageSize) ? config.pageSize : 'A4' |
| | | config.pageLayout = config.pageLayout !== 'horizontal' ? 'vertical' : 'horizontal' |
| | |
| | | } |
| | | } |
| | | |
| | | .header-menu.level4 { |
| | | li { |
| | | cursor: default; |
| | | &:hover { |
| | | span { |
| | | cursor: default; |
| | | color: rgba(255, 255, 255, 0.65); |
| | | border-bottom: none; |
| | | } |
| | | } |
| | | &.active { |
| | | span { |
| | | color: #ffffff; |
| | | border-bottom: 4px solid #1890ff; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | // .header-menu.level4 { |
| | | // li { |
| | | // cursor: default; |
| | | // &:hover { |
| | | // span { |
| | | // cursor: default; |
| | | // color: rgba(255, 255, 255, 0.65); |
| | | // border-bottom: none; |
| | | // } |
| | | // } |
| | | // &.active { |
| | | // span { |
| | | // color: #ffffff; |
| | | // border-bottom: 4px solid #1890ff; |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | .header-setting { |
| | | float: right; |
| | |
| | | })(<Input onChange={(e) => this.selectChange('callNo', e.target.value)}/>)} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | <Col span={24}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="可自定义在浏览器标题栏中显示的网页标题。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 网页标题 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('webTitle', { |
| | | initialValue: config.webTitle || '' |
| | | })(<Input onChange={(e) => this.selectChange('webTitle', e.target.value)}/>)} |
| | | </Form.Item> |
| | | </Col> |
| | | </Row> |
| | | </Form> |
| | | ) |