bri-components 1.3.67 → 1.3.69

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.
@@ -282,6 +282,9 @@ export default {
282
282
  hideColKeys () {
283
283
  return this.selfPropsObj._hideColKeys || [];
284
284
  },
285
+ searchLabelWidth () {
286
+ return this.selfPropsObj._searchLabelWidth;
287
+ },
285
288
  searchList () {
286
289
  return this.selfPropsObj._searchList || []; // 级联表切层级表时 值会undefined覆盖selfPropsObj默认的[]
287
290
  },
@@ -291,6 +294,14 @@ export default {
291
294
  searchListFields () {
292
295
  return this.searchList.map(searchItem => searchItem._key);
293
296
  },
297
+ searchFormList () {
298
+ return this.$filterList(this.searchListFields, this.columns).map(formItem => ({
299
+ ...formItem,
300
+ ...this.searchListMap[formItem._key],
301
+ _name: formItem._name
302
+ }));
303
+ },
304
+
294
305
  tableAdvSearch () {
295
306
  return this.$transformAdvSearch(this.selfPropsObj._tableAdvSearch, this.allFormList, this.parentObj);
296
307
  },
@@ -316,16 +327,6 @@ export default {
316
327
  isSearching () {
317
328
  return this.$isAdvSearching(this.finalTableAdvSearch);
318
329
  },
319
- searchFormList () {
320
- return this.$filterList(this.searchListFields, this.columns).map(formItem => ({
321
- ...formItem,
322
- ...this.searchListMap[formItem._key],
323
- _name: formItem._name
324
- }));
325
- },
326
- searchLabelWidth () {
327
- return this.selfPropsObj._searchLabelWidth;
328
- },
329
330
  rowsNum () {
330
331
  return this.isSearching
331
332
  ? this.showListData.length
@@ -444,7 +445,10 @@ export default {
444
445
  importParams () {
445
446
  return {
446
447
  _id: this.parentDataId,
447
- _key: this.controlKey
448
+ _key: this.controlKey,
449
+ importType: this.controlType === "cascaderTable" && ["treeTable"].includes(this.selfPropsObj._showMode)
450
+ ? this.selfPropsObj._showMode
451
+ : this.controlType
448
452
  };
449
453
  },
450
454
 
@@ -781,7 +785,7 @@ export default {
781
785
  props: {
782
786
  value: this.showImportModal,
783
787
  propsObj: this.propsObj,
784
- listParams: this.importParams
788
+ importParams: this.importParams
785
789
  },
786
790
  on: {
787
791
  input: bool => {