From 4167abc284ea60847f1c584b9e84cdd7b19c821b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LAPTOP-NDCM9L6Q=5C=E7=8E=8B=E4=B8=BD=E9=9B=85?= <1970384016@qq.com> Date: Sun, 21 Jul 2024 09:19:27 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E7=94=98=E7=89=B9=E5=9B=BE?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=B7=A5=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/js/departmentMachining/machiningGantt.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js b/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js index a6955eef9..3a7ddde42 100644 --- a/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js +++ b/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js @@ -99,7 +99,13 @@ layui.config({ let item = getInPoingArr(noteList, "id", id, null); if (item.types != "project") { console.log(item) - alert("Task with ID " + id + " was clicked"); + _openNewWindows({ + url: systemCommonUtil.getUrl('FP2023100300003&id=' + '7b0d17eb2e334bc0b0b51e33425cb29d', null), + title: "车间任务安排", + pageId: "workshopTaskArrangement", + area: ['90vw', '90vh'], + callBack: function (refreshCode) { + }}); } // 返回true以允许默认行为继续,返回false可以阻止默认行为 return true; -- GitLab