tijiao
This commit is contained in:
@@ -19,8 +19,8 @@ const service = axios.create({
|
||||
// baseURL: 'https://submission.tmrjournals.com/', //正式 记得切换
|
||||
// baseURL: 'http://www.tougao.com/', //测试本地 记得切换
|
||||
// baseURL: 'http://192.168.110.110/tougao/public/index.php/',
|
||||
// baseURL: '/api', //本地
|
||||
baseURL: '/', //正式
|
||||
baseURL: '/api', //本地
|
||||
// baseURL: '/', //正式
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -1961,8 +1961,8 @@ const en = {
|
||||
factoryEmails: 'Sender accounts',
|
||||
factoryEmailsPlaceholder: 'Select one or more sender accounts',
|
||||
factorySendCount: 'Send count',
|
||||
factoryMinInterval: 'Min interval',
|
||||
factoryMaxInterval: 'Max interval',
|
||||
factoryMinInterval: 'Min interval(seconds)',
|
||||
factoryMaxInterval: 'Max interval(seconds)',
|
||||
factoryNeedInterval: 'Please enter non-negative integer min interval and max interval',
|
||||
factoryIntervalRangeInvalid: 'Min interval cannot be greater than max interval',
|
||||
factoryType: 'Scenario',
|
||||
|
||||
@@ -1941,8 +1941,8 @@ const zh = {
|
||||
factoryEmails: '发送邮箱',
|
||||
factoryEmailsPlaceholder: '请选择发送账号(可多选)',
|
||||
factorySendCount: '发送数量',
|
||||
factoryMinInterval: 'min_interval',
|
||||
factoryMaxInterval: 'max_interval',
|
||||
factoryMinInterval: ' Min interval(seconds)',
|
||||
factoryMaxInterval: ' Max interval(seconds)',
|
||||
factoryNeedInterval: '请填写非负整数的 min_interval 和 max_interval',
|
||||
factoryIntervalRangeInvalid: 'min_interval 不能大于 max_interval',
|
||||
factoryType: '场景类型',
|
||||
|
||||
@@ -964,10 +964,10 @@ export default {
|
||||
}
|
||||
// 专刊封面:与列表回显统一前缀 public/specialIcon/
|
||||
const base = String(this.iconBaseUrl || '').replace(/\/?$/, '/');
|
||||
if (value.indexOf('specialIcon/') === 0 ) {
|
||||
if (value.indexOf('journalicon/') === 0 ) {
|
||||
return base + value.replace(/^\/+/, '');
|
||||
}
|
||||
return base + 'specialIcon/' + value.replace(/^\/+/, '');
|
||||
return base + 'journalicon/' + value.replace(/^\/+/, '');
|
||||
},
|
||||
getGuestEditorAvatarUrl(item) {
|
||||
if (!item) {
|
||||
|
||||
@@ -608,10 +608,22 @@
|
||||
v-model="refenceForm.content"
|
||||
placeholder=""
|
||||
></el-input>
|
||||
<span v-if="isShowParsing" style="color: #409eff"
|
||||
<span v-if="refenceForm.content != old_refence_content&&SourceType != 'other'" style="color: #409eff"
|
||||
>We have detected updates to the reference content. You need to click the "Automatic parsing" button to
|
||||
recognize them.</span
|
||||
>
|
||||
<el-button
|
||||
v-if="SourceType != 'other'"
|
||||
type="primary"
|
||||
size="mini"
|
||||
style="background-color: #409eff !important; border-color: #409eff !important; position: absolute;
|
||||
right: 14px;
|
||||
bottom: 1px;
|
||||
cursor: pointer;"
|
||||
@click="getParsingData()"
|
||||
>Automatic parsing</el-button
|
||||
>
|
||||
</div>
|
||||
<el-button
|
||||
v-if="zyModeEnabled && SourceType === 'book'"
|
||||
type="primary"
|
||||
@@ -622,10 +634,10 @@
|
||||
>
|
||||
{{ $t('commonTable.parseBookReference') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
<div v-if="!isShowParsing && isShowParsingData && SourceType != 'other'">
|
||||
</el-form-item>
|
||||
<!-- {{ !isShowParsing && isShowParsingData &&}} -->
|
||||
<div v-if=" SourceType != 'other'">
|
||||
<el-form-item style="margin: 0 0 30px">
|
||||
<div class="line" style="border: 1px dashed #dcdfe6"></div>
|
||||
</el-form-item>
|
||||
@@ -754,15 +766,9 @@
|
||||
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancelSave">Cancel</el-button>
|
||||
<el-button
|
||||
v-if="isShowParsing"
|
||||
type="primary"
|
||||
style="background-color: #409eff !important; border-color: #409eff !important"
|
||||
@click="getParsingData()"
|
||||
>Automatic parsing</el-button
|
||||
>
|
||||
|
||||
<el-button v-else type="primary" @click="dialogTitle == 'Edit' ? saveChange() : saveAdd()">Save</el-button>
|
||||
|
||||
<el-button type="primary" @click="dialogTitle == 'Edit' ? saveChange() : saveAdd()">Save</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<!-- 复制word添加引用 -->
|
||||
@@ -5769,7 +5775,7 @@ export default {
|
||||
this.SourceType = data.refer_type ? data.refer_type : '';
|
||||
|
||||
this.refenceForm = {
|
||||
doi: '',
|
||||
doi: data.refer_doi ? data.refer_doi : '',
|
||||
p_article_id: null,
|
||||
p_refer_id: row.p_refer_id, // 当前行一行的引用序号
|
||||
pre_p_refer_id: null, // 上一行
|
||||
@@ -5788,13 +5794,13 @@ export default {
|
||||
this.old_refence_content = JSON.parse(JSON.stringify(data.deal_content));
|
||||
this.old_refence_type = JSON.parse(JSON.stringify(data.refer_type));
|
||||
if (this.SourceType == 'book') {
|
||||
this.refenceForm.isbn = data.doilink ? data.doilink : '';
|
||||
}
|
||||
if (this.SourceType == 'other' || this.role == 'user') {
|
||||
this.refenceForm.doi = data.refer_doi ? data.refer_doi : '';
|
||||
} else {
|
||||
this.refenceForm.doi = '';
|
||||
this.refenceForm.isbn = data.doilink || data.isbn || '';
|
||||
}
|
||||
// if (this.SourceType == 'other' || this.role == 'user') {
|
||||
// this.refenceForm.doi = data.refer_doi ? data.refer_doi : '';
|
||||
// } else {
|
||||
// this.refenceForm.doi = '';
|
||||
// }
|
||||
|
||||
//console.log('this.refenceForm at line 883:', this.refenceForm)
|
||||
this.editboxVisible = true;
|
||||
@@ -6190,9 +6196,9 @@ export default {
|
||||
if (this.$refs['refenceForm']) {
|
||||
this.$refs['refenceForm'].clearValidate();
|
||||
}
|
||||
|
||||
// this.SourceType != this.old_refence_type || this.refenceForm.content != this.old_refence_content) &&
|
||||
if (
|
||||
(this.SourceType != this.old_refence_type || this.refenceForm.content != this.old_refence_content) &&
|
||||
|
||||
this.SourceType != 'other'
|
||||
) {
|
||||
this.isShowParsing = true;
|
||||
@@ -6208,17 +6214,13 @@ export default {
|
||||
handler(newVal, oldVal) {
|
||||
if (this.SourceType != 'other') {
|
||||
if (this.dialogTitle == 'Edit') {
|
||||
if (this.refenceForm.content != this.old_refence_content) {
|
||||
|
||||
this.isShowParsing = true;
|
||||
} else {
|
||||
this.isShowParsing = false;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (this.refenceForm.content == '' || this.refenceForm.content != this.old_refence_content) {
|
||||
|
||||
this.isShowParsing = true;
|
||||
} else {
|
||||
this.isShowParsing = false;
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
this.isShowParsing = false;
|
||||
@@ -7191,7 +7193,7 @@ export default {
|
||||
|
||||
.automatic-parsing-box span {
|
||||
position: absolute;
|
||||
right: 14px;
|
||||
right: 150px;
|
||||
bottom: 1px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user