@titaui/pc 1.10.15 → 1.10.16

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.
@@ -25,7 +25,7 @@ var _default = /*#__PURE__*/function () {
25
25
  _createClass(_default, [{
26
26
  key: "highlight",
27
27
  value: function highlight(cb) {
28
- if (this.isUnAssigned()) cb(_menus.PAGE_UNASSIGNED_DEMOFREE);else if (this.isAssigned()) cb(_menus.PAGE_ASSIGNED_DEMOFREE);else if (this.isReserved()) cb(_menus.PAGE_RESERVED_DEMOFREE);else if (this.isDone()) cb(_menus.PAGE_DONE_DEMOFREE);else if (this.isIgnore()) cb(_menus.PAGE_IGNORED_DEMOFREE);else if (this.isChart()) cb(_menus.PAGE_CHARTS_DEMOFREE);else if (this.isRechargeList()) cb(_menus.PAGE_RECHARGE_LIST);else if (this.isRechargeStatistics()) cb(_menus.PAGE_RECHARGE_STATISTICS);
28
+ if (this.isUnAssigned()) cb(_menus.PAGE_UNASSIGNED_DEMOFREE);else if (this.isAssigned()) cb(_menus.PAGE_ASSIGNED_DEMOFREE);else if (this.isReserved()) cb(_menus.PAGE_RESERVED_DEMOFREE);else if (this.isDone()) cb(_menus.PAGE_DONE_DEMOFREE);else if (this.isIgnore()) cb(_menus.PAGE_IGNORED_DEMOFREE);else if (this.isChart()) cb(_menus.PAGE_CHARTS_DEMOFREE);else if (this.isRechargeList()) cb(_menus.PAGE_RECHARGE_LIST);else if (this.isRechargeStatistics()) cb(_menus.PAGE_RECHARGE_STATISTICS);else if (this.isRechargeStatus()) cb(_menus.PAGE_RECHARGE_STATUS);
29
29
  }
30
30
  }, {
31
31
  key: "isChart",
@@ -33,6 +33,12 @@ var _default = /*#__PURE__*/function () {
33
33
  var pathname = this.history.location.pathname;
34
34
  return pathname.match(/demofree\/charts/);
35
35
  }
36
+ }, {
37
+ key: "isRechargeStatus",
38
+ value: function isRechargeStatus() {
39
+ var pathname = this.history.location.pathname;
40
+ return pathname.match(/demofree\/recharge\/status/);
41
+ }
36
42
  }, {
37
43
  key: "isRechargeList",
38
44
  value: function isRechargeList() {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.defaultRefObject = exports["default"] = exports.PAGE_UNASSIGNED_DEMOFREE = exports.PAGE_RESERVED_DEMOFREE = exports.PAGE_RECHARGE_STATISTICS = exports.PAGE_RECHARGE_LIST = exports.PAGE_IGNORED_DEMOFREE = exports.PAGE_DONE_DEMOFREE = exports.PAGE_CHARTS_DEMOFREE = exports.PAGE_ASSIGNED_DEMOFREE = void 0;
6
+ exports.defaultRefObject = exports["default"] = exports.PAGE_UNASSIGNED_DEMOFREE = exports.PAGE_RESERVED_DEMOFREE = exports.PAGE_RECHARGE_STATUS = exports.PAGE_RECHARGE_STATISTICS = exports.PAGE_RECHARGE_LIST = exports.PAGE_IGNORED_DEMOFREE = exports.PAGE_DONE_DEMOFREE = exports.PAGE_CHARTS_DEMOFREE = exports.PAGE_ASSIGNED_DEMOFREE = void 0;
7
7
 
8
8
  var _index = require("../../components/menu-tree/tree-node/index");
9
9
 
@@ -43,6 +43,8 @@ var PAGE_RECHARGE_LIST = "rechargeList";
43
43
  exports.PAGE_RECHARGE_LIST = PAGE_RECHARGE_LIST;
44
44
  var PAGE_RECHARGE_STATISTICS = "rechargeStatistics";
45
45
  exports.PAGE_RECHARGE_STATISTICS = PAGE_RECHARGE_STATISTICS;
46
+ var PAGE_RECHARGE_STATUS = "rechargeStatus";
47
+ exports.PAGE_RECHARGE_STATUS = PAGE_RECHARGE_STATUS;
46
48
 
47
49
  var DemoMenuData = /*#__PURE__*/function () {
48
50
  function DemoMenuData(isManager) {
@@ -112,6 +114,12 @@ var DemoMenuData = /*#__PURE__*/function () {
112
114
  key: PAGE_RECHARGE_STATISTICS,
113
115
  href: "#/demofree/recharge/statistics",
114
116
  isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager
117
+ }, {
118
+ icon: "",
119
+ label: "续费状态",
120
+ key: PAGE_RECHARGE_STATUS,
121
+ href: "#/demofree/recharge/status",
122
+ isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager
115
123
  }]
116
124
  }];
117
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.15",
3
+ "version": "1.10.16",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",