[update] 插入签章信息增加打印信息
This commit is contained in:
@@ -2248,16 +2248,22 @@ export default {
|
||||
*/
|
||||
async insertSignatureInfo () {
|
||||
Asc.scope.signatureInfo = await this.getSignatureInfo()
|
||||
console.log('---------获取完签章信息了')
|
||||
Asc.scope.standCode = this.form.standCode
|
||||
Asc.scope.standCNName = this.form.standName
|
||||
console.log('---------获取完签章信息了1')
|
||||
Asc.scope.downloadUrl = window._CONFIG.downloadUrl
|
||||
console.log('---------获取完签章信息了2')
|
||||
this.ctx.callCommand(() => {
|
||||
try {
|
||||
console.log('---------获取完签章信息了3')
|
||||
const oDocument = Api.GetDocument()
|
||||
console.log('---------获取完签章信息了4')
|
||||
// 签审信息只创建一次
|
||||
const AllContentControls = oDocument.GetAllContentControls()
|
||||
let flag = false
|
||||
for (let i = 0; i < AllContentControls.length; i++) {
|
||||
console.log('---------GetAlias', AllContentControls[i].GetAlias())
|
||||
if (AllContentControls[i].GetAlias() === 'sinotruk.signatureInfo') {
|
||||
console.log('已经创建过签章了')
|
||||
flag = true
|
||||
@@ -2456,6 +2462,7 @@ export default {
|
||||
result = res.result
|
||||
}
|
||||
}).finally(() => {
|
||||
console.log('--------返回签章信息了', result)
|
||||
resolve(result)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user