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
1e839205
Commit
1e839205
authored
Mar 15, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
薪资单详情增加字段
parent
571e6d03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
src/app/my/salary-detail/salary-detail.component.ts
+6
-3
src/app/my/salary-first-year/salary-first-year.component.ts
+4
-1
No files found.
src/app/my/salary-detail/salary-detail.component.ts
View file @
1e839205
...
@@ -86,6 +86,7 @@ export class SalaryDetailComponent implements OnInit {
...
@@ -86,6 +86,7 @@ export class SalaryDetailComponent implements OnInit {
otherTaxFlag
:
boolean
=
false
;
otherTaxFlag
:
boolean
=
false
;
abc
:
number
;
abc
:
number
;
isBasic
:
any
;
isBasic
:
any
;
commissionPayoutStatus
:
any
;
// 是否是预览薪资单
// 是否是预览薪资单
isPreSalary
:
boolean
;
isPreSalary
:
boolean
;
preFlag
:
string
;
preFlag
:
string
;
...
@@ -102,6 +103,7 @@ export class SalaryDetailComponent implements OnInit {
...
@@ -102,6 +103,7 @@ export class SalaryDetailComponent implements OnInit {
this
.
years
=
this
.
lifeCommonService
.
getQueryString
(
'years'
);
this
.
years
=
this
.
lifeCommonService
.
getQueryString
(
'years'
);
this
.
month
=
this
.
lifeCommonService
.
getQueryString
(
'month'
);
this
.
month
=
this
.
lifeCommonService
.
getQueryString
(
'month'
);
this
.
isBasic
=
this
.
lifeCommonService
.
getQueryString
(
'isBasic'
);
this
.
isBasic
=
this
.
lifeCommonService
.
getQueryString
(
'isBasic'
);
this
.
commissionPayoutStatus
=
this
.
lifeCommonService
.
getQueryString
(
'commissionPayoutStatus'
);
this
.
lifeCommonService
.
setTitle
(
`
${
this
.
years
}
年本期实发佣金`
);
this
.
lifeCommonService
.
setTitle
(
`
${
this
.
years
}
年本期实发佣金`
);
this
.
querySalaryDetail
(
null
);
this
.
querySalaryDetail
(
null
);
}
else
{
}
else
{
...
@@ -180,7 +182,8 @@ export class SalaryDetailComponent implements OnInit {
...
@@ -180,7 +182,8 @@ export class SalaryDetailComponent implements OnInit {
month
:
this
.
month
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
agent_id
:
this
.
agent_id
,
practitionerId
:
this
.
practitionerId
,
practitionerId
:
this
.
practitionerId
,
isBasic
:
this
.
isBasic
isBasic
:
this
.
isBasic
,
commissionPayoutStatus
:
this
.
commissionPayoutStatus
}
}
if
(
this
.
isPreSalary
){
if
(
this
.
isPreSalary
){
// param['isActive'] = '1',
// param['isActive'] = '1',
...
@@ -277,14 +280,14 @@ export class SalaryDetailComponent implements OnInit {
...
@@ -277,14 +280,14 @@ export class SalaryDetailComponent implements OnInit {
window
.
open
(
item
.
pdfOssPath
)
window
.
open
(
item
.
pdfOssPath
)
}
else
{
}
else
{
if
(
this
.
isPreSalary
){
if
(
this
.
isPreSalary
){
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
,
preFlag
:
this
.
preFlag
,
practitionerId
:
this
.
practitionerId
}});
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
,
preFlag
:
this
.
preFlag
,
practitionerId
:
this
.
practitionerId
,
commissionPayoutStatus
:
this
.
commissionPayoutStatus
}});
}
else
{
}
else
{
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
}});
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
}});
}
}
}
}
}
else
{
}
else
{
if
(
this
.
isPreSalary
){
if
(
this
.
isPreSalary
){
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
,
preFlag
:
this
.
preFlag
,
practitionerId
:
this
.
practitionerId
}});
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
,
preFlag
:
this
.
preFlag
,
practitionerId
:
this
.
practitionerId
,
commissionPayoutStatus
:
this
.
commissionPayoutStatus
}});
}
else
{
}
else
{
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
}});
this
.
router
.
navigate
([
`/salary_detail/
${
salaryType
}
`
],{
queryParams
:{
type
:
type
,
salaryName
:
salaryName
,
years
:
this
.
years
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
isBasic
:
this
.
isBasic
}});
}
}
...
...
src/app/my/salary-first-year/salary-first-year.component.ts
View file @
1e839205
...
@@ -31,6 +31,7 @@ export class SalaryFirstYearComponent implements OnInit {
...
@@ -31,6 +31,7 @@ export class SalaryFirstYearComponent implements OnInit {
withdrawId
:
any
;
withdrawId
:
any
;
customerFortuneWithdraws
:
Array
<
any
>
;
customerFortuneWithdraws
:
Array
<
any
>
;
isBasic
:
any
;
isBasic
:
any
;
commissionPayoutStatus
:
any
;
preFlag
:
string
=
this
.
lifeCommonService
.
getQueryString
(
'preFlag'
);
preFlag
:
string
=
this
.
lifeCommonService
.
getQueryString
(
'preFlag'
);
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
private
lifeCommonService
:
LifeCommonService
)
{
}
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
private
lifeCommonService
:
LifeCommonService
)
{
}
...
@@ -42,6 +43,7 @@ export class SalaryFirstYearComponent implements OnInit {
...
@@ -42,6 +43,7 @@ export class SalaryFirstYearComponent implements OnInit {
this
.
month
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
month
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
month
:
null
;
this
.
month
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
month
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
month
:
null
;
this
.
agent_id
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
agent_id
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
agent_id
:
null
;
this
.
agent_id
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
agent_id
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
agent_id
:
null
;
this
.
isBasic
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
isBasic
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
isBasic
:
null
;
this
.
isBasic
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
isBasic
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
isBasic
:
null
;
this
.
commissionPayoutStatus
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
commissionPayoutStatus
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
commissionPayoutStatus
:
'4'
;
if
(
this
.
preFlag
===
'AGMS'
){
if
(
this
.
preFlag
===
'AGMS'
){
this
.
practitionerId
=
this
.
lifeCommonService
.
getQueryString
(
'practitionerId'
);
this
.
practitionerId
=
this
.
lifeCommonService
.
getQueryString
(
'practitionerId'
);
}
else
{
}
else
{
...
@@ -86,7 +88,8 @@ export class SalaryFirstYearComponent implements OnInit {
...
@@ -86,7 +88,8 @@ export class SalaryFirstYearComponent implements OnInit {
month
:
this
.
month
,
month
:
this
.
month
,
agent_id
:
this
.
agent_id
,
agent_id
:
this
.
agent_id
,
practitionerId
:
this
.
practitionerId
,
practitionerId
:
this
.
practitionerId
,
isBasic
:
this
.
isBasic
isBasic
:
this
.
isBasic
,
commissionPayoutStatus
:
this
.
commissionPayoutStatus
}
}
if
(
this
.
preFlag
===
'AGMS'
){
if
(
this
.
preFlag
===
'AGMS'
){
param
[
'isActive'
]
=
1
;
param
[
'isActive'
]
=
1
;
...
...
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