From 12d4c8077c73db88abee8d21b7a86ab802254e0e Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 24 十一月 2022 17:52:59 +0800 Subject: [PATCH] 1 --- src/views/datamanage/metadataManage.vue | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/views/datamanage/metadataManage.vue b/src/views/datamanage/metadataManage.vue index 1086e1b..2ad33c1 100644 --- a/src/views/datamanage/metadataManage.vue +++ b/src/views/datamanage/metadataManage.vue @@ -526,38 +526,38 @@ .filter((item) => item.perms == currentPerms) .map((item) => (this.btnStatus[item.tag.substr(1)] = true)); }, - ShowWindowFly(res) { - console.log(res); - if (res == '') return; - if (res.indexOf('.xls') != -1) { - this.showMetadata(res, true); - } else if (res.indexOf('.doc') != -1) { - this.showMetadata(res, true); - } else if (res.indexOf('.png') != -1) { - this.showMetadata(res, true); - } else if (res.indexOf('.jpg') != -1) { - this.showMetadata(res, true); - } else if (res.indexOf('.pdf') != -1) { - this.showMetadata(res, true); - } else if (res.indexOf('.fly') != -1) { - this.showMetadata(res, false); - } else if (res.indexOf('.mpt') != -1) { - this.showMetadata(res, false); - } - }, - showMetadata(res, flag) { - var metaUrl; - if (flag == true) { - metaUrl = res; - } else if (flag == false) { - metaUrl = ifreamUrl + '/LFWeb/MetaPop.html?name=' + res; - } - window.open( - metaUrl, - '', - 'height=800, width=1500, top=150, left=350, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no' - ); - }, + // ShowWindowFly(res) { + // console.log(res); + // if (res == '') return; + // if (res.indexOf('.xls') != -1) { + // this.showMetadata(res, true); + // } else if (res.indexOf('.doc') != -1) { + // this.showMetadata(res, true); + // } else if (res.indexOf('.png') != -1) { + // this.showMetadata(res, true); + // } else if (res.indexOf('.jpg') != -1) { + // this.showMetadata(res, true); + // } else if (res.indexOf('.pdf') != -1) { + // this.showMetadata(res, true); + // } else if (res.indexOf('.fly') != -1) { + // this.showMetadata(res, false); + // } else if (res.indexOf('.mpt') != -1) { + // this.showMetadata(res, false); + // } + // }, + // showMetadata(res, flag) { + // var metaUrl; + // if (flag == true) { + // metaUrl = res; + // } else if (flag == false) { + // metaUrl = ifreamUrl + '/LFWeb/MetaPop.html?name=' + res; + // } + // window.open( + // metaUrl, + // '', + // 'height=800, width=1500, top=150, left=350, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no' + // ); + // }, // 璇锋眰鏁版嵁鍐呭 getMetaData() { select_meta_ByPageAndCount(this.listData).then((res) => { -- Gitblit v1.9.3