pmr期刊合并
This commit is contained in:
@@ -6945,6 +6945,7 @@ function article_con() {
|
||||
var ttypeName = ''
|
||||
var li = ""
|
||||
var ttime = ''
|
||||
var typeClass = ''
|
||||
switch (result.data.track[tt].type) {
|
||||
case (0):
|
||||
ttypeName = 'Received'
|
||||
@@ -6990,8 +6991,7 @@ function article_con() {
|
||||
var chushenContent = ''
|
||||
var timess = ''
|
||||
// 进入页面前清空
|
||||
if(result.data.track[tt].type == 2 && result.data.track[tt].reviewers[er].question.comments !== ''){
|
||||
|
||||
if(result.data.track[tt].type == 2 && result.data.track[tt].reviewers[er].question != null){
|
||||
chushenContent = ''
|
||||
timess = ''
|
||||
chushenContent = result.data.track[tt].reviewers[er].question.comments
|
||||
@@ -7022,8 +7022,22 @@ function article_con() {
|
||||
// 获得时间
|
||||
ttime = timestampToTime(result.data.track[tt].time)
|
||||
|
||||
li = "<div class='trackItem'><span class='time'>"+ttime+"</span><div class='type'><span class='title'>" + ttypeName + "</span>"+reviewers+"</div></div>"
|
||||
lis += li
|
||||
var Revitag = ''
|
||||
if(result.data.track[tt].type == 4 && result.data.track[tt].response){
|
||||
var title = '<h4>Response to reviewers: </h4>'
|
||||
var lisss = ''
|
||||
for(var s = 0; s < result.data.track[tt].response.length; s++){
|
||||
var xuhao = s+1
|
||||
var Revfile_url = ''
|
||||
// var tptime = timestampToTime(result.data.track[tt].time)
|
||||
Revfile_url = '<span><a href="https://submission.tmrjournals.com/public/' + result.data.track[tt].response[s].file_url + '" target="_blank" class="txt_html">'+xuhao+'. Download</a></span>'
|
||||
//Revitag +=
|
||||
lisss += Revfile_url
|
||||
}
|
||||
Revitag = '<div class="filerev">'+ title + lisss + '</div>'
|
||||
}
|
||||
li = "<div class='trackItem "+typeClass+"'><span class='time'>"+ttime+"</span><div class='type'><span class='title'>" + ttypeName + "</span>"+reviewers+ Revitag +"</div></div>"
|
||||
lis += li
|
||||
}
|
||||
$('.wen_rong .content-box .conterecord').html(lis)
|
||||
|
||||
@@ -7033,6 +7047,15 @@ function article_con() {
|
||||
$('.wen_rong #tablist .tarrecord').css('display', 'none');
|
||||
}
|
||||
|
||||
// Original data 附加文件
|
||||
if (j_artc.file_original == '') {
|
||||
// console.log('--------------')
|
||||
$('.wen_rong #tablist .OriginalData').css('display', 'none');
|
||||
$('.wen_rong #tablist .Original').css('display', 'none');
|
||||
} else {
|
||||
$('#OriginalData').html('<p>Original data:----<a target="_blank" href="' + apiUrl + 'Original/'+ j_artc.file_original +'">Download</a></p>');
|
||||
}
|
||||
|
||||
if (j_artc.file_pdf == '') {
|
||||
$('.wen_rong #tablist .tarfipdf').css('display', 'none');
|
||||
// $('.wen_rong .rong_box .contfdf').css('display','none');
|
||||
|
||||
@@ -287,6 +287,8 @@ function bf_list() {
|
||||
|
||||
if (Jour_num == 2 || Jour_num == 17 | Jour_num == 18) {
|
||||
$('.current_list>h4').html('Current Volume<span>' + time_ + '</span>');
|
||||
} else if(Jour_num == 7){ // pmr期刊
|
||||
$('.current_list>h4').html('Latest Issue<span>' + time_ + '</span>');
|
||||
} else {
|
||||
$('.current_list>h4').html('Current Issue<span>' + time_ + '</span>');
|
||||
}
|
||||
@@ -993,6 +995,25 @@ function bf_list() {
|
||||
var str = "";
|
||||
for (var i = 0; i < result.data.journalStage.length; i++) {
|
||||
|
||||
if(Jour_num == 7){
|
||||
// 合并(替换)期刊
|
||||
// console.log('这是一本合并期刊')
|
||||
if (arr_stage[i].stage_no == '0') {
|
||||
var iss_ = ''
|
||||
} else {
|
||||
var iss_ = '<b> Issue.' + arr_stage[i].stage_no + '</b>'
|
||||
}
|
||||
if (arr_stage[i].stage_icon == '') {
|
||||
str += '<li><a target="_blank" href="article_list.html?J_num=' + Jour_num + '&y_id=' + arr_stage[i].journal_stage_id + '">' +
|
||||
'<p style="display: block;background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol
|
||||
+ iss_ + arr_stage[i].stage_pagename + arr_stage[i].stage_page + '</b></p></a></li>'
|
||||
} else {
|
||||
str += '<li><a target="_blank" href="article_list.html?J_num=' + Jour_num + '&y_id=' + arr_stage[i].journal_stage_id + '">' +
|
||||
'<p style="background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + 'Vol. ' + arr_stage[i].stage_vol
|
||||
+ iss_ + arr_stage[i].stage_pagename + arr_stage[i].stage_page + '</b></p></a></li>'
|
||||
}
|
||||
}else{
|
||||
// 常规期刊
|
||||
if (arr_stage[i].stage_no == '0') {
|
||||
var iss_ = ''
|
||||
} else {
|
||||
@@ -1009,6 +1030,7 @@ function bf_list() {
|
||||
'<p style="background-color:' + localStorage.Journals_color + '80"><b>' + arr_stage[i].stage_year + '</b><b>Vol. ' + arr_stage[i].stage_vol + '</b>'
|
||||
+ iss_ + '<b>' + arr_stage[i].stage_pagename + ' ' + arr_stage[i].stage_page + '</b></p></a></li>'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -4,6 +4,12 @@ $('.art_side').load('./side.html');
|
||||
// 底部
|
||||
$('.footer').load('./footer.html')
|
||||
|
||||
$( document ).ready(function() {
|
||||
// console.log( "document loaded" );
|
||||
$('#kezuoB').hide();
|
||||
// console.log( $('#kezuoB') );
|
||||
});
|
||||
|
||||
// 期刊基础、外链、分期、话题信息加载
|
||||
function side_list() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user