From 68fc14288753d22fb77cdea3376794814e46ca04 Mon Sep 17 00:00:00 2001 From: wrui Date: Wed, 12 Jun 2019 10:26:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E7=A4=BA=E4=BE=8B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/controller/DemoDialogController.java | 80 - .../demo/controller/DemoFormController.java | 243 --- .../demo/controller/DemoIconController.java | 35 - .../controller/DemoOperateController.java | 303 --- .../demo/controller/DemoReportController.java | 53 - .../demo/controller/DemoTableController.java | 367 ---- .../demo/domain/UserOperateModel.java | 147 -- .../web/controller/tool/TestController.java | 175 -- .../templates/demo/form/autocomplete.html | 322 --- .../resources/templates/demo/form/basic.html | 593 ----- .../resources/templates/demo/form/button.html | 620 ------ .../templates/demo/form/datetime.html | 235 -- .../templates/demo/form/duallistbox.html | 60 - .../resources/templates/demo/form/grid.html | 432 ---- .../resources/templates/demo/form/jasny.html | 118 - .../resources/templates/demo/form/select.html | 259 --- .../templates/demo/form/sortable.html | 198 -- .../templates/demo/form/tabs_panels.html | 353 --- .../resources/templates/demo/form/upload.html | 55 - .../templates/demo/form/validate.html | 193 -- .../resources/templates/demo/form/wizard.html | 192 -- .../templates/demo/icon/fontawesome.html | 1944 ----------------- .../templates/demo/icon/glyphicons.html | 1364 ------------ .../templates/demo/modal/dialog.html | 215 -- .../resources/templates/demo/modal/form.html | 95 - .../resources/templates/demo/modal/layer.html | 245 --- .../resources/templates/demo/modal/table.html | 56 - .../templates/demo/modal/table/check.html | 86 - .../templates/demo/modal/table/parent.html | 90 - .../templates/demo/modal/table/radio.html | 86 - .../resources/templates/demo/operate/add.html | 78 - .../templates/demo/operate/detail.html | 69 - .../templates/demo/operate/edit.html | 79 - .../templates/demo/operate/other.html | 9 - .../templates/demo/operate/table.html | 123 -- .../templates/demo/report/echarts.html | 1494 ------------- .../templates/demo/report/metrics.html | 478 ---- .../templates/demo/report/peity.html | 206 -- .../templates/demo/report/sparkline.html | 232 -- .../templates/demo/table/button.html | 92 - .../templates/demo/table/detail.html | 86 - .../resources/templates/demo/table/event.html | 107 - .../templates/demo/table/export.html | 80 - .../templates/demo/table/fixedColumns.html | 143 -- .../templates/demo/table/footer.html | 83 - .../templates/demo/table/groupHeader.html | 80 - .../resources/templates/demo/table/image.html | 80 - .../resources/templates/demo/table/multi.html | 150 -- .../resources/templates/demo/table/other.html | 106 - .../templates/demo/table/pageGo.html | 77 - .../templates/demo/table/params.html | 158 -- .../templates/demo/table/remember.html | 89 - .../templates/demo/table/search.html | 168 -- 53 files changed, 13481 deletions(-) delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoDialogController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoIconController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoOperateController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoReportController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoTableController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/domain/UserOperateModel.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/TestController.java delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/autocomplete.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/basic.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/button.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/datetime.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/grid.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/jasny.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/select.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/sortable.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/tabs_panels.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/upload.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/validate.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/form/wizard.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/icon/fontawesome.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/icon/glyphicons.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/dialog.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/form.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/layer.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/table.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/table/check.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/table/parent.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/modal/table/radio.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/operate/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/operate/detail.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/operate/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/operate/other.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/operate/table.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/report/echarts.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/report/metrics.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/report/peity.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/report/sparkline.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/button.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/detail.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/event.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/export.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/fixedColumns.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/footer.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/groupHeader.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/image.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/multi.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/other.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/pageGo.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/params.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/remember.html delete mode 100644 ruoyi-admin/src/main/resources/templates/demo/table/search.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoDialogController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoDialogController.java deleted file mode 100644 index 78d6da74b..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoDialogController.java +++ /dev/null @@ -1,80 +0,0 @@ -package com.ruoyi.web.controller.demo.controller; - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; - -/** - * 模态窗口 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/demo/modal") -public class DemoDialogController -{ - private String prefix = "demo/modal"; - - /** - * 模态窗口 - */ - @GetMapping("/dialog") - public String dialog() - { - return prefix + "/dialog"; - } - - /** - * 弹层组件 - */ - @GetMapping("/layer") - public String layer() - { - return prefix + "/layer"; - } - - /** - * 表单 - */ - @GetMapping("/form") - public String form() - { - return prefix + "/form"; - } - - /** - * 表格 - */ - @GetMapping("/table") - public String table() - { - return prefix + "/table"; - } - - /** - * 表格check - */ - @GetMapping("/check") - public String check() - { - return prefix + "/table/check"; - } - - /** - * 表格radio - */ - @GetMapping("/radio") - public String radio() - { - return prefix + "/table/radio"; - } - - /** - * 表格回传父窗体 - */ - @GetMapping("/parent") - public String parent() - { - return prefix + "/table/parent"; - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java deleted file mode 100644 index 264b5e12d..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoFormController.java +++ /dev/null @@ -1,243 +0,0 @@ -package com.ruoyi.web.controller.demo.controller; - -import java.util.ArrayList; -import java.util.List; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import com.ruoyi.common.core.domain.AjaxResult; - -/** - * 表单相关 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/demo/form") -public class DemoFormController -{ - private String prefix = "demo/form"; - - private final static List users = new ArrayList(); - { - users.add(new UserFormModel(1, "1000001", "测试1", "15888888888")); - users.add(new UserFormModel(2, "1000002", "测试2", "15666666666")); - users.add(new UserFormModel(3, "1000003", "测试3", "15666666666")); - users.add(new UserFormModel(4, "1000004", "测试4", "15666666666")); - users.add(new UserFormModel(5, "1000005", "测试5", "15666666666")); - } - - /** - * 按钮页 - */ - @GetMapping("/button") - public String button() - { - return prefix + "/button"; - } - - /** - * 下拉框 - */ - @GetMapping("/select") - public String select() - { - return prefix + "/select"; - } - - /** - * 表单校验 - */ - @GetMapping("/validate") - public String validate() - { - return prefix + "/validate"; - } - - /** - * 功能扩展(包含文件上传) - */ - @GetMapping("/jasny") - public String jasny() - { - return prefix + "/jasny"; - } - - /** - * 拖动排序 - */ - @GetMapping("/sortable") - public String sortable() - { - return prefix + "/sortable"; - } - - /** - * 选项卡 & 面板 - */ - @GetMapping("/tabs_panels") - public String tabs_panels() - { - return prefix + "/tabs_panels"; - } - - /** - * 栅格 - */ - @GetMapping("/grid") - public String grid() - { - return prefix + "/grid"; - } - - /** - * 表单向导 - */ - @GetMapping("/wizard") - public String wizard() - { - return prefix + "/wizard"; - } - - /** - * 文件上传 - */ - @GetMapping("/upload") - public String upload() - { - return prefix + "/upload"; - } - - /** - * 日期和时间页 - */ - @GetMapping("/datetime") - public String datetime() - { - return prefix + "/datetime"; - } - - /** - * 左右互选组件 - */ - @GetMapping("/duallistbox") - public String duallistbox() - { - return prefix + "/duallistbox"; - } - - /** - * 基本表单 - */ - @GetMapping("/basic") - public String basic() - { - return prefix + "/basic"; - } - - /** - * 搜索自动补全 - */ - @GetMapping("/autocomplete") - public String autocomplete() - { - return prefix + "/autocomplete"; - } - - /** - * 获取用户数据 - */ - @GetMapping("/userModel") - @ResponseBody - public AjaxResult userModel() - { - AjaxResult ajax = new AjaxResult(); - - ajax.put("code", 200); - ajax.put("value", users); - return ajax; - } - - /** - * 获取数据集合 - */ - @GetMapping("/collection") - @ResponseBody - public AjaxResult collection() - { - String[] array = { "ruoyi 1", "ruoyi 2", "ruoyi 3", "ruoyi 4", "ruoyi 5" }; - AjaxResult ajax = new AjaxResult(); - ajax.put("value", array); - return ajax; - } -} - -class UserFormModel -{ - /** 用户ID */ - private int userId; - - /** 用户编号 */ - private String userCode; - - /** 用户姓名 */ - private String userName; - - /** 用户手机 */ - private String userPhone; - - public UserFormModel() - { - - } - - public UserFormModel(int userId, String userCode, String userName, String userPhone) - { - this.userId = userId; - this.userCode = userCode; - this.userName = userName; - this.userPhone = userPhone; - } - - public int getUserId() - { - return userId; - } - - public void setUserId(int userId) - { - this.userId = userId; - } - - public String getUserCode() - { - return userCode; - } - - public void setUserCode(String userCode) - { - this.userCode = userCode; - } - - public String getUserName() - { - return userName; - } - - public void setUserName(String userName) - { - this.userName = userName; - } - - public String getUserPhone() - { - return userPhone; - } - - public void setUserPhone(String userPhone) - { - this.userPhone = userPhone; - } - -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoIconController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoIconController.java deleted file mode 100644 index 490c3e061..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoIconController.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.ruoyi.web.controller.demo.controller; - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; - -/** - * 图标相关 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/demo/icon") -public class DemoIconController -{ - private String prefix = "demo/icon"; - - /** - * FontAwesome图标 - */ - @GetMapping("/fontawesome") - public String fontAwesome() - { - return prefix + "/fontawesome"; - } - - /** - * Glyphicons图标 - */ - @GetMapping("/glyphicons") - public String glyphicons() - { - return prefix + "/glyphicons"; - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoOperateController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoOperateController.java deleted file mode 100644 index 8c35b23eb..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoOperateController.java +++ /dev/null @@ -1,303 +0,0 @@ -package com.ruoyi.web.controller.demo.controller; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.multipart.MultipartFile; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.page.PageDomain; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.core.page.TableSupport; -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.common.exception.BusinessException; -import com.ruoyi.common.utils.StringUtils; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.web.controller.demo.domain.UserOperateModel; - -/** - * 操作控制 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/demo/operate") -public class DemoOperateController extends BaseController -{ - private String prefix = "demo/operate"; - - private final static Map users = new LinkedHashMap(); - { - users.put(1, new UserOperateModel(1, "1000001", "测试1", "0", "15888888888", "ry@qq.com", 150.0, "0")); - users.put(2, new UserOperateModel(2, "1000002", "测试2", "1", "15666666666", "ry@qq.com", 180.0, "1")); - users.put(3, new UserOperateModel(3, "1000003", "测试3", "0", "15666666666", "ry@qq.com", 110.0, "1")); - users.put(4, new UserOperateModel(4, "1000004", "测试4", "1", "15666666666", "ry@qq.com", 220.0, "1")); - users.put(5, new UserOperateModel(5, "1000005", "测试5", "0", "15666666666", "ry@qq.com", 140.0, "1")); - users.put(6, new UserOperateModel(6, "1000006", "测试6", "1", "15666666666", "ry@qq.com", 330.0, "1")); - users.put(7, new UserOperateModel(7, "1000007", "测试7", "0", "15666666666", "ry@qq.com", 160.0, "1")); - users.put(8, new UserOperateModel(8, "1000008", "测试8", "1", "15666666666", "ry@qq.com", 170.0, "1")); - users.put(9, new UserOperateModel(9, "1000009", "测试9", "0", "15666666666", "ry@qq.com", 180.0, "1")); - users.put(10, new UserOperateModel(10, "1000010", "测试10", "0", "15666666666", "ry@qq.com", 210.0, "1")); - users.put(11, new UserOperateModel(11, "1000011", "测试11", "1", "15666666666", "ry@qq.com", 110.0, "1")); - users.put(12, new UserOperateModel(12, "1000012", "测试12", "0", "15666666666", "ry@qq.com", 120.0, "1")); - users.put(13, new UserOperateModel(13, "1000013", "测试13", "1", "15666666666", "ry@qq.com", 380.0, "1")); - users.put(14, new UserOperateModel(14, "1000014", "测试14", "0", "15666666666", "ry@qq.com", 280.0, "1")); - users.put(15, new UserOperateModel(15, "1000015", "测试15", "0", "15666666666", "ry@qq.com", 570.0, "1")); - users.put(16, new UserOperateModel(16, "1000016", "测试16", "1", "15666666666", "ry@qq.com", 260.0, "1")); - users.put(17, new UserOperateModel(17, "1000017", "测试17", "1", "15666666666", "ry@qq.com", 210.0, "1")); - users.put(18, new UserOperateModel(18, "1000018", "测试18", "1", "15666666666", "ry@qq.com", 340.0, "1")); - users.put(19, new UserOperateModel(19, "1000019", "测试19", "1", "15666666666", "ry@qq.com", 160.0, "1")); - users.put(20, new UserOperateModel(20, "1000020", "测试20", "1", "15666666666", "ry@qq.com", 220.0, "1")); - users.put(21, new UserOperateModel(21, "1000021", "测试21", "1", "15666666666", "ry@qq.com", 120.0, "1")); - users.put(22, new UserOperateModel(22, "1000022", "测试22", "1", "15666666666", "ry@qq.com", 130.0, "1")); - users.put(23, new UserOperateModel(23, "1000023", "测试23", "1", "15666666666", "ry@qq.com", 490.0, "1")); - users.put(24, new UserOperateModel(24, "1000024", "测试24", "1", "15666666666", "ry@qq.com", 570.0, "1")); - users.put(25, new UserOperateModel(25, "1000025", "测试25", "1", "15666666666", "ry@qq.com", 250.0, "1")); - users.put(26, new UserOperateModel(26, "1000026", "测试26", "1", "15666666666", "ry@qq.com", 250.0, "1")); - } - - /** - * 表格 - */ - @GetMapping("/table") - public String table() - { - return prefix + "/table"; - } - - /** - * 其他 - */ - @GetMapping("/other") - public String other() - { - return prefix + "/other"; - } - - /** - * 查询数据 - */ - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(UserOperateModel userModel) - { - TableDataInfo rspData = new TableDataInfo(); - List userList = new ArrayList(users.values()); - // 查询条件过滤 - if (StringUtils.isNotEmpty(userModel.getSearchValue())) - { - userList.clear(); - for (Map.Entry entry : users.entrySet()) - { - if (entry.getValue().getUserName().equals(userModel.getSearchValue())) - { - userList.add(entry.getValue()); - } - } - } - PageDomain pageDomain = TableSupport.buildPageRequest(); - if (null == pageDomain.getPageNum() || null == pageDomain.getPageSize()) - { - rspData.setRows(userList); - rspData.setTotal(userList.size()); - return rspData; - } - Integer pageNum = (pageDomain.getPageNum() - 1) * 10; - Integer pageSize = pageDomain.getPageNum() * 10; - if (pageSize > userList.size()) - { - pageSize = userList.size(); - } - rspData.setRows(userList.subList(pageNum, pageSize)); - rspData.setTotal(userList.size()); - return rspData; - } - - /** - * 新增用户 - */ - @GetMapping("/add") - public String add(ModelMap mmap) - { - return prefix + "/add"; - } - - /** - * 新增保存用户 - */ - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(UserOperateModel user) - { - Integer userId = users.size() + 1; - user.setUserId(userId); - return AjaxResult.success(users.put(userId, user)); - } - - /** - * 修改用户 - */ - @GetMapping("/edit/{userId}") - public String edit(@PathVariable("userId") Integer userId, ModelMap mmap) - { - mmap.put("user", users.get(userId)); - return prefix + "/edit"; - } - - /** - * 修改保存用户 - */ - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(UserOperateModel user) - { - return AjaxResult.success(users.put(user.getUserId(), user)); - } - - /** - * 导出 - */ - @PostMapping("/export") - @ResponseBody - public AjaxResult export(UserOperateModel user) - { - List list = new ArrayList(users.values()); - ExcelUtil util = new ExcelUtil(UserOperateModel.class); - return util.exportExcel(list, "用户数据"); - } - - /** - * 下载模板 - */ - @GetMapping("/importTemplate") - @ResponseBody - public AjaxResult importTemplate() - { - ExcelUtil util = new ExcelUtil(UserOperateModel.class); - return util.importTemplateExcel("用户数据"); - } - - /** - * 导入数据 - */ - @PostMapping("/importData") - @ResponseBody - public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception - { - ExcelUtil util = new ExcelUtil(UserOperateModel.class); - List userList = util.importExcel(file.getInputStream()); - String message = importUser(userList, updateSupport); - return AjaxResult.success(message); - } - - /** - * 删除用户 - */ - @PostMapping("/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - Integer[] userIds = Convert.toIntArray(ids); - for (Integer userId : userIds) - { - users.remove(userId); - } - return AjaxResult.success(); - } - - /** - * 查看详细 - */ - @GetMapping("/detail/{userId}") - public String detail(@PathVariable("userId") Integer userId, ModelMap mmap) - { - mmap.put("user", users.get(userId)); - return prefix + "/detail"; - } - - @PostMapping("/clean") - @ResponseBody - public AjaxResult clean() - { - users.clear(); - return success(); - } - - /** - * 导入用户数据 - * - * @param userList 用户数据列表 - * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据 - * @return 结果 - */ - public String importUser(List userList, Boolean isUpdateSupport) - { - if (StringUtils.isNull(userList) || userList.size() == 0) - { - throw new BusinessException("导入用户数据不能为空!"); - } - int successNum = 0; - int failureNum = 0; - StringBuilder successMsg = new StringBuilder(); - StringBuilder failureMsg = new StringBuilder(); - for (UserOperateModel user : userList) - { - try - { - // 验证是否存在这个用户 - boolean userFlag = false; - for (Map.Entry entry : users.entrySet()) - { - if (entry.getValue().getUserName().equals(user.getUserName())) - { - userFlag = true; - break; - } - } - if (!userFlag) - { - Integer userId = users.size() + 1; - user.setUserId(userId); - users.put(userId, user); - successNum++; - successMsg.append("
" + successNum + "、用户 " + user.getUserName() + " 导入成功"); - } - else if (isUpdateSupport) - { - users.put(user.getUserId(), user); - successNum++; - successMsg.append("
" + successNum + "、用户 " + user.getUserName() + " 更新成功"); - } - else - { - failureNum++; - failureMsg.append("
" + failureNum + "、用户 " + user.getUserName() + " 已存在"); - } - } - catch (Exception e) - { - failureNum++; - String msg = "
" + failureNum + "、账号 " + user.getUserName() + " 导入失败:"; - failureMsg.append(msg + e.getMessage()); - } - } - if (failureNum > 0) - { - failureMsg.insert(0, "很抱歉,导入失败!共 " + failureNum + " 条数据格式不正确,错误如下:"); - throw new BusinessException(failureMsg.toString()); - } - else - { - successMsg.insert(0, "恭喜您,数据已全部导入成功!共 " + successNum + " 条,数据如下:"); - } - return successMsg.toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoReportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoReportController.java deleted file mode 100644 index 318e8f08b..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoReportController.java +++ /dev/null @@ -1,53 +0,0 @@ -package com.ruoyi.web.controller.demo.controller; - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; - -/** - * 报表 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/demo/report") -public class DemoReportController -{ - private String prefix = "demo/report"; - - /** - * 百度ECharts - */ - @GetMapping("/echarts") - public String echarts() - { - return prefix + "/echarts"; - } - - /** - * 图表插件 - */ - @GetMapping("/peity") - public String peity() - { - return prefix + "/peity"; - } - - /** - * 线状图插件 - */ - @GetMapping("/sparkline") - public String sparkline() - { - return prefix + "/sparkline"; - } - - /** - * 图表组合 - */ - @GetMapping("/metrics") - public String metrics() - { - return prefix + "/metrics"; - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoTableController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoTableController.java deleted file mode 100644 index 02e735e18..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/DemoTableController.java +++ /dev/null @@ -1,367 +0,0 @@ -package com.ruoyi.web.controller.demo.controller; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.Date; -import java.util.List; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.page.PageDomain; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.core.page.TableSupport; -import com.ruoyi.common.utils.DateUtils; -import com.ruoyi.common.utils.StringUtils; - -/** - * 表格相关 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/demo/table") -public class DemoTableController extends BaseController -{ - private String prefix = "demo/table"; - - private final static List users = new ArrayList(); - { - users.add(new UserTableModel(1, "1000001", "测试1", "0", "15888888888", "ry@qq.com", 150.0, "0")); - users.add(new UserTableModel(2, "1000002", "测试2", "1", "15666666666", "ry@qq.com", 180.0, "1")); - users.add(new UserTableModel(3, "1000003", "测试3", "0", "15666666666", "ry@qq.com", 110.0, "1")); - users.add(new UserTableModel(4, "1000004", "测试4", "1", "15666666666", "ry@qq.com", 220.0, "1")); - users.add(new UserTableModel(5, "1000005", "测试5", "0", "15666666666", "ry@qq.com", 140.0, "1")); - users.add(new UserTableModel(6, "1000006", "测试6", "1", "15666666666", "ry@qq.com", 330.0, "1")); - users.add(new UserTableModel(7, "1000007", "测试7", "0", "15666666666", "ry@qq.com", 160.0, "1")); - users.add(new UserTableModel(8, "1000008", "测试8", "1", "15666666666", "ry@qq.com", 170.0, "1")); - users.add(new UserTableModel(9, "1000009", "测试9", "0", "15666666666", "ry@qq.com", 180.0, "1")); - users.add(new UserTableModel(10, "1000010", "测试10", "0", "15666666666", "ry@qq.com", 210.0, "1")); - users.add(new UserTableModel(11, "1000011", "测试11", "1", "15666666666", "ry@qq.com", 110.0, "1")); - users.add(new UserTableModel(12, "1000012", "测试12", "0", "15666666666", "ry@qq.com", 120.0, "1")); - users.add(new UserTableModel(13, "1000013", "测试13", "1", "15666666666", "ry@qq.com", 380.0, "1")); - users.add(new UserTableModel(14, "1000014", "测试14", "0", "15666666666", "ry@qq.com", 280.0, "1")); - users.add(new UserTableModel(15, "1000015", "测试15", "0", "15666666666", "ry@qq.com", 570.0, "1")); - users.add(new UserTableModel(16, "1000016", "测试16", "1", "15666666666", "ry@qq.com", 260.0, "1")); - users.add(new UserTableModel(17, "1000017", "测试17", "1", "15666666666", "ry@qq.com", 210.0, "1")); - users.add(new UserTableModel(18, "1000018", "测试18", "1", "15666666666", "ry@qq.com", 340.0, "1")); - users.add(new UserTableModel(19, "1000019", "测试19", "1", "15666666666", "ry@qq.com", 160.0, "1")); - users.add(new UserTableModel(20, "1000020", "测试20", "1", "15666666666", "ry@qq.com", 220.0, "1")); - users.add(new UserTableModel(21, "1000021", "测试21", "1", "15666666666", "ry@qq.com", 120.0, "1")); - users.add(new UserTableModel(22, "1000022", "测试22", "1", "15666666666", "ry@qq.com", 130.0, "1")); - users.add(new UserTableModel(23, "1000023", "测试23", "1", "15666666666", "ry@qq.com", 490.0, "1")); - users.add(new UserTableModel(24, "1000024", "测试24", "1", "15666666666", "ry@qq.com", 570.0, "1")); - users.add(new UserTableModel(25, "1000025", "测试25", "1", "15666666666", "ry@qq.com", 250.0, "1")); - users.add(new UserTableModel(26, "1000026", "测试26", "1", "15666666666", "ry@qq.com", 250.0, "1")); - } - - /** - * 搜索相关 - */ - @GetMapping("/search") - public String search() - { - return prefix + "/search"; - } - - /** - * 数据汇总 - */ - @GetMapping("/footer") - public String footer() - { - return prefix + "/footer"; - } - - /** - * 组合表头 - */ - @GetMapping("/groupHeader") - public String groupHeader() - { - return prefix + "/groupHeader"; - } - - /** - * 表格导出 - */ - @GetMapping("/export") - public String export() - { - return prefix + "/export"; - } - - /** - * 翻页记住选择 - */ - @GetMapping("/remember") - public String remember() - { - return prefix + "/remember"; - } - - /** - * 跳转至指定页 - */ - @GetMapping("/pageGo") - public String pageGo() - { - return prefix + "/pageGo"; - } - - /** - * 自定义查询参数 - */ - @GetMapping("/params") - public String params() - { - return prefix + "/params"; - } - - /** - * 多表格 - */ - @GetMapping("/multi") - public String multi() - { - return prefix + "/multi"; - } - - /** - * 点击按钮加载表格 - */ - @GetMapping("/button") - public String button() - { - return prefix + "/button"; - } - - /** - * 表格冻结列 - */ - @GetMapping("/fixedColumns") - public String fixedColumns() - { - return prefix + "/fixedColumns"; - } - - /** - * 自定义触发事件 - */ - @GetMapping("/event") - public String event() - { - return prefix + "/event"; - } - - /** - * 表格细节视图 - */ - @GetMapping("/detail") - public String detail() - { - return prefix + "/detail"; - } - - /** - * 表格图片预览 - */ - @GetMapping("/image") - public String image() - { - return prefix + "/image"; - } - - /** - * 表格其他操作 - */ - @GetMapping("/other") - public String other() - { - return prefix + "/other"; - } - - /** - * 查询数据 - */ - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(UserTableModel userModel) - { - TableDataInfo rspData = new TableDataInfo(); - List userList = new ArrayList(Arrays.asList(new UserTableModel[users.size()])); - Collections.copy(userList, users); - // 查询条件过滤 - if (StringUtils.isNotEmpty(userModel.getUserName())) - { - userList.clear(); - for (UserTableModel user : users) - { - if (user.getUserName().equals(userModel.getUserName())) - { - userList.add(user); - } - } - } - PageDomain pageDomain = TableSupport.buildPageRequest(); - if (null == pageDomain.getPageNum() || null == pageDomain.getPageSize()) - { - rspData.setRows(userList); - rspData.setTotal(userList.size()); - return rspData; - } - Integer pageNum = (pageDomain.getPageNum() - 1) * 10; - Integer pageSize = pageDomain.getPageNum() * 10; - if (pageSize > userList.size()) - { - pageSize = userList.size(); - } - rspData.setRows(userList.subList(pageNum, pageSize)); - rspData.setTotal(userList.size()); - return rspData; - } -} - -class UserTableModel -{ - /** 用户ID */ - private int userId; - - /** 用户编号 */ - private String userCode; - - /** 用户姓名 */ - private String userName; - - /** 用户性别 */ - private String userSex; - - /** 用户手机 */ - private String userPhone; - - /** 用户邮箱 */ - private String userEmail; - - /** 用户余额 */ - private double userBalance; - - /** 用户状态(0正常 1停用) */ - private String status; - - /** 创建时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") - private Date createTime; - - public UserTableModel() - { - - } - - public UserTableModel(int userId, String userCode, String userName, String userSex, String userPhone, - String userEmail, double userBalance, String status) - { - this.userId = userId; - this.userCode = userCode; - this.userName = userName; - this.userSex = userSex; - this.userPhone = userPhone; - this.userEmail = userEmail; - this.userBalance = userBalance; - this.status = status; - this.createTime = DateUtils.getNowDate(); - } - - public int getUserId() - { - return userId; - } - - public void setUserId(int userId) - { - this.userId = userId; - } - - public String getUserCode() - { - return userCode; - } - - public void setUserCode(String userCode) - { - this.userCode = userCode; - } - - public String getUserName() - { - return userName; - } - - public void setUserName(String userName) - { - this.userName = userName; - } - - public String getUserSex() - { - return userSex; - } - - public void setUserSex(String userSex) - { - this.userSex = userSex; - } - - public String getUserPhone() - { - return userPhone; - } - - public void setUserPhone(String userPhone) - { - this.userPhone = userPhone; - } - - public String getUserEmail() - { - return userEmail; - } - - public void setUserEmail(String userEmail) - { - this.userEmail = userEmail; - } - - public double getUserBalance() - { - return userBalance; - } - - public void setUserBalance(double userBalance) - { - this.userBalance = userBalance; - } - - public String getStatus() - { - return status; - } - - public void setStatus(String status) - { - this.status = status; - } - - public Date getCreateTime() - { - return createTime; - } - - public void setCreateTime(Date createTime) - { - this.createTime = createTime; - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/domain/UserOperateModel.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/domain/UserOperateModel.java deleted file mode 100644 index ac95abf2f..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/domain/UserOperateModel.java +++ /dev/null @@ -1,147 +0,0 @@ -package com.ruoyi.web.controller.demo.domain; - -import java.util.Date; -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.annotation.Excel.Type; -import com.ruoyi.common.core.domain.BaseEntity; -import com.ruoyi.common.utils.DateUtils; - -public class UserOperateModel extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - private int userId; - - @Excel(name = "用户编号") - private String userCode; - - @Excel(name = "用户姓名") - private String userName; - - @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知") - private String userSex; - - @Excel(name = "用户手机") - private String userPhone; - - @Excel(name = "用户邮箱") - private String userEmail; - - @Excel(name = "用户余额") - private double userBalance; - - @Excel(name = "用户状态", readConverterExp = "0=正常,1=停用") - private String status; - - @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT) - private Date createTime; - - public UserOperateModel() - { - - } - - public UserOperateModel(int userId, String userCode, String userName, String userSex, String userPhone, - String userEmail, double userBalance, String status) - { - this.userId = userId; - this.userCode = userCode; - this.userName = userName; - this.userSex = userSex; - this.userPhone = userPhone; - this.userEmail = userEmail; - this.userBalance = userBalance; - this.status = status; - this.createTime = DateUtils.getNowDate(); - } - - public int getUserId() - { - return userId; - } - - public void setUserId(int userId) - { - this.userId = userId; - } - - public String getUserCode() - { - return userCode; - } - - public void setUserCode(String userCode) - { - this.userCode = userCode; - } - - public String getUserName() - { - return userName; - } - - public void setUserName(String userName) - { - this.userName = userName; - } - - public String getUserSex() - { - return userSex; - } - - public void setUserSex(String userSex) - { - this.userSex = userSex; - } - - public String getUserPhone() - { - return userPhone; - } - - public void setUserPhone(String userPhone) - { - this.userPhone = userPhone; - } - - public String getUserEmail() - { - return userEmail; - } - - public void setUserEmail(String userEmail) - { - this.userEmail = userEmail; - } - - public double getUserBalance() - { - return userBalance; - } - - public void setUserBalance(double userBalance) - { - this.userBalance = userBalance; - } - - public String getStatus() - { - return status; - } - - public void setStatus(String status) - { - this.status = status; - } - - public Date getCreateTime() - { - return createTime; - } - - public void setCreateTime(Date createTime) - { - this.createTime = createTime; - } -} \ No newline at end of file diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/TestController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/TestController.java deleted file mode 100644 index bddbe7789..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/TestController.java +++ /dev/null @@ -1,175 +0,0 @@ -package com.ruoyi.web.controller.tool; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.utils.StringUtils; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiImplicitParam; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import io.swagger.annotations.ApiOperation; - -/** - * swagger 用户测试方法 - * - * @author ruoyi - */ -@Api("用户信息管理") -@RestController -@RequestMapping("/test/user") -public class TestController extends BaseController -{ - private final static Map users = new LinkedHashMap(); - { - users.put(1, new UserEntity(1, "admin", "admin123", "15888888888")); - users.put(2, new UserEntity(2, "ry", "admin123", "15666666666")); - } - - @ApiOperation("获取用户列表") - @GetMapping("/list") - public AjaxResult userList() - { - List userList = new ArrayList(users.values()); - return AjaxResult.success(userList); - } - - @ApiOperation("获取用户详细") - @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path") - @GetMapping("/{userId}") - public AjaxResult getUser(@PathVariable Integer userId) - { - if (!users.isEmpty() && users.containsKey(userId)) - { - return AjaxResult.success(users.get(userId)); - } - else - { - return error("用户不存在"); - } - } - - @ApiOperation("新增用户") - @ApiImplicitParam(name = "userEntity", value = "新增用户信息", dataType = "UserEntity") - @PostMapping("/save") - public AjaxResult save(UserEntity user) - { - if (StringUtils.isNull(user) || StringUtils.isNull(user.getUserId())) - { - return error("用户ID不能为空"); - } - return AjaxResult.success(users.put(user.getUserId(), user)); - } - - @ApiOperation("更新用户") - @ApiImplicitParam(name = "userEntity", value = "新增用户信息", dataType = "UserEntity") - @PutMapping("/update") - public AjaxResult update(UserEntity user) - { - if (StringUtils.isNull(user) || StringUtils.isNull(user.getUserId())) - { - return error("用户ID不能为空"); - } - if (users.isEmpty() || !users.containsKey(user.getUserId())) - { - return error("用户不存在"); - } - users.remove(user.getUserId()); - return AjaxResult.success(users.put(user.getUserId(), user)); - } - - @ApiOperation("删除用户信息") - @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path") - @DeleteMapping("/{userId}") - public AjaxResult delete(@PathVariable Integer userId) - { - if (!users.isEmpty() && users.containsKey(userId)) - { - users.remove(userId); - return success(); - } - else - { - return error("用户不存在"); - } - } -} - -@ApiModel("用户实体") -class UserEntity -{ - @ApiModelProperty("用户ID") - private Integer userId; - - @ApiModelProperty("用户名称") - private String username; - - @ApiModelProperty("用户密码") - private String password; - - @ApiModelProperty("用户手机") - private String mobile; - - public UserEntity() - { - - } - - public UserEntity(Integer userId, String username, String password, String mobile) - { - this.userId = userId; - this.username = username; - this.password = password; - this.mobile = mobile; - } - - public Integer getUserId() - { - return userId; - } - - public void setUserId(Integer userId) - { - this.userId = userId; - } - - public String getUsername() - { - return username; - } - - public void setUsername(String username) - { - this.username = username; - } - - public String getPassword() - { - return password; - } - - public void setPassword(String password) - { - this.password = password; - } - - public String getMobile() - { - return mobile; - } - - public void setMobile(String mobile) - { - this.mobile = mobile; - } -} diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/autocomplete.html b/ruoyi-admin/src/main/resources/templates/demo/form/autocomplete.html deleted file mode 100644 index 5db41bfc4..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/autocomplete.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - -
-
-
-
-
-
搜索自动补全https://github.com/lzwme/bootstrap-suggest-plugin
-
-
-

展示下拉菜单按钮。

-
-
-
- -
- - -
-
-
-
- -

不展示下拉菜单按钮。

-
-
-
- -
- - -
-
-
-
- -

前端json中获取数据

-
-
-
- -
- - -
- -
-
-
- -

百度搜索

-

支持逗号分隔多关键字

-
-
-
- -
- - -
- -
-
-
- -

淘宝搜索

-

支持逗号分隔多关键字

-
-
-
- -
- - -
- -
-
-
-
- -
-
-
- -
-
-
-
搜索自动补全https://github.com/bassjobsen/Bootstrap-3-Typeahead
-
-
-

通过数据属性的基本示例。

-
-
- -
-
-
- -

通过javascript的基本示例。

-
-
- -
-
- -
-

通过javascript的复杂示例。

-
-
- -
-
- -
-

后台url中获取简单数据

-
-
- -
-
- -
- -
-
-
-
-
- - - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/basic.html b/ruoyi-admin/src/main/resources/templates/demo/form/basic.html deleted file mode 100644 index bf1bc76d2..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/basic.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - -
-
-
-
-
-
基本表单 简单登录表单示例
-
- - - - - - - - - - -
-
-
-
-
-

登录

-

欢迎登录本站(⊙o⊙)

-
-
- - -
-
- - -
-
- - -
-
-
-
-

还不是会员?

-

您可以注册一个新账户

-

- -

-
-
-
-
-
-
-
-
-
横向表单
-
- - - - - - - - - - -
-
-
-
-

欢迎登录本站(⊙o⊙)

-
- - -
- 请输入您注册时所填的E-mail -
-
-
- - -
- -
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
内联表单
-
- - - - - - - - - - -
-
-
-
-
- - -
-
- - -
-
- -
- -
-
-
-
-
-
-
-
弹出表单 弹出框登录示例
-
- - - - - - - - - - -
-
- -
-
-
-
-
-
-
-
所有表单元素 包括自定义样式的复选和单选按钮
-
- - - - - - - - - - -
-
-
-
-
- - -
- -
-
-
-
- -
- 帮助文本,可能会超过一行,以块级元素显示 -
-
-
-
- - -
- -
-
-
-
- - -
- -
-
-
-
- - -
- -
-
-
-
- - -
-

ruoyi.vip

-
-
-
-
- - -
-
- -
-
- -
-
- -
-
-
-
-
- - -
- - - -
-
-
-
- - -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
- - -
- - - -
-
-
-
- - -
- - -
- -
-
-
-
-
- - -
- -
-
-
-
- - -
- -
-
-
-
- - -
- -
-
-
-
- - -
- - - -
-
-
-
- - -
-
-
- -
-
- -
-
- -
-
-
-
-
-
- - -
-
@ - -
-
- .00 -
-
¥ - .00 -
-
- -
-
- -
-
-
-
-
- - -
-
- - -
-
- -
-
-
-
-
- - -
-
-
- - -
- -
-
- - -
- - -
-
-
-
-
-
- - -
-
-
- - - -
- -
-
- - -
- - - -
-
-
-
-
-
-
- - -
-
-
-
-
-
-
-
- - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/button.html b/ruoyi-admin/src/main/resources/templates/demo/form/button.html deleted file mode 100644 index 0f4ab4ef7..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/button.html +++ /dev/null @@ -1,620 +0,0 @@ - - - - - - -
-
-
-
-
按钮颜色
-
- - - - - - - - - - -
-
-
-

- 可使用class来快速改变按钮的颜色,如.btn-primary -

- -

- 普通按钮 -

-

- - - - - - - - -

-
-
-
-
-
-
-
按钮大小
-
- - - - - - - - - - -
-
-
-

- 可以通过添加class的值为.btn-lg, .btn-sm, or .btn-xs来修改按钮的大小 -

-

按钮尺寸

-

- - -
- - -
- - -
- - -

-
-
-
-
-
-
-
线性按钮
-
- - - - - - - - - - -
-
-
-

- 要使用线性按钮,可添加class.btn-block.btn-outline -

- -

线性按钮

-

- - - - - - - -

-

块级按钮

-

- -

-
-
-
-
-
-
-
3D按钮
-
- - - - - - - - - - -
-
-
-

- 可以通过添加.dimclass来使用3D按钮. -

-

3D按钮

- - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
-
-
下拉按钮
-
- - - - - - - - - - -
-
-
-

- 下拉按钮可使用任何颜色任何大小 -

- -

下拉按钮

-
- - -
-
- - -
-
- - -
- -
-
- - -
-
- - -
-
- - -
-
-
- - -
-
- - -
-
- - -
-
-
-
-
-
-
-
按钮组
-
- - - - - - - - - - -
-
-
- -

按钮组

-
- - - -
-
-
-
- - - - - - -
-
-
-
-
-
-
-
图标按钮
-
- - - - - - - - - - -
-
-
-

- 任何按钮都可以在左侧或右侧添加图标 -

- -

图标按钮

-

- - - - - - - - 分享到微信 - - - 使用QQ账号登录 - - - - - - - - - - - - - - - - - - - - - - - - 收藏 - -

- -

按钮切换

- - -
- - - -
-
-
-
-
-
-
-
-
-
圆形图标按钮
-
- - - - - - - - - - -
-
-
-

- 要使用圆形图标按钮,可以通过添加class为.btn-circle实现 -

- -

圆形按钮

-
- - - - - - - -
-
- - - - - - - - -
-
-
-
-
-
-
圆角按钮
-
- - - - - - - - - - -
-
-
-

- 可以通过添加class的值微.btn-rounded来实现圆角按钮 -

- -

按钮组

-

- 默认 - 主要 - 成果 - 信息 - 警告 - 危险 - 危险 -
-
- 圆角块级带图标按钮 -

-
-
-
- -
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/datetime.html b/ruoyi-admin/src/main/resources/templates/demo/form/datetime.html deleted file mode 100644 index dcf78ecd4..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/datetime.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - -
-
-
-
-
-
日期选择器 https://github.com/smalot/bootstrap-datetimepicker
-
-
-
- -
- - -
-
- -
- -
- - -
-
- -
- -
- - -
-
- -
- -
- - - -
-
- -
- -
- - - -
-
-
- -
-
-
-
-
-
-
日期选择器 https://github.com/sentsin/laydate
-
-
-
- -
- - -
-
- -
- -
- - -
-
- -
- -
- - -
-
- -
- -
- - -
-
- -
- -
- - - -
-
-
-
- - -
-
-
-
-
-
- - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html b/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html deleted file mode 100644 index a8a55ddf1..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/duallistbox.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - -
-
-
-
-
-
双重列表框 https://github.com/istvan-ujjmeszaros/bootstrap-duallistbox
-
-
-

- Bootstrap Dual Listbox是针对Twitter Bootstrap进行了优化的响应式双列表框。它适用于所有现代浏览器和触摸设备。 -

- -
- -
-
-
-
-
-
- - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/grid.html b/ruoyi-admin/src/main/resources/templates/demo/form/grid.html deleted file mode 100644 index 1db0deffd..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/grid.html +++ /dev/null @@ -1,432 +0,0 @@ - - - - - - -
-
-
-
-
-
栅格设置
-
- - - - - - - - - - -
-
-
- -

通过下表可以详细查看 Bootstrap 的栅格系统是如何在多种屏幕设备上工作的。

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 超小屏幕 - 手机 (<768px) - - 小屏幕 - 平板 (≥768px) - - 中等屏幕 - 桌面显示器 (≥992px) - - 大屏幕 - 大桌面显示器 (≥1200px) -
栅格系统行为总是水平排列开始是堆叠在一起的,当大于这些阈值时将变为水平排列C
.container 最大宽度None (自动)750px970px1170px
类前缀.col-xs- - .col-sm- - .col-md- - .col-lg- -
列(column)数12
最大列(column)宽自动~62px~81px~97px
槽(gutter)宽30px (每列左右均有 15px)
可嵌套
偏移(Offsets)
列排序
-
- - -
-
-
- -
-
-
-
-
-
从堆叠到水平排列
-
- - - - - - - - - - -
-
-
- -

使用单一的一组 .col-md-* 栅格类,就可以创建一个基本的栅格系统,在手机和平板设备上一开始是堆叠在一起的(超小屏幕到小屏幕这一范围),在桌面(中等)屏幕设备上变为水平排列。所有“列(column)必须放在 ” .row 内。

-
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
-
-
.col-md-8
-
.col-md-4
-
-
-
.col-md-4
-
.col-md-4
-
.col-md-4
-
-
-
.col-md-6
-
.col-md-6
-
-
-
-
- -
- -
-
-
-
-
移动设备和桌面屏幕
-
- - - - - - - - - - -
-
-
- -

是否不希望在小屏幕设备上所有列都堆叠在一起?那就使用针对超小屏幕和中等屏幕设备所定义的类吧,即 .col-xs-*.col-md-*。请看下面的实例,研究一下这些是如何工作的。

-
-
.col-xs-12 .col-md-8
-
.col-xs-6 .col-md-4
-
-
-
.col-xs-6 .col-md-4
-
.col-xs-6 .col-md-4
-
.col-xs-6 .col-md-4
-
-
-
.col-xs-6
-
.col-xs-6
-
-
-
-
- -
-
-
-
-
-
手机、平板、桌面
-
- - - - - - - - - - -
-
-
- -

在上面案例的基础上,通过使用针对平板设备的 .col-sm-* 类,我们来创建更加动态和强大的布局吧。

-
-
.col-xs-12 .col-sm-6 .col-md-8
-
.col-xs-6 .col-md-4
-
-
-
.col-xs-6 .col-sm-4
-
.col-xs-6 .col-sm-4
- -
-
.col-xs-6 .col-sm-4
-
-
-
-
- -
-
-
-
-
-
多余的列(column)将另起一行排列
- -
- - - - - - - - - - -
-
-
-

在等宽的4网格中,网格不等高会碰到问题,为了解决这个问题,可使用.clearfix响应实用工具类 -

-
-
- .col-xs-6 .col-sm-3 -
调整窗口大小或者在手机上查看本示例 -
-
.col-xs-6 .col-sm-3
- - -
- -
.col-xs-6 .col-sm-3
-
.col-xs-6 .col-sm-3
-
-
-
-
- -
-
-
-
-
-
列偏移
- -
- - - - - - - - - - -
-
-
- -

使用 .col-md-offset-* 类可以将列向右侧偏移。这些类实际是通过使用 * 选择器为当前元素增加了左侧的边距(margin)。例如,.col-md-offset-4 类将 .col-md-4 元素向右侧偏移了4个列(column)的宽度。

-
-
.col-md-4
-
.col-md-4 .col-md-offset-4
-
-
-
.col-md-3 .col-md-offset-3
-
.col-md-3 .col-md-offset-3
-
-
-
.col-md-6 .col-md-offset-3
-
-
-
-
- -
-
-
-
-
-
嵌套列
- -
- - - - - - - - - - -
-
-
-

为了使用内置的栅格系统将内容再次嵌套,可以通过添加一个新的 .row 元素和一系列 .col-sm-* 元素到已经存在的 .col-sm-* 元素内。被嵌套的行(row)所包含的列(column)的个数不能超过12(其实,没有要求你必须占满12列)。

-
-
- 第一级: .col-md-9 -
-
- 第二级: .col-md-6 -
-
- 第二级: .col-md-6 -
-
-
-
-
-
-
- -
-
-
-
-
-
列排序
-
- - - - - - - - - - -
-
-
-

通过使用 .col-md-push-*.col-md-pull-* 类就可以很容易的改变列(column)的顺序。

-
-
.col-md-9 .col-md-push-3
-
.col-md-3 .col-md-pull-9
-
-
-
- -
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/jasny.html b/ruoyi-admin/src/main/resources/templates/demo/form/jasny.html deleted file mode 100644 index 25aefb835..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/jasny.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - -
-
-
-
-
-
文件上传控件 https://github.com/jasny/bootstrap
-
-
-
- - -
-
- 选择文件更改 - 清除 -
-
- -
- -
-
- 选择文件更改 - - × -
-
- -
- -
-
-
-
- 选择图片更改 - 清除 -
-
-
- -
- -
-
-
- -
-
-
- 选择图片更改 - 清除 -
-
-
-
- -
-
-
-
-
-
-
固定格式文本 https://github.com/jasny/bootstrap
-
-
-
- - - 158-8888-88888 -
- -
- - - 0730-8888888 -
- -
- - - yyyy-mm-dd -
- -
- - - 192.168.100.200 -
- -
- - - 99-9999999 -
-
- -
-
-
-
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/select.html b/ruoyi-admin/src/main/resources/templates/demo/form/select.html deleted file mode 100644 index 297b2b2ad..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/select.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - -
-
-
-
-
-
-
下拉框 https://github.com/select2/select2
-
-
-
- - -
- -
- - -
- -
- - -
- -
- - -
-
-
- - -
-
-
-
-
-
-
-
下拉框 https://github.com/snapappointments/bootstrap-select
-
-
-
- - -
- -
- - -
- -
- - -
- -
- - -
-
- -
-
-
-
-
-
- - - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/sortable.html b/ruoyi-admin/src/main/resources/templates/demo/form/sortable.html deleted file mode 100644 index 3793571b3..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/sortable.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - -
-
-
-
-
-

任务列表

-

在列表之间拖动任务面板

- -
- - - - -
- -
    -
  • - 加强过程管理,及时统计教育经费使用情况,做到底码清楚, -
    - 标签 - 2018.09.01 -
    -
  • -
  • - 支持财会人员的继续培训工作。 -
    - 标记 - 2018.05.12 -
    -
  • -
  • - 协同教导处搞好助学金、减免教科书费的工作。 -
    - 标记 - 2018.09.10 -
    -
  • -
  • - 要求会计、出纳人员严格执行财务制度,遵守岗位职责,按时上报各种资料。 -
    - 确定 - 2018.06.10 -
    -
  • -
  • - 做好职工公费医疗工作,按时发放门诊费。 -
    - 标签 - 2018.09.09 -
    -
  • -
  • - 有计划地把课本复习三至五遍。 -
    - 确定 - 2018.08.04 -
    -
  • -
  • - 看一本高质量的高中语法书 -
    - 标记 - 2018.05.12 -
    -
  • -
  • - 选择一份较好的英语报纸,通过阅读提高英语学习效果。 -
    - 标记 - 2018.09.10 -
    -
  • -
-
-
-
-
-
-
-

进行中

-

在列表之间拖动任务面板

-
    -
  • - 全面、较深入地掌握我们“产品”的功能、特色和优势并做到应用自如。 -
    - 标签 - 2018.09.01 -
    -
  • -
  • - 根据自己以前所了解的和从其他途径搜索到的信息,录入客户资料150家。 -
    - 标记 - 2018.05.12 -
    -
  • -
  • - 锁定有意向客户20家。 -
    - 标记 - 2018.09.10 -
    -
  • -
  • - 力争完成销售指标。 -
    - 标签 - 2018.09.09 -
    -
  • -
  • - 在总结和摸索中前进。 -
    - 确定 - 2018.08.04 -
    -
  • -
  • - 不断学习行业知识、产品知识,为客户带来实用介绍内容 -
    - 标记 - 2018.05.12 -
    -
  • -
  • - 先友后单:与客户发展良好友谊,转换销售员角色,处处为客户着想 -
    - 标记 - 2018.11.04 -
    -
  • -
-
-
-
-
-
-
-

已完成

-

在列表之间拖动任务面板

-
    -
  • - 制定工作日程表 -
    - 标记 - 2018.09.10 -
    -
  • -
  • - 每天坚持打40个有效电话,挖掘潜在客户 -
    - 标签 - 2018.09.09 -
    -
  • -
  • - 拜访客户之前要对该客户做全面的了解(客户的潜在需求、职位、权限以及个人性格和爱好) -
    - 标签 - 2018.09.09 -
    -
  • -
  • - 提高自己电话营销技巧,灵活专业地与客户进行电话交流 -
    - 确定 - 2018.08.04 -
    -
  • -
  • - 通过电话销售过程中了解各盛市的设备仪器使用、采购情况及相关重要追踪人 -
    - 标记 - 2018.05.12 -
    -
  • - -
-
-
-
-
-
- - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/tabs_panels.html b/ruoyi-admin/src/main/resources/templates/demo/form/tabs_panels.html deleted file mode 100644 index e7a8fa7fc..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/tabs_panels.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - - -
-
-
-
-
-
基本面板 这是一个自定义面板
-
- - - - - - - - - - -
-
-
-

- Bootstrap
-

-

- 简洁、直观、强悍的前端开发框架,让web开发更迅速、简单。

-
-
-
-
-
-
-
- -
-
-
- HTML5 文档类型 -

Bootstrap 使用到的某些 HTML 元素和 CSS 属性需要将页面设置为 HTML5 文档类型。在你项目中的每个页面都要参照下面的格式进行设置。

-
-
-
-
- 移动设备优先 -

在 Bootstrap 2 中,我们对框架中的某些关键部分增加了对移动设备友好的样式。而在 Bootstrap 3 中,我们重写了整个框架,使其一开始就是对移动设备友好的。这次不是简单的增加一些可选的针对移动设备的样式,而是直接融合进了框架的内核中。也就是说,Bootstrap 是移动设备优先的。针对移动设备的样式融合进了框架的每个角落,而不是增加一个额外的文件。

-
-
-
- - -
-
- -
-
- -
-
-

图标选项卡

-
-
- - -
-
- -
-
-
- 排版与链接 - -

Bootstrap 排版、链接样式设置了基本的全局样式。分别是: 为 body 元素设置 background-color: #fff; 使用 @font-family-base、@font-size-base 和 @line-height-base a变量作为排版的基本参数 为所有链接设置了基本颜色 @link-color ,并且当链接处于 :hover 状态时才添加下划线 这些样式都能在 scaffolding.less 文件中找到对应的源码。

-
- -
- Normalize.css - -

为了增强跨浏览器表现的一致性,我们使用了 Normalize.css,这是由 Nicolas Gallagher 和 Jonathan Neal 维护的一个CSS 重置样式库。

-
-
- 布局容器 - -

Bootstrap 需要为页面内容和栅格系统包裹一个 .container 容器。我们提供了两个作此用处的类。注意,由于 padding 等属性的原因,这两种 容器类不能互相嵌套。

-
-
- 栅格系统 - -

Bootstrap 提供了一套响应式、移动设备优先的流式栅格系统,随着屏幕或视口(viewport)尺寸的增加,系统会自动分为最多12列。它包含了易于使用的预定义类,还有强大的mixin 用于生成更具语义的布局。

-
-
- -
- -
-
-
-
-
-
- -
- -
-
-
- 排版与链接 - -

Bootstrap 排版、链接样式设置了基本的全局样式。分别是: 为 body 元素设置 background-color: #fff; 使用 @font-family-base、@font-size-base 和 @line-height-base a变量作为排版的基本参数 为所有链接设置了基本颜色 @link-color ,并且当链接处于 :hover 状态时才添加下划线 这些样式都能在 scaffolding.less 文件中找到对应的源码。

-
-
-
-
- 栅格系统 - -

Bootstrap 提供了一套响应式、移动设备优先的流式栅格系统,随着屏幕或视口(viewport)尺寸的增加,系统会自动分为最多12列。它包含了易于使用的预定义类,还有强大的mixin 用于生成更具语义的布局。

-
-
-
- -
- -
-
-
-
-
- -
-
-
- 排版与链接 - -

Bootstrap 排版、链接样式设置了基本的全局样式。分别是: 为 body 元素设置 background-color: #fff; 使用 @font-family-base、@font-size-base 和 @line-height-base a变量作为排版的基本参数 为所有链接设置了基本颜色 @link-color ,并且当链接处于 :hover 状态时才添加下划线 这些样式都能在 scaffolding.less 文件中找到对应的源码。

-
-
-
-
- 栅格系统 - -

Bootstrap 提供了一套响应式、移动设备优先的流式栅格系统,随着屏幕或视口(viewport)尺寸的增加,系统会自动分为最多12列。它包含了易于使用的预定义类,还有强大的mixin 用于生成更具语义的布局。

-
-
-
- -
-
-
-
- -
-
-
-
-
Bootstrap面板 自定义背景
-
-
- -
-
-
-
- 默认面板 -
-
-

通过 .panel-heading 可以很简单地为面板加入一个标题容器。你也可以通过添加设置了 .panel-title 类的标签,添加一个预定义样式的标题。 为了给链接设置合适的颜色,务必将链接放到带有 .panel-title 类的标题标签内。

-
- -
-
-
-
-
- 主要 -
-
-

通过 .panel-heading 可以很简单地为面板加入一个标题容器。你也可以通过添加设置了 .panel-title 类的标签,添加一个预定义样式的标题。 为了给链接设置合适的颜色,务必将链接放到带有 .panel-title 类的标题标签内。

-
-
-
-
-
-
- 成功 -
-
-

通过 .panel-heading 可以很简单地为面板加入一个标题容器。你也可以通过添加设置了 .panel-title 类的标签,添加一个预定义样式的标题。 为了给链接设置合适的颜色,务必将链接放到带有 .panel-title 类的标题标签内。

-
-
-
-
-
-
-
-
- 信息 -
-
-

通过 .panel-heading 可以很简单地为面板加入一个标题容器。你也可以通过添加设置了 .panel-title 类的标签,添加一个预定义样式的标题。 为了给链接设置合适的颜色,务必将链接放到带有 .panel-title 类的标题标签内。

-
- -
-
-
-
-
- 警告 -
-
-

通过 .panel-heading 可以很简单地为面板加入一个标题容器。你也可以通过添加设置了 .panel-title 类的标签,添加一个预定义样式的标题。 为了给链接设置合适的颜色,务必将链接放到带有 .panel-title 类的标题标签内。

-
-
-
-
-
-
- 危险 -
-
-

通过 .panel-heading 可以很简单地为面板加入一个标题容器。你也可以通过添加设置了 .panel-title 类的标签,添加一个预定义样式的标题。 为了给链接设置合适的颜色,务必将链接放到带有 .panel-title 类的标题标签内。

-
- -
-
-
- -
-
-
-
- -
-
-
-
-
折叠面板
-
- - - - - - - - - - -
-
-
-
-
-
-
-
- 标题 #1 -
-
-
-
- Bootstrap相关优质项目推荐 这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的 -
-
-
-
-
-

- 标题 #2 -

-
-
-
- Bootstrap相关优质项目推荐 这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的 -
-
-
-
-
-

- 标题 #3 -

-
-
-
- Bootstrap相关优质项目推荐 这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的 -
-
-
-
-
-
-
-
-
-
-

超大屏幕

-

Bootstrap 支持的另一个特性,超大屏幕(Jumbotron)。顾名思义该组件可以增加标题的大小,并为登陆页面内容添加更多的外边距(margin)。使用超大屏幕(Jumbotron)的步骤如下:

-
-
    -
  1. 创建一个带有 class .jumbotron. 的容器
  2. -
  3. 除了更大的 <h1>,字体粗细 font-weight 被减为 200px。
  4. -
-
- -

了解更多 -

-
-
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/upload.html b/ruoyi-admin/src/main/resources/templates/demo/form/upload.html deleted file mode 100644 index 7c78daa34..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/upload.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - -
-
-
-
-
-
文件上传控件 https://github.com/kartik-v/bootstrap-fileinput
-
-
-
- -
- -
-
- -
- -
- -
-
-
- -
-
-
-
-
- - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/validate.html b/ruoyi-admin/src/main/resources/templates/demo/form/validate.html deleted file mode 100644 index 35f48fa48..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/validate.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -
-
-
-
-
-
jQuery Validate 简介
-
-
-

jquery.validate.js 是一款优秀的jQuery表单验证插件。它具有如下特点:

-
    -
  • 安装简单
  • -
  • 内置超过20种数据验证方法
  • -
  • 直列错误提示信息
  • -
  • 可扩展的数据验证方法
  • -
  • 使用内置的元数据或插件选项来指定您的验证规则
  • -
  • 优雅的交互设计
  • -
-

官网:http://jqueryvalidation.org/ -

-
-
-
-
-
-
-
-
-
简单示例
-
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- -
-
-
-
-
-
-
-

更多示例请访问官方示例页面:查看 -

-

中文API可参考:http://doc.ruoyi.vip/#/standard/zjwd?id=jquery-validate -

-
-
-
-
-
-
-
完整验证表单
-
-
-
-
- -
- - 这里写点提示的内容 -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - 请再次输入您的密码 -
-
-
- -
- -
-
-
-
- -
-
-
-
-
-
-
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/form/wizard.html b/ruoyi-admin/src/main/resources/templates/demo/form/wizard.html deleted file mode 100644 index ac70ed2e3..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/form/wizard.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - -
-
-
-
-

表单向导

-

Smart UI 部件允许您快速创建表单向导接口。

-

了解 jQuery Steps -

-
-
-
-
-
-
基础表单向导
-
-
-

- 这是一个简单的表单向导示例 -

-
-

第一步

-
-
-

第一步

-

- 这是第一步的内容 -

-
-
- -

第二步

-
-
-

第二步

-

- 这是第二步的内容 -

-
-
- -

第三步

-
-
-

第三步

-

- 这是第三步的内容 -

-
-
-
- -
-
-
-
-
-
-
-
-
带验证的表单向导
-
-
-

- 带验证的表单向导 -

-

- 下面这个示例展示了如何在表单向导中使用 jQuery Validation 插件 -

- -
-

账户

-
-

账户信息

-
-
-
- - -
-
- - -
-
- - -
-
-
-
-
- -
-
-
-
- -
-

个人资料

-
-

个人资料信息

-
-
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- -

警告

-
-
-

你是火星人 :-)

-
-
- -

完成

-
-

条款

- - -
-
-
-
-
- -
-
- - - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/icon/fontawesome.html b/ruoyi-admin/src/main/resources/templates/demo/icon/fontawesome.html deleted file mode 100644 index 7206094af..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/icon/fontawesome.html +++ /dev/null @@ -1,1944 +0,0 @@ - - - - - - -
-
-
-
-

Font Awesome 4.4.0

字体图标的最佳集合。提供可伸缩矢量图标,可以立即进行定制大小、颜色、阴影,所有都可以用CSS样式来完成。 -
-
-
-
-
-
所有图标 所有图标集合 - Font Awesome
-
- - - - - - - - - - -
-
-
-
- - - - - -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - - - -
- -
- - - - -
-
- - - - -
-
- - - - -
-
- - -
-
    -
  • - 给这些图标加上 - fa-spin class,就可以表现出加载动画了 -
  • -
-
- - -
-
- - - -
-
- - - - -
-
- - - - -
-
- - - - -
-
- - - - -
-
- - - - -
-
- - - - -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
    -
  • 所有品牌图标均为其各自所有者的商标
  • -
  • 使用这些商标并不表示该商标持有人的认可,反之亦然
  • -
- -
-
-
- - - - -
-
-
-
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/icon/glyphicons.html b/ruoyi-admin/src/main/resources/templates/demo/icon/glyphicons.html deleted file mode 100644 index aaf71d467..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/icon/glyphicons.html +++ /dev/null @@ -1,1364 +0,0 @@ - - - - - - -
-
-
-
-

Glyphicons 字体图标

包括250多个来自 Glyphicon Halflings 的字体图标。Glyphicons Halflings 一般是收费的,但是他们的作者允许 Bootstrap 免费使用。为了表示感谢,希望你在使用时尽量为 Glyphicons 添加一个友情链接。 -
-
-
-
-
-
所有图标 所有图标集合 - Glyphicons
-
- - - - - - - - - - -
-
-
-
-
    - -
  • - - glyphicon glyphicon-asterisk -
  • - -
  • - - glyphicon glyphicon-plus -
  • - -
  • - - glyphicon glyphicon-euro -
  • - -
  • - - glyphicon glyphicon-eur -
  • - -
  • - - glyphicon glyphicon-minus -
  • - -
  • - - glyphicon glyphicon-cloud -
  • - -
  • - - glyphicon glyphicon-envelope -
  • - -
  • - - glyphicon glyphicon-pencil -
  • - -
  • - - glyphicon glyphicon-glass -
  • - -
  • - - glyphicon glyphicon-music -
  • - -
  • - - glyphicon glyphicon-search -
  • - -
  • - - glyphicon glyphicon-heart -
  • - -
  • - - glyphicon glyphicon-star -
  • - -
  • - - glyphicon glyphicon-star-empty -
  • - -
  • - - glyphicon glyphicon-user -
  • - -
  • - - glyphicon glyphicon-film -
  • - -
  • - - glyphicon glyphicon-th-large -
  • - -
  • - - glyphicon glyphicon-th -
  • - -
  • - - glyphicon glyphicon-th-list -
  • - -
  • - - glyphicon glyphicon-ok -
  • - -
  • - - glyphicon glyphicon-remove -
  • - -
  • - - glyphicon glyphicon-zoom-in -
  • - -
  • - - glyphicon glyphicon-zoom-out -
  • - -
  • - - glyphicon glyphicon-off -
  • - -
  • - - glyphicon glyphicon-signal -
  • - -
  • - - glyphicon glyphicon-cog -
  • - -
  • - - glyphicon glyphicon-trash -
  • - -
  • - - glyphicon glyphicon-home -
  • - -
  • - - glyphicon glyphicon-file -
  • - -
  • - - glyphicon glyphicon-time -
  • - -
  • - - glyphicon glyphicon-road -
  • - -
  • - - glyphicon glyphicon-download-alt -
  • - -
  • - - glyphicon glyphicon-download -
  • - -
  • - - glyphicon glyphicon-upload -
  • - -
  • - - glyphicon glyphicon-inbox -
  • - -
  • - - glyphicon glyphicon-play-circle -
  • - -
  • - - glyphicon glyphicon-repeat -
  • - -
  • - - glyphicon glyphicon-refresh -
  • - -
  • - - glyphicon glyphicon-list-alt -
  • - -
  • - - glyphicon glyphicon-lock -
  • - -
  • - - glyphicon glyphicon-flag -
  • - -
  • - - glyphicon glyphicon-headphones -
  • - -
  • - - glyphicon glyphicon-volume-off -
  • - -
  • - - glyphicon glyphicon-volume-down -
  • - -
  • - - glyphicon glyphicon-volume-up -
  • - -
  • - - glyphicon glyphicon-qrcode -
  • - -
  • - - glyphicon glyphicon-barcode -
  • - -
  • - - glyphicon glyphicon-tag -
  • - -
  • - - glyphicon glyphicon-tags -
  • - -
  • - - glyphicon glyphicon-book -
  • - -
  • - - glyphicon glyphicon-bookmark -
  • - -
  • - - glyphicon glyphicon-print -
  • - -
  • - - glyphicon glyphicon-camera -
  • - -
  • - - glyphicon glyphicon-font -
  • - -
  • - - glyphicon glyphicon-bold -
  • - -
  • - - glyphicon glyphicon-italic -
  • - -
  • - - glyphicon glyphicon-text-height -
  • - -
  • - - glyphicon glyphicon-text-width -
  • - -
  • - - glyphicon glyphicon-align-left -
  • - -
  • - - glyphicon glyphicon-align-center -
  • - -
  • - - glyphicon glyphicon-align-right -
  • - -
  • - - glyphicon glyphicon-align-justify -
  • - -
  • - - glyphicon glyphicon-list -
  • - -
  • - - glyphicon glyphicon-indent-left -
  • - -
  • - - glyphicon glyphicon-indent-right -
  • - -
  • - - glyphicon glyphicon-facetime-video -
  • - -
  • - - glyphicon glyphicon-picture -
  • - -
  • - - glyphicon glyphicon-map-marker -
  • - -
  • - - glyphicon glyphicon-adjust -
  • - -
  • - - glyphicon glyphicon-tint -
  • - -
  • - - glyphicon glyphicon-edit -
  • - -
  • - - glyphicon glyphicon-share -
  • - -
  • - - glyphicon glyphicon-check -
  • - -
  • - - glyphicon glyphicon-move -
  • - -
  • - - glyphicon glyphicon-step-backward -
  • - -
  • - - glyphicon glyphicon-fast-backward -
  • - -
  • - - glyphicon glyphicon-backward -
  • - -
  • - - glyphicon glyphicon-play -
  • - -
  • - - glyphicon glyphicon-pause -
  • - -
  • - - glyphicon glyphicon-stop -
  • - -
  • - - glyphicon glyphicon-forward -
  • - -
  • - - glyphicon glyphicon-fast-forward -
  • - -
  • - - glyphicon glyphicon-step-forward -
  • - -
  • - - glyphicon glyphicon-eject -
  • - -
  • - - glyphicon glyphicon-chevron-left -
  • - -
  • - - glyphicon glyphicon-chevron-right -
  • - -
  • - - glyphicon glyphicon-plus-sign -
  • - -
  • - - glyphicon glyphicon-minus-sign -
  • - -
  • - - glyphicon glyphicon-remove-sign -
  • - -
  • - - glyphicon glyphicon-ok-sign -
  • - -
  • - - glyphicon glyphicon-question-sign -
  • - -
  • - - glyphicon glyphicon-info-sign -
  • - -
  • - - glyphicon glyphicon-screenshot -
  • - -
  • - - glyphicon glyphicon-remove-circle -
  • - -
  • - - glyphicon glyphicon-ok-circle -
  • - -
  • - - glyphicon glyphicon-ban-circle -
  • - -
  • - - glyphicon glyphicon-arrow-left -
  • - -
  • - - glyphicon glyphicon-arrow-right -
  • - -
  • - - glyphicon glyphicon-arrow-up -
  • - -
  • - - glyphicon glyphicon-arrow-down -
  • - -
  • - - glyphicon glyphicon-share-alt -
  • - -
  • - - glyphicon glyphicon-resize-full -
  • - -
  • - - glyphicon glyphicon-resize-small -
  • - -
  • - - glyphicon glyphicon-exclamation-sign -
  • - -
  • - - glyphicon glyphicon-gift -
  • - -
  • - - glyphicon glyphicon-leaf -
  • - -
  • - - glyphicon glyphicon-fire -
  • - -
  • - - glyphicon glyphicon-eye-open -
  • - -
  • - - glyphicon glyphicon-eye-close -
  • - -
  • - - glyphicon glyphicon-warning-sign -
  • - -
  • - - glyphicon glyphicon-plane -
  • - -
  • - - glyphicon glyphicon-calendar -
  • - -
  • - - glyphicon glyphicon-random -
  • - -
  • - - glyphicon glyphicon-comment -
  • - -
  • - - glyphicon glyphicon-magnet -
  • - -
  • - - glyphicon glyphicon-chevron-up -
  • - -
  • - - glyphicon glyphicon-chevron-down -
  • - -
  • - - glyphicon glyphicon-retweet -
  • - -
  • - - glyphicon glyphicon-shopping-cart -
  • - -
  • - - glyphicon glyphicon-folder-close -
  • - -
  • - - glyphicon glyphicon-folder-open -
  • - -
  • - - glyphicon glyphicon-resize-vertical -
  • - -
  • - - glyphicon glyphicon-resize-horizontal -
  • - -
  • - - glyphicon glyphicon-hdd -
  • - -
  • - - glyphicon glyphicon-bullhorn -
  • - -
  • - - glyphicon glyphicon-bell -
  • - -
  • - - glyphicon glyphicon-certificate -
  • - -
  • - - glyphicon glyphicon-thumbs-up -
  • - -
  • - - glyphicon glyphicon-thumbs-down -
  • - -
  • - - glyphicon glyphicon-hand-right -
  • - -
  • - - glyphicon glyphicon-hand-left -
  • - -
  • - - glyphicon glyphicon-hand-up -
  • - -
  • - - glyphicon glyphicon-hand-down -
  • - -
  • - - glyphicon glyphicon-circle-arrow-right -
  • - -
  • - - glyphicon glyphicon-circle-arrow-left -
  • - -
  • - - glyphicon glyphicon-circle-arrow-up -
  • - -
  • - - glyphicon glyphicon-circle-arrow-down -
  • - -
  • - - glyphicon glyphicon-globe -
  • - -
  • - - glyphicon glyphicon-wrench -
  • - -
  • - - glyphicon glyphicon-tasks -
  • - -
  • - - glyphicon glyphicon-filter -
  • - -
  • - - glyphicon glyphicon-briefcase -
  • - -
  • - - glyphicon glyphicon-fullscreen -
  • - -
  • - - glyphicon glyphicon-dashboard -
  • - -
  • - - glyphicon glyphicon-paperclip -
  • - -
  • - - glyphicon glyphicon-heart-empty -
  • - -
  • - - glyphicon glyphicon-link -
  • - -
  • - - glyphicon glyphicon-phone -
  • - -
  • - - glyphicon glyphicon-pushpin -
  • - -
  • - - glyphicon glyphicon-usd -
  • - -
  • - - glyphicon glyphicon-gbp -
  • - -
  • - - glyphicon glyphicon-sort -
  • - -
  • - - glyphicon glyphicon-sort-by-alphabet -
  • - -
  • - - glyphicon glyphicon-sort-by-alphabet-alt -
  • - -
  • - - glyphicon glyphicon-sort-by-order -
  • - -
  • - - glyphicon glyphicon-sort-by-order-alt -
  • - -
  • - - glyphicon glyphicon-sort-by-attributes -
  • - -
  • - - glyphicon glyphicon-sort-by-attributes-alt -
  • - -
  • - - glyphicon glyphicon-unchecked -
  • - -
  • - - glyphicon glyphicon-expand -
  • - -
  • - - glyphicon glyphicon-collapse-down -
  • - -
  • - - glyphicon glyphicon-collapse-up -
  • - -
  • - - glyphicon glyphicon-log-in -
  • - -
  • - - glyphicon glyphicon-flash -
  • - -
  • - - glyphicon glyphicon-log-out -
  • - -
  • - - glyphicon glyphicon-new-window -
  • - -
  • - - glyphicon glyphicon-record -
  • - -
  • - - glyphicon glyphicon-save -
  • - -
  • - - glyphicon glyphicon-open -
  • - -
  • - - glyphicon glyphicon-saved -
  • - -
  • - - glyphicon glyphicon-import -
  • - -
  • - - glyphicon glyphicon-export -
  • - -
  • - - glyphicon glyphicon-send -
  • - -
  • - - glyphicon glyphicon-floppy-disk -
  • - -
  • - - glyphicon glyphicon-floppy-saved -
  • - -
  • - - glyphicon glyphicon-floppy-remove -
  • - -
  • - - glyphicon glyphicon-floppy-save -
  • - -
  • - - glyphicon glyphicon-floppy-open -
  • - -
  • - - glyphicon glyphicon-credit-card -
  • - -
  • - - glyphicon glyphicon-transfer -
  • - -
  • - - glyphicon glyphicon-cutlery -
  • - -
  • - - glyphicon glyphicon-header -
  • - -
  • - - glyphicon glyphicon-compressed -
  • - -
  • - - glyphicon glyphicon-earphone -
  • - -
  • - - glyphicon glyphicon-phone-alt -
  • - -
  • - - glyphicon glyphicon-tower -
  • - -
  • - - glyphicon glyphicon-stats -
  • - -
  • - - glyphicon glyphicon-sd-video -
  • - -
  • - - glyphicon glyphicon-hd-video -
  • - -
  • - - glyphicon glyphicon-subtitles -
  • - -
  • - - glyphicon glyphicon-sound-stereo -
  • - -
  • - - glyphicon glyphicon-sound-dolby -
  • - -
  • - - glyphicon glyphicon-sound-5-1 -
  • - -
  • - - glyphicon glyphicon-sound-6-1 -
  • - -
  • - - glyphicon glyphicon-sound-7-1 -
  • - -
  • - - glyphicon glyphicon-copyright-mark -
  • - -
  • - - glyphicon glyphicon-registration-mark -
  • - -
  • - - glyphicon glyphicon-cloud-download -
  • - -
  • - - glyphicon glyphicon-cloud-upload -
  • - -
  • - - glyphicon glyphicon-tree-conifer -
  • - -
  • - - glyphicon glyphicon-tree-deciduous -
  • - -
  • - - glyphicon glyphicon-cd -
  • - -
  • - - glyphicon glyphicon-save-file -
  • - -
  • - - glyphicon glyphicon-open-file -
  • - -
  • - - glyphicon glyphicon-level-up -
  • - -
  • - - glyphicon glyphicon-copy -
  • - -
  • - - glyphicon glyphicon-paste -
  • - -
  • - - glyphicon glyphicon-alert -
  • - -
  • - - glyphicon glyphicon-equalizer -
  • - -
  • - - glyphicon glyphicon-king -
  • - -
  • - - glyphicon glyphicon-queen -
  • - -
  • - - glyphicon glyphicon-pawn -
  • - -
  • - - glyphicon glyphicon-bishop -
  • - -
  • - - glyphicon glyphicon-knight -
  • - -
  • - - glyphicon glyphicon-baby-formula -
  • - -
  • - - glyphicon glyphicon-tent -
  • - -
  • - - glyphicon glyphicon-blackboard -
  • - -
  • - - glyphicon glyphicon-bed -
  • - -
  • - - glyphicon glyphicon-apple -
  • - -
  • - - glyphicon glyphicon-erase -
  • - -
  • - - glyphicon glyphicon-hourglass -
  • - -
  • - - glyphicon glyphicon-lamp -
  • - -
  • - - glyphicon glyphicon-duplicate -
  • - -
  • - - glyphicon glyphicon-piggy-bank -
  • - -
  • - - glyphicon glyphicon-scissors -
  • - -
  • - - glyphicon glyphicon-bitcoin -
  • - -
  • - - glyphicon glyphicon-btc -
  • - -
  • - - glyphicon glyphicon-xbt -
  • - -
  • - - glyphicon glyphicon-yen -
  • - -
  • - - glyphicon glyphicon-jpy -
  • - -
  • - - glyphicon glyphicon-ruble -
  • - -
  • - - glyphicon glyphicon-rub -
  • - -
  • - - glyphicon glyphicon-scale -
  • - -
  • - - glyphicon glyphicon-ice-lolly -
  • - -
  • - - glyphicon glyphicon-ice-lolly-tasted -
  • - -
  • - - glyphicon glyphicon-education -
  • - -
  • - - glyphicon glyphicon-option-horizontal -
  • - -
  • - - glyphicon glyphicon-option-vertical -
  • - -
  • - - glyphicon glyphicon-menu-hamburger -
  • - -
  • - - glyphicon glyphicon-modal-window -
  • - -
  • - - glyphicon glyphicon-oil -
  • - -
  • - - glyphicon glyphicon-grain -
  • - -
  • - - glyphicon glyphicon-sunglasses -
  • - -
  • - - glyphicon glyphicon-text-size -
  • - -
  • - - glyphicon glyphicon-text-color -
  • - -
  • - - glyphicon glyphicon-text-background -
  • - -
  • - - glyphicon glyphicon-object-align-top -
  • - -
  • - - glyphicon glyphicon-object-align-bottom -
  • - -
  • - - glyphicon glyphicon-object-align-horizontal -
  • - -
  • - - glyphicon glyphicon-object-align-left -
  • - -
  • - - glyphicon glyphicon-object-align-vertical -
  • - -
  • - - glyphicon glyphicon-object-align-right -
  • - -
  • - - glyphicon glyphicon-triangle-right -
  • - -
  • - - glyphicon glyphicon-triangle-left -
  • - -
  • - - glyphicon glyphicon-triangle-bottom -
  • - -
  • - - glyphicon glyphicon-triangle-top -
  • - -
  • - - glyphicon glyphicon-console -
  • - -
  • - - glyphicon glyphicon-superscript -
  • - -
  • - - glyphicon glyphicon-subscript -
  • - -
  • - - glyphicon glyphicon-menu-left -
  • - -
  • - - glyphicon glyphicon-menu-right -
  • - -
  • - - glyphicon glyphicon-menu-down -
  • - -
  • - - glyphicon glyphicon-menu-up -
  • - -
-
-
-
-
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/dialog.html b/ruoyi-admin/src/main/resources/templates/demo/modal/dialog.html deleted file mode 100644 index 58ffc2db8..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/dialog.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - -
-
-
-
-
-
模态窗口
- -
-
-

创建自定义的RuoYi模态窗口可通过添加.inmodal类来实现。

-
- -
- - -
-
-
-
-
大小设置
- -
-
-

模态窗口提供两种大小尺寸,可以通过为模态窗口的.modal-dialog添加类来实现

- -
- - -
- - - -
-
-
-
-
-
-
动画窗口
- -
-
-

您可以通过为模态窗口的.modal-content添加类来实现动画效果

- - - - - - - -
-
-
-
-
设置选项
- -
-
-

可以通过数据绑定或者Javascript来实现模态窗口的相关功能,如果使用数据绑定,可以为元素添加data-,如data-backdrop=""

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
名称类型默认值说明
backdropboolean 或 string 'static'true遮罩层,或使用'static'指定遮罩层与关闭模态窗口不关联
keyboardbooleantrue按Esc键时退出模态窗口
showbooleantrue初始化完成后显示模态窗口
remotepathfalse -

推荐使用数据绑定方式,或使用 - jQuery.load

-

远程URL示例:

-
-
<a data-toggle="modal" href="remote.html" data-target="#modal">Click me</a>
-
-
-
-
-
-
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/form.html b/ruoyi-admin/src/main/resources/templates/demo/modal/form.html deleted file mode 100644 index ae0ab6ac5..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/form.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -
-
-
-
-
- -
- -
-
-
-
-
- -
-
- - -
-
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
- -
- -
-
-
-
-
-
- - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html b/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html deleted file mode 100644 index 6fd5bae88..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/layer.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -
-
-
-
-
-
信息框
-
-
-

通过调用$.modal.alert()实现。

- - - - -
-
-
- -
-
-
-
提示框
-
-
-

通过调用$.modal.msg()实现。

- - - - -
-
-
-
- -
-
-
-
-
询问框
-
-
-

通过调用$.modal.confirm()实现。

- -
-
-
- -
-
-
-
消息提示并刷新父窗体
-
-
-

通过调用$.modal.msgReload()实现。

- -
-
-
- -
-
-
-
普通弹出层
-
-
-

通过调用$.modal.open()实现。

- - - - - -
-
-
- -
-
-
-
选卡页方式
-
-
-

通过调用$.modal.openTab()实现。

- - -
-
-
- -
-
-
-
其他内容
-
-
-

通过调用layer实现。

- - - -
-
-
- -
-
-
-
遮罩层
-
-
-

通过调用blockUI实现。

- - - -
-
-
- -
-
-
- - -
-
- -
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/table.html b/ruoyi-admin/src/main/resources/templates/demo/modal/table.html deleted file mode 100644 index e93131830..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/table.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - -
-
-
-
-
-
弹层框
-
-
-

弹出复选框表格及单选框表格(点击提交后得到数据)。

- - -
-
-
-
-
-
-
弹层框
-
-
-

弹出复选框表格及单选框表格(点击提交后得到数据并回显到父窗体)。

- -

-
-
-
-
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/table/check.html b/ruoyi-admin/src/main/resources/templates/demo/modal/table/check.html deleted file mode 100644 index cf8d178d1..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/table/check.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/table/parent.html b/ruoyi-admin/src/main/resources/templates/demo/modal/table/parent.html deleted file mode 100644 index 14f59dcc7..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/table/parent.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/modal/table/radio.html b/ruoyi-admin/src/main/resources/templates/demo/modal/table/radio.html deleted file mode 100644 index 4c9607dfc..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/modal/table/radio.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/operate/add.html b/ruoyi-admin/src/main/resources/templates/demo/operate/add.html deleted file mode 100644 index dcee93d5f..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/operate/add.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/operate/detail.html b/ruoyi-admin/src/main/resources/templates/demo/operate/detail.html deleted file mode 100644 index 42eda918c..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/operate/detail.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - -
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/operate/edit.html b/ruoyi-admin/src/main/resources/templates/demo/operate/edit.html deleted file mode 100644 index d7d87fcfb..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/operate/edit.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
-
- -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
-
- - - - diff --git a/ruoyi-admin/src/main/resources/templates/demo/operate/other.html b/ruoyi-admin/src/main/resources/templates/demo/operate/other.html deleted file mode 100644 index 3887c4c23..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/operate/other.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/operate/table.html b/ruoyi-admin/src/main/resources/templates/demo/operate/table.html deleted file mode 100644 index aff8c139e..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/operate/table.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - -
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/report/echarts.html b/ruoyi-admin/src/main/resources/templates/demo/report/echarts.html deleted file mode 100644 index 31c63dc08..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/report/echarts.html +++ /dev/null @@ -1,1494 +0,0 @@ - - - - - - -
-
-

ECharts开源来自百度商业前端数据可视化团队,基于html5 Canvas,是一个纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据可视化图表。创新的拖拽重计算、数据视图、值域漫游等特性大大增强了用户体验,赋予了用户对数据进行挖掘、整合的能力。 了解更多 -

-

ECharts官网:http://echarts.baidu.com/ -

- -
-
-
-
-
-
-
-
折线图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
柱状图
-
- - - - - - - - - - -
-
-
- -
-
-
-
-
-
-
-
-
-
散点图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
K线图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
饼状图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
雷达图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
和弦图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
仪表盘
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
漏斗图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
力导向布局图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
- -
-
-
-
-
中国地图
-
- - - - - - - - - - -
-
-
-
-
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/report/metrics.html b/ruoyi-admin/src/main/resources/templates/demo/report/metrics.html deleted file mode 100644 index 6493eed7a..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/report/metrics.html +++ /dev/null @@ -1,478 +0,0 @@ - - - - - - -
-
-
-
-
-
Q1 销量
-

- 上升 -

- 更新时间:12天以前 -
-
-
-
-
-
-
Q2 销量
-

- 上升 -

- 更新时间:12天以前 -
-
-
-
-
-
-
Q3 销量
-

- 下降 -

- 更新时间:12天以前 -
-
-
-
-
-
-
Q4 销量
-

- 下降 -

- 更新时间:12天以前 -
-
-
- -
-
-
-
-
-
本日访问量
-

198 009

-
-
-
-
-
-
-
-
本周访问量
-

65 000

-
-
-
-
-
-
-
-
本月访问量
-

680 900

-
-
-
-
-
-
-
-
平均停留时间
-

00:06:40

-
-
-
-
-
-
-
-
-
-
使用率
-

65%

-
-
-
- -
4:32更新
-
-
-
- -
-
-
-
使用率
-

50%

-
-
-
- -
4:32更新
-
-
-
- -
-
-
-
使用率
-

14%

-
-
-
- -
4:32更新
-
-
-
- -
-
-
-
使用率
-

20%

-
-
-
- -
4:32更新
-
-
-
-
- -
-
-
-
-
百分比
-

42/20

-
-
-
-
-
-
-
-
-
-
百分比
-

100/54

-
-
-
-
-
-
-
-
-
-
百分比
-

685/211

-
-
-
-
-
-
-
-
-
-
百分比
-

240/32

-
-
-
-
-
-
-
-
-
-
-
-
收入
-

886,200

-
98%
- 总收入 -
-
-
-
-
-
-
本月收入
-

1 738,200

-
98%
- 总收入 -
-
-
-
-
-
-
本日收入
-

-200,100

-
12%
- 总收入 -
-
-
-
-
-
-
搜索有收入
-

54,200

-
24%
- 总收入 -
-
-
-
-
-
-
-
-
预警
- - - - - - - - - - - - - - - -
- - - 示例 01 -
- - - 示例 02 -
- - - 示例 03 -
-
-
-
-
-
-
-
项目
- - - - - - - - - - - - - - - -
- - - 示例 01 -
- - - 示例 02 -
- - - 示例 03 -
-
-
-
-
-
-
-
消息
- - - - - - - - - - - - - - - -
- - - 示例 01 -
- - - 示例 02 -
- - - 示例 03 -
-
-
-
-
-
-
-
通知
- - - - - - - - - - - - - - - -
- - - 示例 01 -
- - - 示例 02 -
- - - 示例 03 -
-
-
-
-
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/report/peity.html b/ruoyi-admin/src/main/resources/templates/demo/report/peity.html deleted file mode 100644 index 4ebbc17c8..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/report/peity.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -
- -
-
-
-

Peity图表

-

是一个内嵌数据图形可视化的图表库

-

了解 Peity -

-
-
-
-
-
-
饼状图 自定义颜色
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
图表代码
- 1/5 - - <span class="pie">1/5</span> -
- 226/360 - - <span class="pie">226/360</span> -
- 0.52/1.561 - - <span class="pie">0.52/1.561</span> -
- 1,4 - - <span class="pie">1,4</span> -
- 226,134 - - <span class="pie">226,134</span> -
- 0.52,1.041 - - <span class="pie">0.52,1.041</span> -
-
-
-
-
-
-
-
-
-
线性图
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
图表代码
- 5,3,9,6,5,9,7,3,5,2,5,3,9,6,5,9,7,3,5,2 - - <span class="line">5,3,9,6,5,9,7,3,5,2</span> -
- 5,3,9,6,5,9,7,3,5,2 - - <span class="line">5,3,9,6,5,9,7,3,5,2</span> -
- 5,3,2,-1,-3,-2,2,3,5,2 - - <span class="line">5,3,2,-1,-3,-2,2,3,5,2</span> -
- 0,-3,-6,-4,-5,-4,-7,-3,-5,-2 - - <span class="line">0,-3,-6,-4,-5,-4,-7,-3,-5,-2</span> -
- 5,3,9,6,5,9,7,3,5,2 - - <span class="bar">5,3,9,6,5,9,7,3,5,2</span> -
- 5,3,2,-1,-3,-2,2,3,5,2 - - <span class="bar">5,3,2,-1,-3,-2,2,3,5,2</span> -
-
-
-
- -
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/report/sparkline.html b/ruoyi-admin/src/main/resources/templates/demo/report/sparkline.html deleted file mode 100644 index 5ed6f05b2..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/report/sparkline.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -
- -
-
-
-

Sparkline

-

这是另一个可视化图表库

-

了解 Sparkline -

-
-
-
-
-
-
Sparkline图表 自定义颜色
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
图表类型
- - - 内联线性图 -
- - - 柱状图 -
- - - 饼状图 -
- - - 长线性图 -
- - - 三态图 -
- - - 散点图 -
-
-
-
-
-
-
-
-
-
自定义饼状图尺寸
-
- - - - - - - - - - -
-
-
- -
-
-
-
-
-
-
自定义柱状图尺寸
-
- - - - - - - - - - -
-
-
- -
-
-
-
-
-
-
自定义线性图尺寸
-
- - - - - - - - - - -
-
-
- -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/button.html b/ruoyi-admin/src/main/resources/templates/demo/table/button.html deleted file mode 100644 index bd87d27c0..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/button.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - -
-
-
-
-
- -
-
-
- -
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/detail.html b/ruoyi-admin/src/main/resources/templates/demo/table/detail.html deleted file mode 100644 index a51c634be..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/detail.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/event.html b/ruoyi-admin/src/main/resources/templates/demo/table/event.html deleted file mode 100644 index 89f7f2a86..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/event.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -
-
-
-

自定义触发事件(点击某行/双击某行/单击某格/双击某格/服务器发送数据前触发/数据被加载时触发)

-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/export.html b/ruoyi-admin/src/main/resources/templates/demo/table/export.html deleted file mode 100644 index 85ba38d30..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/export.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/fixedColumns.html b/ruoyi-admin/src/main/resources/templates/demo/table/fixedColumns.html deleted file mode 100644 index 588635c58..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/fixedColumns.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/footer.html b/ruoyi-admin/src/main/resources/templates/demo/table/footer.html deleted file mode 100644 index 225d12dae..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/footer.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/groupHeader.html b/ruoyi-admin/src/main/resources/templates/demo/table/groupHeader.html deleted file mode 100644 index b7b3903ec..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/groupHeader.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/image.html b/ruoyi-admin/src/main/resources/templates/demo/table/image.html deleted file mode 100644 index 0a8a2c486..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/image.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/multi.html b/ruoyi-admin/src/main/resources/templates/demo/table/multi.html deleted file mode 100644 index 43331e02b..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/multi.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/other.html b/ruoyi-admin/src/main/resources/templates/demo/table/other.html deleted file mode 100644 index e9ed0ac49..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/other.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/pageGo.html b/ruoyi-admin/src/main/resources/templates/demo/table/pageGo.html deleted file mode 100644 index 9eab0de97..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/pageGo.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/params.html b/ruoyi-admin/src/main/resources/templates/demo/table/params.html deleted file mode 100644 index 7193af190..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/params.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -
-
-
-

通过queryParams方法设置

-
-
- -
-
-
-
    -
  • - 用户姓名: -
  • -
-
-
-
-
-

通过form自动填充

-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/remember.html b/ruoyi-admin/src/main/resources/templates/demo/table/remember.html deleted file mode 100644 index ca175863f..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/remember.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -
- -
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/demo/table/search.html b/ruoyi-admin/src/main/resources/templates/demo/table/search.html deleted file mode 100644 index 210b58b0b..000000000 --- a/ruoyi-admin/src/main/resources/templates/demo/table/search.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - -
-
-
-

普通条件查询

-
-
-
    -
  • - 商户编号: -
  • -
  • - 终端编号: -
  • -
  • - 处理状态: -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- -
-

时间条件查询

-
-
-
    -
  • - 商户编号: -
  • -
  • - 终端编号: -
  • -
  • - - - - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- -
-

下拉多选条件查询

-
-
-
    -
  • - 商户编号: -
  • -
  • - 终端编号: -
  • -
  • - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- -
-

复杂条件查询

-
-
-
    -
  • -

    商户编号:

    - -
  • -
  • -

    订单号:

    - -
  • -
  • -

    日期:

    - -
  • -
  • -

    状态:

    - -
  • -
  • -

    供货商通道:

    - -
  • -
  • -

    来源:

    - -
  • -
  • -

    运营商:

    - -
  • -
  • -

    回调时间:

    - - - - -
  • - -
  • -  搜索 -  重置 -
  • -
-
-
-
-
-
- - - -