"src/page/main/forewarning/rule-set/add/index.vue" did not exist on "894ce7f6b8516c571fbcafe5ff19c979d3af4913"
Commit d1cd326b authored by 刘殿昕's avatar 刘殿昕

Merge branch 'dev'

parents 4de6c1b1 cc65b1a3
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
name: "", name: "",
type: "pie", type: "pie",
clockWise: false, clockWise: false,
radius: [60, 63], radius: [50, 53],
center: ["50%", "46%"], center: ["50%", "46%"],
hoverAnimation: false, hoverAnimation: false,
avoidLabelOverlap: true, avoidLabelOverlap: true,
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div class="main_container-left" v-if="data.cover"> <div class="main_container-left" v-if="data.cover">
<img :src="data.cover" width="100%" v-if="data.type !== 'workflow'" /> <img :src="data.cover" width="100%" v-if="data.type !== 'workflow'" />
<workflows-view <workflows-view
:zoom="0.6" :isShop="true"
:id="parseInt(data.workflows_id)" :id="parseInt(data.workflows_id)"
:hideDetail="true" :hideDetail="true"
v-if="data.type == 'workflow'" v-if="data.type == 'workflow'"
...@@ -381,8 +381,8 @@ export default { ...@@ -381,8 +381,8 @@ export default {
} }
.main_container-left > .map_view { .main_container-left > .map_view {
position: absolute; position: absolute;
right: 3px; right: 1px;
bottom: 3px; bottom: 2px;
} }
.main_container-right { .main_container-right {
width: 896px; width: 896px;
......
<template> <template>
<div class="workflows-view" ref="flowContainer" :style="{ zoom: zoom, height: Number(max_height + 180) + 'px' }"> <div class="workflows-view" ref="flowContainer" :style="{ zoom: isShop ? maxParentHeight / Number(max_height + 180) : zoom, height: Number(max_height + 180) + 'px' }">
<super-flow <super-flow
ref="superFlow" ref="superFlow"
:node-list="nodeList" :node-list="nodeList"
...@@ -80,6 +80,14 @@ export default { ...@@ -80,6 +80,14 @@ export default {
type: Number, type: Number,
default: 1, default: 1,
}, },
maxParentHeight: {
type: Number,
default: 200,
},
isShop: {
type: Boolean,
default: false,
}
}, },
data() { data() {
return { return {
......
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
class="block-radius-content" class="block-radius-content"
:data="mult_data_state" :data="mult_data_state"
:show_center_data="false" :show_center_data="false"
:bar_width="10"
></multiple-circle> ></multiple-circle>
<starlist <starlist
v-else v-else
...@@ -72,6 +71,15 @@ ...@@ -72,6 +71,15 @@
class="block-radius-content" class="block-radius-content"
:data="mult_data" :data="mult_data"
:text="text" :text="text"
:color="[
'#27bfee',
'#f56b4c',
'#435290',
'#597ec0',
'#e56600',
'#a5937b',
'#8210c5',
]"
></multiple-circle> ></multiple-circle>
</block-radius> </block-radius>
</el-col> </el-col>
...@@ -741,7 +749,7 @@ export default { ...@@ -741,7 +749,7 @@ export default {
data.score3 + data.score3 +
data.score2 + data.score2 +
data.score1; data.score1;
console.log(this.starlistData, this.starlistTotal) console.log(this.starlistData, this.starlistTotal);
} }
} }
}); });
......
This diff is collapsed.
This diff is collapsed.
...@@ -485,7 +485,7 @@ export default { ...@@ -485,7 +485,7 @@ export default {
}, },
public1(item){ public1(item){
this.dialogInfo.title = "提示"; this.dialogInfo.title = "提示";
this.dialogInfo.msg = `发布流程后,流程将部署到工作区域并上架到服务超市,是否发布该流程?`; this.dialogInfo.msg = `发布流程后,流程将部署到工作区域并上架到服务超市,是否发布该流程?`;
this.dialogInfo.cancelText = "取消"; this.dialogInfo.cancelText = "取消";
this.dialogInfo.sunbmitText = "发布"; this.dialogInfo.sunbmitText = "发布";
this.dialogInfo.submit = () => { this.dialogInfo.submit = () => {
......
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
}, },
publishItem(item) { publishItem(item) {
this.dialogInfo.title = "提示"; this.dialogInfo.title = "提示";
this.dialogInfo.msg = `发布流程后,流程将部署到工作区域并上架到服务超市,是否发布该流程?`; this.dialogInfo.msg = `发布流程后,流程将部署到工作区域并上架到服务超市,是否发布该流程?`;
this.dialogInfo.cancelText = "取消"; this.dialogInfo.cancelText = "取消";
this.dialogInfo.sunbmitText = "发布"; this.dialogInfo.sunbmitText = "发布";
this.dialogInfo.submit = () => { this.dialogInfo.submit = () => {
......
...@@ -1628,7 +1628,7 @@ export default { ...@@ -1628,7 +1628,7 @@ export default {
} }
}; };
var data = []; var data = [];
var color = ["#515fe7", "#36a5ec", "#da9f2a", "#23b2a7", "#d46002"]; var color = ["#515fe7", "#36a5ec", "#da9f2a", "#23b2a7", "#d46002", "#44a072"];
var legendarr = []; var legendarr = [];
var temp2_data = 0; var temp2_data = 0;
data_val.forEach(e => { data_val.forEach(e => {
...@@ -1661,8 +1661,8 @@ export default { ...@@ -1661,8 +1661,8 @@ export default {
name: "", name: "",
type: "pie", type: "pie",
clockWise: false, clockWise: false,
radius: [52, 54], radius: [44, 46],
center: ["51%", "45%"], center: ["50%", "45%"],
z:5, z:5,
hoverAnimation: false, hoverAnimation: false,
itemStyle: { itemStyle: {
...@@ -1693,8 +1693,8 @@ export default { ...@@ -1693,8 +1693,8 @@ export default {
{ {
type:'pie', type:'pie',
z:4, z:4,
center:['51%','45%'], center:['50%','45%'],
radius:['43%','63%'], radius:['36%','54%'],
hoverAnimation:false, hoverAnimation:false,
avoidLabelOverlap: false, avoidLabelOverlap: false,
label: { label: {
......
...@@ -252,8 +252,9 @@ export default { ...@@ -252,8 +252,9 @@ export default {
}, },
get_list_pod(){ get_list_pod(){
console.log(this.pod_name);
this.$http this.$http
.get(`/apaas/hubApi/cloud/podList/${this.formInline.area}?itemsPerPage=${this.pageSize}&page=${this.currentPage}&label=${this.formInline.name}&filterBy=${this.pod_name}`) .get(`/apaas/hubApi/cloud/podList/${this.formInline.area}?itemsPerPage=${this.pageSize}&page=${this.currentPage}&label=${this.formInline.name}&filterBy=${this.pod_name != "" ? "name," : ""}${this.pod_name}`)
.then(response => { .then(response => {
if(response.data.success){ if(response.data.success){
this.listTotal = response.data.data.listMeta.totalItems this.listTotal = response.data.data.listMeta.totalItems
......
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