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 @@