tijiao
This commit is contained in:
@@ -67,7 +67,7 @@ export default {
|
||||
vTags
|
||||
},
|
||||
created() {
|
||||
console.log('route at line 38:', this.$route)
|
||||
|
||||
bus.$on('collapse-content', (msg) => {
|
||||
this.collapse = msg;
|
||||
localStorage.setItem('collapse', this.collapse);
|
||||
|
||||
@@ -71,9 +71,9 @@
|
||||
<!-- <el-menu-item index="editorial">
|
||||
{{ $t('sidebar.edit_oria1') }}
|
||||
</el-menu-item> -->
|
||||
<el-menu-item index="edithistory">
|
||||
<!-- <el-menu-item index="edithistory">
|
||||
{{ $t('sidebar.edit_oria2') }}
|
||||
</el-menu-item>
|
||||
</el-menu-item> -->
|
||||
<el-menu-item index="editPeerewer">
|
||||
{{ $t('sidebar.edit_ewer1') }}
|
||||
</el-menu-item>
|
||||
|
||||
@@ -1,50 +1,56 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="commonCvList">
|
||||
<!-- 个人简历弹出框 -->
|
||||
<p style="margin: 0 0 25px 28px; font-size: 18px">CV. List</p>
|
||||
<p style="color: #aaa; margin: 0 0 30px 28px" v-if="cvitaTable.length == 0">No data</p>
|
||||
<div v-for="(item, index) in cvitaTable" style="margin: 0 0 0 30px">
|
||||
{{ index + 1 }}.
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" style="vertical-align: middle; margin-left: 10px" />
|
||||
<span style="margin-left: 20px; color: #888; font-size: 13px">
|
||||
<i class="el-icon-paperclip"></i>
|
||||
{{ formatDate(item.ctime) }}
|
||||
</span>
|
||||
<a :href="mediaUrl + 'reviewer/' + item.cv" target="_blank" class="txt_pdf">
|
||||
<i class="el-icon-download"></i>
|
||||
</a>
|
||||
<i
|
||||
class="el-icon-delete"
|
||||
@click="deletCVita(item)"
|
||||
style="color: #f12424; cursor: pointer; font-weight: bold; margin: 0 0 0 15px"
|
||||
></i>
|
||||
|
||||
|
||||
<p style="color: #aaa; margin: 0 0 0px 0px" v-if="cvitaTable1 && cvitaTable1.length == 0">No data</p>
|
||||
|
||||
|
||||
<div style="margin: 0 0 0 0px">
|
||||
<div v-for="(item, index) in cvitaTable1" style="height: 30px;">
|
||||
<span style="color: #888;">{{ index + 1 }}.</span>
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" style="vertical-align: middle; margin-left: 10px" />
|
||||
<span style="margin-left: 20px; color: #888; font-size: 13px">
|
||||
<i class="el-icon-paperclip"></i>
|
||||
{{ formatDate(item.ctime) }}
|
||||
</span>
|
||||
<a :href="mediaUrl + 'reviewer/' + item.cv" target="_blank" class="txt_pdf">
|
||||
<i class="el-icon-download"></i>
|
||||
</a>
|
||||
<i v-if="isEdit"
|
||||
class="el-icon-delete"
|
||||
@click="deletCVita(item)"
|
||||
style="color: #f12424; cursor: pointer; font-weight: bold; margin: 0 0 0 15px"
|
||||
></i>
|
||||
</div>
|
||||
</div>
|
||||
<p style="width: 90%; background-color: #d7d7d7; height: 1px; margin: 10px auto 30px auto"></p>
|
||||
<p style="margin: 0 0 25px 28px">If you want to update your resume, please upload it.</p>
|
||||
<el-form :model="cvitaForm" :rules="rules" ref="cvita_Form" label-width="70px">
|
||||
<el-form-item label="CV. :">
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
:action="baseUrl + 'api/Ucenter/up_cv_file'"
|
||||
:on-success="handleFileSuccess1"
|
||||
name="reviewerCV"
|
||||
type="reviewerCV"
|
||||
:on-error="handleFileError"
|
||||
:on-preview="handlePreview"
|
||||
:on-remove="handleRemove"
|
||||
:before-remove="beforeRemove"
|
||||
:on-change="handleChange1"
|
||||
accept=".pdf"
|
||||
:on-exceed="handleExceed"
|
||||
ref="uploadRef1"
|
||||
>
|
||||
<el-button type="text" style="font-weight: bolder">
|
||||
<b class="el-icon-lx-top" style="font-weight: bolder"></b>upload
|
||||
</el-button>
|
||||
</el-upload>
|
||||
<span style="font-size: 12px; color: #aaa"> Only pdf files can be uploaded(.pdf) </span>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div v-if="isEdit">
|
||||
<p style="margin: 20px 0"></p>
|
||||
<el-upload style="position: relative"
|
||||
class="upload-demo"
|
||||
:action="baseUrl + 'api/Ucenter/up_cv_file'"
|
||||
:on-success="handleFileSuccess1"
|
||||
name="reviewerCV"
|
||||
type="reviewerCV"
|
||||
:on-error="handleFileError"
|
||||
:on-preview="handlePreview"
|
||||
:on-remove="handleRemove"
|
||||
:before-remove="beforeRemove"
|
||||
:on-change="handleChange1"
|
||||
accept=".pdf"
|
||||
:on-exceed="handleExceed"
|
||||
ref="uploadRef1"
|
||||
>
|
||||
<el-button type="text" style="font-weight: bolder">
|
||||
<b class="el-icon-lx-top" style="font-weight: bolder"></b>upload
|
||||
</el-button>
|
||||
<div class="el-upload__tip" slot="tip">
|
||||
Only PDF and compressed files can be uploaded (file format: .pdf).
|
||||
<div style="font-size: 12px; color: #888; line-height: 14px">If you want to update your resume, please upload it.</div>
|
||||
</div>
|
||||
</el-upload>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -53,6 +59,12 @@ import Schart from 'vue-schart';
|
||||
import bus from '../common/bus';
|
||||
export default {
|
||||
name: 'dashboard',
|
||||
props:{
|
||||
isEdit: {
|
||||
type: Boolean,
|
||||
default:true
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
user_id: '',
|
||||
@@ -71,11 +83,12 @@ export default {
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
init() {
|
||||
init(list) {
|
||||
this.user_id = localStorage.getItem('U_id');
|
||||
this.cvitaForm.user_id = this.user_id;
|
||||
console.log('this.user_id at line 75:', this.user_id)
|
||||
this.getCVitaData();
|
||||
console.log('this.user_id at line 75:', this.user_id);
|
||||
this.cvitaTable1=[...list]
|
||||
// this.getCVitaData();
|
||||
},
|
||||
// 获取简历列表
|
||||
getCVitaData() {
|
||||
@@ -205,4 +218,11 @@ export default {
|
||||
font-weight: bold;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.commonCvList .el-upload__tip {
|
||||
position: absolute;
|
||||
top: -14px;
|
||||
left: 70px;
|
||||
color: #333;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -224,7 +224,7 @@ const en = {
|
||||
rev_ewer: 'Reviewer',
|
||||
rev_ewer1: 'Peer Review',
|
||||
rev_ewer2: 'Review History',
|
||||
|
||||
|
||||
man_ing: 'Editor-in-Chief',
|
||||
man_ing1: 'Journal information',
|
||||
man_ing2: 'Article List',
|
||||
@@ -365,7 +365,7 @@ const en = {
|
||||
reply: 'Reply',
|
||||
execute: 'Execute',
|
||||
revoke: 'Revoke',
|
||||
|
||||
|
||||
solve: 'Solve',
|
||||
cancelsolve: 'Cancel resolved',
|
||||
Resolved: 'Resolved',
|
||||
@@ -385,16 +385,20 @@ const en = {
|
||||
exportImg: 'Export PNG',
|
||||
PaperRotation: 'Paper Rotation',
|
||||
removeAnnotations: 'Are you sure you want to delete this Annotation?',
|
||||
removeProofread
|
||||
: 'Are you sure to delete this suggestion?',
|
||||
removeProofread: 'Are you sure to delete this suggestion?',
|
||||
removeContent: 'Are you sure you want to delete this content?',
|
||||
reContent: 'Are you sure you want to restore this content?',
|
||||
uploadImageInfo: 'Figures can only upload files in JPG, JPEG, and PNG formats!',
|
||||
selectComment: 'Please select the text to add annotations to!',
|
||||
selectWord: 'Please select only a single word!',
|
||||
selectOne: 'Please select only a single paragraph!',
|
||||
alreadyCommented: 'There are already annotations in the text, please select again!',
|
||||
Multicolumn: 'Multicolumn',
|
||||
singleRow: "single-row",
|
||||
Row: "Row",
|
||||
Uncheck: 'Uncheck the paragraph',
|
||||
ManuscirptAIProofreading: 'Manuscript AI Proofreading',
|
||||
BatchAddcontent: 'Batch Add content',
|
||||
},
|
||||
pendingPayment: {
|
||||
title: 'Title',
|
||||
|
||||
@@ -382,9 +382,14 @@ const zh = {
|
||||
uploadImageInfo: 'Figures 只能上传 JPG、JPEG 和 PNG 格式的文件',
|
||||
selectComment: '请选择要添加批注的文本',
|
||||
selectWord:'请只选中单个单词!',
|
||||
selectOne:'请只勾选单个段落!',
|
||||
alreadyCommented:'文本中已有批注内容请重新选择',
|
||||
Multicolumn:'多列',
|
||||
singleRow:"单列",
|
||||
Row:"空行",
|
||||
Uncheck:'取消勾选段落',
|
||||
ManuscirptAIProofreading:'稿件AI校对',
|
||||
BatchAddcontent: '批量添加内容',
|
||||
},
|
||||
pendingPayment: {
|
||||
title: 'Title',
|
||||
|
||||
Reference in New Issue
Block a user