From c1d6d95bbb5b5eb5c512624299072b31d7fdb489 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Mon, 23 Sep 2024 16:19:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/place/place.html | 6 +- .../templates/system/placeChange/detail.html | 119 ++++++++++++++++ .../templates/system/placeChange/edit.html | 59 ++++++++ .../system/placeChange/placeChange.html | 129 ++++++++++++++++++ 4 files changed, 312 insertions(+), 1 deletion(-) create mode 100644 ruoyi-admin/src/main/resources/templates/system/placeChange/detail.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/placeChange/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/placeChange/placeChange.html diff --git a/ruoyi-admin/src/main/resources/templates/system/place/place.html b/ruoyi-admin/src/main/resources/templates/system/place/place.html index bddb546..aba2c52 100644 --- a/ruoyi-admin/src/main/resources/templates/system/place/place.html +++ b/ruoyi-admin/src/main/resources/templates/system/place/place.html @@ -85,7 +85,11 @@ formatter: function(value, row, index) { var actions = []; actions.push('详细 '); - actions.push('编辑 '); + if (row.state == 1){ + actions.push('编辑 '); + }else{ + actions.push('编辑 '); + } actions.push('删除'); return actions.join(''); } diff --git a/ruoyi-admin/src/main/resources/templates/system/placeChange/detail.html b/ruoyi-admin/src/main/resources/templates/system/placeChange/detail.html new file mode 100644 index 0000000..5f26d00 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/placeChange/detail.html @@ -0,0 +1,119 @@ + + +
+