回放链接:
@@ -325,6 +327,9 @@ const removePG = () => {
formData.value.assessmentId = ''
formData.value.assessmentName = ''
};
+const getchange=(mess)=> {
+ console.log(mess); //输出true或者false
+};
const props = defineProps({
type: Number,
taskList: []
@@ -493,11 +498,14 @@ const beforeUpload = (file) => {
formDatas.append("file", file);
fileUp(formDatas).then((res) => {
if (res.data.code === 200) {
- console.log(res)
- imageUrl.value = res.data
- formData.value.liveCover = res.data
+ console.log(res.data.data,45);
+ imageUrl.value = process.env.VUE_APP_FILE_PATH +res.data.data
+ formData.value.liveCover =process.env.VUE_APP_FILE_PATH + res.data.data
+
+
+
// state.hasImgName = file.name;
- // emit("src", { id: curItem.value.id, src: res.data.data });
+ // emit("src", { id: '', src: res.data.data });
}
});
return false;
diff --git a/src/components/drawers/AddOnline.vue b/src/components/drawers/AddOnline.vue
index 4a8e1238..80c2465b 100644
--- a/src/components/drawers/AddOnline.vue
+++ b/src/components/drawers/AddOnline.vue
@@ -11,79 +11,28 @@
>
-
+
- 编辑在线
- 添加在线
-
+ {{ taskIndex === -1 ? "编辑" : "添加" }}任务
+
- res.result.total_page_num,
total: res => res.result.count
})
-
+console.log(data)
watch(taskIndex, () => {
if (taskIndex.value >= 0) {
rowSelectKeys.value = [props.taskList[taskIndex.value].courseId]
@@ -182,11 +189,11 @@ const closeDrawer = () => {
function confirm() {
if (!selectsData.value.length || !rowSelectKeys.value.length) {
- message.warning("请选择案例!");
+ message.warning("请选择测评!");
return
}
if (taskIndex.value === -1) {
- const list = props.taskList
+ let list = props.taskList
list.push({
name: selectsData.value[0].title,
type: 3,
diff --git a/src/components/drawers/TaskFaceIn.vue b/src/components/drawers/TaskFaceIn.vue
index 8fac83bc..581f9ca8 100644
--- a/src/components/drawers/TaskFaceIn.vue
+++ b/src/components/drawers/TaskFaceIn.vue
@@ -190,14 +190,25 @@ export default {
type: Boolean,
default: false,
},
+ projectId: {
+ type: Number,
+ default: null,
+ },
+ studentId: {
+ type: Number,
+ default: null,
+ },
+ routerId: {
+ type: Number,
+ default: null,
+ },
},
setup(props, ctx) {
- console.log(1222)
const state = reactive({
fileType: ["xls", "xlsx"],
importLeader:
process.env.VUE_APP_BASE_API +
- `/admin/studentGroup/importGroup/${props.projectId}`,
+ `/admin/offcourse/importGroup/${props.routerId}`,
uploadpercent: -1,
uploadErr: false, //上传失败
addLoading: false,
diff --git a/src/components/student/OnlineClassModelStudent.vue b/src/components/student/OnlineClassModelStudent.vue
index 7b3a32e7..cc6e5b4e 100644
--- a/src/components/student/OnlineClassModelStudent.vue
+++ b/src/components/student/OnlineClassModelStudent.vue
@@ -2,22 +2,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 课程分类:
-
-
-
-
-
-
-
-
- 搜索
-
-
-
- 重置
-
-
@@ -117,11 +117,18 @@ const taskIndex = ref(-1);
const {data, loading, total, fetch} = useBoeApiPage(TEST_PAGE, params.value, {
init: false,
- result: res => res.result.data,
+ result: res => {
+ let newArr = []
+ for(let i=0;i
-
+
-
-
-
+
+
+
+ {{
+ taskIndex === -1 ? '选择/新建课程' : '重新选择'
+ }}
+
+
+
+
@@ -92,10 +41,9 @@
\ No newline at end of file
diff --git a/src/components/drawers/EvList.vue b/src/components/drawers/EvList.vue
index 01cb0be4..c9d32502 100644
--- a/src/components/drawers/EvList.vue
+++ b/src/components/drawers/EvList.vue
@@ -17,7 +17,7 @@
+ placeholder="请输入测评名称"/>
-
- xxxxxxxx课程
+
+ xxxxxxxx 课程
- 内容分类:12312
+ 内容分类:12312
- 授课教师:12312
+ 授课教师:12312
- 状态审核:12312
+ 审核状态:12312
@@ -41,21 +41,14 @@
style="background: #4ea6ff; color: #fff; width: 100px"
@click="searchStu"
>
-
-
+
+
搜索
-
-
+
重置
@@ -65,7 +58,6 @@
type="flex"
gutter="12"
style="padding-left: 20px; margin-right: 0px"
- v-if="checkPer(permissions)"
>
-
+
+
添加学员
-
-
-
-
- 导入学员
-
-
-
-
-
- 导出学习信息
-
-
-
-
-
- 导出学习信息
-
-
-
-
-
- 批量删除
-
-
-
-
-
- 批量调整关卡
-
-
-
-
-
+
+
搜索
+
重置
+
+
添加学员
- 导入学员
-
- 批量删除
-
-
-
- 批量操作
-
-
-
-
-
-
-
-
- 批量录入成绩
-
-
- 批量结业
-
-
- 批量通过
-
-
- 批量拒绝
-
-
-
-
- 导出
-
-
- 导出作业
-