用户数据库
This commit is contained in:
@@ -59,6 +59,14 @@ const en = {
|
|||||||
all:'All references',
|
all:'All references',
|
||||||
factor: 'Factor',
|
factor: 'Factor',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
partyRole:{
|
||||||
|
identity:'Identity',
|
||||||
|
InvestorProducer:'Investor Producer',
|
||||||
|
author:'Author',
|
||||||
|
status:'Status',
|
||||||
|
Published:'Published',
|
||||||
|
},
|
||||||
paperArticleCount:{
|
paperArticleCount:{
|
||||||
Periodroll:'Period Roll',
|
Periodroll:'Period Roll',
|
||||||
article:'Articles',
|
article:'Articles',
|
||||||
|
|||||||
@@ -68,6 +68,13 @@ const zh = {
|
|||||||
relation: '关联',
|
relation: '关联',
|
||||||
|
|
||||||
},
|
},
|
||||||
|
partyRole:{
|
||||||
|
identity:'身份',
|
||||||
|
InvestorProducer:'投稿者',
|
||||||
|
author:'作者',
|
||||||
|
status:'状态',
|
||||||
|
Published:'已发表',
|
||||||
|
},
|
||||||
sidebar: {
|
sidebar: {
|
||||||
main: '个人中心',
|
main: '个人中心',
|
||||||
author: '作者',
|
author: '作者',
|
||||||
|
|||||||
@@ -108,8 +108,10 @@
|
|||||||
<!-- <p style="color: #aaa; margin: 0 0 30px 28px" v-if="cvitaTable.length == 0">No data</p> -->
|
<!-- <p style="color: #aaa; margin: 0 0 30px 28px" v-if="cvitaTable.length == 0">No data</p> -->
|
||||||
|
|
||||||
<div style="width: calc(100% - 175px); float: right">
|
<div style="width: calc(100% - 175px); float: right">
|
||||||
<p v-if="cvitaTable && cvitaTable.length > 0" style="margin: 0 0 25px 0">If you want to update your resume, please upload it.</p>
|
<p v-if="cvitaTable && cvitaTable.length > 0" style="margin: 0 0 25px 0">
|
||||||
<el-form :model="cvitaForm" :rules="rules" ref="cvita_Form" label-width="0px" >
|
If you want to update your resume, please upload it.
|
||||||
|
</p>
|
||||||
|
<el-form :model="cvitaForm" :rules="rules" ref="cvita_Form" label-width="0px">
|
||||||
<el-form-item label="">
|
<el-form-item label="">
|
||||||
<el-upload
|
<el-upload
|
||||||
style="float: left"
|
style="float: left"
|
||||||
@@ -145,9 +147,6 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p
|
<p
|
||||||
style="width: 100%; background-color: #d7d7d7; height: 1px; margin: -10px auto 10px auto"
|
style="width: 100%; background-color: #d7d7d7; height: 1px; margin: -10px auto 10px auto"
|
||||||
v-if="cvitaTable && cvitaTable.length > 0"
|
v-if="cvitaTable && cvitaTable.length > 0"
|
||||||
@@ -288,8 +287,78 @@
|
|||||||
|
|
||||||
<div class="s_rol" v-if="this.role_author == 1">
|
<div class="s_rol" v-if="this.role_author == 1">
|
||||||
<h3 style="color: #006699">Author</h3>
|
<h3 style="color: #006699">Author</h3>
|
||||||
<div class="rol_art">
|
<div class="rol_art" style="padding: 0" v-if="authorArticlesList.length > 0">
|
||||||
<p v-if="authorTable.manuscriptNum != undefined">
|
<div class="articleTable">
|
||||||
|
<el-table
|
||||||
|
row-key="article_id"
|
||||||
|
style="width: calc(100%); margin-top: 15px; margin-bottom: 20px"
|
||||||
|
:data="authorArticlesList"
|
||||||
|
class=""
|
||||||
|
empty-text="New Data (0)"
|
||||||
|
>
|
||||||
|
<!-- <el-table-column type="index" label="No." width="45" align="center"></el-table-column> -->
|
||||||
|
<el-table-column :label="`${$t('paperArticleCount.articleTitle')}`" width="" prop="title">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span style="font-size: 700">{{ scope.$index + 1 }}. </span>
|
||||||
|
|
||||||
|
<span v-if="scope.row.link" style=" text-decoration: underline; ">
|
||||||
|
<a target="_blank" :href="scope.row.link" style="color: #006699 !important">{{
|
||||||
|
scope.row.title
|
||||||
|
}}</a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span v-else style="color: rgb(113 112 112)">
|
||||||
|
{{ scope.row.title }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column :label="$t('partyRole.identity')" prop="title" width="200">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div style="color: ">
|
||||||
|
<span
|
||||||
|
v-for="(v, i) in scope.row.role"
|
||||||
|
style="
|
||||||
|
padding: 4px;
|
||||||
|
border-radius: 2px;
|
||||||
|
margin-right: 10px;
|
||||||
|
color: #409eff !important;
|
||||||
|
background: #ecf5ff !important;
|
||||||
|
border-color: #b3d8ff !important;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
v == 'user'
|
||||||
|
? $t('partyRole.InvestorProducer')
|
||||||
|
: v == 'author'
|
||||||
|
? $t('partyRole.author')
|
||||||
|
: ''
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column :label="$t('partyRole.status')" prop="title" width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div
|
||||||
|
style=""
|
||||||
|
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}`) }}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<!-- <p v-if="authorTable.manuscriptNum != undefined">
|
||||||
<b class="colNUmber">{{ authorTable.manuscriptNum }}</b>
|
<b class="colNUmber">{{ authorTable.manuscriptNum }}</b>
|
||||||
articles submitted.
|
articles submitted.
|
||||||
</p>
|
</p>
|
||||||
@@ -300,7 +369,7 @@
|
|||||||
<p v-if="authorTable.index != undefined">
|
<p v-if="authorTable.index != undefined">
|
||||||
<b class="colNUmber">{{ authorTable.index }}</b>
|
<b class="colNUmber">{{ authorTable.index }}</b>
|
||||||
records citing.
|
records citing.
|
||||||
</p>
|
</p> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="s_rol" v-if="this.role_editor == 1">
|
<div class="s_rol" v-if="this.role_editor == 1">
|
||||||
@@ -690,6 +759,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
|
authorArticlesList: [],
|
||||||
userrole: localStorage.getItem('U_status'),
|
userrole: localStorage.getItem('U_status'),
|
||||||
baseUrl: this.Common.baseUrl,
|
baseUrl: this.Common.baseUrl,
|
||||||
mediaUrl: this.Common.mediaUrl,
|
mediaUrl: this.Common.mediaUrl,
|
||||||
@@ -1025,6 +1095,9 @@ export default {
|
|||||||
this.coreTable = res.data.baseInfo;
|
this.coreTable = res.data.baseInfo;
|
||||||
this.cvitaTable = res.data.cvs;
|
this.cvitaTable = res.data.cvs;
|
||||||
|
|
||||||
|
if (res.data.Author) {
|
||||||
|
this.authorArticlesList = res.data.Author.articles ? res.data.Author.articles : [];
|
||||||
|
}
|
||||||
if (res.data.asAuthor) {
|
if (res.data.asAuthor) {
|
||||||
this.authorTable = res.data.asAuthor;
|
this.authorTable = res.data.asAuthor;
|
||||||
}
|
}
|
||||||
@@ -1981,4 +2054,9 @@ export default {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
/deep/.articleTable .el-table th {
|
||||||
|
background-color: #f0f0f0 !important;
|
||||||
|
color: #006699 !important;
|
||||||
|
padding: 3px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user