修改康复计划记录

This commit is contained in:
闫晓茹 2024-08-02 10:36:15 +08:00
parent d6d2ce6cf9
commit f8fc6e6678
4 changed files with 25 additions and 115 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -1,18 +1,7 @@
<template>
<div class="header">
<div class="header" v-if="signPatientRecordld!=''">
<div class="leftheader">
<!-- <div
class="item"
v-for="(item, index) in namelist"
:key="index"
@click="clicknameitem(item, index)"
>
<div class="name">
{{ item.name }}
</div>
</div> -->
<div class="dataall">数据总览</div>
<div class="dataall" >数据总览</div>
<div class="background">
<el-timeline>
@ -32,7 +21,7 @@
v-if="item.taskNodeType=='PHONE_OUTBOUND'"
class="imagecla"
src="../../../assets/system/dangan.png"
src="../../../assets/system/jiankang.png"
alt=""
/>
<img
@ -54,12 +43,8 @@
src="../../../assets/system/shenghuo.png"
alt=""
/>
<!-- <i class="el-icon-tickets" ></i> -->
{{ item.secondClassifyDescribe }}
{{ item.taskTypeName }}
</div>
</div>
<el-card
@click.native="bottomclickevent(item, index)"
@ -110,8 +95,7 @@
</el-timeline>
</div>
</div>
<div class="rightheader" v-if="form">
<div class="rightheader" >
<!-- <div class="richtext" v-if="itemindex == 1">
<div class="text" style="font-size: 20px">手动创建任务:</div>
<div
@ -275,101 +259,17 @@
</div>
<!-- 文字提醒 -->
<div v-if="form.taskNodeType=='TEXT_REMIND' " v-html="form.nodeContent"></div>
<!-- <el-input " v-model="form.nodeContent" type="textarea"></el-input> -->
<!-- 话术图 -->
<Scriptpreview
v-if="form.taskNodeType=='PHONE_OUTBOUND'"
:phoneNodeContent="form.phoneNodeContent"
></Scriptpreview>
<!-- <img v-if=""style="width: 200px" :src="baseUrl + form.scriptFilePath" /> -->
<!-- 问卷 -->
<questionopen v-if="form.taskNodeType=='QUESTIONNAIRE_SCALE'" ref="question" :lookitemnew="form.detailInfo?form.detailInfo:''"></questionopen>
<!-- <div class="text" style="font-size: 20px">专病管理路径:</div> -->
<!-- <div
v-for="item in categorylist"
:key="item.manageRouteId"
style="margin: 0 auto 30px"
>
<div class="texts">
<div class="text">路径名称: {{ item.routeName }}</div>
<div class="text">
适用范围: {{ item.suitRange == "IN_THE_HOSPITAL" ? "在院" : "" }}
{{ item.suitRange == "DISCHARGE" ? "出院" : "" }}
{{ item.suitRange == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
{{
item.suitRange == "OUTPATIENT_SERVICE_DISCHARGE"
? "门诊+出院"
: ""
}}
</div>
<div class="text">
路径详情:
<el-button
@click="lookspecialDiseaseNode(item)"
style="padding: 6px 10px"
>预览</el-button
>
</div>
<div class="text"></div>
<div class="text">触发条件:</div>
<div class="text"></div>
<div
v-for="uitem in item.specialDiseaseRoute.triggerConditionList"
:key="uitem.id"
class="text"
style="font-weight: 400; width: 100%"
>
<div class="tagtitle">
<span>
{{ uitem.triggerConditionName == "DIAGNOSIS" ? "诊断" : "" }}
{{
uitem.triggerConditionName == "DRESSING_CHANGE_DATE"
? "换药日期"
: ""
}}
{{
uitem.triggerConditionName == "TREATMENT_METHOD"
? "治疗方式"
: ""
}}
{{
uitem.triggerConditionName == "SURGICAL_NAME"
? "手术名称"
: ""
}}
{{
uitem.triggerConditionName == "DRUG_NAME" ? "药品名称" : ""
}}
</span>
<span style="padding: 0">
{{
uitem.triggerConditionOperator == "CONTAIN" ? "包含" : ""
}}
{{
uitem.triggerConditionOperator == "NOT_CONTAIN"
? "不包含"
: ""
}}
{{
uitem.triggerConditionOperator == "EQUAL_TO" ? "等于" : ""
}}
{{
uitem.triggerConditionOperator == "NOT_EQUAL_TO"
? "不等于"
: ""
}}
</span>
<span style="padding: 0">
{{ uitem.triggerConditionValue }}
</span>
</div>
</div>
</div>
</div> -->
</div>
</div>
<el-empty description="暂无" style="width: 100%" v-else></el-empty>
<!-- 话术预览弹框 -->
<el-dialog
title="话术预览"
@ -409,6 +309,8 @@
<specialDiseaseNodeopen :lookitem="lookitem"> </specialDiseaseNodeopen>
</el-dialog>
</div>
<el-empty description="暂无" style="width: 100%" v-else></el-empty>
</template>
<script>
import { getList } from "@/api/manage/healthEducation";
@ -458,6 +360,7 @@ export default {
watch: {
signPatientRecordld(newvalue, oldvalue) {
if (newvalue) {
console.log(newvalue,'newvalue')
this.signPatientRecordld = newvalue;
this.info();
}
@ -518,20 +421,27 @@ export default {
this.listindex = index;
},
info(index) {
// this.loading = this.$loading({
// lock: true,
// text: "",
// spinner: "el-icon-loading",
// background: "rgba(255,255,255,0.7)",
// });
this.loading = this.$loading({
lock: true,
text: "加载数据中",
spinner: "el-icon-loading",
background: "rgba(255,255,255,0.7)",
});
// this.query.patientId = this.$route.query.patientId;
if(this.signPatientRecordld){
getNodeListsignPatientRecordld(this.signPatientRecordld).then((res) => {
this.itemindex = index;
// this.loading.close();
this.loading.close();
this.categorylist = res.data;
console.log(this.categorylist, " this.categorylist");
this.form = this.categorylist[0];
});
}else{
this.loading.close();
this.signPatientRecordld=''
}
},
},
};

View File

@ -73,7 +73,7 @@
</div>
</div>
</div>
<div class="selectitem" v-if="activeName == 'second'">
<div class="selectitem" v-if="activeName == 'second'&&value">
<el-select v-model="value" placeholder="请选择" @change="changeitem">
<el-option
v-for="item in options"