添加title选项

This commit is contained in:
@fawn-nine
2023-09-06 15:23:36 +08:00
parent 7ed2ef4201
commit 6d5631ac07
5 changed files with 96 additions and 24 deletions

View File

@@ -120,7 +120,9 @@ const zh = {
tools: '辅助工具', tools: '辅助工具',
ReArticles: '被拒稿件', // 被拒稿件 ReArticles: '被拒稿件', // 被拒稿件
editorialBoard:'编委管理', editorialBoard:'编委管理',
editorialBoard1:'编委列表' editorialBoard1:'编委列表',
chiefInspector:'总监',
managingDirector:'总经理'
}, },
home: { home: {
authortop: '用户指南', authortop: '用户指南',

View File

@@ -204,8 +204,9 @@
</div> </div>
<div v-else> <div v-else>
<!-- 有分组时 --> <!-- 有分组时 -->
<div v-for="(item,key) of tableData_C" :key="key"> <div>
<div v-if="key == 'nogroup'"> <div v-for="(item,key1) of tableData_C" :key="key1">
<div v-if="key1 == 'nogroup'">
<!-- 显示无分组 --> <!-- 显示无分组 -->
<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;">
@@ -235,6 +236,8 @@
</el-table> </el-table>
</div> </div>
</div> </div>
</div>
<div>
<div v-for="(item,key) of tableData_C" :key="key"> <div v-for="(item,key) of tableData_C" :key="key">
<div v-if="key !== 'nogroup'"> <div v-if="key !== 'nogroup'">
<!-- 显示有分组 --> <!-- 显示有分组 -->
@@ -294,6 +297,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
<!-- 添加弹出框 --> <!-- 添加弹出框 -->

View File

@@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<el-table :data="tableData" border stripe class="table" ref="multipleTable" header-cell-class-name="table-header" <el-table :data="tableData" border stripe class="table" ref="multipleTable" header-cell-class-name="table-header"
empty-text="New messages (0)"> empty-text="New messages (0)" v-loading="loading">
<el-table-column type="index" label="No." width="55" align="center"></el-table-column> <el-table-column type="index" label="No." width="55" align="center"></el-table-column>
<el-table-column label="journals" prop="jabbr" align="center"></el-table-column> <el-table-column label="journals" prop="jabbr" align="center"></el-table-column>
<el-table-column label="number" prop="boards_count" align="center"></el-table-column> <el-table-column label="number" prop="boards_count" align="center"></el-table-column>
@@ -22,6 +22,7 @@
export default { export default {
data(){ data(){
return{ return{
loading:false,
query: { query: {
username: localStorage.getItem('U_name'), username: localStorage.getItem('U_name'),
// journal: localStorage.getItem('ms_journal_alias') ? parseInt(localStorage.getItem('ms_journal_alias')) : 0, // journal: localStorage.getItem('ms_journal_alias') ? parseInt(localStorage.getItem('ms_journal_alias')) : 0,
@@ -40,23 +41,17 @@ export default {
}, },
methods:{ methods:{
// 获取文章列表数据 // 获取文章列表数据
getdata() { getdata() {
this.loading = true
this.$api this.$api
.post('api/Monitor/getJournalBoards') .post('api/Monitor/getJournalBoards')
.then(res => { .then(res => {
if(res.code == 0){ if(res.code == 0){
// console.log(res,'res')
//this.Total = res.total; this.tableData = res.data.journals;
// var arr = []
// arr = res.data.journals.map( (item) => {
// var num = 0
// num = item.boards.main.length
// item.pnum = num
// return item
// })
this.tableData = res.data.journals;
// console.log(this.tableData,'this.tableData')
} }
this.loading = false
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);

View File

@@ -127,7 +127,49 @@
</el-table> </el-table>
</div> </div>
<div v-else> <div v-else>
<div v-for="(item,key) of tableData_C" v-if="tableData_C.length!=0"> <!-- 有分组时 -->
<div>
<div v-for="(item,key1) of tableData_C" :key="key1">
<div v-if="key1 == 'nogroup'">
<!-- 显示无分组 -->
<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;">
<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></div>
<div><div v-for="(item,key) of tableData_C" :key="key">
<div v-if="key !== 'nogroup'">
<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;">
@@ -163,6 +205,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
</div></div>
</div> </div>
</div> </div>

View File

@@ -622,9 +622,11 @@
label: 'Associate Prof.', label: 'Associate Prof.',
}, { }, {
label: 'Assistant Prof.', label: 'Assistant Prof.',
}, { },
label: 'Ph.D.', // {
}, { // label: 'Ph.D.',
// },
{
label: 'Researcher', label: 'Researcher',
}, { }, {
label: 'Associate research fellow', label: 'Associate research fellow',
@@ -634,9 +636,35 @@
label: 'Engineer', label: 'Engineer',
}, { }, {
label: 'Senior engineer', label: 'Senior engineer',
}, { },
label: 'Others', {
}], label: 'Associate Researcher',
},
{
label: 'Lecturer',
},
{
label: 'Associate Chief Physician',
},
{
label: 'Assistant Researcher',
},
{
label: 'Physician',
},
{
label: 'Chief Physician',
},
{
label: 'Senior Lecturer',
},
{
label: 'Research Fellow',
},
// {
// label: 'Others',
// }
],
list_year: [{ list_year: [{
title: '1 Year', title: '1 Year',
id: 1 id: 1