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
02bc737d
Commit
02bc737d
authored
Apr 07, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试报聘新增字段
parent
0dd13d49
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
74 additions
and
38 deletions
+74
-38
src/app/domain/employQuery.ts
+8
-1
src/app/my/application-process/employee-info/employee-info.component.html
+21
-5
src/app/my/application-process/employee-info/employee-info.component.scss
+1
-0
src/app/my/file-upload/file-upload.component.html
+2
-2
src/app/my/file-upload/file-upload.component.ts
+1
-1
src/app/my/integration-detail/integration-detail.component.html
+9
-9
src/app/my/integration-detail/integration-detail.component.ts
+5
-17
src/app/my/integration/integration.component.html
+1
-1
src/app/my/recruiting-detail/recruiting-detail.component.html
+26
-2
No files found.
src/app/domain/employQuery.ts
View file @
02bc737d
...
@@ -15,7 +15,13 @@ export class EmployQuery {
...
@@ -15,7 +15,13 @@ export class EmployQuery {
public
subsystemOwnerId
?:
number
,
public
subsystemOwnerId
?:
number
,
public
subsystemOwner
?:
string
,
public
subsystemOwner
?:
string
,
public
branchId
?:
number
,
public
branchId
?:
number
,
public
branch
?:
string
public
branch
?:
string
,
public
s3SubordinateSystemName
?:
string
,
public
s3TeamLeaderName
?:
string
,
public
s2SubordinateSystemName
?:
string
,
public
s2TeamLeaderName
?:
string
,
public
s1SubordinateSystemName
?:
string
,
public
s1TeamLeaderName
?:
string
,
)
{
)
{
}
}
}
}
\ No newline at end of file
src/app/my/application-process/employee-info/employee-info.component.html
View file @
02bc737d
...
@@ -17,16 +17,32 @@
...
@@ -17,16 +17,32 @@
<div>
{{membership?.introducer}}
</div>
<div>
{{membership?.introducer}}
</div>
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
体系名
</span>
<span>
分公司
</span>
<div>
{{membership?.subsystem}}
</div>
<div>
{{membership?.branch}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
S3纵队
</span>
<div>
{{membership?.s3SubordinateSystemName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
纵队负责人
</span>
<div>
{{membership?.s3TeamLeaderName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
S2体系
</span>
<div>
{{membership?.s2SubordinateSystemName}}
</div>
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
体系负责人
</span>
<span>
体系负责人
</span>
<div>
{{membership?.s
ubsystemOwner
}}
</div>
<div>
{{membership?.s
2TeamLeaderName
}}
</div>
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
分公司
</span>
<span>
S1分部
</span>
<div>
{{membership?.branch}}
</div>
<div>
{{membership?.s1SubordinateSystemName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
分部负责人
</span>
<div>
{{membership?.s1TeamLeaderName}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/app/my/application-process/employee-info/employee-info.component.scss
View file @
02bc737d
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
.content
{
.content
{
padding
:
10px
5px
;
padding
:
10px
5px
;
position
:
relative
;
position
:
relative
;
padding-bottom
:
70px
;
.contentDetail
{
.contentDetail
{
.contentItem
{
.contentItem
{
display
:
flex
;
display
:
flex
;
...
...
src/app/my/file-upload/file-upload.component.html
View file @
02bc737d
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<ul>
<ul>
<li
*
ngFor=
"let fileUploadItem of fileUploadItemList"
>
<li
*
ngFor=
"let fileUploadItem of fileUploadItemList"
>
<a
href=
"{{fileUploadItem.filePath}}"
download=
"{{fileUploadItem.itemName}}"
target=
"_blank"
*
ngIf=
"!judgmentFile(fileUploadItem.filePath)"
>
<a
href=
"{{fileUploadItem.filePath}}"
download=
"{{fileUploadItem.itemName}}"
target=
"_blank"
*
ngIf=
"!judgmentFile(fileUploadItem.filePath)"
>
<div>
<div
style=
"overflow-x: hidden; white-space: nowrap;text-overflow: ellipsis;"
>
<i
class=
"iconfont icon-pdf"
></i>
<i
class=
"iconfont icon-pdf"
></i>
<span
title=
"{{fileUploadItem.itemName}}"
>
{{fileUploadItem.itemName}}
</span>
<span
title=
"{{fileUploadItem.itemName}}"
>
{{fileUploadItem.itemName}}
</span>
</div>
</div>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
</a>
</a>
<a
href=
"javascript:;"
[
routerLink
]="'/
video
'"
*
ngIf=
"judgmentFile(fileUploadItem.filePath)"
(
click
)="
setVideoPath
(
fileUploadItem
.
filePath
)"
>
<a
href=
"javascript:;"
[
routerLink
]="'/
video
'"
*
ngIf=
"judgmentFile(fileUploadItem.filePath)"
(
click
)="
setVideoPath
(
fileUploadItem
.
filePath
)"
>
<div>
<div
style=
"overflow-x: hidden; white-space: nowrap;text-overflow: ellipsis;"
>
<img
src=
"assets/images/videoIcon.png"
alt=
"视频"
*
ngIf=
"judgmentFile(fileUploadItem.filePath)"
style=
" width: 26px;
<img
src=
"assets/images/videoIcon.png"
alt=
"视频"
*
ngIf=
"judgmentFile(fileUploadItem.filePath)"
style=
" width: 26px;
margin-right: 6px;"
>
margin-right: 6px;"
>
<span
title=
"{{fileUploadItem.itemName}}"
>
{{fileUploadItem.itemName}}
</span>
<span
title=
"{{fileUploadItem.itemName}}"
>
{{fileUploadItem.itemName}}
</span>
...
...
src/app/my/file-upload/file-upload.component.ts
View file @
02bc737d
...
@@ -41,7 +41,7 @@ export class FileUploadComponent implements OnInit {
...
@@ -41,7 +41,7 @@ export class FileUploadComponent implements OnInit {
let
filename
=
picUrl
;
//文件路径地址
let
filename
=
picUrl
;
//文件路径地址
let
index1
=
filename
.
lastIndexOf
(
"."
);
let
index1
=
filename
.
lastIndexOf
(
"."
);
let
index2
=
filename
.
length
;
let
index2
=
filename
.
length
;
let
postf
=
filename
.
substring
(
index1
,
index2
);
//获取文bai件后缀名duzhi
let
postf
=
filename
.
substring
(
index1
,
index2
)
.
toLowerCase
()
;
//获取文bai件后缀名duzhi
//判断文件后缀名是否等于视频文件的后缀名
//判断文件后缀名是否等于视频文件的后缀名
if
(
postf
===
".avi"
||
postf
===
".mp4"
||
postf
===
".rmvb"
||
postf
===
".mov"
)
{
if
(
postf
===
".avi"
||
postf
===
".mp4"
||
postf
===
".rmvb"
||
postf
===
".mov"
)
{
return
true
return
true
...
...
src/app/my/integration-detail/integration-detail.component.html
View file @
02bc737d
...
@@ -7,15 +7,15 @@
...
@@ -7,15 +7,15 @@
<ul
class=
"dateContent"
>
<ul
class=
"dateContent"
>
<li>
<li>
<ListItem
<ListItem
DatePicker
[
mode
]="'
month
'"
[(
ngModel
)]="
searchDateFormat
"
(
onOk
)="
onOk
($
event
)"
>
DatePicker
{{searchDateFormat | date:'yyyy-MM'}}
<i
class=
"iconfont icon-xiangxia"
style=
"margin-left: 10px;"
></i>
[
mode
]="'
month
'"
</ListItem>
[(
ngModel
)]="
searchDateFormat
"
(
onOk
)="
onOk
($
event
)"
<span>
-
</span>
>
{{searchDate}}
<i
class=
"iconfont icon-xiangxia"
style=
"margin-left: 10px;"
></i
>
<ListItem
DatePicker
[
mode
]="'
month
'"
[(
ngModel
)]="
searchDateEndFormat
"
(
onOk
)="
onOk
($
event
)"
>
{{searchDateEndFormat | date:'yyyy-MM'}}
<i
class=
"iconfont icon-xiangxia"
style=
"margin-left: 10px;"
></i>
</ListItem>
</ListItem>
</li>
</li>
</ul>
</ul>
<ul
class=
"detailLists"
>
<ul
class=
"detailLists"
>
...
...
src/app/my/integration-detail/integration-detail.component.ts
View file @
02bc737d
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
LifeCommonService
}
from
'src/app/common/life-common.service'
;
import
{
MyService
}
from
'../my.service'
;
import
{
MyService
}
from
'../my.service'
;
@
Component
({
@
Component
({
...
@@ -10,12 +11,12 @@ export class IntegrationDetailComponent implements OnInit {
...
@@ -10,12 +11,12 @@ export class IntegrationDetailComponent implements OnInit {
integralGrantInfos
:
Array
<
any
>
;
integralGrantInfos
:
Array
<
any
>
;
lists
:
Array
<
any
>
;
lists
:
Array
<
any
>
;
status
:
number
=
1
;
status
:
number
=
1
;
searchDate
:
string
=
'2022年'
;
searchDateFormat
:
Date
=
new
Date
(
2022
,
1
);
searchDateFormat
:
Date
=
new
Date
(
2022
,
1
);
constructor
(
private
myService
:
MyService
)
{
}
searchDateEndFormat
:
Date
=
new
Date
(
2022
,
1
);
constructor
(
private
myService
:
MyService
,
private
lifeCommonService
:
LifeCommonService
)
{
}
ngOnInit
()
{
ngOnInit
()
{
this
.
queryPractitionerIntegralList
();
this
.
queryPractitionerIntegralList
(
this
.
lifeCommonService
.
dateFormat
(
this
.
searchDateFormat
,
'yyyy-MM-01'
),
this
.
lifeCommonService
.
dateFormat
(
this
.
searchDateEndFormat
,
'yyyy-MM-01'
)
);
}
}
queryLists
(
status
){
queryLists
(
status
){
this
.
status
=
status
;
this
.
status
=
status
;
...
@@ -29,20 +30,7 @@ export class IntegrationDetailComponent implements OnInit {
...
@@ -29,20 +30,7 @@ export class IntegrationDetailComponent implements OnInit {
})
})
}
}
currentDateFormat
(
date
,
format
:
string
=
'yyyy-mm'
):
any
{
const
pad
=
(
n
:
number
):
string
=>
(
n
<
10
?
`0
${
n
}
`
:
n
.
toString
());
return
format
.
replace
(
'yyyy'
,
date
.
getFullYear
())
.
replace
(
'mm'
,
pad
(
date
.
getMonth
()
+
1
))
.
replace
(
'dd'
,
pad
(
date
.
getDate
()))
.
replace
(
'HH'
,
pad
(
date
.
getHours
()))
.
replace
(
'MM'
,
pad
(
date
.
getMinutes
()))
.
replace
(
'ss'
,
pad
(
date
.
getSeconds
()));
}
onOk
(
result
:
Date
)
{
onOk
(
result
:
Date
)
{
this
.
searchDate
=
this
.
currentDateFormat
(
result
);
this
.
queryPractitionerIntegralList
(
this
.
lifeCommonService
.
dateFormat
(
this
.
searchDateFormat
,
'yyyy-MM-01'
),
this
.
lifeCommonService
.
dateFormat
(
this
.
searchDateEndFormat
,
'yyyy-MM-01'
));
this
.
searchDateFormat
=
result
;
this
.
queryPractitionerIntegralList
(
this
.
searchDate
+
'-01'
)
}
}
}
}
src/app/my/integration/integration.component.html
View file @
02bc737d
<div
class=
"integrationContainer"
>
<div
class=
"integrationContainer"
>
<header>
<header>
<div
class=
"left"
>
<div
class=
"left"
>
<div><strong>
{{practitionerIntegrals?.integralCountNumber}}
</strong><i
class=
"iconfont icon-zhuyishixiang"
[
routerLink
]="'/
integration_rule
'"
></i></div>
<div><strong>
{{practitionerIntegrals?.integralCountNumber
? practitionerIntegrals?.integralCountNumber : 0
}}
</strong><i
class=
"iconfont icon-zhuyishixiang"
[
routerLink
]="'/
integration_rule
'"
></i></div>
<div
style=
"font-size: 12px;"
>
{{practitionerIntegrals?.integralNumberOld}} 积分有效期至 {{practitionerIntegrals?.effectiveOld}}
</div>
<div
style=
"font-size: 12px;"
>
{{practitionerIntegrals?.integralNumberOld}} 积分有效期至 {{practitionerIntegrals?.effectiveOld}}
</div>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
...
...
src/app/my/recruiting-detail/recruiting-detail.component.html
View file @
02bc737d
...
@@ -157,14 +157,14 @@
...
@@ -157,14 +157,14 @@
<span>
介绍人
</span>
<span>
介绍人
</span>
<div
(
click
)="
vagueSearch
(
2
)"
style=
"padding-right: 12px;"
>
{{defalutIntroducer}}
</div>
<div
(
click
)="
vagueSearch
(
2
)"
style=
"padding-right: 12px;"
>
{{defalutIntroducer}}
</div>
</div>
</div>
<div
class=
"contentItem"
>
<
!-- <
div class="contentItem">
<span>体系名</span>
<span>体系名</span>
<div><input type="text" [(ngModel)]="employQuery.subsystem" class="form-control" disabled/></div>
<div><input type="text" [(ngModel)]="employQuery.subsystem" class="form-control" disabled/></div>
</div>
</div>
<div class="contentItem">
<div class="contentItem">
<span>体系负责人</span>
<span>体系负责人</span>
<div><input type="text" [(ngModel)]="employQuery.subsystemOwner" class="form-control" disabled/></div>
<div><input type="text" [(ngModel)]="employQuery.subsystemOwner" class="form-control" disabled/></div>
</div>
</div>
-->
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
分公司
</span>
<span>
分公司
</span>
<div
*
ngIf=
"employQuery.mdDropOptionId != 30"
>
<div
*
ngIf=
"employQuery.mdDropOptionId != 30"
>
...
@@ -178,6 +178,30 @@
...
@@ -178,6 +178,30 @@
</option>
</option>
</select>
</select>
</div>
</div>
<div
class=
"contentItem"
>
<span>
S3纵队
</span>
<div>
{{employQuery?.s3SubordinateSystemName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
纵队负责人
</span>
<div>
{{employQuery?.s3TeamLeaderName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
S2体系
</span>
<div>
{{employQuery?.s2SubordinateSystemName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
体系负责人
</span>
<div>
{{employQuery?.s2TeamLeaderName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
S1分部
</span>
<div>
{{employQuery?.s1SubordinateSystemName}}
</div>
</div>
<div
class=
"contentItem"
>
<span>
分部负责人
</span>
<div>
{{employQuery?.s1TeamLeaderName}}
</div>
</div>
<!-- <div class="contentItem">
<!-- <div class="contentItem">
<span>分公司</span>
<span>分公司</span>
<div *ngIf="defalutMentor !='请选择辅导人' && defalutMentor != '/'">
<div *ngIf="defalutMentor !='请选择辅导人' && defalutMentor != '/'">
...
...
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