From 7952db1ac3207a770ae625d48677fce731428420 Mon Sep 17 00:00:00 2001 From: SinoroWu Date: Tue, 6 Dec 2022 09:59:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AA=BF=E6=95=B4=20=5FgraphManagement.html=20?= =?UTF-8?q?=E7=B7=A8=E8=BC=AFmodal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_graphManagement.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Frontend/_graphManagement.html b/Frontend/_graphManagement.html index a21ba4f..da6a6cb 100644 --- a/Frontend/_graphManagement.html +++ b/Frontend/_graphManagement.html @@ -306,6 +306,14 @@ $('#upDesignDiagram').html(strHtml); }); + $("#editMyDesignDiagram").on("change", function (e) { + let fileHelper = new YourTeam.Utility.File(); + let fileName = this.files[0].name; + + strHtml = `${fileName}`; + $('#editDesignDiagram').html(strHtml); + }); + // 取上傳檔名 $("#upMyAsBuilt").on("change", function (e) { let fileHelper = new YourTeam.Utility.File(); @@ -315,7 +323,13 @@ $('#upAsBuiltDrawing').html(strHtml); }); + $("#editMyAsBuilt").on("change", function (e) { + let fileHelper = new YourTeam.Utility.File(); + let fileName = this.files[0].name; + strHtml = `${fileName}`; + $('#editAsBuiltDrawing').html(strHtml); + }); // 全選功能 function check_all(obj, cName) {