Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
40391375
Commit
40391375
authored
Jul 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
eb831728
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
index.js
src/api/jobQuestionBank/index.js
+7
-0
index.vue
src/views/courseInformation/jobQuestionBank/index.vue
+10
-2
No files found.
src/api/jobQuestionBank/index.js
View file @
40391375
...
...
@@ -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
({
...
...
src/views/courseInformation/jobQuestionBank/index.vue
View file @
40391375
...
...
@@ -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
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment