李红攀:V2.0.001小程序的采摘管理
This commit is contained in:
4
env/.env
vendored
4
env/.env
vendored
@@ -1,7 +1,7 @@
|
||||
VITE_APP_TITLE = '亚为mom小程序'
|
||||
VITE_APP_PORT = 9000
|
||||
|
||||
VITE_UNI_APPID = '__UNI__D1E5001'
|
||||
VITE_UNI_APPID = '__UNI__7CADA36'
|
||||
VITE_WX_APPID = 'wx1a832d51073d3a35'
|
||||
|
||||
# h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base
|
||||
@@ -10,7 +10,7 @@ VITE_WX_APPID = 'wx1a832d51073d3a35'
|
||||
VITE_APP_PUBLIC_BASE=/
|
||||
|
||||
# 后台请求地址
|
||||
VITE_SERVER_BASEURL = 'http://localhost:48080/admin-api'
|
||||
VITE_SERVER_BASEURL = 'http://119.96.62.56:7004/admin-api'
|
||||
VITE_UPLOAD_BASEURL = 'http://localhost:48080/upload'
|
||||
# 备注:如果后台带统一前缀,则也要加到后面,eg: https://ukw0y1.laf.run/api
|
||||
|
||||
|
||||
@@ -26,90 +26,90 @@ export interface MenuGroup {
|
||||
|
||||
/** 菜单分组原始数据 */
|
||||
const menuGroupsData: MenuGroup[] = [
|
||||
{
|
||||
key: 'purchase',
|
||||
name: '采购管理',
|
||||
menus: [
|
||||
{
|
||||
key: 'purchaseRequisition',
|
||||
name: '采购申请',
|
||||
icon: 'edit',
|
||||
url: '/pages-erp/purchase-requisition/index',
|
||||
iconColor: '#2f54eb',
|
||||
permission: 'erp:purchase-requisition:query',
|
||||
},
|
||||
{
|
||||
key: 'purchaseOrder',
|
||||
name: '采购订单',
|
||||
icon: 'order',
|
||||
url: '/pages-erp/purchase-order/index',
|
||||
iconColor: '#1890ff',
|
||||
permission: 'erp:purchase-order:query',
|
||||
},
|
||||
{
|
||||
key: 'purchaseIn',
|
||||
name: '采购入库',
|
||||
icon: 'goods',
|
||||
url: '/pages-erp/purchase-in/index',
|
||||
iconColor: '#52c41a',
|
||||
permission: 'erp:purchase-in:query',
|
||||
},
|
||||
{
|
||||
key: 'purchaseReturn',
|
||||
name: '采购退货',
|
||||
icon: 'refund',
|
||||
url: '/pages-erp/purchase-return/index',
|
||||
iconColor: '#fa8c16',
|
||||
permission: 'erp:purchase-return:query',
|
||||
},
|
||||
{
|
||||
key: 'supplier',
|
||||
name: '供应商',
|
||||
icon: 'shop',
|
||||
url: '/pages-erp/supplier/index',
|
||||
iconColor: '#722ed1',
|
||||
permission: 'erp:supplier:query',
|
||||
},
|
||||
{
|
||||
key: 'farmer',
|
||||
name: '农户管理',
|
||||
icon: 'user',
|
||||
url: '/pages-erp/farmer/index',
|
||||
iconColor: '#13c2c2',
|
||||
permission: 'erp:farmer:query',
|
||||
},
|
||||
{
|
||||
key: 'pickBroccoli',
|
||||
name: '采摘管理',
|
||||
icon: 'flower',
|
||||
url: '/pages-erp/pick-broccoli/index',
|
||||
iconColor: '#eb2f96',
|
||||
permission: 'erp:pick-broccoli:query',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'agri',
|
||||
name: '农业溯源',
|
||||
menus: [
|
||||
{
|
||||
key: 'agriBizFlow',
|
||||
name: '闭环操作台',
|
||||
icon: 'flow',
|
||||
url: '/pages-agri/biz-flow/index',
|
||||
iconColor: '#52c41a',
|
||||
permission: 'agri:biz:harvest',
|
||||
},
|
||||
{
|
||||
key: 'agriTraceSnapshot',
|
||||
name: '溯源快照',
|
||||
icon: 'scan',
|
||||
url: '/pages-agri/trace-snapshot/index',
|
||||
iconColor: '#1890ff',
|
||||
permission: 'agri:trace-snapshot:query',
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// key: 'purchase',
|
||||
// name: '采购管理',
|
||||
// menus: [
|
||||
// {
|
||||
// key: 'purchaseRequisition',
|
||||
// name: '采购申请',
|
||||
// icon: 'edit',
|
||||
// url: '/pages-erp/purchase-requisition/index',
|
||||
// iconColor: '#2f54eb',
|
||||
// permission: 'erp:purchase-requisition:query',
|
||||
// },
|
||||
// {
|
||||
// key: 'purchaseOrder',
|
||||
// name: '采购订单',
|
||||
// icon: 'order',
|
||||
// url: '/pages-erp/purchase-order/index',
|
||||
// iconColor: '#1890ff',
|
||||
// permission: 'erp:purchase-order:query',
|
||||
// },
|
||||
// {
|
||||
// key: 'purchaseIn',
|
||||
// name: '采购入库',
|
||||
// icon: 'goods',
|
||||
// url: '/pages-erp/purchase-in/index',
|
||||
// iconColor: '#52c41a',
|
||||
// permission: 'erp:purchase-in:query',
|
||||
// },
|
||||
// {
|
||||
// key: 'purchaseReturn',
|
||||
// name: '采购退货',
|
||||
// icon: 'refund',
|
||||
// url: '/pages-erp/purchase-return/index',
|
||||
// iconColor: '#fa8c16',
|
||||
// permission: 'erp:purchase-return:query',
|
||||
// },
|
||||
// {
|
||||
// key: 'supplier',
|
||||
// name: '供应商',
|
||||
// icon: 'shop',
|
||||
// url: '/pages-erp/supplier/index',
|
||||
// iconColor: '#722ed1',
|
||||
// permission: 'erp:supplier:query',
|
||||
// },
|
||||
// {
|
||||
// key: 'farmer',
|
||||
// name: '农户管理',
|
||||
// icon: 'user',
|
||||
// url: '/pages-erp/farmer/index',
|
||||
// iconColor: '#13c2c2',
|
||||
// permission: 'erp:farmer:query',
|
||||
// },
|
||||
// {
|
||||
// key: 'pickBroccoli',
|
||||
// name: '采摘管理',
|
||||
// icon: 'flower',
|
||||
// url: '/pages-erp/pick-broccoli/index',
|
||||
// iconColor: '#eb2f96',
|
||||
// permission: 'erp:pick-broccoli:query',
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// key: 'agri',
|
||||
// name: '农业溯源',
|
||||
// menus: [
|
||||
// {
|
||||
// key: 'agriBizFlow',
|
||||
// name: '闭环操作台',
|
||||
// icon: 'flow',
|
||||
// url: '/pages-agri/biz-flow/index',
|
||||
// iconColor: '#52c41a',
|
||||
// permission: 'agri:biz:harvest',
|
||||
// },
|
||||
// {
|
||||
// key: 'agriTraceSnapshot',
|
||||
// name: '溯源快照',
|
||||
// icon: 'scan',
|
||||
// url: '/pages-agri/trace-snapshot/index',
|
||||
// iconColor: '#1890ff',
|
||||
// permission: 'agri:trace-snapshot:query',
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
key: 'stock',
|
||||
name: '库存管理',
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user