@titaui/pc 1.10.1 → 1.10.4
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.
- package/lib/components/dialog-confirm/index.css +2 -1
- package/lib/components/menus/export-modules/demo-menus/menu-highlight.js +9 -3
- package/lib/components/menus/export-modules/demo-menus/menus.js +12 -35
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/index.css +1 -1
- package/lib/pages/aha2021/index.js +1 -1
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +1 -3
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
.titaui-dialog-confirm__btn-cancel {
|
|
35
35
|
background: #ffffff;
|
|
36
|
-
border: 1px solid #
|
|
36
|
+
border: 1px solid #dfe3ea;
|
|
37
37
|
color: #6f7886;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
.titaui-dialog-confirm__body-title {
|
|
101
101
|
display: flex;
|
|
102
|
+
align-items: center;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
.titaui-dialog-confirm__body-title-icon {
|
|
@@ -25,7 +25,13 @@ 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);
|
|
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);
|
|
29
|
+
}
|
|
30
|
+
}, {
|
|
31
|
+
key: "isChart",
|
|
32
|
+
value: function isChart() {
|
|
33
|
+
var pathname = this.history.location.pathname;
|
|
34
|
+
return pathname.match(/demofree\/charts/);
|
|
29
35
|
}
|
|
30
36
|
}, {
|
|
31
37
|
key: "isUnAssigned",
|
|
@@ -35,7 +41,7 @@ var _default = /*#__PURE__*/function () {
|
|
|
35
41
|
search = _this$history$locatio.search;
|
|
36
42
|
|
|
37
43
|
if (this.isManager === 1) {
|
|
38
|
-
return pathname.match(/demofree/) && (!search || search.match(/selected[\s]*?=[\s]*?unassigned/));
|
|
44
|
+
return pathname.match(/demofree\/list/) && (!search || search.match(/selected[\s]*?=[\s]*?unassigned/));
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
return pathname.match(/demofree/) && search.match(/selected[\s]*?=[\s]*?unassigned/);
|
|
@@ -46,7 +52,7 @@ var _default = /*#__PURE__*/function () {
|
|
|
46
52
|
var _this$history$locatio2 = this.history.location,
|
|
47
53
|
pathname = _this$history$locatio2.pathname,
|
|
48
54
|
search = _this$history$locatio2.search;
|
|
49
|
-
return pathname.match(/demofree/) && (!search || search.match(/selected[\s]*?=[\s]*?assigned/));
|
|
55
|
+
return pathname.match(/demofree\/list/) && (!search || search.match(/selected[\s]*?=[\s]*?assigned/));
|
|
50
56
|
}
|
|
51
57
|
}, {
|
|
52
58
|
key: "isReserved",
|
|
@@ -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_IGNORED_DEMOFREE = exports.PAGE_DONE_DEMOFREE = exports.PAGE_ASSIGNED_DEMOFREE = void 0;
|
|
6
|
+
exports.defaultRefObject = exports["default"] = exports.PAGE_UNASSIGNED_DEMOFREE = exports.PAGE_RESERVED_DEMOFREE = 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
|
|
|
@@ -28,6 +28,8 @@ var PAGE_DONE_DEMOFREE = "done";
|
|
|
28
28
|
exports.PAGE_DONE_DEMOFREE = PAGE_DONE_DEMOFREE;
|
|
29
29
|
var PAGE_IGNORED_DEMOFREE = "ignore";
|
|
30
30
|
exports.PAGE_IGNORED_DEMOFREE = PAGE_IGNORED_DEMOFREE;
|
|
31
|
+
var PAGE_CHARTS_DEMOFREE = "charts";
|
|
32
|
+
exports.PAGE_CHARTS_DEMOFREE = PAGE_CHARTS_DEMOFREE;
|
|
31
33
|
|
|
32
34
|
var DemoMenuData = /*#__PURE__*/function () {
|
|
33
35
|
function DemoMenuData() {
|
|
@@ -73,40 +75,15 @@ var DemoMenuData = /*#__PURE__*/function () {
|
|
|
73
75
|
href: "#/demofree/list?selected=ignore",
|
|
74
76
|
isShow: this.isManager
|
|
75
77
|
}]
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
// label: "未处理",
|
|
86
|
-
// key: "ignore",
|
|
87
|
-
// href: "#/demofree/custom?selected=未处理",
|
|
88
|
-
// isShow: true,
|
|
89
|
-
// },{
|
|
90
|
-
// icon: "",
|
|
91
|
-
// label: "待定",
|
|
92
|
-
// key: "ignore",
|
|
93
|
-
// href: "#/demofree/custom?selected=待定",
|
|
94
|
-
// isShow: true,
|
|
95
|
-
// },{
|
|
96
|
-
// icon: "",
|
|
97
|
-
// label: "已续费",
|
|
98
|
-
// key: "ignore",
|
|
99
|
-
// href: "#/demofree/custom?selected=已续费",
|
|
100
|
-
// isShow: true,
|
|
101
|
-
// },{
|
|
102
|
-
// icon: "",
|
|
103
|
-
// label: "未续费",
|
|
104
|
-
// key: "ignore",
|
|
105
|
-
// href: "#/demofree/custom?selected=未续费",
|
|
106
|
-
// isShow: true,
|
|
107
|
-
// }]
|
|
108
|
-
// },
|
|
109
|
-
];
|
|
78
|
+
}, {
|
|
79
|
+
icon: "KH-help",
|
|
80
|
+
label: "预约演示报表",
|
|
81
|
+
key: "charts",
|
|
82
|
+
href: "#/demofree/charts",
|
|
83
|
+
isShow: this.isManager,
|
|
84
|
+
children: [],
|
|
85
|
+
type: _index.MENU_ITEM_NOE
|
|
86
|
+
}];
|
|
110
87
|
}
|
|
111
88
|
|
|
112
89
|
_createClass(DemoMenuData, [{
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
.tita-okrdt-tree__e-empty-node {
|
|
380
380
|
font-size: 12px;
|
|
381
381
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
382
|
-
color: #
|
|
382
|
+
color: #A4ACB9;
|
|
383
383
|
line-height: 18px;
|
|
384
384
|
padding-left: 12px;
|
|
385
385
|
}
|
|
@@ -110,7 +110,7 @@ function PageLayout(props) {
|
|
|
110
110
|
}
|
|
111
111
|
}, children), !isTencentHr && /*#__PURE__*/_react["default"].createElement("div", {
|
|
112
112
|
className: (0, _classnames["default"])("".concat(preCls, "__help"))
|
|
113
|
-
}, /*#__PURE__*/_react["default"].createElement(_helpCard["default"], null)), !isTrial && !isTencentHr && /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
113
|
+
}, /*#__PURE__*/_react["default"].createElement(_helpCard["default"], null)), !isTrial && !isTencentHr && !(0, _helpers.isDingDing)() && /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
114
114
|
overlay: "\u8054\u7CFB\u5BA2\u670D",
|
|
115
115
|
placement: "left",
|
|
116
116
|
align: {
|
|
@@ -181,9 +181,7 @@ function _default(props) {
|
|
|
181
181
|
className: "user-group-page__import-download-template"
|
|
182
182
|
}, /*#__PURE__*/_react["default"].createElement("p", null, "1\u3001\u8BF7\u5148\u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F\uFF0C\u6279\u91CF\u586B\u5199\u5458\u5DE5\u4FE1\u606F"), /*#__PURE__*/_react["default"].createElement("a", {
|
|
183
183
|
href: url,
|
|
184
|
-
|
|
185
|
-
return console.log(url, "type".concat(type));
|
|
186
|
-
},
|
|
184
|
+
target: "_blank",
|
|
187
185
|
className: "user-group-page__import-download-template-button"
|
|
188
186
|
}, "\u4E0B\u8F7D\u6A21\u677F")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
189
187
|
className: "user-group-page__import-download-template"
|