幼儿评估-图表

This commit is contained in:
paidaxing444 2020-11-09 11:11:07 +08:00
parent 60cf0c6929
commit 8d457ce526
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="4" :xs="24"> <el-col :span="8" :xs="24">
<div class="head-container"> <div class="head-container">
<el-input <el-input
v-model="name" v-model="name"
@ -24,7 +24,7 @@
/> />
</div> </div>
</el-col> </el-col>
<el-col :span="20" :xs="24"> <el-col :span="16" :xs="24">
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span class="box-card-title">{{ title }}</span> <span class="box-card-title">{{ title }}</span>

View File

@ -151,8 +151,9 @@ public class ByAssessmentcontentController extends BaseController {
AjaxResult ajaxResult = AjaxResult.success(); AjaxResult ajaxResult = AjaxResult.success();
String[] strArr = new String[]{"健康", "语言", "社会", "科学", "艺术"}; String[] strArr = new String[]{"健康", "语言", "社会", "科学", "艺术"};
List<Double> douArr = new ArrayList<Double>(); List<Double> douArr = new ArrayList<Double>();
ByAssessmentcontent byAssessmentcontent = null;
for (int i = 0; i < strArr.length; i++) { for (int i = 0; i < strArr.length; i++) {
ByAssessmentcontent byAssessmentcontent = new ByAssessmentcontent(); byAssessmentcontent = new ByAssessmentcontent();
byAssessmentcontent.setScope(scope); byAssessmentcontent.setScope(scope);
byAssessmentcontent.setName(strArr[i]); byAssessmentcontent.setName(strArr[i]);
//获取{"健康", "语言", "社会", "科学", "艺术"} 对应的值 //获取{"健康", "语言", "社会", "科学", "艺术"} 对应的值

View File

@ -24,7 +24,8 @@
<include refid="selectByAssessmentcontentVo"/> <include refid="selectByAssessmentcontentVo"/>
<where> <where>
<if test="parentId != null ">and parentId = #{parentId}</if> <if test="parentId != null ">and parentId = #{parentId}</if>
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> <!--<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>-->
<if test="name != null and name != ''">and name = #{name}</if>
<if test="iselement != null and iselement != ''">and iselement = #{iselement}</if> <if test="iselement != null and iselement != ''">and iselement = #{iselement}</if>
<if test="scope != null and scope != ''">and scope = #{scope}</if> <if test="scope != null and scope != ''">and scope = #{scope}</if>
</where> </where>