@titaui/pc 1.7.25 → 1.7.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/lib/components/common-share/index.js +7 -3
  2. package/lib/components/common-share/publishMblog.js +4 -2
  3. package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +7 -1
  4. package/lib/components/nav-top/components/user-message/index.js +9 -0
  5. package/lib/components/nav-top/index.js +2 -3
  6. package/lib/components/weekly-report/card.js +36 -40
  7. package/lib/components/weekly-report/img/close.svg +22 -0
  8. package/lib/components/weekly-report/index.css +25 -5
  9. package/lib/components/weekly-report/index.js +106 -16
  10. package/lib/components/weekly-report/interface.js +5 -0
  11. package/lib/components/weekly-report/statistics.js +6 -9
  12. package/lib/pages/new-okr-list/index.js +2 -2
  13. package/package.json +1 -1
  14. package/src/components/cascader/index.scss +1 -1
  15. package/src/components/common-share/index.tsx +6 -2
  16. package/src/components/common-share/publishMblog.tsx +3 -1
  17. package/src/components/nav-top/components/user-message/components/inform/inform-item.tsx +5 -1
  18. package/src/components/nav-top/components/user-message/index.tsx +6 -1
  19. package/src/components/nav-top/index.tsx +1 -2
  20. package/src/components/weekly-report/card.tsx +127 -95
  21. package/src/components/weekly-report/img/close.svg +22 -0
  22. package/src/components/weekly-report/index.scss +25 -5
  23. package/src/components/weekly-report/index.tsx +89 -24
  24. package/src/components/weekly-report/interface.ts +31 -0
  25. package/src/components/weekly-report/statistics.tsx +7 -6
  26. package/src/pages/new-okr-list/index.tsx +2 -2
  27. package/yarn-error.log +15894 -0
@@ -33,7 +33,7 @@ const NewOkrList = (props) => {
33
33
  targetCategory: "",
34
34
  targetSort: "",
35
35
  };
36
- const filterCycle: any = () =>{
36
+ const filterCycle: any = (() =>{
37
37
  const routerData = getQueryString()
38
38
  const {annualNum,cycleType,yqmNum} = routerData
39
39
  if(!!annualNum&&!!cycleType&&!!yqmNum){
@@ -44,7 +44,7 @@ const NewOkrList = (props) => {
44
44
  cycleType: "2",
45
45
  yqmNum: `${moment().quarter()}`,
46
46
  };
47
- }
47
+ })()
48
48
 
49
49
  const showWorkExecution =
50
50
  getBSGlobal("OkrAdvancedSetting").KRSetting.ShowWorkExecution;