diff --git a/apps/web-antd/src/views/ai/model/chatRole/data.ts b/apps/web-antd/src/views/ai/model/chatRole/data.ts index 28f809ca9..81ea7e7c1 100644 --- a/apps/web-antd/src/views/ai/model/chatRole/data.ts +++ b/apps/web-antd/src/views/ai/model/chatRole/data.ts @@ -191,11 +191,17 @@ export function useGridFormSchema(): VbenFormSchema[] { fieldName: 'name', label: '角色名称', component: 'Input', + componentProps: { + placeholder: '请输入角色名称', + }, }, { fieldName: 'category', label: '角色类别', component: 'Input', + componentProps: { + placeholder: '请输入角色类别', + }, }, { fieldName: 'publicStatus', diff --git a/apps/web-antd/src/views/mall/promotion/seckill/config/data.ts b/apps/web-antd/src/views/mall/promotion/seckill/config/data.ts index cd9ffa8b3..87c25edeb 100644 --- a/apps/web-antd/src/views/mall/promotion/seckill/config/data.ts +++ b/apps/web-antd/src/views/mall/promotion/seckill/config/data.ts @@ -20,6 +20,9 @@ export function useFormSchema(): VbenFormSchema[] { fieldName: 'name', label: '秒杀时段名称', component: 'Input', + componentProps: { + placeholder: '请输入秒杀时段名称', + }, rules: 'required', }, { diff --git a/apps/web-antd/src/views/mall/trade/brokerage/user/data.ts b/apps/web-antd/src/views/mall/trade/brokerage/user/data.ts index 58ff07082..2200d2c71 100644 --- a/apps/web-antd/src/views/mall/trade/brokerage/user/data.ts +++ b/apps/web-antd/src/views/mall/trade/brokerage/user/data.ts @@ -160,12 +160,18 @@ export function useCreateFormSchema(): VbenFormSchema[] { fieldName: 'userId', label: '分销员编号', component: 'InputSearch', + componentProps: { + placeholder: '请输入分销员编号', + }, rules: 'required', }, { fieldName: 'bindUserId', label: '上级推广员编号', component: 'InputSearch', + componentProps: { + placeholder: '请输入上级推广员编号', + }, rules: 'required', }, ]; @@ -178,6 +184,9 @@ export function useUpdateFormSchema(): VbenFormSchema[] { fieldName: 'bindUserId', label: '上级推广员编号', component: 'InputSearch', + componentProps: { + placeholder: '请输入上级推广员编号', + }, rules: 'required', }, ]; diff --git a/apps/web-antd/src/views/system/post/data.ts b/apps/web-antd/src/views/system/post/data.ts index 43e746522..2d1715389 100644 --- a/apps/web-antd/src/views/system/post/data.ts +++ b/apps/web-antd/src/views/system/post/data.ts @@ -21,12 +21,18 @@ export function useFormSchema(): VbenFormSchema[] { component: 'Input', fieldName: 'name', label: '岗位名称', + componentProps: { + placeholder: '请输入岗位名称', + }, rules: 'required', }, { component: 'Input', fieldName: 'code', label: '岗位编码', + componentProps: { + placeholder: '请输入岗位编码', + }, rules: 'required', }, { @@ -35,6 +41,7 @@ export function useFormSchema(): VbenFormSchema[] { component: 'InputNumber', componentProps: { min: 0, + placeholder: '请输入显示顺序', }, rules: 'required', }, @@ -53,6 +60,9 @@ export function useFormSchema(): VbenFormSchema[] { fieldName: 'remark', label: '岗位备注', component: 'Textarea', + componentProps: { + placeholder: '请输入岗位备注', + }, }, ]; } diff --git a/apps/web-ele/src/views/ai/model/chatRole/data.ts b/apps/web-ele/src/views/ai/model/chatRole/data.ts index 21dc394de..ab7022777 100644 --- a/apps/web-ele/src/views/ai/model/chatRole/data.ts +++ b/apps/web-ele/src/views/ai/model/chatRole/data.ts @@ -189,11 +189,17 @@ export function useGridFormSchema(): VbenFormSchema[] { fieldName: 'name', label: '角色名称', component: 'Input', + componentProps: { + placeholder: '请输入角色名称', + }, }, { fieldName: 'category', label: '角色类别', component: 'Input', + componentProps: { + placeholder: '请输入角色类别', + }, }, { fieldName: 'publicStatus', diff --git a/apps/web-ele/src/views/mall/promotion/seckill/config/data.ts b/apps/web-ele/src/views/mall/promotion/seckill/config/data.ts index 4674984ae..85a7bf4cc 100644 --- a/apps/web-ele/src/views/mall/promotion/seckill/config/data.ts +++ b/apps/web-ele/src/views/mall/promotion/seckill/config/data.ts @@ -20,6 +20,9 @@ export function useFormSchema(): VbenFormSchema[] { fieldName: 'name', label: '秒杀时段名称', component: 'Input', + componentProps: { + placeholder: '请输入秒杀时段名称', + }, rules: 'required', }, { diff --git a/apps/web-ele/src/views/mall/trade/brokerage/user/data.ts b/apps/web-ele/src/views/mall/trade/brokerage/user/data.ts index 12d01cc0a..903935b9a 100644 --- a/apps/web-ele/src/views/mall/trade/brokerage/user/data.ts +++ b/apps/web-ele/src/views/mall/trade/brokerage/user/data.ts @@ -160,12 +160,18 @@ export function useCreateFormSchema(): VbenFormSchema[] { fieldName: 'userId', label: '分销员编号', component: 'Input', + componentProps: { + placeholder: '请输入分销员编号', + }, rules: 'required', }, { fieldName: 'bindUserId', label: '上级推广员编号', component: 'Input', + componentProps: { + placeholder: '请输入上级推广员编号', + }, rules: 'required', }, ]; @@ -178,6 +184,9 @@ export function useUpdateFormSchema(): VbenFormSchema[] { fieldName: 'bindUserId', label: '上级推广员编号', component: 'Input', + componentProps: { + placeholder: '请输入上级推广员编号', + }, rules: 'required', }, ]; diff --git a/apps/web-ele/src/views/system/post/data.ts b/apps/web-ele/src/views/system/post/data.ts index 90c2499c6..d9c94a363 100644 --- a/apps/web-ele/src/views/system/post/data.ts +++ b/apps/web-ele/src/views/system/post/data.ts @@ -21,12 +21,18 @@ export function useFormSchema(): VbenFormSchema[] { component: 'Input', fieldName: 'name', label: '岗位名称', + componentProps: { + placeholder: '请输入岗位名称', + }, rules: 'required', }, { component: 'Input', fieldName: 'code', label: '岗位编码', + componentProps: { + placeholder: '请输入岗位编码', + }, rules: 'required', }, { @@ -35,6 +41,7 @@ export function useFormSchema(): VbenFormSchema[] { component: 'InputNumber', componentProps: { min: 0, + placeholder: '请输入显示顺序', controlsPosition: 'right', class: '!w-full', }, @@ -53,6 +60,9 @@ export function useFormSchema(): VbenFormSchema[] { fieldName: 'remark', label: '岗位备注', component: 'Textarea', + componentProps: { + placeholder: '请输入岗位备注', + }, }, ]; }