This commit is contained in:
thinkgem
2021-12-14 16:51:42 +08:00
parent 8b4fa39916
commit 0b8ad07f37
5 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
<h3 align="center" style="margin:30px 0 30px;font-weight:bold;font-size:30px;">快速开发平台 - Spring Boot</h3> <h3 align="center" style="margin:30px 0 30px;font-weight:bold;font-size:30px;">快速开发平台 - Spring Boot</h3>
<p align="center"> <p align="center">
<a href="https://jeesite.com/docs/upgrade/" target="__blank"><img alt="JeeSite-V4.3" src="https://img.shields.io/badge/JeeSite-V4.3-success.svg"></a> <a href="https://jeesite.com/docs/upgrade/" target="__blank"><img alt="JeeSite-V4.3" src="https://img.shields.io/badge/JeeSite-V4.3-success.svg"></a>
<a href="https://jeesite.com/docs/feature/" target="__blank"><img alt="SpringBoot-2.5" src="https://img.shields.io/badge/SpringBoot-2.5-blue.svg"></a> <a href="https://spring.io/projects/spring-boot#learn" target="__blank"><img alt="SpringBoot-2.5" src="https://img.shields.io/badge/SpringBoot-2.5-blue.svg"></a>
<a href="https://gitee.com/thinkgem/jeesite4/stargazers" target="__blank"><img alt="star" src="https://gitee.com/thinkgem/jeesite4/badge/star.svg?theme=dark"></a> <a href="https://gitee.com/thinkgem/jeesite4/stargazers" target="__blank"><img alt="star" src="https://gitee.com/thinkgem/jeesite4/badge/star.svg?theme=dark"></a>
<a href="https://gitee.com/thinkgem/jeesite4/members" target="__blank"><img alt="fork" src="https://gitee.com/thinkgem/jeesite4/badge/fork.svg?theme=dark"></a> <a href="https://gitee.com/thinkgem/jeesite4/members" target="__blank"><img alt="fork" src="https://gitee.com/thinkgem/jeesite4/badge/fork.svg?theme=dark"></a>
</p> </p>
@@ -49,9 +49,9 @@ JeeSite 是一个低代码开发平台,具有较高的封装度、扩展性,
## 技术选型 ## 技术选型
* 主框架Spring Boot 2.5、Spring Framework 5.3、Apache Shiro 1.7、J2Cache * 主框架Spring Boot 2.6、Spring Framework 5.3、Apache Shiro 1.8、J2Cache
* 持久层Apache MyBatis 3.5、Hibernate Validator 6.1、Alibaba Druid 1.2 * 持久层Apache MyBatis 3.5、Hibernate Validator 6.1、Alibaba Druid 1.2
* 视图层Spring MVC 5.3、Beetl 3.3替换JSP、Bootstrap 3.3、AdminLTE 2.4 * 视图层Spring MVC 5.3、Beetl 3.8替换JSP、Bootstrap 3.3、AdminLTE 2.4
* 前端组件jQuery 3.5、jqGrid 4.7、layer 3.1、zTree 3.5、jQuery Validation * 前端组件jQuery 3.5、jqGrid 4.7、layer 3.1、zTree 3.5、jQuery Validation
* 支持 IE9 及以上版本及其他所有现代浏览器,如:谷歌浏览器、火狐浏览器、国产浏览器 等 * 支持 IE9 及以上版本及其他所有现代浏览器,如:谷歌浏览器、火狐浏览器、国产浏览器 等
* 工作流引擎Flowable 6.6、符合 BPMN 规范、在线流程设计器、中国式流程、退回、撤回、自由流 * 工作流引擎Flowable 6.6、符合 BPMN 规范、在线流程设计器、中国式流程、退回、撤回、自由流

View File

@@ -340,13 +340,15 @@ for (c in table.columnList){
} }
%> %>
}; };
console.log('submit', params, data, record); // console.log('submit', params, data, record);
const res = await ${className}Save(params, data); const res = await ${className}Save(params, data);
showMessage(res.message); showMessage(res.message);
setTimeout(closeDrawer); setTimeout(closeDrawer);
emit('success', data); emit('success', data);
} catch (error: any) { } catch (error: any) {
if (error && error.errorFields) {
showMessage(t('您填写的信息有误,请根据提示修正。')); showMessage(t('您填写的信息有误,请根据提示修正。'));
}
console.log('error', error); console.log('error', error);
} finally { } finally {
setDrawerProps({ confirmLoading: false }); setDrawerProps({ confirmLoading: false });

View File

@@ -20,7 +20,7 @@
:search="true" :search="true"
:toolbar="true" :toolbar="true"
:api="${className}TreeData" :api="${className}TreeData"
:defaultExpandLevel="1" :defaultExpandLevel="2"
@select="handleSelect" @select="handleSelect"
/> />
</template> </template>

View File

@@ -131,7 +131,7 @@ public class TestData extends DataEntity<TestData> {
this.testCheckbox = testCheckbox; this.testCheckbox = testCheckbox;
} }
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd")
public Date getTestDate() { public Date getTestDate() {
return testDate; return testDate;
} }
@@ -140,7 +140,7 @@ public class TestData extends DataEntity<TestData> {
this.testDate = testDate; this.testDate = testDate;
} }
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
public Date getTestDatetime() { public Date getTestDatetime() {
return testDatetime; return testDatetime;
} }