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
09a902da
Commit
09a902da
authored
Dec 06, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的管理查询入参拿动态数据
parent
3fedd240
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/app/my/my-management/my-management.component.html
+3
-3
src/app/my/my-management/my-management.component.ts
+6
-6
No files found.
src/app/my/my-management/my-management.component.html
View file @
09a902da
<div
class=
"wrapper"
>
<div
class=
"opt"
style=
"margin-bottom: 10px;justify-content: flex-start;"
>
<select
[(
ngModel
)]="
mdDropOptionCode
"
>
<select
[(
ngModel
)]="
mdDropOptionCode
"
(
ngModelChange
)="
getCode
($
event
)"
>
<option
[
value
]="
optItem
.
dropOptionCode
"
*
ngFor=
"let optItem of optList"
>
{{optItem.dropOptionName}}
</option>
</select>
<select
[(
ngModel
)]="
year
"
>
<select
[(
ngModel
)]="
year
"
(
ngModelChange
)="
getCode
($
event
)"
>
<option
value=
"null"
>
全部
</option>
<option
*
ngFor=
"let yearItem of yearList"
>
{{yearItem}}
</option>
</select>
<select
[(
ngModel
)]="
month
"
>
<select
[(
ngModel
)]="
month
"
(
ngModelChange
)="
getCode
($
event
)"
>
<option
*
ngFor=
"let monthItem of monthList"
>
{{monthItem}}
</option>
</select>
<!-- <div>
...
...
src/app/my/my-management/my-management.component.ts
View file @
09a902da
...
...
@@ -60,17 +60,17 @@ export class MyManagementComponent implements OnInit {
})
}
selectOpt
(
){
getCode
(
event
){
this
.
changeIsTeam
(
this
.
isTeam
)
}
changeIsTeam
(
isTeam
){
this
.
isTeam
=
isTeam
;
const
params
=
{
dateSpan
:
'2022-08-31 23:59:59'
,
practitionerId
:
25
,
//
practitionerId:JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerId'],
mdDropOptionCode
:
null
dateSpan
:
`
${
this
.
year
}
-
${
this
.
month
}
-31 23:59:59`
,
//
practitionerId:25,
practitionerId
:
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
],
mdDropOptionCode
:
this
.
mdDropOptionCode
}
if
(
this
.
isTeam
==
0
){
this
.
myService
.
personalCompletionRate
(
params
).
subscribe
((
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