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 @@ + + + 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 @@
-
-
+
入院记录
-
出院记录 +
出院记录
-
手术记录
+
+
+ 门诊记录 +
+

婚姻史:{{ recordlist.maritalHistory }}

@@ -72,6 +73,9 @@

手术入路:{{ recordlist.operationApproach }}

手术方式:{{ recordlist.operationWay }}

+
+

{{ categoryItem.outpatientVisitInfo }}

+
@@ -135,14 +139,18 @@ export default { this.OutRecordinfo(); } else if (index == 2) { this.OperationRecordinfo(); - } + } }, //点击左侧item clickcategory(item, index) { this.categoryindex = index this.categoryItem = item - this.recordindex = 0 - this.InRecordinfo(); + if (item.visitType == 'BE_HOSPITALIZED') { + this.recordindex = 0 + this.InRecordinfo(); + } else if (item.visitType == 'OUTPATIENT_SERVICE') { + this.recordindex = 3 + } }, //左侧list getListinfo() { @@ -171,6 +179,7 @@ export default { this.recordlist = res.data }) }, + //门诊记录 //info info() { var date = new Date(); diff --git a/src/views/manage/details/patientdetails.vue b/src/views/manage/details/patientdetails.vue index d7bbcba..d6fa587 100644 --- a/src/views/manage/details/patientdetails.vue +++ b/src/views/manage/details/patientdetails.vue @@ -54,13 +54,13 @@ 康复计划及记录 - + - + - +
@@ -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 @@ - - + + + - - - - - - + + + + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 @@ - - - - - - - + @@ -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 @@ + + + + \ 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 @@ + + + + \ No newline at end of file