|
@@ -12,10 +12,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: NEW_BUSINESS_OPPORTUNITY_EDITING, // 新增/编辑请求接口
|
|
|
topMountedInterface: TOP_OF_BUSINESS_OPPORTUNITIES, // 顶置接口
|
|
|
cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_BUSINESS_OPPORTUNITIES, // 取消顶置接口
|
|
|
- homeImage: '/src/assets/image/module/min_business.png', // 首页图片
|
|
|
- moduleImage: '/src/assets/image/module/business.png', // 模块图片
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_business.png', import.meta.url).href, // 首页图片
|
|
|
+ moduleImage: new URL('/src/assets/image/module/business.png', import.meta.url).href, // 模块图片
|
|
|
searchFiled: { search: 'name' }, // 搜索字段
|
|
|
image: '', // 图片
|
|
|
+ jurisdiction: { // 权限
|
|
|
+ newlyAdded: 'businessAddAnEdit',
|
|
|
+ edit: 'businessAddAnEdit',
|
|
|
+ delete: 'businessDelete'
|
|
|
+ }
|
|
|
},
|
|
|
'thread': {
|
|
|
name: '线索',
|
|
@@ -28,10 +33,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: NEW_CLUE_EDITING,
|
|
|
topMountedInterface: TOP_OF_CLUES,
|
|
|
cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_CLUES,
|
|
|
- homeImage: '/src/assets/image/module/min_thread.png',
|
|
|
- moduleImage: '/src/assets/image/module/thread.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_thread.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/thread.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'clueName' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'threadAdd',
|
|
|
+ edit: 'threadEdit',
|
|
|
+ delete: 'threadDelete'
|
|
|
+ }
|
|
|
},
|
|
|
'customer': {
|
|
|
name: '客户',
|
|
@@ -44,10 +54,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: CUSTOMER_ADDED_EDITOR,
|
|
|
topMountedInterface: CUSTOMER_TOP_MOUNTED,
|
|
|
cancelTheTopMountedInterface: CUSTOMER_CANCELS_TOP_PLACEMENT,
|
|
|
- homeImage: '/src/assets/image/module/min_customer.png',
|
|
|
- moduleImage: '/src/assets/image/module/customer.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_customer.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/customer.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'customName' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'customerAdd',
|
|
|
+ edit: 'customerEdit',
|
|
|
+ delete: 'customerDelete'
|
|
|
+ }
|
|
|
},
|
|
|
'contacts': {
|
|
|
name: '联系人',
|
|
@@ -60,10 +75,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: CONTACT_PERSON_ADDITION_EDITOR,
|
|
|
topMountedInterface: CONTACT_TOP,
|
|
|
cancelTheTopMountedInterface: CONTACT_PERSON_CANCELS_TOP_PLACEMENT,
|
|
|
- homeImage: '/src/assets/image/module/min_contacts.png',
|
|
|
- moduleImage: '/src/assets/image/module/contacts.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_contacts.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/contacts.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'name' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'contactsAdd',
|
|
|
+ edit: 'contactsEdit',
|
|
|
+ delete: 'contactsDelete'
|
|
|
+ }
|
|
|
},
|
|
|
'tasks': {
|
|
|
name: '任务',
|
|
@@ -76,10 +96,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: TASK_ADD_EDIT,
|
|
|
topMountedInterface: TASK_TOP,
|
|
|
cancelTheTopMountedInterface: TASK_CANCELLATION_TOP,
|
|
|
- homeImage: '/src/assets/image/module/min_tasks.png',
|
|
|
- moduleImage: '/src/assets/image/module/tasks.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_tasks.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/tasks.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'taskName' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'tasksAdd',
|
|
|
+ edit: 'tasksEdit',
|
|
|
+ delete: 'tasksDelete'
|
|
|
+ }
|
|
|
},
|
|
|
'product': {
|
|
|
name: '产品',
|
|
@@ -92,10 +117,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: PRODUCT_ADD_EDITOR,
|
|
|
topMountedInterface: TOP_MOUNTED_PRODUCT,
|
|
|
cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_THE_PRODUCT,
|
|
|
- homeImage: '/src/assets/image/module/min_product.png',
|
|
|
- moduleImage: '/src/assets/image/module/product.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_product.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/product.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'productName' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'productAdd',
|
|
|
+ edit: 'productEdit',
|
|
|
+ delete: 'productDelete'
|
|
|
+ }
|
|
|
},
|
|
|
'contract': {
|
|
|
name: '合同',
|
|
@@ -108,10 +138,15 @@ export const routingInfos = {
|
|
|
addEditingInterface: CONTRACT_ADDITION_EDITING,
|
|
|
topMountedInterface: TOP_OF_THE_CONTRACT,
|
|
|
cancelTheTopMountedInterface: CONTRACT_CANCELLATION_WITH_TOP_PLACEMENT,
|
|
|
- homeImage: '/src/assets/image/module/min_contract.png',
|
|
|
- moduleImage: '/src/assets/image/module/contract.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_contract.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/contract.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'name' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'contractAdd',
|
|
|
+ edit: 'contractAdd',
|
|
|
+ delete: 'contractAdd'
|
|
|
+ }
|
|
|
},
|
|
|
'order': {
|
|
|
name: '销售订单',
|
|
@@ -124,9 +159,14 @@ export const routingInfos = {
|
|
|
addEditingInterface: ORDER_ADDITION_EDITING,
|
|
|
topMountedInterface: SALES_ORDER_TOP_PLACEMENT,
|
|
|
cancelTheTopMountedInterface: CANCEL_THE_TOP_PLACEMENT_OF_THE_SALES_ORDER,
|
|
|
- homeImage: '/src/assets/image/module/min_order.png',
|
|
|
- moduleImage: '/src/assets/image/module/order.png',
|
|
|
+ homeImage: new URL('/src/assets/image/module/min_order.png', import.meta.url).href,
|
|
|
+ moduleImage: new URL('/src/assets/image/module/order.png', import.meta.url).href,
|
|
|
searchFiled: { search: 'orderName' },
|
|
|
image: '',
|
|
|
+ jurisdiction: {
|
|
|
+ newlyAdded: 'orderAdd',
|
|
|
+ edit: 'orderEdit',
|
|
|
+ delete: 'orderDelete'
|
|
|
+ }
|
|
|
}
|
|
|
}
|