From 58af926675e2157b70abbe19152d329ba3f95810 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 27 三月 2023 17:14:10 +0800 Subject: [PATCH] 修改传参 --- src/main/resources/templates/tr/selectOldRiskInfoPage/selectOldRiskInfoPage.html | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerRecord/dangerRecord.html b/src/main/resources/templates/tr/selectOldRiskInfoPage/selectOldRiskInfoPage.html similarity index 93% rename from src/main/resources/templates/tr/hiddenDangerCheck/dangerRecord/dangerRecord.html rename to src/main/resources/templates/tr/selectOldRiskInfoPage/selectOldRiskInfoPage.html index dedd92c..5bd4f76 100644 --- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerRecord/dangerRecord.html +++ b/src/main/resources/templates/tr/selectOldRiskInfoPage/selectOldRiskInfoPage.html @@ -82,17 +82,17 @@ </div> <th:block th:include="include :: footer"/> <script th:inline="javascript"> - var prefix = ctx + "tr/hiddenDangerCheck/dangerRecord"; + var prefix = ctx + "info"; // var common = [[${common}]];//用户角色 是否在公司管理员 - + console.log(ctx,prefix,'prefix') $(function () { var options = { - url: prefix + "/list", - // createUrl: prefix + "/add", - // updateUrl: prefix + "/edit/{id}", - // removeUrl: prefix + "/removeDangerLedger", - // exportUrl: prefix + "/export", - // detailUrl: prefix + "/detail/{id}", + url: prefix + "/selectOldRiskInfoPage", + createUrl: prefix + "/add", + updateUrl: prefix + "/edit/{id}", + removeUrl: prefix + "/removeDangerLedger", + exportUrl: prefix + "/export", + detailUrl: prefix + "/detail/{id}", modalName: "隐患列表", columns: [ { -- Gitblit v1.9.2