15:39
This commit is contained in:
@@ -8,12 +8,16 @@
|
||||
{{item.name}}
|
||||
</h5>
|
||||
<p>{{item.rongCont}}</p>
|
||||
<div class="line"></div>
|
||||
<!-- <div class="line"></div> -->
|
||||
</div>
|
||||
<!-- 作者联系 -->
|
||||
<div class="contactAuthor">
|
||||
|
||||
</div>
|
||||
<div style="margin: 30px 0 0 0;">
|
||||
<el-button type="primary" @click="pushProduce(detailMes)" style="width: 220px;">
|
||||
<el-button type="primary" @click="pushToAccept(detailMes)" style="width: 220px;">
|
||||
<i class="el-icon-finished"></i>
|
||||
Push To Produce
|
||||
Push To Accept
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -25,11 +29,9 @@
|
||||
<!-- 作者列表 -->
|
||||
|
||||
<!-- 文件上传 -->
|
||||
|
||||
|
||||
|
||||
<!-- 文章正文 -->
|
||||
|
||||
|
||||
<!-- 参考文献 -->
|
||||
<div :ref="tabsList[0].refName" class="scroll-item">
|
||||
@@ -337,7 +339,7 @@
|
||||
// }
|
||||
],
|
||||
detailMes: {
|
||||
title:'454545',
|
||||
title:'',
|
||||
type: "",
|
||||
journal_special_id: "None",
|
||||
},
|
||||
@@ -660,10 +662,11 @@
|
||||
created() {
|
||||
this.getHight();
|
||||
window.addEventListener('resize', this.getHight);
|
||||
this.getData();
|
||||
this.getAuthorJG();
|
||||
this.getCount();
|
||||
this.getWorldPdf();
|
||||
// this.getData();
|
||||
this.getArtcleDetails()
|
||||
// this.getAuthorJG();
|
||||
// this.getCount();
|
||||
// this.getWorldPdf();
|
||||
|
||||
},
|
||||
methods: {
|
||||
@@ -698,10 +701,32 @@
|
||||
// }
|
||||
// },
|
||||
// 获取p_article_id的值
|
||||
getParticle_id(){
|
||||
|
||||
},
|
||||
|
||||
|
||||
getArtcleDetails(){
|
||||
// 获得文章详情
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: 'Loading...',
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
this.$api
|
||||
.post('api/Article/getPreacceptArticleDetail', {'article_id': this.article_id})
|
||||
.then(res => {
|
||||
loading.close()
|
||||
this.p_article_id = res.data.production.p_article_id
|
||||
if(this.p_article_id != null){
|
||||
this.getData()
|
||||
this.getAuthorJG();
|
||||
this.getCount();
|
||||
this.getWorldPdf();
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
this.$message.error(err);
|
||||
loading.close()
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
this.idform.p_article_id = this.p_article_id;
|
||||
this.detailMes.p_article_id = this.p_article_id;
|
||||
@@ -1915,9 +1940,17 @@
|
||||
this.content = html;
|
||||
},
|
||||
|
||||
// 提交到produce
|
||||
pushProduce(detailMes){
|
||||
this.$message.error('还没对接接口')
|
||||
// 提交到 accept
|
||||
pushToAccept(detailMes){
|
||||
this.$confirm(`Are you sure you want to adjust this article status to 'accept'?`, 'Prompt', {
|
||||
confirmButtonText: 'Yes',
|
||||
cancelButtonText: 'Cancle',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$message.error('还没对接接口')
|
||||
}).catch(() => {
|
||||
});
|
||||
|
||||
},
|
||||
// 点击开始上线显示
|
||||
pushOnline(detailMes) {
|
||||
|
||||
Reference in New Issue
Block a user