1 files deleted
1 files added
8 files modified
| | |
| | | name="description" |
| | | content="Web site created using create-react-app" |
| | | /> |
| | | <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.png" /> |
| | | <!-- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo.png" /> --> |
| | | <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="./favicon.png" /> |
| | | <!-- |
| | | manifest.json provides metadata used when your web app is installed on a |
| | | user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ |
| | |
| | | work correctly both with client-side routing and a non-root public URL. |
| | | Learn how to configure a non-root public URL by running `npm run build`. |
| | | --> |
| | | <title>恒巨科技</title> |
| | | <title>恒巨信息</title> |
| | | </head> |
| | | <body> |
| | | <!-- <noscript>You need to enable JavaScript to run this app.</noscript> --> |
| | |
| | | "name": "Create React App Sample", |
| | | "icons": [ |
| | | { |
| | | "src": "favicon.ico", |
| | | "src": "favicon.favicon.png", |
| | | "sizes": "64x64 32x32 24x24 16x16", |
| | | "type": "image/x-icon" |
| | | }, |
| | | { |
| | | "src": "logo192.png", |
| | | "type": "image/png", |
| | | "sizes": "192x192" |
| | | }, |
| | | { |
| | | "src": "logo512.png", |
| | | "type": "image/png", |
| | | "sizes": "512x512" |
| | | } |
| | | ], |
| | | "start_url": ".", |
| | |
| | | //内网测试地址 |
| | | // let StagingUrl = 'http://192.168.0.103:9072'; |
| | | let StagingUrl = "http://120.79.193.119:9072"; |
| | | let StagingUrl = 'http://192.168.0.114:9072'; |
| | | // let StagingUrl = "http://120.79.193.119:9072"; |
| | | |
| | | |
| | | //mock地址 |
| | |
| | | dataIndex: 'title', |
| | | key: 'title', |
| | | render: (cur, item) => { |
| | | return <a dangerouslySetInnerHTML={{ __html: cur }} onClick={() => { |
| | | window.open(item.url) |
| | | }}> |
| | | return <a dangerouslySetInnerHTML={{ __html: cur }} target="_blank" href={item.url} > |
| | | </a> |
| | | } |
| | | }, |
| | |
| | | document.title = `${name}`; |
| | | } |
| | | } else { |
| | | document.title = `xx系统`; |
| | | document.title = `恒巨信息`; |
| | | } |
| | | |
| | | const defaultOpenKeys = menudata.map(({ name }) => name); |
| | |
| | | }).then(res => { |
| | | console.log('res', res); |
| | | this.setState({ |
| | | content: res.documentContent || '' |
| | | content: res.documentTitle || '' |
| | | }) |
| | | }) |
| | | } |
| | |
| | | renderDom = () => { |
| | | let { content } = this.state; |
| | | return <div className="notify-list-main-dom"> |
| | | <span className="notify-list-main-dom-msg">最新通知:公司本部从XX时间开始,调整省略很长很长的内容调整省略很长很长的内容公司本部从XX时间开始,调整省略很长很长的内容调整省略很长很长的内容公司本部从XX时间开始,调整省略很长很长的内容调整省略很长很长的内容</span> |
| | | <span className="notify-list-main-dom-msg">最新通知:{content}</span> |
| | | <span className="notify-list-main-dom-fuc" onClick={this.onClick}>[查看全部]</span> |
| | | </div> |
| | | } |
| | |
| | | const { savedate, fileList, loading, disabled } = this.state; |
| | | const props = { |
| | | action: BASE_URL + `api/attachment/materials?associateId=${savedate.documentType == 'DT00002' ? 1001 : 1002}&entityId=` + savedate.id, |
| | | header: { |
| | | Authorization: window.localStorage.getItem('token') |
| | | }, |
| | | onChange: ({ file, fileList }) => { |
| | | if (file.status !== 'uploading') { |
| | | console.log(file); |
| | |
| | | <Row gutter={16}> |
| | | <Col className="gutter-row" > |
| | | 文档类型: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | <Row gutter={16}> |
| | | <Col className="gutter-row" style={{ margin: '12px 0' }} > |
| | |
| | | <Row gutter={16} style={{ marginTop: '12px' }}> |
| | | <Col className="gutter-row" style={{ marginTop: '12px' }}> |
| | | 通知标题: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | } |
| | | { |
| | |
| | | <Row gutter={16} style={{ marginTop: '12px' }}> |
| | | <Col className="gutter-row" style={{ marginTop: '12px' }}> |
| | | 规章制度标题: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | } |
| | | <Row gutter={16}> |
| | |
| | | <Row gutter={16}> |
| | | <Col className="gutter-row" > |
| | | 通知内容: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | } |
| | | { |
| | |
| | | </Col> |
| | | </Row> |
| | | } |
| | | <Row gutter={16} style={{ marginTop: '12px' }}> |
| | | <Col span={2} className="gutter-row" ><Button disabled={disabled} style={{ marginRight: '15px', width: '100px' }} type="primary" loading={this.state.iconLoading} onClick={this.submit}>发布</Button></Col> |
| | | <Col span={2} className="gutter-row" ><Button style={{ marginLeft: '15px', width: '100px' }} onClick={this.cancle}>返回</Button></Col> |
| | | <Row type="flex" gutter={20} style={{ marginTop: '12px' }}> |
| | | <Col className="gutter-row" ><Button onClick={this.cancle}>返回</Button></Col> |
| | | <Col className="gutter-row" ><Button disabled={disabled} type="primary" loading={this.state.iconLoading} onClick={this.submit}>发布</Button></Col> |
| | | </Row> |
| | | </Card> |
| | | </Spin> |
| | |
| | | flex: 1; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | a:visited { |
| | | color: #559DE6; /*已访问的链接颜色*/ |
| | | } |