1、Manuscirpt大写
2、修回阶段只允许作者上传pdf文件(原是docx)
This commit is contained in:
@@ -204,7 +204,7 @@
|
|||||||
<br clear="both">
|
<br clear="both">
|
||||||
<h4><b style="margin-right:5px;color: red;">*</b>Response to reviewers :</h4>
|
<h4><b style="margin-right:5px;color: red;">*</b>Response to reviewers :</h4>
|
||||||
<p>
|
<p>
|
||||||
<el-upload class="upload-demo" :action="upload_response" accept=".docx,"
|
<el-upload class="upload-demo" :action="upload_response" accept=".pdf,"
|
||||||
name="articleResponse" :before-upload="beforeupload_response"
|
name="articleResponse" :before-upload="beforeupload_response"
|
||||||
:on-error="uperr_coverLetter" :on-success="upSuccess_response" :limit="1"
|
:on-error="uperr_coverLetter" :on-success="upSuccess_response" :limit="1"
|
||||||
:on-exceed="alertlimit" :on-remove="removefileresponse">
|
:on-exceed="alertlimit" :on-remove="removefileresponse">
|
||||||
@@ -212,7 +212,7 @@
|
|||||||
<em>Click Upload</em>
|
<em>Click Upload</em>
|
||||||
</div>
|
</div>
|
||||||
<div class="el-upload__tip" slot="tip">Only word files can be uploaded
|
<div class="el-upload__tip" slot="tip">Only word files can be uploaded
|
||||||
(.docx)</div>
|
(.pdf)</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</p>
|
</p>
|
||||||
<br clear="both">
|
<br clear="both">
|
||||||
@@ -728,7 +728,16 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeupload_response(file) {},
|
beforeupload_response(file) {
|
||||||
|
|
||||||
|
let flieArr = file.name.split(".")
|
||||||
|
let fileSuffix = flieArr[flieArr.length - 1];
|
||||||
|
if (fileSuffix != 'pdf') {
|
||||||
|
this.$message.error('Only word and compressed files can be uploaded(.pdf)');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
uperr_coverLetter(err) {
|
uperr_coverLetter(err) {
|
||||||
this.$message.error('upload error!');
|
this.$message.error('upload error!');
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px">
|
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px">
|
||||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
||||||
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
||||||
>{{ item.type_name }}
|
>Manuscirpt
|
||||||
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
||||||
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
||||||
><br />
|
><br />
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<div class="file_sty" v-for="item in picList">
|
<div class="file_sty" v-for="item in picList">
|
||||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
||||||
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
||||||
>Figures And Tables
|
>Figures and Tables
|
||||||
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
||||||
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
||||||
><br />
|
><br />
|
||||||
@@ -277,13 +277,13 @@
|
|||||||
<br />
|
<br />
|
||||||
<el-radio :label="2">Major revision</el-radio>
|
<el-radio :label="2">Major revision</el-radio>
|
||||||
<br />
|
<br />
|
||||||
<!-- TMR BMEC MDM .-->
|
<!-- TMR BMEC MDM .-->
|
||||||
<div v-if="journal_id == 1 || journal_id == 23 || journal_id == 10">
|
<div v-if="journal_id == 1 || journal_id == 23 || journal_id == 10">
|
||||||
<el-radio :label="3">Reject in current form, but may be resubmitted</el-radio>
|
<el-radio :label="3">Reject in current form, but may be resubmitted</el-radio>
|
||||||
<br />
|
<br />
|
||||||
<el-radio :label="4">Reject</el-radio>
|
<el-radio :label="4">Reject</el-radio>
|
||||||
</div>
|
</div>
|
||||||
<!-- 其他期刊 -->
|
<!-- 其他期刊 -->
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<el-radio :label="4">Reject</el-radio>
|
<el-radio :label="4">Reject</el-radio>
|
||||||
</div>
|
</div>
|
||||||
@@ -369,7 +369,7 @@ export default {
|
|||||||
txt_mess: {},
|
txt_mess: {},
|
||||||
fileList: [],
|
fileList: [],
|
||||||
picList: [],
|
picList: [],
|
||||||
SMList: [],//补充材料
|
SMList: [], //补充材料
|
||||||
mediaUrl: this.Common.mediaUrl,
|
mediaUrl: this.Common.mediaUrl,
|
||||||
add_edit: {
|
add_edit: {
|
||||||
article_id: this.$route.query.Art_id,
|
article_id: this.$route.query.Art_id,
|
||||||
@@ -412,7 +412,7 @@ export default {
|
|||||||
add_apply: 0,
|
add_apply: 0,
|
||||||
btn_submit: 0,
|
btn_submit: 0,
|
||||||
pdfUrl: '',
|
pdfUrl: '',
|
||||||
journal_id:null,
|
journal_id: null,
|
||||||
rules: {
|
rules: {
|
||||||
qu6: [
|
qu6: [
|
||||||
{
|
{
|
||||||
@@ -499,8 +499,8 @@ export default {
|
|||||||
res.ctime = Y + M + D;
|
res.ctime = Y + M + D;
|
||||||
|
|
||||||
this.txt_mess = res;
|
this.txt_mess = res;
|
||||||
this.journal_id = res.journal_id
|
this.journal_id = res.journal_id;
|
||||||
console.log('journal_id', this.journal_id)
|
console.log('journal_id', this.journal_id);
|
||||||
|
|
||||||
// 文章状态
|
// 文章状态
|
||||||
if (res.astate == 2) {
|
if (res.astate == 2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user