diff --git a/src/components/commonTable/CommonTable.vue b/src/components/commonTable/CommonTable.vue new file mode 100644 index 0000000..370aaee --- /dev/null +++ b/src/components/commonTable/CommonTable.vue @@ -0,0 +1,388 @@ + + + diff --git a/src/components/commonTable/CommonTableEdit.vue b/src/components/commonTable/CommonTableEdit.vue new file mode 100644 index 0000000..cbd48b1 --- /dev/null +++ b/src/components/commonTable/CommonTableEdit.vue @@ -0,0 +1,304 @@ + + + diff --git a/src/components/commonTable/CommonTableTypeEdit.vue b/src/components/commonTable/CommonTableTypeEdit.vue new file mode 100644 index 0000000..3eebc4a --- /dev/null +++ b/src/components/commonTable/CommonTableTypeEdit.vue @@ -0,0 +1,294 @@ + + + diff --git a/src/components/commonTable/commonTableType.vue b/src/components/commonTable/commonTableType.vue new file mode 100644 index 0000000..2a9b300 --- /dev/null +++ b/src/components/commonTable/commonTableType.vue @@ -0,0 +1,464 @@ + + + diff --git a/src/router/index.js b/src/router/index.js index b2ac302..38f09be 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -224,6 +224,12 @@ const routes = [{ component: () => import ("../views/basic-dictionary/ThirdPartyInterfaces.vue"), }, + { + path: "/commonTable", + name: '公共表', + component: () => + import ("../components/commonTable/commonTableType.vue"), + }, { path: "/summary-items", name: '汇总项目类别', diff --git a/src/store/index.js b/src/store/index.js index 7ce952d..f822840 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -357,7 +357,7 @@ export default new Vuex.Store({ sumDoctor: { S: 0, M: 0 }, // 总检--综述 触发强制刷新 (sumDoctor.M 合并包含:综述、建议、对比、历史等,不包含总检诊断) room: { S: 0, M: 0 }, // 房间 room_detail: { S: 0, M: 0 }, // 房间关联的组合项目 - + common_table: { S: 0, M: 0 }, // 公共表 }, //表当前数据(单条记录 S--single) @@ -395,7 +395,8 @@ export default new Vuex.Store({ appoint_patient_register: {}, // 预约登记数据 room: { id: '' }, // 房间 room_detail: { id: '' }, // 房间关联组合项目 - + common_table: { id: '' }, // 公共表 + common_table_type: { id: '' }, // 公共表 }, //表当前数据(多条记录 M--more) tableM: { @@ -426,6 +427,7 @@ export default new Vuex.Store({ appoint_register_asbitem: [], // 预约所选组合项目 room: [], // 房间 room_detail: [], // 房间关联组合项目 + common_table:[], // 公共表 }, plus: { PatientRegisterEditQuery: 0, // 更新查询条件 @@ -463,6 +465,8 @@ export default new Vuex.Store({ RoomEdit:false, //房间 queue:false, // 排队信息 FollowCriticalCheck:false, // 危急值 + CommonTableTypeEdit:false, //公共表类别 + CommonTableEdit:false, //公共表 } }, diff --git a/src/views/doctorCheck/lisResultImport.vue b/src/views/doctorCheck/lisResultImport.vue index 3a808a8..10a922c 100644 --- a/src/views/doctorCheck/lisResultImport.vue +++ b/src/views/doctorCheck/lisResultImport.vue @@ -955,34 +955,9 @@ export default { } } }, - - //所选体检次数改变时,自动获取登记日期 - "query.customerOrgRegister.id": { - // immediate: true, // 立即执行 - // deep: true, // 深度监听复杂类型内变化 - handler(newVal, oldVal) { - if (newVal && newVal != oldVal) { - this.query.startDate = new Date(this.query.customerOrgRegister.beginTime) - this.query.endDate = this.query.customerOrgRegister.isComplete == 'N' ? new Date() : new Date(this.query.customerOrgRegister.endTime) - } - } - }, - - //选体检新体检次数改变时,获取分组数据 - "customerOrgRegister.id": { - // immediate: true, // 立即执行 - // deep: true, // 深度监听复杂类型内变化 - handler(newVal, oldVal) { - if (newVal && newVal != oldVal) { - this.getGroups(newVal) - } - } - }, - - + }, - };