总监系统添加青年科学家

This commit is contained in:
@fawn-nine
2023-09-20 11:18:12 +08:00
parent e3018eda50
commit 6f47d870d4
8 changed files with 976 additions and 105 deletions

View File

@@ -60,6 +60,7 @@
<el-table-column label="Contributions" align="center"></el-table-column>
<el-table-column prop="ghindex" label="H-Google" width="110px" align="center"></el-table-column>
<el-table-column prop="Wosindex" label="Wosindex" width="110px" align="center"></el-table-column>
<el-table-column prop="remark" label="Remark" 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="300" align="center"></el-table-column>
@@ -99,28 +100,17 @@
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_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 prop="remark" label="Remark" align="center">
<template slot-scope="scope">
<div style="margin-bottom: 5px;" v-if="scope.row.remark != ''">{{scope.row.remark}}</div>
<div>
<el-button v-if="scope.row.remark != ''" size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Edit Remark</el-button>
<el-button v-else size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Add Remark</el-button>
</div>
</template>
</el-table-column>
<el-table-column label="" width="300" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@@ -166,28 +156,17 @@
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_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 prop="remark" label="Remark" align="center">
<template slot-scope="scope">
<div style="margin-bottom: 5px;" v-if="scope.row.remark != ''">{{scope.row.remark}}</div>
<div>
<el-button v-if="scope.row.remark != ''" size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Edit Remark</el-button>
<el-button v-else size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Add Remark</el-button>
</div>
</template>
</el-table-column>
<el-table-column label="" width="300" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@@ -234,29 +213,17 @@
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_time)"></p>
</template>
</el-table-column>
<!-- <el-table-column label="Grade" width="110px" align="center">
<el-table-column prop="remark" label="Remark" 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>
<div style="margin-bottom: 5px;" v-if="scope.row.remark != ''">{{scope.row.remark}}</div>
<div>
<el-button v-if="scope.row.remark != ''" size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Edit Remark</el-button>
<el-button v-else size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Add Remark</el-button>
</div>
</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>
<el-table-column label="" width="300" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@@ -302,6 +269,17 @@
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_time)"></p>
</template>
</el-table-column>
<el-table-column prop="remark" label="Remark" align="center">
<template slot-scope="scope">
<div style="margin-bottom: 5px;" v-if="scope.row.remark != ''">{{scope.row.remark}}</div>
<div>
<el-button v-if="scope.row.remark != ''" size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Edit Remark</el-button>
<el-button v-else size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Add Remark</el-button>
</div>
</template>
</el-table-column>
<el-table-column label="" width="300" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@@ -353,29 +331,17 @@
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_time)"></p>
</template>
</el-table-column>
<!-- <el-table-column label="Grade" width="110px" align="center">
<el-table-column prop="remark" label="Remark" 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>
<div style="margin-bottom: 5px;" v-if="scope.row.remark != ''">{{scope.row.remark}}</div>
<div>
<el-button v-if="scope.row.remark != ''" size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Edit Remark</el-button>
<el-button v-else size="mini" type="primary" plain icon="el-icon-edit"
@click="BoxRemark(scope.row)"> Add Remark</el-button>
</div>
</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>
<el-table-column label="" width="300" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@@ -467,11 +433,8 @@
<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-form-item>
<el-form-item label="Remark :">
<el-input type="textarea" rows="5" v-model="remarkMes.remark"></el-input>
</el-form-item>
</el-form>
@@ -1275,14 +1238,16 @@
// 标记弹出框
BoxRemark(e) {
this.remarkBox = true;
this.remarkMes.realname = e.name;
this.remarkMes.user_id = e.tuser_id;
this.remarkMes.email = e.email;
this.remarkMes.realname = e.realname;
this.remarkMes.btj_id = e.btj_id;
this.remarkMes.remark = e.remark;
},
// 修改标记
saveRemark() {
this.$api.post('api/User/editRemarkForUser', this.remarkMes)
this.$api.post('api/Board/editBoardRemark', {
'btj_id': this.remarkMes.btj_id,
'remark': this.remarkMes.remark
})
.then(res => {
if (res.code == 0) {
this.$message.success('Success');