|
@@ -12,7 +12,6 @@
|
|
:format="dateFormat"
|
|
:format="dateFormat"
|
|
:placeholder="['开始时间','结束时间']"
|
|
:placeholder="['开始时间','结束时间']"
|
|
:disabledDate="disabledDate"
|
|
:disabledDate="disabledDate"
|
|
- @calendarChange="calendarChange"
|
|
|
|
@change="onChange" />
|
|
@change="onChange" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -153,11 +152,6 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
moment,
|
|
moment,
|
|
- calendarChange (date, dateStrings) {
|
|
|
|
- if (date[0]) {
|
|
|
|
- this.nowBeginDate = date[0].format('YYYY-MM-DD')
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
// 不可选日期
|
|
// 不可选日期
|
|
disabledDate (date, dateStrings) {
|
|
disabledDate (date, dateStrings) {
|
|
return date && date.valueOf() > Date.now()
|
|
return date && date.valueOf() > Date.now()
|
|
@@ -171,7 +165,6 @@ export default {
|
|
if ((dates, dateStrings)) {
|
|
if ((dates, dateStrings)) {
|
|
this.searchForm.beginDate = dateStrings[0]
|
|
this.searchForm.beginDate = dateStrings[0]
|
|
this.searchForm.endDate = dateStrings[1]
|
|
this.searchForm.endDate = dateStrings[1]
|
|
- this.nowBeginDate = this.searchForm.beginDate
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 获取服务项目数据
|
|
// 获取服务项目数据
|
|
@@ -235,7 +228,6 @@ export default {
|
|
},
|
|
},
|
|
// 重置
|
|
// 重置
|
|
handleReset () {
|
|
handleReset () {
|
|
- this.nowBeginDate = getDate.getToday().starttime
|
|
|
|
this.searchForm.beginDate = getDate.getToday().starttime
|
|
this.searchForm.beginDate = getDate.getToday().starttime
|
|
this.searchForm.endDate = getDate.getToday().endtime
|
|
this.searchForm.endDate = getDate.getToday().endtime
|
|
this.time = [
|
|
this.time = [
|