@94ai/nf-search-form 3.1.43 → 3.1.45

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.
@@ -104,7 +104,6 @@
104
104
  v-model="currentVal"
105
105
  v-bind="bindProps"
106
106
  v-on="bindEvents"
107
- placeholder="请选择半年"
108
107
  :placeholder="itemOptions.placeholder || '请选择半年'"
109
108
  />
110
109
  <nf-quarter-picker
@@ -212,9 +211,6 @@ const slotName = computed(() => {
212
211
  })
213
212
 
214
213
  const width = computed(() => {
215
- if (isDatePickerDateRange.value) {
216
- return props.itemWidth * 2 + props.labelWidth + 10 + 'px'
217
- }
218
214
  return props.itemWidth + 'px'
219
215
  })
220
216
 
@@ -29,7 +29,7 @@
29
29
  :hidden="!!item.hidden"
30
30
  :key="newKeys[index]"
31
31
  :prop="item.prop"
32
- :label="item.label ? (!item.isShowColon?item.label + ':':item.label+' ') : ''"
32
+ :label="item.label ? (item.isShowColon?item.label + ':':item.label) : ''"
33
33
  :rules="item.rules"
34
34
  :show-message="item.showMessage"
35
35
  :size="item.size"
@@ -97,9 +97,9 @@
97
97
  @click="resetNfSearchFormModel"
98
98
  >{{ resetBtnText }}
99
99
  </el-button>
100
+ <el-tooltip class="item" effect="dark" content="添加筛选条件" placement="bottom">
100
101
  <el-button v-if="isShowAdd"
101
102
  :type="checkBtnType"
102
- :icon="checkBtnIcon"
103
103
  :plain="checkBtnPlain"
104
104
  :size="checkBtnSize"
105
105
  :round="checkBtnRound"
@@ -109,8 +109,9 @@
109
109
  :class="(checkBtnClass || '') + ' nf-btn-check'"
110
110
  @click.stop="configNfSearchItemVisibleDialog = true"
111
111
  >
112
- {{ checkBtnText }}
112
+ <i class="iconfont icon-shaixuan1 nf-fs12"></i>
113
113
  </el-button>
114
+ </el-tooltip>
114
115
  <slot v-if="isShowBtnBoxSlot && reverseBtnSlot" name="btnBox" />
115
116
  </div>
116
117
  </nf-form-item>
@@ -390,7 +391,7 @@ const props = withDefaults(defineProps<{
390
391
  formOptions: () => [],
391
392
  showItems:() => [],
392
393
  closable: false,
393
- itemWidth: 190,
394
+ itemWidth: 227,
394
395
  btnItems: () => '',
395
396
 
396
397
  isShowAdd: true,
@@ -399,7 +400,7 @@ const props = withDefaults(defineProps<{
399
400
 
400
401
  checkBtnIcon: 'el-icon-plus',
401
402
  checkBtnPlain: true,
402
- checkBtnType: 'primary',
403
+ checkBtnType: '',
403
404
  checkBtnSize: 'mini',
404
405
  checkBtnRound: false,
405
406
  checkBtnCircle: false,
@@ -409,7 +410,7 @@ const props = withDefaults(defineProps<{
409
410
  checkBtnClass: '',
410
411
 
411
412
  queryBtnIcon: '',
412
- queryBtnPlain: true,
413
+ queryBtnPlain: false,
413
414
  queryBtnType: 'primary',
414
415
  queryBtnSize: 'mini',
415
416
  queryBtnRound: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-search-form",
3
- "version": "3.1.43",
3
+ "version": "3.1.45",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,18 +14,18 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-action": "^3.1.43",
18
- "@94ai/nf-double-half-year": "^3.1.43",
19
- "@94ai/nf-double-quarter": "^3.1.43",
20
- "@94ai/nf-double-week": "^3.1.43",
21
- "@94ai/nf-double-year": "^3.1.43",
22
- "@94ai/nf-form": "^3.1.43",
23
- "@94ai/nf-form-item": "^3.1.43",
24
- "@94ai/nf-half-year-picker": "^3.1.43",
25
- "@94ai/nf-quarter-picker": "^3.1.43",
26
- "@94ai/nf-select-transfer": "^3.1.43",
27
- "@94ai/nf-theme-chalk": "^3.1.43",
28
- "@94ai/nf-virtual-select": "^3.1.43",
17
+ "@94ai/nf-action": "^3.1.45",
18
+ "@94ai/nf-double-half-year": "^3.1.45",
19
+ "@94ai/nf-double-quarter": "^3.1.45",
20
+ "@94ai/nf-double-week": "^3.1.45",
21
+ "@94ai/nf-double-year": "^3.1.45",
22
+ "@94ai/nf-form": "^3.1.45",
23
+ "@94ai/nf-form-item": "^3.1.45",
24
+ "@94ai/nf-half-year-picker": "^3.1.45",
25
+ "@94ai/nf-quarter-picker": "^3.1.45",
26
+ "@94ai/nf-select-transfer": "^3.1.45",
27
+ "@94ai/nf-theme-chalk": "^3.1.45",
28
+ "@94ai/nf-virtual-select": "^3.1.45",
29
29
  "vue-demi": "^0.14.5"
30
30
  },
31
31
  "peerDependenciesMeta": {
@@ -41,5 +41,5 @@
41
41
  "types": "lib/index.d.ts",
42
42
  "main": "lib/nf-search-form.cjs.js",
43
43
  "module": "lib/nf-search-form.esm-bundler.js",
44
- "gitHead": "09da8e29e5aa0a1d4a7922f7b7d8e66eb91a7b67"
44
+ "gitHead": "c9ffdc2771406bc6d0c6531ab8cf210d07304096"
45
45
  }