@titaui/pc 1.12.74-beta.1 → 1.12.74-beta.2

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.
@@ -100,7 +100,7 @@ var _default = function _default() {
100
100
  var showCompanyAll = baseAuth.isBoss() || baseAuth.isAssistant() || baseAuth.isPlanDailyManager();
101
101
  (0, _react.useEffect)(function () {
102
102
  if (showCompanyAll) {
103
- window.location.href = '#/summary/depart?departmentName=公司全部&departmentId=0&modeType=date';
103
+ window.location.href = '#/summary/depart?departmentName=公司全部&departmentId=0';
104
104
 
105
105
  var allDepartmentText = window.getLocale && window.getLocale(_i18n.locale.menu_alldeparment) || _i18n.locale.menu_alldeparment;
106
106
 
@@ -140,11 +140,11 @@ var _default = function _default() {
140
140
  };
141
141
 
142
142
  if (rawTreeData.length > 1) {
143
- location.href = "#/summary/depart?departmentName=".concat(res.Data.departments[0].name, "&departmentId=-1&modeType=date");
143
+ location.href = "#/summary/depart?departmentName=".concat(res.Data.departments[0].name, "&departmentId=-1");
144
144
  rawTreeData.unshift(rootNode);
145
145
  setSelectedMenuKeys([-1]);
146
146
  } else {
147
- location.href = "#/summary/depart?departmentName=".concat(res.Data.departments[0].name, "&departmentId=").concat(res.Data.departments[0].id, "&modeType=date");
147
+ location.href = "#/summary/depart?departmentName=".concat(res.Data.departments[0].name, "&departmentId=").concat(res.Data.departments[0].id);
148
148
  setSelectedMenuKeys([rawTreeData[0].id]);
149
149
  }
150
150
 
@@ -74,7 +74,7 @@ function SummaryMenus(props) {
74
74
  });
75
75
 
76
76
  var onUserSelectHandler = function onUserSelectHandler(user) {
77
- location.href = "#/summary/manage?toUserId=".concat(user.id, "&modeType=date");
77
+ location.href = "#/summary/manage?toUserId=".concat(user.id);
78
78
  };
79
79
 
80
80
  var flipGoNext = function flipGoNext(opt) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.74-beta.1",
3
+ "version": "1.12.74-beta.2",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",