Compare commits

..

12 Commits

15 changed files with 103 additions and 37 deletions

View File

@ -106,6 +106,10 @@ JeecgBoot平台的AIGC功能模块是一套类似`Dify`的`AIGC应用开发
| ChatGTP | √ |
| Qwq | √ |
| 智库 | √ |
| claude | √ |
| vl模型 | √ |
| 千帆大模型 | √ |
| 通义千问 | √ |
| Ollama本地搭建大模型 | √ |
| 等等。。 | √ |

View File

@ -1,4 +1,4 @@
[中文](./README.md) | English
![JEECG](https://jeecgos.oss-cn-beijing.aliyuncs.com/files/logov3.png "JeecgBoot低代码开发平台")

View File

@ -1,3 +1,4 @@
中文 | [English](./README.en-US.md)
JeecgBoot AI低代码平台
===============

View File

@ -1,4 +1,3 @@
JeecgBoot 低代码开发平台
===============

View File

@ -229,7 +229,7 @@ public class ThirdAppDingtalkServiceImpl implements IThirdAppService {
LambdaQueryWrapper<SysDepart> queryWrapper = new LambdaQueryWrapper<>();
// 根据 source_identifier 字段查询
// 代码逻辑说明: 【issues/6017】钉钉同步部门时没有最顶层的部门名同步用户时用户没有部门信息---
queryWrapper.and(item -> item.eq(SysDepart::getId, departmentTree.getSource_identifier()).or().eq(SysDepart::getDingIdentifier,departmentTree.getDept_id()));
queryWrapper.and(item -> item.eq(SysDepart::getId, departmentTree.getSource_identifier()).or().eq(SysDepart::getDingIdentifier,oConvertUtils.getString(departmentTree.getDept_id())));
SysDepart sysDepart = sysDepartService.getOne(queryWrapper);
if (sysDepart != null) {
// 执行更新操作

View File

@ -355,13 +355,19 @@ export const formSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>

View File

@ -381,13 +381,19 @@ export const formSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>

View File

@ -350,13 +350,19 @@ export const formSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>
@ -686,7 +692,10 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
<#elseif po.classType=='list' || po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>

View File

@ -351,13 +351,19 @@ export const formSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>
@ -672,13 +678,19 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>

View File

@ -351,13 +351,19 @@ export const formSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>
@ -599,13 +605,19 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>

View File

@ -351,13 +351,19 @@ export const formSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>
@ -612,13 +618,19 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
<#elseif po.classType=='list'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}"
dictCode:"${form_field_dictCode}",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#elseif po.classType=='radio'>
component: 'JDictSelectTag',
componentProps:{
dictCode:"${form_field_dictCode}",
type: "radio"
type: "radio",
<#if po.fieldDbType=='int'>
stringToNumber: true
</#if>
},
<#-- update-begin---author:chenrui ---date:20231228 for[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
<#elseif po.classType=='list_multi'>

View File

@ -57,7 +57,7 @@
<!-- 积木报表-->
<jimureport-spring-boot-starter.version>2.2.0</jimureport-spring-boot-starter.version>
<jimubi-spring-boot-starter.version>2.2.0</jimubi-spring-boot-starter.version>
<minidao.version>1.10.16</minidao.version>
<minidao.version>1.10.18</minidao.version>
<autopoi-web.version>2.0.2</autopoi-web.version>
<!-- 持久层 -->
@ -132,6 +132,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
@ -475,17 +480,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.6.7.Final</version>
<exclusions>
<exclusion>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- AutoPoi Excel工具类-->
<dependency>
<groupId>org.jeecgframework</groupId>

View File

@ -60,7 +60,7 @@
import { useSelectBiz } from '/@/components/Form/src/jeecg/hooks/useSelectBiz';
import { useAttrs } from '/@/hooks/core/useAttrs';
import { selectProps } from '/@/components/Form/src/jeecg/props/props';
import { isArray, cloneDeep } from 'lodash-es';
export default defineComponent({
name: 'UserSelectModal',
components: {
@ -115,8 +115,14 @@
}
// 代码逻辑说明: VUEN-1112 一对多 用户选择 未显示选择条数,及清空
setTimeout(() => {
// update-begin--author:liaozhiyang---date:20260120--for【issues/9275】用户组件第二次点击取消时勾选值还是回显了
let selectedData = selectValues['value'];
if (isArray(selectedData)) {
selectedData = cloneDeep(selectedData);
}
// update-end--author:liaozhiyang---date:20260120--for【issues/9275】用户组件第二次点击取消时勾选值还是回显了
if (tableRef.value) {
tableRef.value.setSelectedRowKeys(selectValues['value'] || []);
tableRef.value.setSelectedRowKeys(selectedData || []);
}
}, 800);
});

View File

@ -106,7 +106,8 @@ export function useTableScroll(
const paddingHeight = 32;
// Pager height
let paginationHeight = 2;
if (!isBoolean(pagination)) {
// 【issues/9217】当配置了pagination: true时,BasicTable组件自适应高度异常
if (pagination !== false) {
paginationEl = tableEl.querySelector('.ant-pagination') as HTMLElement;
if (paginationEl) {
const offsetHeight = paginationEl.offsetHeight;

View File

@ -75,6 +75,10 @@ export function useListPage(options: ListPageOptions) {
if (options?.tableProps?.useSearchForm !== false) {
paramsForm = await getForm().validate();
console.log('paramsForm', paramsForm);
// 在这里把执行beforeFetch
if (options?.tableProps?.beforeFetch) {
paramsForm = await options?.tableProps?.beforeFetch(paramsForm);
}
}
} catch (e) {
console.warn(e);