|
@@ -173,11 +173,6 @@
|
173
|
173
|
</thead>
|
174
|
174
|
</table>
|
175
|
175
|
</div>
|
176
|
|
- <!-- <template>
|
177
|
|
- <div>
|
178
|
|
- <vue-quill-editor v-model="content" ref="myQuillEditor" :options="editorOption"></vue-quill-editor>
|
179
|
|
- </div>
|
180
|
|
- </template> -->
|
181
|
176
|
</div>
|
182
|
177
|
<!-- 保存按钮的隐藏 -->
|
183
|
178
|
<el-dialog
|
|
@@ -578,36 +573,8 @@ export default{
|
578
|
573
|
},
|
579
|
574
|
saveimg(){
|
580
|
575
|
|
581
|
|
- // html2canvas(this.$refs.imageWrapper).then(canvas =>{
|
582
|
|
- // // const imageSrc = canvas.toDataURL();
|
583
|
|
- // const imageUrl = canvas.toDataURL("image/png");
|
584
|
|
- // console.log('5555',imageUrl);
|
585
|
|
- // // // const base = this.url.split(',')[1]
|
586
|
|
- // // // console.log('2222',base);
|
587
|
|
- // const blob = this.dataURLtoBlob(imageUrl)
|
588
|
|
- // console.log('4444',blob);
|
589
|
|
- // this.url = URL.createObjectURL(blob);
|
590
|
|
- // console.log('1111',urls);
|
591
|
|
- // var link= document.createElement("a");
|
592
|
|
- // //将生成的图片url赋值给a标签的href属性
|
593
|
|
- // link.href = this.url;
|
594
|
|
- // //设置下载的文件名
|
595
|
|
- // link.download = "页面截图";
|
596
|
|
- // // 将a标签插入dom中
|
597
|
|
- // document.body.appendChild(link);
|
598
|
|
- // //模拟点击事件触发下载
|
599
|
|
- // link.click();
|
600
|
|
- // // 完成之后销毁创建的a标签
|
601
|
|
- // document.body.removeChild(link);
|
602
|
|
-
|
603
|
|
- // })
|
604
|
|
- // console.log('3333');
|
605
|
|
- // const editedHTML=this.editor.getContents();
|
606
|
|
- // console.log('6666',editedHTML);
|
607
|
|
-
|
608
|
576
|
var is_append = 2
|
609
|
577
|
|
610
|
|
-
|
611
|
578
|
if(this.append == true){
|
612
|
579
|
is_append = 1
|
613
|
580
|
}
|
|
@@ -648,8 +615,6 @@ export default{
|
648
|
615
|
text_arr_str = this.text_arr.join(",")
|
649
|
616
|
}
|
650
|
617
|
|
651
|
|
- // console.log("fangxiang_A_top",this.fangxiangA_top)
|
652
|
|
-
|
653
|
618
|
var params = {
|
654
|
619
|
is_append:is_append,
|
655
|
620
|
is_img_v:is_img_v,
|