From 75aaf295bb86d719da052a62a77a7d1930d684f0 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Wed, 28 Jun 2023 15:09:21 +0800
Subject: [PATCH 1/2] reg
---
.../{customerOrgTree.vue => customerOrgTreeAll.vue} | 4 ++--
src/store/index.js | 8 ++++++++
src/views/customerOrg/patientRegister.vue | 4 ++--
3 files changed, 12 insertions(+), 4 deletions(-)
rename src/components/patientRegister/{customerOrgTree.vue => customerOrgTreeAll.vue} (93%)
diff --git a/src/components/patientRegister/customerOrgTree.vue b/src/components/patientRegister/customerOrgTreeAll.vue
similarity index 93%
rename from src/components/patientRegister/customerOrgTree.vue
rename to src/components/patientRegister/customerOrgTreeAll.vue
index 08e4786..8c34263 100644
--- a/src/components/patientRegister/customerOrgTree.vue
+++ b/src/components/patientRegister/customerOrgTreeAll.vue
@@ -13,7 +13,7 @@ export default {
},
//
computed:{
- ...mapState(['customerOrg']),
+ ...mapState(['patientRegister']),
},
//创建组件后
created() {},
@@ -47,7 +47,7 @@ export default {
(res) => {
//customerOrgTree = res.data;
console.log('res.data',res.data)
- this.setData({ key: 'patientRegister.customerOrgTree', value: res.data})
+ this.patientRegister.customerOrgTree =[{displayName: "个人体检", id: "00000000-0000-0000-0000-000000000000"},...res.data]
tcdate(this.customerOrg.customerOrgTree)
}
);
diff --git a/src/store/index.js b/src/store/index.js
index ea7de1e..f7f342f 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -19,7 +19,15 @@ export default new Vuex.Store({
contactPersonList:[], //联系人列表
contactMethodList:[], //联系方式列表
personnelgrouping:[], //人员分组
+ },
+
+ patientRegister:{//人员登记
+ customerOrgTreeAll: [], //体检单位列表(含个人)
+ patientRegisterId:'', //当前单位ID(可根据此值是否为空,判断是新增还是编辑)
+ query:{},//查询条件
+
}
+
},
getters: {},
diff --git a/src/views/customerOrg/patientRegister.vue b/src/views/customerOrg/patientRegister.vue
index 8e0ef28..c54021f 100644
--- a/src/views/customerOrg/patientRegister.vue
+++ b/src/views/customerOrg/patientRegister.vue
@@ -5,7 +5,7 @@
-
+
@@ -29,7 +29,7 @@
+
\ No newline at end of file
diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue
new file mode 100644
index 0000000..1250556
--- /dev/null
+++ b/src/components/patientRegister/PatientRegisterList.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 人员登记
+
+
+ 编辑
+
+
+ 删除
+
+
+ 拍照
+
+
+ 健康档案
+
+
+ 调整分组
+
+
+ 调整项目
+
+
+ 打指引单
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/patientRegister/customerOrgEdit.vue b/src/components/patientRegister/customerOrgEdit.vue
deleted file mode 100644
index 12ba88d..0000000
--- a/src/components/patientRegister/customerOrgEdit.vue
+++ /dev/null
@@ -1,327 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 已登记
- 未登记
-
-
-
-
- 启用
- 停用
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
新增
-
保存
-
登记
-
- 删除
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/patientRegister/customerOrgTreeAll.vue b/src/components/patientRegister/customerOrgTreeAll.vue
index 8c34263..144e5f7 100644
--- a/src/components/patientRegister/customerOrgTreeAll.vue
+++ b/src/components/patientRegister/customerOrgTreeAll.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/components/patientRegister/customerOrgRegister.vue b/src/components/patientRegister/patientRegisterAsbItem.vue
similarity index 66%
rename from src/components/patientRegister/customerOrgRegister.vue
rename to src/components/patientRegister/patientRegisterAsbItem.vue
index 6fcee3e..9b7689b 100644
--- a/src/components/patientRegister/customerOrgRegister.vue
+++ b/src/components/patientRegister/patientRegisterAsbItem.vue
@@ -4,7 +4,7 @@
-
-
- 增加次数
-
-
- 体检完成
-
-
- 取消完成
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.creationTime | dateFormat }}
-
-
-
-
- {{ scope.row.lastModificationTime | dateFormat }}
-
-
-
-
-
- {{ scope.row.id }}
-
-
-
-
-
-
-
-
-
-
+
+
\ No newline at end of file
diff --git a/src/store/index.js b/src/store/index.js
index a86c579..b0313b0 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -27,7 +27,10 @@ export default new Vuex.Store({
patientRegister:{//人员登记
customerOrgTreeAll: [], //体检单位列表(含个人)
patientRegisterId:'', //当前单位ID(可根据此值是否为空,判断是新增还是编辑)
- query:{},//查询条件
+ query:{
+ times:0, //触发查询次数
+ customerOrgId:'', //体检单位ID
+ },//查询条件
}
diff --git a/src/views/customerOrg/patientRegister.vue b/src/views/customerOrg/patientRegister.vue
index c54021f..2bb8af5 100644
--- a/src/views/customerOrg/patientRegister.vue
+++ b/src/views/customerOrg/patientRegister.vue
@@ -1,25 +1,25 @@
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -30,19 +30,20 @@