|
@@ -30,6 +30,7 @@
|
|
|
align="right"
|
|
|
start-placeholder="开始日期"
|
|
|
end-placeholder="结束日期"
|
|
|
+ value-format="yyyy-MM-dd hh:mm::ss"
|
|
|
:default-time="['12:00:00', '08:00:00']">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -104,15 +105,15 @@ import {addCollection} from '../../api/collection/collection.js'
|
|
|
addCollection({
|
|
|
seriesName :this.form.collectionName ,
|
|
|
seriesImage:this.form.imageUrl,
|
|
|
- startTime :"2023-02-11 22:25:49" ,
|
|
|
- endTime: "2023-02-11 22:25:49",
|
|
|
+ startTime :this.form.collectionTime[0] ,
|
|
|
+ endTime: this.form.collectionTime[1],
|
|
|
collectionCounts:"0",
|
|
|
exchangeStatus: this.form.radio
|
|
|
}) .then((res)=>{
|
|
|
console.log(res);
|
|
|
this.$message({
|
|
|
- message:"套系添加成功!",
|
|
|
- type:"success",
|
|
|
+ message:"套系添加成功!",
|
|
|
+ type:"success",
|
|
|
});
|
|
|
})
|
|
|
},
|