@panpanzhao/component-ui 0.0.32 → 0.0.34
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.
|
@@ -3585,6 +3585,7 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
3585
3585
|
_this3.on.success.call(_this3, {
|
|
3586
3586
|
request: _this3.requester,
|
|
3587
3587
|
reqData: reqData,
|
|
3588
|
+
resData: res,
|
|
3588
3589
|
expandData: _this3.expandModel
|
|
3589
3590
|
}, {
|
|
3590
3591
|
button: button
|
|
@@ -3604,6 +3605,7 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
3604
3605
|
_this3.on.error.call(_this3, {
|
|
3605
3606
|
request: _this3.requester,
|
|
3606
3607
|
reqData: reqData,
|
|
3608
|
+
resError: error,
|
|
3607
3609
|
expandData: _this3.expandModel
|
|
3608
3610
|
}, {
|
|
3609
3611
|
button: button
|
|
@@ -7093,8 +7095,8 @@ table_operate_src.install = function (Vue) {
|
|
|
7093
7095
|
Vue.component(table_operate_src.name, table_operate_src);
|
|
7094
7096
|
};
|
|
7095
7097
|
/* harmony default export */ var table_operate = (table_operate_src);
|
|
7096
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=
|
|
7097
|
-
var
|
|
7098
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=d1e486a2&
|
|
7099
|
+
var srcvue_type_template_id_d1e486a2_render = function render() {
|
|
7098
7100
|
var _vm = this,
|
|
7099
7101
|
_c = _vm._self._c
|
|
7100
7102
|
return _c("div", { staticClass: "crud" }, [
|
|
@@ -7161,11 +7163,11 @@ var srcvue_type_template_id_2c7f833e_render = function render() {
|
|
|
7161
7163
|
),
|
|
7162
7164
|
])
|
|
7163
7165
|
}
|
|
7164
|
-
var
|
|
7165
|
-
|
|
7166
|
+
var srcvue_type_template_id_d1e486a2_staticRenderFns = []
|
|
7167
|
+
srcvue_type_template_id_d1e486a2_render._withStripped = true
|
|
7166
7168
|
|
|
7167
7169
|
|
|
7168
|
-
// CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=
|
|
7170
|
+
// CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=d1e486a2&
|
|
7169
7171
|
|
|
7170
7172
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=script&lang=js&
|
|
7171
7173
|
|
|
@@ -7348,7 +7350,7 @@ srcvue_type_template_id_2c7f833e_render._withStripped = true
|
|
|
7348
7350
|
}
|
|
7349
7351
|
},
|
|
7350
7352
|
handleCreate: function handleCreate() {
|
|
7351
|
-
this.$refs.createFormDialog.open();
|
|
7353
|
+
this.$refs.createFormDialog.open(this.create.model, this.create.expandModel);
|
|
7352
7354
|
},
|
|
7353
7355
|
resetTable: function resetTable() {
|
|
7354
7356
|
this.$refs.table.resetTable();
|
|
@@ -7487,8 +7489,8 @@ srcvue_type_template_id_2c7f833e_render._withStripped = true
|
|
|
7487
7489
|
|
|
7488
7490
|
var crud_src_component = normalizeComponent(
|
|
7489
7491
|
components_crud_srcvue_type_script_lang_js_,
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
+
srcvue_type_template_id_d1e486a2_render,
|
|
7493
|
+
srcvue_type_template_id_d1e486a2_staticRenderFns,
|
|
7492
7494
|
false,
|
|
7493
7495
|
null,
|
|
7494
7496
|
null,
|
package/lib/components/crud.js
CHANGED
|
@@ -1630,6 +1630,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1630
1630
|
_this3.on.success.call(_this3, {
|
|
1631
1631
|
request: _this3.requester,
|
|
1632
1632
|
reqData: reqData,
|
|
1633
|
+
resData: res,
|
|
1633
1634
|
expandData: _this3.expandModel
|
|
1634
1635
|
}, {
|
|
1635
1636
|
button: button
|
|
@@ -1649,6 +1650,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1649
1650
|
_this3.on.error.call(_this3, {
|
|
1650
1651
|
request: _this3.requester,
|
|
1651
1652
|
reqData: reqData,
|
|
1653
|
+
resError: error,
|
|
1652
1654
|
expandData: _this3.expandModel
|
|
1653
1655
|
}, {
|
|
1654
1656
|
button: button
|
|
@@ -2073,7 +2075,7 @@ module.exports = require("element-ui/lib/message-box");
|
|
|
2073
2075
|
// ESM COMPAT FLAG
|
|
2074
2076
|
__webpack_require__.r(__webpack_exports__);
|
|
2075
2077
|
|
|
2076
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=
|
|
2078
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=d1e486a2&
|
|
2077
2079
|
var render = function render() {
|
|
2078
2080
|
var _vm = this,
|
|
2079
2081
|
_c = _vm._self._c
|
|
@@ -2145,7 +2147,7 @@ var staticRenderFns = []
|
|
|
2145
2147
|
render._withStripped = true
|
|
2146
2148
|
|
|
2147
2149
|
|
|
2148
|
-
// CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=
|
|
2150
|
+
// CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=d1e486a2&
|
|
2149
2151
|
|
|
2150
2152
|
// EXTERNAL MODULE: external "@panpanzhao/component-ui/lib/components/table-search"
|
|
2151
2153
|
var table_search_ = __webpack_require__(28);
|
|
@@ -2348,7 +2350,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
2348
2350
|
}
|
|
2349
2351
|
},
|
|
2350
2352
|
handleCreate: function handleCreate() {
|
|
2351
|
-
this.$refs.createFormDialog.open();
|
|
2353
|
+
this.$refs.createFormDialog.open(this.create.model, this.create.expandModel);
|
|
2352
2354
|
},
|
|
2353
2355
|
resetTable: function resetTable() {
|
|
2354
2356
|
this.$refs.table.resetTable();
|
|
@@ -1201,6 +1201,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1201
1201
|
_this3.on.success.call(_this3, {
|
|
1202
1202
|
request: _this3.requester,
|
|
1203
1203
|
reqData: reqData,
|
|
1204
|
+
resData: res,
|
|
1204
1205
|
expandData: _this3.expandModel
|
|
1205
1206
|
}, {
|
|
1206
1207
|
button: button
|
|
@@ -1220,6 +1221,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1220
1221
|
_this3.on.error.call(_this3, {
|
|
1221
1222
|
request: _this3.requester,
|
|
1222
1223
|
reqData: reqData,
|
|
1224
|
+
resError: error,
|
|
1223
1225
|
expandData: _this3.expandModel
|
|
1224
1226
|
}, {
|
|
1225
1227
|
button: button
|
|
@@ -1630,6 +1630,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1630
1630
|
_this3.on.success.call(_this3, {
|
|
1631
1631
|
request: _this3.requester,
|
|
1632
1632
|
reqData: reqData,
|
|
1633
|
+
resData: res,
|
|
1633
1634
|
expandData: _this3.expandModel
|
|
1634
1635
|
}, {
|
|
1635
1636
|
button: button
|
|
@@ -1649,6 +1650,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1649
1650
|
_this3.on.error.call(_this3, {
|
|
1650
1651
|
request: _this3.requester,
|
|
1651
1652
|
reqData: reqData,
|
|
1653
|
+
resError: error,
|
|
1652
1654
|
expandData: _this3.expandModel
|
|
1653
1655
|
}, {
|
|
1654
1656
|
button: button
|