提交 1dc805af authored 作者: yanpeng's avatar yanpeng

ZM module

上级 a3026411
...@@ -51,7 +51,8 @@ export function getEntitiesDataInfo() { ...@@ -51,7 +51,8 @@ export function getEntitiesDataInfo() {
method: "GET", method: "GET",
// url: '/api/entitiesDataInfo/latestInfoSelect', // url: '/api/entitiesDataInfo/latestInfoSelect',
// url: "/api/entitiesDataInfo/getLatestInfo", // url: "/api/entitiesDataInfo/getLatestInfo",
url: "/api/sanctionList/export/getLatestInfo" // url: "/api/sanctionList/export/getLatestInfo"
url: "/api/sanctionList/export/getLatestEntityListInfo"
}) })
); );
} }
...@@ -121,7 +122,7 @@ export function getSanctionsInfoCount() { ...@@ -121,7 +122,7 @@ export function getSanctionsInfoCount() {
* sanReason: string * sanReason: string
* }[]>} * }[]>}
*/ */
export function getSanctionProcess(typeName = "实体清单", pageNum = 1, pageSize = 10,isCn = false) { export function getSanctionProcess(typeName = "实体清单", pageNum = 1, pageSize = 10, isCn = false) {
return request200( return request200(
request({ request({
method: "POST", method: "POST",
...@@ -835,7 +836,6 @@ export function getScientificImpactEntityList(startTime) { ...@@ -835,7 +836,6 @@ export function getScientificImpactEntityList(startTime) {
); );
} }
/** /**
* 概览页--获取出口管制制裁措施 * 概览页--获取出口管制制裁措施
* @param {Object} data * @param {Object} data
...@@ -854,6 +854,4 @@ export function getExportControlList(data) { ...@@ -854,6 +854,4 @@ export function getExportControlList(data) {
); );
} }
//
//
\ No newline at end of file
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<div class="content-wrapper"> <div class="content-wrapper">
<div class="btn-wrapper" @mouseenter="stopAutoPlay" @mouseleave="startAutoPlay(true)"> <div class="btn-wrapper" @mouseenter="stopAutoPlay" @mouseleave="startAutoPlay(true)">
<div class="cards-mask"> <div class="cards-mask">
<div class="btn-box" :style="{ transform: `translateX(-${currentIndex * (cardWidth + cardGap)}px)` }"> <!-- <div class="btn-box" :style="{ transform: `translateX(-${currentIndex * (cardWidth + cardGap)}px)` }"> -->
<div class="btn-box">
<div class="btn-item-outer" v-for="(item, indexx) in buttonsData" :key="indexx"> <div class="btn-item-outer" v-for="(item, indexx) in buttonsData" :key="indexx">
<div <div
v-for="(value, index) in item" v-for="(value, index) in item"
......
...@@ -969,6 +969,13 @@ const initRightDonut = async () => { ...@@ -969,6 +969,13 @@ const initRightDonut = async () => {
color: `rgba(${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 256)}, ${Math.floor( color: `rgba(${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 256)}, ${Math.floor(
Math.random() * 256 Math.random() * 256
)}, 1)` )}, 1)`
},
label: {
show: true,
position: "outside",
fontWeight: "bold",
fontSize: 14,
color: "#333"
} }
}; };
let item1 = { let item1 = {
...@@ -976,7 +983,14 @@ const initRightDonut = async () => { ...@@ -976,7 +983,14 @@ const initRightDonut = async () => {
value: res.data[i].amount, value: res.data[i].amount,
x: Math.random() * 10, x: Math.random() * 10,
y: Math.random() * 10, y: Math.random() * 10,
symbolSize: res.data[i].amount * 9 symbolSize: res.data[i].amount * 9,
label: {
show: true,
position: "outside",
fontWeight: "bold",
fontSize: 14,
color: "#333"
}
}; };
// 先判断data中是否包含上述数据 // 先判断data中是否包含上述数据
...@@ -1000,7 +1014,10 @@ const initRightDonut = async () => { ...@@ -1000,7 +1014,10 @@ const initRightDonut = async () => {
}, },
lineStyle: { lineStyle: {
width: res.data[i].amount, width: res.data[i].amount,
curveness: 0.2 curveness: 0.3,
color: `rgba(${Math.floor(Math.random() * 256)}, ${Math.floor(Math.random() * 100 + 100)}, ${Math.floor(
Math.random() * 256
)}, 0.6)`
} }
}; };
...@@ -1043,7 +1060,7 @@ const initRightDonut = async () => { ...@@ -1043,7 +1060,7 @@ const initRightDonut = async () => {
{ {
type: "graph", type: "graph",
layout: "circular", layout: "circular",
symbolSize: 50, symbolSize: 80,
roam: true, roam: true,
label: { label: {
show: true show: true
...@@ -1059,7 +1076,13 @@ const initRightDonut = async () => { ...@@ -1059,7 +1076,13 @@ const initRightDonut = async () => {
lineStyle: { lineStyle: {
opacity: 0.9, opacity: 0.9,
width: 2, width: 2,
curveness: 0 curveness: 0.3
},
emphasis: {
focus: "adjacency",
lineStyle: {
width: 4
}
} }
} }
] ]
......
...@@ -2,97 +2,107 @@ ...@@ -2,97 +2,107 @@
<div class="wrap"> <div class="wrap">
<div class="box1"> <div class="box1">
<AnalysisBox title="相关政令关联分析" :showAllBtn="false"> <AnalysisBox title="相关政令关联分析" :showAllBtn="false">
<div class="box1-main"> <div class="box1-main">
<div class="left"> <div class="left">
<el-empty v-if="siderList.length === 0" style="padding-top: 240px;" description="暂无数据" :image-size="100" /> <el-empty
<div v-if="siderList.length === 0"
class="left-item" style="padding-top: 240px"
:class="{ leftItemActive: siderActiveIndex === index }" description="暂无数据"
v-for="(item, index) in siderList" :image-size="100"
:key="index" />
@click="handleClickSider(index)" <div
> class="left-item"
<div class="time">{{ item.time }}</div> :class="{ leftItemActive: siderActiveIndex === index }"
<div class="title">{{ item.title }}</div> v-for="(item, index) in siderList"
:key="index"
@click="handleClickSider(index)"
>
<div class="time">{{ item.time }}</div>
<div class="title">{{ item.title }}</div>
</div>
</div> </div>
</div>
<div class="right"> <div class="right">
<div class="info-box"> <div class="info-box">
<div class="info-left"> <div class="info-left">
<img :src="decreeInfo.img" alt="" /> <img :src="decreeInfo.img" alt="" />
</div> </div>
<div class="info-right"> <div class="info-right">
<div class="info-item"> <div class="info-item">
<div class="item-left">{{ "政令全称:" }}</div> <div class="item-left">{{ "政令全称:" }}</div>
<div class="item-right1"> <div class="item-right1">
<div class="item-right-text"> <div class="item-right-text">
{{ decreeInfo.totalTitle }} {{ decreeInfo.totalTitle }}
</div> </div>
<div <div
class="item-right-icon" class="item-right-icon"
v-if="decreeInfo.totalTitle" v-if="decreeInfo.totalTitle"
@click="handleToDecreeDetail(decreeInfo)" @click="handleToDecreeDetail(decreeInfo)"
> >
<img src="./assets/icons/open-icon.png" alt="" /> <img src="./assets/icons/open-icon.png" alt="" />
</div>
</div> </div>
</div> </div>
</div> <div class="info-item">
<div class="info-item"> <div class="item-left">{{ "英文全称:" }}</div>
<div class="item-left">{{ "英文全称:" }}</div> <div class="item-right">
<div class="item-right"> {{ decreeInfo.eTotalTitle }}
{{ decreeInfo.eTotalTitle }} </div>
</div> </div>
</div> <div class="info-item">
<div class="info-item"> <div class="item-left">{{ "签署时间:" }}</div>
<div class="item-left">{{ "签署时间:" }}</div> <div class="item-right">
<div class="item-right"> {{ decreeInfo.signTime }}
{{ decreeInfo.signTime }} </div>
</div> </div>
</div> <div class="info-item">
<div class="info-item"> <div class="item-left">{{ "发布机构:" }}</div>
<div class="item-left">{{ "发布机构:" }}</div> <div class="item-right">
<div class="item-right"> {{ decreeInfo.signOrg }}
{{ decreeInfo.signOrg }} </div>
</div> </div>
</div> </div>
</div> </div>
</div> <div class="list-box">
<div class="list-box"> <div class="list-header">
<div class="list-header"> <div class="icon">
<div class="icon"> <img src="./assets/icons/box1-list-header-icon.png" alt="" />
<img src="./assets/icons/box1-list-header-icon.png" alt="" /> </div>
<div class="title">{{ "政令主要内容" }}</div>
</div> </div>
<div class="title">{{ "政令主要内容" }}</div> <div class="list-main">
</div> <el-empty
<div class="list-main"> v-if="showList.length === 0"
<el-empty v-if="showList.length === 0" style="padding-top: 150px;" description="暂无数据" :image-size="100" /> style="padding-top: 150px"
<div class="list-item" v-for="(val, idx) in showList" :key="idx"> description="暂无数据"
<div class="id">{{ idx + 1 }}</div> :image-size="100"
<div class="title">{{ val.content }}</div> />
<!-- <div class="open"> <div class="list-item" v-for="(val, idx) in showList" :key="idx">
<div class="id">{{ idx + 1 }}</div>
<div class="title">{{ val.content }}</div>
<!-- <div class="open">
<img src="./assets/icons/open-icon.png" alt="" /> <img src="./assets/icons/open-icon.png" alt="" />
</div> --> </div> -->
</div>
</div> </div>
</div> </div>
</div> <div class="list-footer">
<div class="list-footer"> <div class="footer-left">
<div class="footer-left"> {{ `共 ${decreeInfo.list.length} 项` }}
{{ `共 ${decreeInfo.list.length} 项` }} </div>
</div> <div class="footer-right">
<div class="footer-right"> <el-pagination
<el-pagination @current-change="handleCurrentChange"
@current-change="handleCurrentChange" :pageSize="pageSize"
:pageSize="pageSize" :current-page="currentPage"
:current-page="currentPage" background
background layout="prev, pager, next"
layout="prev, pager, next" :total="decreeInfo.list.length"
:total="decreeInfo.list.length" />
/> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
</AnalysisBox> </AnalysisBox>
</div> </div>
</div> </div>
...@@ -411,10 +421,11 @@ onMounted(() => { ...@@ -411,10 +421,11 @@ onMounted(() => {
margin-top: 22px; margin-top: 22px;
.info-item { .info-item {
display: flex; display: flex;
height: 30px; min-height: 30px;
max-height: 60px;
margin-bottom: 8px; margin-bottom: 8px;
.item-left { .item-left {
margin-top: 3px; // margin-top: 3px;
width: 100px; width: 100px;
height: 24px; height: 24px;
color: rgba(59, 65, 75, 1); color: rgba(59, 65, 75, 1);
...@@ -425,12 +436,12 @@ onMounted(() => { ...@@ -425,12 +436,12 @@ onMounted(() => {
} }
.item-right { .item-right {
width: 769px; width: 769px;
height: 30px; // height: 30px;
color: rgba(59, 65, 75, 1); color: rgba(59, 65, 75, 1);
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
line-height: 30px; line-height: 25px;
} }
.item-right1 { .item-right1 {
display: flex; display: flex;
...@@ -491,7 +502,7 @@ onMounted(() => { ...@@ -491,7 +502,7 @@ onMounted(() => {
overflow-y: auto; overflow-y: auto;
.list-item { .list-item {
width: 1180px; width: 1180px;
height: 54px; min-height: 65px;
box-sizing: border-box; box-sizing: border-box;
border-radius: 4px; border-radius: 4px;
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
...@@ -515,13 +526,14 @@ onMounted(() => { ...@@ -515,13 +526,14 @@ onMounted(() => {
.title { .title {
margin-left: 13px; margin-left: 13px;
margin-top: 12px; margin-top: 12px;
height: 30px; margin-bottom: 12px;
// height: 30px;
width: 1100px; width: 1100px;
color: rgba(59, 65, 75, 1); color: rgba(59, 65, 75, 1);
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
line-height: 30px; line-height: 25px;
} }
.open { .open {
width: 16px; width: 16px;
...@@ -553,4 +565,4 @@ onMounted(() => { ...@@ -553,4 +565,4 @@ onMounted(() => {
} }
} }
} }
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论