forked from integrated_whb/integrated_whb_vue
Merge remote-tracking branch 'origin/dev' into dev
commit
097433eaf4
|
@ -21,6 +21,7 @@ export const getAssociatedCoursewareNameList = (params) =>
|
||||||
export const getClassManagementList = (params) => post("/class/list", params); // 班级管理列表
|
export const getClassManagementList = (params) => post("/class/list", params); // 班级管理列表
|
||||||
export const setClassManagementDelete = (params) =>
|
export const setClassManagementDelete = (params) =>
|
||||||
post("/class/delete", params); // 班级管理删除
|
post("/class/delete", params); // 班级管理删除
|
||||||
|
export const setClassFinish = (params) => post("/class/finish", params); // 班级管理完成
|
||||||
export const setClassManagementDelay = (params) =>
|
export const setClassManagementDelay = (params) =>
|
||||||
post("/class/postpone", params); // 班级管理延期
|
post("/class/postpone", params); // 班级管理延期
|
||||||
export const getPersonnelList = (params) =>
|
export const getPersonnelList = (params) =>
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
>
|
>
|
||||||
上一步
|
上一步
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary"> 完成 </el-button>
|
<el-button type="primary" @click="fnComplete"> 完成 </el-button>
|
||||||
</div>
|
</div>
|
||||||
<involved-in-training
|
<involved-in-training
|
||||||
:id="data.involvedInTrainingDialog.CLASSCURRICULUM_ID"
|
:id="data.involvedInTrainingDialog.CLASSCURRICULUM_ID"
|
||||||
|
@ -122,6 +122,7 @@ import useListData from "@/assets/js/useListData.js";
|
||||||
import {
|
import {
|
||||||
getClassManagementCurriculumList,
|
getClassManagementCurriculumList,
|
||||||
getClassManagementInvolvedInTrainingList,
|
getClassManagementInvolvedInTrainingList,
|
||||||
|
setClassFinish,
|
||||||
setClassManagementCurriculumDelete,
|
setClassManagementCurriculumDelete,
|
||||||
} from "@/request/training_process_management.js";
|
} from "@/request/training_process_management.js";
|
||||||
import { debounce } from "throttle-debounce";
|
import { debounce } from "throttle-debounce";
|
||||||
|
@ -170,6 +171,22 @@ const fnDelete = debounce(
|
||||||
},
|
},
|
||||||
{ atBegin: true }
|
{ atBegin: true }
|
||||||
);
|
);
|
||||||
|
const fnComplete = debounce(
|
||||||
|
1000,
|
||||||
|
async () => {
|
||||||
|
await ElMessageBox.confirm(
|
||||||
|
"完成之后将开班,只能新增学员,不能再进行其它更改,确认继续吗?",
|
||||||
|
{
|
||||||
|
type: "warning",
|
||||||
|
}
|
||||||
|
);
|
||||||
|
await setClassFinish({ CLASS_ID, EXAMINATION });
|
||||||
|
ElMessage.success("班级添加完成");
|
||||||
|
fnResetPagination();
|
||||||
|
router.back();
|
||||||
|
},
|
||||||
|
{ atBegin: true }
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss"></style>
|
<style scoped lang="scss"></style>
|
||||||
|
|
|
@ -277,17 +277,13 @@ const fnGetLearningRecords = async () => {
|
||||||
"/student/exportStudentInfo?CLASS_ID=" +
|
"/student/exportStudentInfo?CLASS_ID=" +
|
||||||
CLASS_ID +
|
CLASS_ID +
|
||||||
"&START_TIME=" +
|
"&START_TIME=" +
|
||||||
searchForm.value.TIME?.[0] +
|
searchForm.value.TIME?.[0] ||
|
||||||
"&END_TIME=" +
|
"" + "&END_TIME=" + searchForm.value.TIME?.[1] ||
|
||||||
searchForm.value.TIME?.[1] +
|
"" + "&DEPARTMENT_ID=" + searchForm.value.DEPARTMENT_ID ||
|
||||||
"&DEPARTMENT_ID=" +
|
"" + "&POST_ID=" + searchForm.value.POST_ID ||
|
||||||
searchForm.value.DEPARTMENT_ID +
|
"" + "&STUDYSTATE=" + searchForm.value.STUDYSTATE ||
|
||||||
"&POST_ID=" +
|
"" + "&STAGEEXAMSTATE=" + searchForm.value.STAGEEXAMSTATE ||
|
||||||
searchForm.value.POST_ID +
|
"";
|
||||||
"&STUDYSTATE=" +
|
|
||||||
searchForm.value.STUDYSTATE +
|
|
||||||
"&STAGEEXAMSTATE=" +
|
|
||||||
searchForm.value.STAGEEXAMSTATE;
|
|
||||||
ElMessage.success("导出成功");
|
ElMessage.success("导出成功");
|
||||||
};
|
};
|
||||||
const fnDelete = debounce(
|
const fnDelete = debounce(
|
||||||
|
|
|
@ -96,7 +96,7 @@ const data = reactive({
|
||||||
OPTIONALDANYUANTICOUNT: 0,
|
OPTIONALDANYUANTICOUNT: 0,
|
||||||
OPTIONALDUOXUANTICOUNT: 0,
|
OPTIONALDUOXUANTICOUNT: 0,
|
||||||
OPTIONALPANDUITICOUNT: 0,
|
OPTIONALPANDUITICOUNT: 0,
|
||||||
COURSEWAREIDS: "",
|
COURSEWAREIDS: [],
|
||||||
EXAMNAME: "",
|
EXAMNAME: "",
|
||||||
EXAMSCORE: 0,
|
EXAMSCORE: 0,
|
||||||
PASSSCORE: 0,
|
PASSSCORE: 0,
|
||||||
|
|
|
@ -141,12 +141,7 @@
|
||||||
prop="TRAININGTYPE_NAME"
|
prop="TRAININGTYPE_NAME"
|
||||||
width="150"
|
width="150"
|
||||||
/>
|
/>
|
||||||
<el-table-column label="行业类型" prop="POSTTYPE_NAME" width="150" />
|
<el-table-column label="岗位类型" prop="POSTTYPE_NAME" width="150" />
|
||||||
<el-table-column
|
|
||||||
label="岗位类型"
|
|
||||||
prop="INDUSTRY_ALL_NAME"
|
|
||||||
width="200"
|
|
||||||
/>
|
|
||||||
<el-table-column label="培训等级" prop="TRAINLEVEL_NAME" width="150" />
|
<el-table-column label="培训等级" prop="TRAINLEVEL_NAME" width="150" />
|
||||||
<el-table-column label="负责人" prop="PRINCIPAL" width="150" />
|
<el-table-column label="负责人" prop="PRINCIPAL" width="150" />
|
||||||
<el-table-column label="培训开始时间" prop="START_TIME" width="150" />
|
<el-table-column label="培训开始时间" prop="START_TIME" width="150" />
|
||||||
|
|
Loading…
Reference in New Issue