Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
front-end-dev
techbook
Commits
f1edf1ec
Commit
f1edf1ec
authored
Dec 17, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邮件
parent
90781f67
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
2 deletions
+32
-2
api.js
src/views/bigbusiness/api/api.js
+5
-1
viewReqDetail.vue
src/views/bigbusiness/pages/viewReqDetail.vue
+13
-0
viewReqDetail.vue
src/views/mobile/requirement/viewReqDetail.vue
+13
-0
openEmail.vue
src/views/sendEmail/pages/openEmail.vue
+1
-1
No files found.
src/views/bigbusiness/api/api.js
View file @
f1edf1ec
...
...
@@ -245,7 +245,11 @@ export default {
//获取邮件推送需求详情接口
getRequireDetailByEmail
(
params
){
return
api
.
fetchGet
(
baseUrl
+
"/requirementDetail/getForEmail?"
+
Qs
.
stringify
(
params
))
}
},
openDataAxios
(
params
){
return
api
.
fetchGet
(
baseUrl
+
"/stat/open_data?"
+
params
)
},
...
...
src/views/bigbusiness/pages/viewReqDetail.vue
View file @
f1edf1ec
...
...
@@ -856,8 +856,21 @@
this
.
isoffsetTop
=
true
;
},
openDataEmail
(){
api
.
openDataAxios
(
location
.
href
.
split
(
"?"
)[
1
]).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
}
else
{
this
.
$message
.
error
(
res
.
msg
);
}
}).
catch
((
err
)
=>
{
this
.
$message
.
error
(
err
);
})
}
},
mounted
(){
this
.
openDataEmail
();
this
.
getRequireDetail
();
window
.
addEventListener
(
'scroll'
,
this
.
scrollFunc
);
},
...
...
src/views/mobile/requirement/viewReqDetail.vue
View file @
f1edf1ec
...
...
@@ -254,9 +254,22 @@
}
else
{
this
.
isTrans
=
flag
;
}
},
openDataEmail
(){
api
.
openDataAxios
(
location
.
href
.
split
(
"?"
)[
1
]).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
}
else
{
this
.
$message
.
error
(
res
.
msg
);
}
}).
catch
((
err
)
=>
{
this
.
$message
.
error
(
err
);
})
}
},
mounted
()
{
this
.
openDataEmail
();
this
.
getRequireDetail
();
globalMsg
.
$on
(
"translateFunc"
,(
data
)
=>
{
this
.
handleTrans
(
data
);
...
...
src/views/sendEmail/pages/openEmail.vue
View file @
f1edf1ec
...
...
@@ -14,7 +14,7 @@
}
else
{
this
.
$message
.
error
(
res
.
msg
);
}
})
.
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
$message
.
error
(
err
);
})
}
...
...
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