增加总监引用同期显示

This commit is contained in:
2024-09-18 17:53:44 +08:00
parent dd4801470d
commit f679d3e7cb
3 changed files with 84 additions and 27 deletions

View File

@@ -53,11 +53,15 @@ const en = {
journal: 'Journal',
editor: 'Editor',
cite: 'Cited in',
citeNum: 'Cited',
article: 'Articles for',
articleNum: 'Articles',
info: 'The following data is',
wos: 'Wos',
all: 'All references',
factor: 'Factor',
Sameperiod: 'Same period',
},
partyRole: {

View File

@@ -54,9 +54,15 @@ const zh = {
journal: '期刊',
editor: '编辑',
cite: '引用数量',
article: '文章数量', info: '以下数据为', wos: 'Wos',
article: '文章数量',
citeNum: '引用数量',
articleNum: '文章数量',
info: '以下数据为', wos: 'Wos',
all: '全部引用',
factor: '影响因子',
Sameperiod: '同期',
},
paperArticleCount: {
Periodroll: '期卷',

View File

@@ -1,20 +1,20 @@
<template>
<div class="container" style="padding-bottom: 50px; width: 100%; height: 100%" v-loading="loading">
<div style="width: 100%; height: auto;">
<div style="width: 100%; height: auto">
<div
style="
width: 100%;
box-sizing: border-box;
margin-bottom: 20px;
background-color: #f4f4f5;
padding: 10px;
font-size: 12px;
color: #909399;
"
>
{{ $t('JournalCitationAnalysis.info') }} : {{ $t('JournalCitationAnalysis.wos') }} /
{{ $t('JournalCitationAnalysis.all') }}
</div>
style="
width: 100%;
box-sizing: border-box;
margin-bottom: 20px;
background-color: #f4f4f5;
padding: 10px;
font-size: 12px;
color: #909399;
"
>
{{ $t('JournalCitationAnalysis.info') }} : {{ $t('JournalCitationAnalysis.wos') }} /
{{ $t('JournalCitationAnalysis.all') }}
</div>
<el-table :data="dataList" border class="msg-table" empty-text="New Data (0)">
<el-table-column type="index" label="No." width="55" align="center"></el-table-column>
<!-- <el-table-column type="index" label="Issn" width="100" align="center">
@@ -46,7 +46,6 @@
align="center"
>
<template slot-scope="scope">
{{ scope.row.cite.year_num }}
</template>
</el-table-column>
@@ -89,15 +88,58 @@
{{ scope.row.cite.pre_year_article_num }}
</template>
</el-table-column>
<el-table-column
:label="`${$t('JournalCitationAnalysis.factor')}`
"
width="80"
align="center"
>
<el-table-column :label="`${$t('JournalCitationAnalysis.factor')}`" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.cite.yc_if&& scope.row.cite.yc_if>0? scope.row.cite.yc_if.toFixed(2):0 }}
<el-popover placement="top-start" title="" width="" trigger="hover">
<div class="SameperiodBox">
<p style="margin-bottom: 8px">
<span class="title"
>{{ $t('JournalCitationAnalysis.articleNum') }}&nbsp;:&nbsp;&nbsp;<span
style="color: #006699 !important"
>{{ scope.row.cite.yc_article_num }}
</span></span
>
</p>
<p>
<span class="title"
>{{ $t('JournalCitationAnalysis.citeNum') }}&nbsp;:&nbsp;&nbsp;<span
style="color: #006699 !important"
>{{ scope.row.cite.yc_cite_num }}
</span></span
>
</p>
</div>
<span slot="reference"
>{{ scope.row.cite.yc_if && scope.row.cite.yc_if > 0 ? scope.row.cite.yc_if.toFixed(2) : 0 }}
</span>
</el-popover>
</template>
</el-table-column>
<el-table-column :label="`${$t('JournalCitationAnalysis.Sameperiod')} ( ${p_year} )`" width="160" align="center">
<template slot-scope="scope">
<el-popover placement="top-start" title="" width="" trigger="hover">
<div class="SameperiodBox">
<p style="margin-bottom: 8px">
<span class="title"
>{{ $t('JournalCitationAnalysis.articleNum') }}&nbsp;:&nbsp;&nbsp;<span
style="color: #006699 !important"
>{{ scope.row.cite.yc_article_num_q }}
</span></span
>
</p>
<p>
<span class="title"
>{{ $t('JournalCitationAnalysis.citeNum') }}&nbsp;:&nbsp;&nbsp;<span
style="color: #006699 !important"
>{{ scope.row.cite.yc_cite_num_q }}
</span></span
>
</p>
</div>
<span slot="reference">{{
scope.row.cite.yc_if_q && scope.row.cite.yc_if_q > 0 ? scope.row.cite.yc_if_q.toFixed(2) : 0
}}</span>
</el-popover>
</template>
</el-table-column>
</el-table>
@@ -149,9 +191,7 @@ export default {
// 获取文章列表数据
async getTableData() {
await this.$api
.post(`api/Monitor/getCiteForChief`, {
})
.post(`api/Monitor/getCiteForChief`, {})
.then(async (res) => {
var that = this;
if (res.code == 0) {
@@ -183,4 +223,11 @@ export default {
right: 0px;
z-index: 10;
}
.SameperiodBox {
font-size: 12px;
}
.SameperiodBox .title {
margin-right: 10px;
font-weight: 700 !important;
}
</style>