This commit is contained in:
xulu
2022-03-11 18:14:17 +08:00
parent a2a8a06ff6
commit c8b0dd1097
7 changed files with 871 additions and 35 deletions

View File

@@ -184,7 +184,21 @@
<br clear="both" v-if="proposalsFileList">
</div>
</div>
<div class="art_caozuo_">
<div class="art_state_upagain" style="margin-bottom: 0;border-color: #eef6fb;padding-bottom: 0;">
TMR Publishing Group journals follow a double blind peer review process to ensure impartial editorial
decision-making. The author should not include identifying information the main manuscript as this must remain
blinded. However, there are still some authors who expose information to reviewers. Here we ask the editor to
identify such a manuscript, separate the two parts and re-upload them. If you need to do so, please
<span @click="againVisble=true"> click here</span>.
If you need not, please ignore this step.
</div>
<div class="art_state_btn">
<div class="btn_remarks" @click="testedit" style="right: -2px;">Remarks</div>
</div>
</div>
</el-col>
<el-col :span="9">
<timetalk :talkMsgs="talkMsgs" :msgform="msgform"></timetalk>
@@ -193,7 +207,19 @@
</el-row>
</div>
<el-dialog title="Upload file" :visible.sync="againVisble" width="500px">
<el-upload class="upload-demo" :action="upload_again" accept=".doc, .docx, .rar, .zip" name="manuscirpt"
:before-upload="beforeupload_again" :on-error="uperr_again" :on-success="upSuccess_again" :limit="1" :on-exceed="alertlimit_again"
:on-remove="removefilemanuscirpt" ref="again_upload">
<div class="el-upload__text" style="padding:8px 5px;">
<em>Click Upload</em>
</div>
<div class="el-upload__tip" slot="tip">Only word and compressed files can be uploaded(.doc,.docx,.rar,.zip)</div>
</el-upload>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="saveAgain">Save</el-button>
</span>
</el-dialog>
<el-dialog title="Remarks" :visible.sync="editbox" width="500px">
<el-form ref="remark" :model="remark" label-width="80px">
<el-form-item label="Content :">
@@ -431,6 +457,7 @@
reverse: false,
dialogFormVisible: false,
Detailvisible: false,
againVisble: false,
questionform: {},
coverLetterFileList: [],
picturesAndTablesFileList: [],
@@ -595,6 +622,9 @@
upload_zip: function() {
return this.baseUrl + 'api/Article/up_file/type/repezip';
},
upload_again: function() {
return this.baseUrl + 'api/Article/up_file/type/manuscirpt';
},
journal_me: function() {
var frag = this.form.journalname;
if (this.form.special_num > 0) {
@@ -674,10 +704,10 @@
this.loading = true;
this.$api.post('api/Article/editArticleRemark', this.remark)
.then(res => {
this.loading = false;
this.editbox = false;
this.$message.success('success');
this.initarticle();
this.loading = false;
this.editbox = false;
this.$message.success('success');
this.initarticle();
});
},
saveRepe() {
@@ -850,6 +880,46 @@
return frag;
},
// 上传文件
saveAgain() {
if (this.form.manuscirpt == '') {
this.$message.error('Manuscirpt is required');
return false;
}
this.loading = true;
this.$api.post('api/Article/changeArticleFileEditor', this.form)
.then(res => {
this.loading = false;
this.$message.success('success');
this.againVisble = false
this.initFileList()
})
.catch(err => {
console.log(err);
});
},
//检验上传文件的格式
beforeupload_again(file) {
},
uperr_again(err) {
this.$message.error('upload error');
},
upSuccess_again(res, file) {
if (res.code == 0) {
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
} else {
this.$message.error('service error' + res.msg);
}
},
removefilemanuscirpt(file, fileList) {
this.form.manuscirpt = '';
},
alertlimit_again() {
this.$message.error('The maximum number of uploaded files has been exceeded');
},
// 打分问卷