chore: use default placeholder
This commit is contained in:
@@ -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: '备注',
|
||||
|
Reference in New Issue
Block a user