From 5a703cfae0dfeda754614ed3a65f9db4ec9316e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 13 Jun 2024 15:34:39 +0800 Subject: [PATCH] xg --- src/assets/styles/index.scss | 10 +- src/assets/styles/sidebar.scss | 4 +- src/assets/styles/xinelu.scss | 2 + src/components/Pagination/index.vue | 22 +- src/layout/index.vue | 91 ++- src/views/system/agency/index.vue | 388 +++------- src/views/system/department/index.vue | 84 +-- src/views/system/departmentDisease/index.vue | 413 +++-------- src/views/system/menu/index.vue | 139 +--- src/views/system/user/index.vue | 728 +++++-------------- 10 files changed, 499 insertions(+), 1382 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 96095ef..588671a 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -121,9 +121,15 @@ aside { //main-container全局样式 .app-container { - padding: 20px; + height: calc(100vh - 84px); + display: flex; + flex-wrap: wrap; + padding: 20px 0 20px 20px; + flex-direction: column; + justify-content: space-between; } + .components-container { margin: 30px 50px; position: relative; @@ -188,4 +194,4 @@ aside { .multiselect--active { z-index: 1000 !important; -} +} \ No newline at end of file diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss index ed308b8..dd4b6d8 100644 --- a/src/assets/styles/sidebar.scss +++ b/src/assets/styles/sidebar.scss @@ -1,7 +1,9 @@ #app { .main-container { - min-height: 100%; + // min-height: 100%; + height: 100vh; + overflow: hidden; transition: margin-left .28s; margin-left: $base-sidebar-width; position: relative; diff --git a/src/assets/styles/xinelu.scss b/src/assets/styles/xinelu.scss index cc48faa..8ebe03a 100644 --- a/src/assets/styles/xinelu.scss +++ b/src/assets/styles/xinelu.scss @@ -23,6 +23,8 @@ margin-bottom: 5px; } .mb8 { + flex: 1; + margin-right: 20px !important; margin-bottom: 8px; } .ml5 { diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue index 56f5a6b..0966bdb 100644 --- a/src/components/Pagination/index.vue +++ b/src/components/Pagination/index.vue @@ -1,17 +1,8 @@ @@ -106,8 +97,11 @@ export default { diff --git a/src/views/system/agency/index.vue b/src/views/system/agency/index.vue index 5dd4f89..94f5923 100644 --- a/src/views/system/agency/index.vue +++ b/src/views/system/agency/index.vue @@ -2,37 +2,16 @@
- 新增 + 新增 - 导入 + 导入 - 编辑 + 编辑 - + @@ -76,36 +52,27 @@ />
-->
- +
{{ - agencyList.agencyName - }} + agencyList.agencyName + }} {{ - agencyList.agencyRemark - }} + agencyList.agencyRemark + }} {{ agencyList.agencyStatus == "ON" ? "启用" : "" }} {{ - agencyList.agencyStatus == "OFF" ? "禁用" : "" - }} + agencyList.agencyStatus == "OFF" ? "禁用" : "" + }} {{ - agencyList.agencyCode - }} + agencyList.agencyCode + }} {{ agencyList.parentAgencyName }} @@ -124,38 +91,36 @@ {{ agencyList.nodeType == "PHARNAGY" ? "药店" : "" }} --> {{ agencyList.nodeType == "CAMPUS" ? "院区" : "" }} {{ - agencyList.nodeType == "HOSPITAL" ? "医院" : "" - }} + agencyList.nodeType == "HOSPITAL" ? "医院" : "" + }} {{ - agencyList.orgAgencyCode - }} + agencyList.orgAgencyCode + }} {{ - agencyList.agencyCategoryName - }} + agencyList.agencyCategoryName + }} {{ - agencyList.agencyCategoryManageLevel == - "NON_PROFIT_MEDICAL_AGENCY" - ? "非营利性医疗机构" - : "" - }} + agencyList.agencyCategoryManageLevel == + "NON_PROFIT_MEDICAL_AGENCY" + ? "非营利性医疗机构" + : "" + }} {{ - agencyList.agencyCategoryManageLevel == - "FOR_PROFIT_MEDICAL_AGENCY" - ? "营利性医疗机构" - : "" - }} + agencyList.agencyCategoryManageLevel == + "FOR_PROFIT_MEDICAL_AGENCY" + ? "营利性医疗机构" + : "" + }} {{ - agencyList.agencyCategoryManageLevel == "OTHER_HEALTH_AGENCY" - ? "其他卫生机构" - : "" - }} - {{ agencyList.provinceName }}-{{ agencyList.cityName }}-{{ - agencyList.regionName - }}-{{ agencyList.streetName }}-{{ agencyList.communityName }} + agencyList.agencyCategoryManageLevel == "OTHER_HEALTH_AGENCY" + ? "其他卫生机构" + : "" + }} + {{ agencyList.provinceName }}-{{ + agencyList.cityName }}-{{ + agencyList.regionName + }}-{{ agencyList.streetName }}-{{ agencyList.communityName }} @@ -250,89 +215,28 @@ - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - + - - + + - + - - + + - + - + - + - + - + @@ -520,24 +346,10 @@ - - + +
将文件拖到此处,或 @@ -545,13 +357,8 @@
仅允许导入xls、xlsx格式文件。 - 下载模板 + 下载模板
", "导入结果", { dangerouslyUseHTMLString: true } ); @@ -1174,7 +981,7 @@ export default { this.getList(); this.$modal.msgSuccess("删除成功"); }) - .catch(() => {}); + .catch(() => { }); }, /** 导出按钮操作 */ handleExport() { @@ -1193,6 +1000,7 @@ export default { ::v-deep .el-cascader .el-input__inner::placeholder { color: #686a6d !important; } + ::v-deep .el-button--text { border-color: transparent; color: #1890ff; @@ -1200,6 +1008,7 @@ export default { position: absolute !important; right: 10px !important; } + ::v-deep.el-descriptions-item__container { display: -webkit-box; padding: 15px !important; @@ -1225,4 +1034,7 @@ export default { // font-size: 14px; // padding-right: 28px; } +.app-container{ + display: block; +} diff --git a/src/views/system/department/index.vue b/src/views/system/department/index.vue index 5554560..ff6e3a7 100644 --- a/src/views/system/department/index.vue +++ b/src/views/system/department/index.vue @@ -1,7 +1,7 @@