From e6467f428b1bed7f18d386d54e43393ced007856 Mon Sep 17 00:00:00 2001
From: AaronWu <2463371514@qq.com>
Date: Wed, 30 Apr 2025 16:50:50 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=9A=E7=94=A8=E8=A1=A8=E5=8D=95?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=8A=E4=B8=8B=E9=97=B4=E8=B7=9D=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/core/schema-form/src/schema-form-item.vue | 1 +
src/views/client/issue/index.vue | 2 +-
src/views/question/issue/formSchemas.tsx | 6 +++++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/components/core/schema-form/src/schema-form-item.vue b/src/components/core/schema-form/src/schema-form-item.vue
index 603d053..d38ca34 100644
--- a/src/components/core/schema-form/src/schema-form-item.vue
+++ b/src/components/core/schema-form/src/schema-form-item.vue
@@ -11,6 +11,7 @@
:label-col="itemLabelWidthProp.labelCol"
:wrapper-col="itemLabelWidthProp.wrapperCol"
:rules="getRules"
+ class="!mb-[14px]"
>
,
isDetail?: boolean,
-) => FormSchema[] = (record = {}, isDetail = false) => {
+ isClient?: boolean,
+) => FormSchema[] = (record = {}, isDetail = false, isClient = false) => {
console.log('questionTypeList: ', questionTypeList);
return [
@@ -194,6 +195,7 @@ export const getEditFormSchema: (
colProps: {
span: 6,
},
+
},
{
field: 'zentaoNos',
@@ -202,6 +204,7 @@ export const getEditFormSchema: (
colProps: {
span: 6,
},
+ vIf: () => !isClient,
},
{
@@ -216,6 +219,7 @@ export const getEditFormSchema: (
options: stateTypeList,
disabled: true,
},
+ vIf: () => !isClient,
rules: [{ required: true, type: 'number' }],
},