Commit 6c0e2f6f by wangshuangqing

添加进入路径路由

配置进入路径页面
对接展示  跳转接口
完成进入路径页面
parent 82926640
......@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2022-06-07 00:31:25
* @LastEditors: wsq
* @LastEditTime: 2022-12-13 16:38:12
* @LastEditTime: 2023-01-09 13:55:06
* @Description:
*/
import Vue from "vue";
......@@ -12,7 +12,8 @@ import { getItem, clear } from "@/utils/auth";
import outseeQualityControl from "@/views/outseeQualityControl.vue";
import outpatientDetails from "@/views/outpatientDetails.vue";
import outHistorygrouping from "@/views/outHistorygrouping.vue";
import outClinicalpathway from "@/views/outClinicalpathway.vue"
import outClinicalpathway from "@/views/outClinicalpathway.vue";
import Entrypath from '@/views/Entrypath.vue';
Vue.use(Router);
// const baseUrl = '/his/'
......@@ -41,6 +42,13 @@ const router = new Router({
name: "outHistorygrouping",
component: outHistorygrouping,
},
//进入路径
{
path:'/Entrypath',
name:'Entrypath',
component:Entrypath
},
//临床路径外放页面
{
path: "/outClinicalpathway",
......
......@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-01-09 13:14:30
* @LastEditTime: 2023-01-09 16:24:06
* @Description:
-->
<template>
......@@ -27,64 +27,7 @@
入院时间:<span>{{topdata.inHosTime }}</span>
</div>
</div>
<div class="outClinicalpathway_top_left_two">
<div class="outClinicalpathway_top_left_two_inp1">
<span style="width: 20%">治疗方式:</span>
<span style="width: 80%"
><el-select
v-model="treatmentinpt"
class="m-2"
placeholder="请选择治疗方式"
size="mini"
style="width: 70%"
>
<el-option
v-for="item in treatmentoptions"
:key="item.value"
:label="item.label"
:value="item.value"
/> </el-select
></span>
</div>
<div class="outClinicalpathway_top_left_two_inp2">
<span style="width: 20%">医嘱类型:</span>
<span style="width: 80%">
<el-select
style="width: 70%"
v-model="orderinpt"
class="m-2"
placeholder="请选择医嘱类型"
size="mini"
>
<el-option
v-for="item in orderoptions"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</span>
</div>
<div class="outClinicalpathway_top_left_two_inp3">
<span style="width: 20%">符合临床路径:</span>
<span style="width: 80%">
<el-select
v-model="pathinpt"
class="m-2"
placeholder="请选择符合临床路径"
size="mini"
style="width: 80%"
>
<el-option
v-for="item in pathroptions"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</span>
</div>
</div>
</div>
<!-- 右侧按钮 -->
<div class="outClinicalpathway_top_right">
......@@ -155,14 +98,7 @@ export default {
setup() {
//表格自适应高度
const route = useRoute();
//表格颜色
const tableRowClassName = ({ row }) => {
if (row.rowIndex % 2 == 0) {
return "isverifyStyle";
} else {
return "";
}
};
const monthlyPlanTable = ref();
const multipleTableRef = ref();
let state = reactive({
......@@ -217,12 +153,7 @@ export default {
address: "No. 189, Grove St, Los Angeles",
},
],
treatmentinpt: "", //治疗方式输入框
treatmentoptions: [], //治疗方式下拉值
orderinpt: "", //医嘱类型输入框
orderoptions: [], //医嘱类型下拉值
pathinpt: "", //临床路径
pathroptions: [], //临床路径下拉值
//时间线
activities: [
{
......@@ -264,7 +195,7 @@ export default {
.post(`/ClinicalRoute/ClinicalRoute/GetPatientInfo?pid=${route.value.query.pid}`, {})
.then((data) => {
state.topdata=data;
console.log('data',data);
})
.catch((error) => {});
};
......@@ -287,7 +218,7 @@ export default {
return {
...toRefs(state),
tableRowClassName,
decimal,
......@@ -330,7 +261,7 @@ export default {
position: relative;
&_top {
width: 100%;
height: 20%;
height: 15%;
margin-bottom: 5px;
background-color: #ffff;
padding: 10px;
......@@ -444,23 +375,7 @@ export default {
}
}
}
&_two {
width: 100%;
height: 30%;
display: flex;
align-items: center;
justify-content: space-between;
color: #444444;
&_inp1 {
width: 30%;
}
&_inp2 {
width: 30%;
}
&_inp3 {
width: 40%;
}
}
}
&_right {
height: 100%;
......@@ -471,7 +386,7 @@ export default {
}
}
&_table {
height: 76%;
height: 81%;
width: 100%;
display: flex;
&_left {
......
......@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2022-06-07 00:31:25
* @LastEditors: wsq
* @LastEditTime: 2023-01-09 10:19:55
* @LastEditTime: 2023-01-09 13:31:21
* @Description:
*/
const path = require('path');
......@@ -20,7 +20,7 @@ module.exports = {
proxy: {
'/api': {
//target: 'http://192.168.18.166:8099/',
target: 'http://192.168.18.166:8100',
target: 'http://192.168.18.166:8100/',
changeOrigin: true,
pathRewrite: {
'^/': '/'
......
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