|
|
|
@ -7,74 +7,50 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="危急值范围"> |
|
|
|
<el-input |
|
|
|
v-model="tableData.criticalRangeValue" |
|
|
|
style="width: 100%" |
|
|
|
disabled |
|
|
|
size="small" |
|
|
|
></el-input> |
|
|
|
<el-input v-model="tableData.criticalRangeValue" style="width: 100%" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="诊断级别"> |
|
|
|
<el-select v-model="tableData.diagnosisLevelId" placeholder="请选择诊断级别" clearable style="width: 150px" |
|
|
|
size="small" @clear="clear"> |
|
|
|
<el-option v-for="item in dict.diagnosisLevel" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
size="small" @clear="clear"> |
|
|
|
<el-option v-for="item in dict.diagnosisLevel" :key="item.id" :label="item.displayName" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item label="危急值标志"> |
|
|
|
<el-checkbox |
|
|
|
v-model="tableData.isCriticalValue" |
|
|
|
true-label="Y" |
|
|
|
false-label="N" |
|
|
|
></el-checkbox> |
|
|
|
<el-checkbox v-model="tableData.isCriticalValue" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item label="危急值审核"> |
|
|
|
<el-checkbox |
|
|
|
v-model="tableData.isCriticalValueAudit" |
|
|
|
true-label="Y" |
|
|
|
false-label="N" |
|
|
|
></el-checkbox> |
|
|
|
<el-checkbox v-model="tableData.isCriticalValueAudit" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item label="复查"> |
|
|
|
<el-checkbox |
|
|
|
v-model="tableData.isReview" |
|
|
|
true-label="Y" |
|
|
|
false-label="N" |
|
|
|
></el-checkbox> |
|
|
|
<el-checkbox v-model="tableData.isReview" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item label="随访标志"> |
|
|
|
<el-checkbox |
|
|
|
v-model="tableData.isFollowUp" |
|
|
|
true-label="Y" |
|
|
|
false-label="N" |
|
|
|
></el-checkbox> |
|
|
|
<el-checkbox v-model="tableData.isFollowUp" true-label="Y" false-label="N"></el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="危急值处理内容"> |
|
|
|
<!-- <el-input |
|
|
|
v-model="form.parmValue" |
|
|
|
size="small" |
|
|
|
></el-input> --> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="tableData.criticalValueContent" |
|
|
|
:autosize="{ minRows: 3, maxRows: 23 }" |
|
|
|
></el-input> |
|
|
|
<el-tooltip :content="`如录入值,保存时会自动加上【${tableData.itemName || tableData.asbitemName}异常 】(已加则忽略)`" |
|
|
|
placement="bottom-start"> |
|
|
|
<el-input type="textarea" v-model="tableData.criticalValueContent" |
|
|
|
:autosize="{ minRows: 3, maxRows: 23 }"></el-input> |
|
|
|
</el-tooltip> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -82,39 +58,22 @@ |
|
|
|
<el-divider></el-divider> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="危急值创建者"> |
|
|
|
<el-input |
|
|
|
v-model="tableData.criticalValueCreatorName" |
|
|
|
disabled |
|
|
|
size="small" |
|
|
|
></el-input> |
|
|
|
<el-input v-model="tableData.criticalValueCreatorName" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="危急值创建日期"> |
|
|
|
<el-input |
|
|
|
:value="tableData.criticalValueCreationTime" |
|
|
|
disabled |
|
|
|
size="small" |
|
|
|
></el-input> |
|
|
|
<el-input :value="tableData.criticalValueCreationTime" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="随访创建者"> |
|
|
|
<el-input |
|
|
|
v-model="tableData.followUpCreatorName" |
|
|
|
disabled |
|
|
|
size="small" |
|
|
|
></el-input> |
|
|
|
<el-input v-model="tableData.followUpCreatorName" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="随访创建日期"> |
|
|
|
<el-input |
|
|
|
style="width: 85%" |
|
|
|
:value="tableData.followUpCreationTime" |
|
|
|
disabled |
|
|
|
size="small" |
|
|
|
></el-input> |
|
|
|
<el-input style="width: 85%" :value="tableData.followUpCreationTime" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -170,19 +129,19 @@ export default { |
|
|
|
startPoint: -1, // 多选起点 -1 表示选择 |
|
|
|
endPoint: -1, // 多选终点 -1 表示未选择 |
|
|
|
tableData: { |
|
|
|
criticalRangeValue: "", //危急值范围 |
|
|
|
isCriticalValue: "Y", //危急值标志 |
|
|
|
criticalValueContent: "", // 危急值 |
|
|
|
criticalValueCreatorName:"", |
|
|
|
criticalValueCreationTime:"", |
|
|
|
isCriticalValueAudit:"", |
|
|
|
isReview:"N", |
|
|
|
isFollowUp:"N", |
|
|
|
followUpCreatorName:"", |
|
|
|
followUpCreationTime:"", |
|
|
|
criticalRangeValue:"", |
|
|
|
diagnosisLevelId:null |
|
|
|
}, |
|
|
|
criticalRangeValue: "", //危急值范围 |
|
|
|
isCriticalValue: "Y", //危急值标志 |
|
|
|
criticalValueContent: "", // 危急值 |
|
|
|
criticalValueCreatorName: "", |
|
|
|
criticalValueCreationTime: "", |
|
|
|
isCriticalValueAudit: "", |
|
|
|
isReview: "N", |
|
|
|
isFollowUp: "N", |
|
|
|
followUpCreatorName: "", |
|
|
|
followUpCreationTime: "", |
|
|
|
criticalRangeValue: "", |
|
|
|
diagnosisLevelId: null |
|
|
|
}, |
|
|
|
tableDataCurrentRow: {}, // 当前被选中的行 |
|
|
|
|
|
|
|
multipleSelection: [], //选中的数据列表 |
|
|
|
@ -286,25 +245,25 @@ export default { |
|
|
|
|
|
|
|
this.loadOptsInit = Object.assign({}, this.loadOpts) |
|
|
|
getapi("/api/app/diagnosis-level/in-filter").then((res) => { |
|
|
|
if (res.code > -1) { |
|
|
|
this.dict.diagnosisLevel = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
if(this.doctorCheck.combinationCriticalValue){ |
|
|
|
getapi(`/api/app/registercheck/getregistercheck?id=${this.doctorCheck.RegisterCheckId}`) |
|
|
|
if (res.code > -1) { |
|
|
|
this.dict.diagnosisLevel = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
if (this.doctorCheck.combinationCriticalValue) { |
|
|
|
getapi(`/api/app/registercheck/getregistercheck?id=${this.doctorCheck.RegisterCheckId}`) |
|
|
|
.then(res => { |
|
|
|
if(res.code>-1){ |
|
|
|
this.tableData=res.data |
|
|
|
if (res.code > -1) { |
|
|
|
this.tableData = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
postapi("/api/app/RegisterCheckItem/GetRegisterCheckItem",{ |
|
|
|
registerCheckId:this.doctorCheck.RegisterCheckId, |
|
|
|
itemId:this.doctorCheck.singleDetailedProject.itemId |
|
|
|
} else { |
|
|
|
postapi("/api/app/RegisterCheckItem/GetRegisterCheckItem", { |
|
|
|
registerCheckId: this.doctorCheck.RegisterCheckId, |
|
|
|
itemId: this.doctorCheck.singleDetailedProject.itemId |
|
|
|
}) |
|
|
|
.then(res => { |
|
|
|
if(res.code>-1){ |
|
|
|
this.tableData=res.data |
|
|
|
if (res.code > -1) { |
|
|
|
this.tableData = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
// this.tableData=this.doctorCheck.singleDetailedProject |
|
|
|
@ -686,45 +645,53 @@ export default { |
|
|
|
this.dataTransOpts.refresh.register_check_asbitem.M++ //触发所选组合项目刷新 |
|
|
|
// } |
|
|
|
}, |
|
|
|
clear(){ |
|
|
|
this.tableData.diagnosisLevelId=null |
|
|
|
clear() { |
|
|
|
this.tableData.diagnosisLevelId = null |
|
|
|
}, |
|
|
|
// 导入企业(青藏公司)数据 |
|
|
|
btnImportOrgData() { |
|
|
|
if(this.doctorCheck.combinationCriticalValue){ |
|
|
|
postapi('/api/app/RegisterCheck/UpdateRegisterCheckCritical',{ |
|
|
|
registerCheckId:this.doctorCheck.RegisterCheckId, |
|
|
|
isCriticalValue:this.tableData.isCriticalValue, |
|
|
|
isFollowUp:this.tableData.isFollowUp, |
|
|
|
criticalValueContent:this.tableData.criticalValueContent, |
|
|
|
isCriticalValueAudit:this.tableData.isCriticalValueAudit, |
|
|
|
isReview:this.tableData.isReview, |
|
|
|
diagnosisLevelId:this.tableData.diagnosisLevelId |
|
|
|
}).then(res => { |
|
|
|
this.doctorCheck.RegisterCheckEdit.isCriticalValue=this.tableData.isCriticalValue |
|
|
|
let criticalValueContent = this.tableData.criticalValueContent |
|
|
|
if (criticalValueContent) { |
|
|
|
let tempName = (this.tableData.itemName || this.tableData.asbitemName) + '异常' |
|
|
|
if (!criticalValueContent.includes(tempName)) { |
|
|
|
criticalValueContent = tempName + ' ' + criticalValueContent |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (this.doctorCheck.combinationCriticalValue) { |
|
|
|
postapi('/api/app/RegisterCheck/UpdateRegisterCheckCritical', { |
|
|
|
registerCheckId: this.doctorCheck.RegisterCheckId, |
|
|
|
isCriticalValue: this.tableData.isCriticalValue, |
|
|
|
isFollowUp: this.tableData.isFollowUp, |
|
|
|
criticalValueContent, |
|
|
|
isCriticalValueAudit: this.tableData.isCriticalValueAudit, |
|
|
|
isReview: this.tableData.isReview, |
|
|
|
diagnosisLevelId: this.tableData.diagnosisLevelId |
|
|
|
}).then(res => { |
|
|
|
this.doctorCheck.RegisterCheckEdit.isCriticalValue = this.tableData.isCriticalValue |
|
|
|
this.dialogWin.FollowCriticalCheck = false |
|
|
|
this.tableData=this.$options.data.tableData |
|
|
|
this.tableData = this.$options.data.tableData |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
postapi('/api/app/RegisterCheckItem/UpdateRegisterCheckItemCritical',{ |
|
|
|
registerCheckId:this.tableData.registerCheckId, |
|
|
|
isCriticalValue:this.tableData.isCriticalValue, |
|
|
|
isFollowUp:this.tableData.isFollowUp, |
|
|
|
criticalValueContent:this.tableData.criticalValueContent, |
|
|
|
isCriticalValueAudit:this.tableData.isCriticalValueAudit, |
|
|
|
isReview:this.tableData.isReview, |
|
|
|
itemId:this.tableData.itemId, |
|
|
|
diagnosisLevelId:this.tableData.diagnosisLevelId |
|
|
|
}).then(res => { |
|
|
|
for(let i=0;i<this.doctorCheck.checkItemList.length;i++){ |
|
|
|
console.log(this.doctorCheck.checkItemList[i]) |
|
|
|
if(this.doctorCheck.checkItemList[i].itemId==this.tableData.itemId){ |
|
|
|
this.doctorCheck.checkItemList[i].isCriticalValue=this.tableData.isCriticalValue |
|
|
|
break; |
|
|
|
} else { |
|
|
|
postapi('/api/app/RegisterCheckItem/UpdateRegisterCheckItemCritical', { |
|
|
|
registerCheckId: this.tableData.registerCheckId, |
|
|
|
isCriticalValue: this.tableData.isCriticalValue, |
|
|
|
isFollowUp: this.tableData.isFollowUp, |
|
|
|
criticalValueContent, |
|
|
|
isCriticalValueAudit: this.tableData.isCriticalValueAudit, |
|
|
|
isReview: this.tableData.isReview, |
|
|
|
itemId: this.tableData.itemId, |
|
|
|
diagnosisLevelId: this.tableData.diagnosisLevelId |
|
|
|
}).then(res => { |
|
|
|
for (let i = 0; i < this.doctorCheck.checkItemList.length; i++) { |
|
|
|
console.log(this.doctorCheck.checkItemList[i]) |
|
|
|
if (this.doctorCheck.checkItemList[i].itemId == this.tableData.itemId) { |
|
|
|
this.doctorCheck.checkItemList[i].isCriticalValue = this.tableData.isCriticalValue |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.dialogWin.FollowCriticalCheck = false |
|
|
|
this.tableData=this.$options.data.tableData |
|
|
|
this.tableData = this.$options.data.tableData |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
|