@10yun/cv-pc-ui 0.2.27 → 0.2.28
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/cv-pc-ui.common.js +11 -12
- package/lib/cv-pc-ui.common.js.map +1 -1
- package/lib/cv-pc-ui.umd.js +11 -12
- package/lib/cv-pc-ui.umd.js.map +1 -1
- package/lib/cv-pc-ui.umd.min.js +1 -1
- package/lib/cv-pc-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/lib/cv-pc-ui.common.js
CHANGED
|
@@ -87607,12 +87607,12 @@ table.install = function (Vue) {
|
|
|
87607
87607
|
};
|
|
87608
87608
|
|
|
87609
87609
|
|
|
87610
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1198d777-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/table-list/src/table-base.vue?vue&type=template&id=
|
|
87611
|
-
var
|
|
87612
|
-
var
|
|
87610
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1198d777-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/table-list/src/table-base.vue?vue&type=template&id=1ce6e0f6&v=0.20220421_1438&
|
|
87611
|
+
var table_basevue_type_template_id_1ce6e0f6_v_0_20220421_1438_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"cv-table-list"},[_c('el-table',_vm._b({directives:[{name:"loading",rawName:"v-loading",value:(_vm.localTbLoading),expression:"localTbLoading"}],staticStyle:{"width":"100%"},attrs:{"data":_vm.localTbData},on:{"selection-change":_vm.handleSelectionChange}},'el-table',_vm.$props,false),[_vm._t("default")],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.localTbLoading === false),expression:"localTbLoading === false"}],staticClass:"cv-tablie-list-page page"},[_c('el-button',{staticStyle:{"float":"left","margin":"2px 5px 0 0"},attrs:{"size":"mini","icon":"el-icon-refresh"},on:{"click":function($event){return _vm.refresh()}}}),_c('el-pagination',{attrs:{"background":"","current-page":_vm.page,"pager-count":_vm.pager_count,"page-sizes":_vm.tableSetting.page_sizes,"page-size":_vm.tableSetting.page_size,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.localTbTotal},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange,"update:currentPage":function($event){_vm.page=$event},"update:current-page":function($event){_vm.page=$event},"update:pageSize":function($event){return _vm.$set(_vm.tableSetting, "page_size", $event)},"update:page-size":function($event){return _vm.$set(_vm.tableSetting, "page_size", $event)}}})],1)],1)}
|
|
87612
|
+
var table_basevue_type_template_id_1ce6e0f6_v_0_20220421_1438_staticRenderFns = []
|
|
87613
87613
|
|
|
87614
87614
|
|
|
87615
|
-
// CONCATENATED MODULE: ./packages/table-list/src/table-base.vue?vue&type=template&id=
|
|
87615
|
+
// CONCATENATED MODULE: ./packages/table-list/src/table-base.vue?vue&type=template&id=1ce6e0f6&v=0.20220421_1438&
|
|
87616
87616
|
|
|
87617
87617
|
// CONCATENATED MODULE: ./packages/table-list/src/pagebreak.js
|
|
87618
87618
|
/**
|
|
@@ -87830,12 +87830,11 @@ var _name$mixins$provide$;
|
|
|
87830
87830
|
|
|
87831
87831
|
if (tableSetting["mockData"] != undefined && tableSetting["mockData"]) {
|
|
87832
87832
|
if (typeof tableSetting["mockData"] != "Array" && _typeof(tableSetting["mockData"]) != "object") {} else {
|
|
87833
|
-
var
|
|
87834
|
-
|
|
87835
|
-
this.
|
|
87836
|
-
this.localTbTotal = _tableDataMock[tableSetting.response.countName];
|
|
87833
|
+
var tableDataMock = this.sortOutData(tableSetting["mockData"]);
|
|
87834
|
+
this.localTbData = tableDataMock[tableSetting.response.dataName];
|
|
87835
|
+
this.localTbTotal = tableDataMock[tableSetting.response.countName];
|
|
87837
87836
|
Object(element_ui_common["Message"])({
|
|
87838
|
-
message:
|
|
87837
|
+
message: tableDataMock.msg || "",
|
|
87839
87838
|
type: "warning",
|
|
87840
87839
|
duration: 1300
|
|
87841
87840
|
});
|
|
@@ -87870,7 +87869,7 @@ var _name$mixins$provide$;
|
|
|
87870
87869
|
}
|
|
87871
87870
|
|
|
87872
87871
|
_this.localTbData = tableDataApi[tableSetting.response.dataName];
|
|
87873
|
-
_this.localTbTotal =
|
|
87872
|
+
_this.localTbTotal = tableDataApi[tableSetting.response.countName];
|
|
87874
87873
|
Object(element_ui_common["Message"])({
|
|
87875
87874
|
message: tableDataApi.msg,
|
|
87876
87875
|
type: "success",
|
|
@@ -87985,8 +87984,8 @@ var table_basevue_type_style_index_0_lang_css_ = __webpack_require__("23c1");
|
|
|
87985
87984
|
|
|
87986
87985
|
var table_base_component = normalizeComponent(
|
|
87987
87986
|
src_table_basevue_type_script_lang_js_,
|
|
87988
|
-
|
|
87989
|
-
|
|
87987
|
+
table_basevue_type_template_id_1ce6e0f6_v_0_20220421_1438_render,
|
|
87988
|
+
table_basevue_type_template_id_1ce6e0f6_v_0_20220421_1438_staticRenderFns,
|
|
87990
87989
|
false,
|
|
87991
87990
|
null,
|
|
87992
87991
|
null,
|