三会一课
This commit is contained in:
@@ -495,12 +495,9 @@ export default {
|
||||
|
||||
//保存提交表单验证
|
||||
confirm(status) {
|
||||
console.log(444)
|
||||
if (status == '1') {
|
||||
console.log(222)
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
console.log(333)
|
||||
this.addUpdate(status);
|
||||
}
|
||||
})
|
||||
@@ -521,7 +518,6 @@ export default {
|
||||
|
||||
//新增
|
||||
addUpdate(status) {
|
||||
console.log(123)
|
||||
let hasHost = false;
|
||||
this.form.participantList.map(e => {
|
||||
if (e.isHost) {
|
||||
@@ -533,7 +529,6 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
console.log(hasHost)
|
||||
if (!hasHost && status == '1') {
|
||||
return this.$message.error("请选择主持人");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user