Browse Source

pacs

master
pengjun 1 year ago
parent
commit
ff96e59494
  1. 37
      src/components/doctorCheck/CheckItemList.vue
  2. 30
      src/components/doctorCheck/PacsTemplate.vue
  3. 1
      src/components/doctorCheck/PatientRegisterBase.vue
  4. 28
      src/components/doctorCheck/RegisterCheckList.vue
  5. 4
      src/components/occDisease/OccDiseaseConclusion.vue

37
src/components/doctorCheck/CheckItemList.vue

@ -29,7 +29,8 @@
</el-table-column> </el-table-column>
<el-table-column prop="criticalFlag" label="危急" width="40" align="center"> <el-table-column prop="criticalFlag" label="危急" width="40" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-checkbox v-model="scope.row.criticalFlag" size="small" true-label="Y" false-label="N" @change="dialogWin.FollowCriticalCheck = true"/>
<el-checkbox v-model="scope.row.criticalFlag" size="small" true-label="Y" false-label="N"
@change="dialogWin.FollowCriticalCheck = true" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -84,8 +85,8 @@
</el-dialog> </el-dialog>
<!--Pacs结果录入模版--> <!--Pacs结果录入模版-->
<el-dialog title="Pacs结果录入模版" :visible.sync="dialogWin.PacsTemplate" fullscreen :close-on-click-modal="false">
<PacsTemplate />
<el-dialog :title="'Pacs结果录入模版 -- ' + doctorCheck.asbitemName" :visible.sync="dialogWin.PacsTemplate" fullscreen :close-on-click-modal="false">
<PacsTemplate :refParams="pacsParams" :refFuncOther="handlePacsResult" />
</el-dialog> </el-dialog>
</div> </div>
</div> </div>
@ -142,6 +143,10 @@ export default {
symbols: [], // symbols: [], //
splitSymbols: [';', '、'], // splitSymbols: [';', '、'], //
userId: '', userId: '',
// pacs
pacsParams: {},
}; };
}, },
@ -411,7 +416,17 @@ export default {
// pacs // pacs
btnPacsResult(row, index) { btnPacsResult(row, index) {
console.log('row, index',row, index)
let summary = ''
this.doctorCheck.checkSummaryList.forEach((e,i) => {
summary += e.summary
});
// console.log('row, index,summary', row, index,summary)
this.pacsParams = {
row,index,summary
}
this.dialogWin.PacsTemplate = true this.dialogWin.PacsTemplate = true
}, },
@ -455,6 +470,20 @@ export default {
this.dialogWinMoreResult = false this.dialogWinMoreResult = false
}, },
// pacs
handlePacsResult(row, index, pacsResult) {
// console.log('row,index,pacsResult', row, index, pacsResult)
this.doctorCheck.checkItemList[index].result = pacsResult.result
this.doctorCheck.checkSummaryList = [{
id: Math.random(),
registerCheckId: this.doctorCheck.RegisterCheckEdit.id,
summary: pacsResult.summary,
summaryFlag: 'N',
}]
},
// //
rowClick(row) { rowClick(row) {
this.doctorCheck.checkItem = row; this.doctorCheck.checkItem = row;

30
src/components/doctorCheck/PacsTemplate.vue

@ -54,7 +54,9 @@
<div style="display: flex;justify-content: space-between;margin-top: 10px;"> <div style="display: flex;justify-content: space-between;margin-top: 10px;">
<div></div> <div></div>
<div> <div>
<!--
<el-button type="primary" @click="btnTest" class="commonbutton">测试</el-button> <el-button type="primary" @click="btnTest" class="commonbutton">测试</el-button>
-->
<el-button type="primary" @click="btnClear" class="commonbutton">清除</el-button> <el-button type="primary" @click="btnClear" class="commonbutton">清除</el-button>
<el-button type="primary" @click="btnDefault" class="commonbutton">默认结果</el-button> <el-button type="primary" @click="btnDefault" class="commonbutton">默认结果</el-button>
<el-button type="primary" @click="btnOk" class="commonbutton">确定</el-button> <el-button type="primary" @click="btnOk" class="commonbutton">确定</el-button>
@ -73,7 +75,7 @@ import { getTreePids, getTreeAllChildIdsById, madeTree } from "../../utlis/tree"
export default { export default {
components: {}, components: {},
props: ["useCustomerOrg", "initDateType", "isUnit"],
props: ["refParams", "refFuncOther"],
data() { data() {
return { return {
filterText: '', filterText: '',
@ -97,7 +99,7 @@ export default {
}, },
//<el-tree :data="$store.state.customerOrg.ref_tree" :props="$store.state.customerOrg.treeprops" @node-click="treeclick"></el-tree> //<el-tree :data="$store.state.customerOrg.ref_tree" :props="$store.state.customerOrg.treeprops" @node-click="treeclick"></el-tree>
computed: { computed: {
...mapState(["dict", "window", "customerOrg", "patientRegister", "report", "diagnosis", "project"]),
...mapState(["window", "dialogWin"]),
mainHeight() { mainHeight() {
return this.window.pageHeight - 78; return this.window.pageHeight - 78;
@ -117,9 +119,17 @@ export default {
mounted() { mounted() {
// //
this.getPacsTemplateTree(); this.getPacsTemplateTree();
this.init()
}, },
methods: { methods: {
//
init() {
this.btnClear()
this.description = []
this.result = this.refParams.row.result
this.summary = this.refParams.summary || ''
},
// //
filterNode(value, data) { filterNode(value, data) {
@ -156,7 +166,8 @@ export default {
let ids = getTreeAllChildIdsById(this.pacsTemplateTree, "children", "id", data.id) let ids = getTreeAllChildIdsById(this.pacsTemplateTree, "children", "id", data.id)
ids.unshift(data.id) // ids.unshift(data.id) //
hadoopPost('pacsApi','/api/app/BigtextResultTemplate/GetBigtextResultTemplateDetail', { bigtextResultTemplateIds: ids })
// hadoopPost('pacsApi', '/api/app/BigtextResultTemplate/GetBigtextResultTemplateDetail', { bigtextResultTemplateIds: ids })
postapi('/api/app/BigtextResultTemplate/GetBigtextResultTemplateDetail', { bigtextResultTemplateIds: ids })
.then(res => { .then(res => {
if (res.code > -1) { if (res.code > -1) {
this.newQuery = 0 this.newQuery = 0
@ -183,7 +194,6 @@ export default {
}) })
} }
}); });
} }
}) })
@ -296,18 +306,26 @@ export default {
// //
btnDefault() { btnDefault() {
this.btnClear()
this.result = this.refParams.row.defaultResult
this.summary = '未见异常'
}, },
// //
btnOk() { btnOk() {
this.refFuncOther(this.refParams.row, this.refParams.index, { result: this.result, summary: this.summary })
this.dialogWin.PacsTemplate = false this.dialogWin.PacsTemplate = false
}, },
}, },
watch: { watch: {
"filterText"(newVal, oldVal) { "filterText"(newVal, oldVal) {
if (newVal != oldVal) this.$refs['ref_tree'].filter(newVal); if (newVal != oldVal) this.$refs['ref_tree'].filter(newVal);
}
},
"refParams.row.itemId"(newVal, oldVal) {
if (newVal != oldVal) this.init();
},
}, },
}; };
</script> </script>

1
src/components/doctorCheck/PatientRegisterBase.vue

@ -182,6 +182,7 @@ export default {
// //
this.dataTransOpts.refresh.register_check.M++ this.dataTransOpts.refresh.register_check.M++
// //
// console.log('afterFind',rd) // console.log('afterFind',rd)
this.dataTransOpts.refresh.sumDoctor.M++ this.dataTransOpts.refresh.sumDoctor.M++

28
src/components/doctorCheck/RegisterCheckList.vue

@ -3,9 +3,8 @@
<div :style="`overflow-y: scroll;height: ${tableHeight}px;`"> <div :style="`overflow-y: scroll;height: ${tableHeight}px;`">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item v-if="registerCheckList0.length > 0" title="普通检查" name="0"> <el-collapse-item v-if="registerCheckList0.length > 0" title="普通检查" name="0">
<el-table :data="registerCheckList0" style="width: 100%;" border
highlight-current-row @row-click="rowClick" :show-header="false"
:row-style="{ height: '28px' }">
<el-table :data="registerCheckList0" 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="184">
<template slot-scope="scope"> <template slot-scope="scope">
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> <div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`">
@ -16,9 +15,8 @@
</el-table> </el-table>
</el-collapse-item> </el-collapse-item>
<el-collapse-item v-if="registerCheckList1.length > 0" title="检验" name="1"> <el-collapse-item v-if="registerCheckList1.length > 0" title="检验" name="1">
<el-table :data="registerCheckList1" style="width: 100%;" border
highlight-current-row @row-click="rowClick" :show-header="false"
:row-style="{ height: '28px' }">
<el-table :data="registerCheckList1" 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="184">
<template slot-scope="scope"> <template slot-scope="scope">
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> <div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`">
@ -29,9 +27,8 @@
</el-table> </el-table>
</el-collapse-item> </el-collapse-item>
<el-collapse-item v-if="registerCheckList2.length > 0" title="特检" name="2"> <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 :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="184">
<template slot-scope="scope"> <template slot-scope="scope">
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> <div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`">
@ -42,9 +39,8 @@
</el-table> </el-table>
</el-collapse-item> </el-collapse-item>
<el-collapse-item v-if="registerCheckList3.length > 0" title="放射" name="3"> <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 :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="184">
<template slot-scope="scope"> <template slot-scope="scope">
<div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`"> <div :style="`padding: 0 5px;color: ${setCheckStatusColor(scope.row.completeFlag)};`">
@ -116,7 +112,7 @@ export default {
// //
rowClick(row) { rowClick(row) {
console.log('rowClick')
// console.log('rowClick')
this.doctorCheck.RegisterCheckId = row.id this.doctorCheck.RegisterCheckId = row.id
this.doctorCheck.asbitemName = row.asbitemName this.doctorCheck.asbitemName = row.asbitemName
this.doctorCheck.checkRequestNo = row.checkRequestNo this.doctorCheck.checkRequestNo = row.checkRequestNo
@ -151,12 +147,17 @@ export default {
this.doctorCheck.RegisterCheckId = res.data[0].id this.doctorCheck.RegisterCheckId = res.data[0].id
this.dataTransOpts.tableS.register_check.id = 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.doctorCheck.RegisterCheckEdit = res.data[0]
// this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0]) // this.$refs['doctorCheck_RegisterCheckList'].setCurrentRow(res.data[0])
} else { } else {
this.dataTransOpts.tableS.register_check.id = '' this.dataTransOpts.tableS.register_check.id = ''
this.doctorCheck.asbitemName = ""
this.doctorCheck.checkRequestNo = ""
} }
this.dataTransOpts.refresh.register_check.S++ // this.dataTransOpts.refresh.register_check.S++ //
@ -202,4 +203,3 @@ export default {
padding: 0 0 0 50px; padding: 0 0 0 50px;
} }
</style> </style>

4
src/components/occDisease/OccDiseaseConclusion.vue

@ -5,8 +5,8 @@
</div> </div>
<table width="100%"> <table width="100%">
<tr> <tr>
<td width="50%">职业健康检查总结论</td>
<td width="50%">职业健康检查建议</td>
<td width="50%">结论</td>
<td width="50%">建议</td>
</tr> </tr>
<tr> <tr>
<td><el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.occupationalAbnormal" <td><el-input type="textarea" v-model="dataTransOpts.tableS.patient_occupational_disease.occupationalAbnormal"

Loading…
Cancel
Save