vue2-client 1.8.427 → 1.8.429

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.427",
3
+ "version": "1.8.429",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -571,6 +571,12 @@ export default {
571
571
  refreshTable (toFirstPage = true) {
572
572
  this.$refs.xTable.refresh(toFirstPage)
573
573
  },
574
+ /**
575
+ * 获取表格数据
576
+ */
577
+ getTableData () {
578
+ return this.$refs.xTable.getTableData()
579
+ }
574
580
  },
575
581
  action: {
576
582
  /**
@@ -399,7 +399,7 @@ export default {
399
399
  XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue'),
400
400
  XAddNativeForm: () => import('@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'),
401
401
  XTreePro: () => import('@vue2-client/base-client/components/common/XTree/XTreePro.vue'),
402
- XHisEditor: () => import('@/base-client/components/his/XHisEditor/XHisEditor.vue')
402
+ XHisEditor: () => import('@vue2-client/base-client/components/his/XHisEditor/XHisEditor.vue')
403
403
  },
404
404
  props: {
405
405
  // 每一行的配置
@@ -927,6 +927,10 @@ export default {
927
927
  onClose () {
928
928
  this.summaryDrawerVisible = false
929
929
  },
930
+ // 获取表格内数据
931
+ getTableData () {
932
+ return this.$refs.table.localDataSource
933
+ }
930
934
  }
931
935
  }
932
936
  </script>