From d36262961900c5936b8e23066a0267cdc34e0cf6 Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Fri, 23 May 2025 17:36:26 +0800 Subject: [PATCH] 1 --- src/pages-humanResource/absence/add.vue | 2 +- src/utils/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages-humanResource/absence/add.vue b/src/pages-humanResource/absence/add.vue index 9135ec2..7a44c43 100644 --- a/src/pages-humanResource/absence/add.vue +++ b/src/pages-humanResource/absence/add.vue @@ -245,7 +245,7 @@ } }) zwmc.value = res.result.zwmc - if (zwmc.value == '单位专家' || zwmc.value == '基层正职' || zwmc.value == '高级主管') { + if (zwmc.value == '2') { examineleader.value = '分管领导'; } else { examineleader.value = '审批领导'; diff --git a/src/utils/index.ts b/src/utils/index.ts index e79d1b3..164de76 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -391,7 +391,7 @@ function handleDefaultLocation() { function weatherRequest(params : { lat ?: number; lon ?: number; q ?: string }) { const store = useAppStore() uni.request({ - url: 'https://api.openweathermap.org/data/2.5/weather', + url: 'http://api.openweathermap.org/data/2.5/weather', method: 'GET', data: { ...params,