|
@@ -505,6 +505,9 @@
|
|
|
let stulist = this.courseGroupList.find((item) => {
|
|
|
return item.id == this.teaClassList[this.curClassIndex].stulist;
|
|
|
});
|
|
|
+ let groupIndex = this.courseGroupList.findIndex((item) => {
|
|
|
+ return item.id == this.teaClassList[this.curClassIndex].stulist;
|
|
|
+ });
|
|
|
if (stulist) {
|
|
|
console.log(stulist)
|
|
|
let params = stulist;
|
|
@@ -516,13 +519,16 @@
|
|
|
.upsertGroupInfo(params)
|
|
|
.then(
|
|
|
(res) => {
|
|
|
- console.log(res)
|
|
|
this.qrSetting = {
|
|
|
review: res.list.review ? true : false,
|
|
|
limitCount: res.list.limitCount,
|
|
|
qrcodeDays: res.list.qrcodeDays || 1,
|
|
|
qrcodeExpire:res.list.qrcodeExpire
|
|
|
}
|
|
|
+ this.teaClassList[this.curClassIndex].review = res.list.review
|
|
|
+ this.teaClassList[this.curClassIndex].limitCount = res.list.limitCount
|
|
|
+ this.teaClassList[this.curClassIndex].qrcodeDays = res.list.qrcodeDays
|
|
|
+ this.teaClassList[this.curClassIndex].qrcodeExpire = res.list.qrcodeExpire
|
|
|
console.log(this.qrSetting)
|
|
|
this.$Message.info(this.$t("cusMgt.updOk"));
|
|
|
},
|