@indfnd/common-mobile 0.0.43 → 0.0.45

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.45](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.44...v0.0.45) (2024-07-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * 移动端协议报表组件修改 ([f8e05d7](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/f8e05d709ddec2281eabb6009218211cbe627367))
11
+
12
+ ### [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)
13
+
14
+
15
+ ### Features
16
+
17
+ * 移动端协议报表组件修改 ([34f9d5d](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/34f9d5dffe82fa37016fe16e45fc85f2a0ab5e8d))
18
+
5
19
  ### [0.0.43](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.42...v0.0.43) (2024-07-02)
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.42";
5
+ const version$2 = "0.0.44";
6
6
  const author$1 = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -44773,11 +44773,11 @@ 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 }, scopedSlots: _vm._u([{ key: "options", fn: function() {
44777
- return [_c("div", { staticStyle: { "color": "var(--ind-blue)" }, on: { "click": _vm.showCondition } }, [_vm._v("\u67E5\u8BE2\u6761\u4EF6")])];
44778
- }, proxy: true }]), model: { value: _vm.data, callback: function($$v) {
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
+ 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
+ }, proxy: true }], null, true), model: { value: _vm.data, callback: function($$v) {
44779
44779
  _vm.data = $$v;
44780
- }, expression: "data" } }, "IndMobileTable", _vm.$attrs, false), _vm.$listeners))], 1), _c("IndMLoadingPanel", { attrs: { "loading": _vm.loadingComp || _vm.loading } }), _c("van-popup", { style: { width: "100%" }, attrs: { "position": "right", "overlay": false }, model: { value: _vm.displayCondition, callback: function($$v) {
44780
+ }, expression: "data" } }, "IndMobileTable", _vm.$attrs, false), _vm.$listeners))], 1), _c("van-popup", { style: { width: "100%" }, attrs: { "position": "right", "overlay": false }, model: { value: _vm.displayCondition, callback: function($$v) {
44781
44781
  _vm.displayCondition = $$v;
44782
44782
  }, expression: "displayCondition" } }, [_c("div", { staticClass: "ind-page-view ind-flex-column", staticStyle: { "height": "100vh" } }, [_c("IndMForm", { staticClass: "height100", staticStyle: { "background": "var(--ind-white)" }, attrs: { "formType": "searchMobile", "fieldList": _vm.searchFormFields }, model: { value: _vm.searchFormValue, callback: function($$v) {
44783
44783
  _vm.searchFormValue = $$v;
@@ -44789,6 +44789,7 @@ const __vue2_script$g = {
44789
44789
  props: {
44790
44790
  dataApi: Function,
44791
44791
  loading: Boolean,
44792
+ bottomHeight: String,
44792
44793
  bottom: Boolean,
44793
44794
  topMsg: String,
44794
44795
  bottomMsg: String,
@@ -44810,7 +44811,8 @@ const __vue2_script$g = {
44810
44811
  defaultTableUnitType: {
44811
44812
  type: String,
44812
44813
  default: "X"
44813
- }
44814
+ },
44815
+ rowKey: String
44814
44816
  },
44815
44817
  data() {
44816
44818
  return {
@@ -44871,7 +44873,7 @@ const __vue2_script$g = {
44871
44873
  },
44872
44874
  computed: {
44873
44875
  height() {
44874
- return window.innerHeight - 160;
44876
+ return window.innerHeight - 160 - (this.bottomHeight || 0);
44875
44877
  }
44876
44878
  },
44877
44879
  methods: {
@@ -44913,6 +44915,48 @@ const __vue2_script$g = {
44913
44915
  this.$emit("update:searchForm", this.searchFormValue);
44914
44916
  await this.$nextTick();
44915
44917
  this.$emit("doSearch");
44918
+ },
44919
+ getXData() {
44920
+ this.$refs.table.getXData();
44921
+ },
44922
+ toggleUnitIfNeeded() {
44923
+ this.$refs.table.toggleUnitIfNeeded();
44924
+ },
44925
+ updateTableData() {
44926
+ this.$refs.table.updateTableData();
44927
+ },
44928
+ getWZSum() {
44929
+ this.$refs.table.getWZSum();
44930
+ },
44931
+ getXSum() {
44932
+ this.$refs.table.getXSum();
44933
+ },
44934
+ getWZData() {
44935
+ this.$refs.table.getWZData();
44936
+ },
44937
+ getXData() {
44938
+ 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
+ this.$refs.table.getSelection();
44954
+ },
44955
+ setUnitType(unitType) {
44956
+ this.$refs.table.setUnitType(unitType);
44957
+ },
44958
+ tableRefresh() {
44959
+ this.$refs.table.tableRefresh();
44916
44960
  }
44917
44961
  }
44918
44962
  };