Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
thinkApp
Commits
d7fa1e2f
Commit
d7fa1e2f
authored
Sep 27, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
26221943
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
26 deletions
+7
-26
tabbar.vue
src/components/tabbar.vue
+0
-1
addChild.vue
src/pages/MyChild/addChild.vue
+7
-25
No files found.
src/components/tabbar.vue
View file @
d7fa1e2f
...
...
@@ -66,7 +66,6 @@
active
:
props
.
activeName
});
const
os
=
uni
.
getSystemInfoSync
();
console
.
log
(
os
)
//data.statusBarHeight = os.statusBarHeight
let
methods
=
{
...
...
src/pages/MyChild/addChild.vue
View file @
d7fa1e2f
...
...
@@ -167,10 +167,7 @@
loading
:
true
,
Account
:
''
,
form
:{
Id
:
''
,
AccountId
:
''
,
StuId
:
''
,
OpenId
:
''
,
WeChatName
:
''
,
WeChatImg
:
''
,
UnionId
:
''
...
...
@@ -196,25 +193,12 @@
}
})
item
.
checked
=
true
console
.
log
(
item
.
StuId
,
'----'
)
return
data
.
form
.
Target
.
Id
=
item
.
Id
data
.
form
.
Target
.
AccountId
=
item
.
Target
.
AccountId
data
.
form
.
Target
.
StuId
=
item
.
StuId
data
.
form
.
Target
.
OpenId
=
item
.
Target
.
OpenId
data
.
form
.
Target
.
WeChatName
=
item
.
Target
.
WeChatName
data
.
form
.
Target
.
WeChatImg
=
item
.
Target
.
WeChatImg
data
.
form
.
Target
.
UnionId
=
item
.
Target
.
UnionId
// data.form = {
// Id: item.Id,
// AccountId: item.AccountId,
// StuId: item.StuId,
// OpenId: item.OpenId,
// WeChatName: item.WeChatName,
// WeChatImg: item.WeChatImg,
// UnionId: item.UnionId
// }
data
.
form
=
{
StuId
:
item
.
StuId
,
// WeChatName: item.WeChatName,
// WeChatImg: item.WeChatImg,
UnionId
:
uni
.
getStorageSync
(
'wxUserAuthInfo'
).
unionid
}
},
clickIcon
(){
...
...
@@ -225,9 +209,7 @@
that
.
getData
()
},
async
addChild
(){
console
.
log
(
data
.
form
)
return
if
(
!
data
.
form
.
Id
){
if
(
!
data
.
form
.
StuId
){
uni
.
showToast
({
title
:
'请选择需要添加的小孩'
,
icon
:
'none'
,
...
...
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