From d682584f6003f78eec35a11bf4ae8027c5eba138 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 07 八月 2025 10:09:02 +0800
Subject: [PATCH] fix: 修改环境变量
---
src/views/EnterpriseManage/components/ConfigureDialog.vue | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/src/views/EnterpriseManage/components/ConfigureDialog.vue b/src/views/EnterpriseManage/components/ConfigureDialog.vue
index c91035b..0870606 100644
--- a/src/views/EnterpriseManage/components/ConfigureDialog.vue
+++ b/src/views/EnterpriseManage/components/ConfigureDialog.vue
@@ -3,12 +3,12 @@
<ProForm :model="innerForm" ref="dialogForm" label-width="100px">
<ProFormItemV2 label="" prop="enterpriseConfigureType" label-width="0">
<ProFormRadio
- v-model="enterpriseConfigureType"
+ v-model="innerForm.enterpriseConfigureType"
:value-enum="EnterpriseConfigureTypeText"
buttonStyle
/>
</ProFormItemV2>
- <template v-if="enterpriseConfigureType === EnterpriseConfigureType.Bank">
+ <template v-if="innerForm.enterpriseConfigureType === EnterpriseConfigureType.Bank">
<ProFormItemV2 label="寮�鎴锋�昏:" prop="openBank">
<ProFormText
v-model.trim="innerForm.openBank"
@@ -40,7 +40,7 @@
>
</ProFormItemV2>
</template>
- <template v-if="enterpriseConfigureType === EnterpriseConfigureType.Electronic">
+ <template v-if="innerForm.enterpriseConfigureType === EnterpriseConfigureType.Electronic">
<div class="configure-dialog-form-title">閫氶亾閰嶇疆</div>
<ProFormItemV2
label="鍚嶇О:"
@@ -95,7 +95,7 @@
</ProFormItemV2>
</template>
</template>
- <template v-if="enterpriseConfigureType === EnterpriseConfigureType.ShortMessage">
+ <template v-if="innerForm.enterpriseConfigureType === EnterpriseConfigureType.ShortMessage">
<div class="configure-dialog-form-title">閫氶亾閰嶇疆</div>
<ProFormItemV2
label="鍚嶇О:"
@@ -149,7 +149,6 @@
SignChannelEnum,
SignChannelEnumText,
VerifyStatusText,
- VerifyStatusColor,
VerifyStatus,
MessageChannelEnum,
MessageChannelEnumText,
@@ -162,6 +161,7 @@
type Props = {
modelValue: boolean;
form?: {
+ enterpriseConfigureType: EnterpriseConfigureType;
openBank: string;
openBranchBank: string;
bankAccount: string;
@@ -180,12 +180,10 @@
modelValue: false,
});
-const enterpriseConfigureType = ref<EnterpriseConfigureType>(EnterpriseConfigureType.Bank);
-
const emit = defineEmits<{
(e: 'update:modelValue', value: boolean): void;
(e: 'update:form', value: Props['form']): void;
- (e: 'onConfirm', value: EnterpriseConfigureType): void;
+ (e: 'onConfirm'): void;
(e: 'onCancel'): void;
}>();
@@ -220,7 +218,7 @@
if (!dialogForm.value) return;
dialogForm.value.validate((valid) => {
if (valid) {
- emit('onConfirm', enterpriseConfigureType.value);
+ emit('onConfirm');
} else {
return;
}
--
Gitblit v1.9.1