|
@@ -101,8 +101,19 @@ import {addCollection} from '../../api/collection/collection.js'
|
|
|
console.log( "-****" , this.form.imageUrl);
|
|
|
console.log( "-****" , this.form.collectionTime);
|
|
|
console.log( "-****" , this.form.radio);
|
|
|
- addCollection(this.collectionName) .then((res)=>{
|
|
|
+ addCollection({
|
|
|
+ seriesName :this.form.collectionName ,
|
|
|
+ seriesImage:this.form.imageUrl,
|
|
|
+ startTime :"2023-02-11 22:25:49" ,
|
|
|
+ endTime: "2023-02-11 22:25:49",
|
|
|
+ collectionCounts:"0",
|
|
|
+ exchangeStatus: this.form.radio
|
|
|
+ }) .then((res)=>{
|
|
|
console.log(res);
|
|
|
+ this.$message({
|
|
|
+ message:"套系添加成功!",
|
|
|
+ type:"success",
|
|
|
+ });
|
|
|
})
|
|
|
},
|
|
|
resetForm(formName) {
|