xs-common-plugins 1.3.2 → 1.3.3

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": "xs-common-plugins",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "private": false,
5
5
  "description": "向上公共代码部分",
6
6
  "author": "祝玲云 <1902733517@qq.com>",
@@ -93,7 +93,7 @@
93
93
  <!--单选联级选择-->
94
94
  <el-form-item :label="optionItem.displayName" v-if="optionItem.conditionType === $enum.conditionType.datePicker" :style="{ width: optionItem.itemWidth }" class="dateRange">
95
95
  <el-date-picker clearable v-model="inputValue[optionItem.fieldName]" v-if="optionItem.dataSourceType == 0" type="date" align="right" unlink-panels :placeholder="optionItem.defaultValue" value-format="yyyy-MM-dd"></el-date-picker>
96
- <el-date-picker clearable v-model="inputValue[optionItem.fieldName]" v-else-if="optionItem.dataSourceType == 'month'" type="month" align="right" unlink-panels :placeholder="optionItem.defaultValue" value-format="yyyy-MM"></el-date-picker>
96
+ <el-date-picker clearable v-model="inputValue[optionItem.fieldName]" v-else-if="optionItem.dataSourceType == 'month'" type="month" align="right" unlink-panels :placeholder="optionItem.defaultValue" value-format="yyyy-MM-dd"></el-date-picker>
97
97
  <!-- 时间选择器-->
98
98
  <el-date-picker v-else clearable v-model="inputValue[optionItem.fieldName]" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" value-format="yyyy-MM-dd" style="position:relative;top:-1px"></el-date-picker>
99
99
  <!-- :value-format="optionItem.config?optionItem.config.timeFrom:'yyyy-MM-DD'" -->