Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yuping
2023-03-22 16:12:33 +08:00
3 changed files with 20 additions and 15 deletions

View File

@@ -132,7 +132,7 @@
</template>
<script setup>
import {computed, defineEmits, nextTick, ref, watch} from "vue";
import {computed, defineEmits, ref, watch} from "vue";
import * as api from "@/api/index1";
import BaseTable from "@/components/common/BaseTable";
import {message} from "ant-design-vue";

View File

@@ -2666,13 +2666,16 @@ export default {
// if (date1 < date2) return message.warning("当前面授课已结束");
// if (item.taskStatus == 1 || item.taskStatus == 2)
// return message.error("该任务无法学习,请联系管理员进行替换。");
codeUrl =
window.location.protocol +
process.env.VUE_APP_H5 +
"/faceteach?type=2&courseId=" +
item.courseId +
"&id=" +
item.id;
// codeUrl =
// window.location.protocol +
// process.env.VUE_APP_H5 +
// "/faceteach?type=2&courseId=" +
// item.courseId +
// "&id=" +
// item.id;
codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/pathdetails?routerId=" + state.routerId;
}
if (item.type == 3) return message.error("请在pc端完成");

View File

@@ -4614,13 +4614,15 @@ export default {
item.courseId;
}
if (item.type == 2) {
codeUrl =
window.location.protocol +
process.env.VUE_APP_H5 +
"/faceteach?type=1&courseId=" +
item.courseId +
"&id=" +
item.id;
// codeUrl =
// window.location.protocol +
// process.env.VUE_APP_H5 +
// "/faceteach?type=1&courseId=" +
// item.courseId +
// "&id=" +
// item.id;
codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/projectdetails?type=1&projectId=" + state.projectId;
}
if (item.type == 3) return message.error("请在pc端完成");
if (item.type == 4) {