From 888095418c902cc94693cba8b45f31bb79cdf818 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 28 二月 2020 01:31:46 +0800 Subject: [PATCH] 2020-02-28 --- src/templates/comtableconfig/index.jsx | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx index b7f966c..f630ff8 100644 --- a/src/templates/comtableconfig/index.jsx +++ b/src/templates/comtableconfig/index.jsx @@ -26,6 +26,7 @@ import VerifyCard from '@/templates/tableshare/verifycard' import VerifyCardExcelIn from '@/templates/tableshare/verifycardexcelin' import VerifyCardExcelOut from '@/templates/tableshare/verifycardexcelout' +import VerifyCardPrint from '@/templates/tableshare/verifycardprint' import MenuForm from '@/templates/tableshare/menuform' import TabDragElement from '@/templates/tableshare/tabdragelement' import SourceElement from '@/templates/tableshare/dragelement/source' @@ -3021,7 +3022,7 @@ onCancel={() => { this.setState({ profileVisible: false }) }} destroyOnClose > - {this.state.card && this.state.card.OpenType !== 'excelIn' && this.state.card.OpenType !== 'excelOut' ? + {this.state.card && !this.state.card.execMode && this.state.card.OpenType !== 'excelIn' && this.state.card.OpenType !== 'excelOut' ? <VerifyCard card={this.state.card} dict={this.state.dict} @@ -3029,6 +3030,14 @@ wrappedComponentRef={(inst) => this.verifyRef = inst} /> : null } + {this.state.card && this.state.card.execMode ? + <VerifyCardPrint + card={this.state.card} + dict={this.state.dict} + columns={this.state.config.columns} + wrappedComponentRef={(inst) => this.verifyRef = inst} + /> : null + } {this.state.card && this.state.card.OpenType === 'excelIn' ? <VerifyCardExcelIn card={this.state.card} -- Gitblit v1.8.0