This commit is contained in:
@fawn-nine
2023-08-30 14:14:23 +08:00
parent 25e5925c6d
commit b43dabab27
5 changed files with 201 additions and 94 deletions

View File

@@ -434,7 +434,7 @@
}, },
{ // 总监编委系统 { // 总监编委系统
icon: 'el-icon-s-opportunity', icon: 'el-icon-s-opportunity',
index: '9', index: '10',
title: this.$t('sidebar.editorialBoard'), title: this.$t('sidebar.editorialBoard'),
subs: [{ subs: [{
index: 'editorialBoard', index: 'editorialBoard',

View File

@@ -143,6 +143,14 @@
{{coreTable.country}} {{coreTable.country}}
</div> </div>
</div> </div>
<div v-if="coreTable.website!=''">
<div class="expTit">
Website :
</div>
<div class="expInde" style="margin-top: 0;">
<el-link :href="coreTable.website" target="_blank" type="primary">Personal academic introduction</el-link>
</div>
</div>
<div v-if="coreTable.company!=''"> <div v-if="coreTable.company!=''">
<div class="expTit"> <div class="expTit">
Affiliation : Affiliation :
@@ -800,6 +808,10 @@
:key="item.en_name" :value="item.en_name"></el-option> :key="item.en_name" :value="item.en_name"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="Website :" prop="website">
<el-input type="text" placeholder="eg:http://..." v-model="coreForm.website" style="width: 320px;">
</el-input>
</el-form-item>
<el-form-item prop="major_a"> <el-form-item prop="major_a">
<span slot="label"> <span slot="label">
<i style="color: #F56C6C;margin-right: 4px;">*</i> <i style="color: #F56C6C;margin-right: 4px;">*</i>

View File

@@ -147,7 +147,64 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<p class="shen_fen" v-if="tableData_C.length!=0">Editorial Board Members</p> <p class="shen_fen" v-if="tableData_C.length!=0">Editorial Board Members</p>
<div v-for="(item,key) in tableData_C" v-if="tableData_C.length!=0"> <div v-if="tableData_C[0]">
<!-- 没有分组时 -->
<el-table :data="tableData_C" border stripe class="table" ref="multipleTable" :show-header="false"
header-cell-class-name="table-header" empty-text="New messages (0)" style="margin-bottom: 20px;">
<el-table-column prop="Realname" label="Realname">
<template slot-scope="scope">
<p @click="perSonnel(scope.row.user_id)" class="perSonGo">{{scope.row.realname}}</p>
</template>
</el-table-column>
<el-table-column prop="email" label="Email"></el-table-column>
<!-- <el-table-column prop="hindex" label="H-WOS" width="110px" align="center">
<template slot-scope="scope">
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_time)"></p>
</template>
</el-table-column> -->
<el-table-column prop="ghindex" label="H-Google" width="110px" align="center">
<template slot-scope="scope">
<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="300" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@click="perSonnel(scope.row.user_id)">User Edit</el-button>
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@click="bhandleEdit(scope.$index, scope.row)">Board Edit</el-button>
<el-button size="mini" type="danger" plain icon="el-icon-delete" style="margin-top: 10px;"
@click="handleDelete(scope.$index, scope.row)">Delete</el-button>
</template>
</el-table-column>
</el-table>
</div>
<div v-else>
<!-- 有分组时 -->
<div v-for="(item,key) of tableData_C" >
<p class="shen_number">{{key}}</p> <p class="shen_number">{{key}}</p>
<el-table :data="item" border stripe class="table" ref="multipleTable" :show-header="false" <el-table :data="item" border stripe class="table" ref="multipleTable" :show-header="false"
header-cell-class-name="table-header" empty-text="New messages (0)" style="margin-bottom: 20px;"> header-cell-class-name="table-header" empty-text="New messages (0)" style="margin-bottom: 20px;">
@@ -202,7 +259,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div>
</div> </div>
<!-- 添加弹出框 --> <!-- 添加弹出框 -->
@@ -1130,6 +1187,7 @@
// 删除操作 // 删除操作
handleDelete(index, row) { handleDelete(index, row) {
// 二次确认删除 // 二次确认删除
this.$confirm('Are you sure you want to delete?', 'Tips', { this.$confirm('Are you sure you want to delete?', 'Tips', {
type: 'warning' type: 'warning'

View File

@@ -45,7 +45,7 @@ export default {
.post('api/Monitor/getJournalBoards') .post('api/Monitor/getJournalBoards')
.then(res => { .then(res => {
if(res.code == 0){ if(res.code == 0){
console.log(res,'res') // console.log(res,'res')
//this.Total = res.total; //this.Total = res.total;
// var arr = [] // var arr = []
// arr = res.data.journals.map( (item) => { // arr = res.data.journals.map( (item) => {

View File

@@ -91,7 +91,43 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<p class="shen_fen" v-if="tableData_C.length!=0">Editorial Board Members</p> <p class="shen_fen" v-if="tableData_C.length!=0">Editorial Board Members</p>
<div v-for="(item,key) in tableData_C" v-if="tableData_C.length!=0"> <div v-if="tableData_C[0]">
<el-table :data="tableData_C" border stripe class="table" ref="multipleTable" :show-header="false"
header-cell-class-name="table-header" empty-text="New messages (0)" style="margin-bottom: 20px;">
<el-table-column prop="realname" label="name">
<template slot-scope="scope">
<p @click="perSonnel(scope.row.user_id)" class="perSonGo">{{scope.row.realname}}</p>
</template>
</el-table-column>
<el-table-column prop="technical" label="technical" width="150px" align="center">
<!-- <template slot-scope="scope">
<p v-html="colorIndex(scope.row.wos_index,scope.row.wos_time)"></p>
</template> -->
</el-table-column>
<el-table-column prop="field" label="field" align="center">
<!-- <template slot-scope="scope">
<p v-html="colorIndex(scope.row.google_index,scope.row.google_time)"></p>
</template> -->
</el-table-column>
<el-table-column prop="ghindex" label="H-Google" width="110px" align="center">
<template slot-scope="scope">
<p v-html="colorIndex(scope.row.google_index,scope.row.google_time)"></p>
</template>
</el-table-column>
<el-table-column label="" width="150px" align="center">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain icon="el-icon-edit"
@click="perSonnel(scope.row.user_id)">User Edit</el-button>
<!-- <el-button size="mini" type="primary" plain icon="el-icon-edit"
@click="bhandleEdit(scope.$index, scope.row)">Board Edit</el-button> -->
<!-- <el-button size="mini" type="danger" plain icon="el-icon-delete" style="margin-top: 10px;"
@click="handleDelete(scope.$index, scope.row)">Delete</el-button> -->
</template>
</el-table-column>
</el-table>
</div>
<div v-else>
<div v-for="(item,key) of tableData_C" v-if="tableData_C.length!=0">
<p class="shen_number">{{key}}</p> <p class="shen_number">{{key}}</p>
<el-table :data="item" border stripe class="table" ref="multipleTable" :show-header="false" <el-table :data="item" border stripe class="table" ref="multipleTable" :show-header="false"
header-cell-class-name="table-header" empty-text="New messages (0)" style="margin-bottom: 20px;"> header-cell-class-name="table-header" empty-text="New messages (0)" style="margin-bottom: 20px;">
@@ -128,6 +164,7 @@
</el-table> </el-table>
</div> </div>
</div> </div>
</div>
<!-- 添加弹出框 --> <!-- 添加弹出框 -->
<el-dialog title="Add Editorial board" :visible.sync="addVisible" width="750px" :close-on-click-modal="false" <el-dialog title="Add Editorial board" :visible.sync="addVisible" width="750px" :close-on-click-modal="false"