From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage.html | 40 +++++++++++++++------------------------- 1 files changed, 15 insertions(+), 25 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage.html index ed531c2..976fe8a 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/coursePackage/coursePackage.html @@ -1,5 +1,5 @@ @layout("/common/_container.html"){ -<link rel="stylesheet" href="${ctxPath}/static/js/layui/css/layui.css" media="all"> +<link rel="stylesheet" href="${ctxPath}/layui/css/layui.css" media="all"> <div class="row"> <div class="col-sm-12"> <div class="ibox float-e-margins"> @@ -12,6 +12,8 @@ <div class="row"> <div class="col-lg-10 col-sm-9"> <div class="row"> + @if(objectType==1){ + <div class="col-lg-4 col-sm-12" ${objectType == 3 ? 'style="display: none;"' : ''}> <#SelectCon id="provinceCode" name="所在省"> <option value="">全部</option> @@ -25,6 +27,7 @@ <option value="">全部</option> </#SelectCon> </div> + @} <div class="col-lg-4 col-sm-12"> <#SelectCon id="coursePackageTypeId" name="课包类型"> <option value="">全部</option> @@ -36,14 +39,7 @@ <div class="col-lg-4 col-sm-12"> <#NameCon id="name" name="课包名称"/> </div> - <div class="col-lg-4 col-sm-12"> - <#SelectCon id="status" name="课包状态"> - <option value="">全部</option> - <option value="1">未开始</option> - <option value="2">售卖中</option> - <option value="3">已结束</option> - </#SelectCon> - </div> + <div class="col-lg-4 col-sm-12" ${objectType == 3 ? 'style="display: none;"' : ''}> <#SelectCon id="state" name="售卖状态"> <option value="">全部</option> @@ -63,27 +59,21 @@ </div> </div> <div class="hidden-xs" id="managerTableToolbar" role="group"> - @if(shiro.hasPermission("/coursePackage/addCoursePackage")){ - <#button name="添加" icon="fa-plus" clickFun="CoursePackage.addCoursePackage()"/> - @} - @if(shiro.hasPermission("/coursePackage/editCoursePackage")){ + @if(objectType !=3){ + <#button name="添加" icon="fa-plus" clickFun="CoursePackage.addCoursePackage1()"/> +<!-- <#button name="添加" icon="fa-plus" clickFun="CoursePackage.addCoursePackage()"/>--> <#button name="编辑" icon="fa-edit" clickFun="CoursePackage.editCoursePackage()" space="true"/> - @} - @if(shiro.hasPermission("/coursePackage/upCoursePackage")){ <#button name="上架" icon="fa-refresh" clickFun="CoursePackage.editCoursePackageState(1)" space="true"/> - @} - @if(shiro.hasPermission("/coursePackage/downCoursePackage")){ <#button name="下架" icon="fa-warning" clickFun="CoursePackage.editCoursePackageState(2)" space="true"/> - @} - @if(shiro.hasPermission("/coursePackage/coursePackageDiscount")){ - <#button name="折扣管理" icon="fa-check-circle" clickFun="CoursePackage.detailsCoursePackage()" space="true"/> - @} - @if(shiro.hasPermission("/coursePackage/detailsCoursePackage")){ + <#button name="折扣管理" icon="fa-check-circle" clickFun="CoursePackage.coursePackageDiscount()" space="true"/> <#button name="详情" icon="fa-check-circle" clickFun="CoursePackage.detailsCoursePackage()" space="true"/> @} - @if(shiro.hasPermission("/coursePackage/registrationRecord")){ - <#button name="报名信息" icon="fa-check-circle" clickFun="CoursePackage.detailsCoursePackage()" space="true"/> + <#button name="报名信息" icon="fa-check-circle" clickFun="CoursePackage.registrationRecord()" space="true"/> + @if(objectType !=3){ + <#button name="暂停" icon="fa-refresh" clickFun="CoursePackage.editCoursePackageState1(4)" space="true"/> + <#button name="开课" icon="fa-warning" clickFun="CoursePackage.editCoursePackageState1(1)" space="true"/> @} + </div> <#table id="managerTable"/> </div> @@ -93,7 +83,7 @@ </div> </div> <script src="${ctxPath}/modular/system/coursePackage/coursePackage.js"></script> -<script src="${ctxPath}/js/layui/layui.js" charset="utf-8"></script> +<script src="${ctxPath}/layui/layui.js" charset="utf-8"></script> <script> laydate.render({ elem: '#beginTime' -- Gitblit v1.7.1