From be13854fb14c066c8432a7eb8d520d4cd1a35283 Mon Sep 17 00:00:00 2001 From: paidaxing444 <12qwaszx> Date: Sat, 7 Nov 2020 11:55:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BC=E5=84=BF=E8=AF=84=E4=BC=B0-=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/router/index.js | 15 ++ .../src/views/benyi/assessment/history.vue | 241 ++++++++++++++++++ ruoyi-ui/src/views/benyi/assessment/index.vue | 11 +- .../src/views/benyi/assessment/student.vue | 12 +- .../benyi/domain/ByAssessmentchild.java | 16 ++ .../mybatis/benyi/ByAssessmentchildMapper.xml | 7 +- 6 files changed, 289 insertions(+), 13 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 1af3c2e1c..e8d310b34 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -439,6 +439,21 @@ export const constantRoutes = [{ } }] }, + { + path: '/benyi/assessmentchildhistory', + component: Layout, + hidden: true, + children: [{ + path: 'student/:id(\\d+)', + component: () => + import ('@/views/benyi/assessment/history'), + name: 'assessmentchildhistory', + meta: { + title: '幼儿评估图表', + icon: '' + } + }] + }, { path: '/job', component: Layout, diff --git a/ruoyi-ui/src/views/benyi/assessment/history.vue b/ruoyi-ui/src/views/benyi/assessment/history.vue index e69de29bb..4e9ab7339 100644 --- a/ruoyi-ui/src/views/benyi/assessment/history.vue +++ b/ruoyi-ui/src/views/benyi/assessment/history.vue @@ -0,0 +1,241 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/benyi/assessment/index.vue b/ruoyi-ui/src/views/benyi/assessment/index.vue index d44d0a693..5cc722d79 100644 --- a/ruoyi-ui/src/views/benyi/assessment/index.vue +++ b/ruoyi-ui/src/views/benyi/assessment/index.vue @@ -43,7 +43,16 @@ prop="classid" :formatter="classFormat" /> - + + + { if (response.code === 200) { this.msgSuccess("评估成功"); diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByAssessmentchild.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByAssessmentchild.java index 7bc2ce3bd..ca425b70a 100644 --- a/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByAssessmentchild.java +++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByAssessmentchild.java @@ -59,6 +59,13 @@ public class ByAssessmentchild extends BaseEntity { * 临时创建用 */ private String items; + /** + * 适用范围 + */ + + @Excel(name = "适用范围") + private String scope; + public void setId(Long id) { this.id = id; @@ -124,6 +131,14 @@ public class ByAssessmentchild extends BaseEntity { return items; } + public void setScope(String scope) { + this.scope = scope; + } + + public String getScope() { + return scope; + } + @Override public String toString() { @@ -137,6 +152,7 @@ public class ByAssessmentchild extends BaseEntity { .append("userid", getUserid()) .append("createTime", getCreateTime()) .append("items", getItems()) + .append("scope", getScope()) .toString(); } } \ No newline at end of file diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByAssessmentchildMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByAssessmentchildMapper.xml index 80dae6667..d82071606 100644 --- a/ruoyi/src/main/resources/mybatis/benyi/ByAssessmentchildMapper.xml +++ b/ruoyi/src/main/resources/mybatis/benyi/ByAssessmentchildMapper.xml @@ -13,10 +13,11 @@ + - select id, childid, classid, contentid, type, xn, userid, create_time from by_assessmentchild + select id, childid, classid, contentid, type, xn, userid, create_time, scope from by_assessmentchild