From b2b11611c1a5a880abc044b2af2e8aa639c31be2 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Thu, 26 Oct 2023 17:14:00 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E7=BE=A4=E6=BB=A1=E4=BA=86=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0QQ=E7=BE=A4=E2=91=A7825232878?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-EN.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-EN.md b/README-EN.md index 05fc7345..049825a2 100644 --- a/README-EN.md +++ b/README-EN.md @@ -88,7 +88,7 @@ Technical documentation - Doc: [http://help.jeecg.com](http://help.jeecg.com) - Newbie guide: [Quick start](http://www.jeecg.com/doc/quickstart) | [video](https://space.bilibili.com/454617261/channel/series) | [Q&A ](http://www.jeecg.com/doc/qa) | [help](http://jeecg.com/doc/help) | [1 minute experience](https://my.oschina.net/jeecg/blog/3083313) - Microservice Development: [Monomer upgrade to microservice](https://help.jeecg.com/java/springcloud/switchcloud/monomer.html) -- QQ group : ⑦791696430、⑥730954414、683903138、⑤860162132(full)、④774126647(full)、③816531124(full)、②769925425(full)、①284271917(full) +- QQ group : ⑧825232878、⑦791696430、⑥730954414(full)、683903138(full)、⑤860162132(full)、④774126647(full)、③816531124(full)、②769925425(full)、①284271917(full) - Demo : [Vue3](http://boot3.jeecg.com) | [Vue2](http://boot.jeecg.com) | [APP](http://jeecg.com/appIndex) > [please click obtain account password to obtain](http://jeecg.com/doc/demo) diff --git a/README.md b/README.md index d657daca..b7f80290 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Docker快速启动项目 - 在线演示 : [Vue3演示](http://boot3.jeecg.com) | [APP演示](http://jeecg.com/appIndex) | [敲敲云零代码](https://qiaoqiaoyun.com) > 演示系统的登录账号密码,请点击 [获取账号密码](http://jeecg.com/doc/demo) 获取 > -- QQ交流群 : ⑦791696430、⑥730954414、VUE3群683903138、⑤860162132(满)、④774126647(满)、③816531124(满)、②769925425(满)、①284271917(满) +- QQ交流群 : ⑧825232878、⑦791696430(满)、⑥730954414(满)、683903138(满)、⑤860162132(满)、④774126647(满)、③816531124(满)、②769925425(满)、①284271917(满) > ` 提醒:【QQ群是自助服务群,建议给帮助您解决问题的同学发送指定红包,表示感谢!】 ` From a8dde73a8ce73ae1cc172344b268c9af07ea37cc Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Mon, 30 Oct 2023 21:26:26 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E7=94=9F=E6=88=90=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=A8=A1=E7=89=88=E7=9A=84=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=9A=84=E7=A1=AE=E8=AE=A4=E3=80=81=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E6=98=BE=E7=A4=BA=E9=94=99=E4=BD=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../${entityPackage}/vue3/${entityName}List.vuei | 5 ++++- .../${entityPackage}/vue3Native/${entityName}List.vuei | 5 ++++- .../${entityPackage}/vue3/${entityName}List.vuei | 5 ++++- .../${entityPackage}/vue3Native/${entityName}List.vuei | 3 +++ .../${entityPackage}/vue3/${entityName}List.vuei | 2 ++ .../${bussiPackage}/${entityPackage}/vue3/[1-n]List.vuei | 1 + .../${entityPackage}/vue3Native/${entityName}List.vuei | 3 +++ .../${entityPackage}/vue3/${entityName}List.vuei | 3 +++ .../${entityPackage}/vue3/${entityName}List.vuei | 3 +++ .../${entityPackage}/vue3Native/${entityName}List.vuei | 2 ++ .../${entityPackage}/vue3/${entityName}List.vuei | 3 +++ 11 files changed, 32 insertions(+), 3 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei index 8a4cace7..a111cf99 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei @@ -133,7 +133,7 @@ ], }, actionColumn: { - width: 150, + width: 120, fixed:'right' }, }, @@ -221,6 +221,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -230,6 +231,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -244,6 +246,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index 30d965c9..ddcbb05c 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -169,7 +169,7 @@ canResize:false, useSearchForm: false, actionColumn: { - width: 150, + width: 120, fixed: 'right', }, beforeFetch: (params) => { @@ -269,6 +269,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -278,6 +279,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -292,6 +294,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei index 2c2031e1..ba1fab0f 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei @@ -357,7 +357,8 @@ label: '删除', popConfirm: { title: '是否确认删除', - confirm: handleDelete.bind(null, record) + confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -367,6 +368,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -381,6 +383,7 @@ popConfirm: { title: '确定删除吗?', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index bfaf3db8..ae5efc29 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -419,6 +419,7 @@ popConfirm: { title: '确定删除吗?', confirm: handleDelete.bind(null, record), + placement: 'topLeft', }, }, ]; @@ -428,6 +429,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -447,6 +449,7 @@ popConfirm: { title: '确定删除吗?', confirm: handleDelete.bind(null, record), + placement: 'topLeft', }, }, ]; diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei index cc4ca27e..43fe94e8 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei @@ -255,6 +255,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -278,6 +279,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/[1-n]List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/[1-n]List.vuei index 60c91a7e..c606f2cb 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/[1-n]List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3/[1-n]List.vuei @@ -179,6 +179,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', }, } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index ca29961a..36e90767 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -279,6 +279,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -288,6 +289,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -303,6 +305,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', }, }, ]; diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei index 4e0f3110..8ac005c8 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei @@ -264,6 +264,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -273,6 +274,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -287,6 +289,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei index c6005f86..0c1938ca 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei @@ -238,6 +238,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -247,6 +248,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -261,6 +263,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index 8a0f60ee..acd6eb19 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/jvxe/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -276,6 +276,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -290,6 +291,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei index 935fb472..da754c7c 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/tab/onetomany/java/${bussiPackage}/${entityPackage}/vue3/${entityName}List.vuei @@ -238,6 +238,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ]; @@ -247,6 +248,7 @@ popConfirm: { title: '确认提交流程吗?', confirm: handleProcess.bind(null, record), + placement: 'topLeft', } }) } @@ -261,6 +263,7 @@ popConfirm: { title: '是否确认删除', confirm: handleDelete.bind(null, record), + placement: 'topLeft', } } ] From 6ab4ee6a918ae43bcae0ddec71afe3a472c54b85 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Sun, 5 Nov 2023 11:36:53 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E5=85=B3=E7=B3=BB=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/service/impl/SysUserServiceImpl.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java index 54d883b9..6f01f685 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java @@ -929,7 +929,17 @@ public class SysUserServiceImpl extends ServiceImpl impl relation.setUserId(userId); relation.setTenantId(Integer.valueOf(tenantId)); relation.setStatus(CommonConstant.STATUS_1); - relationMapper.insert(relation); + + LambdaQueryWrapper sysUserTenantQueryWrapper = new LambdaQueryWrapper() + .eq(SysUserTenant::getUserId, userId) + .eq(SysUserTenant::getTenantId,Integer.valueOf(tenantId)); + SysUserTenant tenantPresent = relationMapper.selectOne(sysUserTenantQueryWrapper); + if (tenantPresent != null) { + tenantPresent.setStatus(CommonConstant.STATUS_1); + relationMapper.updateById(tenantPresent); + }else{ + relationMapper.insert(relation); + } } }else{ //是否开启系统管理模块的多租户数据隔离【SAAS多租户模式】 @@ -960,7 +970,7 @@ public class SysUserServiceImpl extends ServiceImpl impl LambdaQueryWrapper query = new LambdaQueryWrapper<>(); query.eq(SysUserTenant::getUserId, userId); //数据库的租户id - List oldTenantIds = relationMapper.getTenantIdsNoStatus(userId); + List oldTenantIds = relationMapper.getTenantIdsByUserId(userId); //如果传过来的租户id为空,那么就删除租户 if (oConvertUtils.isEmpty(relTenantIds) && CollectionUtils.isNotEmpty(oldTenantIds)) { this.deleteTenantByUserId(userId, null); From 8216889078777d48b80543808d5ce50d45f968e5 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 15 Nov 2023 10:38:18 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=99=A8=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/form/native/vue3NativeSearch.ftl | 56 ++++++++++++++----- .../vue3Native/${entityName}List.vuei | 7 +-- .../components/${entityName}Form.vuei | 4 +- .../vue3Native/${entityName}List.vuei | 9 ++- .../components/${entityName}Form.vuei | 5 +- .../vue3Native/${entityName}List.vuei | 11 ++-- .../vue3Native/[1-n]List.vuei | 7 ++- .../components/${entityName}Form.vuei | 4 +- .../vue3Native/components/[1-n]Form.vuei | 6 +- .../vue3Native/${entityName}List.vuei | 7 +-- 10 files changed, 75 insertions(+), 41 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl index 8b30eb15..911ba7fd 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl @@ -14,12 +14,12 @@ <#if po.queryMode=='single'> <#if query_field_no gt 1> - <#if query_field_no gt 1> + <#if query_field_no gt 1> <#if query_field_no gt 1> <#if po.classType=='sel_search'> <#if query_field_no gt 1> <#elseif po.classType=='sel_user'> - <#if query_field_no gt 1> + <#if query_field_no gt 1> <#elseif po.classType=='switch'> <#if query_field_no gt 1> :options="${po.dictField}" query /> <#elseif po.classType=='sel_depart'> @@ -32,8 +32,10 @@ <#if query_field_no gt 1> <#elseif po.classType=='datetime'> <#if query_field_no gt 1> + <#elseif po.classType=='time'> + <#if query_field_no gt 1> <#elseif po.classType=='pca'> - <#if query_field_no gt 1> + <#if query_field_no gt 1> <#elseif po.classType=='sel_tree'> <#if query_field_no gt 1> <#if po.dictText?split(',')[2]?? && po.dictText?split(',')[0]??>dict="${po.dictTable},${po.dictText?split(',')[2]},${po.dictText?split(',')[0]}" <#elseif po.dictText?split(',')[1]??>pidField:"${po.dictText?split(',')[1]}", <#elseif po.dictText?split(',')[3]??>hasChildField:"${po.dictText?split(',')[3]}" pidValue="${po.dictField}" /> <#elseif po.classType=='popup'> @@ -60,7 +62,7 @@ <#if query_field_no gt 1> <#else> - <#if query_field_no gt 1> + <#if query_field_no gt 1> <#if query_field_no gt 1> <#if query_field_no gt 1> @@ -69,17 +71,45 @@ <#if query_field_no gt 1> <#if query_field_no gt 1> <#if po.classType=='date'> - <#if query_field_no gt 1> - <#if query_field_no gt 1> ~ - <#if query_field_no gt 1> + <#if query_field_no gt 1>
+ <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> ~ + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1>
+ <#elseif po.classType=='time'> + <#if query_field_no gt 1>
+ <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> ~ + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1>
<#elseif po.classType=='datetime'> - <#if query_field_no gt 1> - <#if query_field_no gt 1> ~ - <#if query_field_no gt 1> + <#if query_field_no gt 1>
+ <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> ~ + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1>
<#else> - <#if query_field_no gt 1> - <#if query_field_no gt 1> ~ - <#if query_field_no gt 1> + <#if query_field_no gt 1>
+ <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> ~ + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1> + <#if query_field_no gt 1>
<#if query_field_no gt 1>
<#if query_field_no gt 1> diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index ddcbb05c..3b50d581 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -329,13 +329,13 @@ } - <#if need_pca> + <#if need_pca || need_dept_user> /** - * 省市区点击事件 + * form点击事件(以逗号分割) * @param key * @param value */ - function handleAreaChange(key, value) { + function handleFormJoinChange(key, value) { queryParam[key] = value.join(','); } @@ -397,7 +397,6 @@ white-space: nowrap; } .query-group-cust{ - width: calc(50% - 15px); min-width: 100px !important; } .query-group-split-cust{ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei index c85652df..7dc1eba9 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei @@ -212,8 +212,8 @@ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index ae5efc29..d83211eb 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -501,14 +501,14 @@ } - <#if need_pca> + <#if need_pca || need_dept_user> /** - * 省市区点击事件 + * form点击事件(以逗号分割) * @param key * @param value */ - function handleAreaChange(key, value) { - queryParam.value[key] = value.join(','); + function handleFormJoinChange(key, value) { + queryParam[key] = value.join(','); } @@ -554,7 +554,6 @@ white-space: nowrap; } .query-group-cust{ - width: calc(50% - 15px); min-width: 100px !important; } .query-group-split-cust{ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei index 2cdf4234..e916af2f 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei @@ -208,6 +208,7 @@ .then(async (res) => { if (res.success) { await getExpandKeysByPid(formData['${pidFieldName}'], unref(treeData)); + delete formData['children']; emit('ok', { isUpdate: unref(isUpdate), values: { ...formData }, @@ -263,8 +264,8 @@ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei index 36e90767..3b24b948 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/${entityName}List.vuei @@ -125,6 +125,10 @@ 无文件 下载 + <#if po.classType=='pca'> + + {{ getAreaTextByCode(text) }} + @@ -393,13 +397,13 @@ } - <#if need_pca> + <#if need_pca || need_dept_user> /** - * 省市区点击事件 + * form点击事件(以逗号分割) * @param key * @param value */ - function handleAreaChange(key, value) { + function handleFormJoinChange(key, value) { queryParam[key] = value.join(','); } @@ -413,7 +417,6 @@ white-space: nowrap; } .query-group-cust{ - width: calc(50% - 15px); min-width: 100px !important; } .query-group-split-cust{ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/[1-n]List.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/[1-n]List.vuei index f861a448..60fa006c 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/[1-n]List.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/[1-n]List.vuei @@ -42,6 +42,10 @@ 无文件 下载 + <#if po.classType=='pca'> + + {{ getAreaTextByCode(text) }} + @@ -138,7 +142,7 @@ */ async function handleEdit(record: Recordable) { registerModal.value.disableSubmit = false; - registerModal.value.edit(); + registerModal.value.edit(record); } /** @@ -227,7 +231,6 @@ white-space: nowrap; } .query-group-cust{ - width: calc(50% - 15px); min-width: 100px !important; } .query-group-split-cust{ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei index e3b2330b..e652654e 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/${entityName}Form.vuei @@ -211,8 +211,8 @@ diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/[1-n]Form.vuei b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/[1-n]Form.vuei index 1ded92d5..4681d737 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/[1-n]Form.vuei +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/erp/onetomany/java/${bussiPackage}/${entityPackage}/vue3Native/components/[1-n]Form.vuei @@ -29,7 +29,7 @@ <#assign hasOnlyValidate = false>