tijiao
This commit is contained in:
@@ -143,7 +143,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="refenceCentent mt20">
|
<div class="refenceCentent mt20">
|
||||||
<span @click="deleteSomeRefs">删除</span>
|
<span @click="deleteSomeRefs">删除</span>
|
||||||
<el-table
|
<div style="display: flex;align-items: center;justify-content: space-between;">
|
||||||
|
<el-table style="width: 50%"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:row-style="tableRowStyle"
|
:row-style="tableRowStyle"
|
||||||
@@ -250,6 +251,115 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<el-table style="width: 50%"
|
||||||
|
:data="TempredableNew"
|
||||||
|
ref="multipleTable"
|
||||||
|
:row-style="tableRowStyle"
|
||||||
|
empty-text="New messages (0)"
|
||||||
|
:show-header="false"
|
||||||
|
:stripe="false"
|
||||||
|
:highlight-current-row="false"
|
||||||
|
>
|
||||||
|
<el-table-column type="index" label="No." width="60" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tooltip class="item" effect="dark" content="Duplicate references" placement="top">
|
||||||
|
<img
|
||||||
|
src="../../assets/img/repeat.png"
|
||||||
|
v-if="scope.row.is_repeat == 1"
|
||||||
|
alt=""
|
||||||
|
style="width: 24px; height: 24px; float: left"
|
||||||
|
/>
|
||||||
|
</el-tooltip>
|
||||||
|
<span>{{ scope.$index + 1 }}</span>
|
||||||
|
</template>
|
||||||
|
</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_type == 'journal' && scope.row.doilink != '') ||
|
||||||
|
(scope.row.refer_type == 'book' && scope.row.isbn != '')
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<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">
|
||||||
|
<!-- journal 形式 -->
|
||||||
|
<div style="text-align: left" v-if="scope.row.refer_type == 'journal'">
|
||||||
|
<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>
|
||||||
|
<!-- book 形式 -->
|
||||||
|
<div style="text-align: left" v-if="scope.row.refer_type == 'book'">
|
||||||
|
<p>{{ scope.row.author }} {{ scope.row.title }}. {{ scope.row.dateno }}. <br /></p>
|
||||||
|
<a class="doiLink" :href="scope.row.isbn" target="_blank">{{ scope.row.isbn }}</a>
|
||||||
|
</div>
|
||||||
|
<!-- other 形式 -->
|
||||||
|
<p class="wrongLine" style="text-align: left" v-if="scope.row.refer_type == 'other'">
|
||||||
|
{{ scope.row.refer_frag }}
|
||||||
|
</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>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -351,25 +461,6 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
<!-- <el-form :model="refenceLinkForm" :rules="refenceLinkFormrules" ref="refenceLinkForm" label-width="80px" class="editForm mt10">
|
|
||||||
<el-form-item label="Author(s):" required prop="author" >
|
|
||||||
<el-input v-model="refenceLinkForm.author" placeholder=""></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<span>Six or less authors are required to list all authors while more than six authors are required to list three of them with “et al”</span>
|
|
||||||
<el-form-item label="title:" required prop="title" >
|
|
||||||
<el-input v-model="refenceLinkForm.title" placeholder="eg: Tradit Med Res"></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="Source:" required prop="joura" >
|
|
||||||
<el-input v-model="refenceLinkForm.joura" placeholder="eg:Healthcare (Basel)."></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="Publication Details:" required prop="dateno" >
|
|
||||||
<el-input v-model="refenceLinkForm.dateno" placeholder="eg: 2023;8(9):49-62"></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<span>Year;Volume(issue):Inclusive page numbers.</span>
|
|
||||||
<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">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancelSave">Cancel</el-button>
|
<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="saveChange" v-if="dialogTitle == 'Edit'">Save</el-button>
|
||||||
@@ -462,6 +553,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
TempredableNew: [],
|
||||||
uploadTimer: null,//调取进度条的轮询定时器
|
uploadTimer: null,//调取进度条的轮询定时器
|
||||||
isUpload: false,//文件是否上传中
|
isUpload: false,//文件是否上传中
|
||||||
progressPercent: 0,//进度条当前进度
|
progressPercent: 0,//进度条当前进度
|
||||||
@@ -577,7 +669,7 @@ export default {
|
|||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
if(res.status==1){
|
if(res.status==1){
|
||||||
progress = Number(res.data.processed_total);
|
progress = Number(res.data.processed_total);
|
||||||
this.Tempredable=res.data.refer;
|
this.TempredableNew=res.data.refer;
|
||||||
}
|
}
|
||||||
//percent是后端返回的进度
|
//percent是后端返回的进度
|
||||||
|
|
||||||
@@ -694,7 +786,7 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
this.linVisible=false;
|
||||||
this.parseVisible = true;
|
this.parseVisible = true;
|
||||||
this.isUpload=true
|
this.isUpload=true
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default {
|
|||||||
alertShow: true,
|
alertShow: true,
|
||||||
urlList: {
|
urlList: {
|
||||||
detail: 'api/Preaccept/getPreacceptPayment',
|
detail: 'api/Preaccept/getPreacceptPayment',
|
||||||
createdOrder: 'api/Order/creatArticleOrder'
|
|
||||||
},
|
},
|
||||||
articleInfo: {},
|
articleInfo: {},
|
||||||
journalInfo: {},
|
journalInfo: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user