Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
3e827bf5
Commit
3e827bf5
authored
Aug 14, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据分析权限优化,服务注册使用服务优化逻辑,流程设计优化校验
parent
8b79655c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
121 additions
and
101 deletions
+121
-101
src/pages/data-analysis/data-analysis.vue
src/pages/data-analysis/data-analysis.vue
+0
-2
src/pages/data-analysis/my-service.vue
src/pages/data-analysis/my-service.vue
+117
-92
src/pages/workbench/component-center/process-management/process-design/index.vue
...ponent-center/process-management/process-design/index.vue
+1
-1
src/pages/workbench/fwzc_fwcs.vue
src/pages/workbench/fwzc_fwcs.vue
+1
-4
src/router/index.js
src/router/index.js
+2
-2
No files found.
src/pages/data-analysis/data-analysis.vue
View file @
3e827bf5
...
@@ -94,10 +94,8 @@ export default {
...
@@ -94,10 +94,8 @@ export default {
this
.
navList
=
this
.
userNav
;
this
.
navList
=
this
.
userNav
;
}
else
if
(
this
.
is_admin
==
2
)
{
}
else
if
(
this
.
is_admin
==
2
)
{
this
.
navList
=
this
.
userNav1
;
this
.
navList
=
this
.
userNav1
;
this
.
$router
.
push
({
name
:
"
orgServiceDataAnalysis
"
});
}
else
if
(
this
.
is_admin
==
1
)
{
}
else
if
(
this
.
is_admin
==
1
)
{
this
.
navList
=
this
.
userNav2
;
this
.
navList
=
this
.
userNav2
;
this
.
$router
.
push
({
name
:
"
superServiceDataAnalysis
"
});
}
}
},
},
},
},
...
...
src/pages/data-analysis/my-service.vue
View file @
3e827bf5
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
}}
}}
</el-breadcrumb-item>
</el-breadcrumb-item>
</el-breadcrumb>
</el-breadcrumb>
<el-row
class=
"in_analysis"
>
<el-row
v-if=
"is_general_user"
class=
"in_analysis"
>
<!-- 可横向铺满 -->
<!-- 可横向铺满 -->
<el-col
:span=
"6"
class=
"in_left"
>
<el-col
:span=
"6"
class=
"in_left"
>
<el-row>
<el-row>
...
@@ -276,11 +276,11 @@ export default {
...
@@ -276,11 +276,11 @@ export default {
BarChart
,
BarChart
,
ApassTable
,
ApassTable
,
Graph
,
Graph
,
Topology
Topology
,
},
},
data
:
()
=>
({
data
:
()
=>
({
overview
:
{
overview
:
{
serviceTotal
:
0
serviceTotal
:
0
,
},
},
left_1_state
:
0
,
left_1_state
:
0
,
left_2_state
:
0
,
left_2_state
:
0
,
...
@@ -297,66 +297,66 @@ export default {
...
@@ -297,66 +297,66 @@ export default {
spRefLineStyles3
:
{
spRefLineStyles3
:
{
stroke
:
"
#d14
"
,
stroke
:
"
#d14
"
,
strokeOpacity
:
0
,
strokeOpacity
:
0
,
strokeDasharray
:
"
2, 2
"
strokeDasharray
:
"
2, 2
"
,
},
},
spCurveStyles2
:
{
spCurveStyles2
:
{
stroke
:
"
#274fee
"
,
stroke
:
"
#274fee
"
,
fill
:
"
#274fee
"
fill
:
"
#274fee
"
,
},
},
spCurveStyles3
:
{
spCurveStyles3
:
{
stroke
:
"
#e56600
"
,
stroke
:
"
#e56600
"
,
fill
:
"
#e56600
"
fill
:
"
#e56600
"
,
},
},
sparkline1
:
{
sparkline1
:
{
num
:
0
,
num
:
0
,
up
:
0
,
up
:
0
,
arr
:
[]
arr
:
[],
},
},
sparkline2
:
{
sparkline2
:
{
num
:
0
,
num
:
0
,
up
:
0
,
up
:
0
,
arr
:
[]
arr
:
[],
},
},
text
:
"
服务总数
"
,
text
:
"
服务总数
"
,
single_data
:
{
single_data
:
{
num
:
0
,
num
:
0
,
color
:
"
#25bdb1
"
,
color
:
"
#25bdb1
"
,
text
:
"
共享
"
text
:
"
共享
"
,
},
},
single_data1
:
{
single_data1
:
{
num
:
0
,
num
:
0
,
color
:
"
#f5ab4c
"
,
color
:
"
#f5ab4c
"
,
text
:
"
受限
"
text
:
"
受限
"
,
},
},
single_data2
:
{
single_data2
:
{
num
:
0
,
num
:
0
,
color
:
"
#e15260
"
,
color
:
"
#e15260
"
,
text
:
"
敏感
"
text
:
"
敏感
"
,
},
},
line_data
:
{
line_data
:
{
xAxisData
:
[],
xAxisData
:
[],
seriesData
:
[
seriesData
:
[
{
{
name
:
""
,
name
:
""
,
data
:
[]
data
:
[]
,
},
},
{
{
name
:
""
,
name
:
""
,
data
:
[]
data
:
[]
,
}
}
,
]
]
,
},
},
das_data
:
{
das_data
:
{
data
:
90
,
data
:
90
,
text
:
"
健康占比
"
text
:
"
健康占比
"
,
},
},
bar_data
:
{
bar_data
:
{
legendData
:
[],
legendData
:
[],
seriesData
:
[]
seriesData
:
[]
,
},
},
bar_data_org
:
{
bar_data_org
:
{
legendData
:
[],
legendData
:
[],
seriesData
:
[]
seriesData
:
[]
,
},
},
toplistData
:
[],
// 服务调用排名分析
toplistData
:
[],
// 服务调用排名分析
toplistTargetValue
:
0
,
// 服务调用排名分析 目标值
toplistTargetValue
:
0
,
// 服务调用排名分析 目标值
...
@@ -366,148 +366,173 @@ export default {
...
@@ -366,148 +366,173 @@ export default {
count
:
6
,
count
:
6
,
percent
:
75
,
percent
:
75
,
title
:
"
0.1% 错误
"
,
title
:
"
0.1% 错误
"
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
count
:
2
,
count
:
2
,
percent
:
25
,
percent
:
25
,
title
:
"
0.1 - 20% 错误
"
,
title
:
"
0.1 - 20% 错误
"
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
count
:
0
,
count
:
0
,
percent
:
0
,
percent
:
0
,
title
:
"
20% 错误
"
,
title
:
"
20% 错误
"
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
count
:
0
,
count
:
0
,
percent
:
0
,
percent
:
0
,
title
:
"
TCP连接
"
,
title
:
"
TCP连接
"
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
count
:
0
,
count
:
0
,
percent
:
0
,
percent
:
0
,
title
:
"
Idle
"
,
title
:
"
Idle
"
,
unit
:
"
个
"
unit
:
"
个
"
,
}
}
,
],
// 服务状态统计
],
// 服务状态统计
starlistData
:
[
starlistData
:
[
{
{
star
:
5
,
star
:
5
,
count
:
5
,
count
:
5
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
star
:
4
,
star
:
4
,
count
:
4
,
count
:
4
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
star
:
3
,
star
:
3
,
count
:
3
,
count
:
3
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
star
:
2
,
star
:
2
,
count
:
2
,
count
:
2
,
unit
:
"
个
"
unit
:
"
个
"
,
},
},
{
{
star
:
1
,
star
:
1
,
count
:
1
,
count
:
1
,
unit
:
"
个
"
unit
:
"
个
"
,
}
}
,
],
// 服务评分
],
// 服务评分
starlistTotal
:
15
,
starlistTotal
:
15
,
hotSearchHeader
:
[],
// 热门搜索 表头
hotSearchHeader
:
[],
// 热门搜索 表头
hotSearchData
:
[],
// 热门搜索 数据
hotSearchData
:
[],
// 热门搜索 数据
graph_arr
:
{
graph_arr
:
{
legend
:
{
legend
:
{
data
:
[]
data
:
[]
,
},
},
data
:
[],
data
:
[],
series
:
[{
data
:
[]
},
{
data
:
[]
}]
series
:
[{
data
:
[]
},
{
data
:
[]
}]
,
},
},
topology_datas
:
{}
topology_datas
:
{},
is_general_user
:
false
,
}),
}),
mounted
()
{
mounted
()
{
this
.
getServiceOverview
();
this
.
checkAuthority
();
this
.
getServiceHealth
();
this
.
getServiceTrend
();
this
.
getServiceType
();
this
.
getServiceSectorse
();
this
.
getServiceOrg
();
this
.
getServiceOpenness
();
this
.
getServiceRequest
();
this
.
getServiceOnlineState
();
this
.
getServiceEstimated
();
this
.
getServiceHotSearch
();
this
.
hotSearchHeader
=
[
this
.
hotSearchHeader
=
[
{
{
label
:
"
服务排名
"
,
label
:
"
服务排名
"
,
type
:
"
hot-index
"
,
type
:
"
hot-index
"
,
width
:
100
,
width
:
100
,
align
:
"
center
"
align
:
"
center
"
,
},
},
{
{
label
:
"
服务名称
"
,
label
:
"
服务名称
"
,
prop
:
"
name
"
,
prop
:
"
name
"
,
type
:
"
button
"
,
type
:
"
button
"
,
callback
:
this
.
detailHotSearch
callback
:
this
.
detailHotSearch
,
},
},
{
{
label
:
"
搜索次数
"
,
label
:
"
搜索次数
"
,
prop
:
"
count
"
,
prop
:
"
count
"
,
width
:
100
,
width
:
100
,
align
:
"
center
"
align
:
"
center
"
,
},
},
{
{
label
:
"
日涨幅
"
,
label
:
"
日涨幅
"
,
prop
:
"
increases
"
,
prop
:
"
increases
"
,
width
:
100
,
width
:
100
,
sortType
:
"
0
"
,
// 0:升序 1:降序
sortType
:
"
0
"
,
// 0:升序 1:降序
align
:
"
center
"
align
:
"
center
"
,
}
}
,
];
];
this
.
getTopologyData
();
},
},
methods
:
{
methods
:
{
getServiceHotSearch
(){
checkAuthority
()
{
this
.
$api
.
dataAnalysis
.
getServiceHotSearch
().
then
(
response
=>
{
let
is_admin
=
this
.
$store
.
state
.
userInfo
.
is_admin
;
if
(
is_admin
==
3
||
is_admin
==
4
)
{
this
.
is_general_user
=
true
;
this
.
getServiceOverview
();
this
.
getServiceHealth
();
this
.
getServiceTrend
();
this
.
getServiceType
();
this
.
getServiceSectorse
();
this
.
getServiceOrg
();
this
.
getServiceOpenness
();
this
.
getServiceRequest
();
this
.
getServiceOnlineState
();
this
.
getServiceEstimated
();
this
.
getServiceHotSearch
();
this
.
getTopologyData
();
}
else
if
(
is_admin
==
2
)
{
this
.
$router
.
push
(
"
/data_analysis/org_service
"
);
}
else
if
(
is_admin
==
1
)
{
this
.
$router
.
push
(
"
/data_analysis/super_service
"
);
}
},
getServiceHotSearch
()
{
this
.
$api
.
dataAnalysis
.
getServiceHotSearch
().
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
let
data
=
response
.
data
.
data
let
data
=
response
.
data
.
data
;
this
.
sparkline1
=
{
this
.
sparkline1
=
{
num
:
data
.
search_user
.
count
,
num
:
data
.
search_user
.
count
,
up
:
data
.
trend
==
'
up
'
?
data
.
search_user
.
per
:
data
.
trend
==
'
down
'
?
0
-
data
.
search_user
.
per
:
data
.
search_user
.
per
,
up
:
arr
:
data
.
search_user_trend
.
seriesData
data
.
trend
==
"
up
"
}
?
data
.
search_user
.
per
:
data
.
trend
==
"
down
"
?
0
-
data
.
search_user
.
per
:
data
.
search_user
.
per
,
arr
:
data
.
search_user_trend
.
seriesData
,
};
this
.
sparkline2
=
{
this
.
sparkline2
=
{
num
:
data
.
search_user_avg
.
count
,
num
:
data
.
search_user_avg
.
count
,
up
:
data
.
trend
==
'
up
'
?
data
.
search_user_avg
.
per
:
data
.
trend
==
'
down
'
?
0
-
data
.
search_user_avg
.
per
:
data
.
search_user_avg
.
per
,
up
:
arr
:
data
.
search_user_avg_trend
.
seriesData
data
.
trend
==
"
up
"
}
?
data
.
search_user_avg
.
per
:
data
.
trend
==
"
down
"
?
0
-
data
.
search_user_avg
.
per
:
data
.
search_user_avg
.
per
,
arr
:
data
.
search_user_avg_trend
.
seriesData
,
};
// top5_rank
// top5_rank
this
.
hotSearchData
=
[]
this
.
hotSearchData
=
[];
if
(
data
.
top5_rank
&&
data
.
top5_rank
.
length
){
if
(
data
.
top5_rank
&&
data
.
top5_rank
.
length
)
{
data
.
top5_rank
.
forEach
((
e
,
idx
)
=>
{
data
.
top5_rank
.
forEach
((
e
,
idx
)
=>
{
this
.
hotSearchData
.
push
(
this
.
hotSearchData
.
push
({
{
id
:
e
.
service_id
,
id
:
e
.
service_id
,
hotIndex
:
top_rank
,
hotIndex
:
top_rank
,
name
:
e
.
service_name
,
name
:
e
.
service_name
,
count
:
e
.
search_count
,
count
:
e
.
search_count
,
increases
:
increases
:
e
.
trend
==
'
up
'
?
e
.
search_user
.
per
:
e
.
trend
==
'
down
'
?
0
-
e
.
search_user
.
per
:
e
.
search_user
.
per
e
.
trend
==
"
up
"
}
?
e
.
search_user
.
per
)
:
e
.
trend
==
"
down
"
?
0
-
e
.
search_user
.
per
:
e
.
search_user
.
per
,
});
});
});
}
}
}
}
});
});
},
},
getServiceOverview
()
{
getServiceOverview
()
{
this
.
$api
.
dataAnalysis
.
getServiceOverview
().
then
(
response
=>
{
this
.
$api
.
dataAnalysis
.
getServiceOverview
().
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
overview
=
response
.
data
.
data
;
this
.
overview
=
response
.
data
.
data
;
this
.
das_data
.
data
=
Math
.
round
(
this
.
das_data
.
data
=
Math
.
round
(
...
@@ -520,7 +545,7 @@ export default {
...
@@ -520,7 +545,7 @@ export default {
});
});
},
},
getServiceHealth
()
{
getServiceHealth
()
{
this
.
$api
.
dataAnalysis
.
getServiceHealth
().
then
(
response
=>
{
this
.
$api
.
dataAnalysis
.
getServiceHealth
().
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
mult_data_state
=
response
.
data
.
data
.
seriesData
;
this
.
mult_data_state
=
response
.
data
.
data
.
seriesData
;
}
}
...
@@ -529,7 +554,7 @@ export default {
...
@@ -529,7 +554,7 @@ export default {
getServiceTrend
()
{
getServiceTrend
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceTrend
({
type
:
this
.
right_1_state
})
.
getServiceTrend
({
type
:
this
.
right_1_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
graph_arr
=
response
.
data
.
data
;
this
.
graph_arr
=
response
.
data
.
data
;
}
}
...
@@ -538,7 +563,7 @@ export default {
...
@@ -538,7 +563,7 @@ export default {
getServiceType
()
{
getServiceType
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceType
({
type
:
this
.
left_2_state
})
.
getServiceType
({
type
:
this
.
left_2_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
mult_data
=
response
.
data
.
data
.
seriesData
;
this
.
mult_data
=
response
.
data
.
data
.
seriesData
;
}
}
...
@@ -547,7 +572,7 @@ export default {
...
@@ -547,7 +572,7 @@ export default {
getServiceSectorse
()
{
getServiceSectorse
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceSectorse
({
type
:
this
.
left_3_state
})
.
getServiceSectorse
({
type
:
this
.
left_3_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
bar_data
=
response
.
data
.
data
;
this
.
bar_data
=
response
.
data
.
data
;
}
}
...
@@ -556,7 +581,7 @@ export default {
...
@@ -556,7 +581,7 @@ export default {
getServiceOrg
()
{
getServiceOrg
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceOrg
({
type
:
this
.
left_3_state
})
.
getServiceOrg
({
type
:
this
.
left_3_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
bar_data_org
=
response
.
data
.
data
;
this
.
bar_data_org
=
response
.
data
.
data
;
}
}
...
@@ -565,7 +590,7 @@ export default {
...
@@ -565,7 +590,7 @@ export default {
getServiceOpenness
()
{
getServiceOpenness
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceOpenness
({
type
:
this
.
right_2_state
})
.
getServiceOpenness
({
type
:
this
.
right_2_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
single_data
.
num
=
response
.
data
.
data
.
shared
;
this
.
single_data
.
num
=
response
.
data
.
data
.
shared
;
this
.
single_data1
.
num
=
response
.
data
.
data
.
privacy
;
this
.
single_data1
.
num
=
response
.
data
.
data
.
privacy
;
...
@@ -576,7 +601,7 @@ export default {
...
@@ -576,7 +601,7 @@ export default {
getServiceRequest
()
{
getServiceRequest
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceRequest
({
type
:
this
.
right_0_state
})
.
getServiceRequest
({
type
:
this
.
right_0_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
toplistData
=
response
.
data
.
data
;
this
.
toplistData
=
response
.
data
.
data
;
if
(
this
.
toplistData
&&
this
.
toplistData
.
length
!=
0
)
{
if
(
this
.
toplistData
&&
this
.
toplistData
.
length
!=
0
)
{
...
@@ -588,7 +613,7 @@ export default {
...
@@ -588,7 +613,7 @@ export default {
getServiceOnlineState
()
{
getServiceOnlineState
()
{
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceOnlineState
({
type
:
this
.
center_3_state
})
.
getServiceOnlineState
({
type
:
this
.
center_3_state
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
line_data
=
response
.
data
.
data
;
this
.
line_data
=
response
.
data
.
data
;
console
.
log
(
this
.
line_data
);
console
.
log
(
this
.
line_data
);
...
@@ -599,9 +624,9 @@ export default {
...
@@ -599,9 +624,9 @@ export default {
this
.
$api
.
dataAnalysis
this
.
$api
.
dataAnalysis
.
getServiceEstimated
({
.
getServiceEstimated
({
type
:
this
.
right_3_state
,
type
:
this
.
right_3_state
,
last_id
:
this
.
last_id
last_id
:
this
.
last_id
,
})
})
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
if
(
response
.
data
.
success
==
1
)
{
this
.
commentlistData
=
response
.
data
.
data
.
concat
(
this
.
commentlistData
=
response
.
data
.
data
.
concat
(
this
.
commentlistData
this
.
commentlistData
...
@@ -611,7 +636,7 @@ export default {
...
@@ -611,7 +636,7 @@ export default {
});
});
},
},
detailHotSearch
(
item
)
{
detailHotSearch
(
item
)
{
this
.
$router
.
push
(
'
/fwgl/0/0/servicedetail/
'
+
item
.
id
)
this
.
$router
.
push
(
"
/fwgl/0/0/servicedetail/
"
+
item
.
id
);
},
},
changeServiceTypeBtn
(
index
)
{
changeServiceTypeBtn
(
index
)
{
this
.
left_2_state
=
index
;
this
.
left_2_state
=
index
;
...
@@ -642,7 +667,7 @@ export default {
...
@@ -642,7 +667,7 @@ export default {
this
.
getServiceOnlineState
();
this
.
getServiceOnlineState
();
},
},
getTopologyData
()
{
getTopologyData
()
{
this
.
$api
.
workbench
.
getServiceTopology
().
then
(
response
=>
{
this
.
$api
.
workbench
.
getServiceTopology
().
then
(
(
response
)
=>
{
this
.
topology_datas
=
response
.
data
.
elements
;
this
.
topology_datas
=
response
.
data
.
elements
;
});
});
},
},
...
@@ -653,8 +678,8 @@ export default {
...
@@ -653,8 +678,8 @@ export default {
}
else
{
}
else
{
this
.
a
();
this
.
a
();
}
}
}
}
,
}
}
,
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/pages/workbench/component-center/process-management/process-design/index.vue
View file @
3e827bf5
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
{
max
:
16
,
message
:
"
不能超过16个字符
"
,
trigger
:
"
blur
"
},
{
max
:
16
,
message
:
"
不能超过16个字符
"
,
trigger
:
"
blur
"
},
],
],
workplace
:
[
workplace
:
[
{
required
:
true
,
message
:
"
请选择工作区域
"
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
请选择工作区域
"
,
trigger
:
"
change
"
},
],
],
desc
:
[
desc
:
[
{
required
:
true
,
message
:
"
请输入流程描述
"
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
请输入流程描述
"
,
trigger
:
"
blur
"
},
...
...
src/pages/workbench/fwzc_fwcs.vue
View file @
3e827bf5
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</el-select>
</el-select>
</el-input>
</el-input>
<el-button
<el-button
v-if=
"activeBtn == 0 || activeBtn == 4"
v-if=
"activeBtn == 0 || activeBtn ==
1 || activeBtn ==
4"
@
click=
"clickFwcs()"
@
click=
"clickFwcs()"
class=
"fwcs_btn_fwcs"
class=
"fwcs_btn_fwcs"
>
服务测试
</el-button>
>
服务测试
</el-button>
...
@@ -135,7 +135,6 @@
...
@@ -135,7 +135,6 @@
v-model=
"skfwQqt"
v-model=
"skfwQqt"
:label=
"item.id"
:label=
"item.id"
>
{{
item
.
name
}}
</el-radio>
>
{{
item
.
name
}}
</el-radio>
<el-button
v-if=
"activeBtn == 1"
@
click=
"clickFwcs()"
class=
"fwcs_btn_fwcs"
>
服务测试
</el-button>
</div>
</div>
</div>
</div>
<div
v-if=
"activeBtn == 4 && zhyyVal != 34"
>
<div
v-if=
"activeBtn == 4 && zhyyVal != 34"
>
...
@@ -1022,7 +1021,6 @@ export default {
...
@@ -1022,7 +1021,6 @@ export default {
self
.
jcxxtx
=
true
;
self
.
jcxxtx
=
true
;
if
(
self
.
$store
.
state
.
znztParams
)
{
if
(
self
.
$store
.
state
.
znztParams
)
{
let
data
=
this
.
$store
.
state
.
znztParams
;
let
data
=
this
.
$store
.
state
.
znztParams
;
console
.
log
(
data
);
self
.
form
.
name
=
data
.
name
;
self
.
form
.
name
=
data
.
name
;
self
.
form
.
desc
=
data
.
descript
;
self
.
form
.
desc
=
data
.
descript
;
self
.
form
.
area
=
Number
(
data
.
sectors
);
self
.
form
.
area
=
Number
(
data
.
sectors
);
...
@@ -1033,7 +1031,6 @@ export default {
...
@@ -1033,7 +1031,6 @@ export default {
self
.
is_portal
=
true
;
self
.
is_portal
=
true
;
}
else
if
(
self
.
$store
.
state
.
appBuilderParams
)
{
}
else
if
(
self
.
$store
.
state
.
appBuilderParams
)
{
let
data
=
this
.
$store
.
state
.
appBuilderParams
;
let
data
=
this
.
$store
.
state
.
appBuilderParams
;
console
.
log
(
data
);
self
.
form
.
name
=
data
.
name
;
self
.
form
.
name
=
data
.
name
;
self
.
form
.
desc
=
data
.
descript
;
self
.
form
.
desc
=
data
.
descript
;
self
.
form
.
area
=
Number
(
data
.
sectors
);
self
.
form
.
area
=
Number
(
data
.
sectors
);
...
...
src/router/index.js
View file @
3e827bf5
...
@@ -451,12 +451,12 @@ export default new Router({
...
@@ -451,12 +451,12 @@ export default new Router({
component
:
()
=>
import
(
"
@/pages/data-analysis/service-control
"
),
component
:
()
=>
import
(
"
@/pages/data-analysis/service-control
"
),
},
},
{
{
path
:
"
/data_analysis/super_service
"
,
// 数据分析中心服务-
组织
path
:
"
/data_analysis/super_service
"
,
// 数据分析中心服务-
超管
name
:
"
superServiceDataAnalysis
"
,
name
:
"
superServiceDataAnalysis
"
,
component
:
()
=>
import
(
"
@/pages/data-analysis/super-service
"
),
component
:
()
=>
import
(
"
@/pages/data-analysis/super-service
"
),
},
},
{
{
path
:
"
/data_analysis/super_application
"
,
// 数据分析中心应用-
组织
path
:
"
/data_analysis/super_application
"
,
// 数据分析中心应用-
超管
name
:
"
superApplicationDataAnalysis
"
,
name
:
"
superApplicationDataAnalysis
"
,
component
:
()
=>
import
(
"
@/pages/data-analysis/super-application
"
),
component
:
()
=>
import
(
"
@/pages/data-analysis/super-application
"
),
},
},
...
...
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