Commit 5ab88ae0 authored by 吴卿华's avatar 吴卿华

化工巡检

parent 1982805d
...@@ -26,6 +26,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -26,6 +26,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where> <where>
<if test="bankName != null and bankName != ''"> and a.bank_name like concat('%', #{bankName}, '%')</if> <if test="bankName != null and bankName != ''"> and a.bank_name like concat('%', #{bankName}, '%')</if>
</where> </where>
<where>
<if test="deptId != null and deptId != ''"> and a.dept_id = #{deptId} </if>
</where>
group by bank_id desc group by bank_id desc
</select> </select>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</el-form-item> --> </el-form-item> -->
<el-form-item <el-form-item
label="考试名称" label="归属部门"
prop="deptId" prop="deptId"
ref="treeItem" ref="treeItem"
> >
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
style="width:200px" style="width:200px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="名称" prop="courseName"> <el-form-item label="题库名称" prop="courseName">
<el-input <el-input
v-model="queryParams.courseName" v-model="queryParams.bankName"
placeholder="考试时间" placeholder="题库名称"
clearable clearable
size="small" size="small"
/> />
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<el-table-column label="题库名称" align="center" prop="bankName"> <el-table-column label="题库名称" align="center" prop="bankName">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="所属单位" label="归属部门"
align="center" align="center"
prop="courseType" prop="courseType"
> >
...@@ -301,7 +301,6 @@ export default { ...@@ -301,7 +301,6 @@ export default {
this.loading = true; this.loading = true;
listBank(this.queryParams) listBank(this.queryParams)
.then((res) => { .then((res) => {
console.log(res);
this.bankList = res.rows.map((item, index) => { this.bankList = res.rows.map((item, index) => {
return { return {
bankNum: bankNum:
......
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