Merge branch 'master' of https://gitee.com/wjl2008_admin/tougao_web into pay
This commit is contained in:
@@ -410,6 +410,10 @@
|
|||||||
<el-table-column type="index" align="center" width="50"> </el-table-column>
|
<el-table-column type="index" align="center" width="50"> </el-table-column>
|
||||||
<el-table-column label="CONTENT" align="center">
|
<el-table-column label="CONTENT" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<p class="wrongLine" style="text-align: left" v-if="scope.row.author == ''">
|
||||||
|
{{ scope.row.refer_frag }}
|
||||||
|
</p>
|
||||||
|
<div v-else>
|
||||||
<div style="text-align: left" v-if="scope.row.refer_type == 'journal'">
|
<div style="text-align: left" v-if="scope.row.refer_type == 'journal'">
|
||||||
<p>
|
<p>
|
||||||
{{ scope.row.author }},{{ scope.row.title }}, <em>{{ scope.row.joura }}</em> ,{{
|
{{ scope.row.author }},{{ scope.row.title }}, <em>{{ scope.row.joura }}</em> ,{{
|
||||||
@@ -422,10 +426,8 @@
|
|||||||
<p>{{ scope.row.author }},{{ scope.row.title }},{{ scope.row.dateno }}<br /></p>
|
<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>
|
<a class="doiLink" :href="scope.row.isbn" target="_blank">{{ scope.row.isbn }}</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="wrongLine" style="text-align: left" v-if="scope.row.refer_type == 'other'">
|
</div>
|
||||||
{{ scope.row.refer_frag }}
|
</template>
|
||||||
</p>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,27 +1,24 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<!-- Html排版 -->
|
||||||
|
<el-dialog title="HTML layout" :visible.sync="HtmlVisible" width="900px" :close-on-click-modal="false" @close="CancelHtml">
|
||||||
|
<div style="margin: 0 0 0 10px" class="htmlfile">
|
||||||
<!-- Html排版 -->
|
<h3
|
||||||
<el-dialog title="HTML layout" :visible.sync="HtmlVisible" width="900px" :close-on-click-modal="false" @close="CancelHtml">
|
style="font-size: 16px; margin-bottom: 25px; line-height: 22px; letter-spacing: -0.5px; word-break: break-word"
|
||||||
<div style="margin: 0 0 0 10px" class="htmlfile">
|
v-html="UpHtpFIle.title"
|
||||||
<h3
|
></h3>
|
||||||
style="font-size: 16px; margin-bottom: 25px; line-height: 22px; letter-spacing: -0.5px; word-break: break-word"
|
<div target="_blank" v-if="UpHtpFIle.htmlfile == ''">
|
||||||
v-html="UpHtpFIle.title"
|
<font style="font-size: 16px">Html File :</font>
|
||||||
></h3>
|
<span style="color: rgb(102, 102, 102); margin-left: 15px">No Manuscript</span>
|
||||||
<div target="_blank" v-if="UpHtpFIle.htmlfile == ''">
|
</div>
|
||||||
<font style="font-size: 16px">Html File :</font>
|
<div target="_blank" v-if="UpHtpFIle.htmlfile != ''">
|
||||||
<span style="color: rgb(102, 102, 102); margin-left: 15px">No Manuscript</span>
|
<font style="font-size: 16px">Html File :</font>
|
||||||
</div>
|
<a :href="'https://www.tmrjournals.com/public/articleHTML/' + UpHtpFIle.htmlfile" target="_blank">
|
||||||
<div target="_blank" v-if="UpHtpFIle.htmlfile != ''">
|
<img src="@/assets/img/icon_0.png" style="vertical-align: sub; margin: 0 15px" />
|
||||||
<font style="font-size: 16px">Html File :</font>
|
<span style="color: #333">Html File</span>
|
||||||
<a :href="'https://www.tmrjournals.com/public/articleHTML/' + UpHtpFIle.htmlfile" target="_blank">
|
<i class="el-icon-view" style="color: #66b1ff; font-weight: bold; margin-left: 20px"></i>
|
||||||
<img src="@/assets/img/icon_0.png" style="vertical-align: sub; margin: 0 15px" />
|
</a>
|
||||||
<span style="color: #333">Html File</span>
|
</div>
|
||||||
<i class="el-icon-view" style="color: #66b1ff; font-weight: bold; margin-left: 20px"></i>
|
<!-- <div style="margin: 20px 0 0 88px">
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<!-- <div style="margin: 20px 0 0 88px">
|
|
||||||
<el-upload ref="uploadUpHt" class="upload-demo" :action="baseUrl + 'api/Production/up_pdf_file'"
|
<el-upload ref="uploadUpHt" class="upload-demo" :action="baseUrl + 'api/Production/up_pdf_file'"
|
||||||
accept=".pdf," name="pdf" :before-upload="beforeupload_UpHt" :on-error="uperr_UpHt"
|
accept=".pdf," name="pdf" :before-upload="beforeupload_UpHt" :on-error="uperr_UpHt"
|
||||||
:on-success="upSuccess_UpHt" :limit="1" :on-exceed="alertlimit" :on-remove="removefileUpHt"
|
:on-success="upSuccess_UpHt" :limit="1" :on-exceed="alertlimit" :on-remove="removefileUpHt"
|
||||||
@@ -36,73 +33,68 @@
|
|||||||
can be uploaded(.pdf)</div>
|
can be uploaded(.pdf)</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</div> -->
|
</div> -->
|
||||||
<p style="border-top: 2px dashed #0066994d; margin: 20px 0 0 0; padding: 20px 0 0 0"></p>
|
<p style="border-top: 2px dashed #0066994d; margin: 20px 0 0 0; padding: 20px 0 0 0"></p>
|
||||||
<el-collapse v-model="collapseActiveNames">
|
<el-collapse v-model="collapseActiveNames">
|
||||||
<el-collapse-item name="html" v-loading="loadHtml">
|
<el-collapse-item name="html" v-loading="loadHtml">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
Html Layout :
|
Html Layout :
|
||||||
<span style="margin-left: 15px; color: #666" v-if="mains == ''">No Layout</span>
|
<span style="margin-left: 15px; color: #666" v-if="mains == ''">No Layout</span>
|
||||||
|
<el-button type="primary" @click="htmlLayout2('creat')" style="margin-left: 20px" class="import" v-if="mains == ''"
|
||||||
|
>Create Html Proofread</el-button
|
||||||
|
>
|
||||||
|
<span style="margin-left: 15px; color: #0b4b6a" v-if="mains != ''">Typesetting completed</span>
|
||||||
|
<template v-if="mains != ''">
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="html_type == 2 && tg_article_id != 0"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="htmlLayout2('creat')"
|
|
||||||
style="margin-left: 20px"
|
|
||||||
class="import"
|
|
||||||
v-if="mains == ''"
|
|
||||||
>Create Html Proofread</el-button
|
|
||||||
>
|
|
||||||
<span style="margin-left: 15px; color: #0b4b6a" v-if="mains != ''">Typesetting completed</span>
|
|
||||||
<template v-if="mains != ''">
|
|
||||||
<el-button
|
|
||||||
v-if="html_type == 2&&tg_article_id!=0"
|
|
||||||
type="primary"
|
|
||||||
plain
|
|
||||||
icon="el-icon-document-copy"
|
|
||||||
@click.stop
|
|
||||||
@click=" htmlLayout2()"
|
|
||||||
style="margin-left: 20px"
|
|
||||||
>
|
|
||||||
<font>Edit Html Proofread</font>
|
|
||||||
</el-button>
|
|
||||||
<el-button
|
|
||||||
v-if="html_type != 2"
|
|
||||||
type="primary"
|
|
||||||
plain
|
|
||||||
icon="el-icon-document-copy"
|
|
||||||
@click.stop
|
|
||||||
@click="htmlLayout()"
|
|
||||||
style="margin-left: 20px"
|
|
||||||
>
|
|
||||||
<font>Edit Html Proofread</font>
|
|
||||||
</el-button>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<el-button
|
|
||||||
v-if="mains != '' && html_type == 0"
|
|
||||||
type="danger"
|
|
||||||
plain
|
plain
|
||||||
icon="el-icon-document-copy"
|
icon="el-icon-document-copy"
|
||||||
@click.stop
|
@click.stop
|
||||||
@click="clearHtmlLayout()"
|
@click="htmlLayout2()"
|
||||||
style="margin-left: 20px"
|
style="margin-left: 20px"
|
||||||
>
|
>
|
||||||
<font>Remove Html Proofread</font>
|
<font>Edit Html Proofread</font>
|
||||||
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
v-if="html_type != 2"
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
icon="el-icon-document-copy"
|
||||||
|
@click.stop
|
||||||
|
@click="htmlLayout()"
|
||||||
|
style="margin-left: 20px"
|
||||||
|
>
|
||||||
|
<font>Edit Html Proofread</font>
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
|
||||||
<!-- 生成选项 -->
|
<el-button
|
||||||
<!-- <div v-if="mains == ''">
|
v-if="mains != '' && html_type == 0"
|
||||||
|
type="danger"
|
||||||
|
plain
|
||||||
|
icon="el-icon-document-copy"
|
||||||
|
@click.stop
|
||||||
|
@click="clearHtmlLayout()"
|
||||||
|
style="margin-left: 20px"
|
||||||
|
>
|
||||||
|
<font>Remove Html Proofread</font>
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
|
<!-- 生成选项 -->
|
||||||
|
<!-- <div v-if="mains == ''">
|
||||||
<div style="margin: 20px 0 0 0" >
|
<div style="margin: 20px 0 0 0" >
|
||||||
<el-button type="primary" @click="htmlLayout2('creat')" class="import"
|
<el-button type="primary" @click="htmlLayout2('creat')" class="import"
|
||||||
>Create Html Proofread</el-button
|
>Create Html Proofread</el-button
|
||||||
>
|
>
|
||||||
</div> -->
|
</div> -->
|
||||||
<!-- <el-radio v-model="createType" label="1">Use last manuscirpt version</el-radio>
|
<!-- <el-radio v-model="createType" label="1">Use last manuscirpt version</el-radio>
|
||||||
<el-radio v-model="createType" label="2">Use new file upload</el-radio> -->
|
<el-radio v-model="createType" label="2">Use new file upload</el-radio> -->
|
||||||
|
|
||||||
<!-- 使用默认最新稿件生成 -->
|
<!-- 使用默认最新稿件生成 -->
|
||||||
|
|
||||||
<!-- 文件上传 -->
|
<!-- 文件上传 -->
|
||||||
<!-- <div class="up" style="margin: 20px 0 0 0" v-if="createType == '2'">
|
<!-- <div class="up" style="margin: 20px 0 0 0" v-if="createType == '2'">
|
||||||
<el-upload
|
<el-upload
|
||||||
ref="uploadFile"
|
ref="uploadFile"
|
||||||
class="upload-demo up_newstyle"
|
class="upload-demo up_newstyle"
|
||||||
@@ -124,64 +116,68 @@
|
|||||||
</el-upload>
|
</el-upload>
|
||||||
<el-button type="primary" @click="htmlLayout" class="import">Create Html Proofread</el-button>
|
<el-button type="primary" @click="htmlLayout" class="import">Create Html Proofread</el-button>
|
||||||
</div> -->
|
</div> -->
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
|
|
||||||
<div class="titHtml" v-if="mains != '' && html_type != 2" style="height: 50vh; overflow-y: auto">
|
<div class="titHtml" v-if="mains != '' && html_type != 2" style="height: 50vh; overflow-y: auto">
|
||||||
<div v-for="(item, index) in mains" :key="index">
|
<div v-for="(item, index) in mains" :key="index">
|
||||||
<p v-html="item.content" v-if="item.width == 0"></p>
|
<p v-html="item.content" v-if="item.width == 0"></p>
|
||||||
<p v-if="item.width != 0" class="MaxPicture">
|
<p v-if="item.width != 0" class="MaxPicture">
|
||||||
<img :src="baseUrl + 'public/mainimg/' + item.content" :style="'width:' + item.width + 'px'" />
|
<img :src="baseUrl + 'public/mainimg/' + item.content" :style="'width:' + item.width + 'px'" />
|
||||||
<font :style="'width:' + item.width + 'px'">{{ item.note }}</font>
|
<font :style="'width:' + item.width + 'px'">{{ item.note }}</font>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="titHtml titHtml1" v-if="htmlContent && html_type == 2">
|
|
||||||
<common-word
|
|
||||||
:readonly="true"
|
|
||||||
v-if="htmlContent"
|
|
||||||
ref="commonWord"
|
|
||||||
:value="htmlContent"
|
|
||||||
:wordStyle="wordStyle"
|
|
||||||
style="width: calc(100%); height: 50vh"
|
|
||||||
:style="`100%`"
|
|
||||||
></common-word>
|
|
||||||
<!-- <div v-html="htmlContent"></div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
<div class="titHtml titHtml1" v-if="htmlContent && html_type == 2">
|
||||||
<el-collapse-item name="references">
|
<common-word
|
||||||
<template slot="title">
|
:readonly="true"
|
||||||
References :
|
v-if="htmlContent"
|
||||||
<span style="margin-left: 15px; color: #666" v-if="refersList.length == 0">Have no refernces</span>
|
ref="commonWord"
|
||||||
<span style="margin-left: 15px; color: #0b4b6a" v-if="refersList.length > 0"
|
:value="htmlContent"
|
||||||
>There are {{ refersList.length }} pieces of data in total.</span
|
:wordStyle="wordStyle"
|
||||||
>
|
style="width: calc(100%); height: 50vh"
|
||||||
<el-button
|
:style="`100%`"
|
||||||
type="primary"
|
></common-word>
|
||||||
plain
|
<!-- <div v-html="htmlContent"></div> -->
|
||||||
icon="el-icon-document-copy"
|
</div>
|
||||||
@click="goEditRefernces"
|
</div>
|
||||||
@click.stop
|
</el-collapse-item>
|
||||||
style="margin-left: 20px"
|
<el-collapse-item name="references">
|
||||||
>
|
<template slot="title">
|
||||||
<font>Edit References</font>
|
References :
|
||||||
</el-button>
|
<span style="margin-left: 15px; color: #666" v-if="refersList.length == 0">Have no refernces</span>
|
||||||
</template>
|
<span style="margin-left: 15px; color: #0b4b6a" v-if="refersList.length > 0"
|
||||||
<div>
|
>There are {{ refersList.length }} pieces of data in total.</span
|
||||||
<el-table
|
>
|
||||||
class="table99"
|
<el-button
|
||||||
v-if="refersList.length > 0"
|
type="primary"
|
||||||
height="400px"
|
plain
|
||||||
:header-cell-style="{ background: '#eef1f6', color: '#606266' }"
|
icon="el-icon-document-copy"
|
||||||
:data="refersList"
|
@click="goEditRefernces"
|
||||||
stripe
|
@click.stop
|
||||||
style="width: 100%"
|
style="margin-left: 20px"
|
||||||
>
|
>
|
||||||
<el-table-column type="index" align="center" width="50"> </el-table-column>
|
<font>Edit References</font>
|
||||||
<el-table-column label="CONTENT" align="center">
|
</el-button>
|
||||||
<template slot-scope="scope">
|
</template>
|
||||||
|
<div>
|
||||||
|
<el-table
|
||||||
|
class="table99"
|
||||||
|
v-if="refersList.length > 0"
|
||||||
|
height="400px"
|
||||||
|
:header-cell-style="{ background: '#eef1f6', color: '#606266' }"
|
||||||
|
:data="refersList"
|
||||||
|
stripe
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
|
<el-table-column type="index" align="center" width="50"> </el-table-column>
|
||||||
|
<el-table-column label="CONTENT" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<p class="wrongLine" style="text-align: left" v-if="scope.row.author == ''">
|
||||||
|
{{ scope.row.refer_frag }}
|
||||||
|
</p>
|
||||||
|
<div v-else>
|
||||||
<div style="text-align: left" v-if="scope.row.refer_type == 'journal'">
|
<div style="text-align: left" v-if="scope.row.refer_type == 'journal'">
|
||||||
<p>
|
<p>
|
||||||
{{ scope.row.author }},{{ scope.row.title }}, <em>{{ scope.row.joura }}</em> ,{{
|
{{ scope.row.author }},{{ scope.row.title }}, <em>{{ scope.row.joura }}</em> ,{{
|
||||||
@@ -194,21 +190,18 @@
|
|||||||
<p>{{ scope.row.author }},{{ scope.row.title }},{{ scope.row.dateno }}<br /></p>
|
<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>
|
<a class="doiLink" :href="scope.row.isbn" target="_blank">{{ scope.row.isbn }}</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="wrongLine" style="text-align: left" v-if="scope.row.refer_type == 'other'">
|
</div>
|
||||||
{{ scope.row.refer_frag }}
|
</template>
|
||||||
</p>
|
</el-table-column>
|
||||||
</template>
|
</el-table>
|
||||||
</el-table-column>
|
</div>
|
||||||
</el-table>
|
</el-collapse-item>
|
||||||
</div>
|
</el-collapse>
|
||||||
</el-collapse-item>
|
</div>
|
||||||
</el-collapse>
|
<span slot="footer" class="dialog-footer">
|
||||||
</div>
|
<el-button @click="CancelHtml" plain>Cancel</el-button>
|
||||||
<span slot="footer" class="dialog-footer">
|
</span>
|
||||||
<el-button @click="CancelHtml" plain>Cancel</el-button>
|
</el-dialog>
|
||||||
</span>
|
|
||||||
</el-dialog>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -328,12 +321,8 @@ export default {
|
|||||||
newMains: []
|
newMains: []
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {},
|
||||||
|
computed: {},
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
//跳转婴用列表
|
//跳转婴用列表
|
||||||
goCite(row) {
|
goCite(row) {
|
||||||
@@ -921,7 +910,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 文章html弹出层
|
// 文章html弹出层
|
||||||
async htmlContet(e) {
|
async htmlContet(e) {
|
||||||
console.log('e at line 923:', e)
|
console.log('e at line 923:', e);
|
||||||
this.articleId = e.article_id;
|
this.articleId = e.article_id;
|
||||||
this.tg_article_id = e.tg_article_id;
|
this.tg_article_id = e.tg_article_id;
|
||||||
// this.articleId = '3444';
|
// this.articleId = '3444';
|
||||||
|
|||||||
Reference in New Issue
Block a user