diff --git a/src/components/common/Calendar.vue b/src/components/common/Calendar.vue index 795645b..148e691 100644 --- a/src/components/common/Calendar.vue +++ b/src/components/common/Calendar.vue @@ -69,7 +69,6 @@ const generateCalendarData = ( // 使用示例 const calendarData = generateCalendarData(currentYear, currentMonth); -console.log(calendarData); diff --git a/src/components/outpatient/DiagnosisSearchInput.vue b/src/components/outpatient/DiagnosisSearchInput.vue index d6e2b23..11a5cde 100644 --- a/src/components/outpatient/DiagnosisSearchInput.vue +++ b/src/components/outpatient/DiagnosisSearchInput.vue @@ -1,17 +1,46 @@ @@ -132,4 +161,55 @@ defineExpose({init,clear}) :deep(.el-table--small .el-table__cell) { padding: 0; } +.table { + th { + background: none !important; + } + + .table-title { + height: 52px; + font-weight: 500; + font-size: 14px; + color: #333333; + font-style: normal; + + th { + text-align: left; + &:nth-child(1) { + text-align: left; + border-radius: 8px 8px 0 0; + padding-left: 24px !important; + } + } + } + + .table-body { + height: 52px; + font-weight: 500; + font-size: 14px; + color: #666666; + font-style: normal; + td { + &:nth-child(1) { + + text-align: left; + padding-left: 30px !important; + white-space: nowrap; /* 防止文本换行 */ + overflow: hidden; /* 隐藏溢出的文本 */ + text-overflow: ellipsis; /* 显示省略号 */ + } + } + + + + &:last-child { + border-radius: 0 0 8px 8px; + } + + &:hover { + background-color: #4D6DE4; + color: #fff; + } + } +} \ No newline at end of file diff --git a/src/components/registration/CardDefault.vue b/src/components/registration/CardDefault.vue index 16ae171..470d29b 100644 --- a/src/components/registration/CardDefault.vue +++ b/src/components/registration/CardDefault.vue @@ -82,7 +82,7 @@ const getInfoFor1101 = (params: any) => { duration: 1000, }); emit('socialCardUpdate', socialCard.value) - }).catch(() => { + }).catch((err:any) => { isReading.value = false; emit('changeLoading', false) ElMessage({ @@ -104,7 +104,7 @@ onUnmounted(() => { }) const close = () => { - socialCard.value = null + socialCard.value = {} } defineExpose({close}) diff --git a/src/components/registration/Edit.vue b/src/components/registration/Edit.vue index 0f8776e..561c039 100644 --- a/src/components/registration/Edit.vue +++ b/src/components/registration/Edit.vue @@ -359,7 +359,6 @@ const deleteCard = () => { nextTick(() => { cardDefaultRef.value?.close() height.value = 470 - console.log(socialCard.value,'socialCard') }) } },