暂时去掉分类管理

增加期刊引文分析 cite修改
This commit is contained in:
2024-09-27 11:11:23 +08:00
parent b306198109
commit c423bf9c58
10 changed files with 2637 additions and 115 deletions

View File

@@ -35,9 +35,14 @@
align="center"
>
<template slot-scope="scope">
<el-button type="primary" size="mini" @click="openDrawer(scope.row)" style="font-weight: bold">
{{ scope.row.cite.month_num }}</el-button
>
{{ scope.row.cite.month_num }}
<span @click="openDrawer(scope.row)" style="margin-left: 10px;cursor: pointer;color: #006699 !important;font-weight: bold">
<i class="el-icon-edit"></i> {{ $t('JournalCitationAnalysis.edit') }}
</span>
<!-- <el-button type="primary" size="mini" @click="openDrawer(scope.row)" style="">
</el-button> -->
<!-- <p
style="padding: 0px 6px;display: inline-block;cursor: pointer; color: #409eff; background: #ecf5ff; border: 1px solid #b3d8ff"
@@ -122,25 +127,45 @@
</el-table-column>
<el-table-column prop="title" :label="$t('JournalCitationAnalysis.ArticleInfo')">
<template slot-scope="scope">
<p style="color: #333; margin-bottom: 4px">
<span style="font-size: 14px; font-weight: 600">Article Tiltle : </span>
<span style="font-size: 14px"> {{ scope.row.article_name }}</span>
</p>
<p>
<span style="font-size: 14px; font-weight: 600">Author : </span>
<span style="font-size: 14px">{{ scope.row.author }}</span>
</p>
<p>
<span style="font-size: 13px; font-weight: 500; color: #888"
>{{ $t('paperArticleCount.Periodroll') }} :
</span>
<span style="font-size: 13px; color: #aaa">( {{ scope.row.vol }} )</span>
</p>
<p>
<span style="font-size: 14px; color: #006699; font-weight: 500">Doi : </span>
<span style="font-size: 14px; color: #006699 !important; font-weight: 500">{{ scope.row.doi }}</span>
<span style="font-size: 13px; color: #006699 !important; font-weight: 500; margin-left: 5px">{{
scope.row.doi
}}</span>
</p>
<p style="color: #333; margin-bottom: 4px">
<span style="font-size: 14px; font-weight: 600">Tiltle : </span>
<span style="font-size: 14px"> {{ scope.row.title }}</span>
</p>
<div
style="
background-color: rgb(170 170 170 / 21%);
padding: 4px 10px;
box-sizing: border-box;
border-radius: 4px;
"
>
<p style="color: #333; margin-bottom: 4px">
<!-- <span style="font-size: 14px; font-weight: 600">Tiltle : </span> -->
<span style="font-size: 14px"> {{ scope.row.article_name }}</span>
</p>
<p>
<span style="font-size: 14px; color: #888; font-weight: 500">Doi : </span>
<span style="font-size: 13px; color: #aaa !important; font-weight: 500; margin-left: 5px">{{
scope.row.article_doi
}}</span>
<span style="float: right">
<span style="font-size: 13px; font-weight: 500; color: #888"
>{{ $t('paperArticleCount.Periodroll') }} :
</span>
<span style="font-size: 13px; color: #aaa">( {{ scope.row.vol }} )</span>
</span>
</p>
</div>
</template>
</el-table-column>
<el-table-column :label="$t('citeList.is_wos')" width="80" align="center">
@@ -152,52 +177,31 @@
</el-table-column>
<el-table-column :label="$t('citeList.is_china')" width="80" align="center">
<template slot-scope="scope">
<span v-if="scope.row.is_wos == 0">{{ $t('citeList.is_china0') }}</span>
<p v-if="scope.row.is_wos == 1">{{ $t('citeList.yes') }}</p>
<p v-if="scope.row.is_wos == 2">{{ $t('citeList.no') }}</p>
</template>
</el-table-column>
<el-table-column :label="$t('partyRole.status')" width="100" align="center">
<template slot-scope="scope">
<span
style="
padding: 2px 4px;
border-radius: 2px;
margin-left: 10px;
font-size: 12px;
color: #909399;
background: #f4f4f5;
border-color: #d3d4d6;
float: right;
"
v-if="
scope.row.state == 0 ||
scope.row.state == 1 ||
scope.row.state == 2 ||
scope.row.state == 3 ||
scope.row.state == 4 ||
scope.row.state == 5 ||
scope.row.state == 6
"
>
<!-- {{ scope.row.link ?$t('partyRole.Published') : '' }} -->
{{ $t(`artstate.state${scope.row.state}`) }}
</span>
<span v-if="scope.row.is_china == 0">{{ $t('citeList.is_china0') }}</span>
<p v-if="scope.row.is_china == 1">{{ $t('citeList.yes') }}</p>
<p v-if="scope.row.is_china == 2">{{ $t('citeList.no') }}</p>
</template>
</el-table-column>
<el-table-column :label="$t('citeList.factor')" width="80" align="center">
<template slot-scope="scope">
<span style="color: #006699; font-weight: bold">{{ scope.row.factor ? scope.row.factor : '-' }}</span>
<span>{{ scope.row.factor ? scope.row.factor : '' }}</span>
</template>
</el-table-column>
<el-table-column label="" width="80" align="center">
<template slot-scope="scope">
<el-button size="mini" @click="addCite(scope.row)" type="primary">Edit</el-button>
</template>
</el-table-column>
</el-table>
</div>
</el-drawer>
<common-cite-list ref="commonCiteList" :doiInfo="this.doiInfo" :journal="currentData" @refresh="getJournalList"></common-cite-list>
</div>
</template>
<script>
const jAtableY = () => import('@/components/common/journalArticleTable');
const commonCiteList = () => import('@/components/page/components/JournalCitationAnalysis/citeList.vue');
export default {
data() {
@@ -210,13 +214,15 @@ export default {
JournalList: [],
JournalListLoad: false,
currentData: {},
doiInfo: {},
p_year: new Date().getFullYear() - 1,
year: new Date().getFullYear(),
month: new Date().getMonth() + 1
};
},
components: {
jAtableY
jAtableY,
commonCiteList
},
async created() {
this.loading = true;
@@ -225,6 +231,32 @@ export default {
this.$forceUpdate();
},
methods: {
addCite(data) {
console.log('this.currentData at line 221:', this.currentData);
console.log('data at line 220:', data);
this.doiInfo = {
doi: data.article_doi,
is_china: data.is_china,
is_wos: data.is_wos,
factor: data.factor,
article_id: data.article_id,
article_title: data.article_name,
journal_title: data.journal_name,
vol: data.vol,
article_cite_id: data.article_cite_id
};
this.$nextTick(() => {
this.$refs.commonCiteList.showDialogSpecial();
});
// this.$router.push({
// name: 'publishRefernceEditor',
// query: {
// id: this.articleId,
// pid: this.UpHtpFIle.p_article_id
// }
// });
},
getJournalList() {
this.JournalListLoad = true;
this.JournalList = [];