|
|
@@ -3005,10 +3005,10 @@ export default {
|
|
|
},
|
|
|
async takeOk() {
|
|
|
this.loading = true;
|
|
|
- let compareFaceData = await this.faceRecognition();
|
|
|
+ const waitYS = await this.imageInfos();
|
|
|
+ let compareFaceData = await this.faceRecognition(waitYS);
|
|
|
this.compareFaceData = compareFaceData;
|
|
|
if (compareFaceData >= 80) {
|
|
|
- const waitYS = await this.imageInfos();
|
|
|
this.postCoursePhotoRecord()
|
|
|
.then(res => {
|
|
|
this.photoHistoryList.push(this.photoIndex);
|
|
|
@@ -4364,11 +4364,12 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
|
|
|
- faceRecognition() {
|
|
|
+ faceRecognition(url) {
|
|
|
return new Promise(resolve => {
|
|
|
this.$request
|
|
|
.faceCertificationCompareFace({
|
|
|
- imageA: this.faceUrl,
|
|
|
+ urlA: url,
|
|
|
+ // imageA: this.faceUrl,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
gradeId: this.gradeId
|
|
|
})
|
|
|
@@ -5979,7 +5980,7 @@ export default {
|
|
|
.reMenuList({
|
|
|
courseId: this.courseId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
rebuild: 1
|
|
|
})
|
|
|
.then(res => {
|
|
|
@@ -6015,7 +6016,7 @@ export default {
|
|
|
.reSectionList({
|
|
|
chapterId: sectionItem.chapterId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
courseId: this.courseId,
|
|
|
moduleId: 0
|
|
|
})
|
|
|
@@ -6047,7 +6048,7 @@ export default {
|
|
|
.reSectionList({
|
|
|
chapterId: rebuildObj.chapterId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
courseId: this.courseId,
|
|
|
moduleId: 0,
|
|
|
rebuild: 1
|
|
|
@@ -6078,7 +6079,7 @@ export default {
|
|
|
this.$request
|
|
|
.reMenuList({
|
|
|
courseId: this.courseId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
gradeId: this.gradeId,
|
|
|
rebuild: 1
|
|
|
})
|
|
|
@@ -6115,7 +6116,7 @@ export default {
|
|
|
.reSectionList({
|
|
|
chapterId: sectionItem.chapterId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
courseId: this.courseId,
|
|
|
moduleId: sectionItem.moduleId
|
|
|
})
|
|
|
@@ -6156,7 +6157,7 @@ export default {
|
|
|
.reSectionList({
|
|
|
chapterId: rebuildObj.chapterId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
courseId: this.courseId,
|
|
|
moduleId: rebuildObj.moduleId,
|
|
|
rebuild: 1
|
|
|
@@ -6195,7 +6196,7 @@ export default {
|
|
|
.reMenuList({
|
|
|
courseId: this.courseId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
rebuild: 1
|
|
|
})
|
|
|
.then(res => {
|
|
|
@@ -6234,7 +6235,7 @@ export default {
|
|
|
let data = {
|
|
|
gradeId: Number(self.gradeId),
|
|
|
goodsId: Number(self.goodsId),
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
sectionId: Number(self.playSectionId),
|
|
|
courseId: Number(self.courseId),
|
|
|
chapterId: parseInt(self.chapterId),
|
|
|
@@ -6254,7 +6255,7 @@ export default {
|
|
|
let data = {
|
|
|
courseId: this.courseId,
|
|
|
gradeId: this.gradeId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
goodsId: this.goodsId,
|
|
|
pageNum: this.noteParams.pageNum,
|
|
|
pageSize: this.noteParams.pageSize
|
|
|
@@ -6303,8 +6304,11 @@ export default {
|
|
|
getMenuList() {
|
|
|
let self = this;
|
|
|
this.$request
|
|
|
- .reMenuList({
|
|
|
- orderGoodsId:this.orderGoodsId,courseId: this.courseId, gradeId: this.gradeId })
|
|
|
+ .reMenuList({
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
+ courseId: this.courseId,
|
|
|
+ gradeId: this.gradeId
|
|
|
+ })
|
|
|
.then(res => {
|
|
|
for (let i = 0; i < res.rows.length; i++) {
|
|
|
let item = res.rows[i];
|
|
|
@@ -6352,7 +6356,7 @@ export default {
|
|
|
.reMenuList({
|
|
|
courseId: this.courseId,
|
|
|
rebuild: 1,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
gradeId: this.gradeId
|
|
|
})
|
|
|
.then(res => {
|
|
|
@@ -6628,7 +6632,7 @@ export default {
|
|
|
gradeId: this.gradeId,
|
|
|
goodsId: this.goodsId,
|
|
|
sectionId: this.playSectionId,
|
|
|
- orderGoodsId:this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
courseId: this.courseId,
|
|
|
noteText: this.textareaNote,
|
|
|
noteDate: noteDate,
|