Compare commits
2 Commits
64cd2a8621
...
ee6a0e8048
| Author | SHA1 | Date | |
|---|---|---|---|
| ee6a0e8048 | |||
| 936bbb4df0 |
@@ -73,7 +73,7 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="Manuscirpt :" prop="manuscirpt" label-width="120px">
|
||||
<el-form-item label="Manuscript :" prop="manuscirpt" label-width="120px">
|
||||
<el-upload
|
||||
:on-progress="handleProgress"
|
||||
ref="uploadFileManuscirpt"
|
||||
@@ -463,7 +463,7 @@
|
||||
<div class="el-upload__tip" slot="tip">Only word files can be uploaded(.doc,.docx)</div>
|
||||
</el-upload>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="Manuscirpt :" prop="manuscirpt" label-width="220px">
|
||||
<el-form-item label="Manuscript :" prop="manuscirpt" label-width="220px">
|
||||
<el-upload
|
||||
:on-progress="handleProgress"
|
||||
ref="uploadFileManuscirpt"
|
||||
@@ -1342,7 +1342,7 @@ export default {
|
||||
manuscirpt: [
|
||||
{
|
||||
required: true,
|
||||
message: 'Please upload manuscirpt',
|
||||
message: 'Please upload manuscript',
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
@@ -2675,7 +2675,7 @@ this.checkAll = false;
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.isShowCommonWord = false;
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
this.contribute(res.upurl, File);
|
||||
|
||||
@@ -3245,7 +3245,7 @@ this.checkAll = false;
|
||||
this.fileL_manuscirpt = [];
|
||||
if (this.form.manuscirpt != '') {
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = this.form.manuscirpt;
|
||||
}
|
||||
this.fileL_supplementary = [];
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="Manuscirpt :" prop="manuscirpt" label-width="120px">
|
||||
<el-form-item label="Manuscript :" prop="manuscirpt" label-width="120px">
|
||||
<el-upload
|
||||
:on-progress="handleProgress"
|
||||
ref="uploadFileManuscirpt"
|
||||
@@ -431,7 +431,7 @@
|
||||
<div class="el-upload__tip" slot="tip">Only word files can be uploaded(.doc,.docx)</div>
|
||||
</el-upload>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="Manuscirpt :" prop="manuscirpt" label-width="220px">
|
||||
<el-form-item label="Manuscript :" prop="manuscirpt" label-width="220px">
|
||||
<el-upload
|
||||
:on-progress="handleProgress"
|
||||
ref="uploadFileManuscirpt"
|
||||
@@ -1282,9 +1282,9 @@ export default {
|
||||
}
|
||||
],
|
||||
manuscirpt: [
|
||||
{
|
||||
{
|
||||
required: true,
|
||||
message: 'Please upload manuscirpt',
|
||||
message: 'Please upload manuscript',
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
@@ -1650,7 +1650,7 @@ export default {
|
||||
}
|
||||
//验证文档
|
||||
if (this.form.manuscirpt == '') {
|
||||
this.$message.error('Manuscirpt is required');
|
||||
this.$message.error('Manuscript is required');
|
||||
// console.log('file up error');
|
||||
return false;
|
||||
}
|
||||
@@ -2549,7 +2549,7 @@ export default {
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.isShowCommonWord = false;
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
this.contribute(res.upurl)
|
||||
if(this.form.article_id){
|
||||
@@ -3010,7 +3010,7 @@ export default {
|
||||
this.fileL_manuscirpt = [];
|
||||
if (this.form.manuscirpt != '') {
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = this.form.manuscirpt;
|
||||
}
|
||||
this.fileL_supplementary = [];
|
||||
|
||||
@@ -431,7 +431,7 @@
|
||||
<div class="el-upload__tip" slot="tip">Only word files can be uploaded(.doc,.docx)</div>
|
||||
</el-upload>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="Manuscirpt :" prop="manuscirpt" label-width="200px">
|
||||
<el-form-item label="Manuscript :" prop="manuscirpt" label-width="200px">
|
||||
<el-upload
|
||||
ref="uploadFileManuscirpt"
|
||||
class="upload-demo up_newstyle"
|
||||
@@ -1147,9 +1147,9 @@ export default {
|
||||
}
|
||||
],
|
||||
manuscirpt: [
|
||||
{
|
||||
{
|
||||
required: true,
|
||||
message: 'Please upload manuscirpt',
|
||||
message: 'Please upload manuscript',
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
@@ -1375,7 +1375,7 @@ export default {
|
||||
}
|
||||
//验证文档
|
||||
if (this.form.manuscirpt == '') {
|
||||
this.$message.error('Manuscirpt is required');
|
||||
this.$message.error('Manuscript is required');
|
||||
// console.log('file up error');
|
||||
return false;
|
||||
}
|
||||
@@ -2232,7 +2232,7 @@ export default {
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.isShowCommonWord = false;
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
|
||||
this.onStaging(5);
|
||||
@@ -2547,7 +2547,7 @@ export default {
|
||||
this.fileL_manuscirpt = [];
|
||||
if (this.form.manuscirpt != '') {
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = this.form.manuscirpt;
|
||||
}
|
||||
this.fileL_supplementary = [];
|
||||
@@ -2796,9 +2796,7 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.form.manuscirptId = res.data.file_id;
|
||||
console.log('this.form.manuscirpt at line 2652:', this.form.manuscirpt);
|
||||
|
||||
console.log('1111111111111111111111111111');
|
||||
|
||||
setTimeout(() => {
|
||||
// that.getWordTablesList();
|
||||
// that.getWordimgList();
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="Manuscirpt">
|
||||
<el-form-item label="Manuscript">
|
||||
<el-popover placement="right" width="350" trigger="click">
|
||||
<el-table :data="manuscirptFileList" empty-text="New messages (0)">
|
||||
<el-table-column width="150" :formatter="filedateformate" property="ctime" align="center" label="date"></el-table-column>
|
||||
@@ -421,7 +421,7 @@
|
||||
this.$refs.articleform.validate((valid) => {
|
||||
//验证文件
|
||||
// if (this.form.manuscirpt == '') {
|
||||
// this.$message.error('Manuscirpt is required');
|
||||
// this.$message.error('Manuscript is required');
|
||||
// console.log('file up error');
|
||||
// return false;
|
||||
// }
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -193,7 +193,7 @@
|
||||
>Only word and compressed files can be uploaded(.doc,.docx,.rar,.zip)</div>
|
||||
</el-upload> -->
|
||||
</el-form-item>
|
||||
<el-form-item label="Manuscirpt">
|
||||
<el-form-item label="Manuscript">
|
||||
<el-popover placement="right" width="350" trigger="click">
|
||||
<el-table :data="manuscirptFileList" empty-text="New messages (0)">
|
||||
<el-table-column width="150" :formatter="filedateformate" property="ctime" align="center" label="date"></el-table-column>
|
||||
@@ -690,7 +690,7 @@
|
||||
},
|
||||
onsubmit() {
|
||||
if (this.form.manuscirpt == '') {
|
||||
this.$message.error('Manuscirpt is required');
|
||||
this.$message.error('Manuscript is required');
|
||||
console.log('file up error');
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="totalpageFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="totalpageFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
@@ -941,7 +941,7 @@
|
||||
// 上传文件
|
||||
saveAgain() {
|
||||
if (this.form.manuscirpt == '') {
|
||||
this.$message.error('Manuscirpt is required');
|
||||
this.$message.error('Manuscript is required');
|
||||
return false;
|
||||
}
|
||||
this.loading = true;
|
||||
|
||||
@@ -239,7 +239,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="totalpageFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="totalpageFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
@@ -1024,7 +1024,7 @@
|
||||
// 上传文件
|
||||
onsubmit() {
|
||||
if (this.proposalForm.proposal_file == '') {
|
||||
this.$message.error('Manuscirpt file is required');
|
||||
this.$message.error('Manuscript file is required');
|
||||
return false;
|
||||
}
|
||||
this.loading = true;
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="totalpageFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
@@ -826,7 +826,7 @@
|
||||
// 上传文件
|
||||
saveAgain() {
|
||||
if (this.form.manuscirpt == '') {
|
||||
this.$message.error('Manuscirpt is required');
|
||||
this.$message.error('Manuscript is required');
|
||||
return false;
|
||||
}
|
||||
this.loading = true;
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="totalpageFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -350,7 +350,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="supplementaryFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="supplementaryFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -330,7 +330,7 @@
|
||||
</div>
|
||||
<div class="fi_new" v-if="item.file.manuscirpt">
|
||||
<p>
|
||||
Manuscirpt
|
||||
Manuscript
|
||||
<sup style="color: #006699">({{ item.file.manuscirpt.length }})</sup> :
|
||||
<b
|
||||
class="btnUpDown el-icon-arrow-up"
|
||||
|
||||
@@ -721,7 +721,7 @@ export default {
|
||||
this.fileData = res.upurl;
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
} else {
|
||||
this.$message.error('service error: ' + res.msg);
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
</el-upload>
|
||||
</p>
|
||||
<br clear="both"> -->
|
||||
<h4><b style="margin-right:5px;color: red;">*</b>Manuscirpt :</h4>
|
||||
<h4><b style="margin-right:5px;color: red;">*</b>Manuscript :</h4>
|
||||
<p>
|
||||
<el-upload class="upload-demo" :action="upload_manuscirpt" accept=".docx"
|
||||
name="manuscirpt" :before-upload="beforeupload_manuscirpt"
|
||||
@@ -450,7 +450,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="supplementaryFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="supplementaryFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="crumbs">
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
<i class="el-icon-lx-calendar"></i> Add manuscirpt
|
||||
<i class="el-icon-lx-calendar"></i> Add manuscript
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
|
||||
@@ -418,7 +418,7 @@ export default {
|
||||
this.fileData = res.upurl;
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
} else {
|
||||
this.$message.error('service error: ' + res.msg);
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<!-- </el-dialog> -->
|
||||
</div>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="" @click="reviewerVisible = false">Cancal</el-button>
|
||||
<el-button type="" @click="reviewerVisible = false">Cancel</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
>Create Html Proofread</el-button
|
||||
>
|
||||
</div> -->
|
||||
<!-- <el-radio v-model="createType" label="1">Use last manuscirpt version</el-radio>
|
||||
<!-- <el-radio v-model="createType" label="1">Use last manuscript version</el-radio>
|
||||
<el-radio v-model="createType" label="2">Use new file upload</el-radio> -->
|
||||
|
||||
<!-- 使用默认最新稿件生成 -->
|
||||
@@ -416,7 +416,7 @@ export default {
|
||||
this.fileData = res.upurl;
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
} else {
|
||||
this.$message.error('service error: ' + res.msg);
|
||||
|
||||
@@ -1203,7 +1203,7 @@ export default {
|
||||
this.fileData = res.upurl;
|
||||
this.form.manuscirpt = 'manuscirpt/' + res.upurl;
|
||||
this.fileL_manuscirpt = [{}];
|
||||
this.fileL_manuscirpt[0].name = 'Manuscirpt File';
|
||||
this.fileL_manuscirpt[0].name = 'Manuscript File';
|
||||
this.fileL_manuscirpt[0].url = 'manuscirpt/' + res.upurl;
|
||||
} else {
|
||||
this.$message.error('service error: ' + res.msg);
|
||||
|
||||
@@ -496,7 +496,7 @@
|
||||
v-if="totalItems > 0 && totalNumbers > 0"
|
||||
class="item"
|
||||
effect="dark"
|
||||
:content="`There are ${totalItems} paragraphs with unresolved errors in the Manuscirpt`"
|
||||
:content="`There are ${totalItems} paragraphs with unresolved errors in the Manuscript`"
|
||||
placement="top-start"
|
||||
>
|
||||
<span class="info-text"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<el-collapse v-model="activeNames" @change="changeActiveNames"
|
||||
><el-collapse-item name="images" style="" v-if="images.length > 0">
|
||||
<template slot="title">
|
||||
<p style="font-weight: bold; color: #222 !important">Manuscirpt Figures ( {{ images.length }} )</p>
|
||||
<p style="font-weight: bold; color: #222 !important">Manuscript Figures ( {{ images.length }} )</p>
|
||||
|
||||
<!-- <p style="margin-left: 20px">
|
||||
<i class="header-icon el-icon-info"></i
|
||||
@@ -125,7 +125,7 @@
|
||||
</el-collapse-item>
|
||||
<el-collapse-item name="tables" style="" v-if="tables.length > 0">
|
||||
<template slot="title">
|
||||
<p style="font-weight: bold; color: #222">Manuscirpt Tables ( {{ tables.length }} )</p>
|
||||
<p style="font-weight: bold; color: #222">Manuscript Tables ( {{ tables.length }} )</p>
|
||||
|
||||
<!-- <p style="margin-left: 20px">
|
||||
<i class="header-icon el-icon-info"></i
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<el-collapse v-model="activeNames" @change="changeActiveNames"
|
||||
><el-collapse-item name="images" style="" v-if="images.length > 0">
|
||||
<template slot="title">
|
||||
<p style="font-weight: bold; color: #222 !important">Manuscirpt Figures ( {{ images.length }} )</p>
|
||||
<p style="font-weight: bold; color: #222 !important">Manuscript Figures ( {{ images.length }} )</p>
|
||||
|
||||
<!-- <p style="margin-left: 20px">
|
||||
<i class="header-icon el-icon-info"></i
|
||||
@@ -85,7 +85,7 @@
|
||||
</el-collapse-item>
|
||||
<el-collapse-item name="tables" style="" v-if="tables.length > 0">
|
||||
<template slot="title">
|
||||
<p style="font-weight: bold; color: #222">Manuscirpt Tables ( {{ tables.length }} )</p>
|
||||
<p style="font-weight: bold; color: #222">Manuscript Tables ( {{ tables.length }} )</p>
|
||||
|
||||
<!-- <p style="margin-left: 20px">
|
||||
<i class="header-icon el-icon-info"></i
|
||||
|
||||
@@ -520,7 +520,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-col :span="24">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p class="fi_new">
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
||||
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
||||
>Manuscirpt
|
||||
>Manuscript
|
||||
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
||||
><br />
|
||||
@@ -192,7 +192,7 @@ If you're still having trouble with Chrome, you could use other browsers to comp
|
||||
<div class="file_sty" v-for="(item,i) in article_response" style="margin-top: 15px;width: 50%;float: left">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
||||
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
||||
>Manuscirpt
|
||||
>Manuscript
|
||||
<span style="margin-left: 10px; color: #888; font-size: 13px">{{ item.artr_ctime }}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="file_sty" v-for="item in fileList">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscirpt
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscript
|
||||
<span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px;color: #66b1ff;font-weight: bold;"></i>
|
||||
</a><br>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="file_sty" v-for="item in fileList">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscirpt
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscript
|
||||
<span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px;color: #66b1ff;font-weight: bold;"></i>
|
||||
</a><br>
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
<br clear="both">
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p class="fi_new">
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
@@ -730,7 +730,7 @@
|
||||
},
|
||||
onsubmit() {
|
||||
if (this.form.manuscirpt == '') {
|
||||
this.$message.error('Manuscirpt is required!');
|
||||
this.$message.error('Manuscript is required!');
|
||||
return false;
|
||||
}
|
||||
this.loading = true;
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
</a>
|
||||
</p>
|
||||
<br clear="both" v-if="supplementaryFileList">
|
||||
<h4>Manuscirpt : </h4>
|
||||
<h4>Manuscript : </h4>
|
||||
<p>
|
||||
<a v-for="item in manuscirptFileList" :href="mediaUrl + item.file_url">
|
||||
<img src="../../assets/img/icon_0.png">
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="file_sty" v-for="item in fileList">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscirpt
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscript
|
||||
<span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px;color: #66b1ff;font-weight: bold;"></i>
|
||||
</a><br>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="file_sty" v-for="item in fileList">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscirpt
|
||||
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">Manuscript
|
||||
<span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px;color: #66b1ff;font-weight: bold;"></i>
|
||||
</a><br>
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
<el-button class="more_btn" icon="el-icon-download" type="text" slot="reference">Download</el-button>
|
||||
</el-popover>
|
||||
</el-form-item>
|
||||
<el-form-item label="Manuscirpt">
|
||||
<el-form-item label="Manuscript">
|
||||
<!-- <el-link
|
||||
:underline="false"
|
||||
:href="manuscirptUrl"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px">
|
||||
<img src="../../assets/img/icon_0.png" alt="" class="icon_img" />
|
||||
<a :href="mediaUrl + item.file_url" target="_blank" class="txt_pdf"
|
||||
>Manuscirpt
|
||||
>Manuscript
|
||||
<span style="margin-left: 50px; color: #888; font-size: 13px">{{ item.ctime }}</span>
|
||||
<i class="el-icon-download" style="margin-left: 20px; color: #66b1ff; font-weight: bold"></i> </a
|
||||
><br />
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<el-button class="more_btn" icon="el-icon-download" type="text" slot="reference">download</el-button>
|
||||
</el-popover>
|
||||
</el-form-item>
|
||||
<el-form-item label="Manuscirpt">
|
||||
<el-form-item label="Manuscript">
|
||||
<el-popover placement="right" width="350" trigger="click">
|
||||
<el-table :data="articlefileList" empty-text="New messages (0)">
|
||||
<el-table-column width="150" :formatter="filedateformate" property="ctime" align="center" label="date"></el-table-column>
|
||||
|
||||
49
src/main.js
49
src/main.js
@@ -63,7 +63,7 @@ async function loadJournalType() {
|
||||
await api
|
||||
.post('api/Articletype/getArticleType', {})
|
||||
.then((res) => {
|
||||
|
||||
|
||||
if (res.status == 1) {
|
||||
localStorage.setItem('journalTypeData', JSON.stringify(res.data.base)); // 将数据存储到 localStorage
|
||||
localStorage.setItem('journalTypeDataAll', JSON.stringify([...res.data.base, ...res.data.supplement])); // 将数据存储到 localStorage
|
||||
@@ -73,49 +73,44 @@ async function loadJournalType() {
|
||||
await api
|
||||
.post('api/Articletype/getMedicalType', {})
|
||||
.then((res) => {
|
||||
|
||||
|
||||
if (res.status == 1) {
|
||||
localStorage.setItem('opMedicalListData', JSON.stringify(res.data)); // 将数据存储到 localStorage
|
||||
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
} catch (error) {
|
||||
|
||||
|
||||
}
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
async function loadJournalList() {
|
||||
try {
|
||||
const localData = store.state.journalList;
|
||||
console.log('localData at line 93:', localData);
|
||||
|
||||
|
||||
const localData = store.state.journalList;
|
||||
if (localData && Array.isArray(localData) && localData.length > 0) {
|
||||
return localData;
|
||||
return localData;
|
||||
}
|
||||
|
||||
|
||||
const res = await api.post('api/Article/getJournal', {});
|
||||
|
||||
|
||||
|
||||
if (res ) {
|
||||
const journalList = res;
|
||||
store.commit('setJournalList', journalList);
|
||||
return journalList;
|
||||
|
||||
|
||||
|
||||
if (res) {
|
||||
const journalList = res;
|
||||
store.commit('setJournalList', journalList);
|
||||
return journalList;
|
||||
} else {
|
||||
return [];
|
||||
|
||||
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -212,7 +207,7 @@ const i18n = new VueI18n({
|
||||
messages
|
||||
});
|
||||
//使用钩子函数对路由进行权限跳转
|
||||
router.beforeEach(async(to, from, next) => {
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
try {
|
||||
// 尝试请求接口(即使失败也继续后续逻辑)
|
||||
await Promise.all([
|
||||
@@ -221,14 +216,14 @@ router.beforeEach(async(to, from, next) => {
|
||||
]);
|
||||
} catch (err) {
|
||||
// 仅打印错误,不阻断路由
|
||||
|
||||
|
||||
}
|
||||
|
||||
// 无论接口成功/失败,都执行原有跳转逻辑
|
||||
document.title = `${to.meta.title} | Traditional Medicine Research`;
|
||||
const role = localStorage.getItem('U_name');
|
||||
const userrole = localStorage.getItem('U_status');
|
||||
|
||||
|
||||
if (!role && to.path != '/register' && to.path !== '/submission' && to.path !== '/verification' && to.path !== '/orcidLink' && to.path !== '/img' && to.path !== '/reviewer' && to.path !== '/thanks' && to.path !== '/login' && to.path !== '/refuse' && to.path !== '/managing' && to.path.search(/retrieve/i) < 0) {
|
||||
next('/login');
|
||||
} else {
|
||||
@@ -240,7 +235,7 @@ router.beforeEach(async(to, from, next) => {
|
||||
next();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
new Vue({
|
||||
@@ -248,7 +243,7 @@ new Vue({
|
||||
i18n,
|
||||
store,
|
||||
render: h => h(App),
|
||||
|
||||
|
||||
mounted() {
|
||||
this.$renderMath(); // 页面加载后自动渲染
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user