更新备份

master
黄泽腾 2 years ago
parent 0344f257c1
commit 8f96de7c20

@ -625,25 +625,27 @@ export default {
this.getCompanyCertList();
},
showImgViewer(row) {
this.certFileUrl =
this.BASE_URL +
"/udiwms/image/register/file/getImage?type=image2&name=";
this.imgList = [];
previewImage({
imageUrl: row.filePath,
certFileUrl: this.certFileUrl,
}).then((response) => {
if (response.code === 20000) {
this.imgList = response.data;
}
console.log(this.imgList);
this.imgViewerVisible = true;
});
const m = (e) => {
e.preventDefault();
};
document.body.style.overflow = "hidden";
document.addEventListener("touchmove", m, false); //
let newWindow = window.open();
newWindow.document.write(row.filePath)
// this.certFileUrl =
// this.BASE_URL +
// "/udiwms/image/register/file/getImage?type=image2&name=";
// this.imgList = [];
// previewImage({
// imageUrl: row.filePath,
// certFileUrl: this.certFileUrl,
// }).then((response) => {
// if (response.code === 20000) {
// this.imgList = response.data;
// }
// console.log(this.imgList);
// this.imgViewerVisible = true;
// });
// const m = (e) => {
// e.preventDefault();
// };
// document.body.style.overflow = "hidden";
// document.addEventListener("touchmove", m, false); //
},
closeImgViewer() {

Loading…
Cancel
Save