画像编辑 *
This commit is contained in:
parent
438c51db3a
commit
84e331ba27
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="header">
|
||||
<div class="topheader">
|
||||
<div class="user">
|
||||
<div class="headeredit">
|
||||
<div class="topheadertop">
|
||||
<div class="user">
|
||||
<img
|
||||
class="headsculpture"
|
||||
src="../../../assets/manage/touxiang.png"
|
||||
@ -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">
|
||||
年龄:
|
||||
@ -32,18 +37,12 @@
|
||||
{{ this.$route.query.birthDate }}
|
||||
</div>
|
||||
<div class="gender">
|
||||
医院:{{this.$route.query.hospitalAgencyName}}
|
||||
|
||||
医院:{{ this.$route.query.hospitalAgencyName }}
|
||||
</div>
|
||||
<div class="gender">
|
||||
诊断:{{this.$route.query.mainDiagnosis}}
|
||||
|
||||
</div>
|
||||
|
||||
</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: '取消',
|
||||
@ -280,8 +291,8 @@ export default {
|
||||
},
|
||||
additem(aindex, bindex) {
|
||||
const newVal = JSON.parse(JSON.stringify(this.moban[aindex].portraitSnVOList[0]))
|
||||
console.log(newVal,'newVal')
|
||||
console.log(newVal,'newValnew')
|
||||
console.log(newVal, 'newVal')
|
||||
console.log(newVal, 'newValnew')
|
||||
|
||||
|
||||
newVal.groupingValues.forEach(e => {
|
||||
@ -289,7 +300,7 @@ export default {
|
||||
e.portraitSn = ''
|
||||
|
||||
});
|
||||
newVal.portraitSn=''
|
||||
newVal.portraitSn = ''
|
||||
|
||||
|
||||
this.getParamslistData[aindex].portraitSnVOList.push(newVal)
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user