Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
22c32da0
Commit
22c32da0
authored
Sep 03, 2025
by
张九刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: youhua
parent
40699575
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
request.js
api/request.js
+2
-2
shengzhangTestResult.vue
pages/shengzhangTestResult/shengzhangTestResult.vue
+6
-4
shengzhangTools.vue
pages/shengzhangTools/shengzhangTools.vue
+3
-7
No files found.
api/request.js
View file @
22c32da0
...
...
@@ -17,9 +17,9 @@ const {
// 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.230.108:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
//
let baseUrl = "https://momclub.feihe.com/pmall";//生产环境
let
baseUrl
=
"https://momclub.feihe.com/pmall"
;
//生产环境
// const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
const
baseUrl
=
"https://feihe.m.duibatest.com.cn/pmall"
//
const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
const
request
=
(
options
=
{})
=>
{
// 在这里可以对请求头进行一些设置
...
...
pages/shengzhangTestResult/shengzhangTestResult.vue
View file @
22c32da0
...
...
@@ -715,8 +715,13 @@ onMounted(async () => {
pageName
:
"测评结果页"
});
const
userStore
=
useUserStore
();
//获取历史记录
const
historyListData
=
await
getGrowthHistoryList
();
console
.
log
(
userStore
.
babyInfo
?.
content
?.
id
+
'--------------------'
,
shengzhangStore
?.
getGrowthCurveDataInfoHeight
?.
userDataPoints
)
if
(
!
userStore
.
babyInfo
?.
content
?.
id
||
!
shengzhangStore
?.
getGrowthCurveDataInfoHeight
?.
userDataPoints
){
if
(
!
userStore
.
babyInfo
?.
content
?.
id
){
jump
({
type
:
JumpType
.
INNER
,
url
:
"/pages/shengzhangTools/shengzhangTools"
...
...
@@ -724,9 +729,6 @@ onMounted(async () => {
return
;
}
//获取历史记录
const
historyListData
=
await
getGrowthHistoryList
();
if
(
!
historyListData
.
success
||
(
!
historyListData
.
data
||
historyListData
.
data
.
length
==
0
)){
showNoValBg
.
value
=
true
;
return
;
...
...
pages/shengzhangTools/shengzhangTools.vue
View file @
22c32da0
...
...
@@ -799,7 +799,9 @@ const refreshBabyInfo = async () => {
const
babyRefresh
=
async
()
=>
{
const
userStore
=
useUserStore
();
await
userStore
.
loadBabyInfo
();
const
babyInfo
=
userStore
.
babyInfo
;
isNotLogin
.
value
=
false
;
isTip
.
value
=
false
...
...
@@ -819,13 +821,7 @@ const babyRefresh = async () => {
}
}
watch
(
babyInfo
,
(
newVal
,
oldVal
)
=>
{
if
(
newVal
)
{
babyRefresh
();
}
},{
deep
:
true
,
immediate
:
true
})
const
shengzhangToolsData
=
ref
({
activeInfo
:
[
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment