jsk
This commit is contained in:
		
							parent
							
								
									a978642ef3
								
							
						
					
					
						commit
						8aefe7371b
					
				| 
						 | 
					@ -30,7 +30,7 @@ export function editHealthScienceApi(data) {
 | 
				
			||||||
        url: '/smart-canteen/health_popular_article/edit',
 | 
					        url: '/smart-canteen/health_popular_article/edit',
 | 
				
			||||||
        method: 'post',
 | 
					        method: 'post',
 | 
				
			||||||
        headers: {
 | 
					        headers: {
 | 
				
			||||||
            "merchant-id":"378915229716713472",
 | 
					          "merchant-id":"378915229716713472",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        data: data
 | 
					        data: data
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -357,10 +357,10 @@ export default {
 | 
				
			||||||
                this.fileList=[]
 | 
					                this.fileList=[]
 | 
				
			||||||
                this.checkUrlList=[]
 | 
					                this.checkUrlList=[]
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            if(this.form.chronicIds.length>0){
 | 
					            if(this.form.chronicIds!=null&&this.form.chronicIds.length>0){
 | 
				
			||||||
              this.form.chronicIdList=this.form.chronicIds.split(",");
 | 
					              this.form.chronicIdList=this.form.chronicIds.split(",");
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            console.log("this.form",this.form);
 | 
					            console.log("this.form.articleContent",this.form.articleContent);
 | 
				
			||||||
            this.open = true;
 | 
					            this.open = true;
 | 
				
			||||||
            this.title = "修改";
 | 
					            this.title = "修改";
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					@ -373,7 +373,8 @@ export default {
 | 
				
			||||||
                    }else{
 | 
					                    }else{
 | 
				
			||||||
                        this.form.chronicIds = ""
 | 
					                        this.form.chronicIds = ""
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    this.form.coverPhoto = this.checkUrlList[0]
 | 
					                    this.form.coverPhoto = this.checkUrlList[0];
 | 
				
			||||||
 | 
					                    console.log("this.form.articleContent",this.form.articleContent);
 | 
				
			||||||
                    if (this.form.articleId != undefined) {
 | 
					                    if (this.form.articleId != undefined) {
 | 
				
			||||||
                        editHealthScienceApi(this.form).then(response => {
 | 
					                        editHealthScienceApi(this.form).then(response => {
 | 
				
			||||||
                            this.$modal.msgSuccess("修改成功");
 | 
					                            this.$modal.msgSuccess("修改成功");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue