|
@@ -373,7 +373,9 @@ export default {
|
|
|
certificateNumber: this.form.certificateNumber,
|
|
|
certificatePassword: this.form.certificatePassword,
|
|
|
certificateId: this.form.certificateId,
|
|
|
- pfxType: this.form.pfxType
|
|
|
+ pfxType: this.form.pfxType,
|
|
|
+ wide: this.form.wide,
|
|
|
+ high: this.form.high,
|
|
|
}
|
|
|
|
|
|
if (this.form.certificateFileUrl[0]&&this.form.certificateFileUrl[0].name&&this.form.certificateFileUrl[0].raw && this.form.certificateFileUrl[0].status === "ready") {
|
|
@@ -646,7 +648,6 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- console.log(form.wide, form.high)
|
|
|
if (!form.wide || !form.high) {
|
|
|
this.$message({
|
|
|
message: '请先填写宽度和高度的尺寸',
|
|
@@ -660,7 +661,7 @@ export default {
|
|
|
fromData.append('wide', form.wide);
|
|
|
fromData.append('high', form.high);
|
|
|
const { data: res } = await picPresave(fromData)
|
|
|
- console.log(res)
|
|
|
+ this.signatureId = res.data.id;
|
|
|
},
|
|
|
//预览
|
|
|
async signaturePreview() {
|
|
@@ -672,9 +673,8 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- console.log(cid)
|
|
|
const { data: res } = await prePicture(cid)
|
|
|
- console.log(res)
|
|
|
+ window.open(res.data, '_blank')
|
|
|
},
|
|
|
stopClick() {},
|
|
|
},
|