From 25619d8899d8e1bbc426709a5e6fcc3ad1b3d114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Fri, 7 Aug 2026 15:50:28 +0800 Subject: [PATCH] tijiao --- src/api/index.js | 4 +- src/components/common/langs/en.js | 4 +- src/components/common/langs/zh.js | 4 +- .../JournalManagement/SpecialList/index.vue | 4 +- src/components/page/editPublicRefRdit.vue | 62 ++++++++++--------- 5 files changed, 40 insertions(+), 38 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 525753d..487fb66 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -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: '/', //正式 }); diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index 966e392..5e423c5 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -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', diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index 6de5be7..45a24ec 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -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: '场景类型', diff --git a/src/components/page/JournalManagement/SpecialList/index.vue b/src/components/page/JournalManagement/SpecialList/index.vue index b2096ce..244c2a4 100644 --- a/src/components/page/JournalManagement/SpecialList/index.vue +++ b/src/components/page/JournalManagement/SpecialList/index.vue @@ -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) { diff --git a/src/components/page/editPublicRefRdit.vue b/src/components/page/editPublicRefRdit.vue index a5d311f..9e95da0 100644 --- a/src/components/page/editPublicRefRdit.vue +++ b/src/components/page/editPublicRefRdit.vue @@ -608,10 +608,22 @@ v-model="refenceForm.content" placeholder="" > - We have detected updates to the reference content. You need to click the "Automatic parsing" button to recognize them. + Automatic parsing + {{ $t('commonTable.parseBookReference') }} - + - -
+ +
@@ -754,15 +766,9 @@ Cancel - Automatic parsing + - Save + Save @@ -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; }