+
+ {{ scope.row.asbitemNames }}
+
+
@@ -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 = ''