|
@@ -88,6 +88,7 @@ const disabledDate = (time) => {
|
|
<span class="demonstration">月数据时间:</span>
|
|
<span class="demonstration">月数据时间:</span>
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="monthlyDataTime"
|
|
v-model="monthlyDataTime"
|
|
|
|
+ :clearable="false"
|
|
type="monthrange"
|
|
type="monthrange"
|
|
unlink-panels
|
|
unlink-panels
|
|
range-separator="To"
|
|
range-separator="To"
|
|
@@ -96,6 +97,17 @@ const disabledDate = (time) => {
|
|
:disabled-date="disabledDate"
|
|
:disabled-date="disabledDate"
|
|
@change="handleMonthChange"
|
|
@change="handleMonthChange"
|
|
:shortcuts="monthShortCuts"
|
|
:shortcuts="monthShortCuts"
|
|
|
|
+ :popper-options="{
|
|
|
|
+ modifiers: [
|
|
|
|
+ {
|
|
|
|
+ name: 'flip',
|
|
|
|
+ options: {
|
|
|
|
+ fallbackPlacements: ['bottom'],
|
|
|
|
+ allowedAutoPlacements: ['bottom'],
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|