From 6ab21f96631f51834f09186195833ea739510cfa Mon Sep 17 00:00:00 2001 From: maLix Date: Fri, 16 Jun 2023 00:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/common/tag/simpleDictSelect.tag.html | 14 +++++++++++++- web/src/main/resources/sql/jlw/handsOn.md | 2 +- .../resources/templates/jlw/handsOn/index.html | 11 +++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/admin-core/src/main/resources/templates/common/tag/simpleDictSelect.tag.html b/admin-core/src/main/resources/templates/common/tag/simpleDictSelect.tag.html index 9282af64..cf9f9953 100644 --- a/admin-core/src/main/resources/templates/common/tag/simpleDictSelect.tag.html +++ b/admin-core/src/main/resources/templates/common/tag/simpleDictSelect.tag.html @@ -4,6 +4,7 @@ name="orgType" value="${user.orgId}" /> forceClear:强制删除缓存 用法:forceClear = true + initArray:默认数据 */ -->
@@ -35,6 +36,18 @@ if(has(readonly)){ ${isNotEmpty(laySearch)?'lay-search':''} > + + + + + + + diff --git a/web/src/main/resources/sql/jlw/handsOn.md b/web/src/main/resources/sql/jlw/handsOn.md index 57a8dd3f..311b0402 100644 --- a/web/src/main/resources/sql/jlw/handsOn.md +++ b/web/src/main/resources/sql/jlw/handsOn.md @@ -67,7 +67,7 @@ queryByConditionMergeOpenCourseHandsOn t.`hands_on_name`, t.`add_time`, t.`org_id`, - za.`name` AS org_id_text , + case when t.`org_id` = 1 then '超级管理员' else za.`name` end AS org_id_text , t.`user_id`, t.course_info_id as system_course_info_id, (select course_info_name from course_info zc where zc.course_info_id = t.course_info_id and zc.course_info_status = 1 limit 1) as system_course_info_id_text, diff --git a/web/src/main/resources/templates/jlw/handsOn/index.html b/web/src/main/resources/templates/jlw/handsOn/index.html index 95e32ef0..dc52a0db 100644 --- a/web/src/main/resources/templates/jlw/handsOn/index.html +++ b/web/src/main/resources/templates/jlw/handsOn/index.html @@ -40,6 +40,17 @@ id="courseChildNode" name="courseChildNode" layFilter="select_courseInfoIds_"/>
+ +