This commit is contained in:
ChenQiuYu 2025-05-17 15:12:11 +08:00
parent ae56715a91
commit 9e29f05f57
9 changed files with 20 additions and 41 deletions

View File

@ -162,19 +162,4 @@ $lighter-color: rgba(#4D6DE4, 0.5);
&:hover{ &:hover{
background: $lighter-color; background: $lighter-color;
} }
}
.delete-btn{
cursor: pointer;
display: inline-block;
width: 72px;
height: 24px;
line-height: 24px;
background: #ff0000;
border-radius: 3px;
color: #FFF;
font-size: 12px;
text-align: center;
&:hover{
background: (rgba(#ff0000, 0.5));
}
} }

View File

@ -41,8 +41,7 @@
<div class="add" @click="addChargeOrder" @mousemove="selected=true" @mouseleave="selected=false"> <div class="add" @click="addChargeOrder" @mousemove="selected=true" @mouseleave="selected=false">
<el-icon style="margin-right: 7px"> <el-icon style="margin-right: 7px">
<template #default> <template #default>
<img v-if="!selected" style="width: 26px ;height: 22px" src="/static/images/charge/1.png" alt="" srcset=""> <img style="width: 26px ;height: 22px" src="/static/images/charge/1-active.png" alt="" srcset="">
<img v-else style="width: 26px ;height: 22px" src="/static/images/charge/1-active.png" alt="" srcset="">
</template> </template>
</el-icon> </el-icon>
新增患者 新增患者
@ -225,14 +224,13 @@ const selected= ref(false)
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: #FFFFFF; background: #4D6DE4;
border-radius: 6px; border-radius: 6px;
border: 1px solid #979797;
margin-left: 16px; margin-left: 16px;
cursor: pointer; cursor: pointer;
color: #fff;
&:hover { &:hover {
background: #4D6DE4; background: rgba(#4D6DE4,0.5);
color: #fff;
} }
} }
} }

View File

@ -1,6 +1,6 @@
<template> <template>
<Mask :width="1252" :height="777" :is-show="show" @close="show = false" title="订单详情" <Mask :width="1252" :height="777" :is-show="show" @close="show = false" title="订单详情"
:show-footer="orderInfo?.status == 1"> :show-footer="true">
<template #default> <template #default>
<div class="content"> <div class="content">
<div class="left"> <div class="left">
@ -104,11 +104,7 @@
</div> </div>
<div class="item"> <div class="item">
<div class="label">支付方式</div> <div class="label">支付方式</div>
<div class="value">{{ orderInfo.orderId }}</div> <div class="value">{{ getPayTypeStr(orderInfo.payType) }}</div>
</div>
<div class="item">
<div class="label">发票状态</div>
<div class="value" :style="{color:orderInfo.status==1 ? '#4D6DE4':'#63BD39'}">{{orderInfo.status==1 ? "未开票":"已开票"}}</div>
</div> </div>
<div class="item"> <div class="item">
<div class="label" style="color: #333333">-{{ orderInfo.payType ? getPayTypeStr(orderInfo.payType) : "" }}</div> <div class="label" style="color: #333333">-{{ orderInfo.payType ? getPayTypeStr(orderInfo.payType) : "" }}</div>
@ -127,13 +123,13 @@
<!-- <el-button type="primary" plain>追溯码</el-button>--> <!-- <el-button type="primary" plain>追溯码</el-button>-->
<div> <div>
<!-- <el-button type="danger" plain @click="cancel" v-if="orderInfo.status == 0">取消</el-button>--> <!-- <el-button type="danger" plain @click="cancel" v-if="orderInfo.status == 0">取消</el-button>-->
<el-button type="danger" plain @click="refund" v-if="orderInfo.status == 1">退款</el-button> <span class="default-btn" @click="refund" v-if="orderInfo.status == 1">退款</span>
<el-button type="primary" @click="print" v-if="orderInfo.status == 1"> <span class="default-btn" @click="print" v-if="orderInfo.status == 1" style="margin-left: 24px">
打印 打印
<el-icon class="el-icon--right"> <el-icon class="el-icon--right">
<Upload/> <Upload/>
</el-icon> </el-icon>
</el-button> </span>
</div> </div>
</div> </div>
</template> </template>
@ -350,7 +346,7 @@ onUnmounted(() => {
.footer { .footer {
height: 100%; height: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: flex-end;
align-items: center; align-items: center;
padding: 24px; padding: 24px;
} }

View File

@ -7,7 +7,7 @@
<template #title> <template #title>
<div class="list-item-content"> <div class="list-item-content">
<span class="disease-name">{{ item.diagnosisMedicalRecord?.diagnosisSummary }}</span> <span class="disease-name">{{ item.diagnosisMedicalRecord?.diagnosisSummary }}</span>
<span class="doctor">{{ item.doctorName }}</span> <span class="doctor">{{ item.salePersonName }}</span>
<span class="time">{{ formatListTime(item.createDatetime) }}</span> <span class="time">{{ formatListTime(item.createDatetime) }}</span>
</div> </div>
</template> </template>

View File

@ -136,14 +136,14 @@ const changeDate = (date: any) => {
cursor: pointer; cursor: pointer;
&:hover { &:hover {
color: #fff; color: #fff;
background: #409EFF; background: rgba(#4D6DE4,0.5);
} }
} }
} }
.active{ .active{
color: #fff !important; color: #fff !important;
background: #409EFF; background: #4D6DE4;
} }
.detail-price { .detail-price {
height: 194px; height: 194px;

View File

@ -406,6 +406,7 @@ const init = (_id: any) => {
ruleForm.value.area = JSON.parse(ruleForm.value.area) ruleForm.value.area = JSON.parse(ruleForm.value.area)
ruleForm.value.levelId = ruleForm.value.levelId == 0 ? null : ruleForm.value.levelId ruleForm.value.levelId = ruleForm.value.levelId == 0 ? null : ruleForm.value.levelId
ruleForm.value.certType=Number(ruleForm.value.certType) ruleForm.value.certType=Number(ruleForm.value.certType)
ruleForm.value.nation=Number(ruleForm.value.nation)||''
if (!res.levelId) return if (!res.levelId) return
post("vip/vipLevel/get", {levelId: res.levelId}).then((res: any) => { post("vip/vipLevel/get", {levelId: res.levelId}).then((res: any) => {
levelName.value = res.name levelName.value = res.name

View File

@ -170,9 +170,9 @@
退出医保 退出医保
</div> </div>
<div class="bottom-right"> <div class="bottom-right">
<el-button type="primary" @click="save" :disabled="edit_data.status==0">保存</el-button> <span class="default-btn" type="primary" @click="save" :disabled="edit_data.status==0">保存</span>
<el-button @click="close">取消</el-button> <span class="default-btn" @click="close" style="margin: 0 24px">取消</span>
<el-button v-if="edit_data.status==1" type="danger" @click="registrationCancel">退号</el-button> <span class="default-btn" v-if="edit_data.status==1" @click="registrationCancel">退号</span>
</div> </div>
</div> </div>
</template> </template>

View File

@ -529,7 +529,7 @@ const initCountChart = () => {
&:hover { &:hover {
color: #fff; color: #fff;
background: #409EFF; background: rgba(#4D6DE4,0.5);
} }
} }
@ -537,7 +537,7 @@ const initCountChart = () => {
.active { .active {
color: #fff !important; color: #fff !important;
background: #409EFF; background: #4D6DE4;
} }
.container { .container {

View File

@ -59,10 +59,9 @@ async function getData() {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use "@/assets/scss/base"; @use "@/assets/scss/base";
.container-wrapper { .container-wrapper {
display: flex; display: flex;
padding: 24px; padding:0 24px;
background: #F1F5FB; background: #F1F5FB;
.left { .left {