This commit is contained in:
2025-11-26 17:31:53 +08:00
parent deab83fc81
commit c6eca577c7
6 changed files with 16 additions and 131 deletions

View File

@@ -160,7 +160,7 @@
<i class="tip">{{ Ainfo.refer_state.num }}</i> references in this manuscript is identified. <i class="tip">{{ Ainfo.refer_state.num }}</i> references in this manuscript is identified.
</p> </p>
<p style="color: #505050; font-size: 14px; padding: 0 20px 20px; box-sizing: border-box"> <p style="color: #505050; font-size: 14px; padding: 0 20px 20px; box-sizing: border-box" v-if="Ainfo.refer_state.num>0" >
<el-button @click="goAddReferences(thisArtcleId)" icon="el-icon-edit" type="text">Edit</el-button> <el-button @click="goAddReferences(thisArtcleId)" icon="el-icon-edit" type="text">Edit</el-button>
</p> </p>
<!-- <div v-else style="padding: 20px; box-sizing: border-box"></div> --> <!-- <div v-else style="padding: 20px; box-sizing: border-box"></div> -->

View File

@@ -855,7 +855,7 @@ export default {
.then((res) => { loading.close(); .then((res) => { loading.close();
this.chanFerForm = res.data.refers; this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat); this.chanFerFormRepeatList = Object.values(res.data.repeat);
console.log('this.chanFerFormRepeatList at line 853:', this.chanFerFormRepeatList)
for (var i = 0; i < this.chanFerForm.length; i++) { for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1; this.chanFerForm[i].edit_mark = 1;
if (this.chanFerForm[i].refer_frag != '') { if (this.chanFerForm[i].refer_frag != '') {

View File

@@ -179,6 +179,7 @@
<editPublicRefRdit <editPublicRefRdit
ref="editPublicRefRdit" ref="editPublicRefRdit"
:chanFerForm="chanFerForm" :chanFerForm="chanFerForm"
:chanFerFormRepeatList="chanFerFormRepeatList"
:gridData="gridData" :gridData="gridData"
:p_article_id="p_article_id" :p_article_id="p_article_id"
@ChanFerMashUp="ChanFerMashUp" @ChanFerMashUp="ChanFerMashUp"
@@ -540,6 +541,7 @@ export default {
editFomschool: {}, editFomschool: {},
chanFerForm: [], chanFerForm: [],
chanFerFormRepeatList: [],
refProcess: 0, refProcess: 0,
refReal: 0, refReal: 0,
refAarray: '', refAarray: '',
@@ -958,6 +960,7 @@ export default {
}) })
.then((res) => { .then((res) => {
this.chanFerForm = res.data.refers; this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat);
for (var i = 0; i < this.chanFerForm.length; i++) { for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1; this.chanFerForm[i].edit_mark = 1;
if (this.chanFerForm[i].refer_frag != '') { if (this.chanFerForm[i].refer_frag != '') {
@@ -1464,6 +1467,7 @@ export default {
}) })
.then((res) => { .then((res) => {
this.chanFerForm = res.data.refers; this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat);
for (var i = 0; i < this.chanFerForm.length; i++) { for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1; this.chanFerForm[i].edit_mark = 1;
} }

View File

@@ -113,12 +113,12 @@
information after this row. information after this row.
</p> </p>
</li> </li>
<li> <!-- <li>
<p> <p>
- If you want to discard all references and import a new batch of reference information, please click - If you want to discard all references and import a new batch of reference information, please click
<el-button type="text" @click="removeAll">Delete and re-import</el-button>. <el-button type="text" @click="removeAll">Delete and re-import</el-button>.
</p> </p>
</li> </li> -->
<li> <li>
<p style="display: flex; align-items: center"> <p style="display: flex; align-items: center">
- Please note that if this status exists, - Please note that if this status exists,
@@ -142,7 +142,7 @@
</ul> </ul>
</div> </div>
<div class="refenceCentent mt20"> <div class="refenceCentent mt20">
<span @click="deleteSomeRefs">删除</span>
<div style="display: flex;align-items: center;justify-content: space-between;"> <div style="display: flex;align-items: center;justify-content: space-between;">
<el-table style="width: 100%" <el-table style="width: 100%"
:data="tableData" :data="tableData"

View File

@@ -580,129 +580,7 @@
:article_id="detailMes.article_id" :article_id="detailMes.article_id"
:p_article_id="p_article_id" :p_article_id="p_article_id"
></PreIngestedEditorProduce> ></PreIngestedEditorProduce>
<!--<div class="liter_ture"> </div>
<div class="chanSelLef">
<div :class="showB_step ==1?'C_style':''">
<h3><span>1</span>Check References and Doi</h3>
<div v-if="showB_step ==1">
<p>
You need to click
<el-button type="warning" @click="StepBOper(1)" size="mini"
style="padding: 5px 8px;font-size: 12px;margin: 0 5px;">
<i class="el-icon-edit-outline"></i>
Crossref
</el-button>
 to open the website, then paste the references part of the
<a :href='mediaUrl+this.gridData' target="_blank">
<el-button type="text" size="mini"
style="font-size: 12px;margin: 0 5px;font-weight: bold;">
<i class="el-icon-download" style="font-weight: bold;"></i>
manuscript
</el-button>
</a>
to get the new references part, please paste the new one into the input box.
</p>
<el-button @click="StepBNext(2)" plain type="primary"
style="width: 85%;margin: 15px 0px 0px 30px;position: relative;">
<i class="el-icon-right"
style="font-size: 18px;position: absolute;right: 8px;top: 5px;"></i>
Next Step
</el-button>
</div>
</div>
<div :class="showB_step ==2?'C_style':''">
<h3><span>2</span>Check Standard</h3>
<div v-if="showB_step ==2">
<p>Convert to standard format.</p>
<p style="background-color: #fdf3e3;padding: 10px;margin: 10px 0 0 30px;">The
references
with yellow background
are problematic, so you can check and correct them yourself.</p>
<el-button @click="StepBNext(1)" type="primary" plain
style="width: 85%;margin: 15px 0px 0px 30px;position: relative;">
<i class="el-icon-back"
style="font-size: 18px;margin:0;position:absolute;left: 8px;top: 5px;"></i>
Back Step and Reset
</el-button>
</div>
</div>
</div>
<div class="chanFerAll">
<div v-if="showB_step ==1">
<el-input v-model="refAarray" type="textarea" rows="20" style="width: 100%;"
:placeholder="placeRef"></el-input>
<el-button type="primary" @click="StepBOper(2)"
style="width: 250px;margin: 20px 0 0 0;float: right;">
<i class="el-icon-document-checked"></i>
Complete and conversion
</el-button>
<br clear="both">
</div>
<div v-for="(item,index) in this.chanFerForm" v-if="showB_step ==2" class="ref_list">
<div>
<span
style="float:left;margin: 3px 10px 0 0;width: 80px;text-align: right;font-size: 14px;">DOI
:</span>
<p style="float:left;font-size: 14px;color: #555;">{{item.refer_doi}}</p>
<br clear="both">
</div>
<div v-if="item.cs==1&&item.edit_mark!=0" style="margin-bottom: 0;">
<span
style="float:left;margin: 0 12px 0 0;width: 80px;text-align: right;font-size: 14px;">Standard
:</span>
<p v-if="item.author==''"
style="float:left;width:74.5%;font-size: 14px;color: #555;line-height: 20px;">
{{item.refer_frag}}
</p>
<p v-if="item.author!=''"
style="float:left;width:74.5%;font-size: 14px;color: #555;line-height: 20px;">
{{item.author}} {{item.title}} {{item.joura}}{{item.dateno}}. Available at:
{{item.doilink}}
</p>
<br clear="both">
</div>
<div v-if="item.cs==0||item.edit_mark==0" :class="item.cs==0?'BG_yell':''"
style="margin-bottom: 0;">
<span
style="float:left;margin: 0 12px 0 0;width: 80px;text-align: right;font-size: 14px;">Standard
:</span>
<el-input type="textarea" v-model="item.refer_frag" autosize
style="width: 60%;display: inline-block;"></el-input>
<div style="display: inline-block;width: 50px;vertical-align: top;">
<el-button @click="ChanFerEditFrag(item,index)" type="primary"
icon="el-icon-check" size="mini" style="margin: 0 5px 0 15px;">
</el-button>
<el-button @click="ChanFerMashUp(item)" type="warning" size="mini"
style="margin: 10px 5px 0 15px;" v-if="index!=0">Up</el-button>
</div>
</div>
<b>{{index+1}}</b>
<i class="el-icon-edit-outline" @click="referMark(index)"
v-if="item.edit_mark==1&&item.cs!=0&&item.author==''"></i>
<i class="el-icon-top" @click="ChanFerMashUp(item)"
v-if="index!=0&&item.edit_mark==1&&item.cs!=0"
style="right: 40px;font-size: 10px;">up</i>
</div>
</div>
<br clear="both">
<div v-if="refProcess==1" class="RefProBar">
<div>
<el-progress :text-inside="true" :stroke-width="24" :percentage="refReal"
:color="customColorMethod"></el-progress>
<p>
<img src="../../assets/img/Ip_spinner.gif">
<span>{{this.refReal}}%</span> completed, please wait...
</p>
</div>
</div>
</div> -->
</div>
</div> </div>
<!-- Html排版 --> <!-- Html排版 -->

View File

@@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<!-- publish 引用编辑页面 --> <!-- publish 引用编辑页面 -->
<editPublicRefRdit ref="editPublicRefRdit" :chanFerForm = 'chanFerForm' :gridData = 'gridData' :p_article_id='p_article_id' @ChanFerMashUp="ChanFerMashUp" @refrashComp="refrashComp" @changeRefer="changeRefer"></editPublicRefRdit> <editPublicRefRdit ref="editPublicRefRdit" :chanFerFormRepeatList="chanFerFormRepeatList" :chanFerForm = "chanFerForm" :gridData = "gridData" :p_article_id='p_article_id' @ChanFerMashUp="ChanFerMashUp" @refrashComp="refrashComp" @changeRefer="changeRefer"></editPublicRefRdit>
</div> </div>
</template> </template>
@@ -15,6 +15,7 @@ export default {
return{ return{
article_id: this.$route.query.id, article_id: this.$route.query.id,
chanFerForm: [], chanFerForm: [],
chanFerFormRepeatList: [],
gridData: '', gridData: '',
p_article_id: this.$route.query.pid, p_article_id: this.$route.query.pid,
} }
@@ -80,7 +81,8 @@ export default {
'p_article_id': this.p_article_id 'p_article_id': this.p_article_id
}) })
.then(res => { .then(res => {
this.chanFerForm = res.data.refers this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat);
for (var i = 0; i < this.chanFerForm.length; i++) { for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1 this.chanFerForm[i].edit_mark = 1
if (this.chanFerForm[i].refer_frag != '') { if (this.chanFerForm[i].refer_frag != '') {
@@ -128,7 +130,8 @@ export default {
'p_article_id': this.p_article_id 'p_article_id': this.p_article_id
}) })
.then(res => { .then(res => {
this.chanFerForm = res.data.refers this.chanFerForm = res.data.refers;
this.chanFerFormRepeatList = Object.values(res.data.repeat);
for (var i = 0; i < this.chanFerForm.length; i++) { for (var i = 0; i < this.chanFerForm.length; i++) {
this.chanFerForm[i].edit_mark = 1 this.chanFerForm[i].edit_mark = 1
} }