@titaui/pc 1.11.46 → 1.11.47
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.
|
@@ -504,7 +504,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
504
504
|
|
|
505
505
|
this.getListData = /*#__PURE__*/function () {
|
|
506
506
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(isLoading) {
|
|
507
|
-
var _this4$state2, keywords, type, users, departments, data, nextPage, toUserId, _this4$state3, status, cycle, year, okrPopType, url;
|
|
507
|
+
var _this4$state2, keywords, type, users, departments, data, nextPage, toUserId, _this4$state3, status, cycle, year, _this4$props2, okrPopType, _this4$props2$include, includeCreateFailApprovalOkr, url;
|
|
508
508
|
|
|
509
509
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
510
510
|
while (1) {
|
|
@@ -520,7 +520,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
520
520
|
case 2:
|
|
521
521
|
_this4$state2 = _this4.state, keywords = _this4$state2.keywords, type = _this4$state2.type, users = _this4$state2.users, departments = _this4$state2.departments, data = _this4$state2.data, nextPage = _this4$state2.nextPage, toUserId = _this4$state2.toUserId;
|
|
522
522
|
_this4$state3 = _this4.state, status = _this4$state3.status, cycle = _this4$state3.cycle, year = _this4$state3.year;
|
|
523
|
-
|
|
523
|
+
_this4$props2 = _this4.props, okrPopType = _this4$props2.okrPopType, _this4$props2$include = _this4$props2.includeCreateFailApprovalOkr, includeCreateFailApprovalOkr = _this4$props2$include === void 0 ? false : _this4$props2$include;
|
|
524
524
|
cycle = cycle || '-1';
|
|
525
525
|
year = year || -1;
|
|
526
526
|
status = status || 0;
|
|
@@ -565,7 +565,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
565
565
|
searchKr: okrPopType,
|
|
566
566
|
// 是否搜索KR:默认为0-不搜索,1-只有对齐目标弹层可以搜索KR
|
|
567
567
|
toUserId: toUserId,
|
|
568
|
-
includeCreateFailApprovalOkr:
|
|
568
|
+
includeCreateFailApprovalOkr: includeCreateFailApprovalOkr
|
|
569
569
|
}).then(function (res) {
|
|
570
570
|
_this4.pending = false;
|
|
571
571
|
var resData = res && res.Data && res.Data.works || [];
|
|
@@ -630,9 +630,9 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
630
630
|
var _this4$state4 = _this4.state,
|
|
631
631
|
selected = _this4$state4.selected,
|
|
632
632
|
selectOkr = _this4$state4.selectOkr;
|
|
633
|
-
var _this4$
|
|
634
|
-
onConfirm = _this4$
|
|
635
|
-
parentId = _this4$
|
|
633
|
+
var _this4$props3 = _this4.props,
|
|
634
|
+
onConfirm = _this4$props3.onConfirm,
|
|
635
|
+
parentId = _this4$props3.parentId;
|
|
636
636
|
var parentType = selected && selected.mileStoneId ? 2 : 1; // 临时注入
|
|
637
637
|
|
|
638
638
|
var data = _objectSpread(_objectSpread({}, selected), {}, {
|