1
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<path d="M368.17 379.84h240c15.69 0 30.73-13.8 30-30s-13.18-30-30-30h-240c-15.69 0-30.73 13.8-30 30s13.18 30 30 30zM368.17 507.91H719c16.16 0 32.37 0.33 48.53 0h0.69c15.69 0 30.73-13.8 30-30s-13.18-30-30-30H417.39c-16.16 0-32.37-0.33-48.53 0h-0.69c-15.69 0-30.73 13.8-30 30s13.18 30 30 30z"
|
||||
fill="#FD9A16" p-id="1654"></path>
|
||||
</svg>
|
||||
The manuscripts ready to be reviewed.
|
||||
The manuscripts are ready to get final decisions.
|
||||
</div>
|
||||
<ul class="ta1_uli">
|
||||
<li v-for="item in tableData1">
|
||||
@@ -42,7 +42,7 @@
|
||||
<h3>{{item.title}}</h3>
|
||||
</router-link>
|
||||
<h6>{{item.author}}</h6>
|
||||
<h4><span>{{head_line}}.</span><span style="color: #888;">{{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
|
||||
<h4><span>{{head_line}}.</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>
|
||||
@@ -58,7 +58,7 @@
|
||||
<path d="M466.71 289.7v215.35c0 16.48 13.91 30.26 30.36 30.36l72.83 0.41 116.69 0.67 26.71 0.15c15.89 0.09 31.09-14 30.36-30.35-0.74-16.53-13.34-30.26-30.36-30.36l-72.83-0.42-116.69-0.67-26.71-0.15 30.35 30.36V289.7c0-15.88-14-31.09-30.35-30.36s-30.36 13.34-30.36 30.36z"
|
||||
fill="#FD9A16" p-id="3893"></path>
|
||||
</svg>
|
||||
List of historical manuscripts.
|
||||
Accepted manuscripts.
|
||||
</div>
|
||||
<ul class="ta1_uli">
|
||||
<li v-for="item in tableData2">
|
||||
@@ -67,7 +67,8 @@
|
||||
<h3>{{item.title}}</h3>
|
||||
</router-link>
|
||||
<h6>{{item.author}}</h6>
|
||||
<h4><span>{{head_line}}.</span><br><span style="color: #888;">{{item.ctime}}</span><span>{{item.accept_sn}}</span></h4>
|
||||
<h4><span>{{head_line}}.</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>
|
||||
@@ -83,7 +84,7 @@
|
||||
</el-table-column>
|
||||
</el-table> -->
|
||||
<div class="pagination">
|
||||
<el-pagination layout="prev, pager, next" :current-page="TaBle2.pageIndex" :page-size="TaBle2.pageSize" :total="link_Tota2"
|
||||
<el-pagination layout="total, prev, pager, next" :current-page="TaBle2.pageIndex" :page-size="TaBle2.pageSize" :total="link_Tota2"
|
||||
@current-change="handlePageChange2">
|
||||
</el-pagination>
|
||||
</div>
|
||||
@@ -129,6 +130,7 @@
|
||||
localStorage.setItem('U_role', res.data.roles);
|
||||
localStorage.setItem('U_name', res.data.user.account);
|
||||
localStorage.setItem('U_id', res.data.user.user_id);
|
||||
localStorage.setItem('U_relname', res.data.user.realname);
|
||||
this.getTable();
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
@@ -148,50 +150,14 @@
|
||||
if (res.code == 0) {
|
||||
this.cate_jour = res.data.journals
|
||||
this.cate_title = this.cate_jour[0].title
|
||||
this.head_line = localStorage.getItem('journal_title');
|
||||
localStorage.setItem('journal_title', this.cate_jour[0].title);
|
||||
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.$api
|
||||
.post('api/Chief/getPArticlesForChief', 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);
|
||||
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;
|
||||
}
|
||||
this.tableData1 = res.data.articles;
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
this.$api
|
||||
.post('api/Chief/getHArticlesForChief', this.TaBle2)
|
||||
.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);
|
||||
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;
|
||||
}
|
||||
this.tableData2 = res.data.articles;
|
||||
this.link_Tota2 = res.data.articles.length || 0;
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
this.$message.error(err);
|
||||
});
|
||||
|
||||
this.getData();
|
||||
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
@@ -234,7 +200,7 @@
|
||||
}
|
||||
}
|
||||
this.tableData2 = res.data.articles;
|
||||
this.link_Tota2 = res.data.articles.length || 0;
|
||||
this.link_Tota2 = res.data.count || 0;
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user