|
@@ -130,10 +130,10 @@
|
|
|
|
|
|
projectApplicationApply1:{ //立项基础信息页面
|
|
|
amendMemberDialog:false, //修改人员对话框显示判断
|
|
|
- dialogImageUrl:"", //封面
|
|
|
telVerify:true, //判断基础信息里联系电话
|
|
|
telVerify2:true, //添加修改成员电话判断
|
|
|
|
|
|
+ dialogImageUrl:"", //封面!!!!!!!!
|
|
|
tableStudentData:[], //学生成员成员列表!!!!!!!!
|
|
|
tableTeacherData:[], //老师成员成员列表!!!!!!!
|
|
|
textarea:'', //项目简介!!!!!!!
|
|
@@ -146,9 +146,7 @@
|
|
|
MultiSelectProjectNameS:[], //优先支持项目
|
|
|
schoolRemould:'', //校园改造项目
|
|
|
tel:'', //电话
|
|
|
- // value1:"",
|
|
|
projectApplyPerson:'', //项目申请人
|
|
|
- // sort:[] //["dawjiawdjaw",0]
|
|
|
},
|
|
|
|
|
|
|
|
@@ -158,7 +156,6 @@
|
|
|
phone:'',
|
|
|
score:'0'
|
|
|
},
|
|
|
-
|
|
|
MultiSelectProject:[ //优先支持项目下拉框数据
|
|
|
{
|
|
|
value: '1',
|
|
@@ -174,7 +171,6 @@
|
|
|
label: '产业命题项目'
|
|
|
}
|
|
|
],
|
|
|
-
|
|
|
schoolRemouldOptions:[ //美丽校园下拉框数据
|
|
|
{
|
|
|
value: '1',
|
|
@@ -199,7 +195,6 @@
|
|
|
label: '入驻学校孵化基地的初创企业法人'
|
|
|
}
|
|
|
],
|
|
|
-
|
|
|
departmentOptions: [], //部门下拉框
|
|
|
sortOptions: [ //选择分类下拉框数据
|
|
|
{
|
|
@@ -293,7 +288,7 @@
|
|
|
},
|
|
|
methods:{
|
|
|
|
|
|
- selectTypeButton(){
|
|
|
+ selectTypeButton(){ //分类选项 学生 学校
|
|
|
// this.$message.error('请选择分类')
|
|
|
console.log(this.pageType[0]==false);
|
|
|
if (!this.pageType[0]) return this.$message.error('请选择分类')
|
|
@@ -377,11 +372,12 @@
|
|
|
submitAll(){
|
|
|
if(this.pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'){//学生创客项目
|
|
|
//在这里判断数据
|
|
|
+ this.submitData()
|
|
|
+
|
|
|
}else if(this.pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'){//特色创客空间建设项目
|
|
|
//在这里判断项目
|
|
|
this.InsertProjectMakerSpace();
|
|
|
}
|
|
|
- // this.submitData()
|
|
|
},
|
|
|
submitData(){ //提交页面所有数据
|
|
|
let a=this.projectApplicationApply1;
|
|
@@ -413,7 +409,6 @@
|
|
|
// return console.log(typeId,typeName);
|
|
|
|
|
|
let param={
|
|
|
- uid:this.$store.state.userInfo.userid,
|
|
|
// title:a.select.projectName,
|
|
|
// brief:a.textarea,
|
|
|
// leader:a.select.person,
|
|
@@ -424,16 +419,18 @@
|
|
|
// tid:typeId,
|
|
|
// tidName:typeName,
|
|
|
// mon:a.select.fund,
|
|
|
- // imgsrc:a.dialogImageUrl,
|
|
|
- // beginTime:a.select.value1
|
|
|
+ imgsrc:a.dialogImageUrl,
|
|
|
+ uid:this.$store.state.userInfo.userid,
|
|
|
tit:a.select.projectName,
|
|
|
+ con:a.textarea,
|
|
|
leader:a.select.leader,
|
|
|
+ tel:a.select.tel,
|
|
|
+ cid: this.pageType,
|
|
|
proDate:a.select.projectDate,
|
|
|
department:a.select.department,
|
|
|
fund:a.select.fund,
|
|
|
MultiSelectProjectNameS:JSON.stringify(a.select.MultiSelectProjectNameS),
|
|
|
schoolRemould:a.select.schoolRemould,
|
|
|
- tel:a.select.tel,
|
|
|
person:a.select.projectApplyPerson,
|
|
|
student:JSON.stringify(a.tableStudentData),
|
|
|
teacher:JSON.stringify(a.tableTeacherData)
|