|
@@ -161,14 +161,14 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="class"
|
|
prop="class"
|
|
- label="班级"
|
|
|
|
|
|
+ label="所在学院/部门/专业"
|
|
align="center"
|
|
align="center"
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="phone"
|
|
|
|
- label="电话"
|
|
|
|
|
|
+ prop="division"
|
|
|
|
+ label="项目组角色分工"
|
|
align="center"
|
|
align="center"
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -216,7 +216,7 @@
|
|
<div class="littleBlock">
|
|
<div class="littleBlock">
|
|
<div class="dialogLabel">项目组角色分工</div>
|
|
<div class="dialogLabel">项目组角色分工</div>
|
|
<div>
|
|
<div>
|
|
- <el-input type="number" class="inputNumber" v-model="data.Member.phone" @blur="getText(data.Member.phone)" ></el-input>
|
|
|
|
|
|
+ <el-input type="number" class="inputNumber" v-model="data.Member.division" ></el-input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div slot="footer" class="footer">
|
|
<div slot="footer" class="footer">
|
|
@@ -270,14 +270,14 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="class"
|
|
prop="class"
|
|
- label="班级"
|
|
|
|
|
|
+ label="所在学院/部门/专业"
|
|
align="center"
|
|
align="center"
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
- prop="phone"
|
|
|
|
- label="电话"
|
|
|
|
|
|
+ prop="division"
|
|
|
|
+ label="项目组角色分工"
|
|
align="center"
|
|
align="center"
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -325,7 +325,7 @@
|
|
<div class="littleBlock">
|
|
<div class="littleBlock">
|
|
<div class="dialogLabel">项目组角色分工</div>
|
|
<div class="dialogLabel">项目组角色分工</div>
|
|
<div>
|
|
<div>
|
|
- <el-input type="number" class="inputNumber" v-model="data.Member.phone" @blur="getText(data.Member.phone)" ></el-input>
|
|
|
|
|
|
+ <el-input type="number" class="inputNumber" v-model="data.Member.division"></el-input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div slot="footer" class="footer">
|
|
<div slot="footer" class="footer">
|
|
@@ -438,16 +438,10 @@
|
|
this.$message.error('请输入正确联系号码格式')
|
|
this.$message.error('请输入正确联系号码格式')
|
|
return this.data.telVerify=false;
|
|
return this.data.telVerify=false;
|
|
}
|
|
}
|
|
- if (value == this.data.Member.phone) {
|
|
|
|
- return this.data.telVerify2=false;
|
|
|
|
- }
|
|
|
|
}else{
|
|
}else{
|
|
if (value == this.data.select.tel) {
|
|
if (value == this.data.select.tel) {
|
|
this.data.telVerify=true;
|
|
this.data.telVerify=true;
|
|
}
|
|
}
|
|
- if (value == this.data.Member.phone) {
|
|
|
|
- return this.data.telVerify2=true;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -481,8 +475,9 @@
|
|
commitAddStudent(){ //确定添加成员
|
|
commitAddStudent(){ //确定添加成员
|
|
// console.log(this.data.Member.name);
|
|
// console.log(this.data.Member.name);
|
|
if (this.data.Member.name =="" ||this.data.Member.name==undefined) return this.$message.error('请输入姓名')
|
|
if (this.data.Member.name =="" ||this.data.Member.name==undefined) return this.$message.error('请输入姓名')
|
|
- if (this.data.Member.class=="" ||this.data.Member.class==undefined) return this.$message.error('请输入班级')
|
|
|
|
- if (!this.data.telVerify2) return this.$message.error('请输入正确联系电话格式')
|
|
|
|
|
|
+ if (this.data.Member.class=="" ||this.data.Member.class==undefined) return this.$message.error('请输入所在学院/部门/专业')
|
|
|
|
+ if (this.data.Member.class=="" ||this.data.Member.class==undefined) return this.$message.error('请输入项目组角色分工')
|
|
|
|
+
|
|
// this.addPerson();
|
|
// this.addPerson();
|
|
let newData = {};
|
|
let newData = {};
|
|
for(let j in this.data.Member)newData[j] = this.data.Member[j];
|
|
for(let j in this.data.Member)newData[j] = this.data.Member[j];
|
|
@@ -497,7 +492,6 @@
|
|
},
|
|
},
|
|
|
|
|
|
commitAmendStudent(){ //确定修改成员
|
|
commitAmendStudent(){ //确定修改成员
|
|
- if (!this.data.telVerify2) return this.$message.error('请输入正确联系号码格式')
|
|
|
|
Object.assign(this.data.tableStudentData[this.data.Member['index']],this.data.Member)
|
|
Object.assign(this.data.tableStudentData[this.data.Member['index']],this.data.Member)
|
|
for(let k in this.data.Member) this.data.Member[k]=''
|
|
for(let k in this.data.Member) this.data.Member[k]=''
|
|
this.addStudentMemberDialog=false;
|
|
this.addStudentMemberDialog=false;
|
|
@@ -538,8 +532,8 @@
|
|
commitAddTeacher(){ //确定添加成员
|
|
commitAddTeacher(){ //确定添加成员
|
|
// console.log(this.data.Member.name);
|
|
// console.log(this.data.Member.name);
|
|
if (this.data.Member.name =="" ||this.data.Member.name==undefined) return this.$message.error('请输入姓名')
|
|
if (this.data.Member.name =="" ||this.data.Member.name==undefined) return this.$message.error('请输入姓名')
|
|
- if (this.data.Member.class=="" ||this.data.Member.class==undefined) return this.$message.error('请输入班级')
|
|
|
|
- if (!this.data.telVerify2) return this.$message.error('请输入正确联系电话格式')
|
|
|
|
|
|
+ if (this.data.Member.class=="" ||this.data.Member.class==undefined) return this.$message.error('请输入所在学院/部门/专业')
|
|
|
|
+ if (this.data.Member.class=="" ||this.data.Member.class==undefined) return this.$message.error('请输入项目组角色分工')
|
|
// this.addPerson();
|
|
// this.addPerson();
|
|
let newData = {};
|
|
let newData = {};
|
|
for(let j in this.data.Member)newData[j] = this.data.Member[j];
|
|
for(let j in this.data.Member)newData[j] = this.data.Member[j];
|
|
@@ -554,7 +548,6 @@
|
|
},
|
|
},
|
|
|
|
|
|
commitAmendTeacher(){ //确定修改成员
|
|
commitAmendTeacher(){ //确定修改成员
|
|
- if (!this.data.telVerify2) return this.$message.error('请输入正确联系号码格式')
|
|
|
|
Object.assign(this.data.tableTeacherData[this.data.Member['index']],this.data.Member)
|
|
Object.assign(this.data.tableTeacherData[this.data.Member['index']],this.data.Member)
|
|
for(let k in this.data.Member) this.data.Member[k]=''
|
|
for(let k in this.data.Member) this.data.Member[k]=''
|
|
this.addTeacherMemberDialog=false;
|
|
this.addTeacherMemberDialog=false;
|