From c4599aa279fd2f90b741608392e056fbae2282d5 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 20 八月 2026 17:16:54 +0800
Subject: [PATCH] 各表单布局调整
---
src/views/business/course/components/DeathJudgmentStage.vue | 486 ++++++++++++++++++-----------------------------------
1 files changed, 168 insertions(+), 318 deletions(-)
diff --git a/src/views/business/course/components/DeathJudgmentStage.vue b/src/views/business/course/components/DeathJudgmentStage.vue
index b64306c..e4a5555 100644
--- a/src/views/business/course/components/DeathJudgmentStage.vue
+++ b/src/views/business/course/components/DeathJudgmentStage.vue
@@ -1,5 +1,6 @@
<template>
<div class="death-judgment-detail">
+ <!-- <case-basic-info :case-id="caseId" :show-attachment="true":column="3" /> -->
<!-- 鍏叡淇℃伅妯″潡锛堢嫭绔嬫樉绀猴級 -->
<!-- 鍒ゅ畾绫诲瀷鏍囩椤� -->
@@ -23,7 +24,7 @@
</el-tab-pane>
</el-tabs>
</el-card>
- <el-card class="detail-card common-info-card">
+ <!-- <el-card class="detail-card common-info-card">
<div slot="header" class="clearfix">
<span class="detail-title">鍏叡淇℃伅</span>
</div>
@@ -45,98 +46,25 @@
<el-input v-model="form.gainhospitalname" :readonly="!isEdit" />
</el-form-item>
</el-col>
- <el-col :span="8">
- <el-form-item label="鏄惁榛樺搥缂呮��" prop="isspendremember">
- <el-select
- v-model="form.isspendremember"
- :disabled="!isEdit"
- style="width: 100%"
- >
- <el-option label="鏄�" :value="1" />
- <el-option label="鍚�" :value="0" />
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鎭㈠閬椾綋浠" prop="isrestoreremains">
- <el-select
- v-model="form.isrestoreremains"
- :disabled="!isEdit"
- style="width: 100%"
- >
- <el-option label="鏄�" :value="1" />
- <el-option label="鍚�" :value="0" />
- </el-select>
- </el-form-item>
- </el-col>
+
</el-row>
</el-form>
- </el-card>
+ </el-card> -->
<!-- 鑴戞浜″垽瀹氭ā鍧� -->
<el-card v-if="activeJudgmentType === 'brain'" class="detail-card">
<div slot="header" class="clearfix">
<span class="detail-title">鑴戞浜″垽瀹氫俊鎭�</span>
- <el-button
- v-if="isEdit"
- style="float: right; margin-left: 10px;"
- type="success"
- @click="handleSave"
- :loading="saveLoading"
- >
- 淇濆瓨淇℃伅
- </el-button>
- <el-button
- v-if="isEdit"
- style="float: right; margin-left: 10px;"
- type="success"
- @click="accomplish"
- :loading="saveLoading"
- >
- 瀹屾垚鍒ゅ畾
- </el-button>
- <el-button
- v-else
- style="float: right; margin-left: 10px;"
- type="primary"
- @click="handleEdit"
- >
- 缂栬緫淇℃伅
- </el-button>
</div>
- <el-form :model="form" ref="brainForm" :rules="rules" label-width="120px">
- <el-row :gutter="20">
- <el-col :span="8">
- <el-form-item label="姝讳骸鍘熷洜" prop="deathreason">
- <el-input v-model="form.deathreason" :readonly="!isEdit" />
- </el-form-item>
- </el-col>
- </el-row>
-
- <el-row :gutter="20">
- <el-col :span="8">
- <el-form-item label="姝讳骸鏃堕棿" prop="deathtime">
- <el-date-picker
- v-model="form.deathtime"
- type="datetime"
- value-format="yyyy-MM-dd HH:mm:ss"
- style="width: 100%"
- :disabled="!isEdit"
- />
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鍒ゅ畾鍖荤敓涓�" prop="deathjudgedocto">
- <el-input v-model="form.deathjudgedocto" :readonly="!isEdit" />
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鍒ゅ畾鍖荤敓浜�" prop="deathjudgedoctt">
- <el-input v-model="form.deathjudgedoctt" :readonly="!isEdit" />
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
+ <el-descriptions title="鑴戞浜″垽瀹氫俊鎭�" :column="descriptionColumn" border size="small">
+ <el-descriptions-item label="姝讳骸鍘熷洜">{{ form.deathreason || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="姝讳骸鏃堕棿">{{ form.deathtime || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="鍒ゅ畾鍖荤敓涓�">{{ form.deathjudgedocto || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="鍒ゅ畾鍖荤敓浜�">{{ form.deathjudgedoctt || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="鍏朵粬鍒ゅ畾鍖荤敓">
+ {{ brainExtraDoctors.filter(d => d && d.trim()).join('銆�') || '-' }}
+ </el-descriptions-item>
+ </el-descriptions>
<!-- 鑴戞浜¤瘎浼拌〃闄勪欢 -->
<div class="attachment-section">
@@ -153,21 +81,6 @@
:name="type.value"
>
<div class="attachment-upload-section">
- <div class="upload-header">
- <span class="upload-title">{{ type.label }}</span>
- <el-tooltip content="鐐瑰嚮涓婁紶璇ョ被鍨嬭瘎浼拌〃" placement="top">
- <el-button
- size="mini"
- type="primary"
- icon="el-icon-plus"
- @click="openUploadDialog(type.value)"
- :disabled="!isEdit"
- >
- 娣诲姞璇勪及琛�
- </el-button>
- </el-tooltip>
- </div>
-
<!-- 闄勪欢鍒楄〃 -->
<el-table
:data="getAttachmentsByType(type.value)"
@@ -212,7 +125,7 @@
</template>
</el-table-column>
- <el-table-column label="鎿嶄綔" width="180" align="center">
+ <el-table-column label="鎿嶄綔" width="140" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@@ -227,15 +140,6 @@
icon="el-icon-download"
@click="handleDownload(scope.row)"
>涓嬭浇</el-button
- >
- <el-button
- v-if="isEdit"
- size="mini"
- type="text"
- icon="el-icon-delete"
- style="color: #F56C6C;"
- @click="handleRemoveAttachment(scope.row)"
- >鍒犻櫎</el-button
>
</template>
</el-table-column>
@@ -260,64 +164,17 @@
<el-card v-else class="detail-card">
<div slot="header" class="clearfix">
<span class="detail-title">蹇冩浜″垽瀹氫俊鎭�</span>
- <el-button
- v-if="isEdit"
- style="float: right; margin-left: 10px;"
- type="success"
- @click="handleSave"
- :loading="saveLoading"
- >
- 淇濆瓨淇℃伅
- </el-button>
- <el-button
- v-else
- style="float: right; margin-left: 10px;"
- type="primary"
- @click="handleEdit"
- >
- 缂栬緫淇℃伅
- </el-button>
</div>
- <el-form :model="form" ref="heartForm" :rules="rules" label-width="120px">
- <el-row :gutter="20">
- <el-col :span="8">
- <el-form-item label="蹇冩浜″師鍥�" prop="heartdeathreason">
- <el-input v-model="form.heartdeathreason" :readonly="!isEdit" />
- </el-form-item>
- </el-col>
- </el-row>
-
- <el-row :gutter="20">
- <el-col :span="8">
- <el-form-item label="蹇冩浜℃椂闂�" prop="heartdeathtime">
- <el-date-picker
- v-model="form.heartdeathtime"
- type="datetime"
- value-format="yyyy-MM-dd HH:mm:ss"
- style="width: 100%"
- :disabled="!isEdit"
- />
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鍒ゅ畾鍖荤敓涓�" prop="heartdeathjudgedocto">
- <el-input
- v-model="form.heartdeathjudgedocto"
- :readonly="!isEdit"
- />
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鍒ゅ畾鍖荤敓浜�" prop="heartdeathjudgedoctt">
- <el-input
- v-model="form.heartdeathjudgedoctt"
- :readonly="!isEdit"
- />
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
+ <el-descriptions title="蹇冩浜″垽瀹氫俊鎭�" :column="descriptionColumn" border size="small">
+ <el-descriptions-item label="蹇冩浜″師鍥�">{{ form.heartdeathreason || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="蹇冩浜″垽瀹氬畬鎴愭椂闂�">{{ form.heartdeathtime || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="鍒ゅ畾鍖荤敓涓�">{{ form.heartdeathjudgedocto || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="鍒ゅ畾鍖荤敓浜�">{{ form.heartdeathjudgedoctt || '-' }}</el-descriptions-item>
+ <el-descriptions-item label="鍏朵粬鍒ゅ畾鍖荤敓">
+ {{ heartExtraDoctors.filter(d => d && d.trim()).join('銆�') || '-' }}
+ </el-descriptions-item>
+ </el-descriptions>
<!-- 蹇冩浜¤瘎浼拌〃闄勪欢 -->
<div class="attachment-section">
@@ -334,21 +191,6 @@
:name="type.value"
>
<div class="attachment-upload-section">
- <div class="upload-header">
- <span class="upload-title">{{ type.label }}</span>
- <el-tooltip content="鐐瑰嚮涓婁紶璇ョ被鍨嬭瘎浼拌〃" placement="top">
- <el-button
- size="mini"
- type="primary"
- icon="el-icon-plus"
- @click="openHeartDeathUploadDialog(type.value)"
- :disabled="!isEdit"
- >
- 娣诲姞璇勪及琛�
- </el-button>
- </el-tooltip>
- </div>
-
<!-- 蹇冩浜¢檮浠跺垪琛� -->
<el-table
:data="getHeartDeathAttachmentsByType(type.value)"
@@ -393,7 +235,7 @@
</template>
</el-table-column>
- <el-table-column label="鎿嶄綔" width="180" align="center">
+ <el-table-column label="鎿嶄綔" width="140" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@@ -408,15 +250,6 @@
icon="el-icon-download"
@click="handleDownload(scope.row)"
>涓嬭浇</el-button
- >
- <el-button
- v-if="isEdit"
- size="mini"
- type="text"
- icon="el-icon-delete"
- style="color: #F56C6C;"
- @click="handleRemoveHeartDeathAttachment(scope.row)"
- >鍒犻櫎</el-button
>
</template>
</el-table-column>
@@ -436,94 +269,13 @@
</el-tabs>
</div>
</el-card>
-
- <!-- 涓婁紶瀵硅瘽妗嗭紙鑴戞浜★級 -->
- <el-dialog
- :title="`涓婁紶${getCurrentBrainDeathTypeLabel}璇勪及琛╜"
- :visible.sync="uploadDialogVisible"
- width="500px"
- :close-on-click-modal="false"
- >
- <el-upload
- ref="uploadRef"
- class="upload-demo"
- drag
- :action="uploadAction"
- :headers="headers"
- multiple
- :file-list="tempFileList"
- :before-upload="beforeUpload"
- :on-change="handleFileChange"
- :on-remove="handleTempRemove"
- :on-success="handleUploadSuccess"
- :auto-upload="false"
- >
- <i class="el-icon-upload"></i>
- <div class="el-upload__text">
- 灏嗚瘎浼拌〃鏂囦欢鎷栧埌姝ゅ锛屾垨<em>鐐瑰嚮涓婁紶</em>
- </div>
- <div class="el-upload__tip" slot="tip">
- 鏀寔涓婁紶pdf銆乯pg銆乸ng銆乨oc銆乨ocx銆亁ls銆亁lsx鏍煎紡鏂囦欢锛屽崟涓枃浠朵笉瓒呰繃10MB
- </div>
- </el-upload>
-
- <div slot="footer" class="dialog-footer">
- <el-button @click="uploadDialogVisible = false">鍙栨秷</el-button>
- <el-button
- type="primary"
- @click="submitUpload"
- :loading="uploadLoading"
- :disabled="tempFileList.length === 0"
- >
- 纭涓婁紶
- </el-button>
- </div>
- </el-dialog>
-
- <!-- 涓婁紶瀵硅瘽妗嗭紙蹇冩浜★級 -->
- <el-dialog
- :title="`涓婁紶${getCurrentHeartDeathTypeLabel}璇勪及琛╜"
- :visible.sync="heartDeathUploadDialogVisible"
- width="500px"
- :close-on-click-modal="false"
- >
- <el-upload
- ref="heartDeathUploadRef"
- class="upload-demo"
- drag
- :action="uploadAction"
- :headers="headers"
- multiple
- :file-list="tempHeartDeathFileList"
- :before-upload="beforeUpload"
- :on-change="handleHeartDeathFileChange"
- :on-remove="handleHeartDeathTempRemove"
- :on-success="handleHeartDeathUploadSuccess"
- :auto-upload="false"
- >
- <i class="el-icon-upload"></i>
- <div class="el-upload__text">
- 灏嗚瘎浼拌〃鏂囦欢鎷栧埌姝ゅ锛屾垨<em>鐐瑰嚮涓婁紶</em>
- </div>
- <div class="el-upload__tip" slot="tip">
- 鏀寔涓婁紶pdf銆乯pg銆乸ng銆乨oc銆乨ocx銆亁ls銆亁lsx鏍煎紡鏂囦欢锛屽崟涓枃浠朵笉瓒呰繃10MB
- </div>
- </el-upload>
-
- <div slot="footer" class="dialog-footer">
- <el-button @click="heartDeathUploadDialogVisible = false"
- >鍙栨秷</el-button
- >
- <el-button
- type="primary"
- @click="submitHeartDeathUpload"
- :loading="heartDeathUploadLoading"
- :disabled="tempHeartDeathFileList.length === 0"
- >
- 纭涓婁紶
- </el-button>
- </div>
- </el-dialog>
+ <!-- 闄勪欢棰勮 -->
+ <FilePreviewDialog
+ :visible="previewVisible"
+ :file="currentPreviewFile"
+ @close="previewVisible = false"
+ @download="handleDownload"
+ />
</div>
</template>
@@ -535,10 +287,13 @@
} from "@/api/businessApi";
import { getToken } from "@/utils/auth";
import CaseBasicInfo from "@/components/CaseBasicInfo";
+import FilePreviewDialog from "@/components/FilePreviewDialog";
+import readonlyDescriptionsMixin from "./readonlyDescriptionsMixin";
export default {
name: "DeathJudgmentDetail",
- components: { CaseBasicInfo },
+ components: { CaseBasicInfo, FilePreviewDialog },
+ mixins: [readonlyDescriptionsMixin],
props: {
infoid: {
type: String,
@@ -548,12 +303,15 @@
data() {
return {
caseId: null,
- isEdit: false,
+ isEdit: true,
saveLoading: false,
-
+ brainExtraDoctors: [], // 鑴戞浜″叾浠栧垽瀹氬尰鐢�
+ heartExtraDoctors: [], // 蹇冩浜″叾浠栧垽瀹氬尰鐢�
// 鍒ゅ畾绫诲瀷鏍囩
activeJudgmentType: "brain", // 榛樿鏄剧ず鑴戞浜�
-
+ // 棰勮鐩稿叧
+ previewVisible: false,
+ currentPreviewFile: null,
// 琛ㄥ崟鏁版嵁
form: {
id: undefined,
@@ -604,7 +362,11 @@
{ required: false, message: "蹇冩浜″師鍥犱笉鑳戒负绌�", trigger: "blur" }
],
heartdeathtime: [
- { required: false, message: "蹇冩浜℃椂闂翠笉鑳戒负绌�", trigger: "change" }
+ {
+ required: false,
+ message: "蹇冩浜″垽瀹氬畬鎴愭椂闂翠笉鑳戒负绌�",
+ trigger: "change"
+ }
],
heartdeathjudgedocto: [
{
@@ -637,12 +399,14 @@
{ value: "3", label: "鐭綔浼忔湡浣撴劅璇卞彂鐢典綅璇勪及琛�" },
{ value: "4", label: "缁忛澶氭櫘鍕掕秴澹拌瘎浼拌褰�" },
{ value: "5", label: "鍗仴濮旇剳鎹熶激璐ㄦ帶涓績 - 涓村簥缁煎悎璇勪及琛�" },
- { value: "6", label: "UW璇勫垎琛�" }
+ { value: "7", label: "AT鍓�" },
+ { value: "8", label: "AT鍚�" },
+ { value: "6", label: "UW璇勫垎琛�(鑴戞浜�)" }
],
// 蹇冩浜¤瘎浼拌〃绫诲瀷瀹氫箟
heartDeathAttachmentTypes: [
{ value: "heart_1", label: "蹇冩浜″垽瀹氳〃" },
- { value: "heart_2", label: "蹇冪數鍥捐瘎浼拌〃" }
+ { value: "heart_2", label: "UW璇勫垎琛�(蹇冩浜�)" }
],
// 闄勪欢鍒楄〃鏁版嵁
@@ -665,10 +429,13 @@
}
},
created() {
+ this.infoid = this.infoid;
this.caseId = this.infoid;
+
+ this.activeJudgmentType = this.$route.query.type;
// 浠庤矾鐢卞弬鏁拌幏鍙栭粯璁ゆ樉绀虹被鍨�
if (this.$route.query.judgmentType) {
- this.activeJudgmentType = this.$route.query.type;
+ this.activeJudgmentType = this.$route.query.judgmentType;
}
this.getDetail(this.infoid);
@@ -680,7 +447,32 @@
this.activeJudgmentType = tab.name;
// 鍙互鍦ㄨ繖閲屾坊鍔犲叾浠栧垏鎹㈤�昏緫
},
+ addBrainDoctor() {
+ this.brainExtraDoctors.push("");
+ },
+ removeBrainDoctor(index) {
+ this.brainExtraDoctors.splice(index, 1);
+ },
+ addHeartDoctor() {
+ this.heartExtraDoctors.push("");
+ },
+ removeHeartDoctor(index) {
+ this.heartExtraDoctors.splice(index, 1);
+ },
+ // 搴忓垪鍖栭澶栧尰鐢熷垪琛ㄤ负瀛楃涓诧紙鐢ㄤ腑鏂囬�楀彿鍒嗛殧锛�
+ serializeExtraDoctors(list) {
+ return list.filter(name => name && name.trim()).join("锛�");
+ },
+
+ // 浠庡瓧绗︿覆瑙f瀽鍑哄尰鐢熷垪琛紙鎸変腑鏂囬�楀彿鎷嗗垎锛�
+ parseExtraDoctors(str) {
+ if (!str) return [];
+ return str
+ .split("锛�")
+ .map(s => s.trim())
+ .filter(s => s);
+ },
// 鐢熸垚鎹愮尞鑰呯紪鍙�
generateDonorNo() {
const timestamp = Date.now().toString();
@@ -691,13 +483,8 @@
async getDetail(infoid) {
try {
const response = await queryDathInfoBaseInfo({ infoid });
- let realData = {};
- if (response && response.data) {
- realData = response.data[0];
- } else if (response) {
- realData = response;
- }
+ let realData = response?.data?.[0] || response || {};
// 鏄犲皠瀛楁鍒拌〃鍗�
this.form = {
@@ -716,7 +503,18 @@
if (realData.rememberAnnex) {
this.parseAttachmentData(realData.rememberAnnex, "brain");
}
-
+ if (realData.remark) {
+ const parts = realData.remark.split(" | ");
+ parts.forEach(part => {
+ if (part.includes("鑴戞浜″叾浠栧尰鐢燂細")) {
+ const doctorsStr = part.replace("鑴戞浜″叾浠栧尰鐢燂細", "");
+ this.brainExtraDoctors = this.parseExtraDoctors(doctorsStr);
+ } else if (part.includes("蹇冩浜″叾浠栧尰鐢燂細")) {
+ const doctorsStr = part.replace("蹇冩浜″叾浠栧尰鐢燂細", "");
+ this.heartExtraDoctors = this.parseExtraDoctors(doctorsStr);
+ }
+ });
+ }
// 瑙f瀽蹇冩浜¢檮浠朵俊鎭�
if (realData.heartdeathjudgeannex) {
this.parseAttachmentData(realData.heartdeathjudgeannex, "heart");
@@ -1023,30 +821,63 @@
},
// 棰勮闄勪欢
- handlePreview(attachment) {
- if (attachment.fileName.endsWith(".pdf")) {
- window.open(attachment.fileUrl, "_blank");
- } else if (attachment.fileName.match(/\.(jpg|jpeg|png)$/i)) {
- this.$alert(
- `<img src="${attachment.fileUrl}" style="max-width: 100%;" alt="${attachment.fileName}">`,
- "鍥剧墖棰勮",
- {
- dangerouslyUseHTMLString: true,
- customClass: "image-preview-dialog"
- }
- );
- } else {
- this.$message.info("璇ユ枃浠剁被鍨嬫殏涓嶆敮鎸佸湪绾块瑙堬紝璇蜂笅杞藉悗鏌ョ湅");
- }
- },
+ handlePreview(file) {
+ console.log(file, "file");
+ this.currentPreviewFile = {
+ fileName: file.fileName,
+ fileUrl: file.path || file.fileUrl,
+ fileType: this.getFileType(file.fileName)
+ };
+ this.previewVisible = true;
+ // if (attachment.fileName.endsWith(".pdf")) {
+ // window.open(attachment.fileUrl, "_blank");
+ // } else if (attachment.fileName.match(/\.(jpg|jpeg|png)$/i)) {
+ // this.$alert(
+ // `<img src="${attachment.fileUrl}" style="max-width: 100%;" alt="${attachment.fileName}">`,
+ // "鍥剧墖棰勮",
+ // {
+ // dangerouslyUseHTMLString: true,
+ // customClass: "image-preview-dialog"
+ // }
+ // );
+ // } else {
+ // this.$message.info("璇ユ枃浠剁被鍨嬫殏涓嶆敮鎸佸湪绾块瑙堬紝璇蜂笅杞藉悗鏌ョ湅");
+ // }
+ },
+ getFileType(fileName) {
+ if (!fileName) return "other";
+
+ const extension = fileName
+ .split(".")
+ .pop()
+ .toLowerCase();
+ const imageTypes = ["jpg", "jpeg", "png", "gif", "bmp", "webp"];
+ const pdfTypes = ["pdf"];
+ const officeTypes = ["doc", "docx", "xls", "xlsx", "ppt", "pptx"];
+
+ if (imageTypes.includes(extension)) return "image";
+ if (pdfTypes.includes(extension)) return "pdf";
+ if (officeTypes.includes(extension)) return "office";
+ return "other";
+ },
// 涓嬭浇闄勪欢
- handleDownload(attachment) {
- const link = document.createElement("a");
- link.href = attachment.fileUrl;
- link.download = attachment.fileName;
- link.click();
- this.$message.success(`寮�濮嬩笅杞�: ${attachment.fileName}`);
+ handleDownload(file) {
+ const fileUrl = file.path || file.fileUrl;
+ const fileName = file.fileName;
+
+ if (fileUrl) {
+ const link = document.createElement("a");
+ link.href = fileUrl;
+ link.download = fileName;
+ link.style.display = "none";
+ document.body.appendChild(link);
+ link.click();
+ document.body.removeChild(link);
+ this.$message.success("寮�濮嬩笅杞芥枃浠�");
+ } else {
+ this.$message.warning("鏂囦欢璺緞涓嶅瓨鍦紝鏃犳硶涓嬭浇");
+ }
},
// 缂栬緫淇℃伅
@@ -1077,13 +908,32 @@
this.saveLoading = true;
try {
+ // 鏋勫缓棰濆鍖荤敓瀛楃涓�
+ const brainExtraStr = this.serializeExtraDoctors(
+ this.brainExtraDoctors
+ );
+ const heartExtraStr = this.serializeExtraDoctors(
+ this.heartExtraDoctors
+ );
+
+ let remark = this.form.remark || "";
+ // 濡傛灉宸叉湁澶囨敞锛岀敤 ' | ' 鍒嗛殧锛涘惁鍒欑洿鎺ヨ祴鍊�
+ if (brainExtraStr) {
+ remark +=
+ (remark ? " | " : "") + "鑴戞浜″叾浠栧尰鐢燂細" + brainExtraStr;
+ }
+ if (heartExtraStr) {
+ remark +=
+ (remark ? " | " : "") + "蹇冩浜″叾浠栧尰鐢燂細" + heartExtraStr;
+ }
// 鏋勫缓鎻愪氦鏁版嵁
const submitData = {
...this.form,
infoid: this.infoid,
// 纭繚闄勪欢鏁版嵁鏈�鏂�
- rememberAnnex: this.buildBrainDeathAttachmentJson(),
- heartdeathjudgeannex: this.buildHeartDeathAttachmentJson()
+ rememberannex: this.buildBrainDeathAttachmentJson(),
+ heartdeathjudgeannex: this.buildHeartDeathAttachmentJson(),
+ remark: remark // 浣跨敤鍚堝苟鍚庣殑 remark
};
if (submitData.state == 1 || !submitData.state) {
submitData.state = 2;
--
Gitblit v1.9.3