From 97bd8a6fe21f5befaa8d60bda5f2aec1e88d8aef Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Fri, 22 Mar 2024 20:21:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E5=B1=80=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E6=A0=B7=E5=BC=8F=E9=80=82=E9=85=8D=EF=BC=8C?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=80=BB=E8=BE=91=E4=BF=AE=E8=A1=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/switchsvg.svg | 15 +- src/utils/http/axios/index.ts | 4 +- src/views/final/comp/CustomFilterModalVue.vue | 315 ++++++++++-------- src/views/final/comp/CustomTabelModal.vue | 6 + .../aside/comp/modals/CustomFilterModal.vue | 9 +- src/views/login/components/Login.vue | 45 ++- src/views/task/modal/CustomFieldModal.vue | 6 + .../worksheet/modal/CustomFieldModal copy.vue | 6 + .../worksheet/modal/CustomFieldModal.vue | 6 + 9 files changed, 258 insertions(+), 154 deletions(-) diff --git a/src/assets/icons/switchsvg.svg b/src/assets/icons/switchsvg.svg index 4bfdb2d..29226df 100644 --- a/src/assets/icons/switchsvg.svg +++ b/src/assets/icons/switchsvg.svg @@ -1 +1,14 @@ - \ No newline at end of file + + + BBD切换 + + + + + + + + + + + \ No newline at end of file diff --git a/src/utils/http/axios/index.ts b/src/utils/http/axios/index.ts index ecdfd9e..dc087ee 100644 --- a/src/utils/http/axios/index.ts +++ b/src/utils/http/axios/index.ts @@ -201,7 +201,7 @@ const transform: AxiosTransform = { // eslint-disable-next-line ts/no-use-before-define const instance = http.getAxios() const config = response.config - const whitelist = ['/api/captcha/captchatoken', '/api/captcha/captchaImage', '/api/backstage/adminlogin', '/api/oauthweb/token','/api/web/smslogin/login'] + const whitelist = ['/api/captcha/captchatoken', '/api/captcha/captchaImage', '/api/backstage/adminlogin', '/api/oauthweb/token','/api/web/smslogin/login','/api/web/smslogin/sendcode'] const expirationTime = storage.get(TOKEN_EXPIRATION_TIME) // console.log('剩余失效时间(分):', (expirationTime - Date.now()) / 1000 / 60, config.url) @@ -264,7 +264,7 @@ const transform: AxiosTransform = { if (err && err.includes('Network Error')) { $dialog.info({ title: '网络异常', - content: '请检查您的网络连接是否正常', + content: '网络错误,请重试!', positiveText: '确定', // negativeText: '取消', closable: false, diff --git a/src/views/final/comp/CustomFilterModalVue.vue b/src/views/final/comp/CustomFilterModalVue.vue index 4539cbc..04536db 100644 --- a/src/views/final/comp/CustomFilterModalVue.vue +++ b/src/views/final/comp/CustomFilterModalVue.vue @@ -1,249 +1,249 @@ - +
- +
@@ -283,12 +297,15 @@ const rightInputHandler = debounce((keyword) => {
- + - - + +
{{ item.name }}
@@ -322,10 +355,8 @@ const rightInputHandler = debounce((keyword) => {