This commit is contained in:
xulu
2021-09-08 09:39:17 +08:00
parent d115bd19dd
commit 4e5ff549c2
17 changed files with 1183 additions and 98 deletions

View File

@@ -19,6 +19,38 @@
</el-breadcrumb>
</div>
<div class="container container_l">
<el-row :gutter="24">
<el-col :span="16">
<div class="ma_title">
<svg t="1630985397122" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1661"
width="20" height="20" style="margin-bottom: -3px;margin-right: 6px;">
<path d="M308.05 413.94h350.79c16.16 0 32.36 0.33 48.52 0h0.69c15.7 0 30.73-13.8 30-30s-13.18-30-30-30H357.27c-16.16 0-32.36-0.34-48.53 0h-0.69c-15.69 0-30.72 13.8-30 30s13.19 30 30 30z"
p-id="1662"></path>
<path d="M512 514.11H312.14c-15.68 0-30.7 13.79-30 30s13.18 30 30 30H512c15.68 0 30.71-13.79 30-30s-13.18-30-30-30zM711.88 354.93H361.33c-16.15 0-32.34-0.33-48.5 0h-0.69c-15.68 0-30.7 13.79-30 30s13.18 30 30 30h350.55c16.15 0 32.35 0.34 48.5 0h0.69c15.68 0 30.7-13.79 30-30s-13.19-30-30-30z"
fill="#0071C3" p-id="1663"></path>
<path d="M874.15 162.1c-15.61-18.88-40.26-29.14-64.47-29.37H740V95c0-15.69-13.79-30.71-30-30s-30 13.2-30 30v37.72H417.09V95c0-15.69-13.79-30.71-30-30s-30 13.17-30 30v37.72H218.92c-2.52 0-5-0.06-7.56 0.07-30.13 1.5-60 18.61-73.15 46.48a93.11 93.11 0 0 0-9.4 40.59v628.5c0 8.19-0.06 16.4 0 24.59 0.17 21.68 8 41.13 21.9 57.57 15.54 18.34 40 28.15 63.72 28.37 27.1 0.25 54.21 0 81.3 0H550a251.23 251.23 0 0 1-72.48-60H284.65c-23.28 0-46.57 0.1-69.85 0-1.33 0-2.65 0-4-0.13a57.45 57.45 0 0 1-6.57-1.79 53.81 53.81 0 0 1-5.51-3.17c-0.85-0.76-1.71-1.52-2.52-2.33s-1.57-1.67-2.33-2.52a53.81 53.81 0 0 1-3.17-5.51 57.78 57.78 0 0 1-1.79-6.59c-0.42-6.45-0.13-13-0.13-19.43v-560.5c0-26-0.1-52.08 0-78.12 0-1.35 0-2.7 0.13-4.05a57.62 57.62 0 0 1 1.79-6.58 54.9 54.9 0 0 1 3.17-5.51c0.76-0.85 1.52-1.7 2.33-2.51s1.67-1.58 2.52-2.34a53.9 53.9 0 0 1 5.51-3.18 61.88 61.88 0 0 1 6.57-1.79c6-0.37 12.11-0.12 18.09-0.12h128.24v42.22c0 15.68 13.79 30.71 30 30s30-13.17 30-30v-42.25H680v42.22c0 15.68 13.79 30.71 30 30s30-13.17 30-30v-42.23c23.09 0 46.18-0.09 69.27 0 1.33 0 2.65 0.05 4 0.12a62.06 62.06 0 0 1 6.58 1.79 55 55 0 0 1 5.51 3.18c0.85 0.76 1.7 1.52 2.51 2.34s1.57 1.66 2.34 2.51a55 55 0 0 1 3.18 5.51 62.89 62.89 0 0 1 1.79 6.59c0.41 6.45 0.12 13 0.12 19.44v310.7A262.93 262.93 0 0 1 879.42 593a231.12 231.12 0 0 1 15.79 25.54V227v-8.24c-0.09-21.21-7.62-40.39-21.06-56.66z"
fill="#0071C3" p-id="1664"></path>
<path d="M850.83 646.38a199.64 199.64 0 0 0-94-71.53c-74.31-27.28-163.14-3.12-213.23 58.19-26.1 32.03-41.6 69.96-44.83 111.21-3.06 39.07 6.87 79.58 27.11 113.09 19.76 32.7 49.64 60.3 84.62 75.95a208.25 208.25 0 0 0 61.18 16.88c20.18 2.45 40.7 1 60.59-3 76.18-15.31 139.34-80.56 150.9-157.61a220.54 220.54 0 0 0 2.8-32c-0.14-39.33-12.08-79.18-35.14-111.18zM833 776.65a170.76 170.76 0 0 1-10 36.54 168.6 168.6 0 0 1-13.67 24.67c-1.46 2.17-3 4.31-4.52 6.41-0.53 0.65-1 1.31-1.59 2q-5.05 6.09-10.66 11.7t-11.7 10.66c-0.65 0.54-1.31 1.07-2 1.59-2.1 1.56-4.23 3.06-6.4 4.52a139 139 0 0 1-61.18 23.71 173.74 173.74 0 0 1-38.28 0 139 139 0 0 1-61.18-23.71c-2.17-1.46-4.31-3-6.41-4.52-0.65-0.53-1.31-1-2-1.59q-6.09-5-11.71-10.66t-10.65-11.7c-0.54-0.65-1.07-1.31-1.59-2q-2.34-3.15-4.52-6.41a169.08 169.08 0 0 1-13.68-24.67 171.05 171.05 0 0 1-10-36.51 173.74 173.74 0 0 1 0-38.28A139 139 0 0 1 575 677.22c1.45-2.17 3-4.31 4.52-6.4 0.52-0.66 1-1.32 1.59-2q5-6.09 10.65-11.7t11.71-10.66c0.65-0.54 1.31-1.06 2-1.59 2.1-1.56 4.24-3.06 6.41-4.52a168.09 168.09 0 0 1 24.67-13.67 171.08 171.08 0 0 1 36.51-10 173.74 173.74 0 0 1 38.28 0 171.24 171.24 0 0 1 36.51 10 169.12 169.12 0 0 1 24.67 13.67c2.17 1.46 4.3 3 6.4 4.52 0.66 0.53 1.32 1.05 2 1.59q6.09 5.06 11.7 10.66t10.66 11.7c0.54 0.65 1.06 1.31 1.59 2 1.56 2.1 3.06 4.24 4.52 6.41a139.3 139.3 0 0 1 23.61 61.2 165.06 165.06 0 0 1 0 38.22z"
fill="#FD9A16" p-id="1665"></path>
<path d="M795.92 778.25c-0.73-16.24-13.18-30-30-30h-49.73v-51.39c0-15.68-13.79-30.7-30-30s-30 13.17-30 30v81.39a30.41 30.41 0 0 0 30 30h79.73c15.7-0.02 30.72-13.81 30-30z"
fill="#FD9A16" p-id="1666"></path>
</svg>
Final review in progress.
</div>
<ul class="ta1_uli">
<li v-for="item in tableData3">
<h5>{{item.type}}</h5>
<router-link target="_blank" :to="{path:'/you_taxt',query:{Art_id:item.art_rev_id}}">
<h3>{{item.article_title}}</h3>
</router-link>
<h4><span>{{item.journal_title}}.</span><br>
<span style="color: #888;">Submitted time: {{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
</li>
<p v-if="tableData3==''" style="color:#6f6f6f;font-size: 14px;margin-top: 20px;">No historical articles</p>
</ul>
</el-col>
</el-row><br><br><br>
<el-row :gutter="24">
<el-col :span="16">
<div class="ma_title">
@@ -38,11 +70,10 @@
<ul class="ta1_uli">
<li v-for="item in tableData1">
<h5>{{item.type}}</h5>
<router-link target="_blank" :to="{path:'/man_text',query:{Art_id:item.article_id}}">
<h3>{{item.title}}</h3>
<router-link target="_blank" :to="{path:'/you_text',query:{Art_id:item.art_rev_id}}">
<h3>{{item.article_title}}</h3>
</router-link>
<h6>{{item.author}}</h6>
<h4><span>{{head_line}}.</span><span style="color: #888;">Submitted time: {{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
<h4><span>{{item.journal_title}}.</span><span style="color: #888;">Submitted time: {{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
</li>
<p v-if="tableData1==''" style="color:#6f6f6f;font-size: 14px;margin-top: 20px;">No article</p>
</ul>
@@ -63,29 +94,17 @@
<ul class="ta1_uli">
<li v-for="item in tableData2">
<h5>{{item.type}}</h5>
<router-link target="_blank" :to="{path:'/man_text',query:{Art_id:item.article_id}}">
<h3>{{item.title}}</h3>
<router-link target="_blank" :to="{path:'/you_text',query:{Art_id:item.art_rev_id}}">
<h3>{{item.article_title}}</h3>
</router-link>
<h6>{{item.author}}</h6>
<h4><span>{{head_line}}.</span><br>
<span style="color: #888;">Submitted time: {{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
<h4><span>{{item.journal_title}}.</span><br>
<span style="color: #888;">Submitted time: {{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
</li>
<p v-if="tableData2==''" style="color:#6f6f6f;font-size: 14px;margin-top: 20px;">No historical articles</p>
</ul>
<!-- <el-table :data="tableData2" border class="table" ref="multipleTable" header-cell-class-name="table-header">
<el-table-column prop="title" label="文章"></el-table-column>
<el-table-column prop="url" label=""></el-table-column>
<el-table-column prop="sort" label="" width="100" align="center"></el-table-column>
<el-table-column label="操作" width="180" align="center">
<template slot-scope="scope">
<el-button type="text" icon="el-icon-edit" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" icon="el-icon-delete" class="red" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table> -->
<div class="pagination">
<el-pagination layout="total, prev, pager, next" :current-page="TaBle2.pageIndex" :page-size="TaBle2.pageSize" :total="link_Tota2"
@current-change="handlePageChange2">
<el-pagination layout="total, prev, pager, next" :current-page="TaBle2.pageIndex" :page-size="TaBle2.pageSize"
:total="link_Tota2" @current-change="handlePageChange2">
</el-pagination>
</div>
</el-col>
@@ -105,7 +124,9 @@
},
tableData1: [],
tableData2: [],
tableData3: [],
TaBle2: {
user_id: localStorage.getItem('U_id'),
pageIndex: 1,
pageSize: 10
},
@@ -122,7 +143,7 @@
this.getTable();
} else {
this.$api
.post('api/Chief/autoLoginForChief ', {
.post('api/Chief/autoLoginForChief', {
'code': this.Direct_log
})
.then(res => {
@@ -145,7 +166,7 @@
// 获取数据
getTable() {
this.$api
.post('api/Chief/getJournalsFromChief', this.query)
.post('api/Board/getYboardJournals', this.query)
.then(res => {
if (res.code == 0) {
this.cate_jour = res.data.journals
@@ -154,10 +175,9 @@
localStorage.setItem('journal_id', this.cate_jour[0].journal_id);
this.head_line = this.cate_jour[0].title;
this.query.journal_id = this.cate_jour[0].journal_id;
this.TaBle2.journal_id = this.cate_jour[0].journal_id;
this.getData();
} else {
this.$message.error(res.msg);
}
@@ -166,19 +186,20 @@
this.$message.error(err);
});
},
getData() {
this.$api
.post('api/Chief/getPArticlesForChief', this.query)
.post('api/Reviewer/getReviewerListPending', this.query)
.then(res => {
if (res.code == 0) {
for (let i = 0; i < res.data.articles.length; i++) {
let date = new Date(parseInt(res.data.articles[i].ctime) * 1000);
for (let i = 0; i < res.data.lists.length; i++) {
let date = new Date(parseInt(res.data.lists[i].ctime) * 1000);
let Y = date.getFullYear() + '-';
let M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-';
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
res.data.articles[i].ctime = Y + M + D;
res.data.lists[i].ctime = Y + M + D;
}
this.tableData1 = res.data.articles;
this.tableData1 = res.data.lists;
} else {
this.$message.error(res.msg);
}
@@ -187,19 +208,19 @@
this.$message.error(err);
});
this.$api
.post('api/Chief/getHArticlesForChief', this.TaBle2)
.post('api/Reviewer/getReviewerListHistory', this.TaBle2)
.then(res => {
if (res.code == 0) {
if (res.data.articles != '') {
for (let i = 0; i < res.data.articles.length; i++) {
let date = new Date(parseInt(res.data.articles[i].ctime) * 1000);
if (res.data.lists != '') {
for (let i = 0; i < res.data.lists.length; i++) {
let date = new Date(parseInt(res.data.lists[i].ctime) * 1000);
let Y = date.getFullYear() + '-';
let M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-';
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
res.data.articles[i].ctime = Y + M + D;
res.data.lists[i].ctime = Y + M + D;
}
}
this.tableData2 = res.data.articles;
this.tableData2 = res.data.lists;
this.link_Tota2 = res.data.count || 0;
} else {
this.$message.error(res.msg);
@@ -216,6 +237,7 @@
this.getData();
},
// 期刊下拉菜单点击
handlejournal(command) {
this.cate_title = command.title;
@@ -223,7 +245,6 @@
localStorage.setItem('journal_id', command.journal_id);
this.head_line = command.title;
this.query.journal_id = command.journal_id;
this.TaBle2.journal_id = command.journal_id;
this.getData();
}
},