@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.
@@ -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 };
@@ -43,6 +43,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  fName: {
44
44
  type: String,
45
45
  default: "name"
46
+ },
47
+ /**
48
+ * 查询业务表ID
49
+ */
50
+ qId: {
51
+ type: Number,
52
+ default: 0
46
53
  }
47
54
  }, {
48
55
  "name": {
@@ -64,7 +71,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
64
71
  const emit = __emit;
65
72
  const querySearchAsync = async (queryString, cb) => {
66
73
  resetValue();
67
- const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString }, props.apiAction);
74
+ const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString, id: props.qId }, props.apiAction);
68
75
  const data = res.data.result ?? [];
69
76
  if (data.length === 0) {
70
77
  return cb([]);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.56 */
1
+ /*! fm-dev v1.0.57 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
@@ -23782,6 +23782,13 @@
23782
23782
  fName: {
23783
23783
  type: String,
23784
23784
  default: "name"
23785
+ },
23786
+ /**
23787
+ * 查询业务表ID
23788
+ */
23789
+ qId: {
23790
+ type: Number,
23791
+ default: 0
23785
23792
  }
23786
23793
  }, {
23787
23794
  "name": {
@@ -23803,7 +23810,7 @@
23803
23810
  const emit = __emit;
23804
23811
  const querySearchAsync = async (queryString, cb) => {
23805
23812
  resetValue();
23806
- const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString }, props.apiAction);
23813
+ const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString, id: props.qId }, props.apiAction);
23807
23814
  const data = res.data.result ?? [];
23808
23815
  if (data.length === 0) {
23809
23816
  return cb([]);