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

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

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