<a-form-item label="日期" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-range-picker @change="onChangeTime" v-model="queryParam.PageTimeText" /> </a-form-item>
import moment from 'moment'
//this.queryParam.PageTimeText = [moment(this.model.showDate[0], 'YYYY-MM-DD HH:mm:ss'), moment(this.model.showDate[1], 'YYYY-MM-DD HH:mm:ss')]; this.queryParam.PageTimeText = [moment(resJson.Data.BeginTime, 'YYYY-MM-DD'), moment(resJson.Data.EndTime, 'YYYY-MM-DD')];
this.entity.BeginTime = moment(resJson.Data.BeginTime, 'YYYY-MM-DD'); this.entity.EndTime = moment(resJson.Data.EndTime, 'YYYY-MM-DD');