Commit f9e03428 by wangshuangqing

修改样式

parent 6a521b01
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: wsq * @Author: wsq
* @Date: 2022-04-22 15:20:58 * @Date: 2022-04-22 15:20:58
* @LastEditors: wsq * @LastEditors: wsq
* @LastEditTime: 2023-02-24 16:51:31 * @LastEditTime: 2023-02-27 14:15:11
* @Description: * @Description:
--> -->
<template> <template>
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
<!-- 患者信息 --> <!-- 患者信息 -->
<div class="outClinicalpathway_top"> <div class="outClinicalpathway_top">
<!-- 左侧内容 --> <!-- 左侧内容 -->
<div class="outClinicalpathway_top_left"> <!-- <div class="outClinicalpathway_top_left">
<div class="outClinicalpathway_top_left_one"> <div class="outClinicalpathway_top_left_one">
<!-- <span><img src="../assets/img/peo.png" alt="" /></span> --> <span><img src="../assets/img/peo.png" alt="" /></span>
<div class="outClinicalpathway_top_left_one_t1"> <div class="outClinicalpathway_top_left_one_t1">
患者姓名:<span>{{ topdata.patientName }}</span> 患者姓名:<span>{{ topdata.patientName }}</span>
</div> </div>
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
<span <span
:class=" :class="
timeindex == activity.inhosdays timeindex == activity.inhosdays
? 'outClinicalpathway_table_left_timespan' ? 'outClinicalpathway_top_left_two_time_timespan'
: 'outClinicalpathway_table_left_timespan2' : 'outClinicalpathway_top_left_two_time_timespan2'
" "
@click="timeclick(activity)" @click="timeclick(activity)"
>{{ activity.inhosdays }}</span >{{ activity.inhosdays }}</span
...@@ -58,21 +58,81 @@ ...@@ -58,21 +58,81 @@
</el-radio-group> </el-radio-group>
</div> </div>
</div> </div>
</div> </div> -->
<!-- 右侧按钮 --> <!-- 右侧按钮 -->
<div class="outClinicalpathway_top_right"> <!-- <div class="outClinicalpathway_top_right">
<div class="outClinicalpathway_top_right_btn"> <div class="outClinicalpathway_top_right_btn">
<el-button <el-button
icon="el-icon-user"
style="background-color: #0283bb; color: #ffff" style="background-color: #0283bb; color: #ffff"
@click="joinorder()" @click="joinorder()"
>加入医嘱</el-button >加入医嘱</el-button
> >
<el-button <el-button
icon="el-icon-s-tools"
style="background-color: #0283bb; color: #ffff" style="background-color: #0283bb; color: #ffff"
@click="variation()" @click="variation()"
>病情变异</el-button >病情变异</el-button
> >
</div> </div>
</div> -->
<div class="outClinicalpathway_top_bg"></div>
<div class="outClinicalpathway_top_coent">
<!--患者信息 -->
<div class="outClinicalpathway_top_coent_left">
<div class="outClinicalpathway_top_coent_left_one">
<span><img src="../assets/img/peo.png" alt="" /></span>
<div class="outClinicalpathway_top_coent_left_one_t1">
患者姓名:<span>{{ topdata.patientName }}</span>
</div>
<div class="outClinicalpathway_top_coent_left_one_t2">
住院号:<span>{{ topdata.regCode }}</span>
</div>
<div class="outClinicalpathway_top_coent_left_one_t3">
住院次数:<span>{{ topdata.inHosNum }}</span>
</div>
<div class="outClinicalpathway_top_coent_left_one_t4">
符合临床路径:<span>{{ topdata.clinical_route_name }}</span>
</div>
</div>
</div>
<div class="outClinicalpathway_top_coent_right">
<div class="outClinicalpathway_top_coent_right_btn">
<el-button
icon="el-icon-user"
style="background-color: #0283bb; color: #ffff"
@click="joinorder()"
>加入医嘱</el-button
>
<el-button
icon="el-icon-s-tools"
style="background-color: #0283bb; color: #ffff"
@click="variation()"
>病情变异</el-button
>
</div>
</div>
</div>
<div class="outClinicalpathway_top_time">
<el-timeline style="display: flex; width: 25%; padding: 0 10px">
<el-timeline-item
:class="
timeindex == activity.inhosdays
? 'outClinicalpathway_top_time_timespan'
: 'outClinicalpathway_top_time_timespan2'
"
v-for="(activity, index) in activities"
:key="index"
:type="activity.type"
:color="activity.color"
:size="activity.size"
:hollow="activity.hollow"
:timestamp="activity.timestamp"
>
<span @click="timeclick(activity)">{{ activity.inhosdays }}</span>
</el-timeline-item>
</el-timeline>
</div> </div>
</div> </div>
<!--病情变异弹框开始 --> <!--病情变异弹框开始 -->
...@@ -508,6 +568,7 @@ import { useRoute, useRouter } from "../utils/useVueRouter"; ...@@ -508,6 +568,7 @@ import { useRoute, useRouter } from "../utils/useVueRouter";
import { setItem, getItem } from "../utils/auth"; import { setItem, getItem } from "../utils/auth";
import { Loading } from "element-ui"; import { Loading } from "element-ui";
import _ from "lodash"; import _ from "lodash";
export default { export default {
name: "outClinicalpathway", name: "outClinicalpathway",
setup() { setup() {
...@@ -1029,31 +1090,40 @@ export default { ...@@ -1029,31 +1090,40 @@ export default {
position: relative; position: relative;
&_top { &_top {
width: 100%; width: 100%;
height: 15%; height: 12%;
margin-bottom: 5px; margin-bottom: 5px;
background-color: #f0f0f0;
display: flex;
flex-direction: column;
&_bg {
width: 100%;
height: 15%;
background-color: #0283bb;
}
&_coent {
width: 100%;
height: 50%;
background-color: #ffff; background-color: #ffff;
padding: 10px;
display: flex; display: flex;
justify-content: space-between; margin-bottom: 5px;
align-items: center;
&_left { &_left {
height: 100%; height: 100%;
width: 80%; width: 100%;
display: flex; display: flex;
flex-direction: column;
justify-content: center; justify-content: center;
align-items: center;
&_one { &_one {
width: 100%; width: 98%;
height: 40%; height: 80%;
background-color: #0283b9; background-color: #f2fafd;
margin-bottom: 10px; margin-bottom: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 10px;
span { span {
width: 3%; width: 3%;
height: 100%; height: 100%;
font-size: 14px; font-size: 14px;
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -1076,7 +1146,6 @@ export default { ...@@ -1076,7 +1146,6 @@ export default {
color: #181617; color: #181617;
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
} }
} }
...@@ -1096,7 +1165,6 @@ export default { ...@@ -1096,7 +1165,6 @@ export default {
color: #181617; color: #181617;
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
} }
} }
...@@ -1111,11 +1179,9 @@ export default { ...@@ -1111,11 +1179,9 @@ export default {
color: #acacac; color: #acacac;
font-weight: 400; font-weight: 400;
padding-left: 20px; padding-left: 20px;
span { span {
width: 80%; width: 80%;
height: 80%; height: 80%;
color: #181617; color: #181617;
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
...@@ -1132,11 +1198,9 @@ export default { ...@@ -1132,11 +1198,9 @@ export default {
color: #acacac; color: #acacac;
font-weight: 400; font-weight: 400;
padding-left: 20px; padding-left: 20px;
span { span {
width: 60%; width: 60%;
height: 80%; height: 80%;
color: #181617; color: #181617;
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
...@@ -1144,28 +1208,12 @@ export default { ...@@ -1144,28 +1208,12 @@ export default {
} }
} }
} }
&_two {
height: 50%;
display: flex;
flex-direction: column;
justify-content: flex-start;
&_time {
width: 100%;
height: 50%;
}
&_radio {
width: 100%;
height: 50%;
display: flex;
align-items: center;
}
}
} }
&_right { &_right {
height: 100%; height: 100%;
width: 20%; width: 20%;
display: flex; display: flex;
align-items: center;
justify-content: center; justify-content: center;
&_btn { &_btn {
height: 50%; height: 50%;
...@@ -1176,8 +1224,33 @@ export default { ...@@ -1176,8 +1224,33 @@ export default {
} }
} }
} }
&_time {
width: 100%;
height: 35%;
background: #ffff;
padding-left: 20px;
display: flex;
align-items: center;
&_timespan {
width: 100%;
height: 20px;
display: flex;
background-color: #0283bb;
border-radius: 20px;
margin-right: 10px;
span {
color: #ffff;
}
}
&_timespan2 {
width: 100%;
height: 20px;
display: flex;
}
}
}
&_table { &_table {
height: 81%; height: 84%;
width: 100%; width: 100%;
display: flex; display: flex;
// &_left { // &_left {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment