Browse Source

Diagnosis

master
pengjun 2 years ago
parent
commit
2168bc78dd
  1. 18
      src/components/sumDoctorCheck/ButtonList.vue
  2. 142
      src/components/sumDoctorCheck/SumDiagnosis.vue
  3. 2
      src/store/index.js
  4. 4
      src/views/fee-settings/SysParmSet.vue

18
src/components/sumDoctorCheck/ButtonList.vue

@ -24,6 +24,9 @@
<div class="listBtn">
<el-button type="primary" class="btnClass" @click="addSuggtion">新增建议</el-button>
</div>
<div class="listBtn">
<el-button type="primary" class="btnClass" @click="addDiagnosis">疾病诊断</el-button>
</div>
<div class="listBtn">
<el-button type="primary" class="btnClass" @click="report">体检报告</el-button>
</div>
@ -43,6 +46,11 @@
<PatientRegisterList win="sumDoctorCheck" />
</el-drawer>
<el-drawer title="诊断列表" :visible.sync="sumDoctorCheck.sumDiagnosisVisible" direction="rtl" size="400"
:wrapperClosable="false">
<SumDiagnosis win="sumDoctorCheck" />
</el-drawer>
</div>
</template>
<script>
@ -52,9 +60,12 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { arrayExistObj, parseID } from "../../utlis/proFunc";
import PatientRegisterList from "../doctorCheck/PatientRegisterList.vue";
import SumDiagnosis from "./SumDiagnosis.vue";
export default {
components: {
PatientRegisterList,
SumDiagnosis,
},
data() {
return {
@ -80,9 +91,16 @@ export default {
},
methods: {
prList() {
this.sumDoctorCheck.sumDoctorCheckDialogVisible = true
},
//
addDiagnosis(){
this.sumDoctorCheck.sumDiagnosisVisible = true
},
//to
toDoctorCheck() {
this.$router.push({ path: "/doctorCheck" });

142
src/components/sumDoctorCheck/SumDiagnosis.vue

@ -0,0 +1,142 @@
<template>
<div style="padding: 0 5px;">
<div>
<el-select v-model="asbItemId" placeholder="快速选择诊断疾病" size="small" filterable clearable remote automatic-dropdown
:remote-method="remoteMethod" @change="quickChoosedAsb" default-first-option ref="asbItemId"
style="width:250px;text-align: left;padding-right: 15px;">
<el-option v-for="item in quickAsb" :key="item.id" :value="item.id" :label="item.displayName" />
</el-select>
</div>
<div>
<el-table :data="report.dataAsbitemOCX" :height="window.pageHeight - 110 " width="100%" @row-dblclick="removeAbs"
@selection-change="selecteditems" size="small">
<!-- temporaryselection personnelUnit.nogroupselected-->
<el-table-column type="index" label="序号" align="center" width="60" />
<el-table-column label="诊断疾病" width="160" prop="displayName" />
<el-table-column fixed="right" label="操作" width="60">
<template slot-scope="scope">
<i class="el-icon-delete" @click="deleteRow(scope.$index)"
style="font-size: 24px;color: red;cursor:pointer;"></i>
</template>
</el-table-column>
</el-table>
</div>
</div>
</template>
<script>
import moment from "moment";
import { mapState, mapMutations } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { dddw, objCopy, arrayReduce } from "@/utlis/proFunc";
import PatientRegisterEdit from "../../components/patientRegister/PatientRegisterEdit.vue";
import Camera from "../../components/patientRegister/Camera.vue";
import CusOrgOCX from "../../components/report/CusOrgOCX.vue"
export default {
components: {
PatientRegisterEdit,
Camera,
CusOrgOCX,
},
props: ['win'],
data() {
return {
dataList: [], //
multipleSelection: [], //
dialogVisible: false,
dialogCamera: false,
};
},
created() { },
//
mounted() { },
computed: {
...mapState(["window", "dict", "patientRegister", "customerOrg", "doctorCheck", "sumDoctorCheck","report"]),
},
methods: {
//
query() {
let body = {}
console.log(`this.patientRegister.query`, this.patientRegister.query)
if (this.patientRegister.query.customerOrgFlag) {
if (this.patientRegister.query.customerOrgId) body.customerOrgId = this.patientRegister.query.customerOrgId[0]
}
if (this.patientRegister.query.sex) body.sexId = this.patientRegister.query.sex
if (this.patientRegister.query.patientName) body.patientName = this.patientRegister.query.patientName
if (this.patientRegister.query.completeFlag) body.completeFlag = this.patientRegister.query.completeFlag
//StartDate EndDate
if (this.patientRegister.query.dateRange) {
body.startDate = moment(new Date(this.patientRegister.query.dateRange[0])).format("yyyy-MM-DD")
body.endDate = moment(new Date(this.patientRegister.query.dateRange[1])).format("yyyy-MM-DD")
}
if (this.patientRegister.query.idCardNo) body = { idNo: this.patientRegister.query.idCardNo }
if (this.patientRegister.query.patientNo) body = { patientNo: this.patientRegister.query.patientNo }
if (this.patientRegister.query.patientRegisterNo) body = { patientRegisterNo: this.patientRegister.query.patientRegisterNo }
console.log('/api/app/patientregister/getlistinfilter', body)
postapi('/api/app/patientregister/getlistinfilter', body)
.then((res) => {
this.dataList = res.data;
});
},
deleteRow(index){
},
},
//
watch: {
},
};
</script>
<style scoped>
/* 输入框相关设置*/
::v-deep .el-input__inner {
padding-left: 2px;
padding-right: 15px;
}
::v-deep .el-input__icon{
width: 15px; /* 输入框下拉箭头或清除图标 默认 25 */
}
::v-deep .el-input-group__append{
padding: 0 5px; /* 控件默认 0 20px;*/
}
.box {
display: flex;
}
.query {
margin-left: 5px;
margin-bottom: 2px;
}
.listBtn {
margin-top: 10px;
}
</style>

2
src/store/index.js

@ -154,9 +154,11 @@ export default new Vuex.Store({
//总检医生
sumDoctorCheck: {
sumDoctorCheckDialogVisible: false,
sumDiagnosisVisible:false,
sumPREdit: {}, //总检医生时间等相关信息(sumPREditInit)
summaryList: [], //综述
suggestionList: [], //建议
diagnosisList: [], //诊断
},
report: {

4
src/views/fee-settings/SysParmSet.vue

@ -43,7 +43,7 @@
<el-table
:data="sysParms"
border
:height="window.pageHeight < 600 ? 420 : window.pageHeight - 190"
:height="window.pageHeight < 600 ? 370 : window.pageHeight - 230"
size="small"
highlight-current-row
>
@ -227,7 +227,7 @@ export default {
border: 1px solid;
width: 200px;
height: v-bind(
"(window.pageHeight < 600 ? 450 : window.pageHeight - 150) + 'px'"
"(window.pageHeight < 600 ? 410 : window.pageHeight - 190) + 'px'"
);
}

Loading…
Cancel
Save