@titaui/pc 1.11.21 → 1.11.25

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.
@@ -118,5 +118,5 @@ var EStatusStatus2ClassType = {
118
118
  5: "tu-icon-jiantou-right"
119
119
  };
120
120
  exports.EStatusStatus2ClassType = EStatusStatus2ClassType;
121
- var PlanReportType = ["titaPlanReport"];
121
+ var PlanReportType = ["titaPlanReport", "titaPlanManagerReport"];
122
122
  exports.PlanReportType = PlanReportType;
@@ -64,7 +64,7 @@ var EReportShare = /*#__PURE__*/function (_PureComponent) {
64
64
  var _this$props = _this.props,
65
65
  onSubmit = _this$props.onSubmit,
66
66
  workId = _this$props.workId;
67
- sentData.ObjType = 4;
67
+ sentData.ObjType = 62;
68
68
  sentData.ObjId = workId;
69
69
 
70
70
  if (submitType === "submit") {
@@ -304,8 +304,13 @@ function PayDialog(props) {
304
304
  e.preventDefault();
305
305
  var path = window.location.href.split("#")[0];
306
306
  path = path.replace(/eLearningHome/, "Home");
307
- var encode = encodeURIComponent("orderId=".concat(orderId, "&payCode=").concat(payCode, "&payName=").concat(payName));
308
- window.open("".concat(path, "#/pay?").concat(encode), "_blank"); // postWxPayOrder({
307
+ var encode = encodeURIComponent("orderId=".concat(orderId, "&payCode=").concat(payCode, "&payName=").concat(payName)); // if(isDingDing()){
308
+ // window.open(`${path}#/pay?${encode}`, "_self");
309
+ // window.location.reload();
310
+ // }else{
311
+
312
+ window.open("".concat(path, "#/pay?").concat(encode), "_blank"); // }
313
+ // postWxPayOrder({
309
314
  // order_id: orderId,
310
315
  // default_bank: payCode,
311
316
  // default_bank_name: payName,
@@ -19,7 +19,7 @@ var Chart = function Chart(props) {
19
19
  // });
20
20
  // }, []);
21
21
  var Chart = (_window = window) === null || _window === void 0 ? void 0 : (_window$SupersetChart = _window.SupersetChart) === null || _window$SupersetChart === void 0 ? void 0 : _window$SupersetChart.SupersetChart;
22
- return Chart && /*#__PURE__*/_react["default"].createElement(Chart, props);
22
+ return Chart ? /*#__PURE__*/_react["default"].createElement(Chart, props) : /*#__PURE__*/_react["default"].createElement("div", null);
23
23
  };
24
24
 
25
25
  var _default = Chart;
@@ -65,14 +65,6 @@ var beforeResponse = function beforeResponse(res) {
65
65
  config.retry = 3;
66
66
  config.retryCount = config.retryCount || 0;
67
67
 
68
- if (window.titaTracker) {
69
- window.titaTracker("action").record({
70
- actionName: JSON.stringify(config),
71
- actionGroup: "调用接口",
72
- productName: "接口"
73
- });
74
- }
75
-
76
68
  if (res.data.code === 401) {
77
69
  // 401错误表示未登录授权或者token失效
78
70
  clearToken();
@@ -77,7 +77,7 @@ var ContactModel = function ContactModel(_ref) {
77
77
  className: "tu-icon-canceled ".concat(preCls, "__head-close "),
78
78
  onClick: handleClose
79
79
  })), /*#__PURE__*/_react["default"].createElement(Input, {
80
- placeholder: '请输入',
80
+ placeholder: '参与调研有礼相送哦~',
81
81
  value: contact,
82
82
  onChange: onContactChange,
83
83
  className: "".concat(preCls, "__input")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.11.21",
3
+ "version": "1.11.25",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",