diff --git a/.env.development b/.env.development index 67f5d356..d25025e0 100644 --- a/.env.development +++ b/.env.development @@ -32,4 +32,4 @@ VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001' # dev # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # sit -# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' \ No newline at end of file +#VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' \ No newline at end of file diff --git a/src/components/points-and-badge/check-in.vue b/src/components/points-and-badge/check-in.vue index 0bd0b94d..b78fa689 100644 --- a/src/components/points-and-badge/check-in.vue +++ b/src/components/points-and-badge/check-in.vue @@ -234,6 +234,7 @@ text-align: center; // 隐藏展开时超过30天的样式 &.hide.expand { + .calendar-day-title { width: 70rpx; color: #fff; @@ -367,6 +368,7 @@ display: flex; flex-direction: column; height: 130rpx; + overflow: hidden; transition: height 0.3s ease; &.expand { height: 650rpx; diff --git a/src/components/selection-institutions/index.vue b/src/components/selection-institutions/index.vue index 77a1c5dd..64a51500 100644 --- a/src/components/selection-institutions/index.vue +++ b/src/components/selection-institutions/index.vue @@ -114,8 +114,17 @@ }); const emit = defineEmits(['submit']); + const open = (status, inPaths) => { + console.log('传入的数据', inPaths); + if (Array.isArray(inPaths) && inPaths.length > 0) { + selectedPaths.value = inPaths; + } else { + selectedPaths.value = [{ orgName: '全部', orgId: 'A', parentId: '' }]; + } + openDialog(true); + }; defineExpose({ - open: () => openDialog(true), + open, close: () => openDialog(false) }); diff --git a/src/components/selection-institutions/treeSelector.vue b/src/components/selection-institutions/treeSelector.vue index ef10a915..2e65b6fb 100644 --- a/src/components/selection-institutions/treeSelector.vue +++ b/src/components/selection-institutions/treeSelector.vue @@ -1,6 +1,6 @@