easy3wui 1.5.83 → 1.5.84
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/Easy3wA/index.js +6 -2
- package/lib/Easy3wButton/index.js +6 -2
- package/lib/Easy3wButtonOne/index.js +6 -2
- package/lib/Easy3wFormPage/indexM.js +12 -4
- package/lib/Easy3wFormPage/indexPC.js +12 -4
- package/lib/Easy3wModal/index.js +18 -6
- package/lib/Easy3wPositionButton/index.js +6 -2
- package/lib/Easy3wQryGrid/index.js +6 -2
- package/package.json +1 -1
package/lib/Easy3wA/index.js
CHANGED
|
@@ -51,8 +51,12 @@ var Easy3wA = function (_Component) {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
54
|
-
var
|
|
55
|
-
|
|
54
|
+
var _this$props$loading = _this.props.loading,
|
|
55
|
+
global = _this$props$loading.global,
|
|
56
|
+
globalFetch = _this$props$loading.globalFetch,
|
|
57
|
+
globalBlack = _this$props$loading.globalBlack;
|
|
58
|
+
|
|
59
|
+
if (global || globalFetch || globalBlack) {
|
|
56
60
|
_notification2['default'].warning({
|
|
57
61
|
message: '温馨提示',
|
|
58
62
|
description: '正在后台处理,请稍后!',
|
|
@@ -91,8 +91,12 @@ var Easy3wButton = function (_Component) {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
94
|
-
var
|
|
95
|
-
|
|
94
|
+
var _this$props$loading = _this.props.loading,
|
|
95
|
+
global = _this$props$loading.global,
|
|
96
|
+
globalFetch = _this$props$loading.globalFetch,
|
|
97
|
+
globalBlack = _this$props$loading.globalBlack;
|
|
98
|
+
|
|
99
|
+
if (global || globalFetch || globalBlack) {
|
|
96
100
|
_notification2['default'].warning({
|
|
97
101
|
message: '温馨提示',
|
|
98
102
|
description: '正在后台处理,请稍后!',
|
|
@@ -71,8 +71,12 @@ var Easy3wButtonOne = function (_Component) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
74
|
-
var
|
|
75
|
-
|
|
74
|
+
var _this$props$loadingFl = _this.props.loadingFlag,
|
|
75
|
+
global = _this$props$loadingFl.global,
|
|
76
|
+
globalFetch = _this$props$loadingFl.globalFetch,
|
|
77
|
+
globalBlack = _this$props$loadingFl.globalBlack;
|
|
78
|
+
|
|
79
|
+
if (global || globalFetch || globalBlack) {
|
|
76
80
|
_notification3['default'].warning({
|
|
77
81
|
message: '温馨提示',
|
|
78
82
|
description: '正在后台处理,请稍后!',
|
|
@@ -340,8 +340,12 @@ var Easy3wFormPageM = exports.Easy3wFormPageM = function (_Component) {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
343
|
-
var
|
|
344
|
-
|
|
343
|
+
var _this$props$loadingFl = _this.props.loadingFlag,
|
|
344
|
+
global = _this$props$loadingFl.global,
|
|
345
|
+
globalFetch = _this$props$loadingFl.globalFetch,
|
|
346
|
+
globalBlack = _this$props$loadingFl.globalBlack;
|
|
347
|
+
|
|
348
|
+
if (global || globalFetch || globalBlack) {
|
|
345
349
|
_notification3['default'].warning({
|
|
346
350
|
message: '温馨提示',
|
|
347
351
|
description: '正在后台处理,请稍后!',
|
|
@@ -2519,8 +2523,12 @@ var Easy3wFormPageTightM = exports.Easy3wFormPageTightM = function (_Component2)
|
|
|
2519
2523
|
return rowItems;
|
|
2520
2524
|
}
|
|
2521
2525
|
}, _this2.onClickFunc = function (e, func) {
|
|
2522
|
-
var
|
|
2523
|
-
|
|
2526
|
+
var _this2$props$loadingF = _this2.props.loadingFlag,
|
|
2527
|
+
global = _this2$props$loadingF.global,
|
|
2528
|
+
globalFetch = _this2$props$loadingF.globalFetch,
|
|
2529
|
+
globalBlack = _this2$props$loadingF.globalBlack;
|
|
2530
|
+
|
|
2531
|
+
if (global || globalFetch || globalBlack) {
|
|
2524
2532
|
_notification3['default'].warning({
|
|
2525
2533
|
message: '温馨提示',
|
|
2526
2534
|
description: '正在后台处理,请稍后!',
|
|
@@ -331,8 +331,12 @@ var Easy3wFormPagePC = exports.Easy3wFormPagePC = function (_Component) {
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
334
|
-
var
|
|
335
|
-
|
|
334
|
+
var _this$props$loadingFl = _this.props.loadingFlag,
|
|
335
|
+
global = _this$props$loadingFl.global,
|
|
336
|
+
globalFetch = _this$props$loadingFl.globalFetch,
|
|
337
|
+
globalBlack = _this$props$loadingFl.globalBlack;
|
|
338
|
+
|
|
339
|
+
if (global || globalFetch || globalBlack) {
|
|
336
340
|
_notification3['default'].warning({
|
|
337
341
|
message: '温馨提示',
|
|
338
342
|
description: '正在后台处理,请稍后!',
|
|
@@ -2256,8 +2260,12 @@ var Easy3wFormPageTightPC = exports.Easy3wFormPageTightPC = function (_Component
|
|
|
2256
2260
|
return _ret2 = (_temp2 = (_this2 = (0, _possibleConstructorReturn3['default'])(this, _Component2.call.apply(_Component2, [this].concat(args))), _this2), _this2.state = {
|
|
2257
2261
|
leftCount: 0 // 字数输入个数
|
|
2258
2262
|
}, _this2.onClickFunc = function (e, func) {
|
|
2259
|
-
var
|
|
2260
|
-
|
|
2263
|
+
var _this2$props$loadingF = _this2.props.loadingFlag,
|
|
2264
|
+
global = _this2$props$loadingF.global,
|
|
2265
|
+
globalFetch = _this2$props$loadingF.globalFetch,
|
|
2266
|
+
globalBlack = _this2$props$loadingF.globalBlack;
|
|
2267
|
+
|
|
2268
|
+
if (global || globalFetch || globalBlack) {
|
|
2261
2269
|
_notification3['default'].warning({
|
|
2262
2270
|
message: '温馨提示',
|
|
2263
2271
|
description: '正在后台处理,请稍后!',
|
package/lib/Easy3wModal/index.js
CHANGED
|
@@ -67,8 +67,12 @@ var Easy3wModal = function (_Component) {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
70
|
-
var
|
|
71
|
-
|
|
70
|
+
var _this$props$loadingFl = _this.props.loadingFlag,
|
|
71
|
+
global = _this$props$loadingFl.global,
|
|
72
|
+
globalFetch = _this$props$loadingFl.globalFetch,
|
|
73
|
+
globalBlack = _this$props$loadingFl.globalBlack;
|
|
74
|
+
|
|
75
|
+
if (global || globalFetch || globalBlack) {
|
|
72
76
|
_notification3['default'].warning({
|
|
73
77
|
message: '温馨提示',
|
|
74
78
|
description: '正在后台处理,请稍后!',
|
|
@@ -148,8 +152,12 @@ var Easy3wModal = function (_Component) {
|
|
|
148
152
|
},
|
|
149
153
|
onOk: function onOk() {
|
|
150
154
|
// 1. 检查全局 loading 状态,阻止重复操作
|
|
151
|
-
var
|
|
152
|
-
|
|
155
|
+
var _Easy3wModal$getLoadi = Easy3wModal.getLoading(),
|
|
156
|
+
global = _Easy3wModal$getLoadi.global,
|
|
157
|
+
globalFetch = _Easy3wModal$getLoadi.globalFetch,
|
|
158
|
+
globalBlack = _Easy3wModal$getLoadi.globalBlack;
|
|
159
|
+
|
|
160
|
+
if (global || globalFetch || globalBlack) {
|
|
153
161
|
_notification3['default'].warning({
|
|
154
162
|
message: '温馨提示',
|
|
155
163
|
description: '操作正在进行中,请稍后!',
|
|
@@ -212,8 +220,12 @@ var Easy3wModal = function (_Component) {
|
|
|
212
220
|
},
|
|
213
221
|
onOk: function onOk() {
|
|
214
222
|
if (_onOk2) {
|
|
215
|
-
var
|
|
216
|
-
|
|
223
|
+
var _Easy3wModal$getLoadi2 = Easy3wModal.getLoading(),
|
|
224
|
+
global = _Easy3wModal$getLoadi2.global,
|
|
225
|
+
globalFetch = _Easy3wModal$getLoadi2.globalFetch,
|
|
226
|
+
globalBlack = _Easy3wModal$getLoadi2.globalBlack;
|
|
227
|
+
|
|
228
|
+
if (global || globalFetch || globalBlack) {
|
|
217
229
|
_notification3['default'].warning({
|
|
218
230
|
message: '温馨提示',
|
|
219
231
|
description: '操作正在进行中,请稍后!',
|
|
@@ -45,8 +45,12 @@ var Easy3wPositionButton = function (_Component) {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
|
|
48
|
-
var
|
|
49
|
-
|
|
48
|
+
var _this$props$loading = _this.props.loading,
|
|
49
|
+
global = _this$props$loading.global,
|
|
50
|
+
globalFetch = _this$props$loading.globalFetch,
|
|
51
|
+
globalBlack = _this$props$loading.globalBlack;
|
|
52
|
+
|
|
53
|
+
if (global || globalFetch || globalBlack) {
|
|
50
54
|
_notification2['default'].warning({
|
|
51
55
|
message: '温馨提示',
|
|
52
56
|
description: '正在后台处理,请稍后!',
|
|
@@ -463,8 +463,12 @@ var Easy3wQryGrid = function (_Component) {
|
|
|
463
463
|
|
|
464
464
|
return _react2['default'].createElement(_cascader2['default'], cmptPros);
|
|
465
465
|
}, _this.handleSearch = function () {
|
|
466
|
-
var
|
|
467
|
-
|
|
466
|
+
var _this$props$loading = _this.props.loading,
|
|
467
|
+
global = _this$props$loading.global,
|
|
468
|
+
globalFetch = _this$props$loading.globalFetch,
|
|
469
|
+
globalBlack = _this$props$loading.globalBlack;
|
|
470
|
+
|
|
471
|
+
if (global || globalFetch || globalBlack) {
|
|
468
472
|
_notification2['default'].warning({
|
|
469
473
|
message: '温馨提示',
|
|
470
474
|
description: '正在后台处理,请稍后!',
|