調整 _graphManagement.html 編輯modal

This commit is contained in:
SinoroWu 2022-12-06 09:59:33 +08:00
parent 87fe72c242
commit 7952db1ac3

View File

@ -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 = `<small>${fileName}</small>`;
$('#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 = `<small>${fileName}</small>`;
$('#editAsBuiltDrawing').html(strHtml);
});
// 全選功能
function check_all(obj, cName) {