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

@ -45,6 +45,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: t('common.status'),
field: 'status',
dictType: DICT_TYPE.COMMON_STATUS,
dictData: 'number',
search: {
show: true
}

View File

@ -51,6 +51,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: t('common.status'),
field: 'status',
dictType: DICT_TYPE.COMMON_STATUS,
dictData: 'number',
search: {
show: true
}

View File

@ -82,7 +82,8 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label: '回调商户状态',
field: 'notifyStatus',
dictType: DICT_TYPE.PAY_ORDER_NOTIFY_STATUS
dictType: DICT_TYPE.PAY_ORDER_NOTIFY_STATUS,
dictData: 'number'
},
{
label: '支付金额',
@ -109,6 +110,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '支付状态',
field: 'status',
dictType: DICT_TYPE.PAY_ORDER_STATUS,
dictData: 'number',
search: {
show: true
}
@ -137,6 +139,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '退款状态',
field: 'refundStatus',
dictType: DICT_TYPE.PAY_ORDER_REFUND_STATUS,
dictData: 'number',
search: {
show: true
}

View File

@ -67,6 +67,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: '退款类型',
field: 'type',
dictType: DICT_TYPE.PAY_REFUND_ORDER_TYPE,
dictData: 'number',
search: {
show: true
}
@ -75,6 +76,7 @@ const crudSchemas = reactive<CrudSchema[]>([
label: t('common.status'),
field: 'status',
dictType: DICT_TYPE.PAY_REFUND_ORDER_STATUS,
dictData: 'number',
search: {
show: true
}