From 7981c8b76ea5708bfb75b59fcd65252e72ed72f3 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 20 十月 2026 14:09:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_江苏商贸供销社' into dev_江苏商贸供销社
---
src/packages/effects/layouts/src/widgets/preferences/blocks/company/company.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/packages/effects/layouts/src/widgets/preferences/blocks/company/company.vue b/src/packages/effects/layouts/src/widgets/preferences/blocks/company/company.vue
index 24fcdf0..e7c66d4 100644
--- a/src/packages/effects/layouts/src/widgets/preferences/blocks/company/company.vue
+++ b/src/packages/effects/layouts/src/widgets/preferences/blocks/company/company.vue
@@ -19,6 +19,7 @@
const loginDescription = ref(companyConfigStore.loginDescription);
const logoUrl = ref(companyConfigStore.logoUrl);
const uploading = ref(false);
+const fixedPortalName = import.meta.env.VITE_COMPANY === 'JSSM';
// 鎵撳紑鍖哄潡鏃朵粠鍚庣鎷夊彇鏈�鏂板叕鍙搁厤缃苟鍥炲~琛ㄥ崟锛坰tore 鍒濆�煎彲鑳戒负绌猴紝鍥犲惎鍔ㄥ姞杞借蛋鐨勬槸绾嚱鏁帮級
onMounted(async () => {
@@ -72,12 +73,13 @@
<template>
<div class="flex flex-col">
<!-- 鍏徃鍚嶇О -->
- <div class="my-1 flex w-full items-center justify-between rounded-md px-2 py-1">
- <span class="flex items-center text-sm">
+ <div class="my-2 flex w-full items-center justify-between gap-4 rounded-md px-2 py-2">
+ <span class="shrink-0 text-sm text-foreground/80">
{{ $t('preferences.company.companyName') }}
</span>
<Input
v-model:value="companyName"
+ :disabled="fixedPortalName"
:placeholder="$t('preferences.company.companyNamePlaceholder')"
class="w-41.25"
allow-clear
@@ -85,8 +87,8 @@
</div>
<!-- 鐧诲綍椤垫爣棰� -->
- <div class="my-1 flex w-full items-center justify-between rounded-md px-2 py-1">
- <span class="flex items-center text-sm">
+ <div class="my-2 flex w-full items-center justify-between gap-4 rounded-md px-2 py-2">
+ <span class="shrink-0 text-sm text-foreground/80">
{{ $t('preferences.company.loginTitle') }}
</span>
<Input
@@ -98,8 +100,8 @@
</div>
<!-- 鐧诲綍椤垫弿杩� -->
- <div class="my-1 flex w-full items-center justify-between rounded-md px-2 py-1">
- <span class="flex items-center text-sm">
+ <div class="my-2 flex w-full items-center justify-between gap-4 rounded-md px-2 py-2">
+ <span class="shrink-0 text-sm text-foreground/80">
{{ $t('preferences.company.loginDescription') }}
</span>
<Input
@@ -111,8 +113,8 @@
</div>
<!-- 鍏徃 Logo -->
- <div class="my-1 flex w-full items-center justify-between rounded-md px-2 py-1">
- <span class="flex items-center text-sm">
+ <div class="my-2 flex w-full items-center justify-between gap-4 rounded-md px-2 py-2">
+ <span class="shrink-0 text-sm text-foreground/80">
{{ $t('preferences.company.logo') }}
</span>
<div class="flex items-center gap-2">
--
Gitblit v1.9.3