You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
export const PROJECT _NAME = "GHHub" ;
// mode: test, 内部测试使用
export const HT _HOST = import . meta . env . MODE === 'test' ? 'http://120.79.9.217:10024' : import . meta . env . PROD ? 'https://p9axztuwd7x8a7.mycht.cn' : 'http://202.103.68.144:890'
export const OVERSEA _HOST = 'https://pam5yninqgpzw4.mycht.cn'
export const DATE _FORMAT = "YYYY-MM-DD" ;
export const DATE _FORMAT _MONTH = "YYYY-MM" ;
export const SMALL _DATETIME _FORMAT = "YYYY-MM-DD 23:59" ;
export const OFFICEWEBVIEWERURL = "https://view.officeapps.live.com/op/embed.aspx?wdPrint=1&wdHideGridlines=0&wdHideComments=1&wdEmbedCode=0&src=" ;
const _ _BUILD _VERSION _ _ = ` __BUILD_VERSION__ ` . replace ( /"/g , '' )
export const BUILD _VERSION = import . meta . env . PROD ? _ _BUILD _VERSION _ _ : import . meta . env . MODE ;
// 权限常量定义
// 账号、权限管理
// category: system
export const PERM _ACCOUNT _MANAGEMENT = '/account/management'
export const PERM _ACCOUNT _NEW = '/account/new'
export const PERM _ACCOUNT _DISABLE = '/account/disable'
export const PERM _ACCOUNT _RESET _PASSWORD = '/account/reset-password'
export const PERM _ROLE _NEW = '/account/role-new'
// 海外供应商
// category: oversea
export const PERM _OVERSEA = '/oversea/all'
// 国内供应商
// category: domestic
export const PERM _DOMESTIC = '/domestic/all'
// 机票供应商
// category: air-ticket
export const PERM _AIR _TICKET = '/air-ticket/all'
// 价格管理
export const PERM _PRODUCTS _MANAGEMENT = '/products/*' ; // 管理
export const PERM _PRODUCTS _NEW = '/products/new' ; // 新增产品
export const PERM _PRODUCTS _INFO _AUDIT = '/products/info/audit' ; // 信息.审核
export const PERM _PRODUCTS _INFO _PUT = '/products/info/put' ; // 信息.录入
export const PERM _PRODUCTS _OFFER _AUDIT = '/products/offer/audit' ; // 价格.审核
export const PERM _PRODUCTS _OFFER _PUT = '/products/offer/put' ; // 价格.录入