Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
79b410e3
Commit
79b410e3
authored
Dec 11, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 完成售后已使用的常量 CN国际化
parent
f3381e48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
afterService.ts
src/constants/afterService.ts
+7
-3
constants.ts
src/locales/zh-CN/afterService/constants.ts
+6
-0
index.ts
src/locales/zh-CN/afterService/index.ts
+3
-0
No files found.
src/constants/afterService.ts
View file @
79b410e3
import
{
getIntl
}
from
'umi'
;
const
intl
=
getIntl
();
/**
* ****售后能力 相关常量****
*/
...
...
@@ -577,9 +581,9 @@ export const RETURN_OUTER_STATUS = {
export
const
DELIVERY_TYPE_ENUM
=
[
{
label
:
'物流'
,
value
:
1
},
{
label
:
'自提'
,
value
:
2
},
{
label
:
'无需配送'
,
value
:
3
},
{
label
:
intl
.
formatMessage
({
id
:
'afterService.constants.DELIVERY_TYPE_ENUM_1'
},
{
default
:
'物流'
})
,
value
:
1
},
{
label
:
intl
.
formatMessage
({
id
:
'afterService.constants.DELIVERY_TYPE_ENUM_2'
},
{
default
:
'自提'
})
,
value
:
2
},
{
label
:
intl
.
formatMessage
({
id
:
'afterService.constants.DELIVERY_TYPE_ENUM_3'
},
{
default
:
'无需配送'
})
,
value
:
3
},
]
src/locales/zh-CN/afterService/constants.ts
0 → 100644
View file @
79b410e3
export
default
{
'afterService.constants.DELIVERY_TYPE_ENUM_1'
:
'物流'
,
'afterService.constants.DELIVERY_TYPE_ENUM_2'
:
'自提'
,
'afterService.constants.DELIVERY_TYPE_ENUM_3'
:
'无需配送'
,
}
\ No newline at end of file
src/locales/zh-CN/afterService/index.ts
View file @
79b410e3
...
...
@@ -6,6 +6,7 @@ import exchangeManage from './exchangeManage';
import
repairApplication
from
'./repairApplication'
;
import
repairManage
from
'./repairManage'
;
import
components
from
'./components'
;
import
constants
from
'./constants'
;
export
default
{
...
common
,
...
...
@@ -16,4 +17,5 @@ export default {
...
repairApplication
,
...
repairManage
,
...
components
,
...
constants
,
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment