From 0ce8fb35baba1edc364f8fb41548709a3437a2ae Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Fri, 16 Jan 2026 11:37:44 +0800 Subject: [PATCH] seo --- .../sumDoctorCheck/CheckDetails.vue | 35 +++++++++++-------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/components/sumDoctorCheck/CheckDetails.vue b/src/components/sumDoctorCheck/CheckDetails.vue index 80b3a09..4bdcd37 100644 --- a/src/components/sumDoctorCheck/CheckDetails.vue +++ b/src/components/sumDoctorCheck/CheckDetails.vue @@ -55,6 +55,11 @@ + @@ -105,8 +110,8 @@ import { mapState } from 'vuex'; import Sortable from "sortablejs"; import { getapi, postapi, putapi, deletapi } from "@/api/api"; -import { arrayExistObj, deepCopy, getColorStr } from '@/utlis/proFunc'; -import g from 'file-saver'; +import { arrayExistObj, deepCopy, getColorStr, setCheckStatusColor } from '@/utlis/proFunc'; + export default { components: {}, props: ["patientRegisterId", "tabChoosed", "refParams",], @@ -152,7 +157,7 @@ export default { }, methods: { - getColorStr, + getColorStr,setCheckStatusColor, //获取结果明细 CheckDetails(patientRegisterId) { this.tableData = [] @@ -186,28 +191,28 @@ export default { }, // 获取检查显示 - getCheckDisp(details){ + getCheckDisp(details) { let ret = '' - if(details.checkDate && details.checkDoctorName){ + if (details.checkDate && details.checkDoctorName) { ret = '检 查 日 期 : ' + details?.checkDate.substring(0, 10) + ' 检查医生:' + details.checkDoctorName } - if(details.previousCheckDate && details.previousCheckDoctorName){ - if(ret){ + if (details.previousCheckDate && details.previousCheckDoctorName) { + if (ret) { ret += '\n上 次 日 期 : ' + details?.previousCheckDate.substring(0, 10) + ' 检查医生:' + details.previousCheckDoctorName - }else{ + } else { ret = '上 次 日 期 : ' + details?.previousCheckDate.substring(0, 10) + ' 检查医生:' + details.previousCheckDoctorName - } + } } - if(details.previousTwoCheckDate && details.previousTwoCheckDoctorName){ - if(ret){ + if (details.previousTwoCheckDate && details.previousTwoCheckDoctorName) { + if (ret) { ret += '\n上上次日期: ' + details?.previousTwoCheckDate.substring(0, 10) + ' 检查医生:' + details.previousTwoCheckDoctorName - }else{ + } else { ret = '上上次日期: ' + details?.previousTwoCheckDate.substring(0, 10) + ' 检查医生:' + details.previousTwoCheckDoctorName - } + } } - return ret + return ret }, - + mergeSummarys(array, itemKey) { let ret = ''