人工审核
This commit is contained in:
parent
7ab8b7e8ee
commit
245054714f
@ -263,9 +263,9 @@ export default {
|
|||||||
portaitCheckRemark: value,
|
portaitCheckRemark: value,
|
||||||
portaitCheckStatus: 'DISAGREE',
|
portaitCheckStatus: 'DISAGREE',
|
||||||
signPatientRecordId: this.$route.query.signRecordId,
|
signPatientRecordId: this.$route.query.signRecordId,
|
||||||
labelFieldContentList: [],
|
labelFieldAndPartitionDictList: [],
|
||||||
}
|
}
|
||||||
obj.labelFieldContentList = this.portraitlistdata
|
obj.labelFieldAndPartitionDictList = this.portraitlistdata
|
||||||
updatePortaitCheckStatus(obj).then(res => {
|
updatePortaitCheckStatus(obj).then(res => {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@ -317,9 +317,9 @@ export default {
|
|||||||
portaitCheckRemark: value,
|
portaitCheckRemark: value,
|
||||||
portaitCheckStatus: 'AGREE',
|
portaitCheckStatus: 'AGREE',
|
||||||
signPatientRecordId: this.$route.query.signRecordId,
|
signPatientRecordId: this.$route.query.signRecordId,
|
||||||
labelFieldContentList: [],
|
labelFieldAndPartitionDictList: [],
|
||||||
}
|
}
|
||||||
obj.labelFieldContentList = this.portraitlistdata
|
obj.labelFieldAndPartitionDictList = this.portraitlistdata
|
||||||
console.log(obj, 'tijiao')
|
console.log(obj, 'tijiao')
|
||||||
// return
|
// return
|
||||||
updatePortaitCheckStatus(obj).then(res => {
|
updatePortaitCheckStatus(obj).then(res => {
|
||||||
|
|||||||
@ -32,19 +32,24 @@
|
|||||||
taskid == ulitem.taskPartitionDictId ? 'allactive' : 'all'
|
taskid == ulitem.taskPartitionDictId ? 'allactive' : 'all'
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ulitem.taskTypeName}}<span class="spanitme" v-if="ulitem.taskTypeName">|</span>{{ ulitem.taskPartitionDictName }}
|
{{ ulitem.taskTypeName
|
||||||
|
}}<span class="spanitme" v-if="ulitem.taskTypeName">|</span
|
||||||
|
>{{ ulitem.taskPartitionDictName }}
|
||||||
</div>
|
</div>
|
||||||
<!-- <span class="count">{{ ulitem.countNum }}</span> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="texts">
|
<div class="texts">
|
||||||
<div class="topform">
|
<div class="topform">
|
||||||
<div v-if="getParamslistData">
|
<div style="margin-bottom: 20px">
|
||||||
|
<div v-for="(aitem, aindex) in getParamslistData" :key="aindex">
|
||||||
|
<el-card>
|
||||||
|
<!-- {{aitem}} -->
|
||||||
|
<div class="toptitle">{{ aitem.taskPartitionDictName }}</div>
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in getParamslistData"
|
|
||||||
:key="index"
|
|
||||||
style="display: flex"
|
style="display: flex"
|
||||||
|
v-for="(bitem, bindex) in aitem.portraitSnVOList"
|
||||||
|
:key="bindex"
|
||||||
>
|
>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<el-form
|
<el-form
|
||||||
@ -55,44 +60,30 @@
|
|||||||
label-width="100px"
|
label-width="100px"
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
>
|
>
|
||||||
<!-- {{item}} -->
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-for="(ite, ind) in item"
|
v-for="(cItem, cIndex) in bitem.groupingValues"
|
||||||
:label="ite.fieldName"
|
:key="cIndex"
|
||||||
:key="ind"
|
:label="cItem.fieldName"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input v-model="cItem.fieldValue"></el-input>
|
||||||
class="textarea"
|
|
||||||
v-model="ite.fieldValue"
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<i
|
<i
|
||||||
class="el-icon-delete"
|
class="el-icon-delete"
|
||||||
@click="delitem(index)"
|
@click="delitem(aindex, bindex)"
|
||||||
v-if="index != 0"
|
v-if="bindex != 0"
|
||||||
></i>
|
></i>
|
||||||
<i
|
<i
|
||||||
v-if="index == 0"
|
v-if="bindex == 0"
|
||||||
class="el-icon-circle-plus-outline"
|
class="el-icon-circle-plus-outline"
|
||||||
@click="additem(index)"
|
@click="additem(aindex, bindex)"
|
||||||
></i>
|
></i>
|
||||||
<!-- <el-button
|
|
||||||
v-if="
|
|
||||||
taskPartitionCode == 'MEDICATION_GUIDE' ||
|
|
||||||
taskPartitionCode == 'SPORT_GUIDE' ||
|
|
||||||
taskPartitionCode == 'DIET_GUIDE' ||
|
|
||||||
taskPartitionCode == 'NURSING_GUIDE'
|
|
||||||
"
|
|
||||||
round
|
|
||||||
style="margin-left: 10px"
|
|
||||||
@click="knowledge(index, item)"
|
|
||||||
>知识库获取</el-button
|
|
||||||
> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -145,20 +136,7 @@ export default {
|
|||||||
console.log(this.$route.query, 'this.$route.query')
|
console.log(this.$route.query, 'this.$route.query')
|
||||||
this.qurelist.patientId = this.$route.query.patientId
|
this.qurelist.patientId = this.$route.query.patientId
|
||||||
this.getAllNodeBy()
|
this.getAllNodeBy()
|
||||||
// console.log(this.DepartmentoList)
|
|
||||||
// var querytParams={
|
|
||||||
// taskPartitionDictId: this.DepartmentoList[0].taskPartitionDictId,
|
|
||||||
// patientId: this.$route.query.patientId,
|
|
||||||
|
|
||||||
// }
|
|
||||||
// groupingValue(querytParams).then(res => {
|
|
||||||
// console.log(res, 'res')
|
|
||||||
|
|
||||||
// this.moban = JSON.parse(JSON.stringify(res))
|
|
||||||
// this.getParamslistData = res
|
|
||||||
// // console.log(this.getParamslistData, '009090')
|
|
||||||
|
|
||||||
// })
|
|
||||||
},
|
},
|
||||||
beforeDestroy() { },
|
beforeDestroy() { },
|
||||||
watch: {
|
watch: {
|
||||||
@ -195,7 +173,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
bottomclickevent(ulitem) {
|
bottomclickevent(ulitem) {
|
||||||
console.log(ulitem, '9999')
|
|
||||||
this.taskid = ulitem.taskPartitionDictId
|
this.taskid = ulitem.taskPartitionDictId
|
||||||
// this.querytParams.signPatientManageRouteNodeId = ulitem.taskPartitionDictId
|
// this.querytParams.signPatientManageRouteNodeId = ulitem.taskPartitionDictId
|
||||||
this.querytParams.taskPartitionDictId = ulitem.taskPartitionDictId
|
this.querytParams.taskPartitionDictId = ulitem.taskPartitionDictId
|
||||||
@ -215,14 +192,15 @@ export default {
|
|||||||
|
|
||||||
//保存
|
//保存
|
||||||
TemporaryStorage() {
|
TemporaryStorage() {
|
||||||
|
// console.log(this.getParamslistData,'this.getParamslistData')
|
||||||
var emptyItems = []
|
var emptyItems = []
|
||||||
|
|
||||||
var form = {
|
var form = {
|
||||||
groupingValues:[]
|
labelFieldAndPartitionDictList: []
|
||||||
}
|
}
|
||||||
form.groupingValues=this.getParamslistData
|
form.labelFieldAndPartitionDictList = this.getParamslistData
|
||||||
// emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue)
|
// emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue)
|
||||||
// console.log(form, 'this.form')
|
console.log(this.form, 'this.form')
|
||||||
// console.log(emptyItems, 'emptyItems')
|
// console.log(emptyItems, 'emptyItems')
|
||||||
// return
|
// return
|
||||||
|
|
||||||
@ -256,24 +234,19 @@ export default {
|
|||||||
})
|
})
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
|
additem(aindex, bindex) {
|
||||||
additem(index) {
|
// console.log(this.form.list,'this.form.list')
|
||||||
this.moban[0].forEach(e => {
|
const newVal = JSON.parse(JSON.stringify(this.moban[aindex].portraitSnVOList[0]))
|
||||||
|
newVal.groupingValues.forEach(e => {
|
||||||
e.fieldValue = ""
|
e.fieldValue = ""
|
||||||
|
|
||||||
e.portraitSn = ''
|
e.portraitSn = ''
|
||||||
// e.id = ""
|
|
||||||
})
|
});
|
||||||
const newVal = JSON.parse(JSON.stringify(this.moban[0]))
|
|
||||||
// const newVal = JSON.parse(JSON.stringify(this.getParamslistData[0]))
|
this.getParamslistData[aindex].portraitSnVOList.push(newVal)
|
||||||
// newVal.forEach(i => {
|
|
||||||
// // i.sn = this.getParamslistData.length +1
|
|
||||||
// i.sn = this.getParamslistData[this.getParamslistData.length - 1][0].sn + 1
|
|
||||||
// })
|
|
||||||
this.getParamslistData.push(newVal)
|
|
||||||
},
|
},
|
||||||
delitem(index, item) {
|
delitem(aindex, bindex) {
|
||||||
this.getParamslistData.splice(index, 1)
|
this.getParamslistData[aindex].portraitSnVOList.splice(bindex, 1)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -302,19 +275,25 @@ export default {
|
|||||||
.dialog-footer {
|
.dialog-footer {
|
||||||
padding: 2px 44px 0;
|
padding: 2px 44px 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
position: relative;
|
||||||
|
bottom: 66px;
|
||||||
}
|
}
|
||||||
.texts {
|
.texts {
|
||||||
// overflow-y: scroll;
|
// overflow-y: scroll;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
width: 72%;
|
width: 72%;
|
||||||
height: calc(100vh - 30px);
|
height: calc(100vh - 200px);
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
.topform {
|
.topform {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: calc(100% - 177px);
|
height: calc(100% - 177px);
|
||||||
overflow-y: auto;
|
// overflow-y: auto;
|
||||||
padding: 15px 70px 30px 15px;
|
padding: 15px 70px 30px 15px;
|
||||||
|
.toptitle {
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
.box-card {
|
.box-card {
|
||||||
// width:calc(100% - 149px);
|
// width:calc(100% - 149px);
|
||||||
width: 85%;
|
width: 85%;
|
||||||
@ -355,7 +334,7 @@ export default {
|
|||||||
.list {
|
.list {
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100% - 80px);
|
height: calc(100% - 11px);
|
||||||
background-color: #f2f4f5;
|
background-color: #f2f4f5;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
@ -367,6 +346,7 @@ export default {
|
|||||||
width: 25%;
|
width: 25%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 17px 20px;
|
padding: 17px 20px;
|
||||||
|
height: calc(100% - 56px);
|
||||||
// height: 680px;
|
// height: 680px;
|
||||||
// height: calc(100vh - 294px);
|
// height: calc(100vh - 294px);
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
@ -386,8 +366,7 @@ export default {
|
|||||||
border-bottom: 1px solid #dcdfe6;
|
border-bottom: 1px solid #dcdfe6;
|
||||||
.spanitme {
|
.spanitme {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
color: #A8A8A8;
|
color: #a8a8a8;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.count {
|
.count {
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="topform">
|
<div class="topform">
|
||||||
<div v-if="form.getParamslistData">
|
<div v-if="getParamslistData">
|
||||||
<div v-for="(aitem, aindex) in form.getParamslistData" :key="aindex">
|
<div v-for="(aitem, aindex) in getParamslistData" :key="aindex">
|
||||||
<el-card>
|
<el-card>
|
||||||
|
|
||||||
<div class="toptitle">{{ aitem.taskPartitionDictName }}</div>
|
<div class="toptitle">{{ aitem.taskPartitionDictName }}</div>
|
||||||
<div
|
<div
|
||||||
style="display: flex"
|
style="display: flex"
|
||||||
@ -24,11 +23,12 @@
|
|||||||
:key="cIndex"
|
:key="cIndex"
|
||||||
:label="cItem.fieldName"
|
:label="cItem.fieldName"
|
||||||
>
|
>
|
||||||
<el-input v-model="cItem.fieldValue"></el-input>
|
<el-input class="textarea" v-model="cItem.fieldValue" v-if="!portaitCheckStatus"></el-input>
|
||||||
|
<el-input class="textarea" v-model="cItem.fieldValue" disabled v-else></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div class="icon">
|
<div class="icon" v-if="!portaitCheckStatus">
|
||||||
<i
|
<i
|
||||||
class="el-icon-delete"
|
class="el-icon-delete"
|
||||||
@click="delitem(aindex,bindex)"
|
@click="delitem(aindex,bindex)"
|
||||||
@ -89,10 +89,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { groupingValue } from '@/api/manage/Portraitedit'
|
||||||
|
|
||||||
import {
|
|
||||||
getPortaitByPatient
|
|
||||||
} from '@/api/manage/Auditing.js'
|
|
||||||
export default {
|
export default {
|
||||||
props:['patientId','portaitCheckStatus'],//接收psMsg值
|
props:['patientId','portaitCheckStatus'],//接收psMsg值
|
||||||
|
|
||||||
@ -110,13 +108,9 @@ export default {
|
|||||||
{ required: true, message: '请选择节点审核状态', trigger: 'change' }
|
{ required: true, message: '请选择节点审核状态', trigger: 'change' }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
form: {
|
form: {},
|
||||||
getParamslistData: [],
|
getParamslistData: [],
|
||||||
|
|
||||||
},
|
|
||||||
// form:{},
|
|
||||||
// getParamslistData: [],
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@ -145,35 +139,29 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 右侧列表
|
// 右侧列表
|
||||||
getParams() {
|
getParams() {
|
||||||
// getPortaitByPatient
|
groupingValue(this.querytParams).then(res => {
|
||||||
getPortaitByPatient(this.querytParams).then(res => {
|
|
||||||
console.log(res, 'res')
|
console.log(res, 'res')
|
||||||
this.moban = JSON.parse(JSON.stringify(res.data))
|
this.moban = JSON.parse(JSON.stringify(res))
|
||||||
this.getParamslistData = res.data
|
this.getParamslistData = res
|
||||||
// console.log(this.getParamslistData, '009090')
|
console.log(this.getParamslistData, '009090')
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 添加
|
// 添加
|
||||||
additem(index) {
|
additem(aindex, bindex) {
|
||||||
this.moban[0].forEach(e => {
|
// console.log(this.form.list,'this.form.list')
|
||||||
|
const newVal = JSON.parse(JSON.stringify(this.moban[aindex].portraitSnVOList[0]))
|
||||||
|
newVal.groupingValues.forEach(e => {
|
||||||
e.fieldValue = ""
|
e.fieldValue = ""
|
||||||
e.portraitSn = ''
|
e.portraitSn = ''
|
||||||
// e.id = ""
|
|
||||||
})
|
});
|
||||||
const newVal = JSON.parse(JSON.stringify(this.moban[0]))
|
|
||||||
// const newVal = JSON.parse(JSON.stringify(this.getParamslistData[0]))
|
this.getParamslistData[aindex].portraitSnVOList.push(newVal)
|
||||||
// newVal.forEach(i => {
|
|
||||||
// // i.sn = this.getParamslistData.length +1
|
|
||||||
// i.sn = this.getParamslistData[this.getParamslistData.length - 1][0].sn + 1
|
|
||||||
// })
|
|
||||||
this.getParamslistData.push(newVal)
|
|
||||||
},
|
},
|
||||||
// 删除
|
// 删除
|
||||||
delitem(index, item) {
|
delitem(aindex, bindex) {
|
||||||
// this.form.items.splice(index, 1)
|
this.getParamslistData[aindex].portraitSnVOList.splice(bindex, 1)
|
||||||
this.getParamslistData.splice(index, 1)
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -184,6 +172,9 @@ export default {
|
|||||||
::v-deep .el-input.is-disabled .el-input__inner{
|
::v-deep .el-input.is-disabled .el-input__inner{
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-card {
|
||||||
|
margin-bottom: 20px !important;
|
||||||
|
}
|
||||||
.topform {
|
.topform {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user