forked from qiushanhe/dm-manage-web
提交
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-form ref="searchForm" :model="searchForm" inline>
|
||||
<el-form ref="searchForm" :model="searchForm" inline size="mini">
|
||||
<el-form-item label="筛选:" label-width="90px">
|
||||
<DMRadio v-model="searchForm.quickSearch" :list="quickList" all-text="全部" @change="$emit('search')" />
|
||||
</el-form-item>
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
this.nextDateRange = [];
|
||||
},
|
||||
pickDateChange() {
|
||||
if (this.createDateRange.length) {
|
||||
if (this.createDateRange && this.createDateRange.length > 0) {
|
||||
this.searchForm.createDateStart = this.createDateRange[0];
|
||||
this.searchForm.createDateEnd = this.createDateRange[1];
|
||||
} else {
|
||||
@@ -117,7 +117,7 @@ export default {
|
||||
}
|
||||
},
|
||||
nextDateChange() {
|
||||
if (this.nextDateRange.length) {
|
||||
if (this.nextDateRange && this.nextDateRange.length > 0) {
|
||||
this.searchForm.nextDateStart = this.nextDateRange[0];
|
||||
this.searchForm.nextDateEnd = this.nextDateRange[1];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user