增加AI审核
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="handle-box">
|
<div class="handle-box">
|
||||||
<el-button type="primary" icon="el-icon-plus" @click="openAddRev">Reviewer Bank</el-button>
|
<el-button type="primary" icon="el-icon-plus" @click="openAddRev">Reviewer Bank</el-button>
|
||||||
|
|
||||||
<el-button type="primary" icon="el-icon-plus" @click="openSuggRev">Reviewers Suggested By Author
|
<el-button type="primary" icon="el-icon-plus" @click="openSuggRev">Reviewers Suggested By Author
|
||||||
({{tableSuggest.length}})</el-button>
|
({{tableSuggest.length}})</el-button>
|
||||||
<!-- <el-button type="primary" icon="el-icon-circle-plus-outline" @click="editVisible1 = true">Supplement</el-button> -->
|
<!-- <el-button type="primary" icon="el-icon-circle-plus-outline" @click="editVisible1 = true">Supplement</el-button> -->
|
||||||
@@ -435,6 +436,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
//初始化审查员列表
|
//初始化审查员列表
|
||||||
initreviewerList() {
|
initreviewerList() {
|
||||||
this.$api
|
this.$api
|
||||||
|
|||||||
164
src/components/page/articleReviewerAIAdd.vue
Normal file
164
src/components/page/articleReviewerAIAdd.vue
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
<template>
|
||||||
|
<div><span style="font-size: 14px; color: #606266; margin: 0 10px 0 0">Research direction :</span>
|
||||||
|
<el-input
|
||||||
|
v-model="messform.email"
|
||||||
|
clearable
|
||||||
|
placeholder="Please enter email"
|
||||||
|
style="width: 190px; display: inline-block; margin: 0 10px 20px 0"
|
||||||
|
></el-input>
|
||||||
|
<el-input
|
||||||
|
v-model="messform.field"
|
||||||
|
clearable
|
||||||
|
placeholder="Please enter field"
|
||||||
|
style="width: 190px; display: inline-block; margin: 0 10px 20px 0"
|
||||||
|
></el-input>
|
||||||
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">Search</el-button>
|
||||||
|
<el-table
|
||||||
|
:data="revTable"
|
||||||
|
border
|
||||||
|
stripe
|
||||||
|
class="table"
|
||||||
|
ref="multipleTable"
|
||||||
|
header-cell-class-name="table-header"
|
||||||
|
empty-text="New messages (0)"
|
||||||
|
>
|
||||||
|
<el-table-column label="Base Information">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<p class="tab_tie_col">
|
||||||
|
<span>Realname: </span><b style="font-size: 15px">{{ scope.row.realname }}</b>
|
||||||
|
</p>
|
||||||
|
<p class="tab_tie_col"><span>Account: </span>{{ scope.row.account }}</p>
|
||||||
|
<p class="tab_tie_col"><span>Email: </span>{{ scope.row.email }}</p>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="Other Information">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<p class="tab_tie_col" v-if="scope.row.company != ''"><span>Affiliation: </span>{{ scope.row.company }}</p>
|
||||||
|
<p class="tab_tie_col" v-if="scope.row.field != ''"><span>Field: </span>{{ scope.row.field }}</p>
|
||||||
|
<!-- <p class="tab_tie_col" v-if="scope.row.majorstr != ''"><span>Major: </span>{{ scope.row.majorstr }}</p> -->
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="rs_num" label="Reviewed Times" width="140">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
Total: {{ scope.row.rs_num }}
|
||||||
|
<br />
|
||||||
|
<div>
|
||||||
|
<i class="el-icon-check" style="font-weight: bold; color: green;margin-right: 4px;"> </i> <span style="margin-right: 4px;color: green;">{{ scope.row.right_times }}</span>
|
||||||
|
<span>({{ scope.row.right_rate }}%)</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<i class="el-icon-close" style="font-weight: bold; color: red;margin-right: 4px;"> </i> <span style="margin-right: 4px;color: red;">{{ scope.row.error_times }}</span>
|
||||||
|
<span>({{ scope.row.error_rate }}%)</span>
|
||||||
|
</div>
|
||||||
|
<!-- <font style="margin-left: 5px">(Reviewing:{{ scope.row.now }})</font> -->
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column prop="rd_num" label="Fail number" width="140"></el-table-column> -->
|
||||||
|
<el-table-column label="" width="200" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button size="mini" type="success" plain icon="el-icon-tickets" @click="openDetail(scope.row)">Detail</el-button>
|
||||||
|
<el-button size="mini" type="primary" plain icon="el-icon-check" @click="openSelect(scope.row)"> Select</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div class="pagination">
|
||||||
|
<el-pagination
|
||||||
|
background
|
||||||
|
layout="total, prev, pager, next"
|
||||||
|
:current-page="messform.page"
|
||||||
|
:page-size="messform.size"
|
||||||
|
:total="Total"
|
||||||
|
@current-change="handlePageChange"
|
||||||
|
></el-pagination>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
messform: {
|
||||||
|
article_id: this.$route.query.id,
|
||||||
|
|
||||||
|
page: 1,
|
||||||
|
size: 15
|
||||||
|
},
|
||||||
|
revTable: [],
|
||||||
|
mesOpen: [],
|
||||||
|
mesOpenVisble: false,
|
||||||
|
loading: false,
|
||||||
|
Total: 0,
|
||||||
|
majors_a: [],
|
||||||
|
majors_b: [],
|
||||||
|
majors_c: [],
|
||||||
|
allFileds: [], // 全部领域
|
||||||
|
fieldsProps: {
|
||||||
|
checkStrictly: true,
|
||||||
|
value: 'major_id',
|
||||||
|
label: 'major_title',
|
||||||
|
children: 'children'
|
||||||
|
},
|
||||||
|
selectFileds: []
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getDate();
|
||||||
|
},
|
||||||
|
computed: {},
|
||||||
|
methods: {
|
||||||
|
// 获取编辑列表数据
|
||||||
|
getDate() {
|
||||||
|
this.$api
|
||||||
|
.post('/api/Recommend/lists', this.messform)
|
||||||
|
.then((res) => {
|
||||||
|
this.revTable = res.data.lists;
|
||||||
|
this.Total = res.data.total;
|
||||||
|
this.loading = false;
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
console.log(err);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// 关键字搜索
|
||||||
|
handleSearch() {
|
||||||
|
this.loading = true;
|
||||||
|
// console.log(this.messform)
|
||||||
|
this.getDate();
|
||||||
|
},
|
||||||
|
|
||||||
|
// 审稿人详情
|
||||||
|
openDetail(row) {
|
||||||
|
this.$emit('openDetail', row);
|
||||||
|
},
|
||||||
|
// 保存添加操作
|
||||||
|
openSelect(row) {
|
||||||
|
this.$emit('openSelect', row);
|
||||||
|
},
|
||||||
|
|
||||||
|
// 分页导航
|
||||||
|
handlePageChange(val) {
|
||||||
|
this.$set(this.messform, 'page', val);
|
||||||
|
this.getDate();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.table {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.tab_tie_col {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab_tie_col > span {
|
||||||
|
color: #888;
|
||||||
|
margin: 0 5px 0 0;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -11,18 +11,14 @@
|
|||||||
element-loading-text="Loading..."
|
element-loading-text="Loading..."
|
||||||
element-loading-spinner="el-icon-loading"
|
element-loading-spinner="el-icon-loading"
|
||||||
element-loading-background="rgba(255, 255, 255, 0.8)"
|
element-loading-background="rgba(255, 255, 255, 0.8)"
|
||||||
>
|
|
||||||
<span style="font-size: 14px; color: #606266; margin: 0 10px 0 0">Research direction :</span>
|
>
|
||||||
<el-cascader
|
<span
|
||||||
placeholder="Please select major"
|
style="float: right; display: flex; align-items: center; color: #6843ff; font-weight: bold"
|
||||||
v-model="selectFileds"
|
@click="isSelectAI = !isSelectAI"
|
||||||
style="width: 300px; margin-right: 10px"
|
> <el-checkbox v-model="isSelectAI"></el-checkbox><img src="@/assets/img/ai.png" style="width: 30px; height: 30px; margin-left: 10px" /> </span
|
||||||
@change="fieldChange"
|
>
|
||||||
:options="allFileds"
|
|
||||||
:props="fieldsProps"
|
|
||||||
collapse-tags
|
|
||||||
clearable
|
|
||||||
></el-cascader>
|
|
||||||
<!-- <el-select v-model="messform.major_a" placeholder="Please select major" @change="majorChange(1)"
|
<!-- <el-select v-model="messform.major_a" placeholder="Please select major" @change="majorChange(1)"
|
||||||
style="width: 200px;margin: 0 10px 0 0;">
|
style="width: 200px;margin: 0 10px 0 0;">
|
||||||
<el-option :key="0" label="All major" :value="0"></el-option>
|
<el-option :key="0" label="All major" :value="0"></el-option>
|
||||||
@@ -42,6 +38,20 @@
|
|||||||
<el-option v-for="item in majors_c" :key="item.major_id" :label="item.major_title"
|
<el-option v-for="item in majors_c" :key="item.major_id" :label="item.major_title"
|
||||||
:value="item.major_id"></el-option>
|
:value="item.major_id"></el-option>
|
||||||
</el-select> -->
|
</el-select> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div v-if="!isSelectAI"><span style="font-size: 14px; color: #606266; margin: 0 10px 0 0">Research direction :</span>
|
||||||
|
<el-cascader
|
||||||
|
placeholder="Please select major"
|
||||||
|
v-model="selectFileds"
|
||||||
|
style="width: 300px; margin-right: 10px"
|
||||||
|
@change="fieldChange"
|
||||||
|
:options="allFileds"
|
||||||
|
:props="fieldsProps"
|
||||||
|
collapse-tags
|
||||||
|
clearable
|
||||||
|
></el-cascader>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="messform.email"
|
v-model="messform.email"
|
||||||
clearable
|
clearable
|
||||||
@@ -55,54 +65,62 @@
|
|||||||
style="width: 190px; display: inline-block; margin: 0 10px 20px 0"
|
style="width: 190px; display: inline-block; margin: 0 10px 20px 0"
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch">Search</el-button>
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">Search</el-button>
|
||||||
<el-table
|
<el-table
|
||||||
:data="revTable"
|
:data="revTable"
|
||||||
border
|
border
|
||||||
stripe
|
stripe
|
||||||
class="table"
|
class="table"
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
header-cell-class-name="table-header"
|
header-cell-class-name="table-header"
|
||||||
empty-text="New messages (0)"
|
empty-text="New messages (0)"
|
||||||
>
|
>
|
||||||
<el-table-column label="Base Information">
|
<el-table-column label="Base Information">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<p class="tab_tie_col">
|
<p class="tab_tie_col">
|
||||||
<span>Realname: </span><b style="font-size: 15px">{{ scope.row.realname }}</b>
|
<span>Realname: </span><b style="font-size: 15px">{{ scope.row.realname }}</b>
|
||||||
</p>
|
</p>
|
||||||
<p class="tab_tie_col"><span>Account: </span>{{ scope.row.account }}</p>
|
<p class="tab_tie_col"><span>Account: </span>{{ scope.row.account }}</p>
|
||||||
<p class="tab_tie_col"><span>Email: </span>{{ scope.row.email }}</p>
|
<p class="tab_tie_col"><span>Email: </span>{{ scope.row.email }}</p>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="Other Information">
|
<el-table-column label="Other Information">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<p class="tab_tie_col" v-if="scope.row.company != ''"><span>Affiliation: </span>{{ scope.row.company }}</p>
|
<p class="tab_tie_col" v-if="scope.row.company != ''"><span>Affiliation: </span>{{ scope.row.company }}</p>
|
||||||
<p class="tab_tie_col" v-if="scope.row.field != ''"><span>Field: </span>{{ scope.row.field }}</p>
|
<p class="tab_tie_col" v-if="scope.row.field != ''"><span>Field: </span>{{ scope.row.field }}</p>
|
||||||
<p class="tab_tie_col" v-if="scope.row.majorstr != ''"><span>Major: </span>{{ scope.row.majorstr }}</p>
|
<p class="tab_tie_col" v-if="scope.row.majorstr != ''"><span>Major: </span>{{ scope.row.majorstr }}</p>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="rs_num" label="Reviewed Times" width="140">
|
<el-table-column prop="rs_num" label="Reviewed Times" width="140">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.rs_num }}
|
{{ scope.row.rs_num }}
|
||||||
<font style="margin-left: 5px">(Reviewing:{{ scope.row.now }})</font>
|
<font style="margin-left: 5px">(Reviewing:{{ scope.row.now }})</font>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column prop="rd_num" label="Fail number" width="140"></el-table-column> -->
|
<!-- <el-table-column prop="rd_num" label="Fail number" width="140"></el-table-column> -->
|
||||||
<el-table-column label="" width="200" align="center">
|
<el-table-column label="" width="200" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="success" plain icon="el-icon-tickets" @click="openDetail(scope.row)">Detail</el-button>
|
<el-button size="mini" type="success" plain icon="el-icon-tickets" @click="openDetail(scope.row)"
|
||||||
<el-button size="mini" type="primary" plain icon="el-icon-check" @click="openSelect(scope.row)"> Select</el-button>
|
>Detail</el-button
|
||||||
</template>
|
>
|
||||||
</el-table-column>
|
<el-button size="mini" type="primary" plain icon="el-icon-check" @click="openSelect(scope.row)">
|
||||||
</el-table>
|
Select</el-button
|
||||||
<div class="pagination">
|
>
|
||||||
<el-pagination
|
</template>
|
||||||
background
|
</el-table-column>
|
||||||
layout="total, prev, pager, next"
|
</el-table>
|
||||||
:current-page="messform.pageIndex"
|
<div class="pagination">
|
||||||
:page-size="messform.pageSize"
|
<el-pagination
|
||||||
:total="Total"
|
background
|
||||||
@current-change="handlePageChange"
|
layout="total, prev, pager, next"
|
||||||
></el-pagination>
|
:current-page="messform.pageIndex"
|
||||||
|
:page-size="messform.pageSize"
|
||||||
|
:total="Total"
|
||||||
|
@current-change="handlePageChange"
|
||||||
|
></el-pagination>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-if="isSelectAI">
|
||||||
|
<commonAI @openSelect="openSelect" @openDetail="openDetail"></commonAI>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@@ -145,9 +163,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import commonAI from './articleReviewerAIAdd.vue';
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
commonAI
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
isSelectAI: false,
|
||||||
messform: {
|
messform: {
|
||||||
article_id: this.$route.query.id,
|
article_id: this.$route.query.id,
|
||||||
email: '',
|
email: '',
|
||||||
@@ -226,6 +249,7 @@ export default {
|
|||||||
|
|
||||||
// 审稿人详情
|
// 审稿人详情
|
||||||
openDetail(row) {
|
openDetail(row) {
|
||||||
|
this.mesOpen={}
|
||||||
this.mesOpenVisble = true;
|
this.mesOpenVisble = true;
|
||||||
this.$api
|
this.$api
|
||||||
.post('api/Article/getReviewerdetail', {
|
.post('api/Article/getReviewerdetail', {
|
||||||
|
|||||||
@@ -378,6 +378,7 @@ export default new Router({
|
|||||||
},
|
},
|
||||||
hidden: true
|
hidden: true
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/editorList',
|
path: '/editorList',
|
||||||
component: () => import('../components/page/editorList.vue'),
|
component: () => import('../components/page/editorList.vue'),
|
||||||
|
|||||||
Reference in New Issue
Block a user