Commit 11e2b0f3f0ac79fe8762b76f91effc89929c68df
1 parent
7c9212a4
Jeecg-Boot 2.1.4 版本发布 | 重构较大,较多新功能
Showing
8 changed files
with
12 additions
and
14 deletions
ant-design-vue-jeecg/package.json
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | }, | 10 | }, |
11 | "dependencies": { | 11 | "dependencies": { |
12 | "@antv/data-set": "^0.10.2", | 12 | "@antv/data-set": "^0.10.2", |
13 | - "@jeecg/antd-online-214": "^2.1.4", | 13 | + "@jeecg/antd-online-214": "^2.1.41", |
14 | "@tinymce/tinymce-vue": "^2.0.0", | 14 | "@tinymce/tinymce-vue": "^2.0.0", |
15 | "ant-design-vue": "^1.4.0", | 15 | "ant-design-vue": "^1.4.0", |
16 | "apexcharts": "^3.6.5", | 16 | "apexcharts": "^3.6.5", |
ant-design-vue-jeecg/src/views/modules/online/cgform/util/TableUtils.js
@@ -2,11 +2,11 @@ | @@ -2,11 +2,11 @@ | ||
2 | * 同步列表,可以同步新增、修改、删除 | 2 | * 同步列表,可以同步新增、修改、删除 |
3 | * @author sunjianlei | 3 | * @author sunjianlei |
4 | * */ | 4 | * */ |
5 | -export function syncAllTable(vm, table1) { | 5 | +export async function syncAllTable(vm, table1) { |
6 | vm.$refs.editableTable.resetScrollTop() | 6 | vm.$refs.editableTable.resetScrollTop() |
7 | let deleteIds = table1.$refs.editableTable.getDeleteIds() | 7 | let deleteIds = table1.$refs.editableTable.getDeleteIds() |
8 | let table1Value | 8 | let table1Value |
9 | - table1.$refs.editableTable.getValuesPromise(false).then((values) => { | 9 | + await table1.$refs.editableTable.getValuesPromise(false).then((values) => { |
10 | table1Value = values | 10 | table1Value = values |
11 | return vm.$refs.editableTable.getValuesPromise(false) | 11 | return vm.$refs.editableTable.getValuesPromise(false) |
12 | }).then((values) => { | 12 | }).then((values) => { |
ant-design-vue-jeecg/yarn.lock
@@ -863,10 +863,10 @@ | @@ -863,10 +863,10 @@ | ||
863 | cssnano-preset-default "^4.0.0" | 863 | cssnano-preset-default "^4.0.0" |
864 | postcss "^7.0.0" | 864 | postcss "^7.0.0" |
865 | 865 | ||
866 | -"@jeecg/antd-online-214@^2.1.4": | ||
867 | - version "2.1.4" | ||
868 | - resolved "https://registry.npmjs.org/@jeecg/antd-online-214/-/antd-online-214-2.1.4.tgz#981dae8ff2ab75367fbd4aef63d5a676132ade00" | ||
869 | - integrity sha512-1gtZTHvUnFUpH2AB5FzuGvYHhPMhEfhk8bf838AtxOHUl/jQBF/sHpl7fDbvKKjHNpRAIrKmUDzWk6WboStr1A== | 866 | +"@jeecg/antd-online-214@^2.1.41": |
867 | + version "2.1.41" | ||
868 | + resolved "https://registry.npmjs.org/@jeecg/antd-online-214/-/antd-online-214-2.1.41.tgz#d74847558b87b590202ed3f3f2223d6388896e5b" | ||
869 | + integrity sha512-kC9Td7Er2lq71ZsYuXFMI/qvUCvUEQxPsqJX2FwPE8VV2GmegXtluNTCi7EuU+j6hxismhKl+AkNIiC06xQh5Q== | ||
870 | 870 | ||
871 | "@mrmlnc/readdir-enhanced@^2.2.1": | 871 | "@mrmlnc/readdir-enhanced@^2.2.1": |
872 | version "2.2.1" | 872 | version "2.2.1" |
jeecg-boot/db/增量升级SQL/2.1.3升级到2.1.4mysq.sql
@@ -49,8 +49,7 @@ ADD COLUMN `bus_id` varchar(50) COMMENT '业务id' AFTER `bus_type`, | @@ -49,8 +49,7 @@ ADD COLUMN `bus_id` varchar(50) COMMENT '业务id' AFTER `bus_type`, | ||
49 | ADD COLUMN `open_type` varchar(20) COMMENT '打开方式(组件:component 路由:url)' AFTER `bus_id`, | 49 | ADD COLUMN `open_type` varchar(20) COMMENT '打开方式(组件:component 路由:url)' AFTER `bus_id`, |
50 | ADD COLUMN `open_page` varchar(255) COMMENT '组件路由 地址' AFTER `open_type`; | 50 | ADD COLUMN `open_page` varchar(255) COMMENT '组件路由 地址' AFTER `open_type`; |
51 | 51 | ||
52 | -INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1209731624921534465', 'd7d6e2e4e2934f2c9385a623fd98c6f3', '多数据源管理', 'isystemdataSource', 'systemSysDataSourceList', '1', NULL, NULL, '1', NULL, '1', '3', '0', NULL, '1', '0', '0', NULL, 'admin', '2019-12-25 150430', NULL, NULL, '0', '0', '1', '0'); | ||
53 | - | 52 | +INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1209731624921534465', 'd7d6e2e4e2934f2c9385a623fd98c6f3', '多数据源管理', '/isystem/dataSource', 'system/SysDataSourceList', '1', NULL, NULL, '1', NULL, '1', '3', '0', NULL, '1', '0', '0', NULL, 'admin', '2019-12-25 15:04:30', NULL, NULL, '0', '0', '1', '0'); |
54 | 53 | ||
55 | ALTER TABLE `sys_data_source` | 54 | ALTER TABLE `sys_data_source` |
56 | ADD COLUMN `code` varchar(100) NULL COMMENT '数据源编码' AFTER `id`; | 55 | ADD COLUMN `code` varchar(100) NULL COMMENT '数据源编码' AFTER `id`; |
@@ -79,7 +78,7 @@ INSERT INTO `sys_check_rule` VALUES ('1224980593992388610', '通用编码规则' | @@ -79,7 +78,7 @@ INSERT INTO `sys_check_rule` VALUES ('1224980593992388610', '通用编码规则' | ||
79 | INSERT INTO `sys_check_rule` VALUES ('1225001845524004866', '负责的功能测试', 'test', '[{digits,pattern^.{3,12}$,message只能输入3-12位字符},{digits3,pattern^d{3}$,message前3位必须是数字},{digits,pattern^[^pP]$,message不能输入P},{digits4,pattern^@{4}$,message第4-7位必须都为 @},{digits2,pattern^#=$,message第8-9位必须是 #=},{digits1,pattern^O$,message第10位必须为大写的O},{digits,pattern^.。$,message必须以。结尾}]', '包含长度校验、特殊字符校验等', 'admin', '2020-02-07 115731', 'admin', '2020-02-05 182254'); | 78 | INSERT INTO `sys_check_rule` VALUES ('1225001845524004866', '负责的功能测试', 'test', '[{digits,pattern^.{3,12}$,message只能输入3-12位字符},{digits3,pattern^d{3}$,message前3位必须是数字},{digits,pattern^[^pP]$,message不能输入P},{digits4,pattern^@{4}$,message第4-7位必须都为 @},{digits2,pattern^#=$,message第8-9位必须是 #=},{digits1,pattern^O$,message第10位必须为大写的O},{digits,pattern^.。$,message必须以。结尾}]', '包含长度校验、特殊字符校验等', 'admin', '2020-02-07 115731', 'admin', '2020-02-05 182254'); |
80 | 79 | ||
81 | -- 编码校验规则菜单 | 80 | -- 编码校验规则菜单 |
82 | -INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1224641973866467330', 'd7d6e2e4e2934f2c9385a623fd98c6f3', '编码校验规则', 'isystemcheckRule', 'systemSysCheckRuleList', '1', NULL, NULL, '1', NULL, '1', '2', '0', NULL, '1', '0', '0', NULL, 'admin', '2019-11-07 135253', NULL, NULL, '0', '0', '1', '0'); | 81 | +INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `is_route`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1224641973866467330', 'd7d6e2e4e2934f2c9385a623fd98c6f3', '编码校验规则', '/isystem/checkRule', 'system/SysCheckRuleList', '1', NULL, NULL, '1', NULL, '1', '2', '0', NULL, '1', '0', '0', NULL, 'admin', '2019-11-07 13:52:53', NULL, NULL, '0', '0', '1', '0'); |
83 | 82 | ||
84 | DROP TABLE IF EXISTS `sys_depart_permission`; | 83 | DROP TABLE IF EXISTS `sys_depart_permission`; |
85 | CREATE TABLE `sys_depart_permission` ( | 84 | CREATE TABLE `sys_depart_permission` ( |
jeecg-boot/jeecg-boot-module-system/src/main/resources/application-dev.yml
@@ -96,7 +96,7 @@ spring: | @@ -96,7 +96,7 @@ spring: | ||
96 | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 | 96 | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 |
97 | datasource: | 97 | datasource: |
98 | master: | 98 | master: |
99 | - url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false | 99 | + url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false |
100 | username: root | 100 | username: root |
101 | password: root | 101 | password: root |
102 | driver-class-name: com.mysql.jdbc.Driver | 102 | driver-class-name: com.mysql.jdbc.Driver |
jeecg-boot/jeecg-boot-module-system/src/main/resources/application-prod.yml
@@ -96,7 +96,7 @@ spring: | @@ -96,7 +96,7 @@ spring: | ||
96 | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 | 96 | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 |
97 | datasource: | 97 | datasource: |
98 | master: | 98 | master: |
99 | - url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false | 99 | + url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false |
100 | username: root | 100 | username: root |
101 | password: root | 101 | password: root |
102 | driver-class-name: com.mysql.jdbc.Driver | 102 | driver-class-name: com.mysql.jdbc.Driver |
jeecg-boot/jeecg-boot-module-system/src/main/resources/application-test.yml
@@ -96,7 +96,7 @@ spring: | @@ -96,7 +96,7 @@ spring: | ||
96 | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 | 96 | connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 |
97 | datasource: | 97 | datasource: |
98 | master: | 98 | master: |
99 | - url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false | 99 | + url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false |
100 | username: root | 100 | username: root |
101 | password: root | 101 | password: root |
102 | driver-class-name: com.mysql.jdbc.Driver | 102 | driver-class-name: com.mysql.jdbc.Driver |
jeecg-boot/pom.xml
@@ -207,7 +207,6 @@ | @@ -207,7 +207,6 @@ | ||
207 | </exclusions> | 207 | </exclusions> |
208 | </dependency> | 208 | </dependency> |
209 | 209 | ||
210 | - <!-- online form--> | ||
211 | <dependency> | 210 | <dependency> |
212 | <groupId>org.hibernate</groupId> | 211 | <groupId>org.hibernate</groupId> |
213 | <artifactId>hibernate-re</artifactId> | 212 | <artifactId>hibernate-re</artifactId> |