Merge branch 'xie-accept'
This commit is contained in:
BIN
src/assets/img/noneData.png
Normal file
BIN
src/assets/img/noneData.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
137
src/components/page/Complete_profile.vue
Normal file
137
src/components/page/Complete_profile.vue
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
<template>
|
||||||
|
<div class="container" >
|
||||||
|
<el-row :gutter="20" >
|
||||||
|
<el-alert v-if="alertShow"
|
||||||
|
:title="'Dear '+ user_name + ' Congratulations! , The information will be hidden after ' + hideSec + ' seconds'"
|
||||||
|
type="success"
|
||||||
|
show-icon>
|
||||||
|
|
||||||
|
</el-alert>
|
||||||
|
<el-col class="mt20">
|
||||||
|
<p>Now your article has entered the pre-inclusion state, and the platform also needs you to improve the following content for the final publication of the article.</p>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<!-- 内容 -->
|
||||||
|
<el-row :gutter="20" class="content_box mt20">
|
||||||
|
<!-- 文章引用 -->
|
||||||
|
<el-col :class="['item', 'borderBottom', Ainfo.refer_state.state? 'passborder' : 'notPassborder']">
|
||||||
|
<h5 :class="['statusTop', Ainfo.refer_state.state? 'passStatus' : 'notPassStatus']">
|
||||||
|
<span v-if="Ainfo.refer_state.state" class="el-icon-check pass status"> Complete</span>
|
||||||
|
<span v-else class="el-icon-pie-chart notPass status"> Pending</span>
|
||||||
|
</h5>
|
||||||
|
<div class="con">
|
||||||
|
<h4>References </h4>
|
||||||
|
<p class="mt20">The references for this article have been compiled <i class="tip">{{Ainfo.refer_state.num}}</i> entries recorded in total.</p>
|
||||||
|
<!-- <p class="mt10"><img src="../../assets/img/icon_9.png" alt="" class="icon_img"> <el-link @click="goAddReferences(thisArtcleId)" type="primary" > Click here to edit</el-link> </p> -->
|
||||||
|
<p class="mt10"><el-button @click="goAddReferences(thisArtcleId)" icon="el-icon-edit" type="text">Edit</el-button></p>
|
||||||
|
</div>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<!-- 答疑 -->
|
||||||
|
<div class="mt20 helpcontent">
|
||||||
|
<div class="flexbox">
|
||||||
|
<span class="el-icon-info help"></span>
|
||||||
|
<div>
|
||||||
|
<h4>Any questions/Help</h4>
|
||||||
|
<p class="mt20">If you experience any problems, please contact us by publisher@tmrjournals.com</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
user_name: localStorage.getItem('U_relname'),
|
||||||
|
thisArtcleId: this.$route.query.id,
|
||||||
|
alertShow:true,
|
||||||
|
dingshi:null,
|
||||||
|
hideSec:5,
|
||||||
|
// 引用表单数据
|
||||||
|
ReferenceList:[],
|
||||||
|
Ainfo:{
|
||||||
|
refer_state:{
|
||||||
|
state:null,
|
||||||
|
num: null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getInfoStatu()
|
||||||
|
this.hideAlert()
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
// 跳转到引用编辑页面
|
||||||
|
goAddReferences(id){
|
||||||
|
this.$router.push({
|
||||||
|
path: 'ReferenceEditor',
|
||||||
|
query: {
|
||||||
|
id: id
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// 隐藏alert
|
||||||
|
hideAlert(){
|
||||||
|
this.dingshi = setInterval(()=>{
|
||||||
|
this.hideSec -= 1
|
||||||
|
// console.log(this.hideSec)
|
||||||
|
if(this.hideSec == 0){
|
||||||
|
this.alertShow = false
|
||||||
|
clearInterval(this.dingshi)
|
||||||
|
}
|
||||||
|
},1000)
|
||||||
|
|
||||||
|
},
|
||||||
|
// 获取资料状态
|
||||||
|
getInfoStatu(){
|
||||||
|
this.$api
|
||||||
|
.post('/api/Article/getPreacceptStatus', {
|
||||||
|
'article_id': this.$route.query.id
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if(res.code == 0){
|
||||||
|
// console.log(res, 'res')
|
||||||
|
this.Ainfo = {
|
||||||
|
refer_state:{
|
||||||
|
state: res.data.refer_state.state,
|
||||||
|
num:res.data.refer_state.num
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.tip{background: #e6effb; padding: 4px; font-style: normal; border-radius:10px ;}
|
||||||
|
.passborder{border:1px solid #f0f9eb;}
|
||||||
|
.notPassborder{border:1px solid #fdf6ec;}
|
||||||
|
.con{padding: 20px;}
|
||||||
|
.statusTop{height:30px;}
|
||||||
|
.borderBottom{ border-bottom:1px solid #f1f1f1; margin-bottom: 20px; }
|
||||||
|
.help{font-size: 22px; margin-right: 10px;}
|
||||||
|
.el-alert__title{font-size: 26px;}
|
||||||
|
.mt20{margin-top: 20px;}
|
||||||
|
/* .content_box{padding:15px 10px; border:3px dashed #eff6ff; } */
|
||||||
|
.content_box .item{padding: 0 !important; border-radius: 20px 20px 0 0; overflow: hidden;}
|
||||||
|
.passStatus{ background: #f0f9eb;}
|
||||||
|
.notPassStatus{background: #fdf6ec;}
|
||||||
|
.content_box .item .status{ font-size: 16px; padding:0 10px; line-height: 30px; }
|
||||||
|
.content_box .item .status.pass{ color: #67c23a;}
|
||||||
|
.content_box .item .status.notPass{ color: #e6a23c;}
|
||||||
|
.flexbox{display: flex;}
|
||||||
|
p{color: #333;}
|
||||||
|
.mt10{margin-top: 10px;}
|
||||||
|
.more{font-weight: bold;}
|
||||||
|
.helpcontent{color: #888; margin-top: 150px; padding-top: 30px; border-top: 2px solid #f1f1f1;}
|
||||||
|
.helpcontent p{color: inherit; font-size: 12px;}
|
||||||
|
</style>
|
||||||
2767
src/components/page/PreIngestedEditor.vue
Normal file
2767
src/components/page/PreIngestedEditor.vue
Normal file
File diff suppressed because it is too large
Load Diff
736
src/components/page/ReferenceEditor.vue
Normal file
736
src/components/page/ReferenceEditor.vue
Normal file
@@ -0,0 +1,736 @@
|
|||||||
|
<template>
|
||||||
|
<div v-loading.fullscreen.lock="holeLoading">
|
||||||
|
<div class="container" v-loading="importIoading" element-loading-text="In the process of importing, please wait">
|
||||||
|
<div v-if="tableData.length == 0">
|
||||||
|
<!-- 没有引用时 -->
|
||||||
|
<!-- <div class="noneData">
|
||||||
|
<img src="../../assets/img/noneData.png" alt="" class="icon_img">
|
||||||
|
<p class="nodatatext">TMR did not identify an available article citation in your latest uploaded document</p>
|
||||||
|
</div> -->
|
||||||
|
<el-row :gutter="20">
|
||||||
|
<!-- 教程 -->
|
||||||
|
<el-col >
|
||||||
|
<div class=" whoDo mt20">
|
||||||
|
<div>
|
||||||
|
<h2>What should I do
|
||||||
|
<el-tooltip class="item" effect="light" content="click for more help" placement="right">
|
||||||
|
<span class="el-icon-warning-outline help" @click="showHelp"></span>
|
||||||
|
</el-tooltip>
|
||||||
|
</h2>
|
||||||
|
<p class="mt10 c666">you can add a citation in the following way.</p>
|
||||||
|
<ul>
|
||||||
|
<!-- 文件上传的形式 -->
|
||||||
|
<li>
|
||||||
|
<div class="mt20">
|
||||||
|
<h4>Add in bulk by uploading excel files
|
||||||
|
<!-- <el-button class="inlinebutton" type="primary" plain size="mini" @click="showUpload">Add</el-button> -->
|
||||||
|
</h4>
|
||||||
|
<p class="mt10 c666">Before uploading the file, you need to download the template file,
|
||||||
|
<a href="https://submission.tmrjournals.com/public/system/refer.xlsx" download="refer" target="_blank" class="downloadbtn" >click download</a>
|
||||||
|
,to add your references to the template file, and upload it.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<div v-if="uploadVisible">
|
||||||
|
<div class="uploadBox">
|
||||||
|
<el-upload ref="uploadFile" class="upload-demo up_newstyle mt10" :action="upload_manuscirpt"
|
||||||
|
accept=".xlsx" name="referFile" :before-upload="beforeupload_manuscirpt"
|
||||||
|
:on-error="uperr_coverLetter" :on-success="upSuccess_manuscirpt" :limit="1"
|
||||||
|
:on-exceed="alertlimit"
|
||||||
|
:on-remove="removefilemanuscirpt"
|
||||||
|
:file-list="fileL_manuscirpt"
|
||||||
|
>
|
||||||
|
<div class="el-upload__text" @click="clearUploadedFile">
|
||||||
|
<em>Upload</em>
|
||||||
|
</div>
|
||||||
|
</el-upload>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<!-- 文本域 -->
|
||||||
|
<!-- <li>
|
||||||
|
<div class="mt20">
|
||||||
|
<h4>Add in bulk by text field <el-button @click="addText" class="inlinebutton" type="primary" plain size="mini">Add</el-button></h4>
|
||||||
|
<div v-if="textareaVisible">
|
||||||
|
<el-input class="textarea mt10"
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
placeholder="Put your reference entry here"
|
||||||
|
v-model="textarea">
|
||||||
|
</el-input>
|
||||||
|
<el-button class="mt10" icon="el-icon-check" type="primary" size="mini" @click="importText()">Import</el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li> -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
<!-- 有引用数据-->
|
||||||
|
<div v-else>
|
||||||
|
<div class="topInfo">
|
||||||
|
<h3>Dear {{user_name}}</h3>
|
||||||
|
<p class="mt10">Please check and modify the reference’s information on this page with the following instructions:</p>
|
||||||
|
<ul class="mt20">
|
||||||
|
<li>
|
||||||
|
<p>- Please modify the reference in the
|
||||||
|
<span class="status warn float" ><i class="el-icon-warning-outline"></i></span>
|
||||||
|
status, moving the reference information from <span class="status warn float" ><i class="el-icon-warning-outline"></i></span>
|
||||||
|
status to <span class="status ok float" ><i class="el-icon-circle-check"></i></span> status.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>- If you find the number of reference is disorder for technical reason, please click the
|
||||||
|
<el-button type="warning" size="mini" plain>↑</el-button>
|
||||||
|
and
|
||||||
|
<el-button type="warning" size="mini" plain>↓</el-button> behind each piece of information to adjust the order of the data.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>- Please click <el-button type="success" size="mini" plain>Add</el-button> to add another line of reference information after this row. </p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>- 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>.</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="refenceCentent mt20">
|
||||||
|
<el-table :data="tableData" ref="multipleTable"
|
||||||
|
empty-text="New messages (0)" :show-header="false" :stripe="false" :highlight-current-row="false">
|
||||||
|
<!-- <el-table-column type="index" label="No." width="55" align="center"></el-table-column> -->
|
||||||
|
<el-table-column label="state" width="55" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span class="status ok" v-if="scope.row.refer_doi != '' && scope.row.author != ''" >
|
||||||
|
<i class="el-icon-circle-check"></i>
|
||||||
|
</span>
|
||||||
|
<span class="status warn" v-else >
|
||||||
|
<i class="el-icon-warning-outline"></i>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="Title" align="left">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div style="text-align: left;" v-if="scope.row.refer_doi != '' && scope.row.author != ''">
|
||||||
|
<p>{{scope.row.author}},{{scope.row.title}}, <em>{{scope.row.joura}}</em> ,{{scope.row.dateno}}<br/></p>
|
||||||
|
<a class="doiLink" :href="scope.row.doilink" target="_blank">{{scope.row.doilink}}</a>
|
||||||
|
</div>
|
||||||
|
<p class="wrongLine" style="text-align: left;" v-else>
|
||||||
|
{{scope.row.refer_content}}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" width="360">
|
||||||
|
<div slot-scope="scope">
|
||||||
|
<el-button style="margin-left:10px;" @click="change(scope.row,'Edit')" plain type="primary" size="mini" icon="el-icon-edit">edit</el-button>
|
||||||
|
<el-tooltip popper-class="tps" class="item" effect="light" content="Add one under this line" placement="top">
|
||||||
|
<el-button @click="addLine(scope.row, 'Add')" type="success" size="mini" plain>Add</el-button>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-button type="warning" size="mini" plain :disabled="scope.$index != 0 ? false : true" @click="changeOrder(scope.row,'up')">↑</el-button>
|
||||||
|
<el-button type="warning" size="mini" plain :disabled="scope.$index == tableData.length-1 ? true : false" @click="changeOrder(scope.row,'down')">↓</el-button>
|
||||||
|
<el-button type="danger" icon="el-icon-delete" size="mini" style="float: right;" plain @click="deleteLine(scope.row)">delete</el-button>
|
||||||
|
</div>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 修改引用 -->
|
||||||
|
<el-dialog v-loading="addLoading" :title= "dialogTitle + ' References'" :visible.sync="editboxVisible" width="500px" @close="cancelSave">
|
||||||
|
<p class="yinyongPre c888">现在您可以添加或者修改您的引用文献信息,如果您有引用文献的Doi数据,可以直接复制到Doi输入框,并提交,系统会自动识别您的引用文献,如果您没有Doi数据,也可以打开“Show Content”开关,直接填写您的引用文献内容。</p>
|
||||||
|
<p v-if="dialogTitle == 'Add'">There is no Doi data: <el-switch v-model="contentVisible"></el-switch></p>
|
||||||
|
<el-form v-show="!contentVisible" :model="refenceForm" :rules="refenceFormrules" ref="refenceForm" label-width="80px" class="editForm mt10">
|
||||||
|
<!-- 内容开关 -->
|
||||||
|
<el-form-item label="Doi:" required prop="refer_doi" >
|
||||||
|
<el-input v-model="refenceForm.refer_doi" ></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<el-form v-show="contentVisible" :model="refenceLinkForm" :rules="refenceLinkFormrules" ref="refenceLinkForm" label-width="80px" class="editForm mt10">
|
||||||
|
<!-- 内容开关 -->
|
||||||
|
<!-- <el-form-item label="There is no Doi data" label-width="160px">
|
||||||
|
<el-switch v-model="contentVisible"></el-switch>
|
||||||
|
</el-form-item> -->
|
||||||
|
<el-form-item label="author:" required prop="author" >
|
||||||
|
<el-input v-model="refenceLinkForm.author" placeholder="eg:Kagabu M, Nagasawa T, Fukagawa D, et al."></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="title:" required prop="title" >
|
||||||
|
<el-input v-model="refenceLinkForm.title" placeholder="eg:Immunotherapy for Uterine Cervical Cancer."></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="joura:" required prop="joura" >
|
||||||
|
<el-input v-model="refenceLinkForm.joura" placeholder="eg:Healthcare (Basel)."></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="dateno:" required prop="dateno" >
|
||||||
|
<el-input v-model="refenceLinkForm.dateno" placeholder="eg:2019 Sep 17;7(3):108."></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="doilink:" required prop="doilink" >
|
||||||
|
<el-input v-model="refenceLinkForm.doilink" placeholder="eg:https://doi.org/10.1002/cncr.30667"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="cancelSave">Cancel</el-button>
|
||||||
|
<el-button type="primary" @click="saveChange" v-if="dialogTitle == 'Edit'">Save</el-button>
|
||||||
|
<el-button type="primary" @click="saveAdd" v-else>Save</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
<!-- 帮助信息 -->
|
||||||
|
<el-dialog title="Any questions or Help" :visible.sync="helpVisible" width="500px">
|
||||||
|
<div>
|
||||||
|
<p class="mt20" style="line-height: 28px;">If you experience any problems, <br/>
|
||||||
|
please contact us by publisher@tmrjournals.com</p>
|
||||||
|
</div>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="helpVisible = false" type="primary">OK</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
<!-- 临时引用信息 -->
|
||||||
|
<el-dialog title="Reference List" :visible.sync="linVisible" width="800px">
|
||||||
|
<div class="refenceCentent mt20" v-if="Tempredable.length > 0">
|
||||||
|
<el-table :data="Tempredable" ref="tempredableTable" max-height="400px"
|
||||||
|
empty-text="New messages (0)" :show-header="false" :stripe="false" :highlight-current-row="false">
|
||||||
|
<el-table-column type="index" label="No." width="55" align="center"></el-table-column>
|
||||||
|
<el-table-column label="Title" align="left">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<p style="text-align: left;">
|
||||||
|
<!-- <el-badge is-dot :hidden="scope.row.author_act==1?false:true" class="item"> -->
|
||||||
|
{{scope.row.content}}<br/><el-link type="primary">{{scope.row.doi}}</el-link>
|
||||||
|
<!-- </el-badge> -->
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div class="shuoming mt20">
|
||||||
|
<p class="c888"><i class="el-icon-message-solid"></i> The above is the citation data identified according to your uploaded file, you can choose to import, or discard this data and upload again.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<span slot="footer" class="dialog-footer" >
|
||||||
|
<el-button @click="abandon">Abandon and Reimport</el-button>
|
||||||
|
<el-button type="primary" @click="importText">Import</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
user_name: localStorage.getItem('U_relname'),
|
||||||
|
holeLoading : false, // 进入页面的loading
|
||||||
|
importIoading: false,
|
||||||
|
baseUrl: this.Common.baseUrl,
|
||||||
|
addLoading:false,
|
||||||
|
contentVisible:false,
|
||||||
|
// 引用数据列表
|
||||||
|
tableData:[
|
||||||
|
],
|
||||||
|
// 临时引用列表
|
||||||
|
Tempredable:[
|
||||||
|
],
|
||||||
|
editboxVisible:false,
|
||||||
|
helpVisible:false,
|
||||||
|
uploadVisible:true,
|
||||||
|
linVisible:false,
|
||||||
|
textarea:'',
|
||||||
|
textareaVisible:false,
|
||||||
|
fileL_manuscirpt: [],
|
||||||
|
form: {
|
||||||
|
referFile: '',
|
||||||
|
},
|
||||||
|
// 引用表单
|
||||||
|
refenceForm:{
|
||||||
|
refer_doi:'',
|
||||||
|
p_refer_id:null, // 当前行一行的引用序号
|
||||||
|
},
|
||||||
|
refenceFormrules:{
|
||||||
|
refer_doi:[
|
||||||
|
{ required: true, message: 'The Doi cannot be empty', trigger: 'blur' },
|
||||||
|
]
|
||||||
|
},
|
||||||
|
// 引用表单
|
||||||
|
refenceLinkForm:{
|
||||||
|
author:'',
|
||||||
|
title:'',
|
||||||
|
joura:'',
|
||||||
|
dateno:'',
|
||||||
|
doilink:'',
|
||||||
|
pre_p_refer_id:null, // 当前行一行的引用序号,
|
||||||
|
article_id: null,
|
||||||
|
p_refer_id: null
|
||||||
|
},
|
||||||
|
refenceLinkFormrules:{
|
||||||
|
author:[
|
||||||
|
{ required: true, message: 'The author cannot be empty', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
title:[
|
||||||
|
{ required: true, message: 'The title cannot be empty', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
dateno:[
|
||||||
|
{ required: true, message: 'The dateno cannot be empty', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
doilink:[
|
||||||
|
{ required: true, message: 'The doilink cannot be empty', trigger: 'blur' },
|
||||||
|
]
|
||||||
|
},
|
||||||
|
dialogTitle:''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created(){
|
||||||
|
this.openFullScreen1()
|
||||||
|
this.getRefData()
|
||||||
|
this.holeLoading = true
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
// 全页面加载动画
|
||||||
|
openFullScreen1() {
|
||||||
|
this.holeLoading = true;
|
||||||
|
},
|
||||||
|
// 获取引用文献信息
|
||||||
|
getRefData(){
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/getArticleReferences',{'article_id': this.$route.query.id})
|
||||||
|
.then(res => {
|
||||||
|
console.log(res)
|
||||||
|
if(res.code == 0 && res.data.refers.length > 0){
|
||||||
|
this.tableData = res.data.refers
|
||||||
|
}
|
||||||
|
this.holeLoading = false
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 放弃导入数据
|
||||||
|
abandon(){
|
||||||
|
this.form.referFile = '';
|
||||||
|
this.fileL_manuscirpt = [];
|
||||||
|
this.linVisible = false;
|
||||||
|
this.Tempredable = []
|
||||||
|
},
|
||||||
|
// 显示帮助信息
|
||||||
|
showHelp(){
|
||||||
|
this.helpVisible = true
|
||||||
|
},
|
||||||
|
// 导入文本域
|
||||||
|
importText(){
|
||||||
|
this.linVisible = false
|
||||||
|
this.importIoading = true
|
||||||
|
//console.log(this.form.referFile,'referFile')
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/addRefersByExcel', {
|
||||||
|
'article_id' :this.$route.query.id,
|
||||||
|
'referFile' : this.form.referFile
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$message.success('Import succeeded')
|
||||||
|
this.linVisible = false
|
||||||
|
this.Tempredable = []
|
||||||
|
this.importIoading = false
|
||||||
|
// 有可以可用的文献数据,刷新当前页面
|
||||||
|
// location.reload() // 刷新本页面
|
||||||
|
this.getRefData()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
// 文本域添加
|
||||||
|
addText(){
|
||||||
|
this.textareaVisible = true
|
||||||
|
this.uploadVisible = false
|
||||||
|
},
|
||||||
|
showUpload(){
|
||||||
|
this.textareaVisible = false
|
||||||
|
this.uploadVisible = true
|
||||||
|
},
|
||||||
|
// 显示修改引用
|
||||||
|
change(row, optitle){
|
||||||
|
this.dialogTitle = optitle
|
||||||
|
this.editboxVisible = true
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if(row.is_web == 0){
|
||||||
|
// 有doi row.is_web: 00
|
||||||
|
this.refenceForm.refer_doi = row.refer_doi
|
||||||
|
this.refenceForm.p_refer_id = row.p_refer_id
|
||||||
|
}else{
|
||||||
|
// 无doi row.is_web: 1
|
||||||
|
this.contentVisible = true
|
||||||
|
this.refenceLinkForm.article_id = this.$route.query.id
|
||||||
|
this.refenceLinkForm.p_refer_id = row.p_refer_id
|
||||||
|
this.refenceLinkForm.author = row.author
|
||||||
|
this.refenceLinkForm.title = row.title
|
||||||
|
this.refenceLinkForm.joura = row.joura
|
||||||
|
this.refenceLinkForm.dateno = row.dateno
|
||||||
|
this.refenceLinkForm.doilink = row.doilink
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
// 取消保存
|
||||||
|
cancelSave(){
|
||||||
|
this.editboxVisible = false
|
||||||
|
// refenceForm
|
||||||
|
this.$refs['refenceForm'].clearValidate();
|
||||||
|
this.$refs['refenceForm'].resetFields();
|
||||||
|
|
||||||
|
this.$refs['refenceLinkForm'].clearValidate();
|
||||||
|
this.$refs['refenceLinkForm'].resetFields();
|
||||||
|
|
||||||
|
this.refenceForm.refer_doi = ''
|
||||||
|
this.dialogTitle = ''
|
||||||
|
},
|
||||||
|
|
||||||
|
// 编辑引用
|
||||||
|
saveChange(){
|
||||||
|
if(this.contentVisible){ // 无doi形式
|
||||||
|
this.editNoneDoi()
|
||||||
|
}else{
|
||||||
|
this.editHaveDoi()
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
// 编辑无doi
|
||||||
|
editNoneDoi(){
|
||||||
|
this.$refs.refenceLinkForm.validate((valid) => {
|
||||||
|
this.addLoading = true
|
||||||
|
if(valid){
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/editReferNotdoi', this.refenceLinkForm)
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.addLoading = false
|
||||||
|
this.$message.success('successed!')
|
||||||
|
this.cancelSave()
|
||||||
|
this.getRefData()
|
||||||
|
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
// 编辑有doi
|
||||||
|
editHaveDoi(){
|
||||||
|
this.$refs.refenceForm.validate((valid) => {
|
||||||
|
this.addLoading = true
|
||||||
|
if(valid){
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/editRefer', {
|
||||||
|
// 'article_id': this.$route.query.id,
|
||||||
|
'p_refer_id': this.refenceForm.p_refer_id,
|
||||||
|
'doi': this.refenceForm.refer_doi
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.addLoading = false
|
||||||
|
this.$message.success('successed!')
|
||||||
|
this.getRefData()
|
||||||
|
this.cancelSave()
|
||||||
|
}else if(res.code == 1){
|
||||||
|
this.addLoading = false
|
||||||
|
this.$message.error(res.msg)
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
}else{
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
// 保存新增
|
||||||
|
saveAdd(){
|
||||||
|
if(this.contentVisible){ // 无doi形式
|
||||||
|
this.$refs.refenceLinkForm.validate((valid) => {
|
||||||
|
if(valid){
|
||||||
|
this.addLoading = true
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/addReferNotdoi', this.refenceLinkForm)
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.addLoading = false
|
||||||
|
this.$message.success('successed!')
|
||||||
|
this.editboxVisible = false
|
||||||
|
this.getRefData()
|
||||||
|
this.cancelSave()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else{ // 有doi形式
|
||||||
|
this.$refs.refenceForm.validate((valid) => {
|
||||||
|
if(valid){
|
||||||
|
this.addLoading = true
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/addRefer', {
|
||||||
|
'article_id': this.$route.query.id,
|
||||||
|
'pre_p_refer_id': this.refenceForm.p_refer_id,
|
||||||
|
'doi': this.refenceForm.refer_doi
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.addLoading = false
|
||||||
|
this.$message.success('successed!')
|
||||||
|
this.getRefData()
|
||||||
|
this.cancelSave()
|
||||||
|
}else if(res.code == 1){
|
||||||
|
// doi 错误
|
||||||
|
this.addLoading = false
|
||||||
|
this.$message.error(res.msg)
|
||||||
|
// this.getRefData()
|
||||||
|
// this.cancelSave()
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
}else{
|
||||||
|
this.$message.error('error submit!!');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
beforeupload_manuscirpt(file) {
|
||||||
|
let flieArr = file.name.split(".")
|
||||||
|
let fileSuffix = flieArr[flieArr.length - 1];
|
||||||
|
console.log(fileSuffix)
|
||||||
|
|
||||||
|
// return false
|
||||||
|
if (fileSuffix != 'xlsx') {
|
||||||
|
this.$message.error('Only excel and compressed files can be uploaded(.xlsx)');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
// const ismau =
|
||||||
|
// file.type === 'application/msword' ||
|
||||||
|
// file.type === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ||
|
||||||
|
// file.type === 'application/x-zip-compressed' ||
|
||||||
|
// file.name.split('.')[1] === 'rar';
|
||||||
|
// if (!ismau) {
|
||||||
|
// this.$message.error('Only word and compressed files(.doc,.docx,.rar,.zip)');
|
||||||
|
// }
|
||||||
|
// return ismau;
|
||||||
|
},
|
||||||
|
uperr_coverLetter(err) {
|
||||||
|
this.$message.error('Upload error');
|
||||||
|
},
|
||||||
|
upSuccess_manuscirpt(res, file) {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.form.referFile = res.upurl;
|
||||||
|
this.fileL_manuscirpt = [{}];
|
||||||
|
this.fileL_manuscirpt[0].name = "referFile";
|
||||||
|
this.fileL_manuscirpt[0].url = res.upurl;
|
||||||
|
if(res.refers.length > 0){
|
||||||
|
this.Tempredable = res.refers
|
||||||
|
this.linVisible = true
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('service error: ' + res.msg);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//超出传送文件个数限制
|
||||||
|
alertlimit() {
|
||||||
|
this.$message.error('The maximum number of uploaded files has been exceeded');
|
||||||
|
},
|
||||||
|
removefilemanuscirpt(file, fileList) {
|
||||||
|
this.form.referFile = '';
|
||||||
|
this.fileL_manuscirpt = [];
|
||||||
|
this.$message.success('Deletion succeeded!');
|
||||||
|
// this.$api
|
||||||
|
// .post('api/Article/delArticleFile', {
|
||||||
|
// file_id: this.form.manuscirptId
|
||||||
|
// })
|
||||||
|
// .then((res) => {
|
||||||
|
// if (res.code == 0) {
|
||||||
|
// this.$message.success('Deletion succeeded!');
|
||||||
|
// } else {
|
||||||
|
// this.$message.error(res.msg);
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
},
|
||||||
|
clearUploadedFile() {
|
||||||
|
this.$refs['uploadFile'].clearFiles();
|
||||||
|
},
|
||||||
|
// 清空引用文献
|
||||||
|
removeAll(){
|
||||||
|
this.$confirm('Are you sure you want to empty the reference?', 'Tips', {
|
||||||
|
confirmButtonText: 'Sure',
|
||||||
|
cancelButtonText: 'Cancel',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(()=>{
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/discardRefers', {
|
||||||
|
'article_id': this.$route.query.id
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$message.success('success!')
|
||||||
|
location.reload() // 刷新本页面
|
||||||
|
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
}).catch(()=>{})
|
||||||
|
},
|
||||||
|
// 添加一行
|
||||||
|
addLine(row, optitle){
|
||||||
|
//console.log(row)
|
||||||
|
this.dialogTitle = optitle
|
||||||
|
// this.$refs['refenceForm'].clearValidate()
|
||||||
|
this.editboxVisible = true
|
||||||
|
this.refenceForm.p_refer_id = row.p_refer_id
|
||||||
|
|
||||||
|
this.refenceLinkForm.pre_p_refer_id = row.p_refer_id
|
||||||
|
this.refenceLinkForm.article_id = this.$route.query.id
|
||||||
|
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.$refs['refenceForm'].clearValidate(['refer_doi']);
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
// 删除一行
|
||||||
|
deleteLine(row){
|
||||||
|
this.$confirm('Are you sure you want to remove this reference?', 'Tips', {
|
||||||
|
confirmButtonText: 'Sure',
|
||||||
|
cancelButtonText: 'Cancel',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/delRefer', {
|
||||||
|
'p_refer_id': row.p_refer_id
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$message.success('remove successed!')
|
||||||
|
this.getRefData()
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
}).catch(() => {
|
||||||
|
// this.$message({
|
||||||
|
// type: 'info',
|
||||||
|
// message: '已取消删除'
|
||||||
|
// });
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// 调整顺序
|
||||||
|
changeOrder(row, opName){
|
||||||
|
let optitle = ''
|
||||||
|
opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?'
|
||||||
|
this.$confirm(optitle, 'Tips', {
|
||||||
|
confirmButtonText: 'Sure',
|
||||||
|
cancelButtonText: 'Cancel',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
|
this.$api
|
||||||
|
.post('api/Preaccept/sortRefer', {
|
||||||
|
'p_refer_id': row.p_refer_id,
|
||||||
|
'act': opName
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$message.success('successed!')
|
||||||
|
this.getRefData()
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.$message.error(err);
|
||||||
|
});
|
||||||
|
// this.$message({
|
||||||
|
// type: 'success',
|
||||||
|
// message: 'remove successed!'
|
||||||
|
// });
|
||||||
|
}).catch(()=>{});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
upload_manuscirpt: function() {
|
||||||
|
// return this.baseUrl + 'api/Article/up_file/type/manuscirpt';
|
||||||
|
return this.baseUrl + 'api/Preaccept/up_refer_file';
|
||||||
|
},
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
contentVisible: {
|
||||||
|
handler(newVal, oldVal) {
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.$refs['refenceLinkForm'].clearValidate()
|
||||||
|
this.$refs['refenceForm'].clearValidate()
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// immediate: true,
|
||||||
|
deep: true // 可以深度检测到 person 对象的属性值的变化
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.tip{background: #e6effb; padding: 2px; font-style: normal; border-radius:10px ;}
|
||||||
|
.wrongLine{ color: #f15f44;}
|
||||||
|
.doiLink{color: #409EFF;}
|
||||||
|
.editForm{background-color:#f9f9f9; padding: 20px 0; padding-right: 20px;}
|
||||||
|
.yinyongPre{line-height: 28px; margin-bottom: 20px;}
|
||||||
|
.shuoming{font-size: 14px; line-height: 26px; }
|
||||||
|
.shuoming i{color: #F5BF6D;}
|
||||||
|
.status{ display: block; width: 40px; height: 40px; border-radius: 40px; font-size: 22px; line-height: 40px; color: #fff; text-align: center;}
|
||||||
|
.status.ok{background: #a7e389;}
|
||||||
|
.status.warn{background: #ffd192;}
|
||||||
|
.status.float{display: inline-block;}
|
||||||
|
.topInfo{padding: 20px; }
|
||||||
|
.topInfo ul{padding-left: 30px;}
|
||||||
|
.topInfo ul li{margin-top: 10px;}
|
||||||
|
.downloadbtn{font-weight: bold; color: #409EFF !important;}
|
||||||
|
.uploadBox{width: 400px;}
|
||||||
|
.el-upload__text{width: 80px; height: 80px; text-align: center; line-height: 80px;}
|
||||||
|
.help{font-size: 18px; color: #F5BF6D; cursor: pointer;}
|
||||||
|
.el-alert__title{font-size: 26px;}
|
||||||
|
.mt20{margin-top: 20px;}
|
||||||
|
.content_box{padding:15px 10px; border:3px dashed #eff6ff; }
|
||||||
|
.flexbox{display: flex;}
|
||||||
|
p{color: #333; font-size: 14px;}
|
||||||
|
.mt10{margin-top: 10px;}
|
||||||
|
.more{font-weight: bold;}
|
||||||
|
.noneData{ margin:30px 0; padding: 20px; border:3px dashed #F8F8F8; }
|
||||||
|
.noneData img{display: block; margin: 10px auto; opacity: .5; width: 100px;}
|
||||||
|
.nodatatext{color: #666; text-align: center;}
|
||||||
|
.inlinebutton{}
|
||||||
|
.whoDo{background: #EEF7F9; padding: 30px;}
|
||||||
|
|
||||||
|
.whoDo ul{padding-left: 20px;}
|
||||||
|
.helpcontent{color: #888; margin-top: 150px;}
|
||||||
|
.helpcontent p{color: inherit; font-size: 12px;}
|
||||||
|
.c666{color: #666;}
|
||||||
|
.c888{color: #888;}
|
||||||
|
|
||||||
|
/deep/ .el-table tr:nth-child(2n){
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div >
|
||||||
<div class="crumbs">
|
<div class="crumbs">
|
||||||
<el-breadcrumb separator="/">
|
<el-breadcrumb separator="/">
|
||||||
<el-breadcrumb-item>
|
<el-breadcrumb-item>
|
||||||
@@ -92,6 +92,14 @@
|
|||||||
<span @click="esy_deta(item.article_id)">
|
<span @click="esy_deta(item.article_id)">
|
||||||
<i class="el-icon-paperclip"></i>My Manuscript
|
<i class="el-icon-paperclip"></i>My Manuscript
|
||||||
</span>
|
</span>
|
||||||
|
<span v-if="item.state == 6" style="text-decoration: none;">
|
||||||
|
<font> | </font>
|
||||||
|
<span @click="goPre_ingested(item.article_id)" class="preButton">
|
||||||
|
<!-- <el-badge is-dot class="item" > -->
|
||||||
|
<i class="el-icon-edit"></i>Complete the profile
|
||||||
|
<!-- </el-badge> -->
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -435,7 +443,16 @@
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
},
|
},
|
||||||
|
// 显示预收录页面
|
||||||
|
goPre_ingested(id){
|
||||||
|
this.$router.push({
|
||||||
|
path: 'PreIngested',
|
||||||
|
query: {
|
||||||
|
id: id
|
||||||
|
// id: 3070
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
// 点击稿件进程
|
// 点击稿件进程
|
||||||
esy_mtps(e) {
|
esy_mtps(e) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
@@ -720,6 +737,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.preButton{ display: inline-block; position: relative; }
|
||||||
|
/* .preButton:after{content: ''; display: block; width: 6px; height: 6px; background: #ff0000; position: absolute; right: 0; top: -5px; border-radius: 6px;} */
|
||||||
|
.preButton:hover{text-decoration:underline !important;}
|
||||||
.container {
|
.container {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<el-button type="primary" icon="el-icon-search" @click="handleSearch" style="margin:0 0 10px 0;">Search
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch" style="margin:0 0 10px 0;">Search
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="!PreAcpVisible" >
|
||||||
<div v-for="(item,ikgn) in tableData" class="mangu_list">
|
<div v-for="(item,ikgn) in tableData" class="mangu_list">
|
||||||
<div>
|
<div>
|
||||||
<font style="color: #666b7a;">ID : </font>
|
<font style="color: #666b7a;">ID : </font>
|
||||||
@@ -305,8 +305,39 @@
|
|||||||
<i class="el-icon-edit"></i> Change
|
<i class="el-icon-edit"></i> Change
|
||||||
</b>
|
</b>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 预接收表 -->
|
||||||
|
<el-table v-if="PreAcpVisible" :data="tableData" border stripe class="table" ref="multipleTable"
|
||||||
|
header-cell-class-name="table-header" empty-text="New messages (0)">
|
||||||
|
<el-table-column type="index" label="No." width="55" align="center"></el-table-column>
|
||||||
|
<el-table-column width="160" label="Doi" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<p style="margin-bottom: 5px;">
|
||||||
|
{{scope.row.doi}}
|
||||||
|
</p>
|
||||||
|
<el-button size="mini" type="primary" plain icon="el-icon-tickets"
|
||||||
|
@click="showdetaileditor(scope.row)">Detail</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="accept_sn" label="SN" width="180px"></el-table-column>
|
||||||
|
<el-table-column prop="" label="Title">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<p v-if="scope.row.title==''">
|
||||||
|
Article{{scope.row.p_article_id}}
|
||||||
|
</p>
|
||||||
|
<p else>
|
||||||
|
{{scope.row.title}}
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label=" " align="center" width="200px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button @click="changeEnter(scope.row)" size="mini" type="primary" plain
|
||||||
|
icon="el-icon-edit">Edit</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
<!-- <el-table :data="tableData" border stripe class="table" ref="multipleTable"
|
<!-- <el-table :data="tableData" border stripe class="table" ref="multipleTable"
|
||||||
header-cell-class-name="table-header" empty-text="New messages (0)">
|
header-cell-class-name="table-header" empty-text="New messages (0)">
|
||||||
@@ -538,7 +569,7 @@
|
|||||||
<el-option :key="3" label="Reject" :value="3"></el-option>
|
<el-option :key="3" label="Reject" :value="3"></el-option>
|
||||||
<el-option :key="4" label="Revision" :value="4"></el-option>
|
<el-option :key="4" label="Revision" :value="4"></el-option>
|
||||||
<el-option :key="6" label="Pre-accept" :value="6"></el-option>
|
<el-option :key="6" label="Pre-accept" :value="6"></el-option>
|
||||||
<el-option :key="5" label="Accept" :value="5"></el-option>
|
<el-option :key="5" label="Accept" :value="5" :disabled="curState == 6 ? false : true"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="Comments for authors :" v-show="editform.state==4">
|
<el-form-item label="Comments for authors :" v-show="editform.state==4">
|
||||||
@@ -554,7 +585,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="editVisible = false">Cancel</el-button>
|
<el-button @click="editVisible = false; curState = null">Cancel</el-button>
|
||||||
<el-button type="primary" @click="saveEdit">Save</el-button>
|
<el-button type="primary" @click="saveEdit">Save</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -786,6 +817,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
curState:null,
|
||||||
baseUrl: this.Common.baseUrl,
|
baseUrl: this.Common.baseUrl,
|
||||||
mediaUrl: this.Common.mediaUrl,
|
mediaUrl: this.Common.mediaUrl,
|
||||||
items: '',
|
items: '',
|
||||||
@@ -811,16 +843,23 @@
|
|||||||
state: 2
|
state: 2
|
||||||
}, {
|
}, {
|
||||||
state: 4
|
state: 4
|
||||||
}, {
|
},
|
||||||
state: 3
|
{
|
||||||
}, {
|
state: 6
|
||||||
|
},
|
||||||
|
{
|
||||||
state: 5
|
state: 5
|
||||||
}],
|
},
|
||||||
|
{
|
||||||
|
state: 3
|
||||||
|
},
|
||||||
|
],
|
||||||
Total: 0,
|
Total: 0,
|
||||||
geogleList: [],
|
geogleList: [],
|
||||||
IndexForm: {},
|
IndexForm: {},
|
||||||
editVisible: false,
|
editVisible: false,
|
||||||
guestVisible: false,
|
guestVisible: false,
|
||||||
|
PreAcpVisible:false,
|
||||||
editbox: false,
|
editbox: false,
|
||||||
repebox: false,
|
repebox: false,
|
||||||
aiSorbox: false,
|
aiSorbox: false,
|
||||||
@@ -927,6 +966,11 @@
|
|||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 跳入预收录编辑页面
|
||||||
|
changeEnter(val) {
|
||||||
|
console.log(val,'val')
|
||||||
|
this.$router.push({name: 'PreIngestedEditor', query: {id: val.article_id, uid:val.user_id}})
|
||||||
|
},
|
||||||
// 改变期刊
|
// 改变期刊
|
||||||
chageJour() {
|
chageJour() {
|
||||||
this.$api
|
this.$api
|
||||||
@@ -956,6 +1000,7 @@
|
|||||||
},
|
},
|
||||||
// 获取数据
|
// 获取数据
|
||||||
getdate() {
|
getdate() {
|
||||||
|
this.query.state == 6 ? this.PreAcpVisible = true : this.PreAcpVisible = false
|
||||||
const loading = this.$loading({
|
const loading = this.$loading({
|
||||||
lock: true,
|
lock: true,
|
||||||
text: 'Loading...',
|
text: 'Loading...',
|
||||||
@@ -1068,6 +1113,8 @@
|
|||||||
},
|
},
|
||||||
// 修改文章状态弹出框
|
// 修改文章状态弹出框
|
||||||
testvis(e) {
|
testvis(e) {
|
||||||
|
// console.log(e,'e')
|
||||||
|
this.curState = e.state
|
||||||
this.editVisible = true;
|
this.editVisible = true;
|
||||||
this.editform.title = e.title;
|
this.editform.title = e.title;
|
||||||
this.editform.articleId = e.article_id;
|
this.editform.articleId = e.article_id;
|
||||||
@@ -1076,6 +1123,7 @@
|
|||||||
this.editform.state_old = e.state;
|
this.editform.state_old = e.state;
|
||||||
this.editform.editormsg = '';
|
this.editform.editormsg = '';
|
||||||
this.editform.proposal_content = '';
|
this.editform.proposal_content = '';
|
||||||
|
|
||||||
this.$api
|
this.$api
|
||||||
.post('api/Article/getArticleDetail', {
|
.post('api/Article/getArticleDetail', {
|
||||||
articleId: e.article_id,
|
articleId: e.article_id,
|
||||||
@@ -1199,14 +1247,22 @@
|
|||||||
},
|
},
|
||||||
//修改文章状态
|
//修改文章状态
|
||||||
saveEdit() {
|
saveEdit() {
|
||||||
|
const loading33 = this.$loading({
|
||||||
|
lock: true,
|
||||||
|
text: 'Loading...',
|
||||||
|
spinner: 'el-icon-loading',
|
||||||
|
background: 'rgba(0, 0, 0, 0.7)'
|
||||||
|
});
|
||||||
this.$api
|
this.$api
|
||||||
.post('api/Article/editArticleEditor', this.editform)
|
.post('api/Article/editArticleEditor', this.editform)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
loading33.close()
|
||||||
this.$message.success('success');
|
this.$message.success('success');
|
||||||
this.editVisible = false;
|
this.editVisible = false;
|
||||||
this.getdate();
|
this.getdate();
|
||||||
} else {
|
} else {
|
||||||
|
loading33.close()
|
||||||
this.$message.error(res.msg);
|
this.$message.error(res.msg);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -85,10 +85,15 @@
|
|||||||
.post('api/Article/pushArticleDialog', this.msgform)
|
.post('api/Article/pushArticleDialog', this.msgform)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.$message.success('Sent successfully');
|
// this.$message.success('Sent successfully');
|
||||||
this.$router.go(0);
|
this.$emit('talksave',true) // 传递成功信号
|
||||||
|
// setTimeout(()=>{
|
||||||
|
// this.$router.go(0);
|
||||||
|
// },1000)
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="login-wrap">
|
<div class="login-wrap">
|
||||||
<p class="yuju">
|
<!-- <p class="yuju">
|
||||||
You are almost done.
|
You are almost done.
|
||||||
<br>
|
<br>
|
||||||
Please click on the link sent to your email inbox to complete your registration.
|
Please click on the link sent to your email inbox to complete your registration.
|
||||||
|
</p> -->
|
||||||
|
<p class="yuju">
|
||||||
|
Congratulations!
|
||||||
|
<br>
|
||||||
|
Your account registration has been successfully completed. Please log in by <a @click="tologin" type="text">clicking here</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -20,7 +25,11 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
tologin(){
|
||||||
|
this.$router.push({
|
||||||
|
path:'/login'
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@@ -44,4 +53,5 @@
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
.yuju>a{color: #66b1ff; cursor: pointer;}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -788,7 +788,7 @@ export default new Router({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/partyListPot', //用户列表-待开发
|
path: '/partyListPot', //用户列表-待开发(灰库)
|
||||||
component: () => import('../components/page/partyListPot'),
|
component: () => import('../components/page/partyListPot'),
|
||||||
meta: {
|
meta: {
|
||||||
title: 'Potential Users'
|
title: 'Potential Users'
|
||||||
@@ -885,6 +885,29 @@ export default new Router({
|
|||||||
title: 'Rejected Manuscripts'
|
title: 'Rejected Manuscripts'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/PreIngested', //预收录-完善资料页面
|
||||||
|
component: () => import('../components/page/Complete_profile'),
|
||||||
|
meta: {
|
||||||
|
title: 'Pre-ingested'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/ReferenceEditor', //用户端预收录-引用编辑
|
||||||
|
component: () => import('../components/page/ReferenceEditor'),
|
||||||
|
meta: {
|
||||||
|
title: 'ReferenceEditor'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name:'PreIngestedEditor',
|
||||||
|
path: '/PreIngestedEditor', // 编辑端 - 预收录编辑页面
|
||||||
|
component: () => import('../components/page/PreIngestedEditor'),
|
||||||
|
meta: {
|
||||||
|
|
||||||
|
title: 'PreIngestedEditor'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/404',
|
path: '/404',
|
||||||
component: () => import( /* webpackChunkName: "404" */
|
component: () => import( /* webpackChunkName: "404" */
|
||||||
|
|||||||
Reference in New Issue
Block a user