diff --git a/src/assets/scss/main.scss b/src/assets/scss/main.scss
index 34453e2..3778d5e 100644
--- a/src/assets/scss/main.scss
+++ b/src/assets/scss/main.scss
@@ -33,12 +33,12 @@ html{
}
@media screen and (max-width: 1600px) {
html {
- font-size: 12px; // 更小的字体以适配较小屏幕
+ font-size: 14px; // 更小的字体以适配较小屏幕
}
}
@media screen and (max-width: 1440px) {
html {
- font-size: 10px; // 更小的字体以适配较小屏幕
+ font-size: 12px; // 更小的字体以适配较小屏幕
}
}
#app {
@@ -134,6 +134,7 @@ $btn-color: #4D6DE4;
$lighter-color: rgba(#4D6DE4, 0.5);
.default-btn{
cursor: pointer;
+ display: inline-block;
width: 120px;
height: 42px;
line-height: 42px;
@@ -146,4 +147,19 @@ $lighter-color: rgba(#4D6DE4, 0.5);
background: $lighter-color;
}
+}
+.small-btn{
+ cursor: pointer;
+ display: inline-block;
+ width: 72px;
+ height: 24px;
+ line-height: 24px;
+ background: $btn-color;
+ border-radius: 3px;
+ color: #FFF;
+ font-size: 12px;
+ text-align: center;
+ &:hover{
+ background: $lighter-color;
+ }
}
\ No newline at end of file
diff --git a/src/components/charge/OrderDetail.vue b/src/components/charge/OrderDetail.vue
index a860f03..60154a4 100644
--- a/src/components/charge/OrderDetail.vue
+++ b/src/components/charge/OrderDetail.vue
@@ -64,66 +64,60 @@
-
-
支付信息
-
-
-
开单时间
-
{{ formatDate(orderInfo.createDatetime) }}
-
-
-
完成时间
-
{{ formatDate(orderInfo.payTime) }}
-
-
-
收费员
-
{{ orderInfo.salePersonName }}
-
-
-
药师
-
{{ orderInfo.dockerName }}
-
-
-
销售人
-
{{ orderInfo.salePersonName }}
-
-
-
原价
-
¥{{ orderInfo.preTotalPrice }}
-
-
-
优惠
-
¥{{ (orderInfo.preTotalPrice - orderInfo.totalPrice).toFixed(2) }}
-
-
-
应收
-
¥{{ orderInfo.totalPrice }}
-
-
-
实收
-
¥{{ orderInfo.totalPrice }}
-
-
-
支付方式
-
{{ orderInfo.orderId }}
-
-
-
零售备注
-
{{ orderInfo.orderId }}
-
+
支付信息
+
+
+
开单时间
+
{{ formatDate(orderInfo.createDatetime) }}
-
-
-
@@ -281,7 +275,6 @@ onUnmounted(() => {
.left {
flex: 1;
height: 100%;
- margin-right: 10px;
min-height: 0;
display: flex;
flex-direction: column;
@@ -318,82 +311,39 @@ onUnmounted(() => {
.right {
width: 314px;
height: 100%;
- border: solid 1px #e6e6e6;
display: flex;
flex-direction: column;
-
- .right_head {
- padding: 10px;
-
- .title {
- font-size: 12px;
- font-weight: 600;
- height: 25px;
- }
-
- .info {
- font-size: 12px;
- font-weight: 400;
- color: #999ca1;
-
- .item {
- display: flex;
- justify-content: space-between;
- margin-bottom: 10px;
-
- .value {
- color: #000;
- }
- }
- }
+ padding: 24px;
+ .title {
+ font-weight: 800;
+ font-size: 18px;
+ color: #333333;
+ font-style: normal;
+ margin-bottom: 24px;
}
- .right_body {
- padding: 0 10px;
- font-size: 12px;
- font-weight: 400;
- height: 30px;
- color: #999ca1;
- border-top: 1px solid #e6e6e6;
- display: flex;
- justify-content: space-between;
- align-items: center;
-
- .value {
- color: base.$warning-color;
- }
- }
-
- .right_foot {
+ .info {
flex: 1;
- padding: 0 10px;
- font-size: 12px;
- font-weight: 400;
- color: #999ca1;
- border-top: 1px solid #e6e6e6;
+ font-weight: 500;
+ font-size: 16px;
+ color: #999999;
+ font-style: normal;
display: flex;
+ flex-direction: column;
justify-content: space-between;
- align-items: center;
+ min-height: 0;
- .label {
+ .item {
display: flex;
- flex-direction: column;
- justify-content: center;
- height: 100%;
+ justify-content: space-between;
- .pay {
+ .value {
color: #000;
}
-
- .name {
- margin: 5px 0;
- }
}
- .value {
- color: #000;
- }
}
+
}
}
diff --git a/src/components/common/Footer.vue b/src/components/common/Footer.vue
index 383e1f8..9ec9602 100644
--- a/src/components/common/Footer.vue
+++ b/src/components/common/Footer.vue
@@ -1,6 +1,6 @@
diff --git a/src/components/common/Mask.vue b/src/components/common/Mask.vue
index b4ae821..88d7034 100644
--- a/src/components/common/Mask.vue
+++ b/src/components/common/Mask.vue
@@ -35,6 +35,9 @@ watch(
_height.value = newVal == null ? 800 : Number(newVal);
}
);
+let width_rem=(_width.value/16).toFixed(2);
+let height_rem=(_height.value/16).toFixed(2);
+
@@ -42,7 +45,7 @@ watch(
-
+
@@ -190,23 +190,6 @@ const resetSearch = () => {
.addBtn {
span {
display: inline-block;
- width: 120px;
- height: 42px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid #4D6DE4;
- margin-right: 24px;
- font-weight: 500;
- font-size: 16px;
- color: #4D6DE4;
- text-align: center;
- line-height: 42px;
- cursor: pointer;
- &:hover {
- background: #4D6DE4;
- color: #fff;
- border: none;
- }
}
}
}
diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue
index 9b57294..f798627 100644
--- a/src/views/settings/index.vue
+++ b/src/views/settings/index.vue
@@ -47,6 +47,11 @@
+
+
+
+
+
@@ -55,16 +60,11 @@
style="margin-left: 24px">
-
-
-
-
-
- 保存
+ 保存
diff --git a/src/views/settings/item.vue b/src/views/settings/item.vue
index d1fb244..aa4f19b 100644
--- a/src/views/settings/item.vue
+++ b/src/views/settings/item.vue
@@ -17,10 +17,10 @@
- 查询
- 重置
- 新建项目
- 组套
+ 查询
+ 重置
+ 新建项目
+
@@ -198,5 +198,7 @@ const loading= ref(true)
}
}
-
+:deep(.el-input__wrapper){
+ height: 42px;
+}
\ No newline at end of file
diff --git a/src/views/settings/log.vue b/src/views/settings/log.vue
index ce07cb4..beecbdb 100644
--- a/src/views/settings/log.vue
+++ b/src/views/settings/log.vue
@@ -24,8 +24,7 @@
@@ -119,6 +118,7 @@ const handleDateChange = (date: any[]) => {
.content {
flex: 1;
background: #fff;
+ min-height: 0;
}
.pagination {
diff --git a/src/views/settings/member.vue b/src/views/settings/member.vue
index 566a71d..3e66407 100644
--- a/src/views/settings/member.vue
+++ b/src/views/settings/member.vue
@@ -25,9 +25,9 @@
- 查询
- 重置
- 新增
+ 查询
+ 重置
+ 新增
@@ -188,5 +188,10 @@ const resetSearch = () => {
justify-content: flex-end;
}
}
-
+:deep(.el-input__wrapper){
+ height: 42px;
+}
+:deep(.el-select__wrapper){
+ height: 42px;
+}
\ No newline at end of file
diff --git a/src/views/social/accountRecords.vue b/src/views/social/accountRecords.vue
index 242a9d9..80535fd 100644
--- a/src/views/social/accountRecords.vue
+++ b/src/views/social/accountRecords.vue
@@ -1,6 +1,6 @@
-
@@ -114,5 +113,16 @@ onMounted(() => {
\ No newline at end of file
diff --git a/src/views/social/costRecord.vue b/src/views/social/costRecord.vue
index f1dcaa7..9ab2647 100644
--- a/src/views/social/costRecord.vue
+++ b/src/views/social/costRecord.vue
@@ -1,6 +1,6 @@
-
+
-
-
-
-
-
-
-
- 门诊收费
- 门诊退费
-
-
-
-
- {{ payTypeMapping[scope.row.payType as keyof typeof payTypeMapping] || '未知' }}
-
-
-
-
- ¥{{ scope.row.netReceipts }}
-
-
-
-
-
-
- 退款
- 收费
-
-
-
-
+
+
+
+
+
+
+ 门诊收费
+ 门诊退费
+
+
+
+
+ {{ payTypeMapping[scope.row.payType as keyof typeof payTypeMapping] || '未知' }}
+
+
+
+
+ ¥{{ scope.row.netReceipts }}
+
+
+
+
+
+
+ 退款
+ 收费
+
+
+
-
\ No newline at end of file
diff --git a/src/views/social/directory.vue b/src/views/social/directory.vue
index fcebca3..efddb54 100644
--- a/src/views/social/directory.vue
+++ b/src/views/social/directory.vue
@@ -99,11 +99,11 @@
type="date"
placeholder="选择一个起始日期"
size="default"
- style="flex: 1;height: 42px"
+ style="flex: 1;height: 100%"
/>
-
+ >
开始更新
@@ -113,7 +113,7 @@
{{ tip }}
-
+
@@ -127,11 +127,10 @@
type="date"
placeholder="选择一个起始日期"
size="default"
- style="flex: 1;height: 42px"
+ style="flex: 1;height: 100%"
/>
-
@@ -203,14 +202,11 @@ let update1312 = (current_page: number) => {
update1312(current_page);
} else {
tip.value = "所有更新已完成"
- isUpdate1312.value = false
- showBtn.value = false
+ close()
}
}).catch((err: any) => {
- isUpdate1312.value = false;
- current_page = 1;
- showBtn.value = false
+ close()
})
}
const openUpdateBox = (type: number) => {
@@ -292,7 +288,6 @@ const start_type = () => {
download(res.currentVersionName, current_tab.value);
}).catch((err: any) => {
UpdateDirectoryLoading.value = false;
- close()
ElNotification({
title: '提示',
message: "当前是最新版本",
@@ -304,7 +299,6 @@ let download = (ver: any, type: any) => {
post("social/directory/download", {ver: ver, type: type}).then((res: any) => {
if (res == null || res == "") {
UpdateDirectoryLoading.value = false;
- close()
ElNotification({
title: '提示',
message: "当前是最新版本",
@@ -315,7 +309,6 @@ let download = (ver: any, type: any) => {
get_data_list()
start_type()
}).catch((err: any) => {
- close()
UpdateDirectoryLoading.value = false;
ElNotification({
title: '提示',
@@ -325,17 +318,57 @@ let download = (ver: any, type: any) => {
})
}
const close = () => {
+ showBtn.value = false
UpdateDirectoryLoading.value = false;
isUpdate1312.value = false
isUpdate1318.value = false
isUpdate1319.value = false
tip.value = ""
+ percent.value = 100
}
-const update1318 = () => {
- console.log(111)
+const update1318 = (current_page: number) => {
+ showBtn.value = true
+ if (current_page == 1) {
+ tip.value = "开始更新第1页"
+ }
+ post('social/directory_limit/get_page', {
+ updt_time: updt_time.value,
+ page: current_page
+ }).then((res: any) => {
+ let pages = res.pages;
+ let number = res.number;
+ if (current_page < pages && isUpdate1318.value) {
+ current_page++
+ percent.value = Math.floor((current_page / pages) * 100)
+ tip.value = "开始更新第:" + current_page + "/" + pages;
+ update1318(current_page);
+ } else {
+ tip.value = "所有更新已完成"
+ close()
+ }
+ })
}
-const update1319 = () => {
- console.log(111)
+const update1319 = (current_page: number) => {
+ showBtn.value = true
+ if (current_page == 1) {
+ tip.value = "开始更新第1页"
+ }
+ post('social/directory_self/get_page', {
+ updt_time: updt_time.value,
+ page: current_page
+ }).then((res: any) => {
+ let pages = res.pages;
+ let number = res.number;
+ if (current_page < pages && isUpdate1319.value) {
+ current_page++
+ percent.value = Math.floor((current_page / pages) * 100)
+ tip.value = "开始更新第:" + current_page + "/" + pages;
+ update1318(current_page);
+ } else {
+ tip.value = "所有更新已完成"
+ close()
+ }
+ })
}
diff --git a/src/views/social/inventoryUp.vue b/src/views/social/inventoryUp.vue
index 918929d..50895f1 100644
--- a/src/views/social/inventoryUp.vue
+++ b/src/views/social/inventoryUp.vue
@@ -19,7 +19,7 @@
- 一键上传
+ 一键上传
@@ -111,23 +111,22 @@ let upload_data = () => {
flex-direction: column;
height: 100%;
min-height: 0;
+ padding: 24px;
+ border-radius: 8px;
.top {
width: 100%;
height: 50px;
-
}
-
.content {
flex: 1;
- overflow: hidden;
min-height: 0;
}
}
.right {
float: right;
- transform: translateY(-52px);
+ transform: translateY(-63px);
}
.example-showcase .el-loading-mask {