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
fbff58d9
Commit
fbff58d9
authored
Jun 20, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
message update
parent
2fa39688
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
36 deletions
+9
-36
b-config.component.ts
src/main/webapp/app/business/b-config/b-config.component.ts
+0
-2
b-overview.component.ts
...in/webapp/app/business/b-overview/b-overview.component.ts
+0
-2
effect-analysis.component.ts
...app/business/effect-analysis/effect-analysis.component.ts
+0
-1
flow-trend.component.ts
...webapp/app/netTopology/flow-trend/flow-trend.component.ts
+0
-8
ne-topology.component.ts
...bapp/app/netTopology/ne-topology/ne-topology.component.ts
+0
-2
topology-img.component.ts
...pp/app/netTopology/topology-img/topology-img.component.ts
+0
-2
network-check.component.ts
...bapp/app/overAll/network-check/network-check.component.ts
+0
-2
examine.component.ts
src/main/webapp/app/system/examine/examine.component.ts
+0
-4
asset-part.component.ts
src/main/webapp/app/work/asset-part/asset-part.component.ts
+9
-11
inspect-plan.component.ts
...in/webapp/app/work/inspect-plan/inspect-plan.component.ts
+0
-2
No files found.
src/main/webapp/app/business/b-config/b-config.component.ts
View file @
fbff58d9
...
...
@@ -112,8 +112,6 @@ export class BConfigComponent implements OnInit {
e
.
info
=
''
;
});
this
.
toTree
(
null
,
null
);
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
}
);
...
...
src/main/webapp/app/business/b-overview/b-overview.component.ts
View file @
fbff58d9
...
...
@@ -121,8 +121,6 @@ export class BOverviewComponent implements OnInit {
if
(
res
.
errCode
==
10000
)
{
this
.
list
=
res
.
data
;
this
.
echartView
();
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
}
);
...
...
src/main/webapp/app/business/effect-analysis/effect-analysis.component.ts
View file @
fbff58d9
...
...
@@ -239,7 +239,6 @@ export class EffectAnalysisComponent implements OnInit {
this
.
noData
=
false
;
}
else
{
this
.
noData
=
true
;
this
.
message
.
info
(
res
.
errMsg
);
}
}
);
...
...
src/main/webapp/app/netTopology/flow-trend/flow-trend.component.ts
View file @
fbff58d9
...
...
@@ -244,8 +244,6 @@ export class FlowTrendComponent implements OnInit, OnDestroy {
this
.
data
.
now
=
false
;
this
.
flashEcharts
();
}
}
else
{
this
.
message
.
warning
(
res
.
errMsg
);
}
}
);
...
...
@@ -409,8 +407,6 @@ export class FlowTrendComponent implements OnInit, OnDestroy {
}
}
);
}
else
{
this
.
message
.
warning
(
res
.
errMsg
);
}
}
);
...
...
@@ -543,8 +539,6 @@ export class FlowTrendComponent implements OnInit, OnDestroy {
if
(
res
.
errCode
==
10000
)
{
this
.
inList
=
res
.
data
.
data
;
this
.
inTotalNum
=
res
.
data
.
totalNum
;
}
else
{
this
.
message
.
warning
(
res
.
errMsg
);
}
this
.
inLoading
=
false
;
}
...
...
@@ -571,8 +565,6 @@ export class FlowTrendComponent implements OnInit, OnDestroy {
if
(
res
.
errCode
==
10000
)
{
this
.
outList
=
res
.
data
.
data
;
this
.
outTotalNum
=
res
.
data
.
totalNum
;
}
else
{
this
.
message
.
warning
(
res
.
errMsg
);
}
this
.
outLoading
=
false
;
}
...
...
src/main/webapp/app/netTopology/ne-topology/ne-topology.component.ts
View file @
fbff58d9
...
...
@@ -242,8 +242,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
this
.
options
=
res
.
data
;
}
else
{
this
.
message
.
error
(
res
.
errMSg
);
}
}
);
...
...
src/main/webapp/app/netTopology/topology-img/topology-img.component.ts
View file @
fbff58d9
...
...
@@ -37,8 +37,6 @@ export class TopologyImgComponent implements OnInit {
if
(
res
.
errCode
==
10000
){
this
.
iconList
=
res
.
data
.
data
;
this
.
totalNum
=
res
.
data
.
totalNum
;
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
this
.
isLoading
=
false
;
}
...
...
src/main/webapp/app/overAll/network-check/network-check.component.ts
View file @
fbff58d9
...
...
@@ -93,8 +93,6 @@ export class NetworkCheckComponent implements OnInit {
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
this
.
checkStatus
=
res
.
data
;
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
}
);
...
...
src/main/webapp/app/system/examine/examine.component.ts
View file @
fbff58d9
...
...
@@ -98,8 +98,6 @@ export class ExamineComponent implements OnInit {
if
(
res
.
errCode
==
10000
){
this
.
areadyList
=
res
.
data
.
data
;
this
.
totalNumAlready
=
res
.
data
.
totalCount
;
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
}
);
...
...
@@ -121,8 +119,6 @@ export class ExamineComponent implements OnInit {
if
(
res
.
errCode
==
10000
){
this
.
noList
=
res
.
data
.
data
;
this
.
totalNumNo
=
res
.
data
.
totalCount
;
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
}
);
...
...
src/main/webapp/app/work/asset-part/asset-part.component.ts
View file @
fbff58d9
...
...
@@ -39,7 +39,7 @@ export class AssetPartComponent implements OnInit {
endTime
:
''
,
};
constructor
(
private
workSer
:
WorkService
,
private
router
:
Router
,
private
commonSer
:
CommonService
,
private
messge
:
NzMessageService
,
private
systemSer
:
SystemService
)
{
}
private
mess
a
ge
:
NzMessageService
,
private
systemSer
:
SystemService
)
{
}
ngOnInit
()
{
this
.
getList
();
...
...
@@ -58,8 +58,6 @@ export class AssetPartComponent implements OnInit {
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
parentList
=
res
.
data
;
}
else
{
this
.
messge
.
error
(
res
.
errMsg
);
}
}
)
...
...
@@ -98,7 +96,7 @@ export class AssetPartComponent implements OnInit {
//编辑父级分类
showPEditModal
(){
if
(
this
.
obj
.
type
==
"all"
){
this
.
messge
.
warning
(
"请选择需要编辑的分类"
);
this
.
mess
a
ge
.
warning
(
"请选择需要编辑的分类"
);
return
false
;
}
this
.
smartTypeAsets
.
showEditModal
(
"编辑分类"
,
this
.
obj
.
type
);
...
...
@@ -107,11 +105,11 @@ export class AssetPartComponent implements OnInit {
//删除父分类
deleteParentType
(){
if
(
this
.
obj
.
type
==
"all"
){
this
.
messge
.
warning
(
"请选择需要删除的分类"
);
this
.
mess
a
ge
.
warning
(
"请选择需要删除的分类"
);
return
false
;
}
if
(
this
.
childrenList
.
length
>
0
){
this
.
messge
.
warning
(
"删除失败,请先清除该分类下的子分类!"
);
this
.
mess
a
ge
.
warning
(
"删除失败,请先清除该分类下的子分类!"
);
return
false
;
}
const
data
=
{
...
...
@@ -122,10 +120,10 @@ export class AssetPartComponent implements OnInit {
this
.
workSer
.
deleteType
(
data
).
subscribe
(
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
messge
.
success
(
"删除成功"
);
this
.
mess
a
ge
.
success
(
"删除成功"
);
this
.
getList
();
}
else
{
this
.
messge
.
error
(
res
.
errMsg
);
this
.
mess
a
ge
.
error
(
res
.
errMsg
);
}
}
)
...
...
@@ -142,7 +140,7 @@ export class AssetPartComponent implements OnInit {
this
.
workSer
.
findInventory
(
item
.
id
).
subscribe
(
(
res
)
=>
{
if
(
res
.
data
.
length
>
0
){
this
.
messge
.
warning
(
"删除失败,请先清除资产!"
);
this
.
mess
a
ge
.
warning
(
"删除失败,请先清除资产!"
);
}
else
{
const
data
=
{
inventoryTypeIds
:[]
...
...
@@ -152,10 +150,10 @@ export class AssetPartComponent implements OnInit {
this
.
workSer
.
deleteType
(
data
).
subscribe
(
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
messge
.
success
(
"删除成功"
);
this
.
mess
a
ge
.
success
(
"删除成功"
);
this
.
changeType
();
}
else
{
this
.
messge
.
error
(
res
.
errMsg
);
this
.
mess
a
ge
.
error
(
res
.
errMsg
);
}
}
)
...
...
src/main/webapp/app/work/inspect-plan/inspect-plan.component.ts
View file @
fbff58d9
...
...
@@ -70,8 +70,6 @@ export class InspectPlanComponent implements OnInit {
if
(
res
.
errCode
==
10000
)
{
this
.
planList
=
res
.
data
.
data
;
this
.
totalNum
=
res
.
data
.
totalNum
;
}
else
{
this
.
message
.
error
(
res
.
errMsg
);
}
this
.
isLoading
=
false
;
}
...
...
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