Commit 587b8fc5 authored by yanglilong's avatar yanglilong

增加开始日期和截止日期

parent f1bb9c70
......@@ -147,13 +147,13 @@
<a-row :gutter="30">
<a-col :lg="6" :sm="12">
<a-form-model-item label="预授权开始日期">
<a-date-picker allow-clear v-model="form.firstVisitDate" placeholder="请选择开始日期"
<a-date-picker allow-clear v-model="form.startDate" placeholder="请选择开始日期"
value-format="YYYY-MM-DD 00:00:00" />
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="预授权截止日期">
<a-date-picker allow-clear v-model="form.firstVisitDate" placeholder="请选择截止日期"
<a-date-picker allow-clear v-model="form.endDate" placeholder="请选择截止日期"
value-format="YYYY-MM-DD 00:00:00" />
</a-form-model-item>
</a-col>
......
......@@ -211,8 +211,11 @@ export default{
...this.form,
createDateStart: this.form.dateRange[0]?moment(this.form.dateRange[0]).format('YYYY-MM-DD 00:00:00'):'',
createDateEnd: this.form.dateRange[1]?moment(this.form.dateRange[1]).format('YYYY-MM-DD 00:00:00'):'',
startDate: this.form.dateRange2[1]?moment(this.form.dateRange2[1]).format('YYYY-MM-DD 00:00:00'):'',
endDate: this.form.dateRange2[1]?moment(this.form.dateRange2[1]).format('YYYY-MM-DD 00:00:00'):'',
}
delete filter.dateRange;
delete filter.dateRange2;
this.$apis.AUTHORIZELIST(filter)
.then((res) => {
if (res.returnCode == "0000") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment