From cabb1d314fd0d59a747331512b8ac3ecf1ef7cd3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 25 一月 2024 16:01:38 +0800 Subject: [PATCH] 2024-01-25 --- src/views/design/header/index.scss | 36 ++++++++++++++++++------------------ src/views/billprint/index.jsx | 8 ++++++-- src/views/menudesign/printmenuform/index.jsx | 12 ++++++++++++ 3 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/views/billprint/index.jsx b/src/views/billprint/index.jsx index dddd47d..5f2a4ac 100644 --- a/src/views/billprint/index.jsx +++ b/src/views/billprint/index.jsx @@ -167,8 +167,6 @@ sessionStorage.setItem('LoginUID', result.LoginUID || '') sessionStorage.setItem('dataM', 'false') - this.getMenuParam() - // 鑾峰彇绯荤粺淇℃伅 let _param = { func: 's_Get_style', @@ -199,6 +197,8 @@ document.getElementsByTagName('head')[0].appendChild(link) } } + + this.getMenuParam() }) } else { notification.warning({ @@ -252,6 +252,10 @@ 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' diff --git a/src/views/design/header/index.scss b/src/views/design/header/index.scss index aef0f9b..13545dc 100644 --- a/src/views/design/header/index.scss +++ b/src/views/design/header/index.scss @@ -65,24 +65,24 @@ } } - .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; diff --git a/src/views/menudesign/printmenuform/index.jsx b/src/views/menudesign/printmenuform/index.jsx index 315cbe0..5809dcd 100644 --- a/src/views/menudesign/printmenuform/index.jsx +++ b/src/views/menudesign/printmenuform/index.jsx @@ -257,6 +257,18 @@ })(<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> ) -- Gitblit v1.8.0