@panpanzhao/component-ui 0.0.43 → 0.0.44
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/component-ui.common.js +26 -32
- package/lib/components/crud.js +26 -32
- package/lib/components/form-dialog.js +26 -32
- package/lib/components/table-operate.js +26 -32
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -3576,16 +3576,14 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message_);
|
|
|
3576
3576
|
_this3.reset();
|
|
3577
3577
|
_this3.show = false;
|
|
3578
3578
|
}
|
|
3579
|
-
|
|
3580
|
-
_this3
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
}
|
|
3588
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
3579
|
+
_this3.$emit("success", {
|
|
3580
|
+
request: _this3.requester,
|
|
3581
|
+
reqData: reqData,
|
|
3582
|
+
expandData: _this3.expandModel
|
|
3583
|
+
}, {
|
|
3584
|
+
button: button
|
|
3585
|
+
});
|
|
3586
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
3589
3587
|
_this3.on.success.call(_this3, {
|
|
3590
3588
|
request: _this3.requester,
|
|
3591
3589
|
reqData: reqData,
|
|
@@ -3606,17 +3604,15 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message_);
|
|
|
3606
3604
|
button.loading = false;
|
|
3607
3605
|
_this3.reset();
|
|
3608
3606
|
_this3.show = false;
|
|
3609
|
-
|
|
3610
|
-
_this3
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
}
|
|
3619
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
3607
|
+
_this3.$emit("success", {
|
|
3608
|
+
request: _this3.requester,
|
|
3609
|
+
reqData: reqData,
|
|
3610
|
+
resData: res,
|
|
3611
|
+
expandData: _this3.expandModel
|
|
3612
|
+
}, {
|
|
3613
|
+
button: button
|
|
3614
|
+
});
|
|
3615
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
3620
3616
|
_this3.on.success.call(_this3, {
|
|
3621
3617
|
request: _this3.requester,
|
|
3622
3618
|
reqData: reqData,
|
|
@@ -3631,17 +3627,15 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message_);
|
|
|
3631
3627
|
}
|
|
3632
3628
|
}).catch(function (error) {
|
|
3633
3629
|
button.loading = false;
|
|
3634
|
-
|
|
3635
|
-
_this3
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
}
|
|
3644
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
3630
|
+
_this3.$emit("error", {
|
|
3631
|
+
request: _this3.requester,
|
|
3632
|
+
reqData: reqData,
|
|
3633
|
+
resError: error,
|
|
3634
|
+
expandData: _this3.expandModel
|
|
3635
|
+
}, {
|
|
3636
|
+
button: button
|
|
3637
|
+
});
|
|
3638
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
3645
3639
|
_this3.on.error.call(_this3, {
|
|
3646
3640
|
request: _this3.requester,
|
|
3647
3641
|
reqData: reqData,
|
package/lib/components/crud.js
CHANGED
|
@@ -1616,16 +1616,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1616
1616
|
_this3.reset();
|
|
1617
1617
|
_this3.show = false;
|
|
1618
1618
|
}
|
|
1619
|
-
|
|
1620
|
-
_this3
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
}
|
|
1628
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1619
|
+
_this3.$emit("success", {
|
|
1620
|
+
request: _this3.requester,
|
|
1621
|
+
reqData: reqData,
|
|
1622
|
+
expandData: _this3.expandModel
|
|
1623
|
+
}, {
|
|
1624
|
+
button: button
|
|
1625
|
+
});
|
|
1626
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1629
1627
|
_this3.on.success.call(_this3, {
|
|
1630
1628
|
request: _this3.requester,
|
|
1631
1629
|
reqData: reqData,
|
|
@@ -1646,17 +1644,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1646
1644
|
button.loading = false;
|
|
1647
1645
|
_this3.reset();
|
|
1648
1646
|
_this3.show = false;
|
|
1649
|
-
|
|
1650
|
-
_this3
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
}
|
|
1659
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1647
|
+
_this3.$emit("success", {
|
|
1648
|
+
request: _this3.requester,
|
|
1649
|
+
reqData: reqData,
|
|
1650
|
+
resData: res,
|
|
1651
|
+
expandData: _this3.expandModel
|
|
1652
|
+
}, {
|
|
1653
|
+
button: button
|
|
1654
|
+
});
|
|
1655
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1660
1656
|
_this3.on.success.call(_this3, {
|
|
1661
1657
|
request: _this3.requester,
|
|
1662
1658
|
reqData: reqData,
|
|
@@ -1671,17 +1667,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1671
1667
|
}
|
|
1672
1668
|
}).catch(function (error) {
|
|
1673
1669
|
button.loading = false;
|
|
1674
|
-
|
|
1675
|
-
_this3
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
}
|
|
1684
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
1670
|
+
_this3.$emit("error", {
|
|
1671
|
+
request: _this3.requester,
|
|
1672
|
+
reqData: reqData,
|
|
1673
|
+
resError: error,
|
|
1674
|
+
expandData: _this3.expandModel
|
|
1675
|
+
}, {
|
|
1676
|
+
button: button
|
|
1677
|
+
});
|
|
1678
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
1685
1679
|
_this3.on.error.call(_this3, {
|
|
1686
1680
|
request: _this3.requester,
|
|
1687
1681
|
reqData: reqData,
|
|
@@ -1187,16 +1187,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1187
1187
|
_this3.reset();
|
|
1188
1188
|
_this3.show = false;
|
|
1189
1189
|
}
|
|
1190
|
-
|
|
1191
|
-
_this3
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
}
|
|
1199
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1190
|
+
_this3.$emit("success", {
|
|
1191
|
+
request: _this3.requester,
|
|
1192
|
+
reqData: reqData,
|
|
1193
|
+
expandData: _this3.expandModel
|
|
1194
|
+
}, {
|
|
1195
|
+
button: button
|
|
1196
|
+
});
|
|
1197
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1200
1198
|
_this3.on.success.call(_this3, {
|
|
1201
1199
|
request: _this3.requester,
|
|
1202
1200
|
reqData: reqData,
|
|
@@ -1217,17 +1215,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1217
1215
|
button.loading = false;
|
|
1218
1216
|
_this3.reset();
|
|
1219
1217
|
_this3.show = false;
|
|
1220
|
-
|
|
1221
|
-
_this3
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
}
|
|
1230
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1218
|
+
_this3.$emit("success", {
|
|
1219
|
+
request: _this3.requester,
|
|
1220
|
+
reqData: reqData,
|
|
1221
|
+
resData: res,
|
|
1222
|
+
expandData: _this3.expandModel
|
|
1223
|
+
}, {
|
|
1224
|
+
button: button
|
|
1225
|
+
});
|
|
1226
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1231
1227
|
_this3.on.success.call(_this3, {
|
|
1232
1228
|
request: _this3.requester,
|
|
1233
1229
|
reqData: reqData,
|
|
@@ -1242,17 +1238,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1242
1238
|
}
|
|
1243
1239
|
}).catch(function (error) {
|
|
1244
1240
|
button.loading = false;
|
|
1245
|
-
|
|
1246
|
-
_this3
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
}
|
|
1255
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
1241
|
+
_this3.$emit("error", {
|
|
1242
|
+
request: _this3.requester,
|
|
1243
|
+
reqData: reqData,
|
|
1244
|
+
resError: error,
|
|
1245
|
+
expandData: _this3.expandModel
|
|
1246
|
+
}, {
|
|
1247
|
+
button: button
|
|
1248
|
+
});
|
|
1249
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
1256
1250
|
_this3.on.error.call(_this3, {
|
|
1257
1251
|
request: _this3.requester,
|
|
1258
1252
|
reqData: reqData,
|
|
@@ -1616,16 +1616,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1616
1616
|
_this3.reset();
|
|
1617
1617
|
_this3.show = false;
|
|
1618
1618
|
}
|
|
1619
|
-
|
|
1620
|
-
_this3
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
}
|
|
1628
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1619
|
+
_this3.$emit("success", {
|
|
1620
|
+
request: _this3.requester,
|
|
1621
|
+
reqData: reqData,
|
|
1622
|
+
expandData: _this3.expandModel
|
|
1623
|
+
}, {
|
|
1624
|
+
button: button
|
|
1625
|
+
});
|
|
1626
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1629
1627
|
_this3.on.success.call(_this3, {
|
|
1630
1628
|
request: _this3.requester,
|
|
1631
1629
|
reqData: reqData,
|
|
@@ -1646,17 +1644,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1646
1644
|
button.loading = false;
|
|
1647
1645
|
_this3.reset();
|
|
1648
1646
|
_this3.show = false;
|
|
1649
|
-
|
|
1650
|
-
_this3
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
}
|
|
1659
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1647
|
+
_this3.$emit("success", {
|
|
1648
|
+
request: _this3.requester,
|
|
1649
|
+
reqData: reqData,
|
|
1650
|
+
resData: res,
|
|
1651
|
+
expandData: _this3.expandModel
|
|
1652
|
+
}, {
|
|
1653
|
+
button: button
|
|
1654
|
+
});
|
|
1655
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1660
1656
|
_this3.on.success.call(_this3, {
|
|
1661
1657
|
request: _this3.requester,
|
|
1662
1658
|
reqData: reqData,
|
|
@@ -1671,17 +1667,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1671
1667
|
}
|
|
1672
1668
|
}).catch(function (error) {
|
|
1673
1669
|
button.loading = false;
|
|
1674
|
-
|
|
1675
|
-
_this3
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
}
|
|
1684
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
1670
|
+
_this3.$emit("error", {
|
|
1671
|
+
request: _this3.requester,
|
|
1672
|
+
reqData: reqData,
|
|
1673
|
+
resError: error,
|
|
1674
|
+
expandData: _this3.expandModel
|
|
1675
|
+
}, {
|
|
1676
|
+
button: button
|
|
1677
|
+
});
|
|
1678
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
1685
1679
|
_this3.on.error.call(_this3, {
|
|
1686
1680
|
request: _this3.requester,
|
|
1687
1681
|
reqData: reqData,
|