|
@@ -67,11 +67,13 @@ export default {
|
|
|
this.$router.push({ path: 'teacherscore/index', query: { teaid: item.teaid, lessonid: item._id } });
|
|
|
},
|
|
|
getLocaltion(data) {
|
|
|
+ if (data.subname.includes('训练')) return _.get(this.classInfo, 'kzjhlocation', '');
|
|
|
+ if (data.subname.includes('交流')) return _.get(this.classInfo, 'jslocation', '');
|
|
|
if (data.subid) {
|
|
|
return _.get(this.classInfo, 'jslocation', '');
|
|
|
} else if (data.subname.includes('报到') || data.subname.includes('开班')) {
|
|
|
return _.get(this.classInfo, 'kbyslocation', '');
|
|
|
- } else if (data.subname.includes('拓展')) {
|
|
|
+ } else if (data.subname.includes('交流')) {
|
|
|
return _.get(this.classInfo, 'kzjhlocation', '');
|
|
|
} else if (data.subname.includes('午餐+休息') || data.subname.includes('晚餐')) {
|
|
|
return _.get(this.classInfo, 'yclocation', '');
|