同步被拒稿件列表

This commit is contained in:
@fawn-nine
2023-06-09 17:49:36 +08:00
parent 184c4af1ca
commit de67e6e742

View File

@@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div class="container"> <div class="container">
<el-table :data="tableData" border stripe class="table" ref="multipleTable" <el-table :data="tableData" border stripe class="table" ref="multipleTable" v-loading="loading"
header-cell-class-name="table-header" empty-text="New messages (0)"> header-cell-class-name="table-header" empty-text="New messages (0)">
<el-table-column type="index" label="No." width="55" align="center"></el-table-column> <el-table-column type="index" label="No." width="55" align="center"></el-table-column>
<el-table-column width="180" label="Manuscript ID" align="center"> <el-table-column width="180" label="Manuscript ID" align="center">
@@ -24,9 +24,17 @@
</el-badge> </el-badge>
</p> </p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="scoring" align="center" prop="scoring"> <el-table-column label="scoring" align="center" prop="scoring" width="90">
</el-table-column>
<el-table-column label="author" align="center" width="300">
<template slot-scope="scope">
<b>{{scope.row.user.realname}}</b><br/>
{{scope.row.user.email}}
</template>
</el-table-column> </el-table-column>
<el-table-column label="Remarks" align="center"> <el-table-column label="Remarks" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -86,7 +94,8 @@
content: '' content: ''
}, },
journal_type:[], journal_type:[],
ss:'' ss:'',
loading:false
}; };
}, },
components: { components: {
@@ -106,10 +115,12 @@
// 获取数据 // 获取数据
getData() { getData() {
// 被拒稿件列表 // 被拒稿件列表
this.loading = true
this.$api this.$api
.post('api/Article/getRejectArticles', this.query) .post('api/Article/getRejectArticles', this.query)
.then(res => { .then(res => {
if (res.data.count > 0) { if (res.data.count > 0) {
this.loading = false
this.tableData = res.data.articles this.tableData = res.data.articles
this.Total = res.data.count this.Total = res.data.count
} }