|
|
|
@ -5,6 +5,7 @@ import { useEffect, useRef, useState } from 'react';
|
|
|
|
|
import { secretInit_getStatus } from '@/services/gql';
|
|
|
|
|
import { message } from 'antd';
|
|
|
|
|
import ClearInfoDialog from '@/components/ClearInfoDialog';
|
|
|
|
|
import SaveAs from '@/components/SaveAs';
|
|
|
|
|
|
|
|
|
|
// 网络MMJ管理 --> 状态查询
|
|
|
|
|
export default function Page() {
|
|
|
|
@ -61,7 +62,7 @@ export default function Page() {
|
|
|
|
|
<div className='line'></div>
|
|
|
|
|
<div className='pd20 pb100'>
|
|
|
|
|
<div ref={outputRef} className={styles.html_con}>
|
|
|
|
|
<div style={{ padding: '0px 12px' }} key={currentLineIndex}>
|
|
|
|
|
<div id='messageInfo' style={{ padding: '0px 12px' }} key={currentLineIndex}>
|
|
|
|
|
{lines.slice(0, currentLineIndex).map((line: string, index: number) => (
|
|
|
|
|
<p key={index} style={{ paddingTop: index == 0 ? 20 : 10 }}>{line}</p>
|
|
|
|
|
))}
|
|
|
|
@ -69,9 +70,7 @@ export default function Page() {
|
|
|
|
|
</div>
|
|
|
|
|
<div className={styles.btn_warp}>
|
|
|
|
|
<ButtonComp style={{ marginRight: 20 }} text={'状态查询'} onClick={() => { statusQuery() }} />
|
|
|
|
|
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'文件另存'} onClick={() => {
|
|
|
|
|
message.info('该功能还在开发中!');
|
|
|
|
|
}} />
|
|
|
|
|
<SaveAs style={{ marginRight: 20}} domId='messageInfo'/>
|
|
|
|
|
<ButtonComp type={'cancel'} disabled={lines.length == 0} text={'清空信息'} onClick={() => setVisibility(true)} />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|