From 3bbd9d4570015575d0f0536663e556c3a4e317bd Mon Sep 17 00:00:00 2001 From: wangxinbo Date: Sun, 22 Nov 2020 12:17:04 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/assets/styles/index.scss | 2 +- .../src/layout/components/Sidebar/Item.vue | 62 ++-- .../src/views/benyi/assessment/history.vue | 152 +++++---- .../src/views/benyi/assessment/student.vue | 60 ++-- .../src/views/benyi/assessmentstudy/index.vue | 36 +- ruoyi-ui/src/views/dashboard/BarChart.vue | 307 +++++++++--------- ruoyi-ui/src/views/index.vue | 13 +- 7 files changed, 359 insertions(+), 273 deletions(-) diff --git a/ruoyi-ui/src/assets/styles/index.scss b/ruoyi-ui/src/assets/styles/index.scss index 0f4846f48..e22db61a7 100644 --- a/ruoyi-ui/src/assets/styles/index.scss +++ b/ruoyi-ui/src/assets/styles/index.scss @@ -212,7 +212,7 @@ aside { } &.align-center { - align-content: center; + align-items: center; } &.justify-center { diff --git a/ruoyi-ui/src/layout/components/Sidebar/Item.vue b/ruoyi-ui/src/layout/components/Sidebar/Item.vue index 1a99d63f9..b37c0a506 100644 --- a/ruoyi-ui/src/layout/components/Sidebar/Item.vue +++ b/ruoyi-ui/src/layout/components/Sidebar/Item.vue @@ -1,29 +1,33 @@ - + diff --git a/ruoyi-ui/src/views/benyi/assessment/history.vue b/ruoyi-ui/src/views/benyi/assessment/history.vue index 43adbd756..41c4703fc 100644 --- a/ruoyi-ui/src/views/benyi/assessment/history.vue +++ b/ruoyi-ui/src/views/benyi/assessment/history.vue @@ -12,60 +12,88 @@ :label="item.dictLabel" :name="item.dictLabel" > -
+

综合评估结果

+
-
- -
-
-

教育建议

-
- {{ itemLy.name }} -
-

- {{ itemFzly.name }} -

-
    -
  • 各项评估结果 + + + +
    +

    教育建议

    +
    + {{ itemLy.name }} +
    -

    - {{ itemMb.sort }}. {{ itemMb.name }} -

    -
    -

    - {{ itemYs.jyjy }} -

    -
    -
  • -
+

+ {{ itemFzly.name }} +

+
    +
  • +

    + {{ itemMb.sort }}. {{ itemMb.name }} +

    +
    +

    + {{ itemYs.jyjy }} +

    +
    +
  • +
+
+
-
- -
+ + + + + + + + + + + + + + +
@@ -100,7 +128,7 @@ export default { RadarChart_yy, RadarChart_sh, RadarChart_kx, - RadarChart_ys, + RadarChart_ys }, data() { return { @@ -113,6 +141,7 @@ export default { activeName: "", // 评估内容表格数据 assessmentcontentList: [], + childTab: "one" }; }, created() { @@ -127,13 +156,13 @@ export default { methods: { /** 查询幼儿未评估内容列表 */ getNoAssessmentList() { - listNoAssessmentcontentByChild(this.childId).then((response) => { + listNoAssessmentcontentByChild(this.childId).then(response => { // console.log("rows:" + response.rows); this.assessmentcontentList = response.rows; }); }, getChild(childId) { - getChildByAssessment(childId).then((response) => { + getChildByAssessment(childId).then(response => { // console.log(response); if (response.code == "200") { this.childName = response.data.name; @@ -143,7 +172,7 @@ export default { }, /** 查询评估内容列表 */ getList(childId) { - getAssessmentDictData(childId).then((response) => { + getAssessmentDictData(childId).then(response => { // console.log("rows:" + response.dictdata.length); if (response.dictdata.length > 0) { this.activeName = response.dictdata[0].dictLabel; @@ -157,7 +186,10 @@ export default { // this.activeName = tab.name; // console.log(tab.name); }, - }, + handleTabClick(tab) { + this.childTab = tab.name; + } + } }; \ No newline at end of file + diff --git a/ruoyi-ui/src/views/benyi/assessment/student.vue b/ruoyi-ui/src/views/benyi/assessment/student.vue index cd8e39720..3c2c908a6 100644 --- a/ruoyi-ui/src/views/benyi/assessment/student.vue +++ b/ruoyi-ui/src/views/benyi/assessment/student.vue @@ -1,6 +1,6 @@