vue2-client 1.4.46 → 1.4.48

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/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.4.46 -2022-11-07 @张振宇**
4
+ **1.4.48 -2022-11-07 @张振宇**
5
5
  - 增加年份选择框
6
6
 
7
7
  **1.4.37 - 1.4.44 -2022-11-01 @苗艳强**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.4.46",
3
+ "version": "1.4.48",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -414,7 +414,7 @@ export default {
414
414
  // 得到年份选择器的值
415
415
  panelChangeOne (value) {
416
416
  this.yearShowOne = false
417
- this.form[this.attr.model] = value
417
+ this.form[this.attr.model] = value.format('YYYY')
418
418
  },
419
419
  // 向父组件获取级联框的数据
420
420
  selectsItemCheck (groupName, index, value) {
@@ -184,7 +184,7 @@ module.exports = {
184
184
  {
185
185
  label: '相等[=]',
186
186
  key: '=',
187
- match: ['input', 'select', 'radio', 'monthPicker', 'selects', 'addressSearch', 'citySelect']
187
+ match: ['input', 'select', 'radio', 'monthPicker', 'yearPicker', 'selects', 'addressSearch', 'citySelect']
188
188
  },
189
189
  {
190
190
  label: '不相等[!=]',
@@ -209,22 +209,22 @@ module.exports = {
209
209
  {
210
210
  label: '大于[>]',
211
211
  key: '>',
212
- match: ['input', 'radio', 'monthPicker']
212
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
213
213
  },
214
214
  {
215
215
  label: '大于等于[>=]',
216
216
  key: '>=',
217
- match: ['input', 'radio', 'monthPicker']
217
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
218
218
  },
219
219
  {
220
220
  label: '小于[<]',
221
221
  key: '<',
222
- match: ['input', 'radio', 'monthPicker']
222
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
223
223
  },
224
224
  {
225
225
  label: '小于等于[<=]',
226
226
  key: '<=',
227
- match: ['input', 'radio', 'monthPicker']
227
+ match: ['input', 'radio', 'monthPicker', 'yearPicker']
228
228
  },
229
229
  {
230
230
  label: '包含[in]',