From 9e337cb16417f5d2bcba0e2dd7cc21b634941200 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: Sun, 4 Jan 2026 14:51:40 +0800 Subject: [PATCH] tijiao --- src/api/index.js | 4 +- src/components/common/common.vue | 10 +- src/components/common/langs/en.js | 16 ++ src/components/common/langs/zh.js | 11 ++ .../JournalManagement/common.vue | 85 ++++++++ src/components/page/articleAdd.vue | 2 +- src/components/page/articleAdd2.vue | 2 +- src/components/page/articleDetailEditor.vue | 187 +++++++++++++++--- .../page/articleProcessRevision.vue | 68 ++++++- .../articleDetail/FigureCopyright.vue | 169 ++++++++++++++++ 10 files changed, 511 insertions(+), 43 deletions(-) create mode 100644 src/components/page/components/articleDetail/FigureCopyright.vue diff --git a/src/api/index.js b/src/api/index.js index 487fb66..525753d 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/common.vue b/src/components/common/common.vue index d0e0630..2038279 100644 --- a/src/components/common/common.vue +++ b/src/components/common/common.vue @@ -2,12 +2,12 @@ //记得切换 //正式 -// const mediaUrl = '/public/'; -// const baseUrl = '/'; +const mediaUrl = '/public/'; +const baseUrl = '/'; -const mediaUrl = 'https://submission.tmrjournals.com/public/'; -// const mediaUrl = 'http://zmzm.tougao.dev.com/public/'; -const baseUrl = '/api' +// const mediaUrl = 'https://submission.tmrjournals.com/public/'; +// // const mediaUrl = 'http://zmzm.tougao.dev.com/public/'; +// const baseUrl = '/api' // const mediaUrl = 'http://tougaotest.tmrjournals.com/public/'; // // const mediaUrl = 'http://zmzm.tougao.dev.com/public/'; diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index 122b7c1..408022b 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -102,6 +102,7 @@ const en = { article: 'Articles for', articleNum: 'Articles', info: 'The following data is', + Fee: 'Fee', wos: 'Wos', all: 'All references', factor: 'Factor', @@ -114,6 +115,21 @@ const en = { level: 'Level', editorinchief: 'Editor In Chief', journal_topic: 'Research areas', + // 1. 录入弹窗 (image_e6d8fa.png) + feeDialogTitle: 'Adjustment of Article Processing Charge (APC)', + feeWarningTitle: 'Financial Configuration Alert', + feeWarningDesc: 'Modifying the APC is a critical update. The new rate will be applied prospectively to all new submissions upon confirmation.', + feeLabel: 'New APC Amount (USD)', + placeholder: 'Enter amount', + confirmUpdate: 'Update Standard', + cancel: 'Cancel', + + // 2. 二次确认弹窗 (image_e6d449.png) + doubleConfirmTitle: 'Final Regulatory Confirmation', + doubleConfirmContent: 'Are you sure you want to authorize this rate change? This adjustment will immediately synchronize with the billing system and impact all future financial settlements.', + + // 3. 反馈 + updateSuccess: 'The journal APC standard has been successfully updated.' }, diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index 0e8d20e..dda07e1 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -100,6 +100,7 @@ const zh = { citeNum: '引用数量', articleNum: '文章数量', ArticleInfo: '文章信息', website: '网站', + Fee: '费用', email: '邮箱', abbr: '缩写', edit: '编辑', @@ -112,6 +113,16 @@ const zh = { all: '全部引用', factor: '影响因子', Sameperiod: '同期', + feeDialogTitle: '期刊稿件处理费(APC)调整', + feeWarningTitle: '核心财务参数修改提示', + feeWarningDesc: 'APC金额属于期刊核心计费参数。一旦更新,系统将立即启用新标准并应用于所有新投递的稿件。', + feeLabel: '新计费标准 (USD)', + placeholder: '请输入金额', + confirmUpdate: '更新标准', + cancel: '取消', + doubleConfirmTitle: '最终操作确认', + doubleConfirmContent: '确定要授权此项金额变更吗?此操作具有法律效力上的即时性,将直接影响后续所有财务结算流程。', + updateSuccess: '期刊计费标准已成功更新。' }, paperArticleCount: { Periodroll: '期卷', diff --git a/src/components/page/JournalManagement/JournalManagement/common.vue b/src/components/page/JournalManagement/JournalManagement/common.vue index 98fc6f2..ee96e65 100644 --- a/src/components/page/JournalManagement/JournalManagement/common.vue +++ b/src/components/page/JournalManagement/JournalManagement/common.vue @@ -46,10 +46,15 @@
{{ $t('JournalCitationAnalysis.level') }} :{{ scope.row.level }}
+ +
{{ $t('JournalCitationAnalysis.journal_topic') }} :{{ scope.row.journal_topic }}
+ @@ -295,6 +300,41 @@ > + + + + + + + + + + + @@ -322,6 +362,9 @@ export default { }, data() { return { + feeDialogVisible: false, // 控制录入弹窗 + tempFee: 0, // 录入的临时金额 + activeJournalId: null, // 当前修改的期刊ID mediaUrl: this.Common.mediaUrl, baseUrl: this.Common.baseUrl, activeNames: [], @@ -444,6 +487,48 @@ export default { await this.getDate(); }, methods: { + // 点击页面上的 Edit 按钮触发 + openEditDialog(row) { + this.activeJournalId = row.id; + this.tempFee = row.fee; // 初始值为当前金额 + this.feeDialogVisible = true; + }, + + // 点击录入弹窗的“确认更新”触发 + async validateAndConfirm() { + if (this.tempFee === undefined || this.tempFee === null) { + this.$message.error(this.$t('JournalCitationAnalysis.placeholder')); + return; + } + + // 弹出您截图中的 Final Confirmation + try { + await this.$confirm( + this.$t('JournalCitationAnalysis.doubleConfirmContent'), + this.$t('JournalCitationAnalysis.doubleConfirmTitle'), + { + confirmButtonText: this.$t('GroupClassification.submit'), + cancelButtonText: this.$t('JournalCitationAnalysis.cancel'), + type: 'warning', + center: true + } + ); + + // 用户点击了 Confirm Update,执行 API 保存 + this.executeSave(); + + } catch (error) { + // 用户取消了确认 + } + }, + + async executeSave() { + // 这里调用您的后端接口 + // const res = await api.updateFee(this.activeJournalId, this.tempFee); + this.$message.success(this.$t('JournalCitationAnalysis.updateSuccess')); + this.feeDialogVisible = false; + this.getDate(); // 刷新列表数据 + }, async handleAvatarSuccess2(res, file) { if (res.code == 0) { this.detailForm.editor_qrcode = res.upurl; diff --git a/src/components/page/articleAdd.vue b/src/components/page/articleAdd.vue index 4a2149e..19dfe4c 100644 --- a/src/components/page/articleAdd.vue +++ b/src/components/page/articleAdd.vue @@ -559,7 +559,7 @@ ref="uploadFile" class="upload-demo up_newstyle" :action="upload_articleCopyright" - accept=".pdf,.rar,.zip" + accept=".pdf, .zip" name="figurecopyright" :before-upload="beforeupload_articleCopyright" :on-error="uperr_coverLetter" diff --git a/src/components/page/articleAdd2.vue b/src/components/page/articleAdd2.vue index b927796..9529802 100644 --- a/src/components/page/articleAdd2.vue +++ b/src/components/page/articleAdd2.vue @@ -506,7 +506,7 @@ ref="uploadFile" class="upload-demo up_newstyle" :action="upload_articleCopyright" - accept=".pdf,.rar,.zip" + accept=".pdf, .zip" name="figurecopyright" :before-upload="beforeupload_articleCopyright" :on-error="uperr_coverLetter" diff --git a/src/components/page/articleDetailEditor.vue b/src/components/page/articleDetailEditor.vue index c4a5128..ab3b14e 100644 --- a/src/components/page/articleDetailEditor.vue +++ b/src/components/page/articleDetailEditor.vue @@ -550,10 +550,19 @@ - + + + Upload +

Figure Copyright Declaration :

-

+

+

I confirm that all figures in this manuscript are original.

+

I confirm that all figures in this manuscript used with proper permission.

+ +
+ +

@@ -563,6 +572,17 @@

+ +
@@ -659,7 +679,6 @@ >( {{ iken.rated }} ) Detail Manuscript submission : {{ form.username }} - ({{ form.user_email }}) + ({{ form.user_email }}) submitted to {{ journal_me }}

@@ -1009,9 +1028,9 @@ Cancel - + - +
{{ HIxForm.realname }}
Email :{{ HIxForm.email }}
@@ -1026,8 +1045,8 @@
- - + + * @@ -1043,9 +1062,27 @@ > + + @@ -1240,7 +1277,6 @@
-

{{ currentArticleData.ai_review.is_finish == 2 @@ -1328,7 +1364,6 @@

- Close
@@ -1338,13 +1373,16 @@ + +