Compare commits

..

No commits in common. "78483f260fb4f2080e7a0105bdb7dc5d452d9078" and "54be94e7dae2247381efd32166ca3824dea30c4b" have entirely different histories.

4 changed files with 19 additions and 56 deletions

View File

@ -14,6 +14,7 @@ export default defineConfig({
},
proxy: {
'/api/': {
// target: 'http://10.39.13.78:8001',
target: 'http://10.39.13.78:8001/',
// target: 'https://test-admin.linyikj.com.cn/',
// target: 'https://admin.linyikj.com.cn/',

View File

@ -92,12 +92,11 @@ export default function Index({ title = '小程序页面配置' }) {
setFormValues({
...res?.data?.config_value,
pageColor: newCss,
menu: res?.data?.config_value?.menu || defaultMenu,
menu: defaultMenu,
});
console.log('newCss', newCss);
form.setFieldsValue({
...res?.data?.config_value,
menu: res?.data?.config_value?.menu || defaultMenu,
pageColorOtherValue: [
{
color: cssStrColor || '',

View File

@ -2,10 +2,9 @@ import { MyPageContainer, usePageTabs } from '@/common';
import { Apis } from '@/gen/Apis';
import { ProCard } from '@ant-design/pro-components';
import { useParams } from '@umijs/max';
import { Space, Steps, Tabs } from 'antd';
import { Space, Tabs } from 'antd';
import { useEffect, useState } from 'react';
import { FileProtectOutlined } from '@ant-design/icons';
import ComponentsInfo from '../modals/CompanyShow';
import CompanyUpdate from '../modals/CompanyUpdate';
import CompanyApps from '../table/Apps';
@ -47,7 +46,7 @@ export default function Show({ title }: { title?: string } = {}) {
let items = [
{
label: '项目配置',
label: '应用配置',
key: '1',
closable: false,
children: <CompanyApps item={data} />,
@ -78,17 +77,12 @@ export default function Show({ title }: { title?: string } = {}) {
},
{
label: '应用配置',
label: '品牌配置',
key: '6',
closable: false,
children: <Brands item={data} />,
},
{
label: '品牌配置',
key: '7',
closable: false,
children: <Assets item={data} />,
},
{
label: '权限配置',
key: '8',
@ -101,6 +95,12 @@ export default function Show({ title }: { title?: string } = {}) {
closable: false,
children: <CustomerEnd item={data} />,
},
{
label: '项目配置',
key: '7',
closable: false,
children: <Assets item={data} />,
},
];
return (
<MyPageContainer title={title}>
@ -119,48 +119,11 @@ export default function Show({ title }: { title?: string } = {}) {
}
>
<div></div>
<div style={{ padding: '10px 0' }}>
<Steps
type="navigation"
current={-1}
items={[
{
title: '应用配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
{
title: '组织配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
{
title: '岗位配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
{
title: '员工配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
{
title: '账号配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
{
title: '品牌配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
{
title: '项目配置',
status: 'finish',
icon: <FileProtectOutlined />,
},
]}
/>
<div style={{ padding: '0 0 10px 0' }}>
<span>
</span>
</div>
</ProCard>
<ProCard>

View File

@ -28,7 +28,7 @@ export default function CustomerEnd(props: MyBetaModalFormProps) {
</div>
</ProCard>
{/* <ProCard
<ProCard
title="金刚区图标配置"
type="inner"
bordered
@ -39,7 +39,7 @@ export default function CustomerEnd(props: MyBetaModalFormProps) {
<div style={{ height: '80px' }}>
</div>
</ProCard> */}
</ProCard>
</ProCard>
</div>
);