|
@@ -700,28 +700,26 @@ export default {
|
|
uid: this.$store.state.userInfo.userid, //用户ID
|
|
uid: this.$store.state.userInfo.userid, //用户ID
|
|
cid: this.$route.query["pid"],
|
|
cid: this.$route.query["pid"],
|
|
tid: "5e21b204-c206-11ed-a4cd-509a4c5b67cf", //特色创客空间建设项目分类ID
|
|
tid: "5e21b204-c206-11ed-a4cd-509a4c5b67cf", //特色创客空间建设项目分类ID
|
|
- tit: this.wordData["projectName"], //项目名称
|
|
|
|
|
|
+ tit: encodeURIComponent(this.wordData["projectName"]), //项目名称
|
|
radio: this.wordData["radio"], //项目分组
|
|
radio: this.wordData["radio"], //项目分组
|
|
- checkList: JSON.stringify(this.wordData["checkList"]), //优先支持项目
|
|
|
|
- schoolRadio: JSON.stringify(this.wordData["schoolRadio"]), //美丽校园改造项目
|
|
|
|
- applyParsonRadio: JSON.stringify(this.wordData["applyParsonRadio"]), //项 目 申 请 人
|
|
|
|
- applyParsonName: this.wordData["applyParsonName"], //申请人姓名
|
|
|
|
|
|
+ checkList: encodeURIComponent(JSON.stringify(this.wordData["checkList"])), //优先支持项目
|
|
|
|
+ schoolRadio: encodeURIComponent(JSON.stringify(this.wordData["schoolRadio"])), //美丽校园改造项目
|
|
|
|
+ applyParsonRadio: encodeURIComponent(JSON.stringify(this.wordData["applyParsonRadio"])), //项 目 申 请 人
|
|
|
|
+ applyParsonName: encodeURIComponent(this.wordData["applyParsonName"]), //申请人姓名
|
|
coid: this.wordData["college"], //学院ID,
|
|
coid: this.wordData["college"], //学院ID,
|
|
tel: this.wordData["tel"], //联系电话
|
|
tel: this.wordData["tel"], //联系电话
|
|
beh: this.wordData["beginTime"], //项目开始时间,
|
|
beh: this.wordData["beginTime"], //项目开始时间,
|
|
planEnd: this.wordData["endTime"], //计划完成时间,
|
|
planEnd: this.wordData["endTime"], //计划完成时间,
|
|
- cs: JSON.stringify(this.wordData["studentS"]), //学生组,
|
|
|
|
- ct: JSON.stringify(this.wordData["teacherS"]), //教师组,
|
|
|
|
- bf: this.wordData["brief"], //项目简介
|
|
|
|
- introduce: JSON.stringify(this.wordData["introduce"]).replaceAll(/%/g,"%25"), //项目详细
|
|
|
|
- mon: JSON.stringify(this.wordData["fund"]), //预算经费
|
|
|
|
|
|
+ cs: encodeURIComponent(JSON.stringify(this.wordData["studentS"])), //学生组,
|
|
|
|
+ ct: encodeURIComponent(JSON.stringify(this.wordData["teacherS"])), //教师组,
|
|
|
|
+ bf: encodeURIComponent(this.wordData["brief"]), //项目简介
|
|
|
|
+ introduce: encodeURIComponent(JSON.stringify(this.wordData["introduce"])), //项目详细
|
|
|
|
+ mon: encodeURIComponent(JSON.stringify(this.wordData["fund"])), //预算经费
|
|
f: this.wordData["total"], //总经费
|
|
f: this.wordData["total"], //总经费
|
|
apply: this.wordData["applicationDate"], //申请日期
|
|
apply: this.wordData["applicationDate"], //申请日期
|
|
mem:
|
|
mem:
|
|
this.wordData["teacherS"].length + this.wordData["studentS"].length,
|
|
this.wordData["teacherS"].length + this.wordData["studentS"].length,
|
|
};
|
|
};
|
|
- console.log(param);
|
|
|
|
- // return console.log(param);
|
|
|
|
this.ajax
|
|
this.ajax
|
|
.post(this.$store.state.api + "/updateStudentProjectData", param)
|
|
.post(this.$store.state.api + "/updateStudentProjectData", param)
|
|
.then(
|
|
.then(
|
|
@@ -807,7 +805,7 @@ export default {
|
|
let params = {
|
|
let params = {
|
|
uid:this.$store.state.userInfo.userid,
|
|
uid:this.$store.state.userInfo.userid,
|
|
pid:this.$route.query["pid"],
|
|
pid:this.$route.query["pid"],
|
|
- file:JSON.stringify(this.wordData.opinion)
|
|
|
|
|
|
+ file:encodeURIComponent(JSON.stringify(this.wordData.opinion))
|
|
}
|
|
}
|
|
this.ajax.post(this.$store.state.api+"/updateProjectOpinion",params).then(res=>{
|
|
this.ajax.post(this.$store.state.api+"/updateProjectOpinion",params).then(res=>{
|
|
if(res.data==1){
|
|
if(res.data==1){
|