bug修复

This commit is contained in:
zhanglipeng 2021-07-03 15:24:45 +08:00
parent 63c5659925
commit 045ebec056
4 changed files with 44 additions and 28 deletions

View File

@ -3,7 +3,13 @@
<h2 class="title">{{ title }}</h2>
<div class="table">
<div class="print no-print">
<el-button type="primary" plain size="mini" icon="el-icon-printer" @click="prints"></el-button>
<el-button
type="primary"
plain
size="mini"
icon="el-icon-printer"
@click="prints"
></el-button>
</div>
<table>
<tr class="align-center">
@ -64,9 +70,6 @@
import {
listFamily,
getFamily,
delFamily,
addFamily,
updateFamily,
} from "@/api/benyi/learndevelopmentfamily";
import { listChild } from "@/api/benyi/child";
@ -114,13 +117,16 @@ export default {
open: false,
//
queryParams: {
id: "",
},
//
form: {},
};
},
created() {
const childId = this.$route.params && this.$route.params.id;
this.queryParams.id = childId;
this.getList();
this.getChildList();
this.getDicts("sys_xnxq").then((response) => {

View File

@ -3,7 +3,13 @@
<h2 class="title">{{ title }}</h2>
<div class="table">
<div class="print no-print">
<el-button type="primary" plain size="mini" icon="el-icon-printer" @click="prints"></el-button>
<el-button
type="primary"
plain
size="mini"
icon="el-icon-printer"
@click="prints"
></el-button>
</div>
<table>
<tr class="align-center">
@ -64,9 +70,6 @@
import {
listTeacher,
getTeacher,
delTeacher,
addTeacher,
updateTeacher,
} from "@/api/benyi/learndevelopmentteacher";
import { listChild } from "@/api/benyi/child";
@ -114,9 +117,15 @@ export default {
open: false,
//
form: {},
queryParams: {
id: "",
},
};
},
created() {
const childId = this.$route.params && this.$route.params.id;
this.queryParams.id = childId;
//console.log(childId);
this.getList();
this.getChildList();
this.getDicts("sys_xnxq").then((response) => {
@ -152,7 +161,6 @@ export default {
this.childOptions = response.rows;
this.classname = response.rows[0].bjmc;
// console.log(response.rows);
});
},
/** 查询儿童学习与发展档案(教师)列表 */

View File

@ -43,6 +43,7 @@
<if test="jspy != null and jspy != ''">and a.jspy = #{jspy}</if>
<if test="jspyremarks != null and jspyremarks != ''">and a.jspyremarks = #{jspyremarks}</if>
<if test="createuserid != null ">and a.createuserid = #{createuserid}</if>
<if test="id != null ">and a.id = #{id}</if>
</where>
</select>

View File

@ -43,6 +43,7 @@
<if test="jyjh != null and jyjh != ''">and a.jyjh = #{jyjh}</if>
<if test="jyjhremarks != null and jyjhremarks != ''">and a.jyjhremarks = #{jyjhremarks}</if>
<if test="createuserid != null ">and a.createuserid = #{createuserid}</if>
<if test="id != null ">and a.id = #{id}</if>
</where>
</select>