@fmdeui/fmui 1.0.147 → 1.0.148

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.147 */
1
+ /*! fmdeui-fmui v1.0.148 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -29723,7 +29723,12 @@
29723
29723
  const autoId = vue.useModel(__props, "id");
29724
29724
  const props = __props;
29725
29725
  const visibleopenDialog = vue.ref(false);
29726
- const tableDialogRef = vue.ref();
29726
+ const tableUserDialogRef = vue.ref();
29727
+ const tableSupplierUserDialogRef = vue.ref();
29728
+ const tableAccountDialogRef = vue.ref();
29729
+ const tableSubjectDialogRef = vue.ref();
29730
+ const tableLineDialogRef = vue.ref();
29731
+ const tableSupplierDialogRef = vue.ref();
29727
29732
  const emit = __emit;
29728
29733
  const querySearchAsync = async (queryString, cb) => {
29729
29734
  var _a;
@@ -29757,9 +29762,32 @@
29757
29762
  autoId.value = value.id;
29758
29763
  emit("select", value);
29759
29764
  };
29760
- const handleRefresh = () => {
29761
- if (tableDialogRef.value) {
29762
- tableDialogRef.value.handleQuery();
29765
+ const handleRefresh = async () => {
29766
+ var _a;
29767
+ await vue.nextTick();
29768
+ if (props.openType == 0) {
29769
+ if (tableUserDialogRef.value) {
29770
+ tableUserDialogRef.value.handleQuery();
29771
+ }
29772
+ } else if (props.openType == 1) {
29773
+ if (tableSupplierUserDialogRef.value) {
29774
+ tableSupplierUserDialogRef.value.handleQuery();
29775
+ }
29776
+ }
29777
+ if (props.openType == 2) {
29778
+ if (tableSupplierDialogRef.value) {
29779
+ tableSupplierDialogRef.value.handleQuery();
29780
+ }
29781
+ } else if (props.openType == 3) {
29782
+ if (tableAccountDialogRef.value) {
29783
+ tableAccountDialogRef.value.handleQuery();
29784
+ }
29785
+ } else if (props.openType == 4) {
29786
+ if (tableSubjectDialogRef.value) {
29787
+ tableSubjectDialogRef.value.handleQuery();
29788
+ }
29789
+ } else if (props.openType == 5) {
29790
+ (_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
29763
29791
  }
29764
29792
  };
29765
29793
  return (_ctx, _cache) => {
@@ -29808,6 +29836,8 @@
29808
29836
  }, 8, ["size"]),
29809
29837
  __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
29810
29838
  key: 0,
29839
+ ref_key: "tableUserDialogRef",
29840
+ ref: tableUserDialogRef,
29811
29841
  visible: visibleopenDialog.value,
29812
29842
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
29813
29843
  orgService: __props.orgService,
@@ -29821,6 +29851,8 @@
29821
29851
  }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29822
29852
  __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
29823
29853
  key: 1,
29854
+ ref_key: "tableSupplierUserDialogRef",
29855
+ ref: tableSupplierUserDialogRef,
29824
29856
  visible: visibleopenDialog.value,
29825
29857
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
29826
29858
  title: __props.title,
@@ -29831,8 +29863,8 @@
29831
29863
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29832
29864
  __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
29833
29865
  key: 2,
29834
- ref_key: "tableDialogRef",
29835
- ref: tableDialogRef,
29866
+ ref_key: "tableSupplierDialogRef",
29867
+ ref: tableSupplierDialogRef,
29836
29868
  visible: visibleopenDialog.value,
29837
29869
  "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
29838
29870
  title: __props.title,
@@ -29844,6 +29876,8 @@
29844
29876
  vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
29845
29877
  __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
29846
29878
  key: 3,
29879
+ ref_key: "tableAccountDialogRef",
29880
+ ref: tableAccountDialogRef,
29847
29881
  visible: visibleopenDialog.value,
29848
29882
  "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
29849
29883
  title: __props.title,
@@ -29855,6 +29889,8 @@
29855
29889
  vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
29856
29890
  __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
29857
29891
  key: 4,
29892
+ ref_key: "tableSubjectDialogRef",
29893
+ ref: tableSubjectDialogRef,
29858
29894
  visible: visibleopenDialog.value,
29859
29895
  "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
29860
29896
  title: __props.title,
@@ -29866,6 +29902,8 @@
29866
29902
  vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
29867
29903
  __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
29868
29904
  key: 5,
29905
+ ref_key: "tableLineDialogRef",
29906
+ ref: tableLineDialogRef,
29869
29907
  visible: visibleopenDialog.value,
29870
29908
  "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
29871
29909
  title: __props.title,