| | |
| | | @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"> |
| | |
| | | <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> |
| | |
| | | <option value="">全部</option> |
| | | </#SelectCon> |
| | | </div> |
| | | @} |
| | | <div class="col-lg-4 col-sm-12"> |
| | | <#SelectCon id="coursePackageTypeId" name="课包类型"> |
| | | <option value="">全部</option> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | </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' |