feat: post init
parent
79c65e15cf
commit
11b4e00f5a
|
@ -45,20 +45,20 @@ export const columns: BasicColumn[] = [
|
||||||
|
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
{
|
{
|
||||||
field: 'name',
|
|
||||||
label: '岗位名称',
|
label: '岗位名称',
|
||||||
|
field: 'name',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: { span: 8 }
|
colProps: { span: 8 }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'code',
|
|
||||||
label: '岗位编码',
|
label: '岗位编码',
|
||||||
|
field: 'code',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: { span: 8 }
|
colProps: { span: 8 }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'status',
|
|
||||||
label: '状态',
|
label: '状态',
|
||||||
|
field: 'status',
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: getIntDictOptions(DICT_TYPE.COMMON_STATUS)
|
options: getIntDictOptions(DICT_TYPE.COMMON_STATUS)
|
||||||
|
@ -69,32 +69,32 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
|
|
||||||
export const formSchema: FormSchema[] = [
|
export const formSchema: FormSchema[] = [
|
||||||
{
|
{
|
||||||
field: 'id',
|
|
||||||
label: '编号',
|
label: '编号',
|
||||||
|
field: 'id',
|
||||||
show: false,
|
show: false,
|
||||||
component: 'Input'
|
component: 'Input'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'name',
|
|
||||||
label: '岗位名称',
|
label: '岗位名称',
|
||||||
|
field: 'name',
|
||||||
required: true,
|
required: true,
|
||||||
component: 'Input'
|
component: 'Input'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'code',
|
|
||||||
label: '岗位编码',
|
label: '岗位编码',
|
||||||
|
field: 'code',
|
||||||
required: true,
|
required: true,
|
||||||
component: 'Input'
|
component: 'Input'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'sort',
|
|
||||||
label: '岗位顺序',
|
label: '岗位顺序',
|
||||||
|
field: 'sort',
|
||||||
required: true,
|
required: true,
|
||||||
component: 'InputNumber'
|
component: 'InputNumber'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'status',
|
|
||||||
label: '状态',
|
label: '状态',
|
||||||
|
field: 'status',
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
defaultValue: 0,
|
defaultValue: 0,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
|
|
Loading…
Reference in New Issue