|
|
@@ -68,10 +68,23 @@
|
|
|
id: this.restoreData.id,
|
|
|
droppedImages
|
|
|
});
|
|
|
-
|
|
|
+ // uploadFileNew({
|
|
|
+ // module: 'fm',
|
|
|
+ // multiPartFile: pdfFile
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // this.$emit('save', {
|
|
|
+ // stampStoragePath: res.data ? [res.data] : [],
|
|
|
+ // id: this.restoreData.id,
|
|
|
+ // droppedImages
|
|
|
+ // });
|
|
|
+ // this.showEditFlag = false;
|
|
|
+ // })
|
|
|
+ // .finally(() => {
|
|
|
+ // this.loading = false;
|
|
|
+ // });
|
|
|
},
|
|
|
setFileUrl(row) {
|
|
|
- console.log(row,'row')
|
|
|
let file = row.stampStoragePath[0] || row.storagePath[0];
|
|
|
let fileNames = file.storePath.split('/');
|
|
|
let url =
|
|
|
@@ -92,7 +105,10 @@
|
|
|
console.log(container);
|
|
|
|
|
|
this.$refs.sealRef.init(
|
|
|
- '',
|
|
|
+ container[0].innerHTML.replace(
|
|
|
+ /src="https?:\/\/[^\/]+(\/[^"]*)"/g,
|
|
|
+ `src="${window.location.origin}$1"`
|
|
|
+ ),
|
|
|
{
|
|
|
droppedImages:row.droppedImages||''
|
|
|
}
|