chore: use default placeholder

This commit is contained in:
dap
2024-10-03 15:37:14 +08:00
parent 445489bc38
commit df59fdaee1
23 changed files with 3 additions and 382 deletions

View File

@@ -7,17 +7,11 @@ import { getDictOptions } from '#/utils/dict';
export const querySchema: FormSchemaGetter = () => [
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'postCode',
label: '岗位编码',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'postName',
label: '岗位名称',
},
@@ -26,7 +20,6 @@ export const querySchema: FormSchemaGetter = () => [
componentProps: {
getPopupContainer,
options: getDictOptions(DictEnum.SYS_NORMAL_DISABLE),
placeholder: '请选择',
},
fieldName: 'status',
label: '状态',
@@ -48,7 +41,6 @@ export const drawerSchema: FormSchemaGetter = () => [
componentProps: {
class: 'w-full',
getPopupContainer,
placeholder: '请选择',
},
fieldName: 'deptId',
label: '所属部门',
@@ -56,36 +48,23 @@ export const drawerSchema: FormSchemaGetter = () => [
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'postName',
label: '岗位名称',
rules: 'required',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'postCode',
label: '岗位编码',
rules: 'required',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入',
},
fieldName: 'postCategory',
label: '类别编码',
},
{
component: 'InputNumber',
componentProps: {
class: 'w-full',
placeholder: '请输入',
},
fieldName: 'postSort',
label: '岗位排序',
rules: 'required',
@@ -104,9 +83,6 @@ export const drawerSchema: FormSchemaGetter = () => [
},
{
component: 'Textarea',
componentProps: {
placeholder: '请输入',
},
fieldName: 'remark',
formItemClass: 'items-baseline',
label: '备注',