diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index 16e441c..9a6cae4 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -18,6 +18,9 @@
拍照
+
+ 网上预约 +
@@ -575,6 +578,11 @@ + + + +
@@ -658,7 +666,7 @@ import AsbChargeRequest from "./AsbChargeRequest.vue"; import Charge from "../../views/charge/charge.vue"; import PatientRegisterEditQuery from "../../components/patientRegister/PatientRegisterEditQuery.vue"; import OccDisease from "../../components/occDisease/OccDisease.vue" - +import WebBooking from "../../components/webBooking/WebBooking.vue" import PatientLisRequest from "../../components/patientRegister/PatientLisRequest.vue"; import PatientPacsRequest from "../../components/patientRegister/PatientPacsRequest.vue"; @@ -675,6 +683,7 @@ export default { OccDisease, PatientLisRequest, PatientPacsRequest, + WebBooking, }, // isDoctor: '0:标准人员登记/1:医生诊台登记(可修改单位)' props: ['isDoctor', 'patientRegisterId', 'editTimes', 'refreshRegister', 'refFuncSetData'], @@ -2397,6 +2406,12 @@ export default { this.dialogWin.OccDisease = true }, + // 显示预约 + btnWebBooking(){ + this.dataTransOpts.plus.WebBooking++ + this.dialogWin.WebBooking = true + }, + btnLabel() { if (!this.form.id) { this.$message.warning({ showClose: true, message: '人员信息尚未保存!' }) diff --git a/src/components/webBooking/WebBooking.vue b/src/components/webBooking/WebBooking.vue new file mode 100644 index 0000000..5f1e4e5 --- /dev/null +++ b/src/components/webBooking/WebBooking.vue @@ -0,0 +1,286 @@ + + + diff --git a/src/store/index.js b/src/store/index.js index 3d31232..65c6dc3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -414,6 +414,7 @@ export default new Vuex.Store({ PatientRegisterEditItemBatch: 0, // 刷新批量调整项目窗口 PatientRegisterForChoose: 0, // 体检人员查询窗口 OccDisease: 0, // 职业病 + WebBooking: 0, // 网上预约 } }, @@ -433,6 +434,7 @@ export default new Vuex.Store({ AsbChargeRequest: false, // 收费申请 OccDisease: false, // 职业病 Label: false, // 补打条码 + WebBooking: false, // 网上预约 } }, diff --git a/vue.config.js b/vue.config.js index d787cc9..5733b40 100644 --- a/vue.config.js +++ b/vue.config.js @@ -16,20 +16,21 @@ module.exports = defineConfig({ externals: { './cptable': 'var cptable', }, - }, + }, devServer: { - port: "8080", - proxy: { - "/api": { - target: "http://192.168.1.108:44358", - changeorigin: true, // 在本会创建一个虚拟服务满,然后发送清求的数,并同时接收济求的数,这样服务端和服务减进行数据的交互就不会有域问题 - rewite: (path) => path.replace(/^\/api/, ""), - // pathRewrite: { - // "^/api": '' - // } - }, - }, - }, + host: '0.0.0.0', + port: "8081", + // proxy: { + // "/api": { + // target: "http://135.191.65.118:8080", + // changeorigin: true, // 在本会创建一个虚拟服务满,然后发送清求的数,并同时接收济求的数,这样服务端和服务减进行数据的交互就不会有域问题 + // rewite: (path) => path.replace(/^\/api/, ""), + // // pathRewrite: { + // // "^/api": '' + // // } + // }, + // }, + }, terser: { terserOptions: { compress: {