已过期{{
Math.abs(expireDateWarningList[3].remaining_days)
}}天
@@ -147,20 +147,19 @@ const getExpiryDateWarning = () => {
height: 100%;
display: flex;
flex-direction: column;
+ margin-right: 24px;
.box {
- display: flex;
- flex-wrap: wrap;
-
.item {
float: left;
- width: 48%;
+ width:48%;
height: 58px;
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
border-radius: 8px;
display: flex;
align-items: center;
-
+ justify-content: space-between;
+ flex: 1 1 calc(50% - 8px); //每行显示2个 item,每个 item 占据 33.33% 减去间距
.image {
width: 34px;
height: 34px;
@@ -178,24 +177,25 @@ const getExpiryDateWarning = () => {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ }
+ .item-name-font {
+ font-weight: 400;
+ font-size: 12px;
+ color: #999999;
+ font-style: normal;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}
-
- .item-right {
- width: 56px;
- margin-right: 16px;
- font-weight: 400;
- font-size: 10px;
- color: #333333;
- font-style: normal;
-
- .item-right-num {
- font-weight: bold;
+ .item-right{
+ width: 70px;
+ .item-right-num{
font-size: 28px;
color: #FF282E;
+ font-weight: bold;
font-style: normal;
-
}
}
@@ -211,15 +211,16 @@ const getExpiryDateWarning = () => {
margin-top: 8px !important;
}
}
-
.item1 {
float: right;
+ width:48%;
height: 58px;
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
border-radius: 8px;
display: flex;
align-items: center;
-
+ justify-content: space-between;
+ flex: 1 1 calc(50% - 8px); //每行显示2个 item,每个 item 占据 33.33% 减去间距
.image {
width: 34px;
height: 34px;
@@ -237,24 +238,27 @@ const getExpiryDateWarning = () => {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ }
+ .item-name-font {
+ font-weight: 400;
+ font-size: 12px;
+ color: #999999;
+ font-style: normal;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}
- .item-right {
- width: 56px;
- margin-right: 16px;
- font-weight: 400;
- font-size: 10px;
- color: #333333;
- font-style: normal;
- .item-right-num {
- font-weight: bold;
+ .item-right{
+ width: 70px;
+ .item-right-num{
font-size: 28px;
color: #FF282E;
+ font-weight: bold;
font-style: normal;
-
}
}
diff --git a/src/components/outpatient/MedicalQueue.vue b/src/components/outpatient/MedicalQueue.vue
index a0d01dd..35d88c0 100644
--- a/src/components/outpatient/MedicalQueue.vue
+++ b/src/components/outpatient/MedicalQueue.vue
@@ -10,7 +10,7 @@
-
+
-
@@ -86,12 +86,15 @@ onMounted(() => {
initStatusList()
init()
})
+const loading = ref(true)
const init = () => {
+ loading.value = true
post(apiConfig.DoctorList, {
query: {
status: props.status,
}
}).then((res: any) => {
+ loading.value = false
list.value = res.list
})
}
diff --git a/src/components/registration/Edit.vue b/src/components/registration/Edit.vue
index 31aedc3..34fdeec 100644
--- a/src/components/registration/Edit.vue
+++ b/src/components/registration/Edit.vue
@@ -120,6 +120,7 @@ const save = () => {
mdtrtCertType: socialCard.value.mdtrtCertType
}).then(() => {
ElMessage.success('修改成功')
+ close()
})
} else {
console.log(socialCard.value)
@@ -128,9 +129,9 @@ const save = () => {
mdtrtCertType: socialCard.value.mdtrtCertType
}).then(() => {
ElMessage.success('新建成功')
+ close()
})
}
- close()
}
const deleteDetail = () => {
post('registration/delete', {id}).then(() => {
diff --git a/src/views/registration/index.vue b/src/views/registration/index.vue
index c9e0098..93fbbc4 100644
--- a/src/views/registration/index.vue
+++ b/src/views/registration/index.vue
@@ -47,8 +47,8 @@