Commit 40391375 authored by 张伯涛's avatar 张伯涛

bug修改

parent eb831728
...@@ -24,6 +24,13 @@ export function getEnterpriseListById(id) { ...@@ -24,6 +24,13 @@ export function getEnterpriseListById(id) {
method: 'get' method: 'get'
}) })
} }
export function drawerGetEnterpriseListById(params, id) {
return request({
url: '/post/blesson/enterprise/' + id,
method: 'get',
params: params
})
}
// 课程管理查询详细信息 // 课程管理查询详细信息
export function detailBLesson(businessId) { export function detailBLesson(businessId) {
return request({ return request({
......
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
:type="commonField.typePrimary" :type="commonField.typePrimary"
:icon="commonField.queryIcon" :icon="commonField.queryIcon"
:size="commonField.smallSize" :size="commonField.smallSize"
@click="loadData" @click="drawerGetEnterpriseList"
>{{ commonField.queryName }}</el-button> >{{ commonField.queryName }}</el-button>
</el-form-item> </el-form-item>
</div> </div>
...@@ -468,7 +468,7 @@ import { ...@@ -468,7 +468,7 @@ import {
downloadZip, downloadZip,
queryPcLessonEvaluationByPagination, queryPcLessonEvaluationByPagination,
findAllUnitInfo, findAllUnitInfo,
getEnterpriseListById, addEnterprise, blessonUpdate, deleteEnterprise getEnterpriseListById, addEnterprise, blessonUpdate, deleteEnterprise, drawerGetEnterpriseListById
} from '@/api/jobQuestionBank/index' } from '@/api/jobQuestionBank/index'
import commonField from '@/utils/commonField' import commonField from '@/utils/commonField'
import { getDict } from '@/api/system/dict/data' import { getDict } from '@/api/system/dict/data'
...@@ -805,6 +805,14 @@ export default { ...@@ -805,6 +805,14 @@ export default {
this.enterpriseTable = res.data this.enterpriseTable = res.data
}) })
}, },
drawerGetEnterpriseList() {
const params = {
unitName: this.companyForm.enterpriseName
}
drawerGetEnterpriseListById(params,this.currentLessionId).then(res => {
this.enterpriseTable = res.data
})
},
// 查询企业信息 // 查询企业信息
getEnterpriseNameOptions() { getEnterpriseNameOptions() {
findAllUnitInfo().then(res => { findAllUnitInfo().then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment