提交
This commit is contained in:
@@ -57,7 +57,42 @@
|
||||
<p v-if="form.special_num > 0">
|
||||
<font>Special Issues :</font><b>{{ form.special_title }}</b>
|
||||
</p>
|
||||
<el-collapse class="auth_colla auth_collna_ew" style="margin-bottom: 0;">
|
||||
<el-collapse-item title="Research areas" name="1" >
|
||||
|
||||
|
||||
|
||||
<div style="position: relative;height: 30px;">
|
||||
<common-major
|
||||
:articleId="editform.articleId"
|
||||
@load="initMajor()"
|
||||
style="position: absolute; top: 10px; right: 10px"
|
||||
></common-major>
|
||||
|
||||
</div>
|
||||
|
||||
<div style="margin: 12px 20px 30px 0px; line-height: 24px; font-size: 14px; position: relative">
|
||||
<div>
|
||||
<!-- 统计数据 -->
|
||||
|
||||
<div class="join_link">
|
||||
<!-- 如果你想投稿 请点击 -->
|
||||
<p style="" v-for="(v, i) in majorsList">
|
||||
<span style="color: #006699; font-weight: bold; margin-right: 10px"
|
||||
>Field {{ i + 1 }}:</span
|
||||
>{{ v.str
|
||||
}}<i
|
||||
class="el-icon-delete-solid"
|
||||
style="color: #f56c6c !important; margin-left: 10px"
|
||||
@click="handleDeleteMajor(v)"
|
||||
></i>
|
||||
</p>
|
||||
<!-- 查看已投稿件列表 -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<el-collapse class="auth_colla auth_collna_ew">
|
||||
<el-collapse-item :title="authorList_name" name="1">
|
||||
<div v-for="(item, index) in form.authorList" class="auth_mess">
|
||||
@@ -108,6 +143,7 @@
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
|
||||
<el-collapse class="auth_colla auth_collna_ew" style="margin-top: -15px">
|
||||
<el-collapse-item name="2">
|
||||
<template slot="title">
|
||||
@@ -126,6 +162,7 @@
|
||||
</p>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="art_file_">
|
||||
@@ -178,7 +215,7 @@
|
||||
<h4>Manuscirpt :</h4>
|
||||
<p class="fi_new">
|
||||
<!-- <template v-for="item in manuscirptFileList"> -->
|
||||
<!-- <a href="#">
|
||||
<!-- <a href="#">
|
||||
<img
|
||||
src="../../assets/img/icon_0.png"
|
||||
@click="openDrawer(item, mediaUrl + item.file_url)"
|
||||
@@ -193,14 +230,14 @@
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</a> -->
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url" >
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png" />
|
||||
<span>
|
||||
<font>Uploader : </font>{{ form.username }}
|
||||
<i><i class="el-icon-time"></i>{{ formatDate(item.ctime) }}</i>
|
||||
</span>
|
||||
<i class="el-icon-download download"></i>
|
||||
</a>
|
||||
</a>
|
||||
<!-- </template> -->
|
||||
</p>
|
||||
<br clear="both" />
|
||||
@@ -241,12 +278,8 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
<common-word-html
|
||||
:articleId="$route.query.id"
|
||||
style=" box-sizing: border-box"
|
||||
|
||||
|
||||
></common-word-html>
|
||||
|
||||
<common-word-html :articleId="$route.query.id" style="box-sizing: border-box"></common-word-html>
|
||||
</div>
|
||||
<!-- 被拒稿件操作 --->
|
||||
<div class="art_caozuo_" v-if="opname == 'rejectArticles'">
|
||||
@@ -626,6 +659,7 @@ export default {
|
||||
ad_content: ''
|
||||
},
|
||||
talkMsgs: [],
|
||||
majorsList: [],
|
||||
opname: '', // 稿件详细类型
|
||||
editorJournalList: [], // 编辑期刊列表
|
||||
resubmitJournal: {
|
||||
@@ -805,7 +839,7 @@ export default {
|
||||
});
|
||||
},
|
||||
openDrawer(data, url) {
|
||||
console.log('url at line 799:',data, url)
|
||||
console.log('url at line 799:', data, url);
|
||||
this.previewData = {
|
||||
...data,
|
||||
previewUrl: url,
|
||||
@@ -899,7 +933,29 @@ export default {
|
||||
|
||||
return { status: status, msg: msg };
|
||||
},
|
||||
|
||||
handleDeleteMajor(v) {
|
||||
console.log('v at line 925:', v);
|
||||
this.$confirm('Are you sure you want to delete this Field ?', 'Tip', {
|
||||
type: 'warning'
|
||||
})
|
||||
.then(() => {
|
||||
this.$api
|
||||
.post('api/Major/delMajorByArticleIdForEditor', {
|
||||
mta_id: v.mta_id
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.initMajor();
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
})
|
||||
.catch(() => {});
|
||||
},
|
||||
//修改文章状态
|
||||
async saveEdit() {
|
||||
if (this.form.state == 0) {
|
||||
@@ -948,7 +1004,16 @@ export default {
|
||||
this.$router.go(0);
|
||||
});
|
||||
},
|
||||
|
||||
initMajor() {
|
||||
this.$api
|
||||
.post('api/Major/getMajorByArticleId', {
|
||||
article_id: this.editform.articleId
|
||||
})
|
||||
.then((res) => {
|
||||
console.log('res at line 978:', res);
|
||||
this.majorsList = res.data.majors;
|
||||
});
|
||||
},
|
||||
//初始化期刊信息
|
||||
initarticle() {
|
||||
this.now_year = new Date().getFullYear();
|
||||
@@ -957,7 +1022,9 @@ export default {
|
||||
articleId: this.editform.articleId,
|
||||
human: 'editor'
|
||||
})
|
||||
|
||||
.then((res) => {
|
||||
this.initMajor();
|
||||
this.form.username = res.article.account;
|
||||
this.form.title = res.article.title;
|
||||
this.form.journal = res.article.journal_id;
|
||||
|
||||
Reference in New Issue
Block a user