diff --git a/package.json b/package.json index 52dd699..16b7c0f 100644 --- a/package.json +++ b/package.json @@ -46,9 +46,11 @@ "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", + "html2canvas": "^1.4.1", "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "jspdf": "^2.5.1", "nprogress": "0.2.0", "quill": "1.3.7", "screenfull": "5.0.2", diff --git a/src/api/system/KindergartenPhysicalTest.js b/src/api/system/KindergartenPhysicalTest.js index fb203e6..0262e31 100644 --- a/src/api/system/KindergartenPhysicalTest.js +++ b/src/api/system/KindergartenPhysicalTest.js @@ -1,10 +1,10 @@ import request from '@/utils/request' // 查询 -export function analysis(query) { +export function KindergartenPhysicalTestanalysis(query) { return request({ url: '/kindergarten/side/analysis', method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/api/system/constitution.js b/src/api/system/constitution.js index 8a9f365..265c846 100644 --- a/src/api/system/constitution.js +++ b/src/api/system/constitution.js @@ -1,10 +1,10 @@ import request from '@/utils/request' // 查询 -export function analysis(query) { +export function constitution(query) { return request({ url: '/children/ranking/analysis', method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/api/system/development.js b/src/api/system/development.js index a04293c..da3c965 100644 --- a/src/api/system/development.js +++ b/src/api/system/development.js @@ -1,7 +1,7 @@ import request from '@/utils/request' // 查询 -export function analysis(query) { +export function developmentanalysis(query) { return request({ url: '/physical/action/analysis', method: 'get', diff --git a/src/api/system/heightAndWeight.js b/src/api/system/heightAndWeight.js index c7b847b..757fead 100644 --- a/src/api/system/heightAndWeight.js +++ b/src/api/system/heightAndWeight.js @@ -1,10 +1,10 @@ import request from '@/utils/request' // 查询 -export function analysis(query) { +export function heightAndWeightanalysis(query) { return request({ url: '/average/heightAndWeight/analysis', method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/api/system/kindergartenCheckReport.js b/src/api/system/kindergartenCheckReport.js index dbe2cc3..cc6e606 100644 --- a/src/api/system/kindergartenCheckReport.js +++ b/src/api/system/kindergartenCheckReport.js @@ -35,4 +35,14 @@ export function report(kindergartenId, batchCode) { url: `/system/checkReport/kindergarten/constitution?kindergartenId=${kindergartenId}&batchCode=${batchCode}`, method: 'POST' }) +} + +// 幼儿园报告上传接口 + +export function uploadKindergartenCheckReport(data) { + return request({ + url: `/system/kindergartenCheckReport/uploadKindergartenCheckReport`, + method: 'POST', + data + }) } \ No newline at end of file diff --git a/src/api/system/personalCheckReport.js b/src/api/system/personalCheckReport.js index 3fb9ab6..a885137 100644 --- a/src/api/system/personalCheckReport.js +++ b/src/api/system/personalCheckReport.js @@ -52,4 +52,15 @@ export function report(id) { method: 'POST', responseType: 'blob' }) +} + + + +// 幼儿个人报告上传接口 +export function uploadPersonalCheckReport(data) { + return request({ + url: `/system/personalCheckReport/uploadPersonalCheckReport `, + method: 'POST', + data + }) } \ No newline at end of file diff --git a/src/api/system/physique.js b/src/api/system/physique.js index 19f78e4..3ea62a2 100644 --- a/src/api/system/physique.js +++ b/src/api/system/physique.js @@ -1,10 +1,10 @@ import request from '@/utils/request' // 查询 -export function analysis(query) { +export function physiqueanalysis(query) { return request({ url: '/kindergarten/physique/analysis', method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/icons/kind.jpg b/src/icons/kind.jpg new file mode 100644 index 0000000..387f7b9 Binary files /dev/null and b/src/icons/kind.jpg differ diff --git a/src/icons/pernoal.jpg b/src/icons/pernoal.jpg new file mode 100644 index 0000000..8e5bf4b Binary files /dev/null and b/src/icons/pernoal.jpg differ diff --git a/src/layout/index.vue b/src/layout/index.vue index fea38a6..8715220 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -77,7 +77,6 @@ export default { }, watch: { $route(to, from) { - console.log(to.path, from.path); if (to.path != "/index") { this.show = false; } else { @@ -87,8 +86,6 @@ export default { }, methods: { info() { - console.log(this.$router.path); - console.log(this.$route.path); if (this.$route.path != "/index") { this.show = false; } else { diff --git a/src/utils/request.js b/src/utils/request.js index 6484b43..d59d440 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -18,7 +18,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, //'http://192.168.16.64:8080', // 超时 - timeout: 10000 + timeout: 20000 }) // request拦截器 diff --git a/src/views/system/KindergartenPhysicalTest/index.vue b/src/views/system/KindergartenPhysicalTest/index.vue index a8bf966..cec6c25 100644 --- a/src/views/system/KindergartenPhysicalTest/index.vue +++ b/src/views/system/KindergartenPhysicalTest/index.vue @@ -133,7 +133,7 @@ import * as echarts from "echarts"; import { tKindergartenInfo } from "@/api/system/kindergartenInfo"; import { getRoleInfo } from "@/api/system/quality"; -import { analysis } from "@/api/system/KindergartenPhysicalTest"; +import { KindergartenPhysicalTestanalysis } from "@/api/system/KindergartenPhysicalTest"; import Kindergarten from "../../assembly/kindergarten.vue"; export default { @@ -176,7 +176,7 @@ export default { }, analysisinfo() { - analysis(this.analysisqueryParams).then((res) => { + KindergartenPhysicalTestanalysis(this.analysisqueryParams).then((res) => { if (res.data == [] || !res.data) { this.itemshow2 = true; this.itemshow = false; diff --git a/src/views/system/classconstitution/index.vue b/src/views/system/classconstitution/index.vue index a5ffb25..7ef4729 100644 --- a/src/views/system/classconstitution/index.vue +++ b/src/views/system/classconstitution/index.vue @@ -127,96 +127,108 @@ -
-
+
+
- 年龄 -
-
- 平均总分 -
-
-
- {{ item.parentName }} -
-
+
- {{ uitem.categoryName }} + 年龄
-
-
-
-
-
- {{ item.className }} -
-
- {{ item.totalAvScore }} -
+
-
+
+ 平均总分 +
+
+ +
+
+ {{ item.parentName }} +
+
- {{ uitem }} + {{ uitem.categoryName }}
+
+
+
+
+ {{ item.className }} +
+
+
+
+ {{ item.totalAvScore }} +
+
+
+
+
+ {{ uitem }} +
+
+
+
+
+
-
diff --git a/src/views/system/constitution/index.vue b/src/views/system/constitution/index.vue index fe7426e..582e6e1 100644 --- a/src/views/system/constitution/index.vue +++ b/src/views/system/constitution/index.vue @@ -89,7 +89,7 @@ import * as echarts from "echarts"; import student from "@/views/assembly/student.vue"; import { getRoleInfo } from "@/api/system/quality"; -import { analysis } from "@/api/system/constitution"; +import { constitution } from "@/api/system/constitution"; export default { name: "constitution", components: { @@ -131,7 +131,6 @@ export default { this.analysislist.itemScoreList[i].schoolAvgScore, this.analysislist.itemScoreList[i].cityAvgScore, ]; - var textname = this.analysislist.itemScoreList[i].itemName; // console.log(ydata); var myChart = echarts.init(myEchart[i]); @@ -224,7 +223,7 @@ export default { }, //综合体质分析 analysislists() { - analysis(this.analysisqueryParams).then((res) => { + constitution(this.analysisqueryParams).then((res) => { console.log(res); if (!res.data || res.data == "") { this.itemshow2 = true; diff --git a/src/views/system/development/index.vue b/src/views/system/development/index.vue index ddb9c37..81d7999 100644 --- a/src/views/system/development/index.vue +++ b/src/views/system/development/index.vue @@ -144,7 +144,7 @@ + diff --git a/src/views/system/personalCheckReport/index.vue b/src/views/system/personalCheckReport/index.vue index ba749d9..b4f71df 100644 --- a/src/views/system/personalCheckReport/index.vue +++ b/src/views/system/personalCheckReport/index.vue @@ -149,7 +149,6 @@ - - - - 已审核 - - - - - - + -
- +
+
-
+
- 年龄 -
-
- 平均总分 -
-
-
- {{ item.parentName }} +
+
年龄
-
+ +
+
平均总分
+
+ +
- {{ uitem.categoryName }} + {{ item.parentName }}
-
-
-
-
-
-
- {{ item.studentAge }} -
-
- {{ item.totalAvgFraction }} -
-
-
+
- {{ uitem }} + {{ uitem.categoryName }}
+
+
+
+
+ {{ item.studentAge }} +
+
+
+
+ {{ item.totalAvgFraction }} +
+
+
+
+
+ {{ uitem }} +
+ +
+
+
+
+
-
@@ -239,7 +228,7 @@