1、投稿中去掉选择审稿人

2、改变审稿状态前先审查文章初始状态
This commit is contained in:
2024-08-07 15:09:46 +08:00
parent 5a42f8fa01
commit c007acb132
5 changed files with 3585 additions and 3397 deletions

View File

@@ -178,7 +178,16 @@ const en = {
}, protocol: { }, protocol: {
PublishingAgreementInfo: 'Please enter the publishing agreement' PublishingAgreementInfo: 'Please enter the publishing agreement'
} },journalStatus:{
changeStatusInfo:'此稿件的评分没有达到初始评分标准,是否继续?',
changeStatusInfo:'The rating of this manuscript did not meet the initial rating criteria. Do you want to continue?',
Continue:'继续',
Continue:'Continue',
Cancel:'取消',
Cancel:'Cancel',
Prompt:'提示',
Prompt:'Prompt',
},
} }

View File

@@ -154,16 +154,10 @@ const zh = {
articles: '全部文章数', articles: '全部文章数',
zr: '转入', zr: '转入',
zc: '转出', zc: '转出',
boardMembers: '编委人数',
InternationalDistributionNumber: '编委国际化分布',
InternationalDistributionArticles: '文章国际化分布',
boardMembers: '编委人数', InternationalDistributionTotal: '总计',
InternationalDistributionNumber: '编委国际化分布',
InternationalDistributionArticles: '文章国际化分布',
InternationalDistributionTotal: '总计',
}, },
charact: { charact: {
@@ -182,7 +176,13 @@ InternationalDistributionTotal: '总计',
}, protocol: { }, protocol: {
PublishingAgreementInfo: '请输入出版协议' PublishingAgreementInfo: '请输入出版协议'
} },
journalStatus:{
changeStatusInfo:'此稿件的评分没有达到初始评分标准,是否继续?',
Continue:'继续',
Cancel:'取消',
Prompt:'提示',
},
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +1,29 @@
<template> <template>
<div> <div>
<div class="crumbs"> <div class="crumbs">
<el-breadcrumb separator="/"> <el-breadcrumb separator="/">
<el-breadcrumb-item> <i class="el-icon-lx-calendar"></i> Add manuscript reviewer</el-breadcrumb-item> <el-breadcrumb-item> <i class="el-icon-lx-calendar"></i> Add manuscript reviewer</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</div> </div>
<div class="container" v-loading="loading" element-loading-text="Loading..." <div
element-loading-spinner="el-icon-loading" element-loading-background="rgba(255, 255, 255, 0.8)"> class="container"
<span style="font-size: 14px;color: #606266;margin: 0 10px 0 0;">Research direction :</span> v-loading="loading"
<el-cascader placeholder="Please select major" v-model="selectFileds" style="width:300px; margin-right: 10px;" @change="fieldChange" element-loading-text="Loading..."
:options="allFileds" element-loading-spinner="el-icon-loading"
:props="fieldsProps" element-loading-background="rgba(255, 255, 255, 0.8)"
collapse-tags >
clearable></el-cascader> <span style="font-size: 14px; color: #606266; margin: 0 10px 0 0">Research direction :</span>
<!-- <el-select v-model="messform.major_a" placeholder="Please select major" @change="majorChange(1)" <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-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>
<el-option v-for="item in majors_a" :key="item.major_id" :label="item.major_title" <el-option v-for="item in majors_a" :key="item.major_id" :label="item.major_title"
@@ -32,303 +42,319 @@
<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> -->
<el-input v-model="messform.email" clearable placeholder="Please enter email" <el-input
style="width: 190px;display: inline-block;margin: 0 10px 20px 0;"></el-input> v-model="messform.email"
<el-input v-model="messform.field" clearable placeholder="Please enter field" clearable
style="width: 190px;display: inline-block;margin: 0 10px 20px 0;"></el-input> placeholder="Please enter email"
<el-button type="primary" icon="el-icon-search" @click="handleSearch">Search</el-button> style="width: 190px; display: inline-block; margin: 0 10px 20px 0"
<el-table :data="revTable" border stripe class="table" ref="multipleTable" ></el-input>
header-cell-class-name="table-header" empty-text="New messages (0)"> <el-input
<el-table-column label="Base Information"> v-model="messform.field"
<template slot-scope="scope"> clearable
<p class="tab_tie_col"> placeholder="Please enter field"
<span>Realname: </span><b style="font-size: 15px;">{{scope.row.realname}}</b> style="width: 190px; display: inline-block; margin: 0 10px 20px 0"
</p> ></el-input>
<p class="tab_tie_col"> <el-button type="primary" icon="el-icon-search" @click="handleSearch">Search</el-button>
<span>Account: </span>{{scope.row.account}} <el-table
</p> :data="revTable"
<p class="tab_tie_col"> border
<span>Email: </span>{{scope.row.email}} stripe
</p> class="table"
ref="multipleTable"
</template> header-cell-class-name="table-header"
</el-table-column> empty-text="New messages (0)"
<el-table-column label="Other Information"> >
<template slot-scope="scope"> <el-table-column label="Base Information">
<p class="tab_tie_col" v-if="scope.row.company!=''"> <template slot-scope="scope">
<span>Affiliation: </span>{{scope.row.company}} <p class="tab_tie_col">
</p> <span>Realname: </span><b style="font-size: 15px">{{ scope.row.realname }}</b>
<p class="tab_tie_col" v-if="scope.row.field!=''"> </p>
<span>Field: </span>{{scope.row.field}} <p class="tab_tie_col"><span>Account: </span>{{ scope.row.account }}</p>
</p> <p class="tab_tie_col"><span>Email: </span>{{ scope.row.email }}</p>
<p class="tab_tie_col" v-if="scope.row.majorstr!=''"> </template>
<span>Major: </span>{{scope.row.majorstr}} </el-table-column>
</p> <el-table-column label="Other Information">
</template> <template slot-scope="scope">
</el-table-column> <p class="tab_tie_col" v-if="scope.row.company != ''"><span>Affiliation: </span>{{ scope.row.company }}</p>
<el-table-column prop="rs_num" label="Reviewed Times" width="140"> <p class="tab_tie_col" v-if="scope.row.field != ''"><span>Field: </span>{{ scope.row.field }}</p>
<template slot-scope="scope"> <p class="tab_tie_col" v-if="scope.row.majorstr != ''"><span>Major: </span>{{ scope.row.majorstr }}</p>
{{scope.row.rs_num}} </template>
<font style="margin-left: 5px;">(Reviewing:{{scope.row.now}})</font> </el-table-column>
</template> <el-table-column prop="rs_num" label="Reviewed Times" width="140">
</el-table-column> <template slot-scope="scope">
<!-- <el-table-column prop="rd_num" label="Fail number" width="140"></el-table-column> --> {{ scope.row.rs_num }}
<el-table-column label="" width="200" align="center"> <font style="margin-left: 5px">(Reviewing:{{ scope.row.now }})</font>
<template slot-scope="scope"> </template>
<el-button size="mini" type="success" plain icon="el-icon-tickets" </el-table-column>
@click="openDetail(scope.row)">Detail</el-button> <!-- <el-table-column prop="rd_num" label="Fail number" width="140"></el-table-column> -->
<el-button size="mini" type="primary" plain icon="el-icon-check" @click="openSelect(scope.row)"> <el-table-column label="" width="200" align="center">
Select</el-button> <template slot-scope="scope">
</template> <el-button size="mini" type="success" plain icon="el-icon-tickets" @click="openDetail(scope.row)">Detail</el-button>
</el-table-column> <el-button size="mini" type="primary" plain icon="el-icon-check" @click="openSelect(scope.row)"> Select</el-button>
</el-table> </template>
<div class="pagination"> </el-table-column>
<el-pagination background layout="total, prev, pager, next" :current-page="messform.pageIndex" </el-table>
:page-size="messform.pageSize" :total="Total" @current-change="handlePageChange"></el-pagination> <div class="pagination">
</div> <el-pagination
</div> background
<el-dialog title="Reviewer information" :visible.sync="mesOpenVisble" width="800px" v-loading="loading" layout="total, prev, pager, next"
element-loading-text="Loading..." element-loading-spinner="el-icon-loading" :current-page="messform.pageIndex"
element-loading-background="rgba(0, 0, 0, 0.8)"> :page-size="messform.pageSize"
<el-form v-model="mesOpen" label-width="140px"> :total="Total"
<el-form-item label="User :"> @current-change="handlePageChange"
<span>{{ mesOpen.account }}</span> ></el-pagination>
</el-form-item> </div>
<el-form-item label="Name :"> </div>
<span>{{ mesOpen.realname }}</span> <el-dialog
</el-form-item> title="Reviewer information"
<el-form-item label="Country :"> :visible.sync="mesOpenVisble"
<span>{{ mesOpen.country }}</span> width="800px"
</el-form-item> v-loading="loading"
<el-form-item label="Affiliation :"> element-loading-text="Loading..."
<span>{{ mesOpen.company }}</span> element-loading-spinner="el-icon-loading"
</el-form-item> element-loading-background="rgba(0, 0, 0, 0.8)"
<el-form-item label="Major :"> >
<span>{{ mesOpen.major_title }}</span> <el-form v-model="mesOpen" label-width="140px">
</el-form-item> <el-form-item label="User :">
<el-form-item label="Field :"> <span>{{ mesOpen.account }}</span>
<span>{{ mesOpen.field }}</span> </el-form-item>
</el-form-item> <el-form-item label="Name :">
<el-form-item label="Introduction :"> <span>{{ mesOpen.realname }}</span>
<span>{{ mesOpen.introduction }}</span> </el-form-item>
</el-form-item> <el-form-item label="Country :">
</el-form> <span>{{ mesOpen.country }}</span>
<span slot="footer" class="dialog-footer"> </el-form-item>
<el-button type="primary" @click="mesOpenVisble = false">Canel</el-button> <el-form-item label="Affiliation :">
</span> <span>{{ mesOpen.company }}</span>
</el-dialog> </el-form-item>
</div> <el-form-item label="Major :">
<span>{{ mesOpen.major_title }}</span>
</el-form-item>
<el-form-item label="Field :">
<span>{{ mesOpen.field }}</span>
</el-form-item>
<el-form-item label="Introduction :">
<span>{{ mesOpen.introduction }}</span>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="mesOpenVisble = false">Canel</el-button>
</span>
</el-dialog>
</div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
messform: { messform: {
article_id: this.$route.query.id, article_id: this.$route.query.id,
email: '', email: '',
field: '', field: '',
pageIndex: 1, pageIndex: 1,
pageSize: 15, pageSize: 15,
major_id: 0, major_id: 0
// major_a: 0, // major_a: 0,
// major_b: '', // major_b: '',
// major_c: '', // major_c: '',
}, },
revTable: [], revTable: [],
mesOpen: [], mesOpen: [],
mesOpenVisble: false, mesOpenVisble: false,
loading: false, loading: false,
Total: 0, Total: 0,
majors_a: [], majors_a: [],
majors_b: [], majors_b: [],
majors_c: [], majors_c: [],
allFileds:[], // 全部领域 allFileds: [], // 全部领域
fieldsProps: { fieldsProps: {
checkStrictly: true, checkStrictly: true,
value: 'major_id', value: 'major_id',
label: 'major_title', label: 'major_title',
children:'children' children: 'children'
}, },
selectFileds:[] selectFileds: []
}; };
}, },
created() { created() {
this.getDate(); this.getDate();
//this.initMajor() //this.initMajor()
this.getAllFields() this.getAllFields();
}, },
computed: { computed: {},
methods: {
fieldChange(e) {
this.messform.major_id = this.selectFileds[this.selectFileds.length - 1];
},
// 获取编辑列表数据
getDate() {
this.$api
.post('api/Reviewer/searchReviewer', this.messform)
.then((res) => {
this.revTable = res.data.reviewers;
this.Total = res.data.count;
this.loading = false;
})
.catch((err) => {
console.log(err);
});
},
}, // 下拉搜索
methods: { changereviewer() {
fieldChange(e){ if (this.messform.class == 0) {
this.messform.major_id = this.selectFileds[this.selectFileds.length-1] if (this.messform.grade != undefined) {
}, delete this.messform.grade;
// 获取编辑列表数据 }
getDate() { } else if (this.messform.class == 1) {
this.$api this.messform.grade = '';
.post('api/Reviewer/searchReviewer', this.messform) } else {
.then((res) => { this.messform.grade = this.messform.class;
this.revTable = res.data.reviewers; }
this.Total = res.data.count; this.loading = true;
this.loading = false; this.getDate();
}) },
.catch((err) => {
console.log(err);
});
},
// 下拉搜索 // 关键字搜索
changereviewer() { handleSearch() {
if (this.messform.class == 0) { this.loading = true;
if (this.messform.grade != undefined) { // console.log(this.messform)
delete this.messform.grade this.getDate();
} },
} else if (this.messform.class == 1) {
this.messform.grade = ''
} else {
this.messform.grade = this.messform.class
}
this.loading = true;
this.getDate();
},
// 关键字搜索 // 审稿人详情
handleSearch() { openDetail(row) {
this.loading = true; this.mesOpenVisble = true;
// console.log(this.messform) this.$api
this.getDate(); .post('api/Article/getReviewerdetail', {
}, uid: row.user_id
})
.then((res) => {
this.mesOpen = res.data;
})
.catch((err) => {
console.log(err);
});
},
// 保存添加操作
openSelect(row) {
this.loading = true;
this.$api
.post('api/Article/addArticleReviewer', {
uid: row.user_id,
articleId: this.$route.query.id
})
.then((res) => {
this.loading = false;
if (res.code == 0) {
this.$message.success('Add Success');
this.getDate();
// this.$router.push({
// path: 'articleReviewer',
// query: {
// id: this.$route.query.id
// }
// });
} else {
if (res.msg && res.msg != '') {
this.$message.error(res.msg);
} else {
this.$message.error('Add Error');
}
}
})
.catch((err) => {
this.loading = false;
console.log(err);
});
},
// 审稿人详情 // 领域
openDetail(row) { initMajor() {
this.mesOpenVisble = true; this.$api
this.$api .post('api/Ucenter/getMajor', {
.post('api/Article/getReviewerdetail', { major_id: 1
uid: row.user_id })
}) .then((res) => {
.then((res) => { this.majors_a = res.data.major.children;
this.mesOpen = res.data; this.majors_a_input = res.data.major.children;
}) });
.catch((err) => { },
console.log(err);
});
},
// 保存添加操作
openSelect(row) {
this.loading = true;
this.$api
.post('api/Article/addArticleReviewer', {
uid: row.user_id,
articleId: this.$route.query.id
})
.then((res) => {
this.loading = false;
if (res.code == 0) {
this.$message.success('Add Success');
this.getDate();
// this.$router.push({
// path: 'articleReviewer',
// query: {
// id: this.$route.query.id
// }
// });
} else {
this.$message.error('Add Error');
}
})
.catch((err) => {
this.loading = false;
console.log(err);
});
},
// 领域 // 获取全部领域
initMajor() { getAllFields() {
this.$api this.$api.post('api/Major/getMajorList').then((res) => {
.post('api/Ucenter/getMajor', { if (res.code == 0) {
major_id: 1 this.allFileds = res.data.majors;
}).then((res) => { } else {
this.majors_a = res.data.major.children; this.$message.error(res.msg);
this.majors_a_input = res.data.major.children; }
}); });
}, },
// 搜索选择领域
majorChange(e) {
if (e == 1) {
this.$api
.post('api/Ucenter/getMajor', {
major_id: this.messform.major_a
})
.then((res) => {
this.majors_b = res.data.major.children;
this.majors_c = [];
this.messform.major_b = '';
this.messform.major_c = '';
this.majorChange_panduan();
});
} else if (e == 2 && this.messform.major_b != 0) {
this.$api
.post('api/Ucenter/getMajor', {
major_id: this.messform.major_b
})
.then((res) => {
this.majors_c = res.data.major.children;
this.messform.major_c = '';
this.majorChange_panduan();
});
} else {
this.majorChange_panduan();
}
},
// 获取全部领域 majorChange_panduan() {
getAllFields(){ if (this.messform.major_c != '' || this.messform.major_c != 0) {
this.$api this.messform.major_id = this.messform.major_c;
.post('api/Major/getMajorList') } else if (this.messform.major_b != '' || this.messform.major_b != 0) {
.then((res) => { this.messform.major_id = this.messform.major_b;
if(res.code == 0){ } else {
this.allFileds = res.data.majors this.messform.major_id = this.messform.major_a;
}else{ }
this.$message.error(res.msg) this.getDate();
} },
});
},
// 搜索选择领域
majorChange(e) {
if (e == 1) {
this.$api
.post('api/Ucenter/getMajor', {
major_id: this.messform.major_a
}).then((res) => {
this.majors_b = res.data.major.children;
this.majors_c = []
this.messform.major_b = ''
this.messform.major_c = ''
this.majorChange_panduan()
});
} else if (e == 2 && this.messform.major_b != 0) {
this.$api
.post('api/Ucenter/getMajor', {
major_id: this.messform.major_b
}).then((res) => {
this.majors_c = res.data.major.children;
this.messform.major_c = ''
this.majorChange_panduan()
});
} else {
this.majorChange_panduan()
}
},
majorChange_panduan() { // 分页导航
if (this.messform.major_c != '' || this.messform.major_c != 0) { handlePageChange(val) {
this.messform.major_id = this.messform.major_c this.$set(this.messform, 'pageIndex', val);
} else if (this.messform.major_b != '' || this.messform.major_b != 0) { this.getDate();
this.messform.major_id = this.messform.major_b }
} else { }
this.messform.major_id = this.messform.major_a };
}
this.getDate()
},
// 分页导航
handlePageChange(val) {
this.$set(this.messform, 'pageIndex', val);
this.getDate();
},
}
};
</script> </script>
<style scoped> <style scoped>
.table { .table {
width: 100%; width: 100%;
font-size: 14px; font-size: 14px;
} }
.tab_tie_col { .tab_tie_col {
margin-bottom: 5px; margin-bottom: 5px;
color: #333; color: #333;
} }
.tab_tie_col>span { .tab_tie_col > span {
color: #888; color: #888;
margin: 0 5px 0 0; margin: 0 5px 0 0;
font-size: 13px; font-size: 13px;
} }
</style> </style>