Browse Source

doctor

master
pengjun 2 years ago
parent
commit
7a755c62d1
  1. 48
      src/components/doctorCheck/CheckItemList.vue
  2. 71
      src/components/patientRegister/PatientRegisterEditGroupBatch.vue
  3. 13
      src/components/patientRegister/PatientRegisterEditItemBatch.vue
  4. 3
      src/components/patientRegister/PatientRegisterList.vue
  5. 2
      src/components/sumDoctorCheck/SumAsbItemStatus.vue
  6. 3
      src/components/sumDoctorCheck/SumDiagnosis.vue
  7. 2
      src/components/sumDoctorCheck/SumSug.vue
  8. 1
      src/store/index.js
  9. 12
      src/views/doctorCheck/sumDoctorCheck.vue

48
src/components/doctorCheck/CheckItemList.vue

@ -1,48 +1,23 @@
<template> <template>
<div> <div>
<el-table
:data="doctorCheck.checkItemList"
style="width: 100%"
:height="
window.pageHeight < 600
<el-table :data="doctorCheck.checkItemList" style="width: 100%" :height="window.pageHeight < 600
? Math.floor(((420 - (isCheckPicture ? 110 : 0)) * 3) / 5) ? Math.floor(((420 - (isCheckPicture ? 110 : 0)) * 3) / 5)
: Math.floor(((window.pageHeight - 260 - (isCheckPicture ? 110 : 0)) * 3) / 5) : Math.floor(((window.pageHeight - 260 - (isCheckPicture ? 110 : 0)) * 3) / 5)
"
border highlight-current-row
@row-click="rowClick" size="small"
>
" border highlight-current-row @row-click="rowClick" size="small">
<el-table-column prop="itemName" label="项目" width="180" /> <el-table-column prop="itemName" label="项目" width="180" />
<el-table-column prop="result" label="结果" min-width="200"> <el-table-column prop="result" label="结果" min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-autocomplete
style="width: 100%;"
type="textarea"
v-model="scope.row.result"
:fetch-suggestions="querySearch"
placeholder="请输入结果值"
@select="handleSelect"
:disabled="scope.row.isCalculationItem == 'Y' ||
<el-autocomplete style="width: 100%;" type="textarea" v-model="scope.row.result"
:fetch-suggestions="querySearch" placeholder="请输入结果值" @select="handleSelect" :disabled="scope.row.isCalculationItem == 'Y' ||
doctorCheck.RegisterCheckEdit.completeFlag == '1' || doctorCheck.RegisterCheckEdit.completeFlag == '1' ||
doctorCheck.RegisterCheckEdit.completeFlag == '2' doctorCheck.RegisterCheckEdit.completeFlag == '2'
"
:autosize="{ minRows: 1, maxRows: 100 }"
:data-lineModeFlag="scope.row.lineModeFlag"
@input="madeTooltips(scope.$index);computeFun(scope.$index)"
v-bind:class="scope.row.class"
/>
" :autosize="{ minRows: 1, maxRows: 100 }" :data-lineModeFlag="scope.row.lineModeFlag"
@input="madeTooltips(scope.$index); computeFun(scope.$index)" v-bind:class="scope.row.class" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="unit" label="单位" width="80" align="center" /> <el-table-column prop="unit" label="单位" width="80" align="center" />
<el-table-column
prop="referenceRangeValue"
label="参考范围"
width="80" align="center"
/>
<el-table-column
prop="tooltips"
label="提示"
width="40" align="center"
/>
<el-table-column prop="referenceRangeValue" label="参考范围" width="80" align="center" />
<el-table-column prop="tooltips" label="提示" width="40" align="center" />
</el-table> </el-table>
</div> </div>
</template> </template>
@ -281,9 +256,7 @@ export default {
this.doctorCheck.checkItemList = [] this.doctorCheck.checkItemList = []
return return
} }
console.log(
`/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}`
);
console.log(`/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}`);
getapi( getapi(
`/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}&PatientRegisterId=${this.dataTransOpts.tableS.patient_register.id}` `/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}&PatientRegisterId=${this.dataTransOpts.tableS.patient_register.id}`
) )
@ -416,6 +389,7 @@ export default {
background-color: v-bind("tipsNormal.backgroundColor") !important; background-color: v-bind("tipsNormal.backgroundColor") !important;
color: v-bind("tipsNormal.color") !important; color: v-bind("tipsNormal.color") !important;
} }
/*错误*/ /*错误*/
::v-deep .tipsError .el-textarea__inner { ::v-deep .tipsError .el-textarea__inner {
background-color: v-bind("tipsError.backgroundColor") !important; background-color: v-bind("tipsError.backgroundColor") !important;
@ -463,8 +437,6 @@ export default {
background-color: v-bind("tipsSuperHigh.backgroundColor") !important; background-color: v-bind("tipsSuperHigh.backgroundColor") !important;
color: v-bind("tipsSuperHigh.color") !important; color: v-bind("tipsSuperHigh.color") !important;
} }
</style> </style>

71
src/components/patientRegister/PatientRegisterEditGroupBatch.vue

@ -2,60 +2,33 @@
<div style="display: flex"> <div style="display: flex">
<div> <div>
<div> <div>
<div>
批量调整分组只针对单位体检有效个人体检将忽略此操作不能调整已收费或已检的项目及已总检的体检人员
</div>
<div>批量调整分组只针对单位体检有效个人体检将忽略此操作不能调整已收费或已检的项目及已总检的体检人员</div>
<div> <div>
<br /><span>分组</span> <br /><span>分组</span>
<el-select
v-model="groupBatch.customerOrgGroupId"
placeholder="请选择"
filterable
size="small"
>
<el-option
v-for="item in customerOrgGroup"
:key="item.id"
:label="item.displayName"
:value="item.id"
/>
<el-select v-model="groupBatch.customerOrgGroupId" placeholder="请选择" filterable size="small">
<el-option v-for="item in customerOrgGroup" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select> </el-select>
</div> </div>
<div> <div>
<br /><el-radio v-model="groupBatch.payTypeFlag" label="0"
>个人支付</el-radio
>
<br /><el-radio v-model="groupBatch.payTypeFlag" label="1"
>单位支付</el-radio
>
<br /><el-radio v-model="groupBatch.payTypeFlag" label="2"
>免费</el-radio
>
<br /><el-radio v-model="groupBatch.payTypeFlag" label="0">个人支付</el-radio>
<br /><el-radio v-model="groupBatch.payTypeFlag" label="1">单位支付</el-radio>
<br /><el-radio v-model="groupBatch.payTypeFlag" label="2">免费</el-radio>
</div> </div>
<div> <div>
<br /><el-checkbox v-model="groupBatch.isReserveAddAsbitem"
>保留加做项目包括不属于原分组的没有设置分组的</el-checkbox
>
<br /><el-checkbox v-model="groupBatch.isReserveAddAsbitem">保留加做项目包括不属于原分组的没有设置分组的</el-checkbox>
</div> </div>
</div> </div>
<div style="display: flex;margin-top: 5px;justify-content:space-between;"> <div style="display: flex;margin-top: 5px;justify-content:space-between;">
<div></div> <div></div>
<div> <div>
<el-button type="primary" @click="groupBatchHandle"> </el-button>
<el-button @click="dialogWin.PatientRegisterEditGroupBatch = false"> </el-button>
<el-button class="commonbutton" type="primary" @click="groupBatchHandle"> </el-button>
<el-button class="commonbutton" @click="dialogWin.PatientRegisterEditGroupBatch = false"> </el-button>
</div> </div>
</div> </div>
</div> </div>
<!-- 通用进度条 --> <!-- 通用进度条 -->
<el-dialog
title="数据处理中……"
:visible.sync="elProgress.display"
width="600px"
height="400"
:show-close="false"
:close-on-click-modal="false"
:append-to-body="true"
>
<el-dialog title="数据处理中……" :visible.sync="elProgress.display" width="600px" height="400" :show-close="false"
:close-on-click-modal="false" :append-to-body="true">
<ElProgressOCX /> <ElProgressOCX />
</el-dialog> </el-dialog>
</div> </div>
@ -92,17 +65,17 @@ export default {
payTypeFlag: "1", //01 2 payTypeFlag: "1", //01 2
isReserveAddAsbitem: true, // isReserveAddAsbitem: true, //
}, },
groupBatchInit:{},
}; };
}, },
created() { created() {
this.groupBatchInit = deepCopy(this.groupBatch)
}, },
// //
mounted() { mounted() {
this.getCustomerOrgGroup(this.multipleSelection[0].customerOrgRegisterId)
}, },
computed: { computed: {
...mapState([ ...mapState([
@ -119,15 +92,18 @@ export default {
moment, dddw, deepCopy, moment, dddw, deepCopy,
// /api/app/customer-org-group/in-customer-org-id/3a0c0444-d7a0-871f-4074-19faf1655caf // /api/app/customer-org-group/in-customer-org-id/3a0c0444-d7a0-871f-4074-19faf1655caf
getCustomerOrgGroup(customerOrgId) {
getCustomerOrgGroup(customerOrgRegisterId) {
this.customerOrgGroup = []
this.groupBatch = deepCopy(this.groupBatchInit)
getapi( getapi(
`/api/app/customer-org-group/in-customer-org-id/${customerOrgId}`
`/api/app/customerorggroup/getlistinfilter?CustomerOrgRegisterId=${customerOrgRegisterId}`
).then((res) => { ).then((res) => {
console.log("getCustomerOrgGroup", res.data); console.log("getCustomerOrgGroup", res.data);
if (res.code == 1) { if (res.code == 1) {
this.customerOrgGroup = res.data;
this.customerOrgGroup = res.data.items;
} }
}); });
}, },
//() //()
@ -170,12 +146,12 @@ export default {
// //
watch: { watch: {
"dataTransOpts.refresh.asbitem.M":{
immediate: true, //
"dataTransOpts.plus.PatientRegisterEditGroupBatch": {
// immediate: true, //
// deep: true, // // deep: true, //
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log(`watch: 刷新单位分组 newVal: ${newVal} oldVal:${oldVal}`) console.log(`watch: 刷新单位分组 newVal: ${newVal} oldVal:${oldVal}`)
this.getCustomerOrgGroup(this.multipleSelection[0].customerOrgParentId)
if (newVal != oldVal) this.getCustomerOrgGroup(this.multipleSelection[0].customerOrgRegisterId)
} }
}, },
}, },
@ -199,5 +175,4 @@ export default {
.btnClass { .btnClass {
width: 100px; width: 100px;
} }
</style> </style>

13
src/components/patientRegister/PatientRegisterEditItemBatch.vue

@ -112,6 +112,7 @@ export default {
asbitemsTemp: [], // asbitemsTemp: [], //
asbitemCurr: {}, //() asbitemCurr: {}, //()
}, },
asbitemBatchInit:{},
asbItemQuick: [], // asbItemQuick: [], //
quickAsb: [], // quickAsb: [], //
@ -121,13 +122,13 @@ export default {
// //
created() { created() {
this.asbitemBatchInit = deepCopy(this.asbitemBatch)
}, },
// //
mounted() { mounted() {
// //
// this.dictInit()
this.dictInit()
}, },
computed: { computed: {
@ -349,7 +350,7 @@ export default {
// //
dictInit() { dictInit() {
this.asbitemBatch = deepCopy(this.asbitemBatchInit)
// //
postapi('/api/app/asbitem/GetBasicList', { isFilterActive: 'Y' }).then(res => { postapi('/api/app/asbitem/GetBasicList', { isFilterActive: 'Y' }).then(res => {
if (res.code != -1) { if (res.code != -1) {
@ -363,12 +364,12 @@ export default {
// //
watch: { watch: {
"dataTransOpts.refresh.asbitem.M": {
immediate: true, //
"dataTransOpts.plus.PatientRegisterEditItemBatch": {
// immediate: true, //
// deep: true, // // deep: true, //
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log(`watch: 刷新在用组合项目 newVal: ${newVal} oldVal:${oldVal}`) console.log(`watch: 刷新在用组合项目 newVal: ${newVal} oldVal:${oldVal}`)
this.dictInit()
if(newVal != oldVal) this.dictInit()
} }
}, },
}, },

3
src/components/patientRegister/PatientRegisterList.vue

@ -981,8 +981,8 @@ export default {
this.$message.info("请选择要操作的记录!"); this.$message.info("请选择要操作的记录!");
return; return;
} }
this.dialogWin.PatientRegisterEditGroupBatch = true; this.dialogWin.PatientRegisterEditGroupBatch = true;
this.dataTransOpts.plus.PatientRegisterEditGroupBatch++
}, },
@ -1006,6 +1006,7 @@ export default {
} }
this.dialogWin.PatientRegisterEditItemBatch = true; this.dialogWin.PatientRegisterEditItemBatch = true;
this.dataTransOpts.plus.PatientRegisterEditItemBatch++
}, },

2
src/components/sumDoctorCheck/SumAsbItemStatus.vue

@ -1,5 +1,5 @@
<template> <template>
<div style="display: flex;height:90px; background-color: #fff;margin-top: 10px;border-radius: 8px;padding: 10px;">
<div style="display: flex;background-color: #fff;margin-top: 10px;border-radius: 8px;padding: 10px;">
<div class="asbitemListClass"> <div class="asbitemListClass">
<div style="font-size:9px;color: #F56C6C;">未检组合项目</div> <div style="font-size:9px;color: #F56C6C;">未检组合项目</div>
<div style="overflow-y:auto; height:68px;width:100%; margin-top:2px;border: 1px solid;"> <div style="overflow-y:auto; height:68px;width:100%; margin-top:2px;border: 1px solid;">

3
src/components/sumDoctorCheck/SumDiagnosis.vue

@ -73,7 +73,7 @@ export default {
...mapState(["window", "dict","dataTransOpts", "patientRegister", "customerOrg", "doctorCheck", "sumDoctorCheck", "report"]), ...mapState(["window", "dict","dataTransOpts", "patientRegister", "customerOrg", "doctorCheck", "sumDoctorCheck", "report"]),
sumHeight(){ sumHeight(){
let tempHeight = this.window.pageHeight < 600 ? 600:this.window.pageHeight let tempHeight = this.window.pageHeight < 600 ? 600:this.window.pageHeight
return tempHeight - 352
return tempHeight - 367
}, },
}, },
methods: { methods: {
@ -85,7 +85,6 @@ export default {
this.diagnosisesAll = res.data this.diagnosisesAll = res.data
// //
this.filterDiagnosises() this.filterDiagnosises()
} }
}) })

2
src/components/sumDoctorCheck/SumSug.vue

@ -118,7 +118,7 @@ export default {
sumHeight(){ sumHeight(){
let tempHeight = this.window.pageHeight < 600 ? 600:this.window.pageHeight let tempHeight = this.window.pageHeight < 600 ? 600:this.window.pageHeight
return tempHeight - 320
return tempHeight - 335
}, },
}, },

1
src/store/index.js

@ -358,6 +358,7 @@ export default new Vuex.Store({
}, },
plus: { plus: {
clearPatientRegisterQuery: 0, //清空人员登记界面查询条件 clearPatientRegisterQuery: 0, //清空人员登记界面查询条件
PatientRegisterEditGroupBatch: 0, //刷新批量调整分组窗口
PatientRegisterEditItemBatch: 0, //刷新批量调整项目窗口 PatientRegisterEditItemBatch: 0, //刷新批量调整项目窗口
} }

12
src/views/doctorCheck/sumDoctorCheck.vue

@ -9,17 +9,16 @@
<div> <div>
<PatientRegisterBase /> <PatientRegisterBase />
</div> </div>
<div :style="'height:' +
(window.pageHeight < 600 ? 435 : window.pageHeight - 165) +
'px;'
">
<div :style="`height: ${window.pageHeight < 600 ? 436 : window.pageHeight - 164}px;`">
<el-tabs v-model="tabChoosed"> <el-tabs v-model="tabChoosed">
<el-tab-pane label="综述建议" name="1"> <el-tab-pane label="综述建议" name="1">
<div style="display: flex;"> <div style="display: flex;">
<!-- 综述建议 --> <!-- 综述建议 -->
<div :style="'width:' + (window.pageWidth - 110 - 15 - 200) + 'px;'"> <div :style="'width:' + (window.pageWidth - 110 - 15 - 200) + 'px;'">
<SumSug :patientRegisterId="sumDoctorCheck.sumPREdit.id" :curGetFocusSuggestionId="curGetFocusSuggestionId"/>
<SumSug :patientRegisterId="sumDoctorCheck.sumPREdit.id"
:curGetFocusSuggestionId="curGetFocusSuggestionId" />
</div> </div>
<!-- 诊断 -->
<div style="width:200px;"> <div style="width:200px;">
<SumDiagnosis :patientRegisterId="sumDoctorCheck.sumPREdit.id" /> <SumDiagnosis :patientRegisterId="sumDoctorCheck.sumPREdit.id" />
</div> </div>
@ -28,8 +27,10 @@
<!-- 总检状态 --> <!-- 总检状态 -->
<SumPREdit /> <SumPREdit />
<!-- 检查情况 --> <!-- 检查情况 -->
<div style="margin-top: -6px;">
<SumAsbItemStatus :patientRegisterId="sumDoctorCheck.sumPREdit.id" /> <SumAsbItemStatus :patientRegisterId="sumDoctorCheck.sumPREdit.id" />
</div> </div>
</div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="明细结果" name="2"> <el-tab-pane label="明细结果" name="2">
<CheckDetails :patientRegisterId="sumDoctorCheck.sumPREdit.id" /> <CheckDetails :patientRegisterId="sumDoctorCheck.sumPREdit.id" />
@ -230,5 +231,4 @@ export default {
@import '../../assets/css/global_input.css'; @import '../../assets/css/global_input.css';
@import '../../assets/css/global_table.css'; @import '../../assets/css/global_table.css';
@import '../../assets/css/global.css'; @import '../../assets/css/global.css';
</style> </style>
Loading…
Cancel
Save