develop #21
@ -14,7 +14,6 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/': {
|
'/api/': {
|
||||||
// target: 'http://10.39.13.78:8001',
|
|
||||||
target: 'http://10.39.13.78:8001/',
|
target: 'http://10.39.13.78:8001/',
|
||||||
// target: 'https://test-admin.linyikj.com.cn/',
|
// target: 'https://test-admin.linyikj.com.cn/',
|
||||||
// target: 'https://admin.linyikj.com.cn/',
|
// target: 'https://admin.linyikj.com.cn/',
|
||||||
|
|||||||
@ -92,11 +92,12 @@ export default function Index({ title = '小程序页面配置' }) {
|
|||||||
setFormValues({
|
setFormValues({
|
||||||
...res?.data?.config_value,
|
...res?.data?.config_value,
|
||||||
pageColor: newCss,
|
pageColor: newCss,
|
||||||
menu: defaultMenu,
|
menu: res?.data?.config_value?.menu || defaultMenu,
|
||||||
});
|
});
|
||||||
console.log('newCss', newCss);
|
console.log('newCss', newCss);
|
||||||
form.setFieldsValue({
|
form.setFieldsValue({
|
||||||
...res?.data?.config_value,
|
...res?.data?.config_value,
|
||||||
|
menu: res?.data?.config_value?.menu || defaultMenu,
|
||||||
pageColorOtherValue: [
|
pageColorOtherValue: [
|
||||||
{
|
{
|
||||||
color: cssStrColor || '',
|
color: cssStrColor || '',
|
||||||
|
|||||||
@ -2,9 +2,10 @@ import { MyPageContainer, usePageTabs } from '@/common';
|
|||||||
import { Apis } from '@/gen/Apis';
|
import { Apis } from '@/gen/Apis';
|
||||||
import { ProCard } from '@ant-design/pro-components';
|
import { ProCard } from '@ant-design/pro-components';
|
||||||
import { useParams } from '@umijs/max';
|
import { useParams } from '@umijs/max';
|
||||||
import { Space, Tabs } from 'antd';
|
import { Space, Steps, Tabs } from 'antd';
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
|
|
||||||
|
import { FileProtectOutlined } from '@ant-design/icons';
|
||||||
import ComponentsInfo from '../modals/CompanyShow';
|
import ComponentsInfo from '../modals/CompanyShow';
|
||||||
import CompanyUpdate from '../modals/CompanyUpdate';
|
import CompanyUpdate from '../modals/CompanyUpdate';
|
||||||
import CompanyApps from '../table/Apps';
|
import CompanyApps from '../table/Apps';
|
||||||
@ -46,7 +47,7 @@ export default function Show({ title }: { title?: string } = {}) {
|
|||||||
|
|
||||||
let items = [
|
let items = [
|
||||||
{
|
{
|
||||||
label: '应用配置',
|
label: '项目配置',
|
||||||
key: '1',
|
key: '1',
|
||||||
closable: false,
|
closable: false,
|
||||||
children: <CompanyApps item={data} />,
|
children: <CompanyApps item={data} />,
|
||||||
@ -77,12 +78,17 @@ export default function Show({ title }: { title?: string } = {}) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
label: '品牌配置',
|
label: '应用配置',
|
||||||
key: '6',
|
key: '6',
|
||||||
closable: false,
|
closable: false,
|
||||||
children: <Brands item={data} />,
|
children: <Brands item={data} />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '品牌配置',
|
||||||
|
key: '7',
|
||||||
|
closable: false,
|
||||||
|
children: <Assets item={data} />,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '权限配置',
|
label: '权限配置',
|
||||||
key: '8',
|
key: '8',
|
||||||
@ -95,12 +101,6 @@ export default function Show({ title }: { title?: string } = {}) {
|
|||||||
closable: false,
|
closable: false,
|
||||||
children: <CustomerEnd item={data} />,
|
children: <CustomerEnd item={data} />,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: '项目配置',
|
|
||||||
key: '7',
|
|
||||||
closable: false,
|
|
||||||
children: <Assets item={data} />,
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
return (
|
return (
|
||||||
<MyPageContainer title={title}>
|
<MyPageContainer title={title}>
|
||||||
@ -119,11 +119,48 @@ export default function Show({ title }: { title?: string } = {}) {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div>请按以下顺序配置:</div>
|
<div>请按以下顺序配置:</div>
|
||||||
<div style={{ padding: '0 0 10px 0' }}>
|
<div style={{ padding: '10px 0' }}>
|
||||||
<span>
|
<Steps
|
||||||
应用配置 ➡️ 组织配置 ➡️ 岗位配置 ➡️ 员工配置 ➡️ 账号配置 ➡️ 品牌配置
|
type="navigation"
|
||||||
➡️ 权限配置 ➡️ 客户端配置 ➡️ 项目配置;
|
current={-1}
|
||||||
</span>
|
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>
|
</div>
|
||||||
</ProCard>
|
</ProCard>
|
||||||
<ProCard>
|
<ProCard>
|
||||||
|
|||||||
@ -28,7 +28,7 @@ export default function CustomerEnd(props: MyBetaModalFormProps) {
|
|||||||
替换系统默认的颜色统一调整为机构主色,保持视觉格一致,以及首屏底部菜单图标。
|
替换系统默认的颜色统一调整为机构主色,保持视觉格一致,以及首屏底部菜单图标。
|
||||||
</div>
|
</div>
|
||||||
</ProCard>
|
</ProCard>
|
||||||
<ProCard
|
{/* <ProCard
|
||||||
title="金刚区图标配置"
|
title="金刚区图标配置"
|
||||||
type="inner"
|
type="inner"
|
||||||
bordered
|
bordered
|
||||||
@ -39,7 +39,7 @@ export default function CustomerEnd(props: MyBetaModalFormProps) {
|
|||||||
<div style={{ height: '80px' }}>
|
<div style={{ height: '80px' }}>
|
||||||
品牌主色是机构在小程序中最核心的视觉代表色。通过配置品牌主色,你可以让整个小程序的交互组件自动统一为机构专属风格,提升品牌识别度。
|
品牌主色是机构在小程序中最核心的视觉代表色。通过配置品牌主色,你可以让整个小程序的交互组件自动统一为机构专属风格,提升品牌识别度。
|
||||||
</div>
|
</div>
|
||||||
</ProCard>
|
</ProCard> */}
|
||||||
</ProCard>
|
</ProCard>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user