基于Ruoyi ,做了个多选项卡页面,对应录入基本信息和文件上传,画面能跨选项卡校验并及时提示
自己写的,有两个选项卡,一个负责上传,一个负责录入基本信息; 有必填项检查,如果有没填的项目,自动跳转到对应的选项卡; 记录下来,以后备查; 1 <! DOCTYPE html > 2 < html lang ="zh" xmlns:th ="http://www.thymeleaf.org" > 3 < head > 4 < th:block th:include ="include :: header('新增attachment')" /> 5 6 < th:block th:include ="include :: bootstrap-fileinput-css" /> 7 </ head > 8 < body class ="gray-bg" > 9 < div class ="wrapper wrapper-content animated fadeInRight" > 10 < form class ="form-horizontal m" id ="form-attachment-add" > 11 12 < div class ="row" > 13 < div class ="col-sm-12" > 14 < div class ="tabs-container" > 15 < ul class ="nav nav-tabs" > 16 < li class =