diff --git a/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue b/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue
index 5286603..7231155 100644
--- a/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue
+++ b/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue
@@ -44,7 +44,7 @@
项目里程碑
-
+
@@ -58,6 +58,7 @@
const projectInfo = getProjectInfo()
const projectCompanyList = ref([])
const projectTypes = ref([])
+const echartsList=ref(false)
const xmxxList=ref([
{label:'项目名称',props:'projectName'},
{label:'立项时间',props:'startTime'},
@@ -84,6 +85,8 @@
uri: item.milestoneName,
status: item.status
}))
+
+ echartsList.value=true
}
const getProjectCompanyLists =async () => {
const res = await getProjectCompanyList()
@@ -158,7 +161,7 @@
font-weight: 700;
}
.xmlxb {
- height: 240px;
+ // min-height: 240px;
}
diff --git a/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue b/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue
index 5286603..7231155 100644
--- a/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue
+++ b/src/views/Sponge_screen/DialogTabs/component/XiangXiXinXi.vue
@@ -44,7 +44,7 @@
项目里程碑
-
+
@@ -58,6 +58,7 @@
const projectInfo = getProjectInfo()
const projectCompanyList = ref([])
const projectTypes = ref([])
+const echartsList=ref(false)
const xmxxList=ref([
{label:'项目名称',props:'projectName'},
{label:'立项时间',props:'startTime'},
@@ -84,6 +85,8 @@
uri: item.milestoneName,
status: item.status
}))
+
+ echartsList.value=true
}
const getProjectCompanyLists =async () => {
const res = await getProjectCompanyList()
@@ -158,7 +161,7 @@
font-weight: 700;
}
.xmlxb {
- height: 240px;
+ // min-height: 240px;
}
diff --git a/src/views/Sponge_screen/DialogTabs/component/xmlcbEcharts.vue b/src/views/Sponge_screen/DialogTabs/component/xmlcbEcharts.vue
index 58d5998..0034ed7 100644
--- a/src/views/Sponge_screen/DialogTabs/component/xmlcbEcharts.vue
+++ b/src/views/Sponge_screen/DialogTabs/component/xmlcbEcharts.vue
@@ -15,7 +15,7 @@
chart.resize();
});
- var xn = 5;
+ var xn = 8;
var ynj = [0, 200, 400, 600, 800, 1000, 1200, 1400]
var yno = [1400, 1200, 1000, 800, 600, 400, 200, 0]
var data = echartData.map((el, ei) => {
@@ -40,7 +40,7 @@
})
chart.setOption({
grid: [
- {x: 110, y: 20, width: "95%", height: '95%' ,
+ {x: 30, y: 0, width: "95%", height: '95%' ,
tooltip:{
trigger: 'item',
formatter: "{a}"
@@ -87,7 +87,7 @@
label:{
show: true,
color: '#000000',
- position: [6, 45],
+ position: [16, 45],
formatter: "{a}"
},
zlevel: 1
@@ -99,7 +99,7 @@
hoverAnimation: true,
nodeScaleRatio: false,
symbol: 'rectangle', // 节点显示形状
- symbolSize:[100 ,36], // 节点大小
+ symbolSize:[90 ,36], // 节点大小
edgeSymbol: ['none', 'arrow'], // 线两边的标记
symbolOffset: [0, 0],
edgeSymbolSize: [0, 2], // 标记大小
@@ -160,12 +160,8 @@