From c65b90aaa3477a90ebc325024927d80227c0c841 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 09 四月 2026 14:09:25 +0800
Subject: [PATCH] 测试完成
---
src/views/Satisfaction/configurationmyd/batch.vue | 53 ++++++++++++++++++++++++++++++++---------------------
1 files changed, 32 insertions(+), 21 deletions(-)
diff --git a/src/views/Satisfaction/configurationmyd/batch.vue b/src/views/Satisfaction/configurationmyd/batch.vue
index 8e6d01a..bd73abe 100644
--- a/src/views/Satisfaction/configurationmyd/batch.vue
+++ b/src/views/Satisfaction/configurationmyd/batch.vue
@@ -59,7 +59,7 @@
<el-option label="宸插鐞�" :value="'1'" />
</el-select>
</el-form-item>
- <el-form-item label="妯℃澘绫诲瀷">
+ <el-form-item label="婊℃剰搴︾被鍨�">
<el-select
v-model="filterParams.templateType"
placeholder="璇烽�夋嫨妯℃澘绫诲瀷"
@@ -139,23 +139,23 @@
<div class="patient-row">
<div class="patient-item">
<span class="label">濮撳悕锛�</span>
- <span class="value">{{ row.patientName }}</span>
+ <span class="value">{{ row.patdescJson.sendname }}</span>
</div>
<div class="patient-item">
<span class="label">鎬у埆锛�</span>
<span class="value">{{
- row.gender === 1 ? "鐢�" : "濂�"
+ row.patdescJson.sex
}}</span>
</div>
<div class="patient-item">
<span class="label">骞撮緞锛�</span>
- <span class="value">{{ row.age }}宀�</span>
+ <span class="value">{{ row.patdescJson.age }}宀�</span>
</div>
</div>
<div class="patient-row">
<div class="patient-item full-width">
<span class="label">鐢佃瘽锛�</span>
- <span class="value">{{ row.phone }}</span>
+ <span class="value">{{ row.patdescJson.phone }}</span>
</div>
</div>
</div>
@@ -484,6 +484,7 @@
<script>
import DetailsAnomaly from "./components/DetailsAnomaly.vue";
import { tracelist, traceedit } from "@/api/AiCentre/index";
+import dayjs from "dayjs";
import { deptTreeSelect } from "@/api/system/user";
export default {
@@ -512,8 +513,8 @@
filterParams: {
todeptcode: "",
handleFlag: "",
- templateType: "",
- scriptid: null,
+ templateType: null,
+ scriptids: null,
pageNum: 1,
pageSize: 10,
},
@@ -598,13 +599,18 @@
created() {
// 浠庤矾鐢卞弬鏁拌幏鍙栭棶棰業D
- if (this.$route.query.questionId) {
- this.filterParams.scriptid = this.$route.query.questionId || null;
- this.filterParams.scriptids = null;
- } else if (this.$route.query.questionIds) {
- this.filterParams.scriptids = this.$route.query.questionIds;
- this.filterParams.scriptid=null;
- }
+ this.filterParams.scriptids = this.$route.query.questionId || this.$route.query.questionIds||null;
+ // if (this.$route.query.questionId) {
+ // } else if (this.$route.query.questionIds) {
+ // console.log(
+ // this.$route.query.questionIds,
+ // "this.$route.query.questionIds"
+ // );
+
+ this.filterParams.templateType = Number(this.$route.query.type)||null;
+
+ // this.filterParams.scriptid = null;
+ // }
this.hasQualityPermission = this.checkQualityPermission();
},
@@ -745,8 +751,11 @@
params.templateType = this.filterParams.templateType;
}
- if (this.filterParams.scriptid) {
- params.scriptid = this.filterParams.scriptid;
+ // if (this.filterParams.scriptid) {
+ // params.scriptid = this.filterParams.scriptid;
+ // }
+ if (this.filterParams.scriptids) {
+ params.scriptids = this.filterParams.scriptids.split(",");
}
return params;
@@ -789,7 +798,7 @@
todeptcode: "",
handleFlag: "",
templateType: "",
- scriptid: null, // 淇濈暀闂ID
+ scriptids: null, // 淇濈暀闂ID
pageNum: 1,
pageSize: 10,
};
@@ -833,7 +842,7 @@
// 鐢熸垚寮规鏍囬
let title = "寮傚父鍙嶉璇︽儏";
if (row.patdesc) {
- const patientName = row.patdesc.split("|")[0];
+ const patientName = row.patdescJson.sendname;
if (patientName) {
title = `${patientName} - ${title}`;
}
@@ -888,6 +897,8 @@
handleresult: this.processForm.handleresult,
handledesc: this.processForm.handledesc,
finaloption: this.processForm.finaloption,
+ handleBy: this.$store.state.user.nickName,
+ handleTime: dayjs().format("YYYY-MM-DD HH:mm:ss"),
// 灏嗘暟缁勮浆鎹负閫楀彿鍒嗛殧鐨勫瓧绗︿覆
ccdepts: Array.isArray(this.processForm.ccdepts)
? this.processForm.ccdepts.join(",")
@@ -1141,7 +1152,7 @@
.patient-item {
flex: 1;
display: flex;
- justify-content: space-between;
+ justify-content: flex-start;
align-items: center;
padding: 0 5px;
@@ -1175,7 +1186,7 @@
.info-item {
display: flex;
- justify-content: space-between;
+ justify-content: flex-start;
align-items: center;
margin-bottom: 5px;
padding: 2px 0;
@@ -1188,7 +1199,7 @@
.value {
color: #333;
font-weight: 500;
- text-align: right;
+ // text-align: right;
flex: 1;
&.time {
--
Gitblit v1.9.3