diff --git a/diboot-docs/guide/diboot-antd-admin/CRUD快速集成.md b/diboot-docs/guide/diboot-antd-admin/CRUD快速集成.md index 923e4f4..507adc0 100644 --- a/diboot-docs/guide/diboot-antd-admin/CRUD快速集成.md +++ b/diboot-docs/guide/diboot-antd-admin/CRUD快速集成.md @@ -50,14 +50,14 @@ export default { | baseApi | 请求接口基础路径(必须配置)|String | / | - | | listApi | 列表数据接口| String | /list |- | | deleteApiPrefix | 删除接口前缀 | String | / | - | -| exportApi | 导出接口| String |~~/export~~ /excel/export|~~2.0.5~~ **2.1.0**| +| exportApi | 导出接口| String |~~/export~~ /excel/export|~~2.0.5~~ **2.1.x**| | customQueryParam| 自定义参数(不被查询表单重置和改变的参数) | object | {} | - | | queryParam | 与查询条件绑定的参数(会被查询表单重置和改变的参数) | object | {} | - | -| dateRangeQuery | 日期区间选择配置
**时间区间字段请放在这个对象中,会自动构建参与查询** | object | {} | **2.1.0** | -| advanced | 高级搜索 展开/关闭 | boolean | false | **2.1.0** | +| dateRangeQuery | 日期区间选择配置
**时间区间字段请放在这个对象中,会自动构建参与查询** | object | {} | **2.1.x** | +| advanced | 高级搜索 展开/关闭 | boolean | false | **2.1.x** | | data | 存储列表数据 | array | [] |-| | getMore | 是否使mixin在当前业务的attachMore接口中自动获取关联数据
**:point_right:业务对象关联详解**| boolean | false | - | -| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.0** | +| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.x** | | more | 存储当前对象的关联数据对象
**:point_right:业务对象关联详解**| object | {} | - | | getListFromMixin| 是否在页面初始化时自动加载列表数据 | boolean | true | - | | loadingData | 标记页面加载数据状态 | boolean | false | - | @@ -68,19 +68,19 @@ export default { | 名称 | 说明 | 参数 | 版本| | ------------- |:-------------| -----| -----| | handleTableChange | 分页、排序、筛选变化时触发 |function(pagination, filters, sorter) | - | -| appendSorterParam | 构建排序 handleTableChange调用|function(sorter) | **2.1.0** | -| toggleAdvanced | 切换展示更多搜索框(绑定**advanced**属性)| - | **2.1.0** | +| appendSorterParam | 构建排序 handleTableChange调用|function(sorter) | **2.1.x** | +| toggleAdvanced | 切换展示更多搜索框(绑定**advanced**属性)| - | **2.1.x** | | onSearch | 搜索,查询第一页(默认查询按钮触发)| - | - | | postList | post请求的获取列表(可以传递更长、更复杂参数) | - | - | | getList | get请求获取列表 | - | - | | attachMore | 加载当前页面关联的对象或者字典,参考属性:getMore、attachMoreList、more | - | - | | reset | 重置查询 | - | - | | remove | 根据id删除 | function(id) | - | -| exportData | 导出数据至excel | - | **2.1.0** | -| downloadFile | 下载文件 | function(res) | **2.1.0** | +| exportData | 导出数据至excel | - | **2.1.x** | +| downloadFile | 下载文件 | function(res) | **2.1.x** | | getPopupContainer | 解决带有下拉框组件在滚动时下拉框不随之滚动的问题 | function(trigger) |-| -| contentTransform | 处理查询参数中的moment数据 默认转化为YYYY-MM-DD | function(content, transform = {}) | **2.1.0** | -| dateRange2queryParam | 构建区间查询参数,(转化dateRangeQuery属性内容) | - | **2.1.0** | +| contentTransform | 处理查询参数中的moment数据 默认转化为YYYY-MM-DD | function(content, transform = {}) | **2.1.x** | +| dateRange2queryParam | 构建区间查询参数,(转化dateRangeQuery属性内容) | - | **2.1.x** | 7. 钩子函数 @@ -103,7 +103,7 @@ export default { | 属性 | 说明 | 类型 |默认值 | 版本| | ------------- |:-------------| -----| -----| -----| -| primaryKey | 主键字段名 | string | id | **2.1.0** | +| primaryKey | 主键字段名 | string | id | **2.1.x** | | baseApi | 请求接口基础路径(必须配置)|String | / | - | | createApi | 新建接口,自动拼接在*baseApi*之后| String | / |- | | updateApiPrefix | 更新接口前缀,自动拼接在*baseApi*之后 | String | / | - | @@ -112,12 +112,12 @@ export default { | model| 存放form数据 | object | {} | - | | title | 标题 | String |新建/更新|-| | more | 存储当前对象的关联数据对象
**:point_right:业务对象关联详解** | object | {} | - | -| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.0** | +| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.x** | | getMore | 是否使mixin在当前业务的attachMore接口中自动获取关联数据
**:point_right:业务对象关联详解**| boolean | false | - | | state | 当前组件状态对象 | object | {visible: false, confirmSubmit: false} | - | -| isUpload | 当前form是否包含上传
**:point_right:文件上传详解** | boolean | false | **2.1.0** | -| fileWrapper | 文件包装容器
**:point_right:文件上传详解** | object | {} | **2.1.0** | -| fileUuidList | 文件存储服务器后返回的唯一标识集合
**:point_right:文件上传详解** | array | [] | **2.1.0** | +| isUpload | 当前form是否包含上传
**:point_right:文件上传详解** | boolean | false | **2.1.x** | +| fileWrapper | 文件包装容器
**:point_right:文件上传详解** | object | {} | **2.1.x** | +| fileUuidList | 文件存储服务器后返回的唯一标识集合
**:point_right:文件上传详解** | array | [] | **2.1.x** | 3. 功能函数 @@ -173,7 +173,7 @@ export default { | ------------- |:-------------| -----| -----| | open | 打开详情(加载服务端数据)|function(id) | - | | close | 关闭详情 | - | - | -| downloadFile | 下载文件(传入接口地址)| function(path) | **2.1.0** | +| downloadFile | 下载文件(传入接口地址)| function(path) | **2.1.x** | 4. 钩子函数 @@ -186,7 +186,7 @@ export default { - 业务对象关联详解 - more: 值来源于*getMore*或*attachMoreList* 配置请求接口后返回的结果; - getMore: 开启关联数据会从当前业务的/attachMore接口中读取,开启后优于attachMoreList使用; - - attachMoreList: **2.1.0 新增** 实现关联数据从/common/attachMore接口统一读取,配置如下: + - attachMoreList: **2.1.x 新增** 实现关联数据从/common/attachMore接口统一读取,配置如下: ```javascript // type:D(字典数据)/T(关联业务对象) attattachMoreList: [ @@ -238,7 +238,7 @@ export default { } ``` - 如非特殊,建议使用attachMoreList配置用以简化代码 -- 文件上传详解 (2.1.0新增) +- 文件上传详解 (2.1.x新增) **以下属性讲解,基于Upload组件** :point_right: [Upload.vue组件概述](/guide/diboot-antd-admin/组件.html#upload组件) - isUpload: 标记当前form表单中是否包含上传属性,使用如:图片、文件,默认不包含,如果引入组件,请手动开启: diff --git a/diboot-docs/guide/diboot-antd-admin/介绍.md b/diboot-docs/guide/diboot-antd-admin/介绍.md index f1f93a3..c0c7c28 100644 --- a/diboot-docs/guide/diboot-antd-admin/介绍.md +++ b/diboot-docs/guide/diboot-antd-admin/介绍.md @@ -29,4 +29,4 @@ diboot-antd-admin前端基础项目,是一个与diboot其他后端组件构成 * 角色与权限管理功能; * 权限管理功能; * 登录日志管理功能; -* 预置上传、富文本、导入组件 **(2.1.0 新增)** +* 预置上传、富文本、导入组件 **(2.1.x 新增)** diff --git a/diboot-docs/guide/diboot-antd-admin/添加页面.md b/diboot-docs/guide/diboot-antd-admin/添加页面.md index 33b56f9..a1120f1 100644 --- a/diboot-docs/guide/diboot-antd-admin/添加页面.md +++ b/diboot-docs/guide/diboot-antd-admin/添加页面.md @@ -8,16 +8,16 @@ ## 添加路由配置 ### 自动添加路由配置 -:point_right: [devtools 2.1.0 自动化生成您的前端页面](/guide/diboot-devtools/介绍) +:point_right: [devtools 2.1.x 自动化生成您的前端页面](/guide/diboot-devtools/介绍) :::tip -devtools 2.1.0为您提供了前端页面和后端接口的快速构建,赶快点击体验吧!!! +devtools 2.1.x为您提供了前端页面和后端接口的快速构建,赶快点击体验吧!!! ::: ### 手动添加路由配置 * 后台菜单是根据路由配置自动生成的,具体可参考[路由与菜单](https://pro.antdv.com/docs/router-and-nav) * 在**src/config/router.config.js**文件中,可以配置需要新增页面的路由。 * 对于需要进行权限控制的菜单,~~需要放到asyncRouterMap中进行配置~~,其他不需要进行权限控制或所有人可用的菜单,可以放到constantRouterMap中。 -> 2.1.0版本之后devtools具有前端生成能力,因此手动添加路由不建议直接放在asyncRoutes路由中,而是交给**generateRouterMap**处理,由devtools生成的路由会自动写入generateRouterMap集合 +> 2.1.x版本之后devtools具有前端生成能力,因此手动添加路由不建议直接放在asyncRoutes路由中,而是交给**generateRouterMap**处理,由devtools生成的路由会自动写入generateRouterMap集合 ```javascript export const asyncRouterMap = [] diff --git a/diboot-docs/guide/diboot-core/Service接口.md b/diboot-docs/guide/diboot-core/Service接口.md index 44fb0f8..6160b15 100644 --- a/diboot-docs/guide/diboot-core/Service接口.md +++ b/diboot-docs/guide/diboot-core/Service接口.md @@ -188,7 +188,7 @@ boolean deleteEntityAndRelatedEntities(T entity, List relatedEntities, ISett ~~~ ### createOrUpdateN2NRelations 创建或更新n-n关联 -* since v2.1.0 +* since v2.1.x ```java /** * 创建或更新n-n关联 diff --git a/diboot-docs/guide/diboot-devtools/前端功能生成.md b/diboot-docs/guide/diboot-devtools/前端功能生成.md index acb42c5..2da171e 100644 --- a/diboot-docs/guide/diboot-devtools/前端功能生成.md +++ b/diboot-docs/guide/diboot-devtools/前端功能生成.md @@ -1,7 +1,7 @@ # 前端功能生成 -* 在2.1.0版本之后,devtools已经支持PC端管理后台前端相关功能的生成。他可以帮您完成以下事项: +* 在2.1.x版本之后,devtools已经支持PC端管理后台前端相关功能的生成。他可以帮您完成以下事项: * 单表和具有关联关系的CRUD前端功能生成。 * 完成常见的多种表单类型的自动化处理(主要包括单行文本、多行文本、富文本、关联数据选择框、开关选项、日期选择器、日期时间选择器、单文件上传、多文件上传、单图片上传、多图片上传、数字类型等),满足更多场景需要。 * Excel导入预览与导入上传功能的自动化生成,导入功能从此变得简单。 diff --git a/diboot-docs/guide/diboot-element-admin/CRUD快速集成.md b/diboot-docs/guide/diboot-element-admin/CRUD快速集成.md index 3d0930e..3c23d6e 100644 --- a/diboot-docs/guide/diboot-element-admin/CRUD快速集成.md +++ b/diboot-docs/guide/diboot-element-admin/CRUD快速集成.md @@ -32,23 +32,23 @@ export default { | 属性 | 说明 | 类型 |默认值 | 版本| | ------------- |:-------------| -----| -----| -----| -| primaryKey | 主键字段名 | string | id | **2.1.0** | +| primaryKey | 主键字段名 | string | id | **2.1.x** | | baseApi | 请求接口基础路径(必须配置)|String | / | - | | listApi | 列表数据接口| String | /list |- | | deleteApiPrefix | 删除接口前缀 | String | / | - | -| exportApi | 导出接口| String |~~/export~~ /excel/export|~~2.0.5~~ **2.1.0**| +| exportApi | 导出接口| String |~~/export~~ /excel/export|~~2.0.5~~ **2.1.x**| | customQueryParam| 自定义参数(不被查询表单重置和改变的参数) | object | {} | - | | queryParam | 与查询条件绑定的参数(会被查询表单重置和改变的参数) | object | {} | - | -| dateRangeQuery | 日期区间选择配置
**时间区间字段请放在这个对象中,会自动构建参与查询** | object | {} | **2.1.0** | -| advanced | 高级搜索 展开/关闭 | boolean | false | **2.1.0** | +| dateRangeQuery | 日期区间选择配置
**时间区间字段请放在这个对象中,会自动构建参与查询** | object | {} | **2.1.x** | +| advanced | 高级搜索 展开/关闭 | boolean | false | **2.1.x** | | list | 存储列表数据 | array | [] |-| | getMore | 是否使mixin在当前业务的attachMore接口中自动获取关联数据
**:point_right:业务对象关联详解**| boolean | false | - | -| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.0** | +| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.x** | | more | 存储当前对象的关联数据对象
**:point_right:业务对象关联详解**| object | {} | - | | listFormatter| 是否将children转化为_children | boolean | true | - | | getListFromMixin| 是否在页面初始化时自动加载列表数据 | boolean | true | - | | loadingData | 标记页面加载数据状态 | boolean | false | - | -| exportLoadingData| 标记导出文件时加载状态 | boolean | false | **2.1.0** | +| exportLoadingData| 标记导出文件时加载状态 | boolean | false | **2.1.x** | | pagination | 分页配置 | object | {pageSize: 10,current: 1,total: 0,showSizeChanger: true,pageSizeOptions: ['10', '20', '30', '50', '100']} | - | 5. 功能函数 @@ -56,9 +56,9 @@ export default { | 名称 | 说明 | 参数 | 版本| | ------------- |:-------------| -----| -----| | handlePaginationChanged | 分页触发 |- | - | -| appendSorterParam | 构建排序(绑定table的@sort-change)
**:point_right:列表排序详解**| - | **2.1.0** | +| appendSorterParam | 构建排序(绑定table的@sort-change)
**:point_right:列表排序详解**| - | **2.1.x** | | onSearch | 搜索,查询第一页(默认查询按钮触发)| - | - | -| toggleAdvanced | 切换展示更多搜索框(绑定**advanced**属性)| - | **2.1.0** | +| toggleAdvanced | 切换展示更多搜索框(绑定**advanced**属性)| - | **2.1.x** | | postList | post请求的获取列表(可以传递更长、更复杂参数) | - | - | | getList | get请求获取列表 | - | - | | menuCommand | 更新或者删除 | function(command, row) | - | @@ -66,10 +66,10 @@ export default { | attachMore | 加载当前页面关联的对象或者字典,参考属性:getMore、attachMoreList、more | - | - | | reset | 重置查询 | - | - | | remove | 根据id删除 | function(id) | - | -| exportData | 导出数据至excel | - | **2.1.0** | -| downloadFile | 下载文件 | function(res) | **2.1.0** | -| contentTransform | 处理查询参数中的moment数据 默认转化为YYYY-MM-DD | function(content, transform = {}) | **2.1.0** | -| dateRange2queryParam | 构建区间查询参数,(转化dateRangeQuery属性内容) | - | **2.1.0** | +| exportData | 导出数据至excel | - | **2.1.x** | +| downloadFile | 下载文件 | function(res) | **2.1.x** | +| contentTransform | 处理查询参数中的moment数据 默认转化为YYYY-MM-DD | function(content, transform = {}) | **2.1.x** | +| dateRange2queryParam | 构建区间查询参数,(转化dateRangeQuery属性内容) | - | **2.1.x** | 6. 钩子函数 @@ -93,7 +93,7 @@ export default { | 属性 | 说明 | 类型 |默认值 | 版本| | ------------- |:-------------| -----| -----| -----| -| primaryKey | 主键字段名 | string | id | **2.1.0** | +| primaryKey | 主键字段名 | string | id | **2.1.x** | | baseApi | 请求接口基础路径(必须配置)|String | / | - | | createApi | 新建接口,自动拼接在*baseApi*之后| String | / |- | | updateApiPrefix | 更新接口前缀,自动拼接在*baseApi*之后 | String | / | - | @@ -101,13 +101,13 @@ export default { | initFormData| 表单初始数据(表示表单数据结构) | object | {} | - | | form| 更新时装载加载的原数据,新建时为上述initFormData数据的克隆 | object | {} | - | | getMore | 是否使mixin在当前业务的attachMore接口中自动获取关联数据
**:point_right:业务对象关联详解**| boolean | false | - | -| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.0** | +| attachMoreList | 获取关联数据列表的配置列表
**:point_right:业务对象关联详解** | array | [] | **2.1.x** | | more | 存储当前对象的关联数据对象
**:point_right:业务对象关联详解** | object | {} | - | -| fullscreen | 当前组件全屏控制 | boolean | false | **2.1.0** | +| fullscreen | 当前组件全屏控制 | boolean | false | **2.1.x** | | state | 当前组件状态对象 | object | {visible: false, confirmSubmit: false} | - | -| isUpload | 当前form是否包含上传
**:point_right:文件上传详解** | boolean | false | **2.1.0** | -| fileWrapper | 文件包装容器
**:point_right:文件上传详解** | object | {} | **2.1.0** | -| fileUuidList | 文件存储服务器后返回的唯一标识集合
**:point_right:文件上传详解** | array | [] | **2.1.0** | +| isUpload | 当前form是否包含上传
**:point_right:文件上传详解** | boolean | false | **2.1.x** | +| fileWrapper | 文件包装容器
**:point_right:文件上传详解** | object | {} | **2.1.x** | +| fileUuidList | 文件存储服务器后返回的唯一标识集合
**:point_right:文件上传详解** | array | [] | **2.1.x** | 3. 功能函数 @@ -152,7 +152,7 @@ export default { | visible | 当前组件显示状态 | String | / | - | | model | 当前详情框详情数据 | object |{}|-| | title | 标题 | String |详情|-| -| fullscreen | 当前组件全屏控制 | boolean | false | **2.1.0** | +| fullscreen | 当前组件全屏控制 | boolean | false | **2.1.x** | 3.功能函数 @@ -160,7 +160,7 @@ export default { | ------------- |:-------------| -----| -----| | open | 打开详情(加载服务端数据)|function(id) | - | | close | 关闭详情 | - | - | -| downloadFile | 下载文件(传入接口地址)| function(path) | **2.1.0** | +| downloadFile | 下载文件(传入接口地址)| function(path) | **2.1.x** | 4. 钩子函数 @@ -196,7 +196,7 @@ export default { - 业务对象关联详解 - more: 值来源于*getMore*或*attachMoreList* 配置请求接口后返回的结果; - getMore: 开启关联数据会从当前业务的/attachMore接口中读取,开启后优于attachMoreList使用; - - attachMoreList: **2.1.0 新增** 实现关联数据从/common/attachMore接口统一读取,配置如下: + - attachMoreList: **2.1.x 新增** 实现关联数据从/common/attachMore接口统一读取,配置如下: ```javascript // type:D(字典数据)/T(关联业务对象) attattachMoreList: [ @@ -248,7 +248,7 @@ export default { } ``` - 如非特殊,建议使用attachMoreList配置用以简化代码 -- 文件上传详解 (2.1.0新增) +- 文件上传详解 (2.1.x新增) **以下属性讲解,基于Upload组件** :point_right: [Upload.vue组件概述](/guide/diboot-element-admin/组件.html#upload组件) - isUpload: 标记当前form表单中是否包含上传属性,使用如:图片、文件,默认不包含,如果引入组件,请手动开启: diff --git a/diboot-docs/guide/diboot-element-admin/介绍.md b/diboot-docs/guide/diboot-element-admin/介绍.md index e2ef447..0458bcd 100644 --- a/diboot-docs/guide/diboot-element-admin/介绍.md +++ b/diboot-docs/guide/diboot-element-admin/介绍.md @@ -29,4 +29,4 @@ diboot-element-admin前端基础项目,是一个与diboot其他后端组件构 * 角色与权限管理功能; * 权限管理功能; * 登录日志管理功能 -* 预置上传、富文本、导入组件 **(2.1.0 新增)** +* 预置上传、富文本、导入组件 **(2.1.x 新增)** diff --git a/diboot-docs/guide/diboot-element-admin/添加页面.md b/diboot-docs/guide/diboot-element-admin/添加页面.md index 1d31c75..de1c9b1 100644 --- a/diboot-docs/guide/diboot-element-admin/添加页面.md +++ b/diboot-docs/guide/diboot-element-admin/添加页面.md @@ -8,15 +8,15 @@ ## 添加路由配置 ### 自动添加路由配置 -:point_right: [devtools 2.1.0 自动化生成您的前端页面](/guide/diboot-devtools/介绍) +:point_right: [devtools 2.1.x 自动化生成您的前端页面](/guide/diboot-devtools/介绍) :::tip -devtools 2.1.0为您提供了前端页面和后端接口的快速构建,赶快点击体验吧!!! +devtools 2.1.x为您提供了前端页面和后端接口的快速构建,赶快点击体验吧!!! ::: ### 手动添加路由配置 * 后台菜单是根据路由配置自动生成的,具体可参考[路由和侧边栏](https://panjiachen.github.io/vue-element-admin-site/zh/guide/essentials/router-and-nav.html) * 在**src/router/index.js**文件中,可以配置需要新增页面的路由。 * 对于需要进行权限控制的菜单,~~**需要放到asyncRoutes中进行配置**~~,其他不需要进行权限控制或所有人可用的菜单,可以放到constantRoutes中。 -> 2.1.0版本之后devtools具有前端生成能力,因此手动添加路由不建议直接放在asyncRoutes路由中,而是交给**generateRouterMap**处理,由devtools生成的路由会自动写入generateRouterMap集合 +> 2.1.x版本之后devtools具有前端生成能力,因此手动添加路由不建议直接放在asyncRoutes路由中,而是交给**generateRouterMap**处理,由devtools生成的路由会自动写入generateRouterMap集合 ```javascript export const asyncRoutes = [] diff --git a/diboot-docs/guide/notes/upgrade/2_0_x升级至2_1_x.md b/diboot-docs/guide/notes/upgrade/2_0_x升级至2_1_x.md index d22b6cd..c1bc69c 100644 --- a/diboot-docs/guide/notes/upgrade/2_0_x升级至2_1_x.md +++ b/diboot-docs/guide/notes/upgrade/2_0_x升级至2_1_x.md @@ -189,9 +189,9 @@ public JsonResult deleteEntityMapping(@PathVariable("id")Long id) throws Excepti ::: ### 3. diboot-antd-admin前端调整 -> 前端项目需要先从github的release notes中下载一个2.1.0版本的源码包,以下升级流程将依赖于此源码包。 +> 前端项目需要先从github的release notes中下载一个2.1.x版本的源码包,以下升级流程将依赖于此源码包。 -* 先更新package.json依赖到最2.1.0版本的依赖,具体如下: +* 先更新package.json依赖到最2.1.x版本的依赖,具体如下: * 更新 ant-design-vue 版本,如下: ```json { @@ -482,9 +482,9 @@ attachMoreList: [ ### 4. diboot-element-admin前端调整 -> 升级前请下载[diboot-element-admin 2.1.0](https://github.com/dibo-software/diboot-element-admin/releases)源码包,以下升级流程将依赖此包。 +> 升级前请下载[diboot-element-admin 2.1.x](https://github.com/dibo-software/diboot-element-admin/releases)源码包,以下升级流程将依赖此包。 -* 调整package.json相关依赖到2.1.0版本,具体如下: +* 调整package.json相关依赖到2.1.x版本,具体如下: * 更新 *element-ui* 依赖: ```json {