From 669e84532422aa5251f74bec327efd1955238a5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com>
Date: Sat, 8 Oct 2022 16:52:26 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/baseurl.js | 2 +-
api/index/index.js | 14 +++++--
manifest.json | 4 +-
pages/home/home.vue | 51 +++++++++++++++++++-----
pages/index/index.vue | 88 +++++++++++++++++++++++++++---------------
static/sq1.png | Bin 0 -> 7274 bytes
6 files changed, 112 insertions(+), 47 deletions(-)
create mode 100644 static/sq1.png
diff --git a/api/baseurl.js b/api/baseurl.js
index 2ceff93..63f9696 100644
--- a/api/baseurl.js
+++ b/api/baseurl.js
@@ -1,4 +1,4 @@
-var baseurl = "http://192.168.16.81:8080";
+var baseurl = "http://192.168.43.146:8080";
export default baseurl
\ No newline at end of file
diff --git a/api/index/index.js b/api/index/index.js
index cdba916..7d2a94d 100644
--- a/api/index/index.js
+++ b/api/index/index.js
@@ -1,6 +1,6 @@
import request from "../request.js"
-export function getPreOrderById(data,data2) {
+export function getPreOrderById(data, data2) {
return request({
url: `/kindergarten/applet/appletLogin?loginCode=${data}&phoneCode=${data2}`,
method: 'GET'
@@ -11,7 +11,7 @@ export function getStudentScore(data) {
return request({
url: `/kindergarten/applet/getStudentScoreInfo?studentId=${data}`,
method: 'GET'
- })
+ })
}
//绑定家长手机号
export function bindParent(data) {
@@ -28,10 +28,18 @@ export function getInfoByPhone(data) {
return request({
url: `/kindergarten/applet/getInfoByPhone?phone=${data}`,
method: 'GET'
- })
+ })
}
+
+export function getReportDownAddress(studentId, batchCode) {
+ return request({
+ url: `/kindergarten/applet/getReportDownAddress?studentId=${studentId}&batchCode=${batchCode}`,
+ method: 'GET'
+ })
+}
+
// export function addConfirmOrder(data) {
// return request({
// url: ``,
diff --git a/manifest.json b/manifest.json
index 2a548f3..e113993 100644
--- a/manifest.json
+++ b/manifest.json
@@ -62,7 +62,9 @@
},
"uniStatistics" : {
"enable" : false
- }
+ },
+ "lazyCodeLoading" : "requiredComponents",
+ "permission" : {}
},
"mp-alipay" : {
"usingComponents" : true
diff --git a/pages/home/home.vue b/pages/home/home.vue
index b5a4b11..7fc46b8 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -1,6 +1,5 @@
-
幼儿体质检测记录
@@ -8,34 +7,65 @@
综合得分:{{item.totalFraction}}
- 时间:{{item.createTime}}
+ 时间:{{item.createTime}}
- 查看报告
+ 查看报告
+ 查看报告
+
-