Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5_activity
Project
Overview
Details
Activity
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
谭新宇
h5_activity
Commits
8d9a9c11
Commit
8d9a9c11
authored
Jul 11, 2019
by
胡畅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fe756625
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
2 deletions
+19
-2
common.js
showPhotos/js/page/common.js
+12
-0
signup.js
showPhotos/js/page/signup.js
+3
-1
user.js
showPhotos/js/page/user.js
+1
-1
signup.html
showPhotos/signup.html
+2
-0
signup_data.js
showPhotos/signup_data.js
+0
-0
user.html
showPhotos/user.html
+1
-0
user_data.js
showPhotos/user_data.js
+0
-0
No files found.
showPhotos/js/page/common.js
View file @
8d9a9c11
...
...
@@ -9,6 +9,18 @@ function setToken(){
}
}
// 机构id
function
orgIdFn
(
id
)
{
var
signupOrg
=
rules
.
acActivityOrgs
var
org
=
signupOrg
&&
signupOrg
.
filter
(
function
(
item
){
return
id
==
item
.
id
})
if
(
org
.
length
==
1
)
{
return
org
[
0
]
}
else
{
return
null
}
}
// 获取token
function
getToken
()
{
var
t
=
sessionStorage
.
getItem
(
'x-token'
);
...
...
showPhotos/js/page/signup.js
View file @
8d9a9c11
...
...
@@ -208,9 +208,11 @@ function btnBindClick() {
// 获取机构名称
function
getOrgNameFn
()
{
var
signupId
=
getQueryString
(
'id'
)
var
orgId
=
orgIdFn
(
signupId
).
orgId
$
.
ajax
({
type
:
'GET'
,
url
:
baseUrl
+
'/ORG/hospital/community/hospitalInfo/'
+
getQueryString
(
'orgId'
)
,
url
:
baseUrl
+
'/ORG/hospital/community/hospitalInfo/'
+
orgId
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
$
(
'#act11739232574395'
).
val
(
data
.
records
.
orgName
)
...
...
showPhotos/js/page/user.js
View file @
8d9a9c11
...
...
@@ -159,7 +159,7 @@ function userTabInfo() {
var
innerInfo
=
$
(
'#act3932189955 .user-info .inner-info'
)
innerInfo
.
find
(
'.userName span'
).
text
(
userInfoObj
.
name
)
innerInfo
.
find
(
'.userNo span'
).
text
(
userInfoObj
.
userNumber
)
innerInfo
.
find
(
'.userRank span'
).
text
(
userInfoObj
.
userRank
)
// 排名
innerInfo
.
find
(
'.userRank span'
).
text
(
userInfoObj
.
ranking
)
// 排名
innerInfo
.
find
(
'.userVoteNum span'
).
text
(
userInfoObj
.
voteNum
)
$
(
'#act3932189955 .userState'
).
val
(
userInfoObj
.
declaration
)
$
(
'#act3932189955 .userState'
).
attr
(
'readOnly'
,
'readOnly'
)
...
...
showPhotos/signup.html
View file @
8d9a9c11
...
...
@@ -55,4 +55,6 @@
</body>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/page/common.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/page/signup.js"
></script>
<!-- <script type="text/javascript" src="js/page/common.js"></script>
<script type="text/javascript" src="js/page/signup.js"></script> -->
</html>
showPhotos/signup_data.js
View file @
8d9a9c11
This diff is collapsed.
Click to expand it.
showPhotos/user.html
View file @
8d9a9c11
...
...
@@ -41,4 +41,5 @@
</body>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/page/common.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/page/user.js"
></script>
<!-- <script type="text/javascript" src="js/page/user.js"></script> -->
</html>
showPhotos/user_data.js
View file @
8d9a9c11
This diff is collapsed.
Click to expand it.
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