mirror of https://gitee.com/stylefeng/guns
parent
a51bf2b3cf
commit
e313b9f222
@ -1,4 +1,4 @@
|
||||
package cn.stylefeng.guns.modular.system.user;
|
||||
package cn.stylefeng.guns.modular.system.online;
|
||||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
@ -0,0 +1 @@
|
||||
# 这里写具体项目的业务的代码
|
@ -1,19 +0,0 @@
|
||||
/**
|
||||
* 详情对话框
|
||||
*/
|
||||
var SysLogInfoDlg = {
|
||||
data: {
|
||||
logId: "",
|
||||
}
|
||||
};
|
||||
|
||||
layui.use(['layer', 'form', 'admin', 'laydate', 'HttpRequest', 'iconPicker'], function () {
|
||||
var $ = layui.jquery;
|
||||
var HttpRequest = layui.HttpRequest;
|
||||
var form = layui.form;
|
||||
|
||||
//获取菜单信息
|
||||
var request = new HttpRequest(Feng.ctxPath + "/logManager/detail?logId=" + Feng.getUrlParam("logId"), 'get');
|
||||
var sysLogResult = request.start();
|
||||
form.val('sysLogForm', sysLogResult.data);
|
||||
});
|
@ -0,0 +1 @@
|
||||
# 这里写具体项目的业务的代码
|
@ -1,50 +0,0 @@
|
||||
@layout("/layout/_container.html",{plugins:["sweet-alert"],js:["/assets/modular/system/user/user_chpwd.js"]}){
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="card card-outline-theme">
|
||||
<div class="card-header">
|
||||
<h4 class="m-b-0 text-white">修改密码</h4>
|
||||
</div>
|
||||
<div class="card-body" style="padding: 50px;">
|
||||
<div class="form-horizontal" id="passwordForm">
|
||||
<div class="form-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group row m-b-15">
|
||||
<label class="control-label text-left col-md-2 col-sm-5">旧密码</label>
|
||||
<div class="col-md-10 col-sm-7">
|
||||
<input type="password" v-model="oldPassword" class="form-control" autocomplete="false">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row m-b-15">
|
||||
<label class="control-label text-left col-md-2 col-sm-5">新密码</label>
|
||||
<div class="col-md-10 col-sm-7">
|
||||
<input type="password" v-model="newPassword" class="form-control" autocomplete="false">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row m-b-5">
|
||||
<label class="control-label text-left col-md-2 col-sm-5">确认新密码</label>
|
||||
<div class="col-md-10 col-sm-7">
|
||||
<input type="password" v-model="repeatPassword" class="form-control" autocomplete="false">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<button class="btn btn-info waves-effect" type="button" id="saveButton" \@click="ensure">
|
||||
<i class="ace-icon fa fa-check"></i> 保存
|
||||
</button>
|
||||
<button class="btn btn-danger waves-effect m-l-10" type="button" id="closeButton" \@click="reset">
|
||||
<i class="ace-icon fa fa-close"></i> 重置
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@}
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_container.html", {js:["/assets/modular/auth/app/app.js"]}){
|
||||
@layout("/layout/_container.html", {js:["/assets/modular/system/app/app.js"]}){
|
||||
|
||||
<div class="layui-body-header">
|
||||
<span class="layui-body-header-title">应用管理</span>
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/app/app_add.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/app/app_add.js"]}){
|
||||
|
||||
<form class="layui-form" id="appForm" lay-filter="appForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/app/app_edit.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/app/app_edit.js"]}){
|
||||
|
||||
<form class="layui-form" id="appForm" lay-filter="appForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/datasource/datasource.js"]}){
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/system/datasource/datasource.js"]}){
|
||||
|
||||
<div class="layui-body-header">
|
||||
<span class="layui-body-header-title">数据库信息表管理</span>
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/datasource/datasource_add.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/datasource/datasource_add.js"]}){
|
||||
<form class="layui-form" id="databaseInfoForm" lay-filter="databaseInfoForm">
|
||||
<div class="layui-fluid">
|
||||
<div class="layui-card">
|
@ -1,53 +0,0 @@
|
||||
@layout("/layout/_tree_container.html",{plugins:["jquery-layout"],js:["/assets/modular/system/dept/dept.js"]}){
|
||||
|
||||
<div class="layui-body-header">
|
||||
<span class="layui-body-header-title">部门管理</span>
|
||||
</div>
|
||||
|
||||
<div id="myContiner" style="height: 100%">
|
||||
<div class="ui-layout-west">
|
||||
<div class="box box-main">
|
||||
<div class="ui-layout-content">
|
||||
<div id="deptTree"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui-layout-center">
|
||||
<div class="layui-fluid">
|
||||
<div class="layui-row">
|
||||
<div class="layui-col-md12">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-form toolbar">
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<input id="name" class="layui-input" type="text" placeholder="部门名称"/>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button>
|
||||
@if(shiro.hasPermission("/dept/add")){
|
||||
<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon"></i>添加</button>
|
||||
@}
|
||||
<button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon"></i>导出</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="layui-table" id="deptTable" lay-filter="deptTable"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/html" id="tableBar">
|
||||
@if(shiro.hasPermission("/dept/update")){
|
||||
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
|
||||
@}
|
||||
@if(shiro.hasPermission("/dept/delete")){
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
|
||||
@}
|
||||
</script>
|
||||
@}
|
@ -1,51 +0,0 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/dept/dept_add.js"]}){
|
||||
|
||||
<form class="layui-form" id="deptForm" lay-filter="deptForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-header">基本信息</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-form-item layui-row">
|
||||
<input name="deptId" type="hidden"/>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">部门名称<span style="color: red;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input name="simpleName" placeholder="请输入部门名称" type="text" class="layui-input" lay-verify="required" required/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">上级名称<span style="color: red;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input id="pid" name="pid" type="hidden">
|
||||
<input id="pName" name="pName" placeholder="请输入上级名称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">部门全称<span style="color: red;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input id="fullName" name="fullName" placeholder="请输入部门全称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">备注</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="description" placeholder="请输入备注" type="text" class="layui-input"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">排序</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="sort" placeholder="请输入排序" type="text" class="layui-input"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group-bottom text-center">
|
||||
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog"> 取消 </button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@}
|
@ -1,51 +0,0 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/dept/dept_edit.js"]}){
|
||||
|
||||
<form class="layui-form" id="deptForm" lay-filter="deptForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-header">基本信息</div>
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-form-item layui-row">
|
||||
<input name="deptId" type="hidden"/>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">部门名称<span style="color: red;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input name="simpleName" placeholder="请输入部门名称" type="text" class="layui-input" lay-verify="required" required/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">上级名称<span style="color: red;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input id="pid" name="pid" type="hidden">
|
||||
<input id="pName" name="pName" placeholder="请输入上级名称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">部门全称<span style="color: red;">*</span></label>
|
||||
<div class="layui-input-block">
|
||||
<input id="fullName" name="fullName" placeholder="请输入部门全称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">备注</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="description" placeholder="请输入备注" type="text" class="layui-input"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">排序</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="sort" placeholder="请输入排序" type="text" class="layui-input"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group-bottom text-center">
|
||||
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog"> 取消 </button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@}
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/auth/menu/button.js"]}){
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/system/menu/button.js"]}){
|
||||
|
||||
|
||||
<div class="layui-body-header">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/menu/button_add.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/menu/button_add.js"]}){
|
||||
|
||||
<form class="layui-form" id="menuButtonForm" lay-filter="menuButtonForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/menu/button_edit.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/menu/button_edit.js"]}){
|
||||
|
||||
<form class="layui-form" id="menuButtonForm" lay-filter="menuButtonForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_container.html",{plugins:["ztree"], js:["/assets/modular/auth/menu/menu.js"]}){
|
||||
@layout("/layout/_container.html",{plugins:["ztree"], js:["/assets/modular/system/menu/menu.js"]}){
|
||||
|
||||
<div class="layui-body-header">
|
||||
<span class="layui-body-header-title">菜单管理</span>
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/menu/menu_add.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/menu/menu_add.js"]}){
|
||||
|
||||
<form class="layui-form" id="menuForm" lay-filter="menuForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/menu/menu_edit.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/menu/menu_edit.js"]}){
|
||||
|
||||
<form class="layui-form" id="menuForm" lay-filter="menuForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/auth/resource/resource.js"]}){
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/system/resource/resource.js"]}){
|
||||
|
||||
<div class="layui-body-header">
|
||||
<span class="layui-body-header-title">资源管理</span>
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/resource/resource_detail.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/resource/resource_detail.js"]}){
|
||||
|
||||
<form class="layui-form" id="resourceForm" lay-filter="resourceForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/auth/role/role.js"]}){
|
||||
@layout("/layout/_container.html",{js:["/assets/modular/system/role/role.js"]}){
|
||||
|
||||
<div class="layui-body-header">
|
||||
<span class="layui-body-header-title">角色管理</span>
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/role/role_add.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/role/role_add.js"]}){
|
||||
|
||||
<form class="layui-form" id="roleForm" lay-filter="roleForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/auth/role/role_edit.js"]}){
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/role/role_edit.js"]}){
|
||||
|
||||
<form class="layui-form" id="roleForm" lay-filter="roleForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
@ -1,4 +1,4 @@
|
||||
@layout("/layout/_form.html", {plugins:["ztree"], js:["/assets/modular/auth/role/role_edit_data_scope.js"]}){
|
||||
@layout("/layout/_form.html", {plugins:["ztree"], js:["/assets/modular/system/role/role_edit_data_scope.js"]}){
|
||||
|
||||
<form class="layui-form" id="roleForm" lay-filter="roleForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
Loading…
Reference in new issue