Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
5ab88ae0
Commit
5ab88ae0
authored
Dec 28, 2022
by
吴卿华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
化工巡检
parent
1982805d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
TTrainCourseBankMapper.xml
...c/main/resources/mapper/system/TTrainCourseBankMapper.xml
+3
-0
index.vue
...ge-web/src/views/educationPlanExam/questionBank/index.vue
+5
-6
No files found.
danger-manage-system/src/main/resources/mapper/system/TTrainCourseBankMapper.xml
View file @
5ab88ae0
...
...
@@ -26,6 +26,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if
test=
"bankName != null and bankName != ''"
>
and a.bank_name like concat('%', #{bankName}, '%')
</if>
</where>
<where>
<if
test=
"deptId != null and deptId != ''"
>
and a.dept_id = #{deptId}
</if>
</where>
group by bank_id desc
</select>
...
...
danger-manage-web/src/views/educationPlanExam/questionBank/index.vue
View file @
5ab88ae0
...
...
@@ -24,7 +24,7 @@
</el-form-item>
-->
<el-form-item
label=
"
考试名称
"
label=
"
归属部门
"
prop=
"deptId"
ref=
"treeItem"
>
...
...
@@ -37,10 +37,10 @@
style=
"width:200px"
/>
</el-form-item>
<el-form-item
label=
"名称"
prop=
"courseName"
>
<el-form-item
label=
"
题库
名称"
prop=
"courseName"
>
<el-input
v-model=
"queryParams.
course
Name"
placeholder=
"
考试时间
"
v-model=
"queryParams.
bank
Name"
placeholder=
"
题库名称
"
clearable
size=
"small"
/>
...
...
@@ -90,7 +90,7 @@
<el-table-column
label=
"题库名称"
align=
"center"
prop=
"bankName"
>
</el-table-column>
<el-table-column
label=
"
所属单位
"
label=
"
归属部门
"
align=
"center"
prop=
"courseType"
>
...
...
@@ -301,7 +301,6 @@ export default {
this
.
loading
=
true
;
listBank
(
this
.
queryParams
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
bankList
=
res
.
rows
.
map
((
item
,
index
)
=>
{
return
{
bankNum
:
...
...
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