提交 28866a30 authored 作者: yanpeng's avatar yanpeng

api

上级 1a8ab6e3
......@@ -2,23 +2,23 @@ import request from "@/api/request.js";
// 实体清单-制裁概况-获取实体清单基本信息
export function getEntityInfo(sanType) {
return request({
method: 'GET',
url: `/api/sanctionList/baseInfo/${sanType}`
})
return request({
method: "GET",
url: `/api/sanctionList/baseInfo/${sanType}`
});
}
// 实体清单-制裁概况-获取发布机构与重点人物
/**
* @param {sanTypeId}
* @param {sanTypeId}
* @header token
*/
export function getPublishInfo(params) {
return request({
method: 'GET',
url: `/api/sanctionList/getPublishedOrg`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/getPublishedOrg`,
params
});
}
// 实体清单-制裁概况-获取发布机构机构动态
......@@ -28,11 +28,11 @@ export function getPublishInfo(params) {
* @header token
*/
export function getPublishOrgInfo(data) {
return request({
method: 'POST',
url: `/api/organization/relate/news`,
data,
})
return request({
method: "POST",
url: `/api/organization/relate/news`,
data
});
}
// 实体清单-制裁概况-获取实体清单更新历史
......@@ -46,15 +46,13 @@ export function getPublishOrgInfo(data) {
* @header token
*/
export function getEntityUpdateInfo(data) {
return request({
method: 'POST',
url: `/api/entitiesDataCount/getSanctionProcess`,
data,
})
return request({
method: "POST",
url: `/api/entitiesDataCount/getSanctionProcess`,
data
});
}
/**
* 实体清单列表-制裁概况-获取实体清单列表
* @param {Object} data
......@@ -70,12 +68,12 @@ export function getEntityUpdateInfo(data) {
* @param {number} [data.pageSize=10] - 每页数量
*/
export function getExportControlList(data, options = {}) {
return request({
method: "POST",
url: "/api/sanctionList/pageQuery",
data,
...options
})
return request({
method: "POST",
url: "/api/sanctionList/pageQuery",
data,
...options
});
}
// 实体清单-制裁概况-50%规则涉及实体数
......@@ -92,32 +90,32 @@ export function getExportControlList(data, options = {}) {
* @header token
*/
export function get50PercentEntityCount(data) {
return request({
method: 'POST',
url: `/api/sanctionList/getRuleCount`,
data,
})
return request({
method: "POST",
url: `/api/sanctionList/getRuleCount`,
data
});
}
// 实体清单-数据统计-总量统计
export function getTotalCount() {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/total`
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/total`
});
}
// 实体清单-数据统计-制裁实体数量变化情况
/**
* @param {countType}
* @param {countType}
* @header token
*/
export function getSanctionCountChange(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/num`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/num`,
params
});
}
// 实体清单-数据统计-制裁实体地域分布情况
......@@ -128,11 +126,11 @@ export function getSanctionCountChange(params) {
* @header token
*/
export function getRegionCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/region`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/region`,
params
});
}
// 实体清单-数据统计-制裁实体领域分布情况
......@@ -143,11 +141,11 @@ export function getRegionCount(params) {
* @header token
*/
export function getTechDomainCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/domain`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/domain`,
params
});
}
// 实体清单-数据统计-制裁实体类型分布情况
......@@ -158,11 +156,11 @@ export function getTechDomainCount(params) {
* @header token
*/
export function getEntityTypeCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/entityType`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/entityType`,
params
});
}
// 实体清单-深度挖掘-选择制裁
......@@ -176,11 +174,11 @@ export function getEntityTypeCount(params) {
* @header token
*/
export function getDeepMiningSelect(data) {
return request({
method: 'POST',
url: `/api/entitiesDataCount/getSanctionProcess`,
data,
})
return request({
method: "POST",
url: `/api/entitiesDataCount/getSanctionProcess`,
data
});
}
// 实体清单-深度挖掘-产业链列表信息
......@@ -189,11 +187,11 @@ export function getDeepMiningSelect(data) {
* @header token
*/
export function getDeepMiningIndustry(params) {
return request({
method: 'GET',
url: `/api/chain/getChainInfo`,
params,
})
return request({
method: "GET",
url: `/api/chain/getChainInfo`,
params
});
}
// 实体清单-深度挖掘-产业链鱼骨图信息
......@@ -204,11 +202,11 @@ export function getDeepMiningIndustry(params) {
* @header token
*/
export function getDeepMiningIndustryFishbone(params) {
return request({
method: 'GET',
url: `/api/chain/getChainFishbone`,
params,
})
return request({
method: "GET",
url: `/api/chain/getChainFishbone`,
params
});
}
// 实体清单-深度挖掘-产业链中国企业实体信息查询
......@@ -219,14 +217,13 @@ export function getDeepMiningIndustryFishbone(params) {
* @header token
*/
export function getDeepMiningIndustryEntity(params) {
return request({
method: 'GET',
url: `/api/chain/getChainEntityStat`,
params,
})
return request({
method: "GET",
url: `/api/chain/getChainEntityStat`,
params
});
}
// 单次制裁-制裁概况-基本信息
/**
* @param {Object} params
......@@ -234,11 +231,11 @@ export function getDeepMiningIndustryEntity(params) {
* @header token
*/
export function getSingleSanctionOverview(params) {
return request({
method: 'GET',
url: `/api/sanctionList/record/getDetail`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/record/getDetail`,
params
});
}
// 单次制裁-制裁概况-制裁实体国家分布
......@@ -248,11 +245,11 @@ export function getSingleSanctionOverview(params) {
* @header token
*/
export function getSingleSanctionEntityCountry(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/countryRegion`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/countryRegion`,
params
});
}
// 单次制裁-制裁概况-制裁背景
......@@ -264,11 +261,11 @@ export function getSingleSanctionEntityCountry(params) {
* @header token
*/
export function getSingleSanctionBackground(data) {
return request({
method: 'POST',
url: `/api/sanctionList/record/background`,
data,
})
return request({
method: "POST",
url: `/api/sanctionList/record/background`,
data
});
}
// 单次制裁-制裁概况-制裁清单
......@@ -282,14 +279,13 @@ export function getSingleSanctionBackground(data) {
* @header token
*/
export function getSingleSanctionOverviewList(data) {
return request({
method: 'POST',
url: `/api/sanctionList/record/sanList`,
data,
})
return request({
method: "POST",
url: `/api/sanctionList/record/sanList`,
data
});
}
// 单次制裁-数据统计-总量统计
/**
* @param {Object} params
......@@ -297,11 +293,11 @@ export function getSingleSanctionOverviewList(data) {
* @header token
*/
export function getSingleSanctionTotalCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/total`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/total`,
params
});
}
// 单次制裁-数据统计-制裁实体领域分布情况
......@@ -313,11 +309,11 @@ export function getSingleSanctionTotalCount(params) {
* @header token
*/
export function getSingleSanctionDomainCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/domain`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/domain`,
params
});
}
// 单次制裁-数据统计-制裁实体类型分布情况
......@@ -329,14 +325,13 @@ export function getSingleSanctionDomainCount(params) {
* @header token
*/
export function getSingleSanctionEntityTypeCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/entityType`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/entityType`,
params
});
}
// 单次制裁-数据统计-制裁实体国家分布
/**
* @param {Object} params
......@@ -344,14 +339,13 @@ export function getSingleSanctionEntityTypeCount(params) {
* @header token
*/
export function getSingleSanctionEntityCountryCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/countryRegion`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/countryRegion`,
params
});
}
// 单次制裁-数据统计-制裁实体地域分布情况
/**
* @param {Object} params
......@@ -361,14 +355,13 @@ export function getSingleSanctionEntityCountryCount(params) {
* @header token
*/
export function getSingleSanctionEntityRegionCount(params) {
return request({
method: 'GET',
url: `/api/sanctionList/statistics/el/region`,
params,
})
return request({
method: "GET",
url: `/api/sanctionList/statistics/el/region`,
params
});
}
// 单次制裁-深度挖掘-本次制裁实体清单列表
/**
* @param {Object} params
......@@ -379,14 +372,13 @@ export function getSingleSanctionEntityRegionCount(params) {
* @header token
*/
export function getSingleSanctionEntityList(data) {
return request({
method: 'POST',
url: `/api/sanctionList/record/sanListByType`,
data,
})
return request({
method: "POST",
url: `/api/sanctionList/record/sanListByType`,
data
});
}
// 单次制裁-深度挖掘-制裁实体供应链信息
/**
* @param {Object} params
......@@ -394,11 +386,11 @@ export function getSingleSanctionEntityList(data) {
* @header token
*/
export function getSingleSanctionEntitySupplyChain(params) {
return request({
method: 'GET',
url: `/api/sanctionList/record/supplyChain`,
params,
})
return request({
method: "GET",
url: `/api/organization/supplyChain`,
params
});
}
// 单次制裁-深度挖掘-制裁实体股权信息
......@@ -409,14 +401,13 @@ export function getSingleSanctionEntitySupplyChain(params) {
* @header token
*/
export function getSingleSanctionEntityEquity(params) {
return request({
method: 'GET',
url: `/api/sanctionList/record/shareholding`,
params,
})
return request({
method: "GET",
url: `/api/organization/shareholding`,
params
});
}
// 单次制裁-影响分析-企业规模-营收
/**
* @param {Object} params
......@@ -424,14 +415,13 @@ export function getSingleSanctionEntityEquity(params) {
* @header token
*/
export function getSingleSanctionEntityRevenue(params) {
return request({
method: 'GET',
url: `/api/organization/scale/revenue`,
params,
})
return request({
method: "GET",
url: `/api/organization/scale/revenue`,
params
});
}
// 单次制裁-影响分析-企业规模-净利润
/**
* @param {Object} params
......@@ -439,14 +429,13 @@ export function getSingleSanctionEntityRevenue(params) {
* @header token
*/
export function getSingleSanctionEntityNetProfit(params) {
return request({
method: 'GET',
url: `/api/organization/scale/netProfit`,
params,
})
return request({
method: "GET",
url: `/api/organization/scale/netProfit`,
params
});
}
// 单次制裁-影响分析-企业规模-人员
/**
* @param {Object} params
......@@ -454,14 +443,13 @@ export function getSingleSanctionEntityNetProfit(params) {
* @header token
*/
export function getSingleSanctionEntityPersonnel(params) {
return request({
method: 'GET',
url: `/api/organization/scale/personnel`,
params,
})
return request({
method: "GET",
url: `/api/organization/scale/personnel`,
params
});
}
// 单次制裁-影响分析-企业市值变化
/**
* @param {Object} params
......@@ -469,14 +457,13 @@ export function getSingleSanctionEntityPersonnel(params) {
* @header token
*/
export function getSingleSanctionEntityMarketValue(params) {
return request({
method: 'GET',
url: `/api/organization/marketValue`,
params,
})
return request({
method: "GET",
url: `/api/organization/marketValue`,
params
});
}
// 单次制裁-影响分析-企业研发投入
/**
* @param {Object} params
......@@ -484,14 +471,13 @@ export function getSingleSanctionEntityMarketValue(params) {
* @header token
*/
export function getSingleSanctionEntityRDInvestment(params) {
return request({
method: 'GET',
url: `/api/organization/rdInvestment`,
params,
})
return request({
method: "GET",
url: `/api/organization/rdInvestment`,
params
});
}
// 单次制裁-影响分析-企业市场占比
/**
* @param {Object} params
......@@ -499,14 +485,13 @@ export function getSingleSanctionEntityRDInvestment(params) {
* @header token
*/
export function getSingleSanctionEntityMarketShare(params) {
return request({
method: 'GET',
url: `/api/organization/marketShare`,
params,
})
return request({
method: "GET",
url: `/api/organization/marketShare`,
params
});
}
// 单次制裁-影响分析-科研仪器对美依赖情况
/**
* @param {Object} params
......@@ -514,14 +499,13 @@ export function getSingleSanctionEntityMarketShare(params) {
* @header token
*/
export function getSingleSanctionEntityRDInstrumentDependency(params) {
return request({
method: 'GET',
url: `/api/organization/instrument/getDependencyUS`,
params,
})
return request({
method: "GET",
url: `/api/organization/instrument/getDependencyUS`,
params
});
}
// 单次制裁-影响分析-科研仪器进口国分布
/**
* @param {Object} params
......@@ -529,14 +513,13 @@ export function getSingleSanctionEntityRDInstrumentDependency(params) {
* @header token
*/
export function getSingleSanctionEntityRDInstrumentImportCountry(params) {
return request({
method: 'GET',
url: `/api/organization/instrument/getOriginCount`,
params,
})
return request({
method: "GET",
url: `/api/organization/instrument/getOriginCount`,
params
});
}
// 单次制裁-影响分析-新增国际合作项目
/**
* @param {Object} params
......@@ -545,14 +528,13 @@ export function getSingleSanctionEntityRDInstrumentImportCountry(params) {
* @header token
*/
export function getSingleSanctionEntityInternationalCooperation(params) {
return request({
method: 'GET',
url: `/api/organization/project/icCount`,
params,
})
return request({
method: "GET",
url: `/api/organization/project/icCount`,
params
});
}
// 单次制裁-影响分析-新增国际合作论文
/**
* @param {Object} params
......@@ -561,27 +543,27 @@ export function getSingleSanctionEntityInternationalCooperation(params) {
* @header token
*/
export function getSingleSanctionEntityInternationalPaper(params) {
return request({
method: 'GET',
url: `/api/organization/paper/icCount`,
params,
})
return request({
method: "GET",
url: `/api/organization/paper/icCount`,
params
});
}
// 商业管制清单-CCL清单简介-基本信息
export function getCCLInfo() {
return request({
method: 'GET',
url: `/api/sanctionList/baseInfo/ccl`
})
return request({
method: "GET",
url: `/api/sanctionList/baseInfo/ccl`
});
}
// 商业管制清单-CCL清单简介-出口管制分类编码
export function getECCN() {
return request({
method: 'GET',
url: `/api/ccl/eccn`
})
return request({
method: "GET",
url: `/api/ccl/eccn`
});
}
// 商业管制清单-CCL清单简介-出口管制分类编码信息列表
......@@ -591,35 +573,35 @@ export function getECCN() {
* @header token
*/
export function getECCNList(params) {
return request({
method: 'GET',
url: `/api/ccl/eccn/rank`,
params,
})
return request({
method: "GET",
url: `/api/ccl/eccn/rank`,
params
});
}
// 商业管制清单-CCL清单列表-类别字典
export function getECCNCategory() {
return request({
method: 'GET',
url: `/api/commonDict/ccl/eccnCategory`
})
return request({
method: "GET",
url: `/api/commonDict/ccl/eccnCategory`
});
}
// 商业管制清单-CCL清单列表-科技领域字典
export function getAreaType() {
return request({
method: 'GET',
url: `/api/commonDict/areaType`
})
return request({
method: "GET",
url: `/api/commonDict/areaType`
});
}
// 商业管制清单-CCL清单列表-管控原因字典
export function getControlReason() {
return request({
method: 'GET',
url: `/api/commonDict/ccl/controlReason`
})
return request({
method: "GET",
url: `/api/commonDict/ccl/controlReason`
});
}
// 商业管制清单-CCL清单简介-CCL清单查询
......@@ -633,9 +615,9 @@ export function getControlReason() {
* @header token
*/
export function getCclQuery(data) {
return request({
method: 'POST',
url: `/api/ccl/query`,
data,
})
}
\ No newline at end of file
return request({
method: "POST",
url: `/api/ccl/query`,
data
});
}
......@@ -274,7 +274,7 @@
<el-row :gutter="20" style="width: 1600px; margin: 0 auto; height: 528px; margin-top: 64px">
<CustomTitle id="position3" title="数据总览" />
<el-col :span="24">
<custom-container title="发布频度" :titleIcon="box3Icon" height="450px">
<custom-container title="发布频度" :titleIcon="box3Icon" height="400px">
<template #default>
<div class="box3">
<div class="box3-content">
......
<template>
<div class="deep-mining" :class="{ deepMiningChartmode: isInChart }">
<div class="side-nav">
<div v-for="(item, index) in activeTab" :key="index" class="tab-item" :class="{ active: index === activeIndex }"
@click="activeIndex = index">
<div
v-for="(item, index) in activeTab"
:key="index"
class="tab-item"
:class="{ active: index === activeIndex }"
@click="activeIndex = index"
>
{{ item }}
<span v-if="index === activeIndex" class="arrow"></span>
</div>
......@@ -47,8 +52,13 @@
<span class="group-count">{{ group.count }}家</span>
</div>
<div class="group-children custom-scrollbar" v-show="group.expanded">
<div class="entity-item" v-for="item in group.children" :key="item.id"
:class="{ active: activeEntityId === item.id }" @click="selectEntity(item)">
<div
class="entity-item"
v-for="item in group.children"
:key="item.id"
:class="{ active: activeEntityId === item.id }"
@click="selectEntity(item)"
>
<div class="item-icon">
<img :src="defaultTitle" alt="" class="item-img" />
</div>
......@@ -63,12 +73,19 @@
<div class="right" @mouseenter="handleMouseEnter" @mouseleave="handleMouseLeave">
<div class="title-com custom-right-header">
<div class="toggle-group">
<div class="toggle-btn" :class="{ active: rightActiveTab === 'supplyChain' }"
@click="rightActiveTab = 'supplyChain'">
<div
class="toggle-btn"
:class="{ active: rightActiveTab === 'supplyChain' }"
@click="rightActiveTab = 'supplyChain'"
>
<img :src="rightActiveTab === 'supplyChain' ? icon01Active : icon01" alt="" />
<span>供应链</span>
</div>
<div class="toggle-btn" :class="{ active: rightActiveTab === 'equity' }" @click="rightActiveTab = 'equity'">
<div
class="toggle-btn"
:class="{ active: rightActiveTab === 'equity' }"
@click="rightActiveTab = 'equity'"
>
<img :src="rightActiveTab === 'equity' ? icon02Active : icon02" alt="" />
<span>股权</span>
</div>
......@@ -115,8 +132,8 @@ import {
getSingleSanctionEntitySupplyChain,
getSingleSanctionEntityEquity
} from "@/api/exportControlV2.0";
import RelationGraph from './components/RelationGraph.vue';
import AnalysisBox from '@/components/base/boxBackground/analysisBox.vue';
import RelationGraph from "./components/RelationGraph.vue";
import AnalysisBox from "@/components/base/boxBackground/analysisBox.vue";
const sanRecordId = ref("");
const activeTab = ref(["实体穿透分析"]);
......@@ -170,11 +187,11 @@ const handleMouseLeave = () => {
isInChart.value = false;
};
const handleNodeClick = (node) => {
const handleNodeClick = node => {
selectedNode.value = node;
};
const handleLayoutChange = (type) => {
const handleLayoutChange = type => {
controlActive.value = type;
if (type !== 2) {
isInChart.value = true;
......@@ -184,9 +201,8 @@ const handleLayoutChange = (type) => {
};
const updateGraphData = () => {
const data = rightActiveTab.value === 'supplyChain'
? singleSanctionEntitySupplyChainData.value
: singleSanctionEntityEquityData.value;
const data =
rightActiveTab.value === "supplyChain" ? singleSanctionEntitySupplyChainData.value : singleSanctionEntityEquityData.value;
if (!data) return;
......@@ -214,7 +230,7 @@ const updateGraphData = () => {
links.push({
source: `p-${item.id || index}`,
target: "0",
name: rightActiveTab.value === 'supplyChain' ? "供应商" : (item.type || "持股")
name: rightActiveTab.value === "supplyChain" ? "供应商" : item.type || "持股"
});
});
......@@ -231,14 +247,14 @@ const updateGraphData = () => {
links.push({
source: "0",
target: `c-${item.id || index}`,
name: rightActiveTab.value === 'supplyChain' ? "客户" : (item.type || "投资")
name: rightActiveTab.value === "supplyChain" ? "客户" : item.description || "投资"
});
});
graphData.value = { nodes, links };
};
const updateTreeData = (data) => {
const updateTreeData = data => {
if (!data) return;
treeData.value = {
......@@ -318,17 +334,17 @@ const getSingleSanctionEntityListRequest = async () => {
}
};
watch(rightActiveTab, async (newTab) => {
if (newTab === 'supplyChain') {
watch(rightActiveTab, async newTab => {
if (newTab === "supplyChain") {
await getSingleSanctionEntitySupplyChainRequest();
} else {
await getSingleSanctionEntityEquityRequest();
}
});
watch(activeEntityId, async (newId) => {
watch(activeEntityId, async newId => {
if (newId) {
if (rightActiveTab.value === 'supplyChain') {
if (rightActiveTab.value === "supplyChain") {
await getSingleSanctionEntitySupplyChainRequest();
} else {
await getSingleSanctionEntityEquityRequest();
......@@ -337,7 +353,7 @@ watch(activeEntityId, async (newId) => {
});
watch(is50PercentRule, async () => {
if (rightActiveTab.value === 'equity') {
if (rightActiveTab.value === "equity") {
await getSingleSanctionEntityEquityRequest();
}
});
......@@ -857,7 +873,6 @@ onMounted(async () => {
}
.title-com.custom-right-header {
.box,
.text {
display: none;
......
......@@ -12,8 +12,13 @@
<div class="home-top-bg"></div>
<div class="home-main-header">
<div class="home-main-header-center">
<SearchContainer style="margin-bottom: 0; height: fit-content" v-if="containerRef" placeholder="搜索投融资限制政策"
:containerRef="containerRef" areaName="" />
<SearchContainer
style="margin-bottom: 0; height: fit-content"
v-if="containerRef"
placeholder="搜索投融资限制政策"
:containerRef="containerRef"
areaName=""
/>
<!-- <el-input
v-model="searchKey"
style="width: 100%; height: 48px"
......@@ -110,9 +115,17 @@
</div>
<div class="box1-top-content-item">
<span class="box1-top-content-item-title">· 涉及领域:</span>
<div class="box1-top-content-item-tags" v-for="item in ['航空航天', '人工智能', '集成电路']" :key="item">
<el-tag :type="item === '航空航天' ? 'primary' : item === '人工智能' ? 'danger' : 'info'
">{{ item }}</el-tag>
<div
class="box1-top-content-item-tags"
v-for="item in ['航空航天', '人工智能', '集成电路']"
:key="item"
>
<el-tag
:type="
item === '航空航天' ? 'primary' : item === '人工智能' ? 'danger' : 'info'
"
>{{ item }}</el-tag
>
</div>
</div>
</div>
......@@ -170,8 +183,14 @@
</template>
</custom-container> -->
<RiskSignal :list="warningList" @item-click="handleToRiskSignalDetail" @more-click="handleToMoreRiskSignal"
riskLevel="status" postDate="time" name="title" />
<RiskSignal
:list="warningList"
@item-click="handleToRiskSignalDetail"
@more-click="handleToMoreRiskSignal"
riskLevel="status"
postDate="time"
name="title"
/>
</el-col>
</el-row>
<el-row :gutter="20" style="width: 1600px; margin: 0 auto">
......@@ -195,11 +214,22 @@
<div class="center-center">
<div class="center-center-news">
<NewsList :newsList="customNewsData" @item-click="handleNewsInfoClick" @more-click="handleToMoreNews"
from='from' content="description" title="title" img="image" />
<NewsList
:newsList="customNewsData"
@item-click="handleNewsInfoClick"
@more-click="handleToMoreNews"
from="from"
content="description"
title="title"
img="image"
/>
</div>
<MessageBubble :messageList="messageList" @person-click="handlePerClick" imageUrl="avatar"
@more-click="handleToSocialDetail" />
<MessageBubble
:messageList="messageList"
@person-click="handlePerClick"
imageUrl="avatar"
@more-click="handleToSocialDetail"
/>
<!-- <div class="boxs4">
<custom-container title="社交媒体" :titleIcon="dialogIcon" height="450px">
<template #default>
......@@ -225,7 +255,6 @@
</div> -->
</div>
<el-row :gutter="20" style="width: 1600px; margin: 0 auto">
<CustomTitle id="position3" title="数据总览" style="margin-top: 64px" />
<el-col :span="24">
......@@ -240,18 +269,27 @@
<template #default="scope">
<div style="display: flex; align-items: center">
<span style="margin-right: 10px; width: 40px">{{ scope.row.num }}</span>
<el-progress :percentage="scope.row.percent * 100" :show-text="false"
:status="getStatus(scope.row.percent)" />
<el-progress
:percentage="scope.row.percent * 100"
:show-text="false"
:status="getStatus(scope.row.percent)"
/>
</div>
</template>
</el-table-column>
<el-table-column label="重点领域" width="180">
<template #default="scope">
<div style="display: flex; align-items: center; gap: 5px">
<el-tag v-for="tag in scope.row.tags" :key="tag" :type="tag === '通信网络'
? 'primary'
: TAGTYPE[Math.floor(Math.random() * 5)]
">{{ tag }}</el-tag>
<el-tag
v-for="tag in scope.row.tags"
:key="tag"
:type="
tag === '通信网络'
? 'primary'
: TAGTYPE[Math.floor(Math.random() * 5)]
"
>{{ tag }}</el-tag
>
</div>
</template>
</el-table-column>
......@@ -265,18 +303,27 @@
<template #default="scope">
<div style="display: flex; align-items: center">
<span style="margin-right: 10px; width: 40px">{{ scope.row.num }}</span>
<el-progress :percentage="scope.row.percent * 100" :show-text="false"
:status="getStatus(scope.row.percent)" />
<el-progress
:percentage="scope.row.percent * 100"
:show-text="false"
:status="getStatus(scope.row.percent)"
/>
</div>
</template>
</el-table-column>
<el-table-column label="重点领域" width="180">
<template #default="scope">
<div style="display: flex; align-items: center; gap: 5px">
<el-tag v-for="tag in scope.row.tags" :key="tag" :type="tag === '通信网络'
? 'primary'
: TAGTYPE[Math.floor(Math.random() * 5)]
">{{ tag }}</el-tag>
<el-tag
v-for="tag in scope.row.tags"
:key="tag"
:type="
tag === '通信网络'
? 'primary'
: TAGTYPE[Math.floor(Math.random() * 5)]
"
>{{ tag }}</el-tag
>
</div>
</template>
</el-table-column>
......@@ -290,18 +337,27 @@
<template #default="scope">
<div style="display: flex; align-items: center">
<span style="margin-right: 10px; width: 40px">{{ scope.row.num }}</span>
<el-progress :percentage="scope.row.percent * 100" :show-text="false"
:status="getStatus(scope.row.percent)" />
<el-progress
:percentage="scope.row.percent * 100"
:show-text="false"
:status="getStatus(scope.row.percent)"
/>
</div>
</template>
</el-table-column>
<el-table-column label="重点领域" width="180">
<template #default="scope">
<div style="display: flex; align-items: center; gap: 5px">
<el-tag v-for="tag in scope.row.tags" :key="tag" :type="tag === '通信网络'
? 'primary'
: TAGTYPE[Math.floor(Math.random() * 5)]
">{{ tag }}</el-tag>
<el-tag
v-for="tag in scope.row.tags"
:key="tag"
:type="
tag === '通信网络'
? 'primary'
: TAGTYPE[Math.floor(Math.random() * 5)]
"
>{{ tag }}</el-tag
>
</div>
</template>
</el-table-column>
......@@ -358,7 +414,8 @@
</div>
</div>
<div class="box4-footer">
<el-button type="primary" link :icon="DownRight">查看更多
<el-button type="primary" link :icon="DownRight"
>查看更多
<el-icon>
<DArrowRight />
</el-icon>
......@@ -375,8 +432,15 @@
</template>
<template #default>
<div class="box5">
<el-table :data="paginatedData" class="sanction-table" stripe empty-text="暂无数据" height="700px"
header-row-class-name="table-header" row-class-name="table-row">
<el-table
:data="paginatedData"
class="sanction-table"
stripe
empty-text="暂无数据"
height="700px"
header-row-class-name="table-header"
row-class-name="table-row"
>
<!-- <el-table-column prop="index" label="序号" width="80" align="center">
<template #default="scope">
{{ scope.$index + 1 + (currentPage - 1) * pageSize }}
......@@ -385,12 +449,14 @@
<el-table-column prop="name" label="实体名称" min-width="200">
<template #default="scope">
<div style="
<div
style="
font-weight: 700;
font-size: 16px;
color: rgba(59, 65, 75, 1);
font-family: Microsoft YaHei;
">
"
>
{{ scope.row.name }}
</div>
</template>
......@@ -399,8 +465,12 @@
<el-table-column prop="domains" label="涉及领域" min-width="180">
<template #default="scope">
<div class="domain-tags">
<el-tag v-for="tag in scope.row.domains" :key="tag"
:type="tag === '通信网络' ? 'primary' : 'danger'">{{ tag }}</el-tag>
<el-tag
v-for="tag in scope.row.domains"
:key="tag"
:type="tag === '通信网络' ? 'primary' : 'danger'"
>{{ tag }}</el-tag
>
</div>
</template>
</el-table-column>
......@@ -436,7 +506,9 @@
<el-table-column prop="revenue" label="50%规则子企业" width="140" align="right">
<template #default="scope">
<span :class="['revenue-cell', scope.row.revenue === '无营收数据' ? 'no-revenue' : '']">
<span
:class="['revenue-cell', scope.row.revenue === '无营收数据' ? 'no-revenue' : '']"
>
{{ scope.row.revenue }}
</span>
</template>
......@@ -447,8 +519,14 @@
<!-- <div class="pagination-info">
第{{ currentPage }}页,共{{ totalPages }}页
</div> -->
<el-pagination v-model:current-page="currentPage" :page-size="pageSize" :total="total"
:pager-count="5" layout="prev, pager, next" background />
<el-pagination
v-model:current-page="currentPage"
:page-size="pageSize"
:total="total"
:pager-count="5"
layout="prev, pager, next"
background
/>
</div>
</div>
</template>
......@@ -531,7 +609,8 @@ const messageList = ref([
name: "唐纳德·特朗普",
time: "2025-05-12 16:02:37",
source: "真实社交",
content: "埃隆·马斯克在强力支持我竞选总统之前,早就知道我强烈反对‘电动汽车强制令’。这太荒谬了,这一直是我竞选活动的主要部分。电动汽车没问题,但不应该强迫每个人都拥有一辆。埃隆获得的补贴可能远远超过历史上任何一个人。如果没有补贴,埃隆可能不得不关门大吉,回到南非老家。"
content:
"埃隆·马斯克在强力支持我竞选总统之前,早就知道我强烈反对‘电动汽车强制令’。这太荒谬了,这一直是我竞选活动的主要部分。电动汽车没问题,但不应该强迫每个人都拥有一辆。埃隆获得的补贴可能远远超过历史上任何一个人。如果没有补贴,埃隆可能不得不关门大吉,回到南非老家。"
},
{
avatar: elongAvatar,
......@@ -1218,7 +1297,7 @@ const handleGetHylyList = async () => {
hylymc: "全部分类"
};
categoryList.value = [obj, ...categoryList.value];
} catch (error) { }
} catch (error) {}
};
const chart1Data = ref({
......@@ -1264,7 +1343,7 @@ const handleGetBillsByType = async () => {
img: bill1
};
});
} catch (error) { }
} catch (error) {}
};
// 查看社交媒体详情
const handleToSocialDetail = item => {
......@@ -1805,7 +1884,9 @@ onMounted(async () => {
box-shadow: 0px 0px 20px 0px rgba(25, 69, 130, 0.1);
background: rgba(255, 255, 255, 0.65);
position: relative;
transition: transform 0.3s ease, box-shadow 0.3s ease;
transition:
transform 0.3s ease,
box-shadow 0.3s ease;
cursor: pointer;
&:hover {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论