From 1949b1f6626bc3011b75bd1fc698998c3aa87739 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 25 Mar 2024 17:46:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E9=99=A2=E5=8F=8A=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hospital.js | 18 + src/views/forgetpassword/index.vue | 351 ++++++++++++------ .../system/dicomAE/components/edit-dicom.vue | 1 - src/views/system/hospital/index.vue | 137 +++++++ src/views/system/user/components/UserInfo.vue | 276 +++++++++----- 5 files changed, 564 insertions(+), 219 deletions(-) create mode 100644 src/api/hospital.js create mode 100644 src/views/system/hospital/index.vue diff --git a/src/api/hospital.js b/src/api/hospital.js new file mode 100644 index 0000000..cd15ce8 --- /dev/null +++ b/src/api/hospital.js @@ -0,0 +1,18 @@ +import request from '@/utils/request' + +// 获取医院信息 +export function getHospital() { + return request({ + url: '/Patient/getHospitalInfo', + method: 'get', + }) +} + +// 新增或编辑医院信息 +export function setHospital(data) { + return request({ + url: '/Patient/updateHospitalInfo', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/views/forgetpassword/index.vue b/src/views/forgetpassword/index.vue index 1d756b6..c7731c5 100644 --- a/src/views/forgetpassword/index.vue +++ b/src/views/forgetpassword/index.vue @@ -13,42 +13,69 @@ size="small" > - + - - - - - - - {{ sendTitle }} - + + + - + - + - + - {{ $t('passwordReset:button:verify') }} + {{ $t("passwordReset:button:verify") }} @@ -58,7 +85,7 @@ v-model="form.UserId" clearable filterable - style="width:100%" + style="width: 100%" @change="handleUserChange" > {{ item.UserName }} - {{ item.UserType }} + {{ + item.UserType + }} - + - - + + - + - + - {{ $t('passwordReset:button:cancel') }} + {{ $t("passwordReset:button:cancel") }} - {{ $t('passwordReset:button:submit') }} + {{ $t("passwordReset:button:submit") }} @@ -100,152 +140,219 @@ diff --git a/src/views/system/dicomAE/components/edit-dicom.vue b/src/views/system/dicomAE/components/edit-dicom.vue index 109b67e..be1f931 100644 --- a/src/views/system/dicomAE/components/edit-dicom.vue +++ b/src/views/system/dicomAE/components/edit-dicom.vue @@ -125,7 +125,6 @@ export default { async setAE() { try { let validate = await this.$refs.editVisitForm.validate(); - console.log(validate); if (!validate) return; this.btnLoading = true; let res = await setDiicomAE(this.form); diff --git a/src/views/system/hospital/index.vue b/src/views/system/hospital/index.vue new file mode 100644 index 0000000..4cd8fb1 --- /dev/null +++ b/src/views/system/hospital/index.vue @@ -0,0 +1,137 @@ + + + + diff --git a/src/views/system/user/components/UserInfo.vue b/src/views/system/user/components/UserInfo.vue index 8a99c61..a10a507 100644 --- a/src/views/system/user/components/UserInfo.vue +++ b/src/views/system/user/components/UserInfo.vue @@ -5,7 +5,7 @@ :model="user" :rules="userFormRules" label-width="150px" - style="width:800px;" + style="width: 800px" >
@@ -25,7 +25,7 @@ - + Male Female @@ -37,16 +37,27 @@ - - + + - -