Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
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
wangqinghua
smart
Commits
efa063cb
Commit
efa063cb
authored
Jan 13, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f1758442
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
23 deletions
+28
-23
alarm-modal.component.ts
...ain/webapp/app/modal/alarm-modal/alarm-modal.component.ts
+10
-0
group.component.html
src/main/webapp/app/system/group/group.component.html
+1
-1
group.component.ts
src/main/webapp/app/system/group/group.component.ts
+0
-13
look-plan.component.html
.../webapp/app/work/modal/look-plan/look-plan.component.html
+4
-2
plan-modal.component.ts
.../webapp/app/work/modal/plan-modal/plan-modal.component.ts
+8
-5
handle-event.component.html
...work/work-handle/handle-event/handle-event.component.html
+5
-2
No files found.
src/main/webapp/app/modal/alarm-modal/alarm-modal.component.ts
View file @
efa063cb
...
...
@@ -234,6 +234,16 @@ export class AlarmModalComponent implements OnInit {
this
.
alarmSer
.
getAction
(
id
).
subscribe
(
(
res
)
=>
{
this
.
validateForm
=
res
.
data
;
if
(
res
.
data
.
event
){
this
.
isEvent
=
"1"
;
this
.
operatorList
=
res
.
data
.
event
.
map
(
e
=>
{
const
d
=
{
username
:
e
.
username
,
userId
:
e
.
userId
};
return
d
;
})
}
}
)
}
...
...
src/main/webapp/app/system/group/group.component.html
View file @
efa063cb
...
...
@@ -64,7 +64,7 @@
</thead>
<tbody>
<tr
*
ngFor=
"let data of basicTable.data"
>
<td
nzShowCheckbox
[(
nzChecked
)]="
data
.
checked
"
(
nzCheckedChange
)="
selectItem
(
data
,$
event
)"
></td>
<td
nzShowCheckbox
[(
nzChecked
)]="
data
.
checked
"
></td>
<td>
{{data.name}}
</td>
<td>
{{data.phoneNumber}}
</td>
<td>
...
...
src/main/webapp/app/system/group/group.component.ts
View file @
efa063cb
...
...
@@ -53,19 +53,6 @@ export class GroupComponent implements OnInit {
this
.
dataSet
=
$event
;
}
selectItem
(
item
,
e
)
{
if
(
e
)
{
this
.
selectList
.
push
(
item
);
}
else
{
this
.
selectList
.
forEach
((
value
,
index
)
=>
{
if
(
value
.
id
==
item
.
id
)
{
this
.
selectList
.
splice
(
index
,
1
);
}
});
}
this
.
refreshStatus
();
}
refreshStatus
():
void
{
const
allChecked
=
this
.
dataSet
.
every
(
value
=>
value
.
checked
===
true
);
const
allUnChecked
=
this
.
dataSet
.
every
(
value
=>
!
value
.
checked
);
...
...
src/main/webapp/app/work/modal/look-plan/look-plan.component.html
View file @
efa063cb
...
...
@@ -116,8 +116,10 @@
<nz-form-item
nzFlex
>
<nz-form-label
[
nzOffset
]="
4
"
[
nzSpan
]="
6
"
nzFor=
"title"
>
附件
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<a
(
click
)="
downLoad
()"
>
下载
</a>
<a
class=
"main-color cursor"
>
{{plan?.fileNmae}}
</a>
<ng-container
*
ngIf=
"plan?.fileName"
>
<a
(
click
)="
downLoad
()"
>
下载
</a>
<a
class=
"main-color cursor"
>
{{plan?.fileName}}
</a>
</ng-container>
</nz-form-control>
</nz-form-item>
</div>
...
...
src/main/webapp/app/work/modal/plan-modal/plan-modal.component.ts
View file @
efa063cb
...
...
@@ -35,6 +35,7 @@ export class PlanModalComponent implements OnInit {
}
initForm
()
{
this
.
fileList
=
[];
this
.
participantsList
=
[];
this
.
principalsList
=
[];
this
.
validateForm
=
this
.
fb
.
group
({
...
...
@@ -89,11 +90,13 @@ export class PlanModalComponent implements OnInit {
res
.
data
.
number
+=
""
;
this
.
participantsList
=
res
.
data
.
participants
;
this
.
principalsList
=
res
.
data
.
principals
;
this
.
fileList
=
[
{
name
:
res
.
data
.
file
,
}
]
if
(
res
.
data
.
fileName
){
this
.
fileList
=
[
{
name
:
res
.
data
.
fileName
,
}
]
}
this
.
validateForm
.
patchValue
(
res
.
data
);
}
)
...
...
src/main/webapp/app/work/work-handle/handle-event/handle-event.component.html
View file @
efa063cb
...
...
@@ -54,8 +54,11 @@
<div
nz-row
>
<div
nz-col
nzSpan=
"4"
>
附件
</div>
<div
nz-col
nzSpan=
"1"
></div>
<div
nz-col
nzSpan=
"7"
>
{{event?.fileName}}
<span
(
click
)="
downLoad
()"
class=
"main-color cursor"
>
下载
</span>
<div
nz-col
nzSpan=
"7"
>
<ng-container
*
ngIf=
"event?.fileName"
>
{{event?.fileName}}
<span
(
click
)="
downLoad
()"
class=
"main-color cursor"
>
下载
</span>
</ng-container>
</div>
</div>
...
...
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