提交 1bac2661 authored 作者: 钟是志's avatar 钟是志

26709 学生登录[毕业生单位改签申报]打印跳转到空白页面【20192604011】

上级 d05c842f
...@@ -537,7 +537,7 @@ export default class GetDetail extends Component { ...@@ -537,7 +537,7 @@ export default class GetDetail extends Component {
)} )}
{data.appName ? data.appName : '当前表单'} {data.appName ? data.appName : '当前表单'}
{isEnd || isAllPrint || showPrint ? ( {(isEnd || isAllPrint) && showPrint ? (
<> <>
<Popconfirm <Popconfirm
onConfirm={() => { onConfirm={() => {
...@@ -583,7 +583,7 @@ export default class GetDetail extends Component { ...@@ -583,7 +583,7 @@ export default class GetDetail extends Component {
okText='确定' okText='确定'
cancelText='取消' cancelText='取消'
> >
{data.isPrint == null || data.isPrint || isAllPrint || showPrint ? ( {(data.isPrint == null || data.isPrint || isAllPrint) && showPrint ? (
<Button <Button
style={{ style={{
position: 'absolute', position: 'absolute',
......
...@@ -35,6 +35,7 @@ export default class GetDetail extends Component { ...@@ -35,6 +35,7 @@ export default class GetDetail extends Component {
render() { render() {
const {id} = this.state; const {id} = this.state;
console.log(this.props.showPrint);
const { const {
detailInfoDivStyle = { detailInfoDivStyle = {
backgroundColor: '#FFFFFF', backgroundColor: '#FFFFFF',
......
...@@ -280,7 +280,8 @@ export default function PictureSignature({ ...@@ -280,7 +280,8 @@ export default function PictureSignature({
if (!fileInfo) { if (!fileInfo) {
return null; return null;
} }
console.log(imageInfo, fileInfo); // console.log(imageInfo, fileInfo);
console.log('签章组件');
return ( return (
<div className={styles.outSideDiv}> <div className={styles.outSideDiv}>
{fileInfo && fileInfo?.path && ( {fileInfo && fileInfo?.path && (
......
...@@ -268,7 +268,7 @@ export default class tableCom extends Component { ...@@ -268,7 +268,7 @@ export default class tableCom extends Component {
}); });
searchJson = (value, json, level, labs) => { searchJson = (value, json, level, labs) => {
if (!json || !Array.isArray(json) || !json.length || !value) { if (!json || !Array.isArray(json) || !json.length || !value) {
console.log('下拉级联组件数据错误 没得值', value); // console.log('下拉级联组件数据错误 没得值', value);
return; return;
} }
for (var i = 0; i < json.length; i++) { for (var i = 0; i < json.length; i++) {
...@@ -1338,7 +1338,7 @@ export default class tableCom extends Component { ...@@ -1338,7 +1338,7 @@ export default class tableCom extends Component {
if (typeof values === 'string' && isJSON(values)) { if (typeof values === 'string' && isJSON(values)) {
values = JSON.parse(values); values = JSON.parse(values);
} }
console.log('select组件的labels对应的', values); // console.log('select组件的labels对应的', values);
const labels = []; const labels = [];
if (values != null) { if (values != null) {
if (values instanceof Array) { if (values instanceof Array) {
...@@ -2154,7 +2154,7 @@ export default class tableCom extends Component { ...@@ -2154,7 +2154,7 @@ export default class tableCom extends Component {
break; break;
case 'Select': case 'Select':
console.log('Select组件的labels = ', labels); // console.log('Select组件的labels = ', labels);
let stringLabels = labels != null && labels.length > 0 ? labels.join(' ') : ''; let stringLabels = labels != null && labels.length > 0 ? labels.join(' ') : '';
if(Array.isArray(labels) && labels.length && typeof labels[0] === 'object'){ if(Array.isArray(labels) && labels.length && typeof labels[0] === 'object'){
stringLabels = Object.values(labels[0]); stringLabels = Object.values(labels[0]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论