菜单名称更改
parent
d3a55d163b
commit
c901f8f07a
|
|
@ -236,7 +236,7 @@ export async function loadMenu(): Promise<MenuItem[]> {
|
|||
id: id(), title: '管理体系', redirect: '/mgr/sz/gltx/zzjgck',
|
||||
children: [
|
||||
{
|
||||
id: id(), title: '管理体系', path: '/mgr/sz/gltx/zzjgck',
|
||||
id: id(), title: '组织机构查看', path: '/mgr/sz/gltx/zzjgck',
|
||||
},
|
||||
{
|
||||
id: id(), title: '责任人管理', path: '/mgr/sz/gltx/zrrgl',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const Page = ({ title = '标题' }) => {
|
|||
const [inspectordata, setInspectorData] = useState([{}])
|
||||
const [plandata, setPlanData] = useState([])
|
||||
const [problemdata, setProblemData] = useState(Object())
|
||||
const [sumTotal, setSum] = useState(0)
|
||||
const [MaxMin, setMaxMin] = useState({max:0,min:0})
|
||||
|
||||
const getPlanOption = useMemo((name, data) => {
|
||||
return {
|
||||
|
|
@ -39,21 +39,21 @@ const Page = ({ title = '标题' }) => {
|
|||
|
||||
},
|
||||
radiusAxis: {
|
||||
min: 0,
|
||||
max: 20,
|
||||
interval: 2,
|
||||
// 刻度
|
||||
min:0,
|
||||
max:MaxMin.max,
|
||||
interval: 1,
|
||||
// // 刻度
|
||||
axisTick:{
|
||||
show:false
|
||||
},
|
||||
//刻度数值
|
||||
// //刻度数值
|
||||
axisLabel:{
|
||||
show:false
|
||||
},
|
||||
// 线
|
||||
axisLine:{
|
||||
show:false
|
||||
},
|
||||
// // 线
|
||||
// axisLine:{
|
||||
// show:false
|
||||
// },
|
||||
},
|
||||
series: [
|
||||
{
|
||||
|
|
@ -115,10 +115,10 @@ const Page = ({ title = '标题' }) => {
|
|||
setPlanData([])
|
||||
}else{
|
||||
setPlanData(arr)
|
||||
setMaxMin({max:Math.max.apply(Math,res.data.map(item => { return item.count })),min:Math.min.apply(Math,res.data.map(item => { return item.count }))})
|
||||
console.log({max:Math.max.apply(Math,res.data.map(item => { return item.count })),min:Math.min.apply(Math,res.data.map(item => { return item.count }))});
|
||||
|
||||
}
|
||||
|
||||
setSum(sum)
|
||||
|
||||
})
|
||||
}
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue