diff --git a/src/components/common/LocalConfig.vue b/src/components/common/LocalConfig.vue index 6583abc..57165d1 100644 --- a/src/components/common/LocalConfig.vue +++ b/src/components/common/LocalConfig.vue @@ -82,6 +82,18 @@ + + + + + + + + + + + + @@ -120,6 +132,8 @@ export default { }, doctorCheck: { // 医生诊台 isCheckPicture: false, // 是否显示检查图片 + isQueue:'N', //启用分诊排队 + queueRoom:'', //默认分诊房间 } }, LocalConfigInit: {}, diff --git a/src/components/doctorCheck/QueueCheckList.vue b/src/components/doctorCheck/QueueCheckList.vue new file mode 100644 index 0000000..5d62a1a --- /dev/null +++ b/src/components/doctorCheck/QueueCheckList.vue @@ -0,0 +1,231 @@ + + + \ No newline at end of file diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index 0d89947..8475ac7 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -232,6 +232,12 @@ + + + + + @@ -281,7 +287,6 @@ :append-to-body="true" width="800px" height="600px"> - @@ -311,11 +316,10 @@ import PatientRegisterEditGroupBatch from "./PatientRegisterEditGroupBatch.vue"; import PatientRegisterEditItemBatch from "./PatientRegisterEditItemBatch.vue"; import ImportOrgData from "./ImportOrgData.vue"; import LocalConfig from "../../components/common/LocalConfig.vue"; - +import Queue from "../../components/queue/Queue.vue"; export default { components: { - PatientRegisterEdit, Camera, PatientRegisterAsbItem, @@ -324,6 +328,7 @@ export default { ElProgressOCX, LocalConfig, ImportOrgData, + Queue, }, data() { return { @@ -409,7 +414,9 @@ export default { value: "", colName: "patientName", patientRegisterId: "" - } + }, + + queueParams:{}, // 分诊排队参数 }; }, @@ -1195,6 +1202,15 @@ export default { }, + // 分诊排队 + fnQueue(row){ + this.queueParams = { + patientRegisterId:row.id + } + this.dataTransOpts.plus.queue++ + this.dialogWin.queue = true + }, + //右击菜单 onCellRightClick(row, column) { this.rClickRow = { ...row }; //右击的行记录 @@ -1228,6 +1244,13 @@ export default { this.fnUpBaseInfo(row, 'idNo'); }, }) + if (checkPagePriv(this.pagePriv.privs, '分诊排队') && row.completeFlag != '0') + items.push({ + label: "分诊排队", + onClick: () => { + this.fnQueue(row); + }, + }) if (checkPagePriv(this.pagePriv.privs, '发送检验申请') && row.completeFlag != '0') items.push({ label: "发送检验申请", diff --git a/src/components/queue/Queue.vue b/src/components/queue/Queue.vue new file mode 100644 index 0000000..5868e96 --- /dev/null +++ b/src/components/queue/Queue.vue @@ -0,0 +1,252 @@ + + + diff --git a/src/store/index.js b/src/store/index.js index 16adf8a..5cca0df 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -429,6 +429,7 @@ export default new Vuex.Store({ OccDisease: 0, // 职业病 WebBooking: 0, // 网上预约 ImportOrgData: 0, // 导入企业(青藏公司)数据 + queue:0, // 排队信息 } }, @@ -451,6 +452,7 @@ export default new Vuex.Store({ WebBooking: false, // 网上预约 ImportOrgData: false, // 导入企业(青藏公司)数据 RoomEdit:false, //房间 + queue:false, // 排队信息 } }, diff --git a/src/views/doctorCheck/doctorCheck.vue b/src/views/doctorCheck/doctorCheck.vue index 6e9dbc8..4256d50 100644 --- a/src/views/doctorCheck/doctorCheck.vue +++ b/src/views/doctorCheck/doctorCheck.vue @@ -27,7 +27,7 @@ -
叫号
+
@@ -69,6 +69,7 @@ import PatientRegisterBase from "../../components/doctorCheck/PatientRegisterBas import ButtonList from "../../components/doctorCheck/ButtonList.vue"; import CheckPicture from "../../components/doctorCheck/CheckPicture.vue"; import RegisterCheckList from "../../components/doctorCheck/RegisterCheckList.vue"; +import QueueCheckList from "../../components/doctorCheck/QueueCheckList.vue"; import CheckItemList from "../../components/doctorCheck/CheckItemList.vue"; import CheckSumSug from "../../components/doctorCheck/CheckSumSug.vue"; import RegisterCheckEdit from "../../components/doctorCheck/RegisterCheckEdit.vue"; @@ -77,6 +78,7 @@ import moment from 'moment'; export default { components: { RegisterCheckList, + QueueCheckList, PatientRegisterBase, ButtonList, CheckPicture,