提交 47a7f9fe authored 作者: yanpeng's avatar yanpeng

部分问题修改

上级 7e6e75d4
...@@ -417,6 +417,7 @@ const pageSize = ref(5); // 每页显示 5 条 ...@@ -417,6 +417,7 @@ const pageSize = ref(5); // 每页显示 5 条
const handleFieldChange = domainId => { const handleFieldChange = domainId => {
console.log("领域改变", domainId); console.log("领域改变", domainId);
console.log("领域值 =>", selectedFieldForLatest.value); console.log("领域值 =>", selectedFieldForLatest.value);
newsCurrentPage.value = 1;
getUSGovernmentLatestDynamicData(); getUSGovernmentLatestDynamicData();
}; };
......
...@@ -1062,16 +1062,20 @@ const initRightDonut = async () => { ...@@ -1062,16 +1062,20 @@ const initRightDonut = async () => {
{ {
type: "graph", type: "graph",
layout: "circular", layout: "circular",
circular: {
rotateLabel: true
},
symbolSize: 80, symbolSize: 80,
roam: true, roam: true,
label: { label: {
show: true show: true,
position: "outside"
}, },
edgeSymbol: ["circle", ""], edgeSymbol: ["circle", ""],
edgeSymbolSize: [4, 80], edgeSymbolSize: [4, 80],
edgeLabel: { edgeLabel: {
fontSize: 20, fontSize: 20,
show: false show: true
}, },
data: data, data: data,
// links: [], // links: [],
...@@ -1232,7 +1236,12 @@ const getPredictionList = async () => { ...@@ -1232,7 +1236,12 @@ const getPredictionList = async () => {
const res = await getPrediction(); const res = await getPrediction();
if (res && res.code === 200) { if (res && res.code === 200) {
console.log("----getPredictionList", res.data); console.log("----getPredictionList", res.data);
warningList.value = res.data; warningList.value = res.data.map(item => {
return {
...item,
statementList: item.statementList.reverse()
};
});
} }
} catch (error) { } catch (error) {
console.error("获取联盟动态接口失败:", error); console.error("获取联盟动态接口失败:", error);
...@@ -2055,7 +2064,7 @@ watch(activeDate, async () => { ...@@ -2055,7 +2064,7 @@ watch(activeDate, async () => {
.area-left { .area-left {
width: 792px; width: 792px;
height: 500px; height: 520px;
box-sizing: border-box; box-sizing: border-box;
border-radius: var(---10, 10px); border-radius: var(---10, 10px);
/* 业务系统/模块阴影 */ /* 业务系统/模块阴影 */
...@@ -2098,7 +2107,7 @@ watch(activeDate, async () => { ...@@ -2098,7 +2107,7 @@ watch(activeDate, async () => {
.area-right { .area-right {
width: 792px; width: 792px;
height: 500px; height: 520px;
box-sizing: border-box; box-sizing: border-box;
border-radius: var(---10, 10px); border-radius: var(---10, 10px);
/* 业务系统/模块阴影 */ /* 业务系统/模块阴影 */
...@@ -2134,8 +2143,8 @@ watch(activeDate, async () => { ...@@ -2134,8 +2143,8 @@ watch(activeDate, async () => {
.right-content { .right-content {
width: 100%; width: 100%;
height: calc(100% - 48px); height: 450px;
padding: 33px 48px 59px 50px; // padding: 33px 48px 59px 50px;
} }
} }
} }
......
...@@ -1024,16 +1024,19 @@ export const getMultipleBarChart_m = object => { ...@@ -1024,16 +1024,19 @@ export const getMultipleBarChart_m = object => {
type: "value", type: "value",
splitNumber: 5, splitNumber: 5,
alignTicks: false, alignTicks: false,
name: "个", axisLabel: {
nameLocation: "end", formatter: "{value} 个"
nameGap: 10, }
nameTextStyle: { // name: "个",
color: "rgba(95, 101, 108, 1)", // nameLocation: "end",
fontSize: 14, // nameGap: 10,
fontWeight: 400, // nameTextStyle: {
fontFamily: "Microsoft YaHei", // color: "rgba(95, 101, 108, 1)",
padding: [0, 0, 0, 0] // fontSize: 14,
} // fontWeight: 400,
// fontFamily: "Microsoft YaHei",
// padding: [0, 0, 0, 0]
// }
}, },
series: datas series: datas
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论