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