提交
This commit is contained in:
@@ -774,7 +774,16 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- user指数弹出框 -->
|
<!-- user指数弹出框 -->
|
||||||
<el-dialog :title="`Edit personal index ( ${userIndexForm.typeName} )`" :visible.sync="userIndexVisible" min-width="600px">
|
<el-dialog :title="`Edit personal index ( ${userIndexForm.typeName} )`" :visible.sync="userIndexVisible" min-width="600px">
|
||||||
<el-form ref="index_Form" :model="userIndexForm" :rules="rules" label-width="170px">
|
<el-form
|
||||||
|
ref="index_Form"
|
||||||
|
:model="userIndexForm"
|
||||||
|
:rules="rules"
|
||||||
|
label-width="170px"
|
||||||
|
v-loading="userloading"
|
||||||
|
element-loading-text="拼命加载中"
|
||||||
|
element-loading-spinner="el-icon-loading"
|
||||||
|
element-loading-background="rgba(255, 255, 255, 0.8)"
|
||||||
|
>
|
||||||
<el-form-item label="Account :" prop="account">
|
<el-form-item label="Account :" prop="account">
|
||||||
{{ userIndexForm.account }}
|
{{ userIndexForm.account }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -787,7 +796,7 @@
|
|||||||
<el-input v-model="userIndexForm.index"></el-input>
|
<el-input v-model="userIndexForm.index"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<template v-if=" userIndexForm.type == 1">
|
<template v-if="userIndexForm.type == 1">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<span slot="label"> Website : </span>
|
<span slot="label"> Website : </span>
|
||||||
<el-input v-model="userIndexForm.website"></el-input>
|
<el-input v-model="userIndexForm.website"></el-input>
|
||||||
@@ -816,7 +825,7 @@
|
|||||||
Certified
|
Certified
|
||||||
</a>
|
</a>
|
||||||
<el-button
|
<el-button
|
||||||
@click="handleIndex(3)"
|
@click="handleUserIndex(3)"
|
||||||
type="warning"
|
type="warning"
|
||||||
icon="el-icon-paperclip"
|
icon="el-icon-paperclip"
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -832,7 +841,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<div
|
<div
|
||||||
v-for="item in geogleList"
|
v-for="item in geogleList"
|
||||||
:class="IndexForm.g_author == item.author_id ? 'gugeList gu_col' : 'gugeList'"
|
:class="userIndexForm.g_author == item.author_id ? 'gugeList gu_col' : 'gugeList'"
|
||||||
@click="choseGego(item)"
|
@click="choseGego(item)"
|
||||||
v-if="bankVisible"
|
v-if="bankVisible"
|
||||||
>
|
>
|
||||||
@@ -1050,6 +1059,7 @@ export default {
|
|||||||
authorList: [],
|
authorList: [],
|
||||||
editorList: [],
|
editorList: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
|
userloading: false,
|
||||||
authorArticlesList: [],
|
authorArticlesList: [],
|
||||||
userrole: localStorage.getItem('U_status'),
|
userrole: localStorage.getItem('U_status'),
|
||||||
baseUrl: this.Common.baseUrl,
|
baseUrl: this.Common.baseUrl,
|
||||||
@@ -1656,51 +1666,76 @@ export default {
|
|||||||
var website = '';
|
var website = '';
|
||||||
var editor_id = '';
|
var editor_id = '';
|
||||||
var g_author = '';
|
var g_author = '';
|
||||||
switch (e) {
|
if (e == 3) {
|
||||||
case 'wos':
|
this.userloading = true;
|
||||||
type = 0;
|
this.$api
|
||||||
typeName = 'WOS';
|
.post('api/User/googleGetAuthor', {
|
||||||
index = this.userMessage.wos_index;
|
user_id: this.userMessage.user_id
|
||||||
date = this.userMessage.wos_time;
|
})
|
||||||
|
.then((res) => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.geogleList = res.data.authors;
|
||||||
|
this.bankVisible = true;
|
||||||
|
this.userloading = false;
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
this.userloading = false;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
this.$message.error(err);
|
||||||
|
this.userloading = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
switch (e) {
|
||||||
|
case 'wos':
|
||||||
|
type = 0;
|
||||||
|
typeName = 'WOS';
|
||||||
|
index = this.userMessage.wos_index;
|
||||||
|
date = this.userMessage.wos_time;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'scopus':
|
case 'scopus':
|
||||||
type = 1;
|
type = 1;
|
||||||
typeName = 'Scopus';
|
typeName = 'Scopus';
|
||||||
index = this.userMessage.scopus_index;
|
index = this.userMessage.scopus_index;
|
||||||
date = this.userMessage.scopus_time;
|
date = this.userMessage.scopus_time;
|
||||||
website = this.userMessage.scopus_website;
|
website = this.userMessage.scopus_website;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'google':
|
case 'google':
|
||||||
type = 2;
|
type = 2;
|
||||||
typeName = 'Google';
|
typeName = 'Google';
|
||||||
index = this.userMessage.google_index;
|
index = this.userMessage.google_index;
|
||||||
date = this.userMessage.google_time;
|
date = this.userMessage.google_time;
|
||||||
|
|
||||||
website = this.userMessage.g_website;
|
website = this.userMessage.g_website;
|
||||||
|
|
||||||
g_author = this.userMessage.g_author;
|
g_author = this.userMessage.g_author;
|
||||||
break;
|
|
||||||
|
this.bankVisible = false;
|
||||||
|
this.geogleList = [];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.userIndexForm = {
|
||||||
|
type: type,
|
||||||
|
|
||||||
|
index: index,
|
||||||
|
date: date,
|
||||||
|
website: website,
|
||||||
|
editor_id: localStorage.getItem('U_id'),
|
||||||
|
g_author: g_author,
|
||||||
|
|
||||||
|
user_id: this.userMessage.user_id,
|
||||||
|
account: this.userMessage.account,
|
||||||
|
typeName: typeName
|
||||||
|
};
|
||||||
|
console.log('this.userIndexForm at line 1641:', this.userIndexForm);
|
||||||
|
// this.userIndexForm.type = e;
|
||||||
|
|
||||||
|
this.userIndexVisible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.userIndexForm = {
|
|
||||||
type: type,
|
|
||||||
|
|
||||||
index: index,
|
|
||||||
date: date,
|
|
||||||
website: website,
|
|
||||||
editor_id: localStorage.getItem('U_id'),
|
|
||||||
g_author: g_author,
|
|
||||||
|
|
||||||
user_id: this.userMessage.user_id,
|
|
||||||
account: this.userMessage.account,
|
|
||||||
typeName: typeName
|
|
||||||
};
|
|
||||||
console.log('this.userIndexForm at line 1641:', this.userIndexForm);
|
|
||||||
// this.userIndexForm.type = e;
|
|
||||||
|
|
||||||
this.userIndexVisible = true;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 保存个人信息
|
// 保存个人信息
|
||||||
|
|||||||
@@ -53,6 +53,14 @@
|
|||||||
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
||||||
><br />
|
><br />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="file_sty" v-for="item in SMList">
|
||||||
|
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
||||||
|
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
||||||
|
>Supplementary Material
|
||||||
|
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
||||||
|
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
||||||
|
><br />
|
||||||
|
</div>
|
||||||
|
|
||||||
<p style="margin-top: 5px; color: #999; font-size: 14px">
|
<p style="margin-top: 5px; color: #999; font-size: 14px">
|
||||||
<b style="color: #e41411">Download failed?</b>
|
<b style="color: #e41411">Download failed?</b>
|
||||||
@@ -361,6 +369,7 @@ export default {
|
|||||||
txt_mess: {},
|
txt_mess: {},
|
||||||
fileList: [],
|
fileList: [],
|
||||||
picList: [],
|
picList: [],
|
||||||
|
SMList: [],//补充材料
|
||||||
mediaUrl: this.Common.mediaUrl,
|
mediaUrl: this.Common.mediaUrl,
|
||||||
add_edit: {
|
add_edit: {
|
||||||
article_id: this.$route.query.Art_id,
|
article_id: this.$route.query.Art_id,
|
||||||
@@ -552,6 +561,23 @@ export default {
|
|||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
this.$message.error(err);
|
this.$message.error(err);
|
||||||
});
|
});
|
||||||
|
this.$api
|
||||||
|
.post('api/Reviewer/getCFilelistByID', {
|
||||||
|
revid: this.Art_id
|
||||||
|
})
|
||||||
|
.then((res) => {
|
||||||
|
for (var i = 0; i < res.data.length; i++) {
|
||||||
|
let date = new Date(parseInt(res.data[i].ctime) * 1000);
|
||||||
|
let Y = date.getFullYear() + '-';
|
||||||
|
let M = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) + '-' : date.getMonth() + 1 + '-';
|
||||||
|
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
||||||
|
res.data[i].ctime = Y + M + D;
|
||||||
|
}
|
||||||
|
this.SMList = res.data;
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
|
||||||
//初始化问卷
|
//初始化问卷
|
||||||
this.$api
|
this.$api
|
||||||
|
|||||||
Reference in New Issue
Block a user