@panpanzhao/component-ui 0.0.15 → 0.0.16
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.
|
@@ -3030,6 +3030,15 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
3030
3030
|
}, {
|
|
3031
3031
|
button: button
|
|
3032
3032
|
});
|
|
3033
|
+
if (typeof _this3.on.success === "function") {
|
|
3034
|
+
_this3.on.success.call(_this3, {
|
|
3035
|
+
request: _this3.requester,
|
|
3036
|
+
reqData: reqData,
|
|
3037
|
+
expandData: _this3.expandModel
|
|
3038
|
+
}, {
|
|
3039
|
+
button: button
|
|
3040
|
+
});
|
|
3041
|
+
}
|
|
3033
3042
|
return false;
|
|
3034
3043
|
}
|
|
3035
3044
|
button.loading = true;
|
|
@@ -3048,6 +3057,14 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
3048
3057
|
resData: res,
|
|
3049
3058
|
expandData: _this3.expandModel
|
|
3050
3059
|
});
|
|
3060
|
+
if (typeof _this3.on.success === "function") {
|
|
3061
|
+
_this3.on.success.call(_this3, {
|
|
3062
|
+
request: _this3.requester,
|
|
3063
|
+
reqData: reqData,
|
|
3064
|
+
resData: res,
|
|
3065
|
+
expandData: _this3.expandModel
|
|
3066
|
+
});
|
|
3067
|
+
}
|
|
3051
3068
|
}).catch(function (error) {
|
|
3052
3069
|
button.loading = false;
|
|
3053
3070
|
_this3.$emit("error", {
|
|
@@ -3056,6 +3073,14 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
3056
3073
|
resError: error,
|
|
3057
3074
|
expandData: _this3.expandModel
|
|
3058
3075
|
});
|
|
3076
|
+
if (typeof _this3.on.error === "function") {
|
|
3077
|
+
_this3.on.error.call(_this3, {
|
|
3078
|
+
request: _this3.requester,
|
|
3079
|
+
reqData: reqData,
|
|
3080
|
+
resError: error,
|
|
3081
|
+
expandData: _this3.expandModel
|
|
3082
|
+
});
|
|
3083
|
+
}
|
|
3059
3084
|
});
|
|
3060
3085
|
});
|
|
3061
3086
|
},
|
|
@@ -4767,8 +4792,8 @@ var date_component = normalizeComponent(
|
|
|
4767
4792
|
)
|
|
4768
4793
|
|
|
4769
4794
|
/* harmony default export */ var date = (date_component.exports);
|
|
4770
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/src/column/dict.vue?vue&type=template&id=
|
|
4771
|
-
var
|
|
4795
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/src/column/dict.vue?vue&type=template&id=1a393e81&
|
|
4796
|
+
var dictvue_type_template_id_1a393e81_render = function render() {
|
|
4772
4797
|
var _vm = this,
|
|
4773
4798
|
_c = _vm._self._c
|
|
4774
4799
|
return _c(
|
|
@@ -4806,11 +4831,11 @@ var dictvue_type_template_id_512d00c0_render = function render() {
|
|
|
4806
4831
|
)
|
|
4807
4832
|
)
|
|
4808
4833
|
}
|
|
4809
|
-
var
|
|
4810
|
-
|
|
4834
|
+
var dictvue_type_template_id_1a393e81_staticRenderFns = []
|
|
4835
|
+
dictvue_type_template_id_1a393e81_render._withStripped = true
|
|
4811
4836
|
|
|
4812
4837
|
|
|
4813
|
-
// CONCATENATED MODULE: ./src/components/table/src/column/dict.vue?vue&type=template&id=
|
|
4838
|
+
// CONCATENATED MODULE: ./src/components/table/src/column/dict.vue?vue&type=template&id=1a393e81&
|
|
4814
4839
|
|
|
4815
4840
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/src/column/dict.vue?vue&type=script&lang=js&
|
|
4816
4841
|
|
|
@@ -4822,8 +4847,7 @@ dictvue_type_template_id_512d00c0_render._withStripped = true
|
|
|
4822
4847
|
props: {
|
|
4823
4848
|
dictCode: String,
|
|
4824
4849
|
options: {
|
|
4825
|
-
type: Array
|
|
4826
|
-
required: true
|
|
4850
|
+
type: Array
|
|
4827
4851
|
},
|
|
4828
4852
|
optionProp: {
|
|
4829
4853
|
type: [Object, Function],
|
|
@@ -4889,8 +4913,8 @@ dictvue_type_template_id_512d00c0_render._withStripped = true
|
|
|
4889
4913
|
|
|
4890
4914
|
var dict_component = normalizeComponent(
|
|
4891
4915
|
column_dictvue_type_script_lang_js_,
|
|
4892
|
-
|
|
4893
|
-
|
|
4916
|
+
dictvue_type_template_id_1a393e81_render,
|
|
4917
|
+
dictvue_type_template_id_1a393e81_staticRenderFns,
|
|
4894
4918
|
false,
|
|
4895
4919
|
null,
|
|
4896
4920
|
null,
|
package/lib/components/crud.js
CHANGED
|
@@ -1610,6 +1610,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1610
1610
|
}, {
|
|
1611
1611
|
button: button
|
|
1612
1612
|
});
|
|
1613
|
+
if (typeof _this3.on.success === "function") {
|
|
1614
|
+
_this3.on.success.call(_this3, {
|
|
1615
|
+
request: _this3.requester,
|
|
1616
|
+
reqData: reqData,
|
|
1617
|
+
expandData: _this3.expandModel
|
|
1618
|
+
}, {
|
|
1619
|
+
button: button
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1613
1622
|
return false;
|
|
1614
1623
|
}
|
|
1615
1624
|
button.loading = true;
|
|
@@ -1628,6 +1637,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1628
1637
|
resData: res,
|
|
1629
1638
|
expandData: _this3.expandModel
|
|
1630
1639
|
});
|
|
1640
|
+
if (typeof _this3.on.success === "function") {
|
|
1641
|
+
_this3.on.success.call(_this3, {
|
|
1642
|
+
request: _this3.requester,
|
|
1643
|
+
reqData: reqData,
|
|
1644
|
+
resData: res,
|
|
1645
|
+
expandData: _this3.expandModel
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
1631
1648
|
}).catch(function (error) {
|
|
1632
1649
|
button.loading = false;
|
|
1633
1650
|
_this3.$emit("error", {
|
|
@@ -1636,6 +1653,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1636
1653
|
resError: error,
|
|
1637
1654
|
expandData: _this3.expandModel
|
|
1638
1655
|
});
|
|
1656
|
+
if (typeof _this3.on.error === "function") {
|
|
1657
|
+
_this3.on.error.call(_this3, {
|
|
1658
|
+
request: _this3.requester,
|
|
1659
|
+
reqData: reqData,
|
|
1660
|
+
resError: error,
|
|
1661
|
+
expandData: _this3.expandModel
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1639
1664
|
});
|
|
1640
1665
|
});
|
|
1641
1666
|
},
|
|
@@ -1165,6 +1165,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1165
1165
|
}, {
|
|
1166
1166
|
button: button
|
|
1167
1167
|
});
|
|
1168
|
+
if (typeof _this3.on.success === "function") {
|
|
1169
|
+
_this3.on.success.call(_this3, {
|
|
1170
|
+
request: _this3.requester,
|
|
1171
|
+
reqData: reqData,
|
|
1172
|
+
expandData: _this3.expandModel
|
|
1173
|
+
}, {
|
|
1174
|
+
button: button
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1168
1177
|
return false;
|
|
1169
1178
|
}
|
|
1170
1179
|
button.loading = true;
|
|
@@ -1183,6 +1192,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1183
1192
|
resData: res,
|
|
1184
1193
|
expandData: _this3.expandModel
|
|
1185
1194
|
});
|
|
1195
|
+
if (typeof _this3.on.success === "function") {
|
|
1196
|
+
_this3.on.success.call(_this3, {
|
|
1197
|
+
request: _this3.requester,
|
|
1198
|
+
reqData: reqData,
|
|
1199
|
+
resData: res,
|
|
1200
|
+
expandData: _this3.expandModel
|
|
1201
|
+
});
|
|
1202
|
+
}
|
|
1186
1203
|
}).catch(function (error) {
|
|
1187
1204
|
button.loading = false;
|
|
1188
1205
|
_this3.$emit("error", {
|
|
@@ -1191,6 +1208,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1191
1208
|
resError: error,
|
|
1192
1209
|
expandData: _this3.expandModel
|
|
1193
1210
|
});
|
|
1211
|
+
if (typeof _this3.on.error === "function") {
|
|
1212
|
+
_this3.on.error.call(_this3, {
|
|
1213
|
+
request: _this3.requester,
|
|
1214
|
+
reqData: reqData,
|
|
1215
|
+
resError: error,
|
|
1216
|
+
expandData: _this3.expandModel
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1194
1219
|
});
|
|
1195
1220
|
});
|
|
1196
1221
|
},
|
|
@@ -601,8 +601,8 @@ var date_component = Object(componentNormalizer["a" /* default */])(
|
|
|
601
601
|
)
|
|
602
602
|
|
|
603
603
|
/* harmony default export */ var date = (date_component.exports);
|
|
604
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/src/column/dict.vue?vue&type=template&id=
|
|
605
|
-
var
|
|
604
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/src/column/dict.vue?vue&type=template&id=1a393e81&
|
|
605
|
+
var dictvue_type_template_id_1a393e81_render = function render() {
|
|
606
606
|
var _vm = this,
|
|
607
607
|
_c = _vm._self._c
|
|
608
608
|
return _c(
|
|
@@ -640,11 +640,11 @@ var dictvue_type_template_id_512d00c0_render = function render() {
|
|
|
640
640
|
)
|
|
641
641
|
)
|
|
642
642
|
}
|
|
643
|
-
var
|
|
644
|
-
|
|
643
|
+
var dictvue_type_template_id_1a393e81_staticRenderFns = []
|
|
644
|
+
dictvue_type_template_id_1a393e81_render._withStripped = true
|
|
645
645
|
|
|
646
646
|
|
|
647
|
-
// CONCATENATED MODULE: ./src/components/table/src/column/dict.vue?vue&type=template&id=
|
|
647
|
+
// CONCATENATED MODULE: ./src/components/table/src/column/dict.vue?vue&type=template&id=1a393e81&
|
|
648
648
|
|
|
649
649
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/src/column/dict.vue?vue&type=script&lang=js&
|
|
650
650
|
|
|
@@ -656,8 +656,7 @@ dictvue_type_template_id_512d00c0_render._withStripped = true
|
|
|
656
656
|
props: {
|
|
657
657
|
dictCode: String,
|
|
658
658
|
options: {
|
|
659
|
-
type: Array
|
|
660
|
-
required: true
|
|
659
|
+
type: Array
|
|
661
660
|
},
|
|
662
661
|
optionProp: {
|
|
663
662
|
type: [Object, Function],
|
|
@@ -723,8 +722,8 @@ dictvue_type_template_id_512d00c0_render._withStripped = true
|
|
|
723
722
|
|
|
724
723
|
var dict_component = Object(componentNormalizer["a" /* default */])(
|
|
725
724
|
column_dictvue_type_script_lang_js_,
|
|
726
|
-
|
|
727
|
-
|
|
725
|
+
dictvue_type_template_id_1a393e81_render,
|
|
726
|
+
dictvue_type_template_id_1a393e81_staticRenderFns,
|
|
728
727
|
false,
|
|
729
728
|
null,
|
|
730
729
|
null,
|
|
@@ -1610,6 +1610,15 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1610
1610
|
}, {
|
|
1611
1611
|
button: button
|
|
1612
1612
|
});
|
|
1613
|
+
if (typeof _this3.on.success === "function") {
|
|
1614
|
+
_this3.on.success.call(_this3, {
|
|
1615
|
+
request: _this3.requester,
|
|
1616
|
+
reqData: reqData,
|
|
1617
|
+
expandData: _this3.expandModel
|
|
1618
|
+
}, {
|
|
1619
|
+
button: button
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1613
1622
|
return false;
|
|
1614
1623
|
}
|
|
1615
1624
|
button.loading = true;
|
|
@@ -1628,6 +1637,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1628
1637
|
resData: res,
|
|
1629
1638
|
expandData: _this3.expandModel
|
|
1630
1639
|
});
|
|
1640
|
+
if (typeof _this3.on.success === "function") {
|
|
1641
|
+
_this3.on.success.call(_this3, {
|
|
1642
|
+
request: _this3.requester,
|
|
1643
|
+
reqData: reqData,
|
|
1644
|
+
resData: res,
|
|
1645
|
+
expandData: _this3.expandModel
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
1631
1648
|
}).catch(function (error) {
|
|
1632
1649
|
button.loading = false;
|
|
1633
1650
|
_this3.$emit("error", {
|
|
@@ -1636,6 +1653,14 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1636
1653
|
resError: error,
|
|
1637
1654
|
expandData: _this3.expandModel
|
|
1638
1655
|
});
|
|
1656
|
+
if (typeof _this3.on.error === "function") {
|
|
1657
|
+
_this3.on.error.call(_this3, {
|
|
1658
|
+
request: _this3.requester,
|
|
1659
|
+
reqData: reqData,
|
|
1660
|
+
resError: error,
|
|
1661
|
+
expandData: _this3.expandModel
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1639
1664
|
});
|
|
1640
1665
|
});
|
|
1641
1666
|
},
|