修改康复计划记录

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> <template>
<div class="header"> <div class="header" v-if="signPatientRecordld!=''">
<div class="leftheader"> <div class="leftheader">
<!-- <div <div class="dataall" >数据总览</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="background"> <div class="background">
<el-timeline> <el-timeline>
@ -32,7 +21,7 @@
v-if="item.taskNodeType=='PHONE_OUTBOUND'" v-if="item.taskNodeType=='PHONE_OUTBOUND'"
class="imagecla" class="imagecla"
src="../../../assets/system/dangan.png" src="../../../assets/system/jiankang.png"
alt="" alt=""
/> />
<img <img
@ -54,12 +43,8 @@
src="../../../assets/system/shenghuo.png" src="../../../assets/system/shenghuo.png"
alt="" alt=""
/> />
<!-- <i class="el-icon-tickets" ></i> --> {{ item.taskTypeName }}
{{ item.secondClassifyDescribe }}
</div> </div>
</div> </div>
<el-card <el-card
@click.native="bottomclickevent(item, index)" @click.native="bottomclickevent(item, index)"
@ -110,8 +95,7 @@
</el-timeline> </el-timeline>
</div> </div>
</div> </div>
<div class="rightheader" >
<div class="rightheader" v-if="form">
<!-- <div class="richtext" v-if="itemindex == 1"> <!-- <div class="richtext" v-if="itemindex == 1">
<div class="text" style="font-size: 20px">手动创建任务:</div> <div class="text" style="font-size: 20px">手动创建任务:</div>
<div <div
@ -275,101 +259,17 @@
</div> </div>
<!-- 文字提醒 --> <!-- 文字提醒 -->
<div v-if="form.taskNodeType=='TEXT_REMIND' " v-html="form.nodeContent"></div> <div v-if="form.taskNodeType=='TEXT_REMIND' " v-html="form.nodeContent"></div>
<!-- <el-input " v-model="form.nodeContent" type="textarea"></el-input> -->
<!-- 话术图 --> <!-- 话术图 -->
<Scriptpreview <Scriptpreview
v-if="form.taskNodeType=='PHONE_OUTBOUND'" v-if="form.taskNodeType=='PHONE_OUTBOUND'"
:phoneNodeContent="form.phoneNodeContent" :phoneNodeContent="form.phoneNodeContent"
></Scriptpreview> ></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> <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>
</div> </div>
<el-empty description="暂无" style="width: 100%" v-else></el-empty>
<!-- 话术预览弹框 --> <!-- 话术预览弹框 -->
<el-dialog <el-dialog
title="话术预览" title="话术预览"
@ -409,6 +309,8 @@
<specialDiseaseNodeopen :lookitem="lookitem"> </specialDiseaseNodeopen> <specialDiseaseNodeopen :lookitem="lookitem"> </specialDiseaseNodeopen>
</el-dialog> </el-dialog>
</div> </div>
<el-empty description="暂无" style="width: 100%" v-else></el-empty>
</template> </template>
<script> <script>
import { getList } from "@/api/manage/healthEducation"; import { getList } from "@/api/manage/healthEducation";
@ -458,6 +360,7 @@ export default {
watch: { watch: {
signPatientRecordld(newvalue, oldvalue) { signPatientRecordld(newvalue, oldvalue) {
if (newvalue) { if (newvalue) {
console.log(newvalue,'newvalue')
this.signPatientRecordld = newvalue; this.signPatientRecordld = newvalue;
this.info(); this.info();
} }
@ -518,20 +421,27 @@ export default {
this.listindex = index; this.listindex = index;
}, },
info(index) { info(index) {
// this.loading = this.$loading({ this.loading = this.$loading({
// lock: true, lock: true,
// text: "", text: "加载数据中",
// spinner: "el-icon-loading", spinner: "el-icon-loading",
// background: "rgba(255,255,255,0.7)", background: "rgba(255,255,255,0.7)",
// }); });
// this.query.patientId = this.$route.query.patientId; // this.query.patientId = this.$route.query.patientId;
getNodeListsignPatientRecordld(this.signPatientRecordld).then((res) => { if(this.signPatientRecordld){
getNodeListsignPatientRecordld(this.signPatientRecordld).then((res) => {
this.itemindex = index; this.itemindex = index;
// this.loading.close(); this.loading.close();
this.categorylist = res.data; this.categorylist = res.data;
console.log(this.categorylist, " this.categorylist"); console.log(this.categorylist, " this.categorylist");
this.form = this.categorylist[0]; this.form = this.categorylist[0];
}); });
}else{
this.loading.close();
this.signPatientRecordld=''
}
}, },
}, },
}; };

View File

@ -73,7 +73,7 @@
</div> </div>
</div> </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-select v-model="value" placeholder="请选择" @change="changeitem">
<el-option <el-option
v-for="item in options" v-for="item in options"