|
@@ -387,6 +387,7 @@ export default{
|
387
|
387
|
mounted(){
|
388
|
388
|
console.log('asdfdfgfd',this.value);
|
389
|
389
|
console.log('333333',this.date);
|
|
390
|
+ console.log('asfdazxsdfdfdsdfsadfs',this.fileList);
|
390
|
391
|
},
|
391
|
392
|
methods:{
|
392
|
393
|
add(){
|
|
@@ -763,15 +764,12 @@ export default{
|
763
|
764
|
}
|
764
|
765
|
},
|
765
|
766
|
printtup(){
|
766
|
|
- // if(this.id==0){
|
767
|
|
- // this.$message('请先保存');
|
768
|
|
- // }else{
|
|
767
|
+ console.log('先发给对方v不合格',this.fileList[0].img_url);
|
769
|
768
|
this.dayinDialogVisible = true
|
770
|
|
- // }
|
771
|
|
- html2canvas(this.$refs.imageWrapper,{backgroundColor: null}).then(canvas => {
|
|
769
|
+ html2canvas(this.$refs.imageWrapper,{backgroundColor: null,allowTaint: true,useCORS: true,scrollY: 0,scrollX: 0,}).then(canvas => {
|
772
|
770
|
// 转成图片,生成图片地址
|
773
|
771
|
this.imgUrls = canvas.toDataURL("image/png");
|
774
|
|
- // console.log('123424534',this.imgUrls)
|
|
772
|
+ console.log('123424534',this.imgUrls)
|
775
|
773
|
});
|
776
|
774
|
|
777
|
775
|
|
|
@@ -1149,7 +1147,7 @@ export default{
|
1149
|
1147
|
this.A_right.push(sitemap.DeviceValsualALeft[i])
|
1150
|
1148
|
}
|
1151
|
1149
|
}
|
1152
|
|
-
|
|
1150
|
+ console.log('阿斯顿发生v微软',this.A_right);
|
1153
|
1151
|
this.V_right = []
|
1154
|
1152
|
if(sitemap.DeviceValsualALeft!=null && sitemap.DeviceValsualALeft.length>0){
|
1155
|
1153
|
for(let i=0;i<sitemap.DeviceValsualALeft.length;i++){
|
|
@@ -1220,8 +1218,13 @@ export default{
|
1220
|
1218
|
this.Varr.push(sitemap.DeviceValusalMapVrr[i])
|
1221
|
1219
|
}
|
1222
|
1220
|
}
|
1223
|
|
-
|
1224
|
|
- this.fileList[0].img_url = sitemap.img_url
|
|
1221
|
+ this.fileList.push({
|
|
1222
|
+ img_url: sitemap.img_url,
|
|
1223
|
+ desc: '',
|
|
1224
|
+ id: 0
|
|
1225
|
+ })
|
|
1226
|
+ // this.fileList[0].img_url = sitemap.img_url
|
|
1227
|
+ console.log('图片啊手动阀手动阀',this.fileList);
|
1225
|
1228
|
}
|
1226
|
1229
|
|
1227
|
1230
|
}
|