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
51a3ac0c
Commit
51a3ac0c
authored
Jul 11, 2019
by
txy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.icaremgt.com:tanxinyu/h5_activity into develop
parents
8aa5a375
6d0a65ef
Expand all
Show 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 @
51a3ac0c
...
@@ -9,6 +9,18 @@ function setToken(){
...
@@ -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
// 获取token
function
getToken
()
{
function
getToken
()
{
var
t
=
sessionStorage
.
getItem
(
'x-token'
);
var
t
=
sessionStorage
.
getItem
(
'x-token'
);
...
...
showPhotos/js/page/signup.js
View file @
51a3ac0c
...
@@ -208,9 +208,11 @@ function btnBindClick() {
...
@@ -208,9 +208,11 @@ function btnBindClick() {
// 获取机构名称
// 获取机构名称
function
getOrgNameFn
()
{
function
getOrgNameFn
()
{
var
signupId
=
getQueryString
(
'id'
)
var
orgId
=
orgIdFn
(
signupId
).
orgId
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
baseUrl
+
'/ORG/hospital/community/hospitalInfo/'
+
getQueryString
(
'orgId'
)
,
url
:
baseUrl
+
'/ORG/hospital/community/hospitalInfo/'
+
orgId
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
$
(
'#act11739232574395'
).
val
(
data
.
records
.
orgName
)
$
(
'#act11739232574395'
).
val
(
data
.
records
.
orgName
)
...
...
showPhotos/js/page/user.js
View file @
51a3ac0c
...
@@ -159,7 +159,7 @@ function userTabInfo() {
...
@@ -159,7 +159,7 @@ function userTabInfo() {
var
innerInfo
=
$
(
'#act3932189955 .user-info .inner-info'
)
var
innerInfo
=
$
(
'#act3932189955 .user-info .inner-info'
)
innerInfo
.
find
(
'.userName span'
).
text
(
userInfoObj
.
name
)
innerInfo
.
find
(
'.userName span'
).
text
(
userInfoObj
.
name
)
innerInfo
.
find
(
'.userNo span'
).
text
(
userInfoObj
.
userNumber
)
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
)
innerInfo
.
find
(
'.userVoteNum span'
).
text
(
userInfoObj
.
voteNum
)
$
(
'#act3932189955 .userState'
).
val
(
userInfoObj
.
declaration
)
$
(
'#act3932189955 .userState'
).
val
(
userInfoObj
.
declaration
)
$
(
'#act3932189955 .userState'
).
attr
(
'readOnly'
,
'readOnly'
)
$
(
'#act3932189955 .userState'
).
attr
(
'readOnly'
,
'readOnly'
)
...
...
showPhotos/signup.html
View file @
51a3ac0c
...
@@ -55,4 +55,6 @@
...
@@ -55,4 +55,6 @@
</body>
</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/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=
"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>
</html>
showPhotos/signup_data.js
View file @
51a3ac0c
This diff is collapsed.
Click to expand it.
showPhotos/user.html
View file @
51a3ac0c
...
@@ -41,4 +41,5 @@
...
@@ -41,4 +41,5 @@
</body>
</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/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=
"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>
</html>
showPhotos/user_data.js
View file @
51a3ac0c
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