refactor: dict

This commit is contained in:
xingyu
2022-11-16 23:15:14 +08:00
parent 7c0c123b9a
commit 7455348a6e
39 changed files with 155 additions and 54 deletions

View File

@ -33,7 +33,8 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label: t('common.status'),
field: 'status',
dictType: DICT_TYPE.COMMON_STATUS
dictType: DICT_TYPE.COMMON_STATUS,
dictData: 'number'
},
{
label: '备注',

View File

@ -41,7 +41,8 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label: t('common.status'),
field: 'status',
dictType: DICT_TYPE.COMMON_STATUS
dictType: DICT_TYPE.COMMON_STATUS,
dictData: 'number'
},
{
label: '备注',

View File

@ -41,6 +41,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '流程分类',
field: 'category',
dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
dictData: 'number',
search: {
show: true
}

View File

@ -28,6 +28,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '流程分类',
field: 'category',
dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
dictData: 'number',
search: {
show: true
}
@ -40,6 +41,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: t('common.status'),
field: 'status',
dictType: DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS,
dictData: 'number',
search: {
show: true
}
@ -48,6 +50,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '结果',
field: 'result',
dictType: DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT,
dictData: 'number',
search: {
show: true
}

View File

@ -29,7 +29,8 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label: '结果',
field: 'result',
dictType: DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT
dictType: DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT,
dictData: 'number'
},
{
label: '审批意见',