Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4d134d3a
authored
Apr 14, 2021
by
闻闻闻
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'update'
1 parent
fd2b19e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
linkwe-taskMobile/src/js/index.js
linkwe-taskMobile/src/js/index.js
View file @
4d134d3
...
@@ -6,11 +6,7 @@ import config from './contant'
...
@@ -6,11 +6,7 @@ import config from './contant'
$
(
function
(){
$
(
function
(){
const
taskFissionId
=
getUrlParam
(
'fissionId'
);
const
taskFissionId
=
getUrlParam
(
'fissionId'
);
const
eid
=
null
//防止存入了错误的userinfo
if
(
localStorage
.
getItem
(
'userinfo'
)
==
undefined
||
localStorage
.
getItem
(
'userinfo'
)
==
'undefined'
){
localStorage
.
removeItem
(
'userinfo'
)
}
$
(
'.sharePic'
).
click
(
function
(){
$
(
'.sharePic'
).
click
(
function
(){
alert
(
'长按图片在弹出菜单中发送给朋友或者可保存图片分享至朋友圈'
)
alert
(
'长按图片在弹出菜单中发送给朋友或者可保存图片分享至朋友圈'
)
});
});
...
@@ -44,7 +40,7 @@ $(function(){
...
@@ -44,7 +40,7 @@ $(function(){
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
alert
(
error
)
}
}
...
@@ -58,13 +54,13 @@ function getPosterFlow(params){
...
@@ -58,13 +54,13 @@ function getPosterFlow(params){
.
then
(
resp
=>
{
.
then
(
resp
=>
{
let
userData
=
resp
.
data
;
let
userData
=
resp
.
data
;
let
unionId
=
userData
.
unionId
let
unionId
=
userData
.
unionId
$
(
'.myTaskDetail'
).
click
(
function
(){
window
.
location
.
href
=
`./taskProcess.html?eid=
${
unionId
}
&taskFissionId=
${
taskFissionId
}
`
});
getPoster
({
fissionTargetId
,
posterId
,
taskFissionId
,
unionId
})
getPoster
({
fissionTargetId
,
posterId
,
taskFissionId
,
unionId
})
.
then
(
res
=>
{
.
then
(
res
=>
{
$
(
'.posterImg'
).
attr
(
'src'
,
res
.
data
.
posterUrl
)
$
(
'.posterImg'
).
attr
(
'src'
,
res
.
data
.
posterUrl
)
localStorage
.
setItem
(
'postersUrl'
,
res
.
data
.
posterUrl
)
localStorage
.
setItem
(
'postersUrl'
,
res
.
data
.
posterUrl
)
})
})
$
(
'.myTaskDetail'
).
click
(
function
(){
window
.
location
.
href
=
`./taskProcess.html?eid=
${
unionId
}
&taskFissionId=
${
taskFissionId
}
`
});
})
})
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment