This commit is contained in:
@fawn-nine
2023-06-28 15:39:53 +08:00
parent fbfbd8b6f6
commit cf880b0864
4 changed files with 81 additions and 34 deletions

View File

@@ -12,17 +12,22 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- 内容 --> <!-- 内容 -->
<el-row :gutter="20" class="content_box mt20"> <el-row :gutter="20" class="content_box mt20">
<el-col> <!-- 文章引用 -->
<!-- 文章引用 --> <el-col class="item borderBottom passStatus">
<div class="scroll-item">
<div class="" style="margin: 20px 0;"> <div class="" style="margin: 20px 0;">
<h4>Add Reference</h4> <h4>Add Reference <span class="el-icon-check pass status"> Pass</span></h4>
<p class="mt20">Please proofread against the reference documents identified by the system, you can modify the content of existing documents, you can modify the ordering of adjacent items, and you can add your reference entries.</p>
<p class="mt10"><img src="../../assets/img/icon_9.png" alt="" class="icon_img"> <el-link @click="goAddReferences(thisArtcleId)" type="primary" >&nbsp; &nbsp;Click here to edit</el-link> </p>
</div>
</el-col>
<el-col class="item notPassStatus">
<div class="" style="margin: 20px 0;">
<h4>Add Reference <span class="el-icon-pie-chart notPass status"> Some information needs to be improved</span> </h4>
<p class="mt20">Please proofread against the reference documents identified by the system, you can modify the content of existing documents, you can modify the ordering of adjacent items, and you can add your reference entries.</p> <p class="mt20">Please proofread against the reference documents identified by the system, you can modify the content of existing documents, you can modify the ordering of adjacent items, and you can add your reference entries.</p>
<p class="mt10"><img src="../../assets/img/icon_9.png" alt="" class="icon_img"> <el-link @click="goAddReferences(thisArtcleId)" type="primary" >&nbsp; &nbsp;Click here to edit</el-link> </p> <p class="mt10"><img src="../../assets/img/icon_9.png" alt="" class="icon_img"> <el-link @click="goAddReferences(thisArtcleId)" type="primary" >&nbsp; &nbsp;Click here to edit</el-link> </p>
</div> </div>
</div>
</el-col> </el-col>
</el-row> </el-row>
<!-- 答疑 --> <!-- 答疑 -->
@@ -68,10 +73,17 @@
</script> </script>
<style scoped> <style scoped>
.borderBottom{ border-bottom:1px solid #f1f1f1; margin-bottom: 20px; }
.help{font-size: 22px; margin-right: 10px;} .help{font-size: 22px; margin-right: 10px;}
.el-alert__title{font-size: 26px;} .el-alert__title{font-size: 26px;}
.mt20{margin-top: 20px;} .mt20{margin-top: 20px;}
.content_box{padding:15px 10px; border:3px dashed #eff6ff; } .content_box{padding:15px 10px; border:3px dashed #eff6ff; }
.content_box .item{position: relative; padding-left: 20px !important;}
.passStatus{ border-left:solid 5px #67C23A;}
.notPassStatus{border-left:solid 5px #e6a23c;}
.content_box .item .status{ padding: 5px ; border-radius: 5px; font-size: 12px;}
.content_box .item .status.pass{background: #f0f9eb; color: #67C23A;}
.content_box .item .status.notPass{background: #fdf6ec; color: #e6a23c;}
.flexbox{display: flex;} .flexbox{display: flex;}
p{color: #333;} p{color: #333;}
.mt10{margin-top: 10px;} .mt10{margin-top: 10px;}

View File

@@ -8,12 +8,16 @@
{{item.name}} {{item.name}}
</h5> </h5>
<p>{{item.rongCont}}</p> <p>{{item.rongCont}}</p>
<div class="line"></div> <!-- <div class="line"></div> -->
</div>
<!-- 作者联系 -->
<div class="contactAuthor">
</div> </div>
<div style="margin: 30px 0 0 0;"> <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> <i class="el-icon-finished"></i>
Push To Produce Push To Accept
</el-button> </el-button>
</div> </div>
</div> </div>
@@ -25,11 +29,9 @@
<!-- 作者列表 --> <!-- 作者列表 -->
<!-- 文件上传 --> <!-- 文件上传 -->
<!-- 文章正文 --> <!-- 文章正文 -->
<!-- 参考文献 --> <!-- 参考文献 -->
<div :ref="tabsList[0].refName" class="scroll-item"> <div :ref="tabsList[0].refName" class="scroll-item">
@@ -337,7 +339,7 @@
// } // }
], ],
detailMes: { detailMes: {
title:'454545', title:'',
type: "", type: "",
journal_special_id: "None", journal_special_id: "None",
}, },
@@ -660,10 +662,11 @@
created() { created() {
this.getHight(); this.getHight();
window.addEventListener('resize', this.getHight); window.addEventListener('resize', this.getHight);
this.getData(); // this.getData();
this.getAuthorJG(); this.getArtcleDetails()
this.getCount(); // this.getAuthorJG();
this.getWorldPdf(); // this.getCount();
// this.getWorldPdf();
}, },
methods: { methods: {
@@ -698,10 +701,32 @@
// } // }
// }, // },
// 获取p_article_id的值 // 获取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() { getData() {
this.idform.p_article_id = this.p_article_id; this.idform.p_article_id = this.p_article_id;
this.detailMes.p_article_id = this.p_article_id; this.detailMes.p_article_id = this.p_article_id;
@@ -1915,9 +1940,17 @@
this.content = html; this.content = html;
}, },
// 提交到produce // 提交到 accept
pushProduce(detailMes){ pushToAccept(detailMes){
this.$message.error('还没对接接口') 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) { pushOnline(detailMes) {

View File

@@ -96,7 +96,7 @@
<font> | </font> <font> | </font>
<span @click="goPre_ingested(item.article_id)" class="preButton"> <span @click="goPre_ingested(item.article_id)" class="preButton">
<!-- <el-badge is-dot class="item" > --> <!-- <el-badge is-dot class="item" > -->
<i class="el-icon-paperclip"></i>Complete the profile <i class="el-icon-edit"></i>Complete the profile
<!-- </el-badge> --> <!-- </el-badge> -->
</span> </span>
</span> </span>
@@ -737,8 +737,8 @@
</script> </script>
<style scoped> <style scoped>
.preButton{color: #66b1ff; display: inline-block; position: relative; } .preButton{ display: inline-block; position: relative; }
.preButton:after{content: ''; display: block; width: 6px; height: 6px; background: #ff0000; position: absolute; right: 0; top: -5px; border-radius: 6px;} /* .preButton:after{content: ''; display: block; width: 6px; height: 6px; background: #ff0000; position: absolute; right: 0; top: -5px; border-radius: 6px;} */
.preButton:hover{text-decoration:underline !important;} .preButton:hover{text-decoration:underline !important;}
.container { .container {
color: #333; color: #333;

View File

@@ -334,7 +334,7 @@
<el-table-column label=" " align="center" width="200px"> <el-table-column label=" " align="center" width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="changeEnter(scope.row)" size="mini" type="primary" plain <el-button @click="changeEnter(scope.row)" size="mini" type="primary" plain
icon="el-icon-paperclip">Enter</el-button> icon="el-icon-paperclip">Edit</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -842,15 +842,17 @@
state: 2 state: 2
}, { }, {
state: 4 state: 4
}, {
state: 3
}, },
{ {
state: 6 state: 6
}, },
{ {
state: 5 state: 5
}], },
{
state: 3
},
],
Total: 0, Total: 0,
geogleList: [], geogleList: [],
IndexForm: {}, IndexForm: {},
@@ -1074,10 +1076,10 @@
}; };
} }
}; };
for (let i = 0; i < res.state_num.length; i++) { for (let i = 0; i < res.state_num.length; i++) {
for (let j = 0; j < this.statList.length; j++) { for (let j = 0; j < this.statList.length; j++) {
if (i == this.statList[j].state) { if (i == this.statList[j].state) {
this.statList[j].num = res.state_num[i] this.statList[j].num = res.state_num[i]
} }
} }
} }