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

bug修改

parent eb831728
......@@ -24,6 +24,13 @@ export function getEnterpriseListById(id) {
method: 'get'
})
}
export function drawerGetEnterpriseListById(params, id) {
return request({
url: '/post/blesson/enterprise/' + id,
method: 'get',
params: params
})
}
// 课程管理查询详细信息
export function detailBLesson(businessId) {
return request({
......
......@@ -347,7 +347,7 @@
:type="commonField.typePrimary"
:icon="commonField.queryIcon"
:size="commonField.smallSize"
@click="loadData"
@click="drawerGetEnterpriseList"
>{{ commonField.queryName }}</el-button>
</el-form-item>
</div>
......@@ -468,7 +468,7 @@ import {
downloadZip,
queryPcLessonEvaluationByPagination,
findAllUnitInfo,
getEnterpriseListById, addEnterprise, blessonUpdate, deleteEnterprise
getEnterpriseListById, addEnterprise, blessonUpdate, deleteEnterprise, drawerGetEnterpriseListById
} from '@/api/jobQuestionBank/index'
import commonField from '@/utils/commonField'
import { getDict } from '@/api/system/dict/data'
......@@ -805,6 +805,14 @@ export default {
this.enterpriseTable = res.data
})
},
drawerGetEnterpriseList() {
const params = {
unitName: this.companyForm.enterpriseName
}
drawerGetEnterpriseListById(params,this.currentLessionId).then(res => {
this.enterpriseTable = res.data
})
},
// 查询企业信息
getEnterpriseNameOptions() {
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