diff --git a/web/client/src/sections/humanAffairs/containers/personnelFilesDetail.jsx b/web/client/src/sections/humanAffairs/containers/personnelFilesDetail.jsx index 825ba93..46a4e8e 100644 --- a/web/client/src/sections/humanAffairs/containers/personnelFilesDetail.jsx +++ b/web/client/src/sections/humanAffairs/containers/personnelFilesDetail.jsx @@ -350,6 +350,12 @@ const Rest = (props) => { } } let data = { + legend: { + data: ["请假"], + left: 'right', + icon: 'roundRect', + itemHeight: 3, // 粗细 + }, color: ['#0F7EFB', '#FE9812'], //两条折线的颜色 xAxis: [ { @@ -385,7 +391,7 @@ const Rest = (props) => { }, series: [ { - name: "调休", + name: "请假", type: "line", areaStyle: { color: 'rgba(14,156,255,0.5)',