Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
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
hanpeng
wechat_lung
Commits
4c51f0e3
Commit
4c51f0e3
authored
Dec 26, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改论坛时间'
parent
33916ac8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
8 deletions
+29
-8
cardDetail.js
medtap_bbs_lung/javaScript/cardDetail.js
+1
-1
index.js
medtap_bbs_lung/javaScript/index.js
+6
-6
rukou.js
wechat_lung_questionnaire/javaScript/rukou.js
+22
-1
No files found.
medtap_bbs_lung/javaScript/cardDetail.js
View file @
4c51f0e3
...
...
@@ -209,7 +209,7 @@ define(['zepto', 'medtap'], function($, medtap) {
if
(
res
.
success
==
true
)
{
var
detailInfo
=
res
.
content
.
publish
;
$
(
'.user_name'
).
html
(
detailInfo
.
nickname
);
$
(
'.card_time'
).
html
(
detailInfo
.
upd
ateTime
.
substring
(
5
,
16
));
$
(
'.card_time'
).
html
(
detailInfo
.
cre
ateTime
.
substring
(
5
,
16
));
$
(
'.user_profile'
).
attr
(
'src'
,
detailInfo
.
profile
);
$
(
'.cardDetail'
).
html
(
detailInfo
.
content
);
$
(
'.seenNum'
).
html
(
detailInfo
.
viewCount
);
...
...
medtap_bbs_lung/javaScript/index.js
View file @
4c51f0e3
...
...
@@ -247,7 +247,7 @@ define(
forumList
[
i
].
nickname
+
'</p>'
+
'<p class="txt_gray post_card_time">'
+
forumList
[
i
].
upd
ateTime
.
substring
(
5
,
16
)
+
forumList
[
i
].
cre
ateTime
.
substring
(
5
,
16
)
+
'</p>'
+
'</div>'
+
'</div>'
+
...
...
@@ -301,7 +301,7 @@ define(
forumList
[
i
].
nickname
+
'</p>'
+
'<p class="txt_gray post_card_time">'
+
forumList
[
i
].
upd
ateTime
.
substring
(
5
,
16
)
+
forumList
[
i
].
cre
ateTime
.
substring
(
5
,
16
)
+
'</p>'
+
'</div>'
+
'</div>'
+
...
...
@@ -348,7 +348,7 @@ define(
forumList
[
i
].
nickname
+
'</p>'
+
'<p class="txt_gray post_card_time">'
+
forumList
[
i
].
upd
ateTime
.
substring
(
5
,
16
)
+
forumList
[
i
].
cre
ateTime
.
substring
(
5
,
16
)
+
'</p>'
+
'</div>'
+
'</div>'
+
...
...
@@ -396,7 +396,7 @@ define(
forumList
[
i
].
nickname
+
'</p>'
+
'<p class="txt_gray post_card_time">'
+
forumList
[
i
].
upd
ateTime
.
substring
(
5
,
16
)
+
forumList
[
i
].
cre
ateTime
.
substring
(
5
,
16
)
+
'</p>'
+
'</div>'
+
'</div>'
+
...
...
@@ -450,7 +450,7 @@ define(
forumList
[
i
].
nickname
+
'</p>'
+
'<p class="txt_gray post_card_time">'
+
forumList
[
i
].
upd
ateTime
.
substring
(
5
,
16
)
+
forumList
[
i
].
cre
ateTime
.
substring
(
5
,
16
)
+
'</p>'
+
'</div>'
+
'</div>'
+
...
...
@@ -497,7 +497,7 @@ define(
forumList
[
i
].
nickname
+
'</p>'
+
'<p class="txt_gray post_card_time">'
+
forumList
[
i
].
upd
ateTime
.
substring
(
5
,
16
)
+
forumList
[
i
].
cre
ateTime
.
substring
(
5
,
16
)
+
'</p>'
+
'</div>'
+
'</div>'
+
...
...
wechat_lung_questionnaire/javaScript/rukou.js
View file @
4c51f0e3
...
...
@@ -7,6 +7,7 @@ define(['zepto','medtap'],function($,medtap){
adminId
:
medtap
.
getRequest
(
'adminId'
)
||
''
,
init
:
function
(){
rukou
.
getToken
()
rukou
.
getMyquestionnaire
()
},
checkUser
:
function
(){
medtap
.
loading
(
1
);
...
...
@@ -55,7 +56,26 @@ define(['zepto','medtap'],function($,medtap){
console
.
log
(
res
.
resultDesc
);
}
})
}
},
// 获取问卷
getMyquestionnaire
:
function
(){
var
crm
=
rukou
.
adminId
==
''
?
''
:
'/crm'
medtap
.
submitAjax
({
url
:
'https://gateway.medtap.cn/operation/followUp'
+
crm
+
'/followUpUser'
,
type
:
'post'
,
async
:
false
,
contentType
:
'application/json'
,
data
:
{
"followUpId"
:
rukou
.
followUpId
,
"adminId"
:
rukou
.
adminId
},
success
:
function
(
res
)
{
if
(
res
.
content
.
followUpUser
.
status
==
'1'
&&
rukou
.
adminId
==
''
){
medtap
.
pushWindow
(
'pages/questionnaireDetails.html?followUpId='
+
rukou
.
followUpId
)
}
}
})
},
}
rukou
.
init
();
})
\ No newline at end of file
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