@titaui/pc 1.10.30 → 1.10.31

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);else if (this.isRechargeStatus()) cb(_menus.PAGE_RECHARGE_STATUS);
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);else if (this.isDueDateOrder()) cb(_menus.PAGE_DUEDATE_ORDER);
29
29
  }
30
30
  }, {
31
31
  key: "isChart",
@@ -39,6 +39,12 @@ var _default = /*#__PURE__*/function () {
39
39
  var pathname = this.history.location.pathname;
40
40
  return pathname.match(/demofree\/recharge\/status/);
41
41
  }
42
+ }, {
43
+ key: "isDueDateOrder",
44
+ value: function isDueDateOrder() {
45
+ var pathname = this.history.location.pathname;
46
+ return pathname.match(/demofree\/recharge\/order/);
47
+ }
42
48
  }, {
43
49
  key: "isRechargeList",
44
50
  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_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;
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_DUEDATE_ORDER = 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
 
@@ -41,6 +41,8 @@ var PAGE_CHARTS_DEMOFREE = "charts";
41
41
  exports.PAGE_CHARTS_DEMOFREE = PAGE_CHARTS_DEMOFREE;
42
42
  var PAGE_RECHARGE_LIST = "rechargeList";
43
43
  exports.PAGE_RECHARGE_LIST = PAGE_RECHARGE_LIST;
44
+ var PAGE_DUEDATE_ORDER = "dueDateOrder";
45
+ exports.PAGE_DUEDATE_ORDER = PAGE_DUEDATE_ORDER;
44
46
  var PAGE_RECHARGE_STATISTICS = "rechargeStatistics";
45
47
  exports.PAGE_RECHARGE_STATISTICS = PAGE_RECHARGE_STATISTICS;
46
48
  var PAGE_RECHARGE_STATUS = "rechargeStatus";
@@ -96,24 +98,31 @@ var DemoMenuData = /*#__PURE__*/function () {
96
98
  isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager,
97
99
  children: [{
98
100
  icon: "",
99
- label: "到期订单",
101
+ label: "到期客户",
100
102
  key: PAGE_RECHARGE_LIST,
101
103
  href: "#/demofree/recharge/list",
102
104
  isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager
103
- }, // {
105
+ }, {
106
+ icon: "",
107
+ label: "到期订单",
108
+ key: PAGE_DUEDATE_ORDER,
109
+ href: "#/demofree/recharge/order",
110
+ isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager
111
+ } // {
104
112
  // icon: "",
105
113
  // label: "续费状态",
106
114
  // key: PAGE_RECHARGE_STATUS,
107
115
  // href: "#/demofree/recharge/status",
108
116
  // isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager,
109
117
  // },
110
- {
111
- icon: "",
112
- label: "数据统计",
113
- key: PAGE_RECHARGE_STATISTICS,
114
- href: "#/demofree/recharge/statistics",
115
- isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager
116
- }]
118
+ // {
119
+ // icon: "",
120
+ // label: "数据统计",
121
+ // key: PAGE_RECHARGE_STATISTICS,
122
+ // href: "#/demofree/recharge/statistics",
123
+ // isShow: this.isManager === EManagerType.ReCharge || this.isManager === EManagerType.Manager,
124
+ // },
125
+ ]
117
126
  }, {
118
127
  icon: "KH-help",
119
128
  label: "预约演示报表",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.30",
3
+ "version": "1.10.31",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",