bri-components 1.3.35 → 1.3.37

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": "bri-components",
3
- "version": "1.3.35",
3
+ "version": "1.3.37",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -323,14 +323,14 @@
323
323
  &-new,
324
324
  &-inline {
325
325
  &-wrapper {
326
- min-width: 30px;
327
- height: 30px;
328
- line-height: 30px;
326
+ min-width: 32px;
327
+ height: 32px;
328
+ line-height: 32px;
329
329
  background-color: @border-readonly;
330
330
  }
331
331
 
332
332
  &-add {
333
- height: 30px;
333
+ height: 32px;
334
334
  border: none;
335
335
  border-radius: 0px;
336
336
  background-color: @btn-hover;
@@ -393,12 +393,13 @@
393
393
  color: #fff;
394
394
  align-items: center;
395
395
  justify-content: center;
396
+ flex-wrap: wrap;
396
397
 
397
398
  &-icon {
398
- width: 18px;
399
- height: 18px;
400
- line-height: 18px;
401
- color: #fff;
399
+ width: 16px;
400
+ height: 16px;
401
+ font-size: 16px !important;
402
+ margin: 0px;
402
403
  }
403
404
  }
404
405
 
@@ -169,6 +169,7 @@
169
169
  cursor: pointer;
170
170
 
171
171
  &-active {
172
+ color: #ffffff;
172
173
  background-color: @theme-hover;
173
174
  }
174
175
  }
@@ -159,6 +159,10 @@ export default {
159
159
  _isExport: false, // 导出
160
160
  _isQuote: false, // 引用
161
161
  _quoteListFields: [], // 引用列表的显示字段
162
+ _quoteAdvSearch: {
163
+ logic: "and",
164
+ conditions: []
165
+ }, // 引用列表筛选条件
162
166
  ...this.propsObj,
163
167
 
164
168
  _contentHeight: this.propsObj._contentHeight || 500 // 表格最大高度
@@ -200,17 +204,20 @@ export default {
200
204
  disabledOldDataRow () {
201
205
  return this.selfPropsObj._disabledOldDataRow;
202
206
  },
207
+ isImport () {
208
+ return this.selfPropsObj._isImport;
209
+ },
210
+ isExport () {
211
+ return this.selfPropsObj._isExport;
212
+ },
203
213
  isQuote () {
204
214
  return this.selfPropsObj._isQuote;
205
215
  },
206
216
  quoteListFields () {
207
217
  return this.selfPropsObj._quoteListFields;
208
218
  },
209
- isImport () {
210
- return this.selfPropsObj._isImport;
211
- },
212
- isExport () {
213
- return this.selfPropsObj._isExport;
219
+ quoteAdvSearch () {
220
+ return this.$transformAdvSearch(this.selfPropsObj._quoteAdvSearch, this.parentFormList, this.parentObj);
214
221
  },
215
222
 
216
223
  modalPropsObj () {
@@ -232,7 +239,8 @@ export default {
232
239
  fieldKey: "_id",
233
240
  fieldOperator: "ne",
234
241
  fieldValue: [this.parentDataId]
235
- }
242
+ },
243
+ this.quoteAdvSearch
236
244
  ]
237
245
  }
238
246
  };
@@ -15,7 +15,8 @@
15
15
  &-default,
16
16
  &-small,
17
17
  &-middle,
18
- &-large {
18
+ &-large,
19
+ &-custom {
19
20
  .ivu-modal-wrap {
20
21
  .ivu-modal {
21
22
  margin: auto;