Commit 1f427169 by zhaoxiqing

gsb

parent 1af0f953
......@@ -58,6 +58,7 @@ module.exports = (db, DataTypes) => {
experience: DataTypes.STRING(200),
idCardFront: DataTypes.STRING(300),
idCardBack: DataTypes.STRING(300),
sealId : DataTypes.STRING,
isPush: {
type:DataTypes.BOOLEAN,
defaultValue: false
......@@ -109,4 +110,4 @@ module.exports = (db, DataTypes) => {
// }
]
});
}
\ No newline at end of file
}
......@@ -869,18 +869,22 @@ class UtilESignBaoService {
}
//4、创建用户图片印章
var sealKey = await this.createPerSeal(ossurl, ebaoAccountId, params.simpleFormFields.nameA, "entcontractCtl");
console.log("有赞创建个人印章================",sealKey.data);
if(sealKey.data){
var persealid = eaccount.sealId;
if(!eaccount.sealId){
var sealKey = await this.createPerSeal(ossurl, ebaoAccountId, params.simpleFormFields.nameA, "entcontractCtl");
if(sealKey.data){
console.log("有赞创建个人印章================",sealKey.data);
eaccount.sealId = sealKey.data.sealId;
persealid = sealKey.data.sealId;
eaccount.save();
}
}
var autoUserSignTaskParams = {
flowId: tFlowId, //流程id-- 必填
accountId: ebaoAccountId, //签署人账户id-- 必填
sealId:sealKey.data.sealId,
sealId:persealid,
thirdOrderNo: tThirdOrderNo, //第三方流水号,通知回调使用
sealType: "1", //印章类型, 指定签署印章类型,0:手绘印章;1:模板印章-- 必填 ?????????????????????????????
posList: [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment