画像编辑 *

This commit is contained in:
shidongli 2024-07-16 11:01:17 +08:00
parent 438c51db3a
commit 84e331ba27

View File

@ -1,6 +1,6 @@
<template>
<div class="header">
<div class="topheader">
<div class="headeredit">
<div class="topheadertop">
<div class="user">
<img
class="headsculpture"
@ -16,12 +16,17 @@
/>
<div class="name">
{{ this.$route.query.patientName }}
</div>
<div class="gender">
性别
{{ this.$route.query.sex == "MALE" ? "男" : this.$route.query.sex == "FEMALE" ? "女" : "" }}
{{
this.$route.query.sex == "MALE"
? "男"
: this.$route.query.sex == "FEMALE"
? "女"
: ""
}}
</div>
<div class="gender">
年龄
@ -33,17 +38,11 @@
</div>
<div class="gender">
医院{{ this.$route.query.hospitalAgencyName }}
</div>
<div class="gender">
诊断{{this.$route.query.mainDiagnosis}}
</div>
<div class="gender">诊断{{ this.$route.query.mainDiagnosis }}</div>
</div>
</div>
<div class="list">
<div class="timelist">
<div class="left" ref="box">
<div class="name">画像分组</div>
@ -78,7 +77,9 @@
{{ ulitem.taskTypeName
}}<span class="spanitme" v-if="ulitem.taskTypeName">-</span
>{{ ulitem.taskPartitionDictName }}
<span class="count" v-if="ulitem.fieldSort">{{ulitem.fieldSort}}</span>
<span class="count" v-if="ulitem.fieldSort">{{
ulitem.fieldSort
}}</span>
</div>
</div>
</div>
@ -107,8 +108,13 @@
<el-form-item
v-for="(cItem, cIndex) in bitem.groupingValues"
:key="cIndex"
:label="cItem.fieldName"
>
<template slot="label">
<span style="color: red" v-if="cItem.sign == 1"
>*</span
>
{{ cItem.fieldName }}
</template>
<el-input v-model="cItem.fieldValue"></el-input>
</el-form-item>
</el-form>
@ -165,7 +171,8 @@ export default {
taskPartitionDictId: '',
patientId: this.$route.query.patientId,
},
rules: {},
rules: {
},
updata: {
specialDiseaseRouteId: '',
suitRange: '',
@ -236,22 +243,26 @@ export default {
//
TemporaryStorage() {
// console.log(this.getParamslistData,'this.getParamslistData')
var emptyItems = []
var form = {
labelFieldAndPartitionDictList: []
}
form.labelFieldAndPartitionDictList = this.getParamslistData
// emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue)
console.log(form, 'this.form')
// console.log(emptyItems, 'emptyItems')
// return
// var dataempty = []
// dataempty = JSON.parse(JSON.stringify(form.labelFieldAndPartitionDictList))
// dataempty.forEach(e => {
// e.portraitSnVOList.forEach(el=>{
// emptyItems.push(el.groupingValues)
// })
// if (emptyItems && emptyItems.length > 0) {
// this.$modal.msgError(",");
// })
// var data = []
// data = emptyItems.flat().filter(f => f.sign == 1 && f.fieldValue == "")
// console.log(data,'data')
// if (data && data.length > 0) {
// this.$modal.msgError(",");
// } else {
this.$confirm('是否确认提交?', '提示', {
confirmButtonText: '确认',
cancelButtonText: '取消',
@ -380,13 +391,13 @@ export default {
}
}
}
.header {
.headeredit {
// background-color: #f2f4f5;
// padding-top: 10px;
height: calc(100vh - 84px);
padding: 0px 10px 10px 0px;
// height: calc(100vh - 46px);
.topheader{
.topheadertop {
width: 99%;
height: 80px;
margin: 0 auto;
@ -413,7 +424,6 @@ export default {
}
}
}
}
.list {
margin: 0 auto;