diff --git a/backend/src/main/resources/db/migration/V14__area_code.sql b/backend/src/main/resources/db/migration/V14__area_code.sql index e69de29bb2..75a739301b 100644 --- a/backend/src/main/resources/db/migration/V14__area_code.sql +++ b/backend/src/main/resources/db/migration/V14__area_code.sql @@ -0,0 +1,10 @@ +CREATE TABLE `area_mapping` ( + `id` bigint(20) NOT NULL COMMENT 'id', + `province_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省名称', + `province_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省代码', + `city_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '市名称', + `city_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '市代码', + `county_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '县名称', + `county_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '县代码', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci; diff --git a/backend/src/main/resources/db/migration/V18__add_demo.sql b/backend/src/main/resources/db/migration/V18__add_demo.sql index d700a2b67c..fb508a16c4 100644 --- a/backend/src/main/resources/db/migration/V18__add_demo.sql +++ b/backend/src/main/resources/db/migration/V18__add_demo.sql @@ -230,6 +230,7 @@ SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for demo_new_trend_of_diagnosis -- ---------------------------- +DROP TABLE IF EXISTS `demo_new_trend_of_diagnosis`; CREATE TABLE `demo_new_trend_of_diagnosis` ( `date` varchar(50) NOT NULL DEFAULT '' COMMENT '日期', `new_diagnosis` bigint(13) DEFAULT NULL COMMENT '新增确诊', diff --git a/frontend/src/components/canvas/index.vue b/frontend/src/components/canvas/index.vue index 201d42e639..d8c3d139af 100644 --- a/frontend/src/components/canvas/index.vue +++ b/frontend/src/components/canvas/index.vue @@ -35,7 +35,7 @@ import Toolbar from '@/components/Toolbar' import { deepCopy } from '@/utils/utils' import { mapState } from 'vuex' import generateID from '@/utils/generateID' -import { listenGlobalKeyDown } from '@/utils/shortcutKey' +// import { listenGlobalKeyDown } from '@/utils/shortcutKey' export default { // eslint-disable-next-line vue/no-unused-components diff --git a/frontend/src/components/widget/DeWidget/DeSelect.vue b/frontend/src/components/widget/DeWidget/DeSelect.vue index 679a36074f..2c8470b6b6 100644 --- a/frontend/src/components/widget/DeWidget/DeSelect.vue +++ b/frontend/src/components/widget/DeWidget/DeSelect.vue @@ -22,7 +22,7 @@ diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue index bd665dd369..fd4899ab20 100644 --- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue +++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue @@ -42,7 +42,7 @@