diff --git a/src/api/manage/blacklist.js b/src/api/manage/blacklist.js
new file mode 100644
index 0000000..799dc22
--- /dev/null
+++ b/src/api/manage/blacklist.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询患者-黑明单关系列表
+export function listBlacklist(query) {
+ return request({
+ url: '/manage/blacklist/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询患者-黑明单关系详细
+export function getBlacklist(id) {
+ return request({
+ url: '/manage/blacklist/' + id,
+ method: 'get'
+ })
+}
+
+// 新增患者-黑明单关系
+export function addBlacklist(data) {
+ return request({
+ url: '/manage/blacklist',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改患者-黑明单关系
+export function updateBlacklist(data) {
+ return request({
+ url: '/manage/blacklist',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除患者-黑明单关系
+export function delBlacklist(id) {
+ return request({
+ url: '/manage/blacklist/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/manage/healthEducation.js b/src/api/manage/healthEducation.js
new file mode 100644
index 0000000..afc5a67
--- /dev/null
+++ b/src/api/manage/healthEducation.js
@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+
+// 查询患者宣教信息列表
+export function getList(query) {
+ return request({
+ url: '/manage/patientPropaganda/getList',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/views/manage/blacklist/index.vue b/src/views/manage/blacklist/index.vue
new file mode 100644
index 0000000..514572a
--- /dev/null
+++ b/src/views/manage/blacklist/index.vue
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/manage/components/healthEducation.vue b/src/views/manage/components/healthEducation.vue
index d5decf4..4994a19 100644
--- a/src/views/manage/components/healthEducation.vue
+++ b/src/views/manage/components/healthEducation.vue
@@ -4,7 +4,7 @@
- {{ item.title }}
+ {{ item.propagandaTitle }}
@@ -41,6 +41,9 @@
diff --git a/src/views/manage/components/visitRecords.vue b/src/views/manage/components/visitRecords.vue
index 11d3915..3735e3e 100644
--- a/src/views/manage/components/visitRecords.vue
+++ b/src/views/manage/components/visitRecords.vue
@@ -30,21 +30,22 @@
@@ -71,7 +71,7 @@
import visitRecords from '../components/visitRecords.vue';
import healthEducation from '../components/healthEducation.vue';
import indicatorMonitoring from '../components/indicatorMonitoring.vue';
-import signingRecords from '../components/signingRecords.vue'
+import signingRecords from '../components/signingRecords.vue';
export default {
components: {
//就诊记录
diff --git a/src/views/manage/patientInfo/index.vue b/src/views/manage/patientInfo/index.vue
index fbba5ca..3c0fa0e 100644
--- a/src/views/manage/patientInfo/index.vue
+++ b/src/views/manage/patientInfo/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -9,22 +9,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -45,10 +29,10 @@
-
+
搜索
重置
-
-
-
+
+
@@ -112,9 +89,9 @@
{{ scope.row.sex == 'FEMALE' ? '女' : '' }}
-
-
+
+
+
{{ parseTime(scope.row.visitTime, '{y}-{m}-{d}') }}
-
-
-
-
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
@@ -157,151 +135,17 @@
v-hasPermi="['manage:patientInfo:edit']">修改
删除 -->
- 详情
+ 详情
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/manage/preHospitalized/index.vue b/src/views/manage/preHospitalized/index.vue
index 7d6be30..4d4d957 100644
--- a/src/views/manage/preHospitalized/index.vue
+++ b/src/views/manage/preHospitalized/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -60,10 +60,18 @@
-->
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
@@ -136,14 +152,8 @@
-
-
-
-
-
-
-
+
@@ -152,11 +162,11 @@
- 详情
+ 编辑
- 删除
- 详情
@@ -165,6 +175,7 @@
+ 基本信息
@@ -182,8 +193,61 @@
+
+
+ 男
+ 女
+
+
+
-
+
+
+ 就诊信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+ 1. 下载导入模板
+
+
2.最大支持2MB的xls/xlsx文件
+
3.一次导入患者数量不能超过5000
+
+
+
+
@@ -308,6 +349,8 @@ export default {
dicts: ['patient_type', 'visit_method', 'sign_status', 'patient_source'],
data() {
return {
+ //导入
+ fileList: [],
// 遮罩层
loading: true,
// 选中数组
@@ -326,6 +369,7 @@ export default {
title: "",
// 是否显示弹出层
open: false,
+ uploadopen: false,
// 查询参数
appointmentDate: [],
queryParams: {
@@ -368,6 +412,7 @@ export default {
methods: {
/** 详情操作 */
handleAuthRole(row) {
+ console.log(getAge(row.birthDate))
this.$router.push({
path: "/patient/patientdetails",
query: {
@@ -381,7 +426,7 @@ export default {
address: row.address,
patientSource: row.patientSource,
createTime: row.createTime,
- age: getAge(row.birthDate)
+ age: row.birthDate ? getAge(row.birthDate) : ''
},
});
},
@@ -389,10 +434,9 @@ export default {
getList() {
this.loading = true;
this.queryParams.patientType = 'PRE_HOSPITALIZED_PATIENT'
- console.log(this.queryParams)
listPatientInfo(this.queryParams).then(response => {
response.rows.forEach(e => {
- e.age = getAge(e.birthDate)
+ e.birthDate ? e.age = getAge(e.birthDate) : ''
})
this.patientInfoList = response.rows;
this.total = response.total;
@@ -411,38 +455,23 @@ export default {
patientPhone: null,
familyMemberPhone: null,
birthDate: null,
+ age: null,
cardNo: null,
sex: null,
address: null,
- patientType: null,
- signStatus: null,
- signTime: null,
+ patientType: 'PRE_HOSPITALIZED_PATIENT',
certificateIssuingDoctor: null,
- visitMethod: null,
mainDiagnosis: null,
- attendingPhysician: null,
hospitalAgencyId: null,
campusAgencyId: null,
departmentId: null,
wardId: null,
- admissionNumber: null,
responsibleNurse: null,
- visitSerialNumber: null,
- surgicalName: null,
- admissionDate: null,
- dischargeDate: null,
- medicalRecordContent: null,
appointmentTreatmentGroup: null,
registrationNo: null,
registrationDate: null,
appointmentDate: null,
- outpatientNumber: null,
- visitTime: null,
- dischargeMethod: null,
- openId: null,
- unionId: null,
patientSource: null,
- delFlag: null,
};
this.resetForm("form");
},
@@ -506,7 +535,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除患者信息编号为"' + ids + '"的数据项?').then(function () {
+ this.$modal.confirm('是否确认删除?').then(function () {
return delPatientInfo(ids);
}).then(() => {
this.getList();
@@ -518,7 +547,33 @@ export default {
this.download('manage/patientInfo/export', {
...this.queryParams
}, `patientInfo_${new Date().getTime()}.xlsx`)
- }
+ },
+ //导入相关的方法
+ submitUpload() {
+ this.$refs.upload.submit();
+ },
+ handleRemove(file, fileList) {
+ console.log(file, fileList);
+ },
+ handlePreview(file) {
+ console.log(file);
+ },
+ //导入
+ handleUpload() {
+ this.uploadopen = true
+ },
+ //取消导入
+ uploadcancel() {
+ this.uploadopen = false
+ },
}
};
+
diff --git a/src/views/manage/visitin/index.vue b/src/views/manage/visitin/index.vue
new file mode 100644
index 0000000..b0a0c79
--- /dev/null
+++ b/src/views/manage/visitin/index.vue
@@ -0,0 +1,598 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 编辑
+
+
+ 删除
+
+
+ 导入
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sex == 'MALE' ? '男' : '' }}
+ {{ scope.row.sex == 'FEMALE' ? '女' : '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+ 编辑
+ 删除
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 男
+ 女
+
+
+
+
+
+
+ 就诊信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+ 1. 下载导入模板
+
+
2.最大支持2MB的xls/xlsx文件
+
3.一次导入患者数量不能超过5000
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/manage/visitout/index.vue b/src/views/manage/visitout/index.vue
new file mode 100644
index 0000000..b011978
--- /dev/null
+++ b/src/views/manage/visitout/index.vue
@@ -0,0 +1,609 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+ 新增
+
+
+ 编辑
+
+
+ 删除
+
+
+ 导入
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.sex == 'MALE' ? '男' : '' }}
+ {{ scope.row.sex == 'FEMALE' ? '女' : '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.dischargeDate, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+ 详情
+ 编辑
+ 删除
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 男
+ 女
+
+
+
+
+
+
+ 就诊信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+ 1. 下载导入模板
+
+
2.最大支持2MB的xls/xlsx文件
+
3.一次导入患者数量不能超过5000
+
+
+
+
+
+
+
+
+
\ No newline at end of file