Commit 8051a648 authored by 杨梦雪's avatar 杨梦雪

多形式报名

parent 069917c7
...@@ -86,18 +86,20 @@ ...@@ -86,18 +86,20 @@
, ,
methods: { methods: {
next() { next() {
if (this.referForm.multiform == 0) { if (this.referForm.multiform == 0 && this.is_multiform == 1) {
return this.$message.error('请选择活动形式') return this.$message.error('请选择活动形式')
} else {
let _this = this;
let obj = {};
//是否选择活动形式
obj.multiform_id = _this.referForm.multiform;
setSignShould(obj).then((res) => {
if (res.data.code !== 200) return this.$message.error(res.data.message);
this.$emit("getstatus", res.data.status);
this.$message.success(res.data.message);
});
} }
let _this = this;
let obj = {};
//是否选择活动形式
obj.multiform_id = _this.referForm.multiform;
setSignShould(obj).then((res) => {
if (res.data.code !== 200) return this.$message.error(res.data.message);
this.$emit("getstatus", res.data.status);
this.$message.success(res.data.message);
});
}, },
getCams() { getCams() {
getCam(this.$store.state.indexIdentity).then((res) => { getCam(this.$store.state.indexIdentity).then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment