Commit e742d60e by wangshuangqing

1.修改样式

2,添加新字段
3.合并提交加入医嘱数据
parent 170f5509
......@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-02-22 14:55:23
* @LastEditTime: 2023-02-23 17:15:33
* @Description:
-->
<template>
......@@ -114,7 +114,7 @@
<div class="outClinicalpathway_table">
<!-- 时间线 -->
<div class="outClinicalpathway_table_left">
<el-timeline>
<el-timeline style="padding: 5px">
<el-timeline-item
v-for="(activity, index) in activities"
:key="index"
......@@ -157,7 +157,7 @@
show-overflow-tooltip
property="advice_name"
label="路径名称"
width="150"
width="120"
/>
<!-- <el-table-column
show-overflow-tooltip
......@@ -169,7 +169,7 @@
show-overflow-tooltip
property="project_name"
label="医院项目名称"
width="150"
width="120"
/>
<el-table-column
......@@ -207,7 +207,7 @@
<span v-else>{{ scope.row.isAntibiotic }}</span>
</template>
</el-table-column>
<el-table-column prop="medicUseQuantity" label="用量" width="80">
<el-table-column prop="medicUseQuantity" label="用量" width="75">
<template #default="scope">
<el-input
v-if="scope.row.advice_name == null && scope.row.ischeck == 1"
......@@ -280,7 +280,7 @@
<span v-else>{{ scope.row.dropNumber }}</span>
</template>
</el-table-column>
<el-table-column prop="medicQuantity" label="用药总量" width="90">
<el-table-column prop="medicQuantity" label="用药总量" width="80">
<template #default="scope">
<el-input
v-if="scope.row.advice_name == null && scope.row.ischeck == 1"
......@@ -314,7 +314,7 @@
<span v-else>{{ scope.row.remark }}</span>
</template>
</el-table-column>
<el-table-column prop="chiefComplaint" label="主诉" width="90">
<el-table-column prop="chiefComplaint" label="主诉" width="120">
<template #default="scope">
<el-input
v-if="
......@@ -324,10 +324,17 @@
"
v-model="scope.row.chiefComplaint"
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
></el-input>
</template>
</el-table-column>
<el-table-column prop="inspectionPurpose" label="检查目的" width="90">
<el-table-column
prop="inspectionPurpose"
label="检查目的"
width="120"
>
<template #default="scope">
<el-input
v-if="
......@@ -337,10 +344,13 @@
"
v-model="scope.row.inspectionPurpose"
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
></el-input>
</template>
</el-table-column>
<el-table-column prop="symptom" label="症状及体征" width="90">
<el-table-column prop="symptom" label="症状及体征" width="120">
<template #default="scope">
<el-input
v-if="
......@@ -350,10 +360,13 @@
"
v-model="scope.row.symptom"
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
></el-input>
</template>
</el-table-column>
<el-table-column prop="pastHistory" label="既往史" width="90">
<el-table-column prop="pastHistory" label="既往史" width="120">
<template #default="scope">
<el-input
v-if="
......@@ -363,6 +376,9 @@
"
v-model="scope.row.pastHistory"
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
></el-input>
</template>
</el-table-column>
......@@ -380,10 +396,29 @@
"
v-model="scope.row.auxiliaryItems"
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
></el-input>
</template>
</el-table-column>
<el-table-column prop="description" label="诊断描述" width="150">
<template #default="scope">
<el-input
size="mini"
type="textarea"
:autosize="{ minRows: 2 }"
placeholder="请输入内容"
v-if="
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
v-model="scope.row.description"
></el-input>
</template>
</el-table-column>
<el-table-column prop="inspectRemarks" label="备注" width="170">
<el-table-column prop="inspectRemarks" label="备注" width="150">
<template #default="scope">
<el-input
size="mini"
......@@ -483,6 +518,9 @@ export default {
medicUseModeoptions: [], //途径
medicUsePlanoptions: [], //频率
radio: 1,
newtable1: [],
newtable2: [],
objtable: { route1: [], route2: [] },
});
//获取途径,频率的下拉数据
const gemedicUseModeoptions = () => {
......@@ -689,6 +727,7 @@ export default {
}
}
});
state.newtable1 = state.tableData;
})
.catch((error) => {});
} else if (state.radio == 2) {
......@@ -711,6 +750,7 @@ export default {
}
}
});
state.newtable2 = state.tableData;
})
.catch((error) => {});
}
......@@ -724,10 +764,15 @@ export default {
};
//加入医嘱
const joinorder = () => {
// console.log("state.newtable1", state.newtable1);
// console.log("state.newtable2", state.newtable2);
state.objtable.route1 = state.newtable1;
state.objtable.route2 = state.newtable2;
console.log("state.objtable", state.objtable);
http
.post(
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=${route.value.query.pid}`,
state.tableData
state.objtable
)
.then((data) => {
//重新获取左侧时间线数据
......@@ -1042,7 +1087,7 @@ export default {
width: 100%;
display: flex;
&_left {
width: 11%;
width: 8%;
height: 100%;
margin-right: 5px;
background-color: #ffff;
......@@ -1061,7 +1106,7 @@ export default {
}
}
&_right {
width: 88%;
width: 91%;
height: 100%;
}
}
......
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