This commit is contained in:
2025-07-28 15:56:53 +08:00
parent 4917fc3a8a
commit 2908620516

View File

@@ -238,10 +238,10 @@
>
</div>
<template
v-if="pageType == 'user'"
v-if="type == 'detail'&&currentNode.data.id=='wait'"
style="display:flex;align-items:center;justify-content:space-between"
>
<el-form-item
<!-- <el-form-item
label="手机号/邮箱:"
prop="user"
class="form_item"
@@ -263,7 +263,7 @@
: "-"
}}
</div></el-form-item
>
> -->
<el-form-item label="医案分类" prop="user" class="form_item">
<div>
<el-cascader
@@ -278,7 +278,7 @@
}"
:options="cateOptions"
placeholder="医案分类"
@change="handleChange"
></el-cascader></div
></el-form-item>
</template>
@@ -377,14 +377,25 @@
class="form_item custom-upload-box"
v-if="dialogVisible"
>
<template v-for="(file, i) in fileList" v-if="type == 'detail'">
<el-image v-if="type == 'detail'&&fileList.length>0"
:key="index"
class="el-upload-list__item-thumbnail"
v-for="(item, index) in addCertificateForm.img.split(',')"
style="width: 60px;height: 60px;border-radius: 6px;margin: 0 8px 8px 0;"
:src="item"
:preview-src-list="addCertificateForm.img.split(',')"
>
</el-image>
<!-- <template v-for="(file, i) in fileList" v-if="type == 'detail'">
<img
style="width: 60px;height: 60px;border-radius: 6px;margin: 0 8px 8px 0;"
class="el-upload-list__item-thumbnail"
:src="file.url"
alt=""
/>
</template>
</template> -->
<div
v-if="fileList.length == 0 && type == 'detail'"
style="line-height: 60px;"
@@ -779,13 +790,13 @@ export default {
getCateList() {
this.$http({
url: this.$http.adornUrl(
"/master/userCertificate/userCertificateLabelList"
"/master/medicalRecords/getMedicalRecordsLabelList"
),
method: "post",
data: this.$http.adornData({})
}).then(({ data }) => {
if (data && data.code === 0) {
this.cateOptions = data.labelList;
this.cateOptions = data.Medicals;
} else {
this.cateOptions = [];
}
@@ -971,8 +982,13 @@ export default {
// const titleHtml = this.getTitleHtml(recordData[key]);
// recordData[key] = titleHtml + this.editableMap[key];
// }
const label = this.addCertificateForm.labelId;
const value = Array.isArray(label)
? label[label.length - 1]
: label;
var data = {
labelId: this.addCertificateForm.labelId,
labelId: value,
img:
this.fileList.length > 0
? this.addCertificateForm.imageList.toString()