@titaui/pc 1.16.29-beta.1 → 1.16.30

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.
@@ -28,8 +28,6 @@ var _default = /*#__PURE__*/function () {
28
28
  cb(_menus.PAGE_SURVEY_MANAGE);
29
29
  } else if (this.isMyInvolved()) {
30
30
  cb(_menus.PAGE_SURVEY_MY_INVOLVED);
31
- } else if (this.isAssessSettings()) {
32
- cb(_menus.PAGE_SURVEY_ASSESS_SETTINGS);
33
31
  }
34
32
 
35
33
  return null;
@@ -46,12 +44,6 @@ var _default = /*#__PURE__*/function () {
46
44
  var pathname = this.history.location.pathname;
47
45
  return pathname.match(/survey\/manage/);
48
46
  }
49
- }, {
50
- key: "isAssessSettings",
51
- value: function isAssessSettings() {
52
- var pathname = this.history.location.pathname;
53
- return pathname.match(/survey\/assess-settings/);
54
- }
55
47
  }]);
56
48
 
57
49
  return _default;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.defaultRefObject = exports["default"] = exports.PAGE_SURVEY_MY_INVOLVED = exports.PAGE_SURVEY_MANAGE = exports.PAGE_SURVEY_ASSESS_SETTINGS = void 0;
6
+ exports.defaultRefObject = exports["default"] = exports.PAGE_SURVEY_MY_INVOLVED = exports.PAGE_SURVEY_MANAGE = void 0;
7
7
 
8
8
  var _index = require("../../components/menu-tree/tree-node/index");
9
9
 
@@ -24,8 +24,6 @@ var PAGE_SURVEY_MANAGE = 'surveymanage';
24
24
  exports.PAGE_SURVEY_MANAGE = PAGE_SURVEY_MANAGE;
25
25
  var PAGE_SURVEY_MY_INVOLVED = 'surveymyinvolved';
26
26
  exports.PAGE_SURVEY_MY_INVOLVED = PAGE_SURVEY_MY_INVOLVED;
27
- var PAGE_SURVEY_ASSESS_SETTINGS = 'assesssettings';
28
- exports.PAGE_SURVEY_ASSESS_SETTINGS = PAGE_SURVEY_ASSESS_SETTINGS;
29
27
 
30
28
  var surveyMenus = /*#__PURE__*/function () {
31
29
  function surveyMenus(props) {
@@ -45,20 +43,6 @@ var surveyMenus = /*#__PURE__*/function () {
45
43
  type: _index.MENU_ITEM_NOE,
46
44
  href: '#/survey/my-involved',
47
45
  isShow: true
48
- }, {
49
- icon: "",
50
- label: '基础设置',
51
- key: "other",
52
- type: _index.GROUP_NAME_NODE,
53
- href: "",
54
- isShow: props.isShowSurveyManage
55
- }, {
56
- icon: 'setting',
57
- label: '评估设置',
58
- key: PAGE_SURVEY_ASSESS_SETTINGS,
59
- type: _index.MENU_ITEM_NOE,
60
- href: '#/survey/assess-settings',
61
- isShow: props.isShowSurveyManage
62
46
  }];
63
47
  }
64
48
 
@@ -335,7 +335,7 @@ function _default(props) {
335
335
  _drawerManager["default"].close();
336
336
  }
337
337
 
338
- window.open("https://".concat(location.host).concat(location.pathname, "#more/taskinfo?id=").concat(data.taskId));
338
+ window.open("//".concat(window.location.host).concat(window.location.pathname, "#more/taskinfo?id=").concat(data.taskId));
339
339
  };
340
340
 
341
341
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -342,8 +342,8 @@ var OKRExcelCreate = function OKRExcelCreate(_ref3) {
342
342
  }, /*#__PURE__*/_react["default"].createElement(_tableExcelV["default"], {
343
343
  className: (0, _classnames["default"])("".concat(preCls, "__table-excel-v2 ").concat(tableClassName), _defineProperty({}, "".concat(preCls, "--disabled-remove"), hiddenRemoveIcon)),
344
344
  rowKey: "uuid",
345
- fixedHeader: true,
346
- pinned: [1, 0],
345
+ fixedHeader: true // pinned={[1, 0]}
346
+ ,
347
347
  columns: columnsOption,
348
348
  dataSource: excelTableData,
349
349
  rowLastNode: /*#__PURE__*/_react["default"].createElement("div", {
@@ -123,7 +123,6 @@
123
123
 
124
124
  .titaui-table-excel-v2__row {
125
125
  display: flex;
126
- z-index: 1;
127
126
  }
128
127
 
129
128
  .titaui-table-excel-v2__box {
@@ -9,8 +9,6 @@ exports.parseTag = exports.parseStringV2 = exports.parseString = exports.parseOp
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var Sentry = _interopRequireWildcard(require("@sentry/browser"));
13
-
14
12
  var _bsGlobal = require("./bs-global");
15
13
 
16
14
  var _openDataPainter = require("../components/open-data-painter");
@@ -101,22 +99,24 @@ function openData() {
101
99
  var openId = pCorpId || getOpenId(pId, pType);
102
100
 
103
101
  if (!openId) {
104
- if (pId !== undefined && !ignorePIds.includes(pId)) {
105
- Sentry.withScope(function (scope) {
106
- scope.setTag('error-level', 'P1');
107
- scope.setTag('error-type', 'openId不存在');
108
- scope.setTag('fail-type', pType);
109
- scope.setTag('p-id', pId);
110
- scope.setTag('p-name', pName);
111
- scope.setExtra('fail_type', pType);
112
- scope.setExtra('p_id', pId);
113
- scope.setExtra('p_name', pName);
114
- scope.setExtra('corp_id', pCorpId);
115
- scope.setExtra('open_id', getOpenId(pId, pType));
116
- p.callFunc && scope.setExtra('fail_callFunc', p.callFunc);
117
- p.extra && scope.setExtra('fail_extra', p.extra);
118
- Sentry.captureException(new Error('企业微信openData调用失败'), scope);
119
- });
102
+ if (pId !== undefined && !ignorePIds.includes(pId)) {// Sentry.withScope((scope) => {
103
+ // scope.setTag('error-level', 'P1')
104
+ // scope.setTag('error-type', 'openId不存在')
105
+ // scope.setTag('fail-type', pType)
106
+ // scope.setTag('p-id', pId)
107
+ // scope.setTag('p-name', pName)
108
+ // scope.setExtra('fail_type', pType)
109
+ // scope.setExtra('p_id', pId)
110
+ // scope.setExtra('p_name', pName)
111
+ // scope.setExtra('corp_id', pCorpId)
112
+ // scope.setExtra('open_id', getOpenId(pId, pType))
113
+ // p.callFunc && scope.setExtra('fail_callFunc', p.callFunc)
114
+ // p.extra && scope.setExtra('fail_extra', p.extra)
115
+ // Sentry.captureException(
116
+ // new Error('企业微信openData调用失败'),
117
+ // scope,
118
+ // )
119
+ // })
120
120
  }
121
121
 
122
122
  return pName || pId || null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.16.29-beta.1",
3
+ "version": "1.16.30",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",