修改名

This commit is contained in:
wjn 2024-07-05 14:34:02 +08:00
parent 825a96068a
commit 1f2ed67e55
2 changed files with 3 additions and 4 deletions

View File

@ -161,7 +161,7 @@ class HM042ShowPrint extends React.Component {
let TableWrap = document.getElementById('tableId' + this.props.data.id);
let Table = TableWrap.getElementsByTagName('table')[0];
const wb = XLSX.utils.table_to_book(Table);
XLSX.writeFile(wb, "度风险评价计划审核表.xlsx")
XLSX.writeFile(wb, "度风险评价计划审核表.xlsx")
}
onClickApprove = (appVisible) => {
const newtmpData = {
@ -224,7 +224,7 @@ class HM042ShowPrint extends React.Component {
<Button type={'primary'} style={{ marginLeft: '8px', display: this.state.BtnSignDisplay }} onClick={() => this.onPersonalAgree()} icon="check" >确认</Button>
</div>
<div ref={el => (this.componentRef = el)} id={'tableId' + this.props.data.id} style={{ padding: '20px' }}>
<h1 style={{ textAlign: 'center' }}>度风险评价计划审核表</h1>
<h1 style={{ textAlign: 'center' }}>度风险评价计划审核表</h1>
{
data ?
<div>

View File

@ -278,8 +278,7 @@ class HM121ShowPrint extends React.Component {
<Button onClick={() => this.onTableBtnExport()} icon="export" style={{ marginLeft: '8px' }}>导出</Button>
</div>
<div ref={el => (this.componentRef = el)} id={'tableId' + this.props.data.id} style={{ padding: '20px' }}>
<h1 style={{ textAlign: 'center' }}>评价记录表</h1>
<h2 style={{ textAlign: 'center' }}>评价记录表</h2>
{
data ? <div>
<Descriptions size="middle" bordered>