用户数据库
This commit is contained in:
@@ -108,8 +108,10 @@
|
||||
<!-- <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">
|
||||
<p v-if="cvitaTable && cvitaTable.length > 0" style="margin: 0 0 25px 0">If you want to update your resume, please upload it.</p>
|
||||
<el-form :model="cvitaForm" :rules="rules" ref="cvita_Form" label-width="0px" >
|
||||
<p v-if="cvitaTable && cvitaTable.length > 0" style="margin: 0 0 25px 0">
|
||||
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-upload
|
||||
style="float: left"
|
||||
@@ -145,9 +147,6 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
|
||||
|
||||
|
||||
<p
|
||||
style="width: 100%; background-color: #d7d7d7; height: 1px; margin: -10px auto 10px auto"
|
||||
v-if="cvitaTable && cvitaTable.length > 0"
|
||||
@@ -288,8 +287,78 @@
|
||||
|
||||
<div class="s_rol" v-if="this.role_author == 1">
|
||||
<h3 style="color: #006699">Author</h3>
|
||||
<div class="rol_art">
|
||||
<p v-if="authorTable.manuscriptNum != undefined">
|
||||
<div class="rol_art" style="padding: 0" v-if="authorArticlesList.length > 0">
|
||||
<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>
|
||||
articles submitted.
|
||||
</p>
|
||||
@@ -300,7 +369,7 @@
|
||||
<p v-if="authorTable.index != undefined">
|
||||
<b class="colNUmber">{{ authorTable.index }}</b>
|
||||
records citing.
|
||||
</p>
|
||||
</p> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="s_rol" v-if="this.role_editor == 1">
|
||||
@@ -690,6 +759,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
authorArticlesList: [],
|
||||
userrole: localStorage.getItem('U_status'),
|
||||
baseUrl: this.Common.baseUrl,
|
||||
mediaUrl: this.Common.mediaUrl,
|
||||
@@ -1025,6 +1095,9 @@ export default {
|
||||
this.coreTable = res.data.baseInfo;
|
||||
this.cvitaTable = res.data.cvs;
|
||||
|
||||
if (res.data.Author) {
|
||||
this.authorArticlesList = res.data.Author.articles ? res.data.Author.articles : [];
|
||||
}
|
||||
if (res.data.asAuthor) {
|
||||
this.authorTable = res.data.asAuthor;
|
||||
}
|
||||
@@ -1981,4 +2054,9 @@ export default {
|
||||
font-weight: bold;
|
||||
margin-left: 10px;
|
||||
}
|
||||
/deep/.articleTable .el-table th {
|
||||
background-color: #f0f0f0 !important;
|
||||
color: #006699 !important;
|
||||
padding: 3px !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user