Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
c56c7e0e
Commit
c56c7e0e
authored
Oct 28, 2021
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签过名的直接跳转链接
parent
904d27ec
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
3 deletions
+29
-3
src/app/my/application-process/register/register.component.ts
+19
-1
src/app/my/my-business-detail/my-business-detail.component.ts
+2
-2
src/app/my/my.service.ts
+8
-0
No files found.
src/app/my/application-process/register/register.component.ts
View file @
c56c7e0e
...
@@ -38,6 +38,8 @@ export class RegisterComponent implements OnInit {
...
@@ -38,6 +38,8 @@ export class RegisterComponent implements OnInit {
type
:
string
;
type
:
string
;
// 分享电子告知书ID
// 分享电子告知书ID
eNoticeId
:
string
;
eNoticeId
:
string
;
// 电子告知书信息
eNoticeInfo
:
any
;
ngOnInit
()
{
ngOnInit
()
{
const
title
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'title'
];
const
title
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'title'
];
this
.
lifeCommonService
.
setTitle
(
title
);
this
.
lifeCommonService
.
setTitle
(
title
);
...
@@ -55,6 +57,22 @@ export class RegisterComponent implements OnInit {
...
@@ -55,6 +57,22 @@ export class RegisterComponent implements OnInit {
window
.
scrollTo
(
0
,
0
);
window
.
scrollTo
(
0
,
0
);
}
}
// 查询告知书链接
queryInformedSheetList
(){
this
.
myService
.
queryInformedSheetList
({
id
:
this
.
eNoticeId
}).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
this
.
eNoticeInfo
=
res
[
'data'
][
'list'
][
0
]
if
(
this
.
eNoticeInfo
[
'status'
]
==
1
){
window
.
open
(
this
.
eNoticeInfo
[
'informedOssPath'
]);
}
else
{
this
.
router
.
navigate
([
'/eNoticeSign'
]);
}
}
else
{
this
.
openPopInfo
(
res
[
'message'
]);
}
})
}
// 发送验证码
// 发送验证码
verificationCode
()
{
verificationCode
()
{
const
verificationInfo
=
{
const
verificationInfo
=
{
...
@@ -133,7 +151,7 @@ export class RegisterComponent implements OnInit {
...
@@ -133,7 +151,7 @@ export class RegisterComponent implements OnInit {
this
.
authService
.
compare
(
compareCodeObj
).
subscribe
((
res
)
=>
{
this
.
authService
.
compare
(
compareCodeObj
).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
if
(
this
.
type
==
'identify'
){
if
(
this
.
type
==
'identify'
){
this
.
router
.
navigate
([
'/eNoticeSign'
]
);
this
.
queryInformedSheetList
(
);
}
else
{
}
else
{
this
.
router
.
navigate
([
'/employee_info'
],{
queryParams
:
{
hiringBasicInfoId
:
this
.
hiringBasicInfoId
,
mobileNo
:
this
.
userInfo
.
mobileNo
}
});
this
.
router
.
navigate
([
'/employee_info'
],{
queryParams
:
{
hiringBasicInfoId
:
this
.
hiringBasicInfoId
,
mobileNo
:
this
.
userInfo
.
mobileNo
}
});
}
}
...
...
src/app/my/my-business-detail/my-business-detail.component.ts
View file @
c56c7e0e
...
@@ -656,10 +656,10 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -656,10 +656,10 @@ export class MyBusinessDetailComponent implements OnInit {
setBackgroundColor
(
e
){
setBackgroundColor
(
e
){
let
bgColor
=
'transparent'
;
let
bgColor
=
'transparent'
;
let
fontColor
=
'#666'
;
let
fontColor
=
'#666'
;
if
(
e
.
informedOssPath
&&
e
.
status
==
1
){
if
(
e
.
informedOssPath
&&
e
.
status
==
0
){
bgColor
=
'#999999'
;
bgColor
=
'#999999'
;
fontColor
=
'#fff'
;
fontColor
=
'#fff'
;
}
else
if
(
e
.
informedOssPath
&&
e
.
status
==
0
){
}
else
if
(
e
.
informedOssPath
&&
e
.
status
==
1
){
bgColor
=
'#C81B1E'
;
bgColor
=
'#C81B1E'
;
fontColor
=
'#fff'
;
fontColor
=
'#fff'
;
}
else
{
}
else
{
...
...
src/app/my/my.service.ts
View file @
c56c7e0e
...
@@ -746,4 +746,12 @@ export class MyService {
...
@@ -746,4 +746,12 @@ export class MyService {
const
url
=
this
.
ydapi
+
"/practitioner/signInformedSheet"
;
const
url
=
this
.
ydapi
+
"/practitioner/signInformedSheet"
;
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
objParam
));
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
objParam
));
}
}
// 查询电子告知书列表
queryInformedSheetList
(
param
){
const
url
=
this
.
ydapi
+
"/practitioner/queryInformedSheetList"
;
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
param
)).
pipe
(
res
=>
{
return
res
;
});
}
}
}
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