diff --git a/src/api/configGrowth.js b/src/api/configGrowth.js
index ab3fedbe..2f010b28 100644
--- a/src/api/configGrowth.js
+++ b/src/api/configGrowth.js
@@ -18,8 +18,8 @@ import { boeRequest } from "@/api/request";
// "application/x-www-form-urlencoded";
axios.defaults.withCredentials = true;
const http = axios.create({
- // baseURL: '/growth',
- baseURL: process.env.VUE_APP_BASE_API_GROWTH,
+ baseURL: '/growth',
+ // baseURL: process.env.VUE_APP_BASE_API_GROWTH,
timeout: 1000 * 15,
// headers: { "Content-Type": "multipart/form-data" },
headers: { "Content-Type": "application/json" },
diff --git a/src/components/common/BaseTable.vue b/src/components/common/BaseTable.vue
index 8aa0c665..bed88aee 100644
--- a/src/components/common/BaseTable.vue
+++ b/src/components/common/BaseTable.vue
@@ -195,6 +195,6 @@
const fetch = () => nextTick(onFetch);
- defineExpose({ fetch, reset, resetSelected, clear, toLoading, remove , params });
+ defineExpose({ fetch, reset, resetSelected, clear, toLoading, remove , params,data });
diff --git a/src/components/growthpath/GrowthActiveAttendance.vue b/src/components/growthpath/GrowthActiveAttendance.vue
index 43f85b32..e7d17197 100644
--- a/src/components/growthpath/GrowthActiveAttendance.vue
+++ b/src/components/growthpath/GrowthActiveAttendance.vue
@@ -24,9 +24,7 @@
datasource.info.liveStartTime || datasource.info.activityStartTime
}}
~
- {{
- datasource.info.liveStartTime || datasource.info.activityEndTime
- }}
+ {{ datasource.info.liveEndTime || datasource.info.activityEndTime }}
{
delete params.value.status;
}
};
-const params = ref({ pid: 0, type: 4 });
+const params = ref({ pid: 0, type: 3 });
const courseSelectRows = ref([]);
const planParams = computed(() => ({
type: props.type,
@@ -406,59 +406,59 @@ const columns = ref([
),
},
- {
- title: "操作",
- ellipsis: true,
- className: "h",
- dataIndex: "opacation",
- key: "opacation",
- width: 100,
- align: "center",
- customRender: ({
- record: {
- workStatus,
- answerId,
- examinationScore,
- studentId,
- finishStatus,
- },
- }) => (
-
- ),
- },
+ // {
+ // title: "操作",
+ // ellipsis: true,
+ // className: "h",
+ // dataIndex: "opacation",
+ // key: "opacation",
+ // width: 100,
+ // align: "center",
+ // customRender: ({
+ // record: {
+ // workStatus,
+ // answerId,
+ // examinationScore,
+ // studentId,
+ // finishStatus,
+ // },
+ // }) => (
+ //
+ // ),
+ // },
]);
watch(
() => data.value,
@@ -556,17 +556,18 @@ function exportTaskStu() {
}
const hasten = () => {
- message.success("催促成功");
- console.log(data.value[coursePlanIndex.value]);
+ if(!tableRef.value.data || !tableRef.value.data.length){
+ message.warning("当前课程没有可催促的学员");
+ return
+ }
batchSendMessage({
// courseId: props.datasource.courseId,//任务的Id
courseId: data.value[coursePlanIndex.value].id, //任务的Id
- courseName: props.datasource.name, //任务的名称
- logo: props.type, //项目或径的标识 1-项目 2-路径图 3面授课
- targetId: infoId.value, //路径图的就是routerId,项目的是projectId;根据这张图来看的话
+ courseName: props.datasource.taskName, //任务的名称
+ logo: 3, //项目或径的标识 1-项目 2-路径图 3面授课
taskType: props.datasource.taskType, //催促的任务的类型
- chapterId: props.datasource.stageId, //阶段或关卡Id
});
+ message.success("催促成功");
};
function afterVisibleChange(bool) {
diff --git a/src/components/growthpath/GrowthOnlineManage.vue b/src/components/growthpath/GrowthOnlineManage.vue
index 2bc14506..fffdb292 100644
--- a/src/components/growthpath/GrowthOnlineManage.vue
+++ b/src/components/growthpath/GrowthOnlineManage.vue
@@ -91,7 +91,7 @@
导出数据
-