Commit 32fade36 authored by 徐一鸣's avatar 徐一鸣

Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev

parents bf6121ed 0c3addf8
...@@ -874,7 +874,7 @@ em { ...@@ -874,7 +874,7 @@ em {
} */ } */
.el-table__placeholder { .el-table__placeholder {
display: inline-block; display: inline-block;
width: 40px; width: 24px;
} }
.th_pink { .th_pink {
background-color: #faf2e2 !important; background-color: #faf2e2 !important;
......
...@@ -193,11 +193,7 @@ ...@@ -193,11 +193,7 @@
<el-col :span="6" class="in_right"> <el-col :span="6" class="in_right">
<el-row> <el-row>
<el-col :span="24" class="in_block"> <el-col :span="24" class="in_block">
<block-radius <block-radius :show_header="true" title="应用部署排名分析" class="block">
:show_header="true"
title="应用部署排名分析"
class="block"
>
<toplist <toplist
class="block-radius-content" class="block-radius-content"
:options="toplistData" :options="toplistData"
......
...@@ -179,11 +179,7 @@ ...@@ -179,11 +179,7 @@
<el-col :span="6" class="in_right"> <el-col :span="6" class="in_right">
<el-row> <el-row>
<el-col :span="24" class="in_block"> <el-col :span="24" class="in_block">
<block-radius <block-radius :show_header="true" title="服务调用排名分析" class="block">
:show_header="true"
title="服务调用排名分析"
class="block"
>
<toplist <toplist
class="block-radius-content" class="block-radius-content"
:options="toplistData" :options="toplistData"
...@@ -618,8 +614,8 @@ export default { ...@@ -618,8 +614,8 @@ export default {
this.commentlistData = response.data.data.concat( this.commentlistData = response.data.data.concat(
this.commentlistData this.commentlistData
); );
this.last_id = this.commentlistData[0].last_id;
} }
this.last_id = this.commentlistData[0].last_id;
} }
}); });
}, },
...@@ -630,13 +626,21 @@ export default { ...@@ -630,13 +626,21 @@ export default {
}) })
.then((response) => { .then((response) => {
if (response.data.success == 1) { if (response.data.success == 1) {
let data = response.data.data;
this.serviceSpData = {
xAxisData: data.xAxis.data,
seriesData: data.series,
};
} }
}); });
}, },
getServiceApprovalStatus() { getServiceApprovalStatus() {
this.$api.dataAnalysis.getServiceApprovalStatus().then((response) => { this.$api.dataAnalysis.getServiceApprovalStatus().then((response) => {
if (response.data.success == 1) { if (response.data.success == 1) {
this.fwsp_data = response.data.data; this.fwsp_data = [
{ name: "已审批", value: response.data.data.approval },
{ name: "待审批", value: response.data.data.to_approval },
];
} }
}); });
}, },
......
...@@ -37,11 +37,11 @@ const dataAnalysis = { ...@@ -37,11 +37,11 @@ const dataAnalysis = {
getServiceHotSearch() { getServiceHotSearch() {
return axios.get(`/apaas/service/v3/statistics/normal/service/search`); return axios.get(`/apaas/service/v3/statistics/normal/service/search`);
}, },
getServiceApprovalChanges() { getServiceApprovalChanges(params) {
return axios.get(``); return axios.get(`/apaas/service/v3/statistics/normal/service/approval/trend?type=${params.type == 0 ? 'day14' : 'day30'}`);
}, },
getServiceApprovalStatus() { getServiceApprovalStatus() {
return axios.get(``); return axios.get(`/apaas/service/v3/statistics/normal/service/approval/distribute`);
}, },
//app //app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment