|
@@ -236,7 +236,7 @@
|
|
|
imgSrc = OSS_PATH + dtlPath;
|
|
|
}
|
|
|
let couldCreate = true;
|
|
|
- if (srcCell.picFeatures && srcCell.picFeatures.length === paths.length && srcCell.picFeatures[dtlPathIdx] === 'not found!') {
|
|
|
+ if (srcCell.picFeatures && srcCell.picFeatures.length === paths.length && (srcCell.picFeatures[dtlPathIdx] === 'not found!')) {
|
|
|
couldCreate = false;
|
|
|
}
|
|
|
if (couldCreate) {
|
|
@@ -249,6 +249,7 @@
|
|
|
}
|
|
|
let tmpArea = srcCell.area;
|
|
|
srcCell.area = area;
|
|
|
+ srcCell.isOrgShow = (dtlPathIdx !== 0);
|
|
|
let signArea = getProperSignatureArea(srcCell, control, 0, 0, JV);
|
|
|
srcCell.area = tmpArea;
|
|
|
area[JV.PROP_LEFT] = signArea[0];
|
|
@@ -259,11 +260,12 @@
|
|
|
const newStampCell = {
|
|
|
signature_name: 'dummy_pic',
|
|
|
control: srcCell.control,
|
|
|
- style: srcCell.style,
|
|
|
+ // style: srcCell.style,
|
|
|
+ style: (srcCell.style && srcCell.style !== '') ? srcCell.style : 'sign_pic' ,
|
|
|
path: imgSrc,
|
|
|
isStamp: true,
|
|
|
area,
|
|
|
- // isOrgShow: (dtlPathIdx === 0),
|
|
|
+ isOrgShow: (dtlPathIdx === 0),
|
|
|
};
|
|
|
rstCells.push(newStampCell);
|
|
|
}
|