|
@@ -212,7 +212,39 @@
|
|
this.submitHint = true;
|
|
this.submitHint = true;
|
|
},
|
|
},
|
|
changeActivity(){
|
|
changeActivity(){
|
|
- this.$message.info("修改活动")
|
|
|
|
|
|
+ let pram = {
|
|
|
|
+ uid:this.$store.state.userInfo.userid,//用户ID
|
|
|
|
+ aid:this.wordData['acId'],
|
|
|
|
+ tit:this.wordData['activityName'],//活动名称
|
|
|
|
+ courseId:this.wordData['associatedProjects'],//关联项目ID
|
|
|
|
+ pLeader:this.wordData['pro_leader'],//活动负责人
|
|
|
|
+ mon:this.total,//预算经费
|
|
|
|
+ st:this.wordData['student'],//参与学生人数
|
|
|
|
+ ct:JSON.stringify(this.wordData['member']),//活动指导老师
|
|
|
|
+ chp:JSON.stringify({
|
|
|
|
+ activityPlan:this.wordData['activityName'],//活动计划
|
|
|
|
+ expectations:this.wordData['expectations'],//预期目标
|
|
|
|
+ eventAudience:this.wordData['eventAudience'],//活动受众面
|
|
|
|
+ fundingPlan:this.wordData['fundingPlan'],//经费支出计划
|
|
|
|
+ }),//活动信息
|
|
|
|
+ cid:this.wordData['college'],//学院ID,
|
|
|
|
+ ph:this.wordData['tel'],//联系电话
|
|
|
|
+ beg:JSON.stringify(this.wordData['activityTime']),//活动时间
|
|
|
|
+ f:JSON.stringify(this.wordData['fund']),//预算经费明细
|
|
|
|
+ appltTime:this.wordData['applicationDate'],//申请日期
|
|
|
|
+ mp:JSON.stringify(this.wordData['expenditureMothPlan']),//月支出计划
|
|
|
|
+ }
|
|
|
|
+ this.ajax.post(this.$store.state.api+"/UpdateActivityWordData",pram).then(result=>{
|
|
|
|
+ if(result['data']==1){
|
|
|
|
+ this.$message.success("活动修改成功");
|
|
|
|
+ this.submitHint = false;
|
|
|
|
+ }else{
|
|
|
|
+ this.$message.error("活动修改失败")
|
|
|
|
+ }
|
|
|
|
+ this.getData();
|
|
|
|
+ }).catch(err=>{
|
|
|
|
+ console.log(err)
|
|
|
|
+ })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed:{
|
|
computed:{
|