20230517
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="crumbs">
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
<i class="el-icon-paperclip"></i> Editorial board list
|
||||
<i class="el-icon-user"></i> Editorial board
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
@@ -35,6 +35,8 @@
|
||||
<el-table-column prop="email" label="Email"></el-table-column>
|
||||
<el-table-column prop="hindex" label="H-WOS" width="110px" align="center"></el-table-column>
|
||||
<el-table-column prop="ghindex" label="H-Google" width="110px" align="center"></el-table-column>
|
||||
<el-table-column label="Grade" width="110px" align="center"></el-table-column>
|
||||
<!-- <el-table-column label="Remarks" width="180"></el-table-column> -->
|
||||
<el-table-column label="" width="190" align="center"></el-table-column>
|
||||
</el-table>
|
||||
|
||||
@@ -58,6 +60,28 @@
|
||||
<p v-html="colorIndex(scope.row.google_index,scope.row.google_time)"></p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="Grade" width="110px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<p style="display: inline-block;" v-if="scope.row.starList_mark!=0">
|
||||
<img src="../../assets/img/star-all.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==1" class="starSty">
|
||||
<img src="../../assets/img/star-traf.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==0" class="starSty">
|
||||
<img src="../../assets/img/star-none.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==2" class="starSty">
|
||||
<img src="../../assets/img/star-all.png" v-if="scope.row.starList_mark>8" class="starSty">
|
||||
<b style="font-size: 15px;color: #b77614;" v-if="scope.row.starList_mark>8">×
|
||||
{{scope.row.starList_mark}}</b>
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="Remarks" width="180">
|
||||
<template slot-scope="scope">
|
||||
{{scope.row.remark}}
|
||||
<b @click="BoxRemark(scope.row)" style="margin-left:10px;cursor: pointer;color:#006699;"
|
||||
class="el-icon-edit"></b>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column label="" width="190" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="primary" plain icon="el-icon-edit"
|
||||
@@ -87,6 +111,28 @@
|
||||
<p v-html="colorIndex(scope.row.google_index,scope.row.google_time)"></p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="Grade" width="110px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<p style="display: inline-block;" v-if="scope.row.starList_mark!=0">
|
||||
<img src="../../assets/img/star-all.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==1" class="starSty">
|
||||
<img src="../../assets/img/star-traf.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==0" class="starSty">
|
||||
<img src="../../assets/img/star-none.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==2" class="starSty">
|
||||
<img src="../../assets/img/star-all.png" v-if="scope.row.starList_mark>8" class="starSty">
|
||||
<b style="font-size: 15px;color: #b77614;" v-if="scope.row.starList_mark>8">×
|
||||
{{scope.row.starList_mark}}</b>
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="Remarks" width="180">
|
||||
<template slot-scope="scope">
|
||||
{{scope.row.remark}}
|
||||
<b @click="BoxRemark(scope.row)" style="margin-left:10px;cursor: pointer;color:#006699;"
|
||||
class="el-icon-edit"></b>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column label="" width="190" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="primary" plain icon="el-icon-edit"
|
||||
@@ -117,6 +163,29 @@
|
||||
<p v-html="colorIndex(scope.row.google_index,scope.row.google_time)"></p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="Grade" width="110px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<p style="display: inline-block;" v-if="scope.row.starList_mark!=0">
|
||||
<img src="../../assets/img/star-all.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==1" class="starSty">
|
||||
<img src="../../assets/img/star-traf.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==0" class="starSty">
|
||||
<img src="../../assets/img/star-none.png" v-for="item in scope.row.starList"
|
||||
v-if="scope.row.starList_mark<=8&&item.star==2" class="starSty">
|
||||
<img src="../../assets/img/star-all.png" v-if="scope.row.starList_mark>8"
|
||||
class="starSty">
|
||||
<b style="font-size: 15px;color: #b77614;" v-if="scope.row.starList_mark>8">×
|
||||
{{scope.row.starList_mark}}</b>
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="Remarks" width="180">
|
||||
<template slot-scope="scope">
|
||||
{{scope.row.remark}}
|
||||
<b @click="BoxRemark(scope.row)" style="margin-left:10px;cursor: pointer;color:#006699;"
|
||||
class="el-icon-edit"></b>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column label="" width="190" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="primary" plain icon="el-icon-edit"
|
||||
@@ -295,6 +364,26 @@
|
||||
<el-button type="primary" @click="saveEdit()">OK</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
<!-- 标记弹出框 -->
|
||||
<el-dialog title="Remarks" :visible.sync="remarkBox" width="550px">
|
||||
<el-form ref="remark" :model="remarkMes" label-width="130px">
|
||||
<el-form-item label="Editorial board :">
|
||||
<p style="line-height: 20px;margin-top: 6px;">{{remarkMes.realname}}</p>
|
||||
</el-form-item>
|
||||
<el-form-item label="Email :">
|
||||
<p style="line-height: 20px;margin-top: 6px;">{{remarkMes.email}}</p>
|
||||
</el-form-item>
|
||||
<el-form-item label="Content :">
|
||||
<el-input type="textarea" rows="5" v-model="remarkMes.remark"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="remarkBox = false">Cancel</el-button>
|
||||
<el-button type="primary" @click="saveRemark">Save</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -327,6 +416,10 @@
|
||||
},
|
||||
edit_group: [],
|
||||
dis_able: false,
|
||||
remarkMes: {
|
||||
remark: ''
|
||||
},
|
||||
remarkBox: false,
|
||||
query: {
|
||||
journal_id: 0,
|
||||
journal_title: '',
|
||||
@@ -419,7 +512,7 @@
|
||||
value: 'Scientific Editor'
|
||||
},
|
||||
{
|
||||
value: 'Producion Editor'
|
||||
value: 'Production Editor'
|
||||
},
|
||||
{
|
||||
value: 'Assistant Editor'
|
||||
@@ -430,6 +523,9 @@
|
||||
{
|
||||
value: 'Lecturer'
|
||||
},
|
||||
{
|
||||
value: 'Investigator'
|
||||
},
|
||||
{
|
||||
value: 'Senior Investigator'
|
||||
},
|
||||
@@ -554,22 +650,33 @@
|
||||
if (res.code == 0) {
|
||||
if (res.data.boards.main != undefined) {
|
||||
this.tableData_A = res.data.boards.main;
|
||||
for (var i = 0; i < this.tableData_A.length; i++) {
|
||||
this.getScoreDataA(i, this.tableData_A[i].score)
|
||||
}
|
||||
} else {
|
||||
this.tableData_A = []
|
||||
}
|
||||
if (res.data.boards.remain != undefined) {
|
||||
this.tableData_B = res.data.boards.remain;
|
||||
for (var i = 0; i < this.tableData_B.length; i++) {
|
||||
this.getScoreDataB(i, this.tableData_B[i].score)
|
||||
}
|
||||
} else {
|
||||
this.tableData_B = []
|
||||
}
|
||||
if (res.data.boards.member != undefined) {
|
||||
this.tableData_C = res.data.boards.member;
|
||||
for (var i = 0; i < this.tableData_C.length; i++) {
|
||||
this.getScoreDataC(i, this.tableData_C[i].score)
|
||||
}
|
||||
} else {
|
||||
this.tableData_C = []
|
||||
}
|
||||
loading.close();
|
||||
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
loading.close();
|
||||
}
|
||||
|
||||
})
|
||||
@@ -653,6 +760,97 @@
|
||||
this.getgroup()
|
||||
},
|
||||
|
||||
|
||||
// 评分
|
||||
getScoreDataA(i, e) {
|
||||
this.tableData_A[i].starList = []
|
||||
this.tableData_A[i].starList_mark = 0
|
||||
if (e < 0.5 && e > 0) {
|
||||
this.tableData_A[i].starList.push({
|
||||
star: 2
|
||||
})
|
||||
this.tableData_A[i].starList_mark = 1
|
||||
} else {
|
||||
let zheng = Math.floor(e)
|
||||
let xiao = Number(e) - Math.floor(e)
|
||||
if (xiao >= 0.5) {
|
||||
xiao = 0.5
|
||||
} else {
|
||||
xiao = 0
|
||||
}
|
||||
for (var j = 0; j < zheng; j++) {
|
||||
this.tableData_A[i].starList.push({
|
||||
star: 1
|
||||
})
|
||||
}
|
||||
if (xiao == 0.5) {
|
||||
this.tableData_A[i].starList.push({
|
||||
star: 0
|
||||
})
|
||||
}
|
||||
this.tableData_A[i].starList_mark = Number(zheng) + Number(xiao)
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
getScoreDataB(i, e) {
|
||||
this.tableData_B[i].starList = []
|
||||
this.tableData_B[i].starList_mark = 0
|
||||
if (e < 0.5 && e > 0) {
|
||||
this.tableData_B[i].starList.push({
|
||||
star: 2
|
||||
})
|
||||
this.tableData_B[i].starList_mark = 1
|
||||
} else {
|
||||
let zheng = Math.floor(e)
|
||||
let xiao = Number(e) - Math.floor(e)
|
||||
if (xiao >= 0.5) {
|
||||
xiao = 0.5
|
||||
} else {
|
||||
xiao = 0
|
||||
}
|
||||
for (var j = 0; j < zheng; j++) {
|
||||
this.tableData_B[i].starList.push({
|
||||
star: 1
|
||||
})
|
||||
}
|
||||
if (xiao == 0.5) {
|
||||
this.tableData_B[i].starList.push({
|
||||
star: 0
|
||||
})
|
||||
}
|
||||
this.tableData_B[i].starList_mark = Number(zheng) + Number(xiao)
|
||||
}
|
||||
},
|
||||
getScoreDataC(i, e) {
|
||||
this.tableData_C[i].starList = []
|
||||
this.tableData_C[i].starList_mark = 0
|
||||
if (e < 0.5 && e > 0) {
|
||||
this.tableData_C[i].starList.push({
|
||||
star: 2
|
||||
})
|
||||
this.tableData_C[i].starList_mark = 1
|
||||
} else {
|
||||
let zheng = Math.floor(e)
|
||||
let xiao = Number(e) - Math.floor(e)
|
||||
if (xiao >= 0.5) {
|
||||
xiao = 0.5
|
||||
} else {
|
||||
xiao = 0
|
||||
}
|
||||
for (var j = 0; j < zheng; j++) {
|
||||
this.tableData_C[i].starList.push({
|
||||
star: 1
|
||||
})
|
||||
}
|
||||
if (xiao == 0.5) {
|
||||
this.tableData_C[i].starList.push({
|
||||
star: 0
|
||||
})
|
||||
}
|
||||
this.tableData_C[i].starList_mark = Number(zheng) + Number(xiao)
|
||||
}
|
||||
},
|
||||
// 分组管理
|
||||
addGroup() {
|
||||
this.$router.push('/editorGroup');
|
||||
@@ -660,7 +858,13 @@
|
||||
|
||||
// 用户跳转
|
||||
perSonnel(e) {
|
||||
this.$router.push('/partyRole?id=' + e);
|
||||
let routerJump = this.$router.resolve({
|
||||
path: '/partyRole',
|
||||
query: {
|
||||
id: e
|
||||
}
|
||||
});
|
||||
window.open(routerJump.href, '_blank');
|
||||
},
|
||||
|
||||
|
||||
@@ -863,6 +1067,28 @@
|
||||
Goto_res() {
|
||||
this.$router.push('/register');
|
||||
},
|
||||
|
||||
// 标记弹出框
|
||||
BoxRemark(e) {
|
||||
this.remarkBox = true;
|
||||
this.remarkMes.realname = e.name;
|
||||
this.remarkMes.user_id = e.tuser_id;
|
||||
this.remarkMes.email = e.email;
|
||||
this.remarkMes.remark = e.remark;
|
||||
},
|
||||
// 修改标记
|
||||
saveRemark() {
|
||||
this.$api.post('api/User/editRemarkForUser', this.remarkMes)
|
||||
.then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('Success');
|
||||
this.remarkBox = false;
|
||||
this.getDate();
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
// 指数颜色
|
||||
@@ -991,6 +1217,16 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.starSty {
|
||||
width: 18px;
|
||||
margin-right: 4px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.starSty:nth-last-child(1) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.avatar-uploader .el-upload {
|
||||
border: 1px dashed #d9d9d9;
|
||||
border-radius: 6px;
|
||||
|
||||
Reference in New Issue
Block a user