From b57c6c97c7de4cb5aeeb6c766a4642fac5b9b500 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 21 八月 2026 15:07:10 +0800
Subject: [PATCH] 测试完成
---
src/views/Satisfaction/configurationmyd/batch.vue | 63 +++++++++++++++++++------------
1 files changed, 38 insertions(+), 25 deletions(-)
diff --git a/src/views/Satisfaction/configurationmyd/batch.vue b/src/views/Satisfaction/configurationmyd/batch.vue
index 8e6d01a..750c893 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,21 @@
<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 ? "鐢�" : "濂�"
- }}</span>
+ <span class="value">{{ 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 +482,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 +511,8 @@
filterParams: {
todeptcode: "",
handleFlag: "",
- templateType: "",
- scriptid: null,
+ templateType: null,
+ scriptids: null,
pageNum: 1,
pageSize: 10,
},
@@ -598,13 +597,19 @@
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 +750,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;
@@ -788,8 +796,10 @@
this.filterParams = {
todeptcode: "",
handleFlag: "",
- templateType: "",
- scriptid: null, // 淇濈暀闂ID
+ scriptids:
+ this.$route.query.questionId || this.$route.query.questionIds || null,
+ templateType: Number(this.$route.query.type) || null,
+
pageNum: 1,
pageSize: 10,
};
@@ -822,7 +832,8 @@
// 杩斿洖寮傚父鍒楄〃
handleGoBack() {
- this.$router.push("/satisfaction/exception/list");
+ // this.$router.push("/satisfaction/exception/list");
+ this.$router.push("/Intelligentcenter/dispose");
},
// 鏌ョ湅璇︽儏
@@ -833,7 +844,7 @@
// 鐢熸垚寮规鏍囬
let title = "寮傚父鍙嶉璇︽儏";
if (row.patdesc) {
- const patientName = row.patdesc.split("|")[0];
+ const patientName = row.patdescJson.sendname;
if (patientName) {
title = `${patientName} - ${title}`;
}
@@ -888,6 +899,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 +1154,7 @@
.patient-item {
flex: 1;
display: flex;
- justify-content: space-between;
+ justify-content: flex-start;
align-items: center;
padding: 0 5px;
@@ -1175,7 +1188,7 @@
.info-item {
display: flex;
- justify-content: space-between;
+ justify-content: flex-start;
align-items: center;
margin-bottom: 5px;
padding: 2px 0;
@@ -1188,7 +1201,7 @@
.value {
color: #333;
font-weight: 500;
- text-align: right;
+ // text-align: right;
flex: 1;
&.time {
--
Gitblit v1.9.3