From 18ba81d1194b6958d22ceb371405de1f15344680 Mon Sep 17 00:00:00 2001 From: TimSpan Date: Fri, 15 Nov 2024 11:48:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collect_information/.env.development | 4 ++-- .../dailyInspection/dailyInspection.scss | 20 ------------------- .../dailyInspection/dailyInspection.vue | 15 ++++++++++++-- policeManagement/.env.development | 2 +- 4 files changed, 16 insertions(+), 25 deletions(-) diff --git a/collect_information/.env.development b/collect_information/.env.development index 4e393f7..d7a068a 100644 --- a/collect_information/.env.development +++ b/collect_information/.env.development @@ -1,7 +1,7 @@ # 配置文档参考 https://taro-docs.jd.com/docs/next/env-mode-config TARO_APP_ID="wx0acd1c4fcf94bdd3" -# TARO_APP_BASE_API="http://172.10.10.93:8765" -TARO_APP_BASE_API="https://www.hnjinglian.cn:5678" +TARO_APP_BASE_API="http://172.10.10.93:8765" +# TARO_APP_BASE_API="https://www.hnjinglian.cn:5678" diff --git a/collect_information/src/subPages/police/dailyInspection/dailyInspection.scss b/collect_information/src/subPages/police/dailyInspection/dailyInspection.scss index 569272c..1d91809 100644 --- a/collect_information/src/subPages/police/dailyInspection/dailyInspection.scss +++ b/collect_information/src/subPages/police/dailyInspection/dailyInspection.scss @@ -47,27 +47,7 @@ page { .sigh_btns_noRotate {} -.input_box { - width: 638rpx; - background: #f8f9fa; - border-radius: 16rpx; - padding: 20rpx 32rpx; - display: flex; - margin-bottom: 24rpx; - display: flex; - align-items: center -} -.input_lable { - width: 180rpx; - display: flex; - flex-wrap: wrap; - font-weight: bold; - font-size: 28rpx; - color: #101010; - line-height: 40rpx; - font-style: normal; -} .input_width { width: 400rpx; diff --git a/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue b/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue index 029bc5d..6a5ab3f 100644 --- a/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue +++ b/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue @@ -3,7 +3,7 @@ - + @@ -91,10 +91,11 @@ --> - + {{ item.label }} + @@ -383,6 +384,16 @@ const confirm_ = ({ detail: { value } }) => { } const determine = () => { + console.log(selectedID.value) + if (selectedID.value === '' && (selector.value?.length as number) > 0) { + Taro.showToast({ + title: '请选择单位', + icon: 'none', + duration: 1500, + mask: true, + }) + return + } let index: number = selector.value?.findIndex((item) => item.value === selectedID.value) as number _form.enterprisesUnitId = selectedID.value let type = selector.value?.[index].extData.type.value diff --git a/policeManagement/.env.development b/policeManagement/.env.development index 853dff4..09fc9f3 100644 --- a/policeManagement/.env.development +++ b/policeManagement/.env.development @@ -7,7 +7,7 @@ VITE_DROP_CONSOLE=false VITE_APP_BASE_API=/api # VITE_APP_PROXY_URL=http://localhost:8765 VITE_APP_PROXY_URL=http://172.10.10.93:8765 - +# # rsa 公钥 VITE_APP_RSA_PUBLIC_KEY=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJps/EXxxSpEM1Ix4R0NWIOBciHCr7P7coDT8tNKfelgR7txcJOqHCO/MIWe7T04aHQTcpQxqx9hMca7dbqz8TZpz9jvLzE/6ZonVKxHsoFnNlHMp1/CPAJ9f6D9wYicum2KltJkmQ0g//D9W2zPCYoGOmSRFcZx/KEBa4EM53jQIDAQAB