This commit is contained in:
闫晓茹 2024-08-12 16:37:33 +08:00
parent 7352ce430e
commit e936836c50
2 changed files with 46 additions and 17 deletions

View File

@ -23,6 +23,7 @@
<div class="age"> <div class="age">
{{ list.age }} {{ list.age }}
</div> </div>
<div class="source"> <div class="source">
<div <div
class="item" class="item"
@ -59,6 +60,11 @@
<div>身份证号{{ list.cardNo }}</div> <div>身份证号{{ list.cardNo }}</div>
<div>患者电话{{ list.patientPhone }}</div> <div>患者电话{{ list.patientPhone }}</div>
<div style="width: 50%">出生日期{{ list.birthDate }}</div> <div style="width: 50%">出生日期{{ list.birthDate }}</div>
<el-button
style="float: right; position: absolute; right: 18px; top: 41px"
@click="goback"
>返回</el-button
>
</div> </div>
<div class="bottom"> <div class="bottom">
<!-- <div>注册时间{{ $route.query.createTime }}</div> --> <!-- <div>注册时间{{ $route.query.createTime }}</div> -->
@ -102,7 +108,7 @@
</div> --> </div> -->
<div style="display: flex"> <div style="display: flex">
<!-- 出院记录 --> <!-- 出院记录 -->
<div style="overflow: auto;width: 26%;"> <div style="overflow: auto; width: 26%">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="入院记录" name="first"> <el-tab-pane label="入院记录" name="first">
<div v-html="list.inHospitalInfo"></div> <div v-html="list.inHospitalInfo"></div>
@ -400,7 +406,10 @@
</span> </span>
</el-form-item> </el-form-item>
<br /> <br />
<el-form-item label="短信发送情况" prop="phoneMessageNodeExecuteResultStatus"> <el-form-item
label="短信发送情况"
prop="phoneMessageNodeExecuteResultStatus"
>
<el-input <el-input
disabled disabled
v-model="formlist.phoneMessageNodeExecuteResultStatus" v-model="formlist.phoneMessageNodeExecuteResultStatus"
@ -408,9 +417,12 @@
/> />
</el-form-item> </el-form-item>
<br /> <br />
<el-form-item label="短信模板内容" prop="phoneMessageTemplateContent"> <el-form-item
label="短信模板内容"
prop="phoneMessageTemplateContent"
>
<el-input <el-input
disabled disabled
type="textarea" type="textarea"
v-model="formlist.phoneMessageTemplateContent" v-model="formlist.phoneMessageTemplateContent"
style="width: 500px" style="width: 500px"
@ -518,7 +530,7 @@ export default {
Editorxj, Editorxj,
Scriptpreview, Scriptpreview,
}, },
name: "patientdetails", name: "record",
// components: { }, // components: { },
data() { data() {
return { return {
@ -576,12 +588,16 @@ export default {
if (response.data) { if (response.data) {
this.formlist = response.data; this.formlist = response.data;
this.formlist.phoneRedialTimes = response.data.phoneRedialTimes; this.formlist.phoneRedialTimes = response.data.phoneRedialTimes;
if(this.formlist.phoneMessageNodeExecuteResultStatus=='SUCCESS'){ if (this.formlist.phoneMessageNodeExecuteResultStatus == "SUCCESS") {
this.formlist.phoneMessageNodeExecuteResultStatus='成功' this.formlist.phoneMessageNodeExecuteResultStatus = "成功";
}else if(this.formlist.phoneMessageNodeExecuteResultStatus=='FAILURE'){ } else if (
this.formlist.phoneMessageNodeExecuteResultStatus='失败' this.formlist.phoneMessageNodeExecuteResultStatus == "FAILURE"
}else if(this.formlist.phoneMessageNodeExecuteResultStatus=='EXPIRED'){ ) {
this.formlist.phoneMessageNodeExecuteResultStatus='超期作废' this.formlist.phoneMessageNodeExecuteResultStatus = "失败";
} else if (
this.formlist.phoneMessageNodeExecuteResultStatus == "EXPIRED"
) {
this.formlist.phoneMessageNodeExecuteResultStatus = "超期作废";
} }
this.infolistMESSAGE(); this.infolistMESSAGE();
this.infolistword(); this.infolistword();
@ -596,6 +612,15 @@ export default {
} }
}, },
methods: { methods: {
goback() {
this.$store
.dispatch("tagsView/delView", this.$route)
.then(({ visitedViews }) => {
this.$router.push({
path: "/task/taskExecuteRecord",
});
});
},
scriptlook(e) { scriptlook(e) {
if (e == null || e == "") { if (e == null || e == "") {
this.$message.error("暂无话术图"); this.$message.error("暂无话术图");
@ -721,9 +746,9 @@ export default {
}, },
info() { info() {
var obj={ var obj = {
patientId:this.$route.query.patientId patientId: this.$route.query.patientId,
} };
selectVisitRecord(obj).then((res) => { selectVisitRecord(obj).then((res) => {
this.list = res.data; this.list = res.data;
}); });

View File

@ -141,7 +141,7 @@ import { selectAgencyList } from "@/api/manage/selectAgencyList";
import SearchFilter from '../../components/SearchForm.vue' import SearchFilter from '../../components/SearchForm.vue'
export default { export default {
name: "TaskExecuteRecord", name: "taskExecuteRecord",
dicts: ["visit_method"], dicts: ["visit_method"],
components: { SearchFilter }, components: { SearchFilter },
data() { data() {
@ -209,11 +209,14 @@ export default {
}; };
}, },
mounted() { mounted() {
this.getList();
this.selectAgencyinfo();
this.getMaxTableHeight() this.getMaxTableHeight()
this.screenChange() this.screenChange()
}, },
created(){
this.getList();
this.selectAgencyinfo();
},
methods: { methods: {
updateCPage(index, size) { updateCPage(index, size) {
this.queryParams.pageNum = index this.queryParams.pageNum = index
@ -330,6 +333,7 @@ export default {
this.$router.push({ this.$router.push({
path: "/task/record", path: "/task/record",
query: { query: {
pageNum: this.queryParams.pageNum,
path: "/task/taskExecuteRecord", path: "/task/taskExecuteRecord",
patientId: row.id, patientId: row.id,
manageRouteNodeId: row.manageRouteNodeId, manageRouteNodeId: row.manageRouteNodeId,