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
5e5187be
Commit
5e5187be
authored
Sep 28, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
aceecb27
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
4 deletions
+24
-4
erp.js
src/api/erp.js
+12
-0
index.vue
src/pages/FriendsAndRelatives/index.vue
+4
-2
addChild.vue
src/pages/MyChild/addChild.vue
+4
-1
accountLogin.vue
src/pages/login/accountLogin.vue
+1
-0
person.vue
src/pages/person/person.vue
+3
-1
No files found.
src/api/erp.js
View file @
5e5187be
...
...
@@ -225,4 +225,16 @@ export function GetOrderPage(data) {
method
:
'post'
,
data
})
}
/**
* 获取亲友团详情
* @param {JSON参数} data
*/
export
function
GetUserInfoByUnionId
(
data
)
{
return
request
({
url
:
'/AppletCenter/GetUserInfoByUnionId'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/pages/FriendsAndRelatives/index.vue
View file @
5e5187be
...
...
@@ -282,12 +282,14 @@
width
:
200
}
let
res
=
await
CreateFriendQrCode
(
msg
);
if
(
res
)
{
if
(
res
.
Code
==
1
)
{
uni
.
hideLoading
()
data
.
QRcodeImg
=
data
.
erpUrl
+
res
.
Data
// console.log(data.QRcodeImg,'----')
data
.
showPopup
=
true
}
}
else
{
uni
.
hideLoading
()
}
},
async
getData
()
{
uni
.
showLoading
()
...
...
src/pages/MyChild/addChild.vue
View file @
5e5187be
...
...
@@ -237,12 +237,15 @@
data
.
loading
=
false
uni
.
showLoading
()
let
res
=
await
SetMyChild
(
data
.
form
);
if
(
res
)
{
if
(
res
.
Code
==
1
)
{
uni
.
hideLoading
()
data
.
loading
=
true
uni
.
navigateBack
({
delta
:
1
});
}
else
{
uni
.
hideLoading
()
data
.
loading
=
true
}
},
async
getData
()
{
...
...
src/pages/login/accountLogin.vue
View file @
5e5187be
...
...
@@ -164,6 +164,7 @@
res
.
Data
.
Account
=
msg
.
Account
;
uni
.
setStorageSync
(
"userInfo"
,
res
.
Data
);
Toast
.
success
(
"登录成功"
);
data
.
loading
=
false
setTimeout
(()
=>
{
let
data
=
uni
.
getStorageSync
(
"userInfo"
);
if
(
data
)
{
...
...
src/pages/person/person.vue
View file @
5e5187be
...
...
@@ -256,11 +256,13 @@
TeacherId
:
item
.
AccountId
}
let
res
=
await
CreateTeacherCode
(
msg
);
if
(
res
)
{
if
(
res
.
Code
==
1
)
{
data
.
QRcodeImg
=
res
.
Data
.
WXQRCode
data
.
showPopup
=
true
uni
.
hideLoading
()
that
.
getData
()
}
else
{
uni
.
hideLoading
()
}
},
initColor
(){
...
...
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