Changeset View
Changeset View
Standalone View
Standalone View
src/pages/businessManagement/const.js
- This file was added.
import Enum from '@/utils/enumClass' | |||||
const enumOrderStatus = new Enum([ | |||||
{ key: 'peddingList', value: 1, desc: '待处理申请' }, | |||||
{ key: 'processedList', value: '', desc: '已处理申请' } | |||||
]) | |||||
export const TAB_LIST = enumOrderStatus.list.map(item => ({ | |||||
id: item.value, | |||||
title: item.desc, | |||||
isShowBadge: false | |||||
})) | |||||
export const STATUS_TO_LIST = { | |||||
0: 'peddingList', | |||||
1: 'processedList' | |||||
} | |||||
export const STATUS_TO_TOTALSIZE = { | |||||
0: 'peddingTotalSize', | |||||
1: 'processedTotalSize' | |||||
} | |||||
export const STATUS_TO_TOTALPAGE = { | |||||
0: 'peddingTotalPage', | |||||
1: 'processedTotalPage' | |||||
} | |||||
export const STATUS_TO_NOMORE = { | |||||
0: 'peddingNoMore', | |||||
1: 'processedNoMore' | |||||
} | |||||
export const SEATCH_NAME = { | |||||
'联系人': 'applyName', | |||||
'联系电话': 'applyMobile', | |||||
'城市': 'cityName', | |||||
'状态': 'enumCscApplyStatus' | |||||
} | |||||
No newline at end of file |
Content licensed under Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA) unless otherwise noted; code licensed under GNU General Public License (GPL) or other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL