doway-coms 2.11.52 → 2.11.56

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": "doway-coms",
3
- "version": "2.11.52",
3
+ "version": "2.11.56",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -2144,6 +2144,9 @@ export default {
2144
2144
  colInfo.width = 100
2145
2145
  }
2146
2146
 
2147
+ // 设置最小列宽为60px
2148
+ colInfo.minWidth = originCol.minWidth || 60
2149
+
2147
2150
  if (originCol.controlType === 'operation') {
2148
2151
  customSlot['default'] = 'operation_edit'
2149
2152
  }
@@ -3662,6 +3665,28 @@ export default {
3662
3665
  }
3663
3666
  switch (tempControlType) {
3664
3667
  case controlType.date:
3668
+ if (loopBindingValue.value[0] && loopBindingValue.value[1]) {
3669
+ tempPushExp.operator = 'RA'
3670
+ tempPushExp.value = [loopBindingValue.value[0]+' 00:00:00',loopBindingValue.value[1]+' 23:59:59']
3671
+ expStr = '范围'
3672
+ tempStr.exp =
3673
+ tempStr.exp +
3674
+ loopBindingValue.value[0] +
3675
+ '到' +
3676
+ loopBindingValue.value[1] +
3677
+ '或'
3678
+ } else if (loopBindingValue.value[0]) {
3679
+ tempPushExp.operator = 'GE'
3680
+ tempPushExp.value = loopBindingValue.value[0] +' 00:00:00'
3681
+ tempStr.exp = tempStr.exp + tempPushExp.value + '或'
3682
+ expStr = '大于等于'
3683
+ } else {
3684
+ tempPushExp.operator = 'LE'
3685
+ tempPushExp.value = loopBindingValue.value[1] +' 23:59:59'
3686
+ tempStr.exp = tempStr.exp + tempPushExp.value + '或'
3687
+ expStr = '小于等于'
3688
+ }
3689
+ break
3665
3690
  case controlType.datetime:
3666
3691
  if (loopBindingValue.value[0] && loopBindingValue.value[1]) {
3667
3692
  tempPushExp.operator = 'RA'
@@ -4313,3 +4338,31 @@ export default {
4313
4338
  display: none !important;
4314
4339
  }
4315
4340
  </style>
4341
+ <style lang="less" scoped>
4342
+ // ... existing code ...
4343
+ ::v-deep .vxe-cell--filter, ::v-deep .vxe-cell--sort {
4344
+ white-space: nowrap;
4345
+ //display: inline-block;
4346
+ display: inline-flex;
4347
+ flex-shrink: 0;
4348
+ }
4349
+
4350
+ ::v-deep .vxe-cell--title {
4351
+ white-space: normal; /* 允许标题换行 */
4352
+ word-break: break-word;
4353
+ display: flex;
4354
+ align-items: center;
4355
+ flex: 1;
4356
+ margin-right: 4px;
4357
+ }
4358
+
4359
+ ::v-deep .vxe-cell--sort-wrapper {
4360
+ display: inline-flex;
4361
+ }
4362
+
4363
+ ::v-deep .vxe-cell {
4364
+ display: flex !important;
4365
+ align-items: center !important;
4366
+ justify-content: flex-start !important;
4367
+ }
4368
+ </style>
@@ -23,9 +23,15 @@
23
23
  border-left:2px solid #a7a6a6!important;
24
24
  }
25
25
  // 筛选图标颜色
26
- .vxe-filter--btn.vxe-icon-funnel{
26
+ .vxe-cell--filter .vxe-filter--btn{
27
27
  color:black!important;
28
28
  }
29
+ .is--filter-active .vxe-cell--filter .vxe-filter--btn{
30
+ color:#409eff!important;
31
+ }
32
+ // .vxe-filter--btn.vxe-icon-funnel{
33
+ // color:black!important;
34
+ // }
29
35
  // //排序图标颜色
30
36
  // .vxe-sort--desc-btn.vxe-icon-caret-down{
31
37
  // color:black;