|
@@ -479,6 +479,8 @@ export default {
|
|
|
},
|
|
|
changecertificateFileUrl2 (file) {//签名体图片变化回调
|
|
|
this.form.signatureFileUrl = [file]
|
|
|
+ this.form.signatureWidht = 600
|
|
|
+ this.form.signatureHeight = 165
|
|
|
},
|
|
|
pushSignPfxDeputieList () {//添加关联项目
|
|
|
// this.form.signPfxDeputieList.unshift({
|
|
@@ -527,7 +529,19 @@ export default {
|
|
|
if(res.data.signatureFileUrl&&this.form.signatureFileName){
|
|
|
this.form.signatureFileUrl = [{ raw: res.data.signatureFileUrl, name: this.form.signatureFileName }]
|
|
|
}else{
|
|
|
- this.form.signatureFileUrl=[]
|
|
|
+ this.form.signatureFileUrl = []
|
|
|
+ }
|
|
|
+ //宽度
|
|
|
+ if (res.data.signatureWidht) {
|
|
|
+ this.form.signatureWidht = res.data.signatureWidht
|
|
|
+ } else {
|
|
|
+ this.form.signatureWidht = 600
|
|
|
+ }
|
|
|
+ //高度
|
|
|
+ if (res.data.signatureHeight) {
|
|
|
+ this.form.signatureHeight = res.data.signatureHeight
|
|
|
+ } else {
|
|
|
+ this.form.signatureHeight = 165
|
|
|
}
|
|
|
}
|
|
|
},
|