提交 a76e13d2 作者: 龚洪江

修复:租赁品牌,地址管理权限id添加

上级 2ff9461b
...@@ -49,7 +49,7 @@ const AddressInfo = forwardRef<any, selfProps>(({ rentGoodsDetails }, ref) => { ...@@ -49,7 +49,7 @@ const AddressInfo = forwardRef<any, selfProps>(({ rentGoodsDetails }, ref) => {
value: v.id, value: v.id,
districtCode: v.districtCode, districtCode: v.districtCode,
})); }));
const addressItemObj = result.find((v) => v.type === 1); const addressItemObj = result.find((v) => v.type === 0);
if (addressItemObj) { if (addressItemObj) {
addressInfoForm.setFieldsValue({ addressInfoForm.setFieldsValue({
returnAddress: addressItemObj.id, returnAddress: addressItemObj.id,
......
...@@ -596,7 +596,6 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -596,7 +596,6 @@ export const routerList: Array<RouteObjectType> = [
id: 1020, id: 1020,
icon: <SmileOutlined />, icon: <SmileOutlined />,
title: '服务管理', title: '服务管理',
develop: true,
}, },
}, },
{ {
...@@ -758,7 +757,6 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -758,7 +757,6 @@ export const routerList: Array<RouteObjectType> = [
id: 2010, id: 2010,
icon: <SmileOutlined />, icon: <SmileOutlined />,
title: '类型管理', title: '类型管理',
develop: true,
}, },
}, },
{ {
...@@ -766,10 +764,9 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -766,10 +764,9 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<RentMakeView />), element: withLoadingComponent(<RentMakeView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 10138, id: 2020,
icon: <SmileOutlined />, icon: <SmileOutlined />,
title: '品牌管理', title: '品牌管理',
develop: true,
}, },
}, },
{ {
...@@ -780,7 +777,6 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -780,7 +777,6 @@ export const routerList: Array<RouteObjectType> = [
id: 10139, id: 10139,
icon: <SmileOutlined />, icon: <SmileOutlined />,
title: '品牌管理/型号', title: '品牌管理/型号',
develop: true,
hidden: true, hidden: true,
}, },
}, },
...@@ -1173,7 +1169,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -1173,7 +1169,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<CompanyDetailView />), element: withLoadingComponent(<CompanyDetailView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 1440, id: 1450,
title: '单位详情', title: '单位详情',
icon: <BankOutlined />, icon: <BankOutlined />,
hidden: true, hidden: true,
...@@ -1184,7 +1180,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -1184,7 +1180,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<AddressManageView />), element: withLoadingComponent(<AddressManageView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 1450, id: 1440,
title: '地址管理', title: '地址管理',
icon: <EnvironmentOutlined />, icon: <EnvironmentOutlined />,
develop: true, develop: true,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论