@fmdevui/fm-dev 1.0.56 → 1.0.57

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.56 */
1
+ /*! fm-dev v1.0.57 */
2
2
  import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, resolveDynamicComponent, markRaw, toRaw as toRaw$1, hasInjectionContext, unref, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs, resolveDirective } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -23787,6 +23787,13 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
23787
23787
  fName: {
23788
23788
  type: String,
23789
23789
  default: "name"
23790
+ },
23791
+ /**
23792
+ * 查询业务表ID
23793
+ */
23794
+ qId: {
23795
+ type: Number,
23796
+ default: 0
23790
23797
  }
23791
23798
  }, {
23792
23799
  "name": {
@@ -23808,7 +23815,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
23808
23815
  const emit = __emit;
23809
23816
  const querySearchAsync = async (queryString, cb) => {
23810
23817
  resetValue();
23811
- const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString }, props.apiAction);
23818
+ const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString, id: props.qId }, props.apiAction);
23812
23819
  const data = res.data.result ?? [];
23813
23820
  if (data.length === 0) {
23814
23821
  return cb([]);
@@ -36,6 +36,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
36
36
  type: StringConstructor;
37
37
  default: string;
38
38
  };
39
+ /**
40
+ * 查询业务表ID
41
+ */
42
+ qId: {
43
+ type: NumberConstructor;
44
+ default: number;
45
+ };
39
46
  name: {
40
47
  type: PropType<string>;
41
48
  required: true;
@@ -86,6 +93,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
86
93
  type: StringConstructor;
87
94
  default: string;
88
95
  };
96
+ /**
97
+ * 查询业务表ID
98
+ */
99
+ qId: {
100
+ type: NumberConstructor;
101
+ default: number;
102
+ };
89
103
  name: {
90
104
  type: PropType<string>;
91
105
  required: true;
@@ -106,5 +120,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
106
120
  apiAction: string;
107
121
  fId: string;
108
122
  fName: string;
123
+ qId: number;
109
124
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
110
125
  export default _default;
@@ -516,6 +516,10 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
516
516
  type: StringConstructor;
517
517
  default: string;
518
518
  };
519
+ qId: {
520
+ type: NumberConstructor;
521
+ default: number;
522
+ };
519
523
  name: {
520
524
  type: PropType<string>;
521
525
  required: true;
@@ -554,6 +558,10 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
554
558
  type: StringConstructor;
555
559
  default: string;
556
560
  };
561
+ qId: {
562
+ type: NumberConstructor;
563
+ default: number;
564
+ };
557
565
  name: {
558
566
  type: PropType<string>;
559
567
  required: true;
@@ -574,5 +582,6 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
574
582
  apiAction: string;
575
583
  fId: string;
576
584
  fName: string;
585
+ qId: number;
577
586
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
578
587
  export { FmTransfer, FmNoticeBar, FmDragImg, Fmselect, FmAutocomplete, elSvg };
@@ -47,6 +47,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
47
47
  fName: {
48
48
  type: String,
49
49
  default: "name"
50
+ },
51
+ /**
52
+ * 查询业务表ID
53
+ */
54
+ qId: {
55
+ type: Number,
56
+ default: 0
50
57
  }
51
58
  }, {
52
59
  "name": {
@@ -68,7 +75,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
68
75
  const emit = __emit;
69
76
  const querySearchAsync = async (queryString, cb) => {
70
77
  resetValue();
71
- const res = await index.useBaseApi(props.apiService).post({ top: props.top, keywork: queryString }, props.apiAction);
78
+ const res = await index.useBaseApi(props.apiService).post({ top: props.top, keywork: queryString, id: props.qId }, props.apiAction);
72
79
  const data = res.data.result ?? [];
73
80
  if (data.length === 0) {
74
81
  return cb([]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [
File without changes