From 5d9aa666bc91685a33cd36475724a67ff250097e Mon Sep 17 00:00:00 2001 From: TiaStars Date: Tue, 19 Nov 2024 14:29:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8D=95=E4=BD=8D=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=81=E5=8D=95=E4=BD=8D=E5=88=97=E8=A1=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/api/auditPagesApi/index.js | 33 ++ src/assets/styles/public.scss | 11 +- src/views/auditPages/unitManagement/index.vue | 354 +++++++++++------- src/views/system/user/index.vue | 146 +++----- 5 files changed, 305 insertions(+), 241 deletions(-) create mode 100644 src/api/auditPagesApi/index.js diff --git a/.env.development b/.env.development index 078a468..e6dcac7 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 若依管理系统 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.0.109:9015' +VUE_APP_BASE_API = 'http://192.168.0.110:9015' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/auditPagesApi/index.js b/src/api/auditPagesApi/index.js new file mode 100644 index 0000000..f9de158 --- /dev/null +++ b/src/api/auditPagesApi/index.js @@ -0,0 +1,33 @@ +import request from '@/utils/request' + +// 新增单位 +export function postUnit(method,data) { + return request({ + url: '/tc/unit', + method: method, + data, + }) +} +// 查询单位列表 +export function listUnit(query) { + return request({ + url: '/tc/unit/list', + method: 'get', + params: query + }) +} + +// 删除单位 +export function delUnit(unitId) { + return request({ + url: '/tc/unit/' + unitId, + method: 'delete' + }) +} +// 单位详情 +export function lookUnit(unitId) { + return request({ + url: '/tc/unit/' + unitId, + method: 'get' + }) +} \ No newline at end of file diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 8028182..00a6fb6 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -379,4 +379,13 @@ } } } -} \ No newline at end of file +} + + +input[aria-hidden="true"] { + display: none !important; +} + +.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { + box-shadow: none; +} diff --git a/src/views/auditPages/unitManagement/index.vue b/src/views/auditPages/unitManagement/index.vue index 17b83ce..1552a6f 100644 --- a/src/views/auditPages/unitManagement/index.vue +++ b/src/views/auditPages/unitManagement/index.vue @@ -6,35 +6,41 @@ 基本信息
- + - - + + - + - - + + + - - + + - - + + - - + + - + - + - + - + - - + + - + + + + + + + + 联系人 @@ -129,23 +142,31 @@ - - + + - - + + - - + + - - + + @@ -154,15 +175,15 @@ - + - + - + @@ -172,8 +193,8 @@ - - + + @@ -182,26 +203,26 @@ - + - - + + - - + + - + - - + + @@ -210,26 +231,26 @@ - + - - + + - - + + - + - - + + @@ -238,41 +259,30 @@ - + - + - - + + - + - + - - - - - - - - - - - - + @@ -281,7 +291,7 @@ - 添加其他联系人 + 添加其他联系人 @@ -290,12 +300,12 @@ 检查信息 -
+
- + - + - - - + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 更多信息 @@ -371,37 +362,37 @@ - + - + - + - - + + - + 取消 - 确定 + 确定
@@ -409,15 +400,32 @@
\ No newline at end of file diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 2511133..b729ee6 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -140,12 +140,12 @@