From 78c84cf61b2a7f558582673a3eecdf8b91eb24c3 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 17 四月 2026 16:48:26 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/record/detailpage/index.vue | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index d8ae58d..ca6a493 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -561,7 +561,7 @@
<el-button
type="primary"
plain
- @click="Editsingletasksonyic('')"
+ @click="alterpatient('')"
>
淇濆瓨鍩虹淇℃伅
</el-button>
@@ -1806,10 +1806,7 @@
// 澶勭悊 scriptResult锛岀洿鎺ヤ慨鏀瑰師濮嬫暟鎹�
if (item.scriptType == 2 && item.scriptResult) {
// 澶勭悊鏁扮粍绫诲瀷鐨� scriptResult
- if (
- Array.isArray(item.scriptResult) &&
- item.scriptResult.length > 0
- ) {
+ if (Array.isArray(item.scriptResult)) {
item.originalScriptResult = item.scriptResult; // 淇濆瓨鍘熷鏁扮粍锛堝彲閫夛級
item.scriptResult = item.scriptResult.join("&"); // 杞崲涓哄瓧绗︿覆
}
@@ -2023,7 +2020,7 @@
}
item.patid = this.patid;
item.templateid = item.templateID;
- if (item.nextScriptno == null) {
+ if (item.nextScriptno == null) {
item.nextScriptno = index == dataToSubmit.length - 1 ? 0 : index + 2;
}
});
@@ -2205,6 +2202,15 @@
}
});
},
+ alterpatient(sendstate) {
+ alterpatient(this.userform).then((res) => {
+ if (res.code == 200) {
+ this.$modal.msgSuccess("鍩虹淇℃伅淇濆瓨鎴愬姛");
+ } else {
+ this.$modal.msgError("鍩虹淇℃伅淇敼澶辫触");
+ }
+ });
+ },
// 寮傚父鍒楁覆鏌�
tableRowClassName({ row, rowIndex }) {
if (row.id == this.id) {
--
Gitblit v1.9.3