Browse Source

后台管理页面添加

release_0.0.1
xingyongchun 3 years ago
parent
commit
4f400d288a
  1. 10
      web/client/assets/color.less
  2. 5
      web/client/src/app.js
  3. 8
      web/client/src/layout/containers/layout/index.js
  4. 15
      web/client/src/sections/example/actions/example.js
  5. 7
      web/client/src/sections/example/actions/index.js
  6. 43
      web/client/src/sections/example/containers/example.js
  7. 5
      web/client/src/sections/example/containers/index.js
  8. 15
      web/client/src/sections/example/index.js
  9. 16
      web/client/src/sections/example/nav-item.js
  10. 5
      web/client/src/sections/example/reducers/index.js
  11. 18
      web/client/src/sections/example/routes.js
  12. 3
      web/client/src/sections/example/style.less
  13. 2
      web/client/src/sections/fillion/components/bridgeTable.js
  14. 2
      web/client/src/sections/fillion/components/highwaysTable.js
  15. 321
      web/client/src/sections/fillion/components/inforTable.js
  16. 9
      web/client/src/sections/fillion/components/protable.less
  17. 2230
      web/client/src/sections/fillion/components/publicTable.js
  18. 12
      web/client/src/sections/fillion/containers/index.js
  19. 29
      web/client/src/sections/fillion/containers/infor.js
  20. 24
      web/client/src/sections/fillion/nav-item.js
  21. 66
      web/client/src/sections/fillion/routes.js
  22. 30
      web/client/src/sections/middleground/actions/data.js
  23. 7
      web/client/src/sections/middleground/actions/index.js
  24. 118
      web/client/src/sections/middleground/components/dateModal.js
  25. 5
      web/client/src/sections/middleground/components/index.js
  26. 157
      web/client/src/sections/middleground/containers/data.js
  27. 5
      web/client/src/sections/middleground/containers/index.js
  28. 15
      web/client/src/sections/middleground/index.js
  29. 18
      web/client/src/sections/middleground/nav-item.js
  30. 5
      web/client/src/sections/middleground/reducers/index.js
  31. 14
      web/client/src/sections/middleground/routes.js
  32. 86
      web/client/src/sections/middleground/style.less
  33. 5
      web/client/src/sections/organization/containers/index.js
  34. 9
      web/client/src/sections/organization/nav-item.js
  35. 10
      web/client/src/sections/organization/routes.js
  36. 37
      web/client/src/sections/report/actions/compile.js
  37. 59
      web/client/src/sections/report/actions/config.js
  38. 26
      web/client/src/sections/report/actions/download.js
  39. 11
      web/client/src/sections/report/actions/index.js
  40. 118
      web/client/src/sections/report/components/compileDrawer.js
  41. 124
      web/client/src/sections/report/components/configModal.js
  42. 111
      web/client/src/sections/report/containers/compile.js
  43. 157
      web/client/src/sections/report/containers/config.js
  44. 129
      web/client/src/sections/report/containers/download.js
  45. 7
      web/client/src/sections/report/containers/index.js
  46. 15
      web/client/src/sections/report/index.js
  47. 35
      web/client/src/sections/report/nav-item.js
  48. 5
      web/client/src/sections/report/reducers/index.js
  49. 33
      web/client/src/sections/report/routes.js
  50. 3
      web/client/src/sections/report/style.less
  51. 4
      web/log/development.txt
  52. 615
      web/package-lock.json
  53. 1
      web/package.json

10
web/client/assets/color.less

@ -1149,10 +1149,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-mentions-dropdown-menu-item-active {background-color: @item-hover-bg;} .ant-mentions-dropdown-menu-item-active {background-color: @item-hover-bg;}
.ant-menu-item-danger.ant-menu-item {color: #ff4d4f;} .ant-menu-item-danger.ant-menu-item {color: #ff4d4f;}
.ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: #ff4d4f;} .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: #ff4d4f;}
.ant-menu-item-danger.ant-menu-item:active {background: #fff1f0;} .ant-menu-item-danger.ant-menu-item:active {background: color(~`colorPalette("@{radio-dot-disabled-color}", 1)`);}
.ant-menu-item-danger.ant-menu-item-selected {color: #ff4d4f;} .ant-menu-item-danger.ant-menu-item-selected {color: #ff4d4f;}
.ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: #ff4d4f;} .ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: #ff4d4f;}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: #fff1f0;} .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: color(~`colorPalette("@{radio-dot-disabled-color}", 1)`);}
.ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: #ff4d4f;} .ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: #ff4d4f;}
.ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: #ff4d4f;} .ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: #ff4d4f;}
.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: #ff4d4f;} .ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: #ff4d4f;}
@ -1722,11 +1722,11 @@ tr.ant-table-expanded-row:hover > td {background: @table-expanded-row-bg;}
.ant-tag-checkable:active, .ant-tag-checkable-checked {color: #fff;} .ant-tag-checkable:active, .ant-tag-checkable-checked {color: #fff;}
.ant-tag-checkable-checked {background-color: @primary-color;} .ant-tag-checkable-checked {background-color: @primary-color;}
.ant-tag-checkable:active {background-color: color(~`colorPalette("@{primary-color}", 7)`);} .ant-tag-checkable:active {background-color: color(~`colorPalette("@{primary-color}", 7)`);}
.ant-tag-pink {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;} .ant-tag-pink {color: #c41d7f;background: color(~`colorPalette("@{alert-info-bg-color}", 1)`);border-color: #ffadd2;}
.ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;} .ant-tag-magenta {color: #c41d7f;background: color(~`colorPalette("@{alert-info-bg-color}", 1)`);border-color: #ffadd2;}
.ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;} .ant-tag-red {color: #cf1322;background: color(~`colorPalette("@{radio-dot-disabled-color}", 1)`);border-color: #ffa39e;}
.ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;}
.ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;} .ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;}
.ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;} .ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;}

5
web/client/src/app.js

@ -3,11 +3,8 @@
import React, { useEffect } from 'react'; import React, { useEffect } from 'react';
import Layout from './layout'; import Layout from './layout';
import Auth from './sections/auth'; import Auth from './sections/auth';
import Report from './sections/report';
import Example from './sections/example';
import Quanju from './sections/quanju'; import Quanju from './sections/quanju';
import Organization from './sections/organization' import Organization from './sections/organization'
import Middleground from './sections/middleground';
import Fillion from './sections/fillion' import Fillion from './sections/fillion'
@ -21,7 +18,7 @@ const App = props => {
return ( return (
<Layout <Layout
title={projectName} title={projectName}
sections={[Middleground, Auth, Organization, Report, Fillion, Example, Quanju]} sections={[ Auth, Organization, Fillion, Quanju]}
/> />
) )
} }

8
web/client/src/layout/containers/layout/index.js

@ -8,7 +8,6 @@ import { connect } from 'react-redux';
import { message, Layout, Breadcrumb, Badge } from 'antd'; import { message, Layout, Breadcrumb, Badge } from 'antd';
import Sider from '../../components/sider'; import Sider from '../../components/sider';
import { getDepMessage } from "../../../sections/organization/actions/user" import { getDepMessage } from "../../../sections/organization/actions/user"
import { getFundamental } from "../../../sections/middleground/actions/data"
import Header from '../../components/header'; import Header from '../../components/header';
import Footer from '../../components/footer'; import Footer from '../../components/footer';
import Breadcrumbs from './breadcrumb'; import Breadcrumbs from './breadcrumb';
@ -60,12 +59,7 @@ const LayoutContainer = props => {
}); });
scrollbar = new PerfectScrollbar('#page-content', { suppressScrollX: true }); scrollbar = new PerfectScrollbar('#page-content', { suppressScrollX: true });
}, []) }, [])
useEffect(() => {
// 获取数据
dispatch(getFundamental()).then(res => {
setDatas(res)
})
}, [true])
useEffect(() => { useEffect(() => {
NProgress.done(); NProgress.done();
if (!user || !user.authorized) { if (!user || !user.authorized) {

15
web/client/src/sections/example/actions/example.js

@ -1,15 +0,0 @@
'use strict';
import { basicAction } from '@peace/utils'
import { ApiTable } from '$utils'
export function getMembers(orgId) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_MEMBERS',
url: `${ApiTable.getEnterprisesMembers.replace('{enterpriseId}', orgId)}`,
msg: { error: '获取用户列表失败' },
reducer: { name: 'members' }
});
}

7
web/client/src/sections/example/actions/index.js

@ -1,7 +0,0 @@
'use strict';
import * as example from './example'
export default {
...example
}

43
web/client/src/sections/example/containers/example.js

@ -1,43 +0,0 @@
import React, { useEffect } from 'react';
import { connect } from 'react-redux';
import { Spin, Card } from 'antd';
import '../style.less';
import ProTable, { TableDropdown } from '@ant-design/pro-table';
const Example = (props) => {
const { dispatch, actions, user, loading } = props
useEffect(() => {
dispatch(actions.example.getMembers(user.orgId))
}, [])
return (
<Spin tip="biubiubiu~" spinning={loading}>
<div id='example'>
<p>STYLE EXAMPLE</p>
</div>
<ProTable
columns={[{
dataIndex: 'index',
valueType: 'indexBorder',
width: 48,
}]}
defaultData={[{ index: 1, key: 1 }]}
>
</ProTable>
</Spin>
)
}
function mapStateToProps(state) {
const { auth, global, members } = state;
return {
loading: members.isRequesting,
user: auth.user,
actions: global.actions,
members: members.data
};
}
export default connect(mapStateToProps)(Example);

5
web/client/src/sections/example/containers/index.js

@ -1,5 +0,0 @@
'use strict';
import Example from './example';
export { Example };

15
web/client/src/sections/example/index.js

@ -1,15 +0,0 @@
'use strict';
import reducers from './reducers';
import routes from './routes';
import actions from './actions';
import { getNavItem } from './nav-item';
export default {
key: 'example',
name: '书写示例',
reducers: reducers,
routes: routes,
actions: actions,
getNavItem: getNavItem
};

16
web/client/src/sections/example/nav-item.js

@ -1,16 +0,0 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { Menu } from 'antd';
import { SettingOutlined } from '@ant-design/icons';
const SubMenu = Menu.SubMenu;
export function getNavItem(user, dispatch) {
return (
<SubMenu key="example" icon={<SettingOutlined />} title={'举个栗子'}>
<Menu.Item key="e1">
<Link to="/example/e1">举个棒子</Link>
</Menu.Item>
</SubMenu>
);
}

5
web/client/src/sections/example/reducers/index.js

@ -1,5 +0,0 @@
'use strict';
export default {
}

18
web/client/src/sections/example/routes.js

@ -1,18 +0,0 @@
'use strict';
import { Example, } from './containers';
export default [{
type: 'inner',
route: {
path: '/example',
key: 'example',
breadcrumb: '栗子',
// 不设置 component 则面包屑禁止跳转
childRoutes: [{
path: '/e1',
key: 'e1',
component: Example,
breadcrumb: '棒子',
}]
}
}];

3
web/client/src/sections/example/style.less

@ -1,3 +0,0 @@
#example:hover {
font-size: larger;
}

2
web/client/src/sections/fillion/components/bridgeTable.js

@ -30,7 +30,7 @@ const BrideTable = (props) => {
onChange: (value, cs) => { onChange: (value, cs) => {
setSitename(value.currentTarget.value) setSitename(value.currentTarget.value)
}, },
placeholder: '请输入道路名称进行搜索', placeholder: '请输入桥梁代码进行搜索',
getPopupContainer: (triggerNode) => triggerNode.parentNode, getPopupContainer: (triggerNode) => triggerNode.parentNode,
}, },
}, },

2
web/client/src/sections/fillion/components/highwaysTable.js

@ -30,7 +30,7 @@ const HigwaysTable = (props) => {
onChange: (value, cs) => { onChange: (value, cs) => {
setSitename(value.currentTarget.value) setSitename(value.currentTarget.value)
}, },
placeholder: '请输入道路名称进行搜索', placeholder: '请输入桥梁代码进行搜索',
getPopupContainer: (triggerNode) => triggerNode.parentNode, getPopupContainer: (triggerNode) => triggerNode.parentNode,
}, },
}, },

321
web/client/src/sections/fillion/components/inforTable.js

@ -1,8 +1,8 @@
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Spin, Button, Popconfirm, TreeSelect } from 'antd'; import { Spin, Button, Popconfirm, Badge } from 'antd';
import ProTable from '@ant-design/pro-table'; import ProTable from '@ant-design/pro-table';
import './protable.less'
import moment from 'moment'; import moment from 'moment';
import { getReportStatistic } from "../actions/infor" import { getReportStatistic } from "../actions/infor"
const InForTable = (props) => { const InForTable = (props) => {
@ -16,95 +16,240 @@ const InForTable = (props) => {
useEffect(() => { useEffect(() => {
setRegionId(user.departmentId) setRegionId(user.departmentId)
}, [user]) }, [user])
useEffect(() => {
setDay([moment('2022-03-01').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD')]) const columns =
}, [depData]) [
const onChange = (value) => {
// setRegionName(value)
setRegionId(value)
}
const columns = [
{ {
title: '场所名称', title: '检测点名称',
dataIndex: 'placeName', dataIndex: 'placeName',
formItemProps: { fixed: 'left',
label: '场所名称', width: 120,
}, options: 1,
backgroundColor: "#ffffff",
fieldProps: { fieldProps: {
onChange: (value, cs) => { onChange: (value, cs) => {
setSitename(value.currentTarget.value) setSitename(value.currentTarget.value)
}, },
placeholder: '请输入场所名称进行搜索', placeholder: '请输入检测点名称进行搜索',
getPopupContainer: (triggerNode) => triggerNode.parentNode, getPopupContainer: (triggerNode) => triggerNode.parentNode,
}, },
}, },
{ {
title: '场所地址', title: '车牌号',
search: false, // search: false,
dataIndex: 'time', dataIndex: 'containers1',
valueType: 'dateRange',
initialValue: day, fixed: 'left',
order: 4, width: 120,
render: (dom, record) => { render: (dom, record) => {
return record.address return record.address
}, },
fieldProps: { fieldProps: {
placeholder: '请输入车牌号进行搜索',
getPopupContainer: (triggerNode) => triggerNode.parentNode, getPopupContainer: (triggerNode) => triggerNode.parentNode,
} }
}, },
{ {
title: '隐患场所', title: '车轴数',
dataIndex: 'regionName', // search: false,
valueType: 'select', dataIndex: 'containers2',
initialValue: -1, width: 120,
render: (dom, record) => {
return record.address
},
fieldProps: { fieldProps: {
label: null, placeholder: '请输入车轴数进行搜索',
onChange: (value, cs) => { getPopupContainer: (triggerNode) => triggerNode.parentNode,
setPlaceType(value); }
}, },
options: [{ {
title: '超限率(%)',
// search: false,
dataIndex: 'containers3',
// valueType: 'dateRange',
// initialValue: day,
width: 120,
render: (dom, record) => {
return record.address
},
fieldProps: {
placeholder: '请输入超限率进行搜索',
getPopupContainer: (triggerNode) => triggerNode.parentNode,
}
}, {
title: '超限重量(kg)',
search: false,
dataIndex: 'containers4',
valueType: 'dateRange',
initialValue: day,
label: '全部', width: 120,
value: -1 render: (dom, record) => {
return record.address
}, },
{ fieldProps: {
label: '隐患场所', getPopupContainer: (triggerNode) => triggerNode.parentNode,
value: 0 }
}, { }, {
label: '非隐患场所', title: '车货总重(kg)',
value: 1 search: false,
dataIndex: 'containers5',
valueType: 'dateRange',
initialValue: day,
width: 120,
render: (dom, record) => {
return record.address
},
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
}
}, { }, {
label: '非合用场所', title: '车货限重(kg)',
value: 2 search: false,
},], dataIndex: 'containers6',
valueType: 'dateRange',
initialValue: day,
width: 120,
render: (dom, record) => {
return record.address
},
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode, getPopupContainer: (triggerNode) => triggerNode.parentNode,
}
}, {
title: '检测时间',
// search: false,
key: 'since',
dataIndex: 'createdAt',
valueType: 'dateTime',
width: 120,
render: (dom, record) => {
return record.address
}, },
order: 5, fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
}
}, {
title: '经营业户名称',
search: false,
dataIndex: 'containers8',
valueType: 'dateRange',
initialValue: day,
width: 120,
render: (dom, record) => { render: (dom, record) => {
let flag = "是" return record.address
if (record.hiddenDangerItem12 == null) { },
flag = <span style={{ color: '#8c8987' }}>/</span> fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
} }
if (record.hiddenDangerItem12 && record.correctiveAction == null && record.punishment == null) { }, {
flag = <span style={{ color: '#8c8987' }}></span> title: '经营业户地址',
search: false,
dataIndex: 'containers9',
valueType: 'dateRange',
initialValue: day,
width: 140,
render: (dom, record) => {
return record.address
},
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
} }
return flag }, {
title: '通知人',
search: false,
dataIndex: 'containers10',
valueType: 'dateRange',
initialValue: day,
width: 140,
render: (dom, record) => {
return record.address
},
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
} }
}, {
title: '通知方式',
search: false,
dataIndex: 'containers11',
valueType: 'dateRange',
initialValue: day,
width: 140,
render: (dom, record) => {
return record.address
}, },
{ fieldProps: {
title: '排查日期', getPopupContainer: (triggerNode) => triggerNode.parentNode,
dataIndex: 'time', }
}, {
title: '通知结果(打不通、表示不来、不是当事人)',
search: false,
dataIndex: 'containers12',
valueType: 'dateRange', valueType: 'dateRange',
initialValue: day, initialValue: day,
order: 4,
width: 140,
render: (dom, record) => {
return record.address
},
fieldProps: { fieldProps: {
onChange: (value, cs) => { getPopupContainer: (triggerNode) => triggerNode.parentNode,
setDay(cs) }
}, {
title: '处理时间',
search: false,
dataIndex: 'time9',
valueType: 'dateRange',
initialValue: day,
width: 140,
render: (dom, record) => {
return record.address
}, },
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode, getPopupContainer: (triggerNode) => triggerNode.parentNode,
}
}, {
title: '扣分',
search: false,
dataIndex: 'containers13',
valueType: 'dateRange',
initialValue: day,
width: 140,
render: (dom, record) => {
return record.address
}, },
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
}
}, {
title: '罚款',
search: false,
dataIndex: 'containers14',
valueType: 'dateRange',
initialValue: day,
width: 140,
render: (dom, record) => { render: (dom, record) => {
return [moment(record.time).format('YYYY-MM-DD HH:mm:ss'),] return record.address
},
fieldProps: {
getPopupContainer: (triggerNode) => triggerNode.parentNode,
} }
}, },
{ {
@ -112,41 +257,54 @@ const InForTable = (props) => {
dataIndex: 'creatTime', dataIndex: 'creatTime',
valueType: 'dateTimeRange', valueType: 'dateTimeRange',
hideInSearch: true, hideInSearch: true,
width: 120,
fixed: 'right',
render: (dom, record) => { render: (dom, record) => {
return <Button type="link" onClick={() => { props.openModal('edit', record) }}>详情</Button> return <div><Button type="link">编辑</Button><Button type="link"></Button></div>
} }
}, },
{
key: "direction",
hideInTable: true,
dataIndex: "direction",
order: 6,
renderFormItem: (item, { type, defaultRender, ...rest }, form) => {
return (
<div> <Button
type="primary"
style={{ width: "100px" }}
onClick={() => {
dispatch(push(`article/update/post`));
}}
>
新增
</Button>
<Button
type="primary"
style={{ width: "100px", marginLeft: 20 }}
onClick={() => {
// dispatch(push(`article/update/post`));
}}
>
导入
</Button>
</div>
);
},
},
] ]
return ( return (
<Spin spinning={false}> <Spin spinning={false}>
<h4 style={{ position: 'relative', top: '34px', left: '62px' }}>区域</h4> <div className='protable-transpor'>
<TreeSelect
value={regionId}
suffixIcon={true}
dropdownMatchSelectWidth={false}
style={{ width: '18.4%', marginLeft: '104px' }}
treeData={depData}
placeholder="全部"
showSearch={true}
onChange={onChange}
treeDefaultExpandAll={false}
request={async () => {
return depData
}}
expandedKeys={["title"]}
notFoundContent={
depLoading ?
<p style={{ textAlign: 'center' }}>
<Spin spinning={depLoading}></Spin>
</p> :
<p style={{ textAlign: 'center' }}>暂无数据</p>
}
getPopupContainer={(triggerNode) => triggerNode.parentNode}
/>
<div>
<ProTable <ProTable
scroll={{ x: 800 }}
options={false}
ref={c => { finishedProductTable = c; }}
style={{ width: "100% ", overflow: "auto", height: '760px' }} style={{ width: "100% ", overflow: "auto", height: '760px' }}
rowKey="id" rowKey='id'
onReset={(v) => { onReset={(v) => {
const { id } = depMessage[0] const { id } = depMessage[0]
console.log(id) console.log(id)
@ -162,7 +320,7 @@ const InForTable = (props) => {
}, },
}} }}
columns={columns} columns={columns}
options={false}
dataSource={(counts || {}).rows || []} dataSource={(counts || {}).rows || []}
request={async (params) => { request={async (params) => {
const query = { const query = {
@ -194,6 +352,7 @@ const InForTable = (props) => {
</Popconfirm> </Popconfirm>
], ],
}} }}
> >
</ProTable></div> </ProTable></div>

9
web/client/src/sections/fillion/components/protable.less

@ -7,3 +7,12 @@
} }
} }
.spilce{
.split-row-select-active {
background-color: #e6f7ff;
}
}
.card-protable{display: flex;
flex-direction:row;
width: 100%;
}

2230
web/client/src/sections/fillion/components/publicTable.js

File diff suppressed because it is too large

12
web/client/src/sections/fillion/containers/index.js

@ -1,6 +1,12 @@
'use strict'; 'use strict';
import infor from './infor'; import Infor from './infor';
import transportation from './transportation';
import BridgeTable from './bridge';
import HigHways from './highways';
import OperaTional from './operational';
import Enforce from './enforce';
import Public from './public';
import Videois from './videois';
export { Infor,transportation,BridgeTable,HigHways,OperaTional,Enforce,Public,Videois };
export { infor };

29
web/client/src/sections/fillion/containers/infor.js

@ -3,7 +3,6 @@ import { connect } from 'react-redux';
import '../style.less'; import '../style.less';
import { getDepMessage, getReportStatistic } from "../actions/infor" import { getDepMessage, getReportStatistic } from "../actions/infor"
import InForTable from '../components/inforTable'; import InForTable from '../components/inforTable';
import UserModal from '../components/infor/details';
const superagent = require('superagent'); const superagent = require('superagent');
const infor = (props) => { const infor = (props) => {
const { dispatch, user} = props const { dispatch, user} = props
@ -15,16 +14,16 @@ const infor = (props) => {
dispatch(getReportStatistic()) dispatch(getReportStatistic())
setData(props) setData(props)
}, []); }, []);
//打开弹窗 // //打开弹窗
const openModal = (type, record) => { // const openModal = (type, record) => {
setModalVisible(true); // setModalVisible(true);
// setModalType(type); // // setModalType(type);
if (type == 'edit') { // if (type == 'edit') {
setModalRecord(record); // setModalRecord(record);
} else { // } else {
setModalRecord(null); // setModalRecord(null);
} // }
} // }
//批量导出 //批量导出
const exports = (ids,counts) => { const exports = (ids,counts) => {
// console.log(user); // console.log(user);
@ -42,12 +41,8 @@ const infor = (props) => {
}) })
} }
return ( return (
<> <InForTable data={data} openModal={openModal} exports={exports} /> <> <InForTable data={data} exports={exports} />
<UserModal </>
visible={modalVisible}
onVisibleChange={setModalVisible}
modalRecord={modalRecord}
/></>
) )
} }
function mapStateToProps(state) { function mapStateToProps(state) {

24
web/client/src/sections/fillion/nav-item.js

@ -5,9 +5,29 @@ import { ReadOutlined } from '@ant-design/icons';
const SubMenu = Menu.SubMenu; const SubMenu = Menu.SubMenu;
export function getNavItem(user, dispatch) { export function getNavItem(user, dispatch) {
return ( return (
<SubMenu key="fillion" icon={<ReadOutlined />} title={'填报管理'}> <SubMenu key="fillion" icon={<ReadOutlined />} title={'数据管理'}>
<Menu.Item key="fillioninfor"> <Menu.Item key="fillioninfor">
<Link to="/fillion/infor">填报信息</Link> <Link to="/fillion/infor">治超管理</Link>
</Menu.Item>
<Menu.Item key="filliontransportation">
<Link to="/fillion/transportation">道路管理</Link>
</Menu.Item><Menu.Item key="fillionbridge">
<Link to="/fillion/bridge">桥梁管理</Link>
</Menu.Item>
<Menu.Item key="fillionhighways">
<Link to="/fillion/highways">路政管理</Link>
</Menu.Item>
<Menu.Item key="fillionoperational">
<Link to="/fillion/operational">运政管理</Link>
</Menu.Item>
<Menu.Item key="fillionenforce">
<Link to="/fillion/enforce">执法管理</Link>
</Menu.Item>
<Menu.Item key="fillionpublic">
<Link to="/fillion/public">公交管理</Link>
</Menu.Item>
<Menu.Item key="fillionvideois">
<Link to="/fillion/videois">视频管理</Link>
</Menu.Item> </Menu.Item>
</SubMenu> </SubMenu>
); );

66
web/client/src/sections/fillion/routes.js

@ -1,19 +1,71 @@
'use strict'; 'use strict';
import { infor } from './containers'; import { Infor } from './containers';
import { transportation } from './containers';
import { BridgeTable } from './containers';
import { HigHways } from './containers';
import { OperaTional } from './containers';
import { Enforce } from './containers';
import { Public } from './containers';
import { Videois } from './containers';
export default [{ export default [{
type: 'inner', type: 'inner',
route: { route: {
path: '/fillion', path: '/fillion',
key: 'fillion', key: 'fillion',
breadcrumb: '填报管理', breadcrumb: '数据管理',
menuSelectKeys: ['fillion'], menuSelectKeys: ['fillion'],
menuOpenKeys: ['fillion'], menuOpenKeys: ['fillion'],
childRoutes: [ { childRoutes: [{
path: '/infor', path: '/infor',
key: 'fillioninfor', key: 'fillioninfor',
menuSelectKeys:['fillioninfor'], menuSelectKeys: ['fillioninfor'],
component: infor, component: Infor,
breadcrumb: '填报信息', breadcrumb: '治超管理',
}] }, {
path: '/transportation',
key: 'filliontransportation',
menuSelectKeys: ['filliontransportation'],
component: transportation,
breadcrumb: '道路管理',
}
, {
path: '/bridge',
key: 'fillionbridge',
menuSelectKeys: ['fillionbridge'],
component: BridgeTable,
breadcrumb: '桥梁管理',
}
, {
path: '/highways',
key: 'fillionhighways',
menuSelectKeys: ['fillionhighways'],
component: HigHways,
breadcrumb: '路政管理',
}, {
path: '/operational',
key: 'fillionoperational',
menuSelectKeys: ['fillionoperational'],
component: OperaTional,
breadcrumb: '运政管理',
}, {
path: '/enforce',
key: 'fillionenforce',
menuSelectKeys: ['fillionenforce'],
component: Enforce,
breadcrumb: '执法管理',
}, {
path: '/public',
key: 'fillionpublic',
menuSelectKeys: ['fillionpublic'],
component: Public,
breadcrumb: '公交管理',
}, {
path: '/videois',
key: 'fillionvideois',
menuSelectKeys: ['fillionvideois'],
component: Videois,
breadcrumb: '视频管理',
}
]
} }
}]; }];

30
web/client/src/sections/middleground/actions/data.js

@ -1,30 +0,0 @@
'use strict';
import { basicAction } from '@peace/utils'
import { ApiTable } from '$utils'
export function getFundamental() {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_DATA',
url: ApiTable.getFundamental,
msg: { error: '获取数据失败' },
reducer: { name: 'datas' }
});
}
export function getsortord(zuo, day) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_PATIENTIA',
url: ApiTable.getsortord.replace('{zuo}', zuo).replace('{day}', day),
msg: { error: '日期更新失败' },
reducer: { name: 'Patientia' }
});
}
export default {
getFundamental,
getsortord
}

7
web/client/src/sections/middleground/actions/index.js

@ -1,7 +0,0 @@
'use strict';
import * as date from "./data"
export default {
...date
}

118
web/client/src/sections/middleground/components/dateModal.js

@ -1,118 +0,0 @@
import React, { useState, useEffect } from 'react'
import { connect } from 'react-redux';
import { getFundamental } from '../actions/data';
import * as echarts from "echarts"
import "../style.less"
const DateModal = (props) => {
const { dispatch } = props
const [lists, setLists] = useState([])
const [keys, setKeys] = useState([])
const [days, setDays] = useState()
const [unkeys, setUnkeys] = useState([])
const [num, setNum] = useState(1)
useEffect(() => {
// 获取数据
dispatch(getFundamental()).then(res => {
setDays(res.payload.data.date)
})
}, [true])
const op = () => {
// 把获取的数据进行加工
if (days && num == 1) {
var daysValues = Object.values(days)
var daysKeys = Object.keys(days)
var list = []
var arr = []
var months = []
for (let index = 6; index >= 0; index--) {
list.push(daysValues[index])
}
setLists(list)
for (let index = 6; index >= 0; index--) {
arr.push(daysKeys[index].substring(8))
}
for (let index = 6; index >= 0; index--) {
months.push(daysKeys[index].charAt(5) + "" + daysKeys[index].charAt(6))
}
setUnkeys(months)
setKeys(arr)
setNum(2)
}
}
op()
useEffect(() => {
let a = ([...keys])
let list = []
for (let index = 0; index < 7; index++) {
list.push(a[index])
}
for (let index = 0; index < 7; index++) {
list[index] = list[index] + "日"
}
var myChart = echarts.init(document.getElementById('echarts'));
// window.onresize在重复使用过程中会被覆盖
// window.onresize = myChart.resize;
// addEventListener来添加监听resize的事件,将能避免onresize的覆盖问题,并能实现对窗口的监听操作
window.addEventListener("resize", function () {
myChart.resize()
})
var option = {
title: {
text: '近七日填报数量',
left: "7%"
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
tooltip: {
trigger: 'item',
formatter: function (params) {
var htmlStr = `填报数量:${params.value}条<br/>${unkeys[params.dataIndex] + "月" + params.name}<br/>`
return htmlStr;
}
},
xAxis: {
type: 'category',
data: list,
axisTick: {
alignWithLabel: true
}
},
yAxis: {
type: "value",
},
series: [
{
name: '填报数量',
type: 'bar',
data: lists,
barWidth: 40
}
]
};
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);
}, [lists])
return (
<div id='echarts'></div>
)
}
function mapStateToProps(state) {
const { auth, depMessage, depUser, global } = state;
return {
user: auth.user,
clientHeight: global.clientHeight,
loading: depMessage.isRequesting,
depMessage: depMessage.data || [],
depUser: depUser.data || []
};
}
export default connect(mapStateToProps)(DateModal)

5
web/client/src/sections/middleground/components/index.js

@ -1,5 +0,0 @@
'use strict';
import DateModal from './dateModal';
export { DateModal };

157
web/client/src/sections/middleground/containers/data.js

@ -1,157 +0,0 @@
import React, { useEffect, useState } from "react";
import { connect } from "react-redux";
import { Space, Row, Col, DatePicker, Spin } from "antd";
import { getFundamental, getsortord } from "../actions/data";
import { DateModal } from "../components";
import moment from "moment";
import "../style.less";
const { RangePicker } = DatePicker;
const UserManage = (props) => {
const { dispatch, loading, datas, Patientias } = props;
const dateFormat = "YYYY/MM/DD";
const [data, setData] = useState();
const [Patientia, setPatientia] = useState();
useEffect(() => {
// 获取数据
dispatch(getFundamental()).then((res) => {
setData(res);
});
}, [true]);
useEffect(() => {
// 根据接口获取规定时间内获取到的数据
var customField = [
moment().add(-6, "day").format("YYYY-MM-DD"),
moment(new Date(), dateFormat).format("YYYY-MM-DD"),
];
dispatch(getsortord(customField[0], customField[1])).then((res) => {
setPatientia(res.payload.data);
});
}, [true]);
// useEffect(() => {
/* Patientia ? setPatientia(Patientia */ /* .sort(sortByKey("count")) */ /* ) : null */
// }, [Patientia])
// 根据数组里面对象的key值进行排序
// const sortByKey = (key) => {
// return function (a, b) {
// var value1 = a[key];
// var value2 = b[key];
// return value2 - value1;
// }
// }
const disabledDate = (current) => {
return (
(current && current < moment("2022/03/01").subtract("day")) ||
current > moment(new Date()).subtract("days")
);
};
const getTime = (date) => {
// 根据时间框时间获取数据进行展示
if (date) {
var ao = [];
ao.push(date[0].format("YYYY/MM/DD"));
ao.push(date[1].format("YYYY/MM/DD"));
}
dispatch(getsortord(ao[0], ao[1])).then((res) => {
setPatientia(res.payload.data /* .sort(sortByKey("count")) */);
});
};
return (
<div style={{ overflow: "hiddle" }}>
{/* 此处进行了loding的效果 */}
<Spin spinning={loading} tip="稍等片刻~">
{/* 页面上部分代码 */}
<div className="shuju-top">
<Row className="wrap" type="flex" justify="center" align="middle">
<Col span={6} align="center">
<span>今日新增填报</span>
<p> {datas.data ? datas.data.added : null}</p>
</Col>
<Col span={6} align="center">
<span>今日已审填报</span>
<p>
{datas.data ? datas.data.checked : null}
<span>/{datas.data ? datas.data.unChecked : null}</span>
</p>
</Col>
<Col span={6} align="center">
<span>隐患场所总数</span>
<p>{datas.data ? datas.data.danger_place : null}</p>
</Col>
<Col span={6} align="center">
<span>历史填报</span>
<p>{datas.data ? datas.data.history : null}</p>
</Col>
</Row>
</div>
{/* 页面下部分代码 */}
<div className="shuju-floer">
{/* echarts柱状图 */}
<div className="shuju-floer-left">{datas ? <DateModal /> : null}</div>
{/* 根据时间进行的排序 */}
<div className="shuju-floer-reght">
<p>各区县合用场所填报数量</p>
<Space direction="vertical" size={12}>
<RangePicker
disabledDate={disabledDate}
onChange={getTime}
defaultValue={[
moment().add(-6, "day"),
moment(new Date(), dateFormat)
]}
width={"100%"}
allowClear={false}
/>
</Space>
<div className="dataDisplay">
{Patientias
? Patientias.map((item, index) => {
return (
<li
key={index}
className="traverse"
style={{ marginTop: index == 0 ? "30px" : "0" }}
>
{index >= 3 ? (
<div className="topThree">{index + 1}</div>
) : (
<div className="untopThree">{index + 1}</div>
)}
<span className="siteName">{item.name}</span>
<span className="sitePeople">{item.count}</span>
</li>
);
})
: null}
</div>
</div>
</div>
</Spin>
</div>
);
};
function mapStateToProps(state) {
// console.log(state);
const { auth, depMessage, depUser, global, datas, Patientia } = state;
// 在reducer中进行数据处理
const sortByKey = (key) => {
return function (a, b) {
var value1 = a[key];
var value2 = b[key];
return value2 - value1;
};
};
return {
user: auth.user,
clientHeight: global.clientHeight,
loading: datas.isRequesting && Patientia.isRequesting,
depMessage: depMessage.data || [],
depUser: depUser.data || [],
datas: datas || [],
Patientias: Patientia.data
? Patientia.data.sort(sortByKey("count"))
: null || [],
};
}
export default connect(mapStateToProps)(UserManage);

5
web/client/src/sections/middleground/containers/index.js

@ -1,5 +0,0 @@
'use strict';
import UserManage from './data';
export { UserManage };

15
web/client/src/sections/middleground/index.js

@ -1,15 +0,0 @@
'use strict';
import reducers from './reducers';
import routes from './routes';
import actions from './actions';
import { getNavItem } from './nav-item';
export default {
key: 'middleground',
name: '',
reducers: reducers,
routes: routes,
actions: actions,
getNavItem: getNavItem
};

18
web/client/src/sections/middleground/nav-item.js

@ -1,18 +0,0 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { Menu } from 'antd';
import { BarChartOutlined } from '@ant-design/icons';
import { push } from 'react-router-redux';
export function getNavItem(user, dispatch) {
if (user.type != 1) {
dispatch(push('/fillion/infor'));
return null
}
return (
<Menu.Item key="middleground" icon={<BarChartOutlined />}>
<Link to="/middleground">数据中心</Link>
</Menu.Item>
);
}

5
web/client/src/sections/middleground/reducers/index.js

@ -1,5 +0,0 @@
'use strict';
export default {
};

14
web/client/src/sections/middleground/routes.js

@ -1,14 +0,0 @@
'use strict';
import { UserManage } from './containers';
export default [{
type: 'inner',
route: {
path: '/middleground',
key: 'middleground',
breadcrumb: '数据中心',
menuSelectKeys: ['userManage'],
component: UserManage,
menuOpenKeys: ['middleground'],
}
}];

86
web/client/src/sections/middleground/style.less

@ -1,86 +0,0 @@
.shuju-top{
width: 100%;
min-Width: 1110px;
height: 20vh;
border: 1px solid #F2F2F2;
border-Right: 0;
margin-top: 5vh;
overflow: auto;
.wrap{
min-Height: 100%;
span{
color: #959595;
font-Size: 18px;
}
p{
font-Size: 34px;
}
}
}
.shuju-floer{
width: 100%;
height: 500px;
float: left;
margin-Top: 50px;
min-Width: 1110px;
.shuju-floer-left{
height: 500px;
float: left;
#echarts{
width: calc(75vw - 200px );
min-Width: 810px;
height: 500px;
}
}
.shuju-floer-reght{
width: calc(32vw - 200px );
min-Width: 290px;
height: 100%;
float: left;
p{
color: #464646;
font-Size: 18px;
font-Weight: 600;
}
.dataDisplay{
width: 340px;
height: 75%;
overflow-y: auto;
.traverse{
width: 300px;
height: 30px;
list-style: none;
.topThree{
width: 20px;
height: 20px;
background-Color: #f0f2f5;
float: left;
color: rgba(0, 0, 0, 0.6470588235294118);
border-Radius: 50%;
text-align: center;
line-Height: 20px;
font-Size: 12px;
}
.untopThree{
width: 20px;
height: 20px;
background-Color: #314559;
float: left;
color: #FFFFFF;
border-radius: 50%;
text-align: center;
line-height: 20px;
font-size: 12px;
}
.siteName{
margin-left: 20px;
}
.sitePeople{
float: right;
margin-right: 10px;
}
}
}
}
}

5
web/client/src/sections/organization/containers/index.js

@ -1,6 +1,7 @@
'use strict'; 'use strict';
import Authority from './authority';
import UserManage from './user'; import UserManage from './user';
export { Authority, UserManage };
export { UserManage};

9
web/client/src/sections/organization/nav-item.js

@ -18,14 +18,15 @@ export function getNavItem(user, dispatch) {
return null return null
} }
return ( return (
<SubMenu key="organization" icon={<SettingOutlined />} title={'组织管理'}> <SubMenu key="organization" icon={<SettingOutlined />} title={'授权管理'}>
{Func.isAuthorized("ORG_MEMBER") && <Menu.Item key="userManage"> {Func.isAuthorized("ORG_MEMBER") && <Menu.Item key="userManage">
<Link to="/organization/user">用户管理</Link> <Link to="/organization/user">用户管理</Link>
</Menu.Item> </Menu.Item>
} }
{Func.isAuthorized("ORG_AUTH") && <Menu.Item key="authority">
<Link to="/organization/authority">权限配置</Link>
</Menu.Item>}
</SubMenu> </SubMenu>
); );
} }

10
web/client/src/sections/organization/routes.js

@ -1,12 +1,12 @@
'use strict'; 'use strict';
import { UserManage, Authority } from './containers'; import { UserManage, Authority,AdminiSter } from './containers';
export default [{ export default [{
type: 'inner', type: 'inner',
route: { route: {
path: '/organization', path: '/organization',
key: 'organization', key: 'organization',
breadcrumb: '组织管理', breadcrumb: '授权管理',
menuSelectKeys: ['userManage'], menuSelectKeys: ['userManage'],
menuOpenKeys: ['organization'], menuOpenKeys: ['organization'],
childRoutes: [{ childRoutes: [{
@ -15,12 +15,6 @@ export default [{
menuSelectKeys: ['userManage'], menuSelectKeys: ['userManage'],
component: UserManage, component: UserManage,
breadcrumb: '用户管理', breadcrumb: '用户管理',
}, {
path: '/authority',
key: 'authority',
component: Authority,
menuSelectKeys: ['authority'],
breadcrumb: '权限配置',
}] }]
} }
}]; }];

37
web/client/src/sections/report/actions/compile.js

@ -1,37 +0,0 @@
'use strict';
import { basicAction } from '@peace/utils'
import { ApiTable } from '$utils'
export function reportRectify (timeRange) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_REPORT_RECTIFY',
url: `${ApiTable.getReportRectify}?startTime=${timeRange ? timeRange[0] : ''}&endTime=${timeRange ? timeRange[1] : ''}`,
msg: {},
reducer: { name: 'reportRectify' }
});
}
export function reportRectifyDetail (day, depId) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_REPORT_RECTIFY_DETAIL',
url: `${ApiTable.getReportRectifyDetail}?day=${day}&depId=${depId}`,
msg: {},
reducer: { name: 'reportRectifyDetail' }
});
}
export function compileReportRectifyDetail (data) {
return dispatch => basicAction({
type: 'post',
dispatch: dispatch,
data,
actionType: 'COMPILE_REPORT_RECTIFY_DETAIL',
url: `${ApiTable.compileReportRectifyDetail}`,
msg: { option: '保存信息' },
});
}

59
web/client/src/sections/report/actions/config.js

@ -1,59 +0,0 @@
'use strict';
import { basicAction } from '@peace/utils'
import { ApiTable } from '$utils'
export function allAreas (orgId) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_ALL_AREAS',
url: `${ApiTable.allAreas}`,
msg: {},
reducer: { name: 'allAreas' }
});
}
export function addReportConfig (data) {
return dispatch => basicAction({
type: 'post',
dispatch: dispatch,
data: data,
actionType: 'POST_REPORT_CONFIGS',
url: `${ApiTable.addReportConfig}`,
msg: { option: '添加报表配置' },
});
}
export function getReportConfig () {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
actionType: 'GET_REPORT_CONFIGS',
url: `${ApiTable.getReportConfig}`,
msg: { error: '获取报表配置失败' },
reducer: { name: 'reportConfig' }
});
}
export function editReportConfig (data, configId) {
return dispatch => basicAction({
type: 'put',
dispatch: dispatch,
data: data,
actionType: 'EDIT_REPORT_CONFIGS',
url: `${ApiTable.editReportConfig.replace('{reportId}', configId)}`,
msg: { option: '编辑报表配置' },
});
}
export function delReportConfig (configId) {
return dispatch => basicAction({
type: 'del',
dispatch: dispatch,
actionType: 'DEL_REPORT_CONFIGS',
url: `${ApiTable.delReportConfig.replace('{reportId}', configId)}`,
msg: { option: '删除报表配置' },
});
}

26
web/client/src/sections/report/actions/download.js

@ -1,26 +0,0 @@
import { basicAction } from '@peace/utils'
import { ApiTable } from '$utils'
export function getReportList(query) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
query: query,
actionType: 'GET_REPORT_LIST',
url: ApiTable.getReportList,
msg: { error: '获取报表数据失败' },
reducer: { name: 'reportList' }
});
}
export function getRegionList(query) {
return dispatch => basicAction({
type: 'get',
dispatch: dispatch,
query: query,
actionType: 'GET_REGION_LIST',
url: ApiTable.allAreas,
msg: { error: '获取区域数据失败' },
reducer: { name: 'regionList' }
});
}

11
web/client/src/sections/report/actions/index.js

@ -1,11 +0,0 @@
'use strict';
import * as config from './config'
import * as download from './download'
import * as compile from './compile'
export default {
...config,
...download,
...compile,
}

118
web/client/src/sections/report/components/compileDrawer.js

@ -1,118 +0,0 @@
import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux';
import { Spin, Drawer, Button } from 'antd';
import '../style.less';
import { EditableProTable } from '@ant-design/pro-table';
const CompileDrawer = (props) => {
const { dispatch, actions, user, loading, visible, checkRow, close, reportRectifyDetail, checkAction } = props
const [requesting, setRequesting] = useState(false)
const [dataSource, setDataSource] = useState([])
const { report } = actions
const isCheck = checkAction == 'check'
useEffect(() => {
if (checkRow.day) {
dispatch(report.reportRectifyDetail(checkRow.day, checkRow.depId))
}
}, [checkRow])
useEffect(() => {
let data = reportRectifyDetail
let i = 1
for (let d of data) {
d.index_ = i++
}
setDataSource(data)
}, [reportRectifyDetail])
return (
<Drawer
title={"合用场所安全隐患排查整治汇总表"}
placement="right"
onClose={() => {
close()
}}
visible={visible}
width={'82%'}
>
<Spin spinning={loading || requesting}>
<EditableProTable
columns={[
{
title: '序号',
dataIndex: 'index_',
readonly: true,
},
{
title: '名称',
dataIndex: 'name',
readonly: true,
}, {
title: '地址',
dataIndex: 'address',
readonly: true,
}, {
title: '排查发现隐患',
dataIndex: 'hiddenDanger',
readonly: true,
}, {
title: '采取整改措施',
dataIndex: 'correctiveAction',
}, {
title: '实施处罚、强制措施情况',
dataIndex: 'punishment',
},
]}
controlled={true}
value={dataSource}
onChange={setDataSource}
rowKey="id"
headerTitle={`填报单位:${checkRow.region};时间:${checkRow.day}`}
maxLength={5}
recordCreatorProps={false}
editable={{
type: 'multiple',
editableKeys: isCheck ? [] : dataSource.map(r => r.id)
}}
toolBarRender={() => [
isCheck ? '' :
<Button
type="primary"
key="save"
onClick={() => {
// dataSource 就是当前数据,可以调用 api 将其保存
setRequesting(true)
const data = dataSource
for (let d of data) {
d.userId = user.id
delete d.index_
}
dispatch(report.compileReportRectifyDetail(dataSource)).then(res => {
setRequesting(false)
})
}}
>
保存数据
</Button>
]}
>
</EditableProTable>
</Spin>
</Drawer >
)
}
function mapStateToProps (state) {
const { auth, global, members, reportRectifyDetail } = state;
return {
loading: reportRectifyDetail.isRequesting,
user: auth.user,
actions: global.actions,
members: members.data,
reportRectifyDetail: reportRectifyDetail.data || []
};
}
export default connect(mapStateToProps)(CompileDrawer);

124
web/client/src/sections/report/components/configModal.js

@ -1,124 +0,0 @@
import React, { useEffect, useRef } from 'react';
import { connect } from 'react-redux';
import { Spin, Button, Modal, Form, Switch } from 'antd';
import ProForm, { ProFormText, ProFormSelect } from '@ant-design/pro-form';
import { useState } from 'react';
const ConfigModal = (props) => {
const { dispatch, actions, user, loading, visible, close, editData, allAreas, reportType } = props
const [excuteTimeOptions, setExcuteTimeOptions] = useState([])
const formRef = useRef()
const { report } = actions
useEffect(() => {
let excuteTimeOptions = []
for (let i = 0; i < 24; i++) {
let curT = i
if (curT < 10) {
curT = '0' + curT
}
excuteTimeOptions.push({
value: curT + ':00',
label: curT + ':00',
})
excuteTimeOptions.push({
value: curT + ':30',
label: curT + ':30',
})
}
setExcuteTimeOptions(excuteTimeOptions);
}, [])
return (
<Modal
title={`${editData ? '编辑' : '新增'}报表配置`}
visible={visible}
onOk={() => {
formRef.current.validateFields().then(v => {
v.excuteTime = String(v.excuteTime)
console.log(v);
dispatch(editData ? report.editReportConfig(v, editData.id) : report.addReportConfig(v)).then(res => {
if (res.success) {
dispatch(report.getReportConfig())
close()
}
})
})
}}
onCancel={() => {
close()
}}
>
<ProForm
formRef={formRef}
autoFocusFirstInput
layout={'horizontal'}
labelCol={{ span: 4 }}
wrapperCol={{ span: 18 }}
initialValues={
editData ?
editData :
{
excuteTime: '00:00',
isEnable: true
}
}
submitter={false}
formKey='config-form'
>
<ProFormText
name={'reportName'}
label="报表名称"
placeholder="请输入名称"
required
rules={[{ required: true, message: '请输入名称' }]}
/>
<ProFormSelect
options={reportType}
cacheForSwr
name="reportTypeId"
label="报表类型"
required
rules={[{ required: true, message: '请选择报表类型' }]}
/>
<ProFormSelect
options={
allAreas.map(a => {
return {
value: a.id,
label: a.name,
}
})}
cacheForSwr
name="regionId"
label="区域"
required
rules={[{ required: true, message: '请选择区域' }]}
/>
<Form.Item name="isEnable" label="状态" valuePropName="checked">
<Switch checkedChildren="启用" unCheckedChildren="禁用" />
</Form.Item>
<ProFormSelect
options={excuteTimeOptions}
addonBefore={'每天'}
addonAfter={'时'}
cacheForSwr
name="excuteTime"
label="生成时间"
/>
</ProForm>
</Modal>
)
}
function mapStateToProps (state) {
const { auth, global, allAreas } = state;
console.log(allAreas);
return {
user: auth.user,
actions: global.actions,
allAreas: allAreas.data || []
};
}
export default connect(mapStateToProps)(ConfigModal);

111
web/client/src/sections/report/containers/compile.js

@ -1,111 +0,0 @@
// 报表编辑
import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux';
import moment from 'moment'
import CompileDrawer from '../components/compileDrawer'
import { Spin, Button, DatePicker, Space, Switch } from 'antd';
import ProTable from '@ant-design/pro-table';
import { Func } from '$utils';
const { RangePicker } = DatePicker;
const Compile = (props) => {
const { dispatch, actions, user, loading, reportRectify } = props
const [searchTime, setSearchTime] = useState([moment(), moment()])
const [compileDrawerVis, setCompileDrawerVis] = useState(false)
const [checkRow, setCheckRow] = useState({})
const [checkAction, setCheckAction] = useState('')
const { report } = actions
const getReportRectify = (searchTime) => {
dispatch(report.reportRectify([moment(searchTime[0]).format('YYYY-MM-DD'), moment(searchTime[1]).format('YYYY-MM-DD')]))
}
useEffect(() => {
getReportRectify(searchTime)
}, [])
const showCompileDrawerVis = (row, action) => {
setCompileDrawerVis(true)
setCheckRow(row)
setCheckAction(action)
}
return (
<Spin spinning={loading}>
<ProTable
columns={[{
title: '日期',
dataIndex: 'day',
}, {
title: '名称',
dataIndex: 'name',
}, {
title: '是否提交',
dataIndex: 'reportBool',
render: (_, r) => {
return <Switch disabled={true} checked={r.reportBool} />
}
}, {
title: '操作',
dataIndex: 'option',
render: (_, r) => {
return [
<Space>
{/* {Func.isAuthorized("REPORT_EDIT") &&
<Button type="primary" onClick={() => {
showCompileDrawerVis(r, 'edit')
}}>编辑</Button>
} */}
<Button type="primary" onClick={() => {
showCompileDrawerVis(r, 'check')
}}>查看</Button>
</Space>
]
}
},]}
dataSource={reportRectify}
rowKey="index"
search={false}
options={false}
headerTitle="合用场所安全隐患排查整治汇总表"
toolBarRender={() => [
<RangePicker allowClear={false} value={searchTime}
onChange={(date, dateString) => {
setSearchTime(date)
getReportRectify(dateString)
}}
/>,
]}
>
</ProTable>
<CompileDrawer
visible={compileDrawerVis}
close={() => {
setCompileDrawerVis(false)
setCheckRow({})
setCheckAction('')
getReportRectify(searchTime)
}}
checkRow={checkRow}
checkAction={checkAction}
/>
</Spin>
)
}
function mapStateToProps(state) {
const { auth, global, reportRectify } = state;
console.log(reportRectify);
return {
user: auth.user,
actions: global.actions,
loading: reportRectify.isRequesting,
reportRectify: reportRectify.data || []
};
}
export default connect(mapStateToProps)(Compile);

157
web/client/src/sections/report/containers/config.js

@ -1,157 +0,0 @@
import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux';
import ConfigModal from '../components/configModal'
import { Spin, Button, Space, Popconfirm, Switch } from 'antd';
import ProTable from '@ant-design/pro-table';
import '../style.less';
import Pinyin from '../../../utils/pinyin'
const reportType = [{
value: 1,
label: '县区排查整治汇总表',
}, {
value: 2,
label: '各县区每日汇总表',
}, {
value: 3,
label: '隐患场所汇总表',
},]
var pinyin = null
var as = null
var bs = null
const Config = (props) => {
const { dispatch, actions, loading, reportConfig, allAreas } = props
const [configModalVis, setConfigModalVis] = useState(false)
const [editData, setEditData] = useState(null)
const { report } = actions
useEffect(() => {
dispatch(report.getReportConfig())
dispatch(report.allAreas())
}, [])
useEffect(()=>{
pinyin=new Pinyin()
})
return (
<Spin spinning={loading}>
<ProTable
columns={[{
title: '报表名称',
dataIndex: 'reportName',
}, {
title: '区域名称',
dataIndex: 'region',
sorter: (a, b) => {
let regionOne = allAreas.find(item => item.id == a.regionId)
let regionTwo = allAreas.find(item => item.id == b.regionId)
if (regionOne) {
as = pinyin.getCamelChars(regionOne.name).toLowerCase()
} if (regionTwo) {
bs = pinyin.getCamelChars(regionTwo.name).toLowerCase()
} else {
return ''
}
let codeOne=as.substr(0,1).charCodeAt()
let codeTwo=bs.substr(0,1).charCodeAt()
return codeOne-codeTwo
},
render: (_, row, index, action) => {
let curRegion = allAreas.find(a => a.id == row.regionId)
return curRegion ? curRegion.name : ''
},
}, {
title: '类型',
dataIndex: 'reportType',
render: (_, r) => {
let curType = reportType.find(t => t.value == r.reportTypeId)
return curType ? curType.label : ''
},
}, {
title: '生成时间',
dataIndex: 'index',
render: (_, row) => {
return `每日 ${row.excuteTime.indexOf(':') > -1 ? row.excuteTime : row.excuteTime + ':00'}`
}
}, {
title: '启用状态',
dataIndex: 'isEnable',
render: (_, row) => {
return <Switch checkedChildren="启用" unCheckedChildren="禁用" disabled defaultChecked={row.isEnable} />
}
}, {
title: '操作',
dataIndex: 'option',
render: (_, row) => {
return [
<Space>
<Button type="primary"
onClick={() => {
setConfigModalVis(true)
setEditData({
...row,
excuteTime: row.excuteTime.indexOf(':') > -1 ? row.excuteTime : row.excuteTime + ':00'
})
}}
>编辑</Button>
<Popconfirm
placement="topRight"
title={'确认删除此报备表配置?'}
onConfirm={() => {
dispatch(report.delReportConfig(row.id)).then(res => {
if (res.success) {
dispatch(report.getReportConfig())
}
})
}}
>
<Button type="primary" danger>删除</Button>
</Popconfirm>
</Space>
]
}
},]}
dataSource={reportConfig}
rowKey="id"
search={false}
options={false}
toolBarRender={() => [
<Button type="primary" key="primary" onClick={() => { setConfigModalVis(true) }}>
添加报表配置
</Button>,
]}
>
</ProTable>
{
configModalVis ?
<ConfigModal
visible={true}
close={() => {
setConfigModalVis(false)
setEditData(null)
}}
reportType={reportType}
editData={editData}
/> : ''
}
</Spin>
)
}
function mapStateToProps(state) {
const { auth, global, reportConfig, allAreas } = state;
return {
loading: reportConfig.isRequesting,
user: auth.user,
actions: global.actions,
reportConfig: reportConfig.data || [],
allAreas: allAreas.data || []
};
}
export default connect(mapStateToProps)(Config);

129
web/client/src/sections/report/containers/download.js

@ -1,129 +0,0 @@
import React, { useEffect } from 'react';
import { connect } from 'react-redux';
import { Spin, Button } from 'antd';
import ProTable from '@ant-design/pro-table';
import '../style.less';
import moment from 'moment';
import { Func } from '$utils';
const Download = (props) => {
const { dispatch, actions, reportList, regionList, user } = props
useEffect(() => {
dispatch(actions.report.getRegionList());
}, []);
const columns = [{
title: '报表名称',
dataIndex: 'reportName',
formItemProps: {
label: null,
},
fieldProps: {
placeholder: '输入报表名称'
}
}, {
title: '区域名称',
dataIndex: 'regionName',
valueType: 'select',
initialValue: -1,
fieldProps: {
label: null,
options: [{
label: '全部',
value: -1
}].concat(regionList)
},
order: 5,
render: (dom, record) => {
return record.department ? record.department.name : null
}
}, {
title: '类型',
dataIndex: 'reportType',
hideInSearch: true,
render: (dom, record) => {
return record.reportType ? record.reportType.name : null
}
}, {
title: '生成时间',
dataIndex: 'creatTime',
valueType: 'dateTimeRange',
order: 4,
render: (dom, record) => {
return moment(record.creatTime).format('YYYY-MM-DD HH:mm')
}
}]
if (Func.isAuthorized("REPORT_DOWN")) {
columns.push({
title: '操作',
key: 'option',
hideInSearch: true,
render: (dom, record) => {
// const ApiRoot = localStorage.getItem('tyApiRoot');
const filePathArr = record.filePath.split('/')
const fileName = filePathArr.pop()
// console.log(fileName);
return [
// <a key="download" href={ApiRoot + '' + record.filePath}>下载</a>
<a href={
'/_api/' +
// 'http://10.8.30.157:8439/'+
`attachments?src=files/${fileName}&filename=${encodeURIComponent(fileName)}&token=${user.token}`} >
下载
</a>
]
}
})
}
return (
<Spin spinning={false}>
<ProTable
columns={columns}
toolbar={{
settings: []
}}
dataSource={reportList}
request={async (params) => {
const query = {
limit: params.pageSize,
offset: params.pageSize * (params.current - 1),
creatTime: params.creatTime,
reportName: params.reportName,
regionName: params.regionName
}
const res = await dispatch(actions.report.getReportList(query));
return {
...res,
total: res.payload.data ? res.payload.data.count : 0
}
}}
>
</ProTable>
</Spin >
)
}
function mapStateToProps (state) {
const { auth, global, reportList, regionList } = state;
const { count, rows } = reportList.data || {};
let regions = [];
if (regionList.data && regionList.data.length > 0) {
regions = regionList.data.map(v => {
return {
label: v.name,
value: v.id,
}
});
}
return {
user: auth.user,
actions: global.actions,
reportList: rows || [],
regionList: regions
};
}
export default connect(mapStateToProps)(Download);

7
web/client/src/sections/report/containers/index.js

@ -1,7 +0,0 @@
'use strict';
import Config from './config';
import Download from './download';
import Compile from './compile'
export { Config, Download, Compile };

15
web/client/src/sections/report/index.js

@ -1,15 +0,0 @@
'use strict';
import reducers from './reducers';
import routes from './routes';
import actions from './actions';
import { getNavItem } from './nav-item';
export default {
key: 'report',
name: '报表管理',
reducers: reducers,
routes: routes,
actions: actions,
getNavItem: getNavItem
};

35
web/client/src/sections/report/nav-item.js

@ -1,35 +0,0 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { Menu } from 'antd';
import { FileTextOutlined } from '@ant-design/icons';
import { Func } from '$utils';
import { push } from 'react-router-redux';
const SubMenu = Menu.SubMenu;
export function getNavItem(user, dispatch) {
if (user.type != 1 && user.type != 2) {
dispatch(push('/fillion/infor'));
return null
}
if (!Func.isAuthorized("REPORT_MANAGE")) {
return null
}
return (
<SubMenu key="report" icon={<FileTextOutlined />} title={'报表管理'}>
{Func.isAuthorized("REPROT_CONFIG") && <Menu.Item key="reportConfig">
<Link to="/report/config">报表配置</Link>
</Menu.Item>}
{Func.isAuthorized("REPORT_DOWN") && <Menu.Item key="reportDownload">
<Link to="/report/download">报表下载</Link>
</Menu.Item>}
{Func.isAuthorized("REPORT_LIST") &&
<Menu.Item key="reportCompile">
<Link to="/report/compile">整治汇总表</Link>
</Menu.Item>
}
</SubMenu>
);
}

5
web/client/src/sections/report/reducers/index.js

@ -1,5 +0,0 @@
'use strict';
export default {
}

33
web/client/src/sections/report/routes.js

@ -1,33 +0,0 @@
'use strict';
import { Config, Download, Compile } from './containers';
export default [{
type: 'inner',
route: {
path: '/report',
key: 'report',
breadcrumb: '报表管理',
menuSelectKeys: ['config'],
menuOpenKeys: ['report'],
// 不设置 component 则面包屑禁止跳转
childRoutes: [{
path: '/config',
key: 'reportConfig',
component: Config,
menuSelectKeys:['reportConfig'],
breadcrumb: '报表配置',
}, {
path: '/download',
key: 'reportDownload',
menuSelectKeys:['reportDownload'],
component: Download,
breadcrumb: '报表下载',
}, {
path: '/compile',
key: 'reportCompile',
menuSelectKeys:['reportCompile'],
component: Compile,
breadcrumb: '整治汇总表',
}]
}
}];

3
web/client/src/sections/report/style.less

@ -1,3 +0,0 @@
#example:hover {
font-size: larger;
}

4
web/log/development.txt

@ -3415,5 +3415,5 @@
2022-07-18 17:40:02.984 - info: [Router] Inject api: attachment/index 2022-07-18 17:40:02.984 - info: [Router] Inject api: attachment/index
2022-07-19 09:38:20.086 - debug: [FS-LOGGER] Init. 2022-07-19 09:38:20.086 - debug: [FS-LOGGER] Init.
2022-07-19 09:38:20.998 - info: [Router] Inject api: attachment/index 2022-07-19 09:38:20.998 - info: [Router] Inject api: attachment/index
2022-07-20 19:49:25.720 - debug: [FS-LOGGER] Init. 2022-07-20 19:15:55.678 - debug: [FS-LOGGER] Init.
2022-07-20 19:49:25.776 - info: [Router] Inject api: attachment/index 2022-07-20 19:15:56.118 - info: [Router] Inject api: attachment/index

615
web/package-lock.json

@ -52,6 +52,272 @@
"rc-util": "^5.4.0" "rc-util": "^5.4.0"
} }
}, },
"@ant-design/pro-components": {
"version": "1.1.11",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-components/-/pro-components-1.1.11.tgz",
"integrity": "sha512-90ofw4/Fec/b6hvJdRc+n1UphAo6SPMcidCJv3mRcxkua8IAupGt61gzau8YRTkJ0LR0GvYzf+x6sjHviN59Aw==",
"requires": {
"@ant-design/pro-card": "1.20.13",
"@ant-design/pro-descriptions": "1.11.11",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-form": "1.70.3",
"@ant-design/pro-layout": "6.38.13",
"@ant-design/pro-list": "1.21.73",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-skeleton": "1.0.10",
"@ant-design/pro-table": "2.77.3",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.16.3",
"antd": ">=4.0"
},
"dependencies": {
"@ant-design/pro-card": {
"version": "1.20.13",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-card/-/pro-card-1.20.13.tgz",
"integrity": "sha512-Av4QYSuxZPzUGyoR2Gmz5Dnl2+2UUnPrS/7JA7Y/5HqZBzXMYdd6T4Wk3KAMoX+NmOuBtDM28jWGcvPRVKoCMg==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"omit.js": "^2.0.2",
"rc-util": "^5.4.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-field": {
"version": "1.34.20",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-field/-/pro-field-1.34.20.tgz",
"integrity": "sha512-/NqXLOwx2erx1HFMh1ydHlBCuhPLpvdm3tMacRxiH5h0QKhoDergGy4+ULLe7hT5FWdbjtI7es0xWUe2+HhMUg==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@chenshuai2144/sketch-color": "^1.0.8",
"classnames": "^2.2.6",
"lodash.tonumber": "^4.0.3",
"moment": "^2.27.0",
"omit.js": "^2.0.2",
"rc-util": "^5.4.0",
"swr": "^1.2.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-form": {
"version": "1.70.3",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-form/-/pro-form-1.70.3.tgz",
"integrity": "sha512-uJ+GxYhM5oKX681KiEDE2soG/sJDU3JTo+dov3AFYOjwbKue+/CAfAZ1d1JnVS3sglTKJ98kSxg+/1Ft9UR/pQ==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@umijs/use-params": "^1.0.9",
"classnames": "^2.2.6",
"lodash.merge": "^4.6.2",
"omit.js": "^2.0.2",
"rc-resize-observer": "^1.1.0",
"rc-util": "^5.0.6",
"use-json-comparison": "^1.0.5",
"use-media-antd-query": "^1.1.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-provider": {
"version": "1.9.0",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-provider/-/pro-provider-1.9.0.tgz",
"integrity": "sha512-2coPdBMVBapUkjm5vaRhavo9PnrxaADCHvn6PIbPaL/AUflgGBGNlxny0vIjXav8ZFrFaqP2XLa23tv/MLXcQQ==",
"requires": {
"@babel/runtime": "^7.18.0",
"rc-util": "^5.0.1",
"swr": "^1.2.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-table": {
"version": "2.77.3",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-table/-/pro-table-2.77.3.tgz",
"integrity": "sha512-HuPIvppKYL5+ImOPSdTqai+L+dwCXOBfcj6dIAL4OYGv7/znEF2/5aF7y2du2RZfRB7JGMgiStKrroPrVAhycQ==",
"requires": {
"@ant-design/icons": "^4.1.0",
"@ant-design/pro-card": "1.20.13",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-form": "1.70.3",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.24.0",
"omit.js": "^2.0.2",
"rc-util": "^5.0.1",
"react-sortable-hoc": "^2.0.0",
"unstated-next": "^1.1.0",
"use-json-comparison": "^1.0.5",
"use-media-antd-query": "^1.1.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-utils": {
"version": "1.42.5",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-utils/-/pro-utils-1.42.5.tgz",
"integrity": "sha512-0srMbvsKOfIGdWbJrSsdECHlu2DvinEl4WwlOe4z6fpQQ0kzXfXhYYwNfPw+q5Wb75Mq1KC7kHrYF6wPZclEdQ==",
"requires": {
"@ant-design/icons": "^4.3.0",
"@ant-design/pro-provider": "1.9.0",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.27.0",
"rc-util": "^5.0.6",
"react-sortable-hoc": "^2.0.0",
"swr": "^1.2.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
}
}
},
"@ant-design/pro-descriptions": {
"version": "1.11.11",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-descriptions/-/pro-descriptions-1.11.11.tgz",
"integrity": "sha512-LU9GfLY9OHpZkgs3G4Xz9o+7U70Z9cUa3uCFYDzm2W3jkLwSxV2o7azW2d76Lw61Gr59IhAMsr9k48vFv1RshA==",
"requires": {
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-form": "1.70.3",
"@ant-design/pro-skeleton": "1.0.10",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"rc-util": "^5.0.6",
"use-json-comparison": "^1.0.5"
},
"dependencies": {
"@ant-design/pro-field": {
"version": "1.34.20",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-field/-/pro-field-1.34.20.tgz",
"integrity": "sha512-/NqXLOwx2erx1HFMh1ydHlBCuhPLpvdm3tMacRxiH5h0QKhoDergGy4+ULLe7hT5FWdbjtI7es0xWUe2+HhMUg==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@chenshuai2144/sketch-color": "^1.0.8",
"classnames": "^2.2.6",
"lodash.tonumber": "^4.0.3",
"moment": "^2.27.0",
"omit.js": "^2.0.2",
"rc-util": "^5.4.0",
"swr": "^1.2.0"
}
},
"@ant-design/pro-form": {
"version": "1.70.3",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-form/-/pro-form-1.70.3.tgz",
"integrity": "sha512-uJ+GxYhM5oKX681KiEDE2soG/sJDU3JTo+dov3AFYOjwbKue+/CAfAZ1d1JnVS3sglTKJ98kSxg+/1Ft9UR/pQ==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@umijs/use-params": "^1.0.9",
"classnames": "^2.2.6",
"lodash.merge": "^4.6.2",
"omit.js": "^2.0.2",
"rc-resize-observer": "^1.1.0",
"rc-util": "^5.0.6",
"use-json-comparison": "^1.0.5",
"use-media-antd-query": "^1.1.0"
}
},
"@ant-design/pro-provider": {
"version": "1.9.0",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-provider/-/pro-provider-1.9.0.tgz",
"integrity": "sha512-2coPdBMVBapUkjm5vaRhavo9PnrxaADCHvn6PIbPaL/AUflgGBGNlxny0vIjXav8ZFrFaqP2XLa23tv/MLXcQQ==",
"requires": {
"@babel/runtime": "^7.18.0",
"rc-util": "^5.0.1",
"swr": "^1.2.0"
}
},
"@ant-design/pro-utils": {
"version": "1.42.5",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-utils/-/pro-utils-1.42.5.tgz",
"integrity": "sha512-0srMbvsKOfIGdWbJrSsdECHlu2DvinEl4WwlOe4z6fpQQ0kzXfXhYYwNfPw+q5Wb75Mq1KC7kHrYF6wPZclEdQ==",
"requires": {
"@ant-design/icons": "^4.3.0",
"@ant-design/pro-provider": "1.9.0",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.27.0",
"rc-util": "^5.0.6",
"react-sortable-hoc": "^2.0.0",
"swr": "^1.2.0"
}
},
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-field": { "@ant-design/pro-field": {
"version": "1.34.10", "version": "1.34.10",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-field/-/pro-field-1.34.10.tgz", "resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-field/-/pro-field-1.34.10.tgz",
@ -90,6 +356,276 @@
"use-media-antd-query": "^1.0.6" "use-media-antd-query": "^1.0.6"
} }
}, },
"@ant-design/pro-layout": {
"version": "6.38.13",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-layout/-/pro-layout-6.38.13.tgz",
"integrity": "sha512-ZNUUJow0pLxOqkuPIGDJJw9FqPYX5Pu/iz5kBRz9vxSakJUylrtg4GWVVuMqZlSbEpRdPdr4WCx0Jz78R4IPmQ==",
"requires": {
"@ant-design/icons": "^4.0.0",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@umijs/route-utils": "^2.1.0",
"@umijs/ssr-darkreader": "^4.9.44",
"@umijs/use-params": "^1.0.9",
"classnames": "^2.2.6",
"lodash.merge": "^4.6.2",
"omit.js": "^2.0.2",
"path-to-regexp": "2.4.0",
"rc-resize-observer": "^1.1.0",
"rc-util": "^5.0.6",
"swr": "^1.2.0",
"unstated-next": "^1.1.0",
"use-json-comparison": "^1.0.3",
"use-media-antd-query": "^1.1.0",
"warning": "^4.0.3"
},
"dependencies": {
"@ant-design/pro-provider": {
"version": "1.9.0",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-provider/-/pro-provider-1.9.0.tgz",
"integrity": "sha512-2coPdBMVBapUkjm5vaRhavo9PnrxaADCHvn6PIbPaL/AUflgGBGNlxny0vIjXav8ZFrFaqP2XLa23tv/MLXcQQ==",
"requires": {
"@babel/runtime": "^7.18.0",
"rc-util": "^5.0.1",
"swr": "^1.2.0"
}
},
"@ant-design/pro-utils": {
"version": "1.42.5",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-utils/-/pro-utils-1.42.5.tgz",
"integrity": "sha512-0srMbvsKOfIGdWbJrSsdECHlu2DvinEl4WwlOe4z6fpQQ0kzXfXhYYwNfPw+q5Wb75Mq1KC7kHrYF6wPZclEdQ==",
"requires": {
"@ant-design/icons": "^4.3.0",
"@ant-design/pro-provider": "1.9.0",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.27.0",
"rc-util": "^5.0.6",
"react-sortable-hoc": "^2.0.0",
"swr": "^1.2.0"
}
},
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-list": {
"version": "1.21.73",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-list/-/pro-list-1.21.73.tgz",
"integrity": "sha512-TifcYSH9MPmDOiiaUXCSyK4kEXQRZrYCQC0TUYP2xZ4nsHtO0SOrj4NR0NdjuPZYGA9aSkSY/tlJhEIlrZDw5A==",
"requires": {
"@ant-design/icons": "^4.0.0",
"@ant-design/pro-card": "1.20.13",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-table": "2.77.3",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.24.0",
"rc-resize-observer": "^1.0.0",
"rc-util": "^4.19.0",
"unstated-next": "^1.1.0",
"use-media-antd-query": "^1.1.0"
},
"dependencies": {
"@ant-design/pro-card": {
"version": "1.20.13",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-card/-/pro-card-1.20.13.tgz",
"integrity": "sha512-Av4QYSuxZPzUGyoR2Gmz5Dnl2+2UUnPrS/7JA7Y/5HqZBzXMYdd6T4Wk3KAMoX+NmOuBtDM28jWGcvPRVKoCMg==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"omit.js": "^2.0.2",
"rc-util": "^5.4.0"
},
"dependencies": {
"rc-util": {
"version": "5.23.0",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-5.23.0.tgz",
"integrity": "sha512-lgm6diJ/pLgyfoZY59Vz7sW4mSoQCgozqbBye9IJ7/mb5w5h4T7h+i2JpXAx/UBQxscBZe68q0sP7EW+qfkKUg==",
"requires": {
"@babel/runtime": "^7.18.3",
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
}
}
}
},
"@ant-design/pro-field": {
"version": "1.34.20",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-field/-/pro-field-1.34.20.tgz",
"integrity": "sha512-/NqXLOwx2erx1HFMh1ydHlBCuhPLpvdm3tMacRxiH5h0QKhoDergGy4+ULLe7hT5FWdbjtI7es0xWUe2+HhMUg==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@chenshuai2144/sketch-color": "^1.0.8",
"classnames": "^2.2.6",
"lodash.tonumber": "^4.0.3",
"moment": "^2.27.0",
"omit.js": "^2.0.2",
"rc-util": "^5.4.0",
"swr": "^1.2.0"
},
"dependencies": {
"rc-util": {
"version": "5.23.0",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-5.23.0.tgz",
"integrity": "sha512-lgm6diJ/pLgyfoZY59Vz7sW4mSoQCgozqbBye9IJ7/mb5w5h4T7h+i2JpXAx/UBQxscBZe68q0sP7EW+qfkKUg==",
"requires": {
"@babel/runtime": "^7.18.3",
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
}
}
}
},
"@ant-design/pro-form": {
"version": "1.70.3",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-form/-/pro-form-1.70.3.tgz",
"integrity": "sha512-uJ+GxYhM5oKX681KiEDE2soG/sJDU3JTo+dov3AFYOjwbKue+/CAfAZ1d1JnVS3sglTKJ98kSxg+/1Ft9UR/pQ==",
"requires": {
"@ant-design/icons": "^4.2.1",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"@umijs/use-params": "^1.0.9",
"classnames": "^2.2.6",
"lodash.merge": "^4.6.2",
"omit.js": "^2.0.2",
"rc-resize-observer": "^1.1.0",
"rc-util": "^5.0.6",
"use-json-comparison": "^1.0.5",
"use-media-antd-query": "^1.1.0"
},
"dependencies": {
"rc-util": {
"version": "5.23.0",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-5.23.0.tgz",
"integrity": "sha512-lgm6diJ/pLgyfoZY59Vz7sW4mSoQCgozqbBye9IJ7/mb5w5h4T7h+i2JpXAx/UBQxscBZe68q0sP7EW+qfkKUg==",
"requires": {
"@babel/runtime": "^7.18.3",
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
}
}
}
},
"@ant-design/pro-provider": {
"version": "1.9.0",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-provider/-/pro-provider-1.9.0.tgz",
"integrity": "sha512-2coPdBMVBapUkjm5vaRhavo9PnrxaADCHvn6PIbPaL/AUflgGBGNlxny0vIjXav8ZFrFaqP2XLa23tv/MLXcQQ==",
"requires": {
"@babel/runtime": "^7.18.0",
"rc-util": "^5.0.1",
"swr": "^1.2.0"
},
"dependencies": {
"rc-util": {
"version": "5.23.0",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-5.23.0.tgz",
"integrity": "sha512-lgm6diJ/pLgyfoZY59Vz7sW4mSoQCgozqbBye9IJ7/mb5w5h4T7h+i2JpXAx/UBQxscBZe68q0sP7EW+qfkKUg==",
"requires": {
"@babel/runtime": "^7.18.3",
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
}
}
}
},
"@ant-design/pro-table": {
"version": "2.77.3",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-table/-/pro-table-2.77.3.tgz",
"integrity": "sha512-HuPIvppKYL5+ImOPSdTqai+L+dwCXOBfcj6dIAL4OYGv7/znEF2/5aF7y2du2RZfRB7JGMgiStKrroPrVAhycQ==",
"requires": {
"@ant-design/icons": "^4.1.0",
"@ant-design/pro-card": "1.20.13",
"@ant-design/pro-field": "1.34.20",
"@ant-design/pro-form": "1.70.3",
"@ant-design/pro-provider": "1.9.0",
"@ant-design/pro-utils": "1.42.5",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.24.0",
"omit.js": "^2.0.2",
"rc-util": "^5.0.1",
"react-sortable-hoc": "^2.0.0",
"unstated-next": "^1.1.0",
"use-json-comparison": "^1.0.5",
"use-media-antd-query": "^1.1.0"
},
"dependencies": {
"rc-util": {
"version": "5.23.0",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-5.23.0.tgz",
"integrity": "sha512-lgm6diJ/pLgyfoZY59Vz7sW4mSoQCgozqbBye9IJ7/mb5w5h4T7h+i2JpXAx/UBQxscBZe68q0sP7EW+qfkKUg==",
"requires": {
"@babel/runtime": "^7.18.3",
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
}
}
}
},
"@ant-design/pro-utils": {
"version": "1.42.5",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-utils/-/pro-utils-1.42.5.tgz",
"integrity": "sha512-0srMbvsKOfIGdWbJrSsdECHlu2DvinEl4WwlOe4z6fpQQ0kzXfXhYYwNfPw+q5Wb75Mq1KC7kHrYF6wPZclEdQ==",
"requires": {
"@ant-design/icons": "^4.3.0",
"@ant-design/pro-provider": "1.9.0",
"@babel/runtime": "^7.18.0",
"classnames": "^2.2.6",
"moment": "^2.27.0",
"rc-util": "^5.0.6",
"react-sortable-hoc": "^2.0.0",
"swr": "^1.2.0"
},
"dependencies": {
"rc-util": {
"version": "5.23.0",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-5.23.0.tgz",
"integrity": "sha512-lgm6diJ/pLgyfoZY59Vz7sW4mSoQCgozqbBye9IJ7/mb5w5h4T7h+i2JpXAx/UBQxscBZe68q0sP7EW+qfkKUg==",
"requires": {
"@babel/runtime": "^7.18.3",
"react-is": "^16.12.0",
"shallowequal": "^1.1.0"
}
}
}
},
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
},
"rc-util": {
"version": "4.21.1",
"resolved": "http://npm.anxinyun.cn/rc-util/-/rc-util-4.21.1.tgz",
"integrity": "sha1-iGAtDDGFAgqhBT2aHnDqwWG+ywU=",
"requires": {
"add-dom-event-listener": "^1.1.0",
"prop-types": "^15.5.10",
"react-is": "^16.12.0",
"react-lifecycles-compat": "^3.0.4",
"shallowequal": "^1.1.0"
}
}
}
},
"@ant-design/pro-provider": { "@ant-design/pro-provider": {
"version": "1.6.5", "version": "1.6.5",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-provider/-/pro-provider-1.6.5.tgz", "resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-provider/-/pro-provider-1.6.5.tgz",
@ -100,6 +636,25 @@
"swr": "^1.2.0" "swr": "^1.2.0"
} }
}, },
"@ant-design/pro-skeleton": {
"version": "1.0.10",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-skeleton/-/pro-skeleton-1.0.10.tgz",
"integrity": "sha512-/CeGtV587kqq6efk2DBsfZD43C0WSGFlw2R9eyJepWcv/+mfgZJ7yPM5m9Zd56EsChG+iu3uLHp56GRhAuh/PQ==",
"requires": {
"@babel/runtime": "^7.18.0",
"use-media-antd-query": "^1.1.0"
},
"dependencies": {
"@babel/runtime": {
"version": "7.18.9",
"resolved": "http://npm.anxinyun.cn/@babel%2fruntime/-/runtime-7.18.9.tgz",
"integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"@ant-design/pro-table": { "@ant-design/pro-table": {
"version": "2.74.3", "version": "2.74.3",
"resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-table/-/pro-table-2.74.3.tgz", "resolved": "http://npm.anxinyun.cn/@ant-design%2fpro-table/-/pro-table-2.74.3.tgz",
@ -1757,6 +2312,11 @@
"@babel/runtime": "^7.0.0" "@babel/runtime": "^7.0.0"
} }
}, },
"@qixian.cs/path-to-regexp": {
"version": "6.1.0",
"resolved": "http://npm.anxinyun.cn/@qixian.cs%2fpath-to-regexp/-/path-to-regexp-6.1.0.tgz",
"integrity": "sha1-a4StAVljMqupX6KdLnAQRpjNXEU="
},
"@react-dnd/asap": { "@react-dnd/asap": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "http://npm.anxinyun.cn/@react-dnd%2fasap/-/asap-4.0.1.tgz", "resolved": "http://npm.anxinyun.cn/@react-dnd%2fasap/-/asap-4.0.1.tgz",
@ -1955,6 +2515,29 @@
} }
} }
}, },
"@umijs/route-utils": {
"version": "2.1.5",
"resolved": "http://npm.anxinyun.cn/@umijs%2froute-utils/-/route-utils-2.1.5.tgz",
"integrity": "sha512-ByDXNljAMWeCyHOKkM3gc18TgvtAGV9Di/A0MGnzVrf8PY/MdwogGSOktf3Z4w1Iqha2Bt8vHZk3SnQF8C8P4w==",
"requires": {
"@qixian.cs/path-to-regexp": "^6.1.0",
"fast-deep-equal": "^3.1.3",
"lodash.isequal": "^4.5.0",
"memoize-one": "^5.1.1"
},
"dependencies": {
"memoize-one": {
"version": "5.2.1",
"resolved": "http://npm.anxinyun.cn/memoize-one/-/memoize-one-5.2.1.tgz",
"integrity": "sha1-gzeqPEM1WBg57AHD1ZQJDOvo8A4="
}
}
},
"@umijs/ssr-darkreader": {
"version": "4.9.45",
"resolved": "http://npm.anxinyun.cn/@umijs%2fssr-darkreader/-/ssr-darkreader-4.9.45.tgz",
"integrity": "sha512-XlcwzSYQ/SRZpHdwIyMDS4FOGX5kP4U/2g2mykyn/iPQTK4xTiQAyBu6UnnDnn7d5P8s7Atzh1C7H0ETNOypJg=="
},
"@umijs/use-params": { "@umijs/use-params": {
"version": "1.0.9", "version": "1.0.9",
"resolved": "http://npm.anxinyun.cn/@umijs%2fuse-params/-/use-params-1.0.9.tgz", "resolved": "http://npm.anxinyun.cn/@umijs%2fuse-params/-/use-params-1.0.9.tgz",
@ -2179,6 +2762,14 @@
"resolved": "http://npm.anxinyun.cn/acorn-walk/-/acorn-walk-8.2.0.tgz", "resolved": "http://npm.anxinyun.cn/acorn-walk/-/acorn-walk-8.2.0.tgz",
"integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==" "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA=="
}, },
"add-dom-event-listener": {
"version": "1.1.0",
"resolved": "http://npm.anxinyun.cn/add-dom-event-listener/-/add-dom-event-listener-1.1.0.tgz",
"integrity": "sha1-apLbOg3Qq8JU4JXA8dwUrLuq4xA=",
"requires": {
"object-assign": "4.x"
}
},
"address": { "address": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "http://npm.anxinyun.cn/address/-/address-1.2.0.tgz", "resolved": "http://npm.anxinyun.cn/address/-/address-1.2.0.tgz",
@ -6999,12 +7590,22 @@
"integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
"dev": true "dev": true
}, },
"lodash.isequal": {
"version": "4.5.0",
"resolved": "http://npm.anxinyun.cn/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
"integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA="
},
"lodash.isequalwith": { "lodash.isequalwith": {
"version": "4.4.0", "version": "4.4.0",
"resolved": "http://npm.anxinyun.cn/lodash.isequalwith/-/lodash.isequalwith-4.4.0.tgz", "resolved": "http://npm.anxinyun.cn/lodash.isequalwith/-/lodash.isequalwith-4.4.0.tgz",
"integrity": "sha1-Jmcm3dUo+FTyH06pigZWBuD7xrA=", "integrity": "sha1-Jmcm3dUo+FTyH06pigZWBuD7xrA=",
"dev": true "dev": true
}, },
"lodash.merge": {
"version": "4.6.2",
"resolved": "http://npm.anxinyun.cn/lodash.merge/-/lodash.merge-4.6.2.tgz",
"integrity": "sha1-VYqlO0O2YeGSWgr9+japoQhf5Xo="
},
"lodash.sortby": { "lodash.sortby": {
"version": "4.7.0", "version": "4.7.0",
"resolved": "http://npm.anxinyun.cn/lodash.sortby/-/lodash.sortby-4.7.0.tgz", "resolved": "http://npm.anxinyun.cn/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
@ -7950,8 +8551,7 @@
"path-to-regexp": { "path-to-regexp": {
"version": "2.4.0", "version": "2.4.0",
"resolved": "http://npm.anxinyun.cn/path-to-regexp/-/path-to-regexp-2.4.0.tgz", "resolved": "http://npm.anxinyun.cn/path-to-regexp/-/path-to-regexp-2.4.0.tgz",
"integrity": "sha1-Nc5/Mz1WFvHB4b/iZsOrouWy5wQ=", "integrity": "sha1-Nc5/Mz1WFvHB4b/iZsOrouWy5wQ="
"dev": true
}, },
"pause-stream": { "pause-stream": {
"version": "0.0.11", "version": "0.0.11",
@ -8940,8 +9540,7 @@
"react-lifecycles-compat": { "react-lifecycles-compat": {
"version": "3.0.4", "version": "3.0.4",
"resolved": "http://npm.anxinyun.cn/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", "resolved": "http://npm.anxinyun.cn/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
"integrity": "sha1-TxonOv38jzSIqMUWv9p4+HI1I2I=", "integrity": "sha1-TxonOv38jzSIqMUWv9p4+HI1I2I="
"dev": true
}, },
"react-quill": { "react-quill": {
"version": "1.3.5", "version": "1.3.5",
@ -11047,6 +11646,14 @@
"acorn-walk": "^8.2.0" "acorn-walk": "^8.2.0"
} }
}, },
"warning": {
"version": "4.0.3",
"resolved": "http://npm.anxinyun.cn/warning/-/warning-4.0.3.tgz",
"integrity": "sha1-Fungd+uKhtavfWSqHgX9hbRnjKM=",
"requires": {
"loose-envify": "^1.0.0"
}
},
"watchpack": { "watchpack": {
"version": "2.3.1", "version": "2.3.1",
"resolved": "http://npm.anxinyun.cn/watchpack/-/watchpack-2.3.1.tgz", "resolved": "http://npm.anxinyun.cn/watchpack/-/watchpack-2.3.1.tgz",

1
web/package.json

@ -62,6 +62,7 @@
}, },
"dependencies": { "dependencies": {
"@ant-design/icons": "^4.6.2", "@ant-design/icons": "^4.6.2",
"@ant-design/pro-components": "^1.1.11",
"@ant-design/pro-form": "^1.34.0", "@ant-design/pro-form": "^1.34.0",
"@ant-design/pro-table": "^2.48.0", "@ant-design/pro-table": "^2.48.0",
"@antv/g6": "^4.2.5", "@antv/g6": "^4.2.5",

Loading…
Cancel
Save