From fa41f42465c50f9caa73041658ee0bacd54af896 Mon Sep 17 00:00:00 2001 From: LiuJiaNan Date: Mon, 18 Mar 2024 18:01:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/data_dictionary.js | 4 +- src/components/learning_train_type/index.vue | 1205 +---------------- src/request/axios.js | 4 +- src/request/data_dictionary.js | 2 +- src/request/training_process_management.js | 12 + .../class_management/add.vue | 57 + .../components/basic_info.vue | 374 +++++ .../components/curriculum.vue | 7 + .../class_management/components/delay.vue | 61 + .../components/modify_exam_times.vue | 70 + .../class_management/components/student.vue | 7 + .../class_management/index.vue | 334 +++++ .../components/add_test_questions.vue | 14 +- .../course_management/add.vue | 5 + .../course_management/index.vue | 5 + .../video_courseware/index.vue | 1 + 16 files changed, 964 insertions(+), 1198 deletions(-) create mode 100644 src/views/training_process_management/class_management/add.vue create mode 100644 src/views/training_process_management/class_management/components/basic_info.vue create mode 100644 src/views/training_process_management/class_management/components/curriculum.vue create mode 100644 src/views/training_process_management/class_management/components/delay.vue create mode 100644 src/views/training_process_management/class_management/components/modify_exam_times.vue create mode 100644 src/views/training_process_management/class_management/components/student.vue create mode 100644 src/views/training_process_management/class_management/index.vue diff --git a/src/assets/js/data_dictionary.js b/src/assets/js/data_dictionary.js index 8c8b0dd..386a05c 100644 --- a/src/assets/js/data_dictionary.js +++ b/src/assets/js/data_dictionary.js @@ -224,12 +224,12 @@ export const layoutFnGetInsuranceCompany = async () => { // 培训类型 export const layoutFnGetTrainingType = async (params) => { const resData = await getTrainingType(params); - return ref(resData.trainingtypelist); + return ref(resData.varList); }; // 行业类型 export const layoutFnGetIndustryType = async (params) => { const resData = await getIndustryType(params); - return ref(JSON.parse(resData.zTreeNodes)); + return ref(resData.zTreeNodes); }; // 岗位类型 export const layoutFnGetPostType = async (params) => { diff --git a/src/components/learning_train_type/index.vue b/src/components/learning_train_type/index.vue index c05f606..57eace5 100644 --- a/src/components/learning_train_type/index.vue +++ b/src/components/learning_train_type/index.vue @@ -1,5 +1,9 @@