From 8677ac694ba95f7f8c18339d301b46f0755159a1 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 11 Nov 2024 14:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/demandPlan/child/delivery_detail_list.js | 5 ++--- js/demandPlan/child/demand_plan_detail_list.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/js/demandPlan/child/delivery_detail_list.js b/js/demandPlan/child/delivery_detail_list.js index d6f6286..9fcb992 100644 --- a/js/demandPlan/child/delivery_detail_list.js +++ b/js/demandPlan/child/delivery_detail_list.js @@ -6,8 +6,7 @@ function setParams(obj) { $('#planNum').html(objParam.planNum); setStatusColor(objParam.status); layui.use(["layer", 'element'], function () { - form = layui.form; - table = layui.table; + layer = layui.layer; element = layui.element; // tab 切换事件 element.on('tab(demo-filter-tab)', function (data) { @@ -160,5 +159,5 @@ function numToChinese(num) { // 查看需求计划 function openDetail() { - openIframeByParamObj2("view_plan", "需求计划", "./child/demand_plan_detail_list.html", "92%", "95%", objParam); + openIframeByParamObj2("view_plan", "需求计划", "/page/demandPlan/child/demand_plan_detail_list.html", "92%", "95%", objParam); } \ No newline at end of file diff --git a/js/demandPlan/child/demand_plan_detail_list.js b/js/demandPlan/child/demand_plan_detail_list.js index 35fa8a5..5c1d870 100644 --- a/js/demandPlan/child/demand_plan_detail_list.js +++ b/js/demandPlan/child/demand_plan_detail_list.js @@ -165,5 +165,5 @@ function setNumColor(value, type) { // 需求计划编号 function plan_detail(obj){ - openIframeByParamObj2("plan_detail", "机具需求计划", "./child/apply_plan_detail.html", "92%", "95%", obj); + openIframeByParamObj2("plan_detail", "机具需求计划", "/page/demandPlan/child/apply_plan_detail.html", "92%", "95%", obj); } \ No newline at end of file