Commit c9fb06c5 by wangshuangqing

1.展示符合临床路径字段

2.添加检索路径与是否展示推荐路径搜索
parent 6c0e2f6f
......@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-01-09 17:24:11
* @LastEditTime: 2023-01-10 14:23:13
* @Description:
-->
<template>
......@@ -30,6 +30,16 @@
<div class="Entrypath_table">
<!-- 左侧表格开始 -->
<div class="Entrypath_table_lefttab">
<div class="Entrypath_table_lefttab_select">
<div class="Entrypath_table_lefttab_select_inp">
<span>检索路径:</span> <el-input v-model="pathinput" size="mini" clearable/>
</div>
<div class="Entrypath_table_lefttab_select_chack">
<el-button type="primary" size="mini" style="margin-right:10px" @click="selectbtn()">查询</el-button>
<el-checkbox v-model="checked" label="只显示推荐路径" size="large" @change="checkchange"/>
</div>
</div>
<div class="Entrypath_table_lefttab_table">
<el-table
ref="leftTable"
:data="LefttableData"
......@@ -47,6 +57,7 @@
/>
</el-table>
</div>
</div>
<!-- 左侧表格结束 -->
<!-- 右侧表格开始 -->
......@@ -142,6 +153,10 @@ export default {
const router = useRouter();
let state = reactive({
//输入框
pathinput: "",
//选择框
checked:false,
//标识
IsRoute: "",
//患者信息
......@@ -203,11 +218,20 @@ export default {
})
.catch((error) => {});
};
//显示推荐路径单选框变化
const checkchange=(val)=>{
state.checked=val
};
//查询
const selectbtn=()=>{
getLeftdata()
};
//获取左侧表格数据
const getLeftdata = () => {
http
.post(
`/ClinicalRoute/ClinicalRoute/GetPatientRoutes?pid=${route.value.query.pid}`,
`/ClinicalRoute/ClinicalRoute/GetPatientRoutes?pid=${route.value.query.pid}&searchQuery=${state.pathinput}&flag=${state.checked}`,
{}
)
.then((data) => {
......@@ -261,8 +285,6 @@ export default {
pid: route.value.query.pid,
},
});
})
.catch((error) => {});
}
......@@ -282,6 +304,8 @@ export default {
getLeftdata,
rowclick,
okbtn,
checkchange,
selectbtn
};
},
};
......@@ -432,10 +456,39 @@ export default {
height: 89%;
display: flex;
background-color: #ffff;
&_lefttab {
width: 30%;
height: 100%;
margin-right: 2%;
&_select {
width: 100%;
height: 10%;
margin-bottom: 5px;
display: flex;
align-items: center;
&_inp {
width: 50%;
height: 60%;
display: flex;
align-items: center;
span {
font-size: 14px;
width: 40%;
}
}
&_chack {
width: 50%;
height: 60%;
display: flex;
justify-content: flex-end;
align-items: center;
}
}
&_table {
width: 100%;
height: 89%;
}
}
&_righttab {
width: 67%;
......
......@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-01-09 16:24:06
* @LastEditTime: 2023-01-10 14:28:56
* @Description:
-->
<template>
......@@ -24,7 +24,7 @@
住院次数:<span>{{ topdata.inHosNum }}</span>
</div>
<div class="outClinicalpathway_top_left_one_t4">
入院时间:<span>{{topdata.inHosTime }}</span>
符合临床路径:<span>{{topdata.clinical_route_name }}</span>
</div>
</div>
......@@ -108,7 +108,7 @@ export default {
patientName:'', //患者姓名
regCode:'',// 住院号
inHosNum:'',// 住院次数
inHosTime:''// 入院时间
clinical_route_name:''// 符合临床路径
},
multipleSelection: [], //被选择的数据
tableData: [
......@@ -365,7 +365,7 @@ export default {
padding-left: 20px;
span {
width: 80%;
width: 60%;
height: 80%;
font-weight: 600;
color: #787878;
......
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