mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-03 17:15:41 +08:00
Compare commits
6 Commits
42087c0bf8
...
v3.9.0last
| Author | SHA1 | Date | |
|---|---|---|---|
| 41877a6e8b | |||
| b7a3da89ca | |||
| de4a8ce652 | |||
| e533af285c | |||
| 23dc7b3f03 | |||
| e57aef0708 |
@ -229,7 +229,7 @@ public class ThirdAppDingtalkServiceImpl implements IThirdAppService {
|
|||||||
LambdaQueryWrapper<SysDepart> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<SysDepart> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
// 根据 source_identifier 字段查询
|
// 根据 source_identifier 字段查询
|
||||||
// 代码逻辑说明: 【issues/6017】钉钉同步部门时没有最顶层的部门名,同步用户时,用户没有部门信息---
|
// 代码逻辑说明: 【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);
|
SysDepart sysDepart = sysDepartService.getOne(queryWrapper);
|
||||||
if (sysDepart != null) {
|
if (sysDepart != null) {
|
||||||
// 执行更新操作
|
// 执行更新操作
|
||||||
|
|||||||
@ -355,13 +355,19 @@ export const formSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
|
|||||||
@ -381,13 +381,19 @@ export const formSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
|
|||||||
@ -350,13 +350,19 @@ export const formSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
@ -686,7 +692,10 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list' || po.classType=='radio'>
|
<#elseif po.classType=='list' || po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
|
|||||||
@ -351,13 +351,19 @@ export const formSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
@ -672,13 +678,19 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
|
|||||||
@ -351,13 +351,19 @@ export const formSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
@ -599,13 +605,19 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
|
|||||||
@ -351,13 +351,19 @@ export const formSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
@ -612,13 +618,19 @@ export const ${sub.entityName?uncap_first}FormSchema: FormSchema[] = [
|
|||||||
<#elseif po.classType=='list'>
|
<#elseif po.classType=='list'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}"
|
dictCode:"${form_field_dictCode}",
|
||||||
|
<#if po.fieldDbType=='int'>
|
||||||
|
stringToNumber: true
|
||||||
|
</#if>
|
||||||
},
|
},
|
||||||
<#elseif po.classType=='radio'>
|
<#elseif po.classType=='radio'>
|
||||||
component: 'JDictSelectTag',
|
component: 'JDictSelectTag',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
dictCode:"${form_field_dictCode}",
|
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风格表单页面多选控件渲染成了下拉多选---------- -->
|
<#-- update-begin---author:chenrui ---date:20231228 for:[QQYUN-7583] Vue3风格表单页面多选控件渲染成了下拉多选---------- -->
|
||||||
<#elseif po.classType=='list_multi'>
|
<#elseif po.classType=='list_multi'>
|
||||||
|
|||||||
@ -57,7 +57,7 @@
|
|||||||
<!-- 积木报表-->
|
<!-- 积木报表-->
|
||||||
<jimureport-spring-boot-starter.version>2.2.0</jimureport-spring-boot-starter.version>
|
<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>
|
<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>
|
<autopoi-web.version>2.0.2</autopoi-web.version>
|
||||||
|
|
||||||
<!-- 持久层 -->
|
<!-- 持久层 -->
|
||||||
@ -480,17 +480,6 @@
|
|||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</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工具类-->
|
<!-- AutoPoi Excel工具类-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jeecgframework</groupId>
|
<groupId>org.jeecgframework</groupId>
|
||||||
|
|||||||
@ -60,7 +60,7 @@
|
|||||||
import { useSelectBiz } from '/@/components/Form/src/jeecg/hooks/useSelectBiz';
|
import { useSelectBiz } from '/@/components/Form/src/jeecg/hooks/useSelectBiz';
|
||||||
import { useAttrs } from '/@/hooks/core/useAttrs';
|
import { useAttrs } from '/@/hooks/core/useAttrs';
|
||||||
import { selectProps } from '/@/components/Form/src/jeecg/props/props';
|
import { selectProps } from '/@/components/Form/src/jeecg/props/props';
|
||||||
|
import { isArray, cloneDeep } from 'lodash-es';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'UserSelectModal',
|
name: 'UserSelectModal',
|
||||||
components: {
|
components: {
|
||||||
@ -115,8 +115,14 @@
|
|||||||
}
|
}
|
||||||
// 代码逻辑说明: VUEN-1112 一对多 用户选择 未显示选择条数,及清空
|
// 代码逻辑说明: VUEN-1112 一对多 用户选择 未显示选择条数,及清空
|
||||||
setTimeout(() => {
|
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) {
|
if (tableRef.value) {
|
||||||
tableRef.value.setSelectedRowKeys(selectValues['value'] || []);
|
tableRef.value.setSelectedRowKeys(selectedData || []);
|
||||||
}
|
}
|
||||||
}, 800);
|
}, 800);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -106,7 +106,8 @@ export function useTableScroll(
|
|||||||
const paddingHeight = 32;
|
const paddingHeight = 32;
|
||||||
// Pager height
|
// Pager height
|
||||||
let paginationHeight = 2;
|
let paginationHeight = 2;
|
||||||
if (!isBoolean(pagination)) {
|
// 【issues/9217】当配置了pagination: true时,BasicTable组件自适应高度异常
|
||||||
|
if (pagination !== false) {
|
||||||
paginationEl = tableEl.querySelector('.ant-pagination') as HTMLElement;
|
paginationEl = tableEl.querySelector('.ant-pagination') as HTMLElement;
|
||||||
if (paginationEl) {
|
if (paginationEl) {
|
||||||
const offsetHeight = paginationEl.offsetHeight;
|
const offsetHeight = paginationEl.offsetHeight;
|
||||||
|
|||||||
@ -75,6 +75,10 @@ export function useListPage(options: ListPageOptions) {
|
|||||||
if (options?.tableProps?.useSearchForm !== false) {
|
if (options?.tableProps?.useSearchForm !== false) {
|
||||||
paramsForm = await getForm().validate();
|
paramsForm = await getForm().validate();
|
||||||
console.log('paramsForm', paramsForm);
|
console.log('paramsForm', paramsForm);
|
||||||
|
// 在这里把执行beforeFetch
|
||||||
|
if (options?.tableProps?.beforeFetch) {
|
||||||
|
paramsForm = await options?.tableProps?.beforeFetch(paramsForm);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user