diff --git a/config/routes.js b/config/routes.js index 9ac961c..a2fc165 100644 --- a/config/routes.js +++ b/config/routes.js @@ -36,15 +36,15 @@ export default [ { name: '组织管理', icon: 'smile', - path: '/sys/Org', - component: './sys/Org', + path: '/sys/org', + component: './sys/org', access: 'k2', }, { name: '操作日志', icon: 'smile', - path: '/sys/Log', - component: './sys/Log', + path: '/sys/log', + component: './sys/log', access: 'k3', }, { @@ -57,15 +57,15 @@ export default [ { name: '角色权限', icon: 'smile', - path: '/sys/Roles', - component: './sys/Roles', + path: '/sys/roles', + component: './sys/roles', access: 'k5', }, { name: '系统菜单', icon: 'smile', - path: '/sys/Menus', - component: './sys/Menus', + path: '/sys/menus', + component: './sys/menus', access: 'k6', }, { @@ -127,15 +127,15 @@ export default [ { name: '验收入库', icon: 'smile', - path: '/erp/Bill/ReceivingNote', - component: './erp/Bill/ReceivingNote', + path: '/erp/bill/receivingNote', + component: './erp/bill/receivingNote', access: 'k15', }, { name: '采购管理', icon: 'smile', - path: '/erp/Bill/purchaseOrder', - component: './erp/Bill/purchaseOrder', + path: '/erp/bill/purchaseOrder', + component: './erp/bill/purchaseOrder', }, { name: '物料库存', @@ -346,7 +346,7 @@ export default [ path: '/integral/integralConfigure', component: './integral/integralConfigure', access: 'k12', - }, + }, ] }, { @@ -497,8 +497,8 @@ export default [ { name: '售后申请', icon: 'smile', - path: '/refundment/OrderAfterSales', - component: './refundment/OrderAfterSales', + path: '/refundment/orderAfterSales', + component: './refundment/orderAfterSales', access: 'k28', }, ], @@ -534,8 +534,8 @@ export default [ }, { name: '异常订单信息', - path: '/order/ExOrder', - component: './order/ExOrder', + path: '/order/exOrder', + component: './order/exOrder', access: 'k31', }, ], diff --git a/src/pages/admin/users/index.jsx b/src/pages/admin/users/index.jsx index b529611..1b98018 100644 --- a/src/pages/admin/users/index.jsx +++ b/src/pages/admin/users/index.jsx @@ -6,7 +6,7 @@ import ProTable, { ProColumns, ActionType, TableDropdown } from '@ant-design/pro import ProDescriptions from '@ant-design/pro-descriptions'; import CreateForm from './components/CreateForm'; import { queryUser, addUser, removeRule, updateUser, setRoles, sysUserGrantData } from './service'; -import { gettree } from '../../sys/Org/service'; +import { gettree } from '../../sys/org/service'; import moment from 'moment'; import { useAccess } from 'umi'; diff --git a/src/pages/device/deviceInfo/index.jsx b/src/pages/device/deviceInfo/index.jsx index 7ef2fe2..1b8023a 100644 --- a/src/pages/device/deviceInfo/index.jsx +++ b/src/pages/device/deviceInfo/index.jsx @@ -12,7 +12,7 @@ import { DelDeviceInfo, GetDeviceType, } from './services'; -import { gettree } from '../../sys/Org/service'; +import { gettree } from '../../sys/org/service'; const key = 'message'; //添加 diff --git a/src/pages/erp/bill/receivingNote/index.jsx b/src/pages/erp/bill/receivingNote/index.jsx index 0d1c950..453a953 100644 --- a/src/pages/erp/bill/receivingNote/index.jsx +++ b/src/pages/erp/bill/receivingNote/index.jsx @@ -6,7 +6,7 @@ import ProTable from '@ant-design/pro-table'; import ProDescriptions from '@ant-design/pro-descriptions'; import CreateForm from './components/CreateForm'; import { getUintList, getTypeList, add, getPage, approved, getEntry } from './services'; -import { gettree } from '../../../sys/Org/service'; +import { gettree } from '../../../sys/org/service'; /** * 现在收货 * @@ -92,10 +92,10 @@ const DeliveryCheck = () => { list.sub = data.data; setCurrentRow(list); } - const handleRemoveSingle= async (value) => + const handleRemoveSingle= async (value) => { - + } diff --git a/src/pages/erp/stock/index.jsx b/src/pages/erp/stock/index.jsx index f45a724..dbbd69b 100644 --- a/src/pages/erp/stock/index.jsx +++ b/src/pages/erp/stock/index.jsx @@ -4,7 +4,7 @@ import React, { useState, useRef, useEffect } from 'react'; import { PageContainer, FooterToolbar } from '@ant-design/pro-layout'; import ProTable from '@ant-design/pro-table'; import { getPage, getUintList, getTypeList } from './services'; -import { gettree } from '../../sys/Org/service'; +import { gettree } from '../../sys/org/service'; const DeliveryCheck = () => { const [createModalVisible, handleModalVisible] = useState(false); diff --git a/src/pages/sys/storemanage/index.jsx b/src/pages/sys/storemanage/index.jsx index 68fbee7..4838cc1 100644 --- a/src/pages/sys/storemanage/index.jsx +++ b/src/pages/sys/storemanage/index.jsx @@ -10,7 +10,7 @@ import { getQueryVariable, UpdateDeviceInfo, } from './service'; -import { gettree } from '../../sys/Org/service'; +import { gettree } from '../../sys/org/service'; const { Option, OptGroup } = Select; const manages = (props) => {