@indfnd/common-mobile 0.0.44 → 0.0.46

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.46](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.45...v0.0.46) (2024-07-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * 移动端升级公共组件 ([d86f38e](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/d86f38ecc18fd1bb9c187e8da5d798b2618837c1))
11
+
12
+ ### [0.0.45](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.44...v0.0.45) (2024-07-08)
13
+
14
+
15
+ ### Features
16
+
17
+ * 移动端协议报表组件修改 ([f8e05d7](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/f8e05d709ddec2281eabb6009218211cbe627367))
18
+
5
19
  ### [0.0.44](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.43...v0.0.44) (2024-07-04)
6
20
 
7
21
 
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
2
2
  import Vue$1 from "vue";
3
3
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
4
4
  const name$1 = "@indfnd/common-mobile";
5
- const version$2 = "0.0.43";
5
+ const version$2 = "0.0.45";
6
6
  const author$1 = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -44773,7 +44773,7 @@ var render$g = function() {
44773
44773
  var _vm = this;
44774
44774
  var _h = _vm.$createElement;
44775
44775
  var _c = _vm._self._c || _h;
44776
- return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_c("div", { staticClass: "ind-page" }, [_c("IndMobileTable", _vm._g(_vm._b({ ref: "table", attrs: { "columns": _vm.columns, "disablePage": "", "height": _vm.height, "showTableOption": false, "defaultUnitType": _vm.defaultUnitType, "defaultTableUnitType": _vm.defaultTableUnitType, "loading": _vm.loadingComp || _vm.loading, "rowBuffer": 1e3 }, scopedSlots: _vm._u([{ key: "options", fn: function() {
44776
+ return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_c("div", { staticClass: "ind-page" }, [_c("IndMobileTable", _vm._g(_vm._b({ ref: "table", attrs: { "columns": _vm.columns, "disablePage": "", "height": _vm.height, "showTableOption": false, "defaultUnitType": _vm.defaultUnitType, "defaultTableUnitType": _vm.defaultTableUnitType, "loading": _vm.loadingComp || _vm.loading, "rowBuffer": 1e3, "rowKey": _vm.rowKey }, scopedSlots: _vm._u([{ key: "options", fn: function() {
44777
44777
  return [!_vm.$slots.mobileTopRight ? _c("div", { staticStyle: { "color": "var(--ind-blue)", "font-size": "14px" }, on: { "click": _vm.showCondition } }, [_vm._v(" \u67E5\u8BE2\u6761\u4EF6 ")]) : _vm._e(), _vm._t("mobileTopRight")];
44778
44778
  }, proxy: true }], null, true), model: { value: _vm.data, callback: function($$v) {
44779
44779
  _vm.data = $$v;
@@ -44811,7 +44811,8 @@ const __vue2_script$g = {
44811
44811
  defaultTableUnitType: {
44812
44812
  type: String,
44813
44813
  default: "X"
44814
- }
44814
+ },
44815
+ rowKey: String
44815
44816
  },
44816
44817
  data() {
44817
44818
  return {
@@ -44914,6 +44915,48 @@ const __vue2_script$g = {
44914
44915
  this.$emit("update:searchForm", this.searchFormValue);
44915
44916
  await this.$nextTick();
44916
44917
  this.$emit("doSearch");
44918
+ },
44919
+ getXData() {
44920
+ return this.$refs.table.getXData();
44921
+ },
44922
+ toggleUnitIfNeeded() {
44923
+ this.$refs.table.toggleUnitIfNeeded();
44924
+ },
44925
+ updateTableData() {
44926
+ this.$refs.table.updateTableData();
44927
+ },
44928
+ getWZSum() {
44929
+ return this.$refs.table.getWZSum();
44930
+ },
44931
+ getXSum() {
44932
+ return this.$refs.table.getXSum();
44933
+ },
44934
+ getWZData() {
44935
+ return this.$refs.table.getWZData();
44936
+ },
44937
+ getXData() {
44938
+ return this.$refs.table.getXData();
44939
+ },
44940
+ setSelection(items, cancelOthers) {
44941
+ this.$refs.table.setSelection(items, cancelOthers);
44942
+ },
44943
+ deselectAll() {
44944
+ this.$refs.table.getXData();
44945
+ },
44946
+ selectAll() {
44947
+ this.$refs.table.selectAll();
44948
+ },
44949
+ clearSelection() {
44950
+ this.$refs.table.clearSelection();
44951
+ },
44952
+ getSelection() {
44953
+ return this.$refs.table.getSelection();
44954
+ },
44955
+ setUnitType(unitType) {
44956
+ this.$refs.table.setUnitType(unitType);
44957
+ },
44958
+ tableRefresh() {
44959
+ this.$refs.table.tableRefresh();
44917
44960
  }
44918
44961
  }
44919
44962
  };