|
|
|
@ -29,25 +29,37 @@ |
|
|
|
<el-collapse-item v-if="registerCheckList2.length > 0" title="特检" name="2"> |
|
|
|
<el-table :data="registerCheckList2" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:show-header="false" :row-style="{ height: '28px' }"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="184"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" :width="LocalConfig.doctorCheck.isPacsWorklist == 'Y' ? 153:184"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> |
|
|
|
{{ scope.row.asbitemName }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="LocalConfig.doctorCheck.isPacsWorklist == 'Y'" width="30" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<i class="el-icon-s-order" @click="pacsRequest(scope.row.checkRequestNo)" |
|
|
|
style="font-size: 24px;color: blue;cursor:pointer;"></i> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-collapse-item> |
|
|
|
<el-collapse-item v-if="registerCheckList3.length > 0" title="放射" name="3"> |
|
|
|
<el-table :data="registerCheckList3" style="width: 100%;" border highlight-current-row @row-click="rowClick" |
|
|
|
:show-header="false" :row-style="{ height: '28px' }"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" width="184"> |
|
|
|
<el-table-column prop="asbitemName" label="组合项目" :width="LocalConfig.doctorCheck.isPacsWorklist == 'Y' ? 153:184"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> |
|
|
|
{{ scope.row.asbitemName }} |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="LocalConfig.doctorCheck.isPacsWorklist == 'Y'" width="30" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<i class="el-icon-s-order" @click="pacsRequest(scope.row.checkRequestNo)" |
|
|
|
style="font-size: 24px;color: blue;cursor:pointer;"></i> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-collapse-item> |
|
|
|
</el-collapse> |
|
|
|
@ -64,14 +76,32 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
activeNames: ['0', '1', '2', '3'], |
|
|
|
LocalConfig: { |
|
|
|
doctorCheck: { // 医生诊台 |
|
|
|
isPacsWorklist: 'N', // 是否启用 DCM-worklist 申请 |
|
|
|
scheduledAet: '', //scheduledAet |
|
|
|
} |
|
|
|
}, |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
created() { }, |
|
|
|
created() { |
|
|
|
let LocalConfigStr = window.localStorage.getItem("LocalConfig") || null |
|
|
|
if(LocalConfigStr){ |
|
|
|
try { |
|
|
|
let LocalConfig = JSON.parse(LocalConfigStr) |
|
|
|
if(LocalConfig?.doctorCheck?.isPacsWorklist) this.LocalConfig.doctorCheck.isPacsWorklist = LocalConfig.doctorCheck.isPacsWorklist |
|
|
|
if(LocalConfig?.doctorCheck?.scheduledAet) this.LocalConfig.doctorCheck.scheduledAet = LocalConfig.doctorCheck.scheduledAet |
|
|
|
} catch (error) { |
|
|
|
console.log('error',error) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
mounted() { |
|
|
|
this.registerCheckList(this.dataTransOpts.tableS.patient_register.id) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
@ -147,16 +177,16 @@ export default { |
|
|
|
if (res.data.length > 0) { |
|
|
|
this.doctorCheck.RegisterCheckId = res.data[0].id |
|
|
|
this.dataTransOpts.tableS.register_check.id = res.data[0].id |
|
|
|
|
|
|
|
|
|
|
|
this.doctorCheck.asbitemName = res.data[0].asbitemName |
|
|
|
this.doctorCheck.checkRequestNo = res.data[0].checkRequestNo |
|
|
|
|
|
|
|
|
|
|
|
// this.doctorCheck.RegisterCheckEdit = res.data[0] |
|
|
|
|
|
|
|
// this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0]) |
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataTransOpts.tableS.register_check.id = '' |
|
|
|
this.dataTransOpts.tableS.register_check.id = '' |
|
|
|
this.doctorCheck.asbitemName = "" |
|
|
|
this.doctorCheck.checkRequestNo = "" |
|
|
|
} |
|
|
|
@ -174,7 +204,20 @@ export default { |
|
|
|
handleRegisterCheckList(registerCheckList) { |
|
|
|
this.doctorCheck.RegisterCheckList = listOrderBy(registerCheckList, [{ colName: 'checkTypeFlag', sortType: 'A' }, { colName: 'itemTypeDisplayOrder', sortType: 'A' }, { colName: 'asbitemDisplayOrder', sortType: 'A' }]) |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 发送pacs申请(有DCM-Worklist才有) |
|
|
|
pacsRequest(checkRequestNo){ |
|
|
|
let body = { |
|
|
|
scheduledAet: this.LocalConfig.doctorCheck.scheduledAet, |
|
|
|
checkRequestNo |
|
|
|
} |
|
|
|
postapi('/api/app/Worklist/CreateRegisterCheckWorklist',body).then(res => { |
|
|
|
if(res.code > -1){ |
|
|
|
this.$message.success({showClose:true,message:"往 DCM-Worklist 发送申请成功!"}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|