提交 ec0495d8 authored 作者: Vicky's avatar Vicky

Merge branch 'master' of http://8.140.26.4:10003/caijian/risk-monitor into xxh-dev

...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
"element-plus": "^2.4.4", "element-plus": "^2.4.4",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
"json5": "^2.2.3", "json5": "^2.2.3",
"lodash": "^4.17.21",
"markdown-it": "^14.1.0", "markdown-it": "^14.1.0",
"vue": "^3.4.0", "vue": "^3.4.0",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
...@@ -4139,7 +4140,7 @@ ...@@ -4139,7 +4140,7 @@
}, },
"node_modules/lodash": { "node_modules/lodash": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"license": "MIT" "license": "MIT"
}, },
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
"element-plus": "^2.4.4", "element-plus": "^2.4.4",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
"json5": "^2.2.3", "json5": "^2.2.3",
"lodash": "^4.17.21",
"markdown-it": "^14.1.0", "markdown-it": "^14.1.0",
"vue": "^3.4.0", "vue": "^3.4.0",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
......
import request from "@/api/request.js";
import {
ElMessage
} from 'element-plus'
const request200 = (requestP) => {
return requestP.then((data) => {
if (data.code === 200) {
return data.data
}
ElMessage({
message: data.message,
type: 'error',
duration: 3 * 1000
})
return null
})
}
// 实体清单总条数统计
/**
* @returns {Promise<number>}
*/
export function getEntitiesDataCount() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countData',
}))
}
// 最新实体清单信息查询
/**
* @returns {Promise<{
* chNum: number
* entities:{
* entityNameZh: string
* entityName: string
* }[]
* organization:{
* orgName: string
* }
* domains: string[]
* startTime: string
*}>}
*/
export function getEntitiesDataInfo() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataInfo/latestInfoSelect',
}))
}
/**
* 每年最多领域及该领域发布次数
* @returns {Promise<{
* year?: number
* maxDomain: string
* maxCount: number
* }[]>}
*/
export function getIndustryCountByYear() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/industryCountByYear',
}))
}
/**
* 不同领域每年数量
* @returns {Promise<{
* data:{
* year?: number
* domainNum: {
* [ key: string]: number;
* }
* }[]
* domains: string[]
* }>}
*/
export function getCountDomainByYear() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countDomainByYear',
}))
}
/**
* 历次制裁过程(月份统计)
* @returns {Promise<{
* tittle: string
* entitiesChNum: string
* sanReason: string
* }[]>}
*/
export function getSanctionsInfoCount() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/sanctionsInfoCount',
}))
}
/**
* 查询发布机构
* @returns {Promise<{
* orgName: string //机构名称
* orgIntroduction: string //相关措施
* orgIntroduction: string //机构职责
* }>}
*/
export function getOrganizationInfo() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataInfo/getOrganizationInfo',
}))
}
/**
* 查询重点人物
* @returns {Promise<{
* name: string
* ename: string
* avatarUrl: string
* positionTitle: string
* }[]>}
*/
export function getPersonList() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataInfo/getPersonList',
}))
}
/**
* 不同领域实体统计
* @param {string} startTime - 统计开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<{
* domain: string
* count: number
* }[]>}
*/
export function getCountByDomain(startTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countByDomain',
params: {
startTime
}
}))
}
/**
* 不同类型实体统计
* @param {string} startTime - 统计开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<{
* type: string
* count: number
* }[]>}
*/
export function getCountByType(startTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countByType',
params: {
startTime
}
}))
}
/**
* 查询制裁原因
* @param {string} startTime - 统计开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<string[]>}
*/
export function getSanReasonSelect(startTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataInfo/sanReasonSelect',
params: {
startTime
}
}))
}
/**
* 查询实体清单列表
* @param {string} startTime - 统计开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<{
* entityNameZh: string
* techDomainList: string[]
* startTime: staring
* }[]>}
*/
export function getSelectEntitiesList(startTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataInfo/selectEntitiesList',
params: {
startTime
}
}))
}
/**
* 数量比对分析
* @param {string} startTime - 统计开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<{
* countDomainLast: number
* countDomainNow: number
* countSanLast: number
* countSanNow: number
* countTypeLast: number
* countTypeNow: number
* }>}
*/
export function getCompareCountSan(startTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/compareCountSan',
params: {
startTime
}
}))
}
/**
* 实体清单变化统计
* @param {number} domain
* @param {number} type
* @returns {Promise<{
* year:number
* count:number
* }[]>}
*/
export function getEntitiesChangeCount(domain, type) {
return request200(request({
method: 'GET',
// url: '/api/entitiesDataCount/entitiesChangeCount',
url: '/api/entitiesDataCount/sanCountByYear',
params: {
domain,
type
}
}))
}
/**
* 新增实体数量增长趋势
* @returns {Promise<{
* year: string
* percent: string //百分比'20%'
* }>}
*/
export function getEntitiesGrowthTrend() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/entitiesGrowthTrend',
}))
}
/**
* 实体清单更新频率
* @returns {Promise<{
* series: number[]
* xAxis: string[]
* }>}
*/
export function getEntitiesUpdateCount() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/entitiesUpdateCount',
}))
}
/**
* 新增实体领域分布情况
* @param {string} sanTime - 开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<{
* value: number
* name: string
* }[]>}
*/
export function getEntitiesAreaCountByYear(sanTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/entitiesAreaCountByYear',
params: {
sanTime
}
}))
}
/**
* 历次制裁涉及领域数
* @returns {Promise<{
* series: number[]
* xAxis: string[]
* }>}
*/
export function getEntitiesDomainCount() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/entitiesDomainCount'
}))
}
/**
* 指定领域每年实体数量查询
* @param {string} param
* @returns {Promise<{
* year: string
* count: number
* }[]>}
*/
export function getCountThisDomain(param) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countThisDomain',
params: {
param
}
}))
}
/**
* 历次制裁涉及类别数量
* @returns {Promise<{
* year: string
* count: number
* }[]>}
*/
export function getCountTypeByYear() {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countTypeByYear',
}))
}
/**
* 新增实体类别统计
* @param {string} startTime - 开始时间,格式为 'YYYY-MM-DD'
* @returns {Promise<{
* type: string
* count: number
* }[]>}
*/
export function getCountSanTypeByTime(startTime) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countSanTypeByTime',
params: {
startTime
}
}))
}
/**
* 指定类别每年实体数量查询
* @param {string} param
* @returns {Promise<{
* year: number
* count: number
* }[]>}
*/
export function getCountThisType(param) {
return request200(request({
method: 'GET',
url: '/api/entitiesDataCount/countThisType',
params: {
param
}
}))
}
...@@ -8,6 +8,14 @@ export function getHotBills() { ...@@ -8,6 +8,14 @@ export function getHotBills() {
}) })
} }
// 获取法案风险信号
export function getBillRiskSignal() {
return request({
method: 'GET',
url: '/api/BillOverview/riskSignal',
})
}
// 根据法案类型获取法案列表 // 根据法案类型获取法案列表
/** /**
* @param {type} * @param {type}
......
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="call" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<path id="Union" d="M0.666748 1.33594L6.38671 1.33594L7.37792 5.79634L6.13862 7.03564C6.86633 8.16979 7.83289 9.13635 8.96704 9.86407L10.2063 8.62477L14.6667 9.61597L14.6667 15.3359L14.0001 15.3359C11.3349 15.3359 8.85044 14.5533 6.76652 13.205C5.17937 12.1782 3.82453 10.8233 2.79768 9.23617C1.44943 7.15224 0.666748 4.66781 0.666748 2.0026L0.666748 1.33594ZM2.01827 2.66927C2.13575 4.81645 2.81731 6.81193 3.91715 8.5119C4.84167 9.94087 6.06182 11.161 7.49079 12.0855C9.19075 13.1854 11.1862 13.8669 13.3334 13.9844L13.3334 10.6855L10.6316 10.0851L9.18176 11.535L8.74022 11.2842C7.06353 10.3321 5.67054 8.93915 4.71845 7.26247L4.46772 6.82092L5.91756 5.37109L5.31715 2.66927L2.01827 2.66927Z" fill="rgb(59,65,75)" fill-rule="nonzero" />
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none">
<rect id="Icon图标/Line/file-text-outlined" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<path id="形状" d="M9.99063 1.14688L13.3531 4.50937C13.4469 4.60312 13.5 4.73125 13.5 4.86406L13.5 14.5C13.5 14.7766 13.2766 15 13 15L3 15C2.72344 15 2.5 14.7766 2.5 14.5L2.5 1.5C2.5 1.22344 2.72344 1 3 1L9.6375 1C9.77031 1 9.89688 1.05313 9.99063 1.14688ZM3.625 13.875L12.375 13.875L12.375 6.15625L9 6.15625C8.6375 6.15625 8.34375 5.8625 8.34375 5.5L8.34375 2.125L3.625 2.125L3.625 13.875ZM12.3469 5.09375L9.40627 5.09375L9.40627 2.15312L12.3469 5.09375ZM4.875 8.40625L4.875 7.65625C4.875 7.5875 4.93125 7.53125 5 7.53125L11 7.53125C11.0688 7.53125 11.125 7.5875 11.125 7.65625L11.125 8.40625C11.125 8.475 11.0688 8.53125 11 8.53125L5 8.53125C4.93125 8.53125 4.875 8.475 4.875 8.40625ZM7.875 9.65625L5 9.65625C4.93125 9.65625 4.875 9.7125 4.875 9.78125L4.875 10.5312C4.875 10.6 4.93125 10.6562 5 10.6562L7.875 10.6562C7.94375 10.6562 8 10.6 8 10.5312L8 9.78125C8 9.7125 7.94375 9.65625 7.875 9.65625Z" fill="rgb(5,95,194)" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="tools" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<path id="Union" d="M4.67675 1.93769C6.51829 1.18868 8.71087 1.56088 10.2065 3.05654C11.4981 4.34809 11.9509 6.15832 11.5693 7.8134L14.6613 10.9054L13.8128 11.7539L10.2202 8.16142L10.3267 7.81599C10.7395 6.477 10.4159 4.96301 9.358 3.90506C8.38197 2.92903 7.01667 2.57759 5.76051 2.85316L8.29733 5.38999L5.32749 8.35983L2.79066 5.82301C2.51509 7.07917 2.86653 8.44447 3.84256 9.4205C4.90051 10.4784 6.4145 10.802 7.75349 10.3892L8.09892 10.2827L11.6914 13.8753L10.8429 14.7238L7.7509 11.6318C6.09582 12.0134 4.28559 11.5606 2.99404 10.269C1.49838 8.77337 1.12618 6.58079 1.87519 4.73925L2.02747 4.36483L3.03072 4.36602L5.32749 6.66278L6.60028 5.38999L4.30352 3.09322L4.30233 2.08997L4.67675 1.93769ZM10.2065 9.4205L13.1764 12.3903L12.3278 13.2389L9.358 10.269L10.2065 9.4205Z" fill="rgb(59,65,75)" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="close-rectangle" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<path id="Union" d="M2 2L14 2L14 14L2 14L2 2ZM3.2 3.2L3.2 12.8L12.8 12.8L12.8 3.2L3.2 3.2ZM6.30294 5.45442L8 7.15147L9.69706 5.45442L10.5456 6.30294L8.84853 8L10.5456 9.69706L9.69706 10.5456L8 8.84853L6.30294 10.5456L5.45442 9.69706L7.15147 8L5.45442 6.30294L6.30294 5.45442Z" fill="rgb(59,65,75)" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="Icon/Line/AntDesign" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<g id="组合 105">
<path id="矩形 142" d="M2.08338 6.66666L1.00001 6.66667C0.447718 6.66667 0 6.21895 0 5.66666L0 1C0 0.447715 0.447715 0 1 0L5.66667 0C6.21895 0 6.66667 0.447715 6.66667 1L6.66667 5.66667C6.66667 6.21895 6.21895 6.66667 5.66667 6.66667L4.58328 6.66667" stroke="rgb(59,65,75)" stroke-width="1.20000005" transform="matrix(0.707107,-0.707107,0.707107,0.707107,1.00024,9.07031)" />
<path id="矩形 143" d="M2.08338 6.66666L1.00001 6.66667C0.447718 6.66667 0 6.21895 0 5.66666L0 1C0 0.447715 0.447715 0 1 0L5.66667 0C6.21895 0 6.66667 0.447715 6.66667 1L6.66667 5.66667C6.66667 6.21895 6.21895 6.66667 5.66667 6.66667L4.58328 6.66667" stroke="rgb(59,65,75)" stroke-width="1.20000005" transform="matrix(0.707107,-0.707107,-0.707107,-0.707107,10.4283,13.7812)" />
</g>
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="location" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<path id="Union" d="M8 1.9974C5.42267 1.9974 3.33333 4.08673 3.33333 6.66406C3.33333 8.57225 4.5214 10.4128 5.82536 11.839C6.46545 12.5392 7.1076 13.1113 7.59031 13.5086C7.74581 13.6366 7.88422 13.746 8.00002 13.8352C8.11582 13.746 8.25422 13.6366 8.40972 13.5087C8.89242 13.1114 9.53457 12.5393 10.1746 11.8392C11.4786 10.413 12.6667 8.57251 12.6667 6.66406C12.6667 4.08673 10.5773 1.9974 8 1.9974ZM7.99997 15.4731L7.62192 15.2132L7.62012 15.2119L7.61602 15.2091L7.60214 15.1994C7.5904 15.1912 7.57373 15.1794 7.55247 15.1642C7.50996 15.1338 7.44904 15.0897 7.37233 15.0325C7.21899 14.9181 7.00218 14.7514 6.74303 14.5381C6.22573 14.1124 5.53455 13.497 4.8413 12.7387C3.4786 11.2482 2 9.0887 2 6.66406C2 3.35035 4.68629 0.664062 8 0.664062C11.3137 0.664062 14 3.35035 14 6.66406C14 9.08895 12.5214 11.2484 11.1587 12.7389C10.4654 13.4972 9.77425 14.1125 9.25695 14.5382C8.9978 14.7515 8.78099 14.9182 8.62764 15.0325C8.55093 15.0897 8.49001 15.1339 8.4475 15.1642C8.42624 15.1794 8.40957 15.1912 8.39783 15.1994L8.38395 15.2091L8.37985 15.2119L8.37852 15.2128L7.99997 15.4731ZM8 5.33073C7.26362 5.33073 6.66667 5.92768 6.66667 6.66406C6.66667 7.40044 7.26362 7.9974 8 7.9974C8.73638 7.9974 9.33333 7.40044 9.33333 6.66406C9.33333 5.92768 8.73638 5.33073 8 5.33073ZM5.33333 6.66406C5.33333 5.1913 6.52724 3.9974 8 3.9974C9.47276 3.9974 10.6667 5.1913 10.6667 6.66406C10.6667 8.13682 9.47276 9.33073 8 9.33073C6.52724 9.33073 5.33333 8.13682 5.33333 6.66406Z" fill="rgb(59,65,75)" fill-rule="nonzero" />
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="mail" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
<path id="Union" d="M0.666748 2L15.3334 2L15.3334 14L0.666748 14L0.666748 2ZM2.00008 3.33333L2.00008 4.55298L8.00008 7.58631L14.0001 4.55298L14.0001 3.33333L2.00008 3.33333ZM14.0001 6.04702L8.00008 9.08035L2.00008 6.04702L2.00008 12.6667L14.0001 12.6667L14.0001 6.04702Z" fill="rgb(59,65,75)" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.000000" height="16.000000" fill="none" customFrame="#000000">
<rect id="shutter" width="16.000000" height="16.000002" x="0.000000" y="0.000000" />
<path id="Union" d="M3.52552 3.99992L5.00272 6.63777L7.61881 2.0093C5.99469 2.11106 4.54585 2.8586 3.52552 3.99992ZM9.10028 2.09795L7.64987 4.66406L12.9898 4.66406C12.1074 3.34596 10.7169 2.39746 9.10028 2.09795ZM13.6588 5.9974L10.6399 5.9974L13.3235 10.7682C13.7558 9.93957 14 8.99751 14 7.9974C14 7.29519 13.8797 6.62228 13.6588 5.9974ZM12.4802 11.9886L11 9.35722L8.39719 13.9845C10.0178 13.8786 11.4629 13.1297 12.4802 11.9886ZM6.9151 13.8997L8.36012 11.3307L3.01026 11.3307C3.89545 12.653 5.29194 13.6033 6.9151 13.8997ZM2.34124 9.9974L5.36012 9.9974L4.41835 8.32313L2.68029 5.21945C2.24569 6.0498 2.00002 6.99441 2.00002 7.9974C2.00002 8.6996 2.12038 9.37251 2.34124 9.9974ZM6.88992 9.9974L9.11012 9.9974L10.2351 7.9974L9.11012 5.9974L6.89624 5.9974L5.76536 7.99819L6.88992 9.9974ZM2.19261 3.51895C3.53256 1.7837 5.63569 0.664062 8.00002 0.664062C8.27647 0.664062 8.54959 0.679389 8.81854 0.709289C11.4721 1.0043 13.6959 2.71343 14.7229 5.06382C15.1157 5.96302 15.3334 6.95567 15.3334 7.9974C15.3334 9.679 14.7665 11.2301 13.8139 12.4675C12.4743 14.2075 10.3682 15.3307 8.00002 15.3307C7.72996 15.3307 7.46307 15.3161 7.20015 15.2876C4.53833 14.9985 2.30651 13.2869 1.27718 10.931C0.884298 10.0318 0.666687 9.03912 0.666687 7.9974C0.666687 6.31198 1.23608 4.75767 2.19261 3.51895Z" fill="rgb(59,65,75)" fill-rule="nonzero" />
</svg>
No preview for this file type
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论