From caba79154ff3ca2243acdfc73afd29a41eb19540 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: Thu, 26 Dec 2024 10:56:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 4 +- src/components/common/Sidebar.vue | 4 ++ src/components/common/langs/en.js | 8 ++++ src/components/common/langs/zh.js | 8 ++++ src/components/page/PendingPaymentAuthor.vue | 36 ++++++++++++++ src/components/page/PendingPaymentEditor.vue | 39 +++++++++++++++ .../page/components/pendingPayment/index.vue | 48 +++++++++++++++++++ src/router/index.js | 14 ++++++ 8 files changed, 159 insertions(+), 2 deletions(-) create mode 100644 src/components/page/PendingPaymentAuthor.vue create mode 100644 src/components/page/PendingPaymentEditor.vue create mode 100644 src/components/page/components/pendingPayment/index.vue diff --git a/src/api/index.js b/src/api/index.js index 0b11630..170e883 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/Sidebar.vue b/src/components/common/Sidebar.vue index a712905..202f8ec 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -191,6 +191,10 @@ export default { index: '1', title: this.$t('sidebar.author'), subs: [ + { + index: 'PendingPaymentAuthor', + title: this.$t('sidebar.author4') + }, { index: 'articleList', title: this.$t('sidebar.author1') diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index f098518..31e3346 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -149,6 +149,7 @@ const en = { author: 'Author', author1: 'My manuscripts', author2: 'Submit manuscript', + author4: 'Pending payment', author3: 'Manuscripts in Draft', editor: 'Editor', editor1: 'Paper Editing System', @@ -374,6 +375,13 @@ const en = { reContent:'Are you sure you want to restore this content?', uploadImageInfo:'Figures can only upload files in JPG, JPEG, and PNG formats!' }, + pendingPayment:{ + title:'Title', + journal:'Journal', + Paymentamount:'Payment Amount', + Paymentstatus:'Payment Status', + payment:'Online Payment', + } } diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index ced39a1..d47ec6b 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -143,6 +143,7 @@ const zh = { author1: '我的稿件', author2: '新增稿件', author3: '草稿箱', + author4: '待缴费', editor: '编辑', editor1: '待审稿件', editormanage: '编辑管理', @@ -367,6 +368,13 @@ const zh = { reContent:'确定要恢复这条内容吗?', uploadImageInfo:'Figures 只能上传 JPG、JPEG 和 PNG 格式的文件' }, + pendingPayment:{ + title:'Title', + journal:'期刊', + Paymentamount:'缴费金额', + Paymentstatus:'缴费状态', + payment:'在线缴费', + } } diff --git a/src/components/page/PendingPaymentAuthor.vue b/src/components/page/PendingPaymentAuthor.vue new file mode 100644 index 0000000..906b48e --- /dev/null +++ b/src/components/page/PendingPaymentAuthor.vue @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/src/components/page/PendingPaymentEditor.vue b/src/components/page/PendingPaymentEditor.vue new file mode 100644 index 0000000..54a8e9d --- /dev/null +++ b/src/components/page/PendingPaymentEditor.vue @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/src/components/page/components/pendingPayment/index.vue b/src/components/page/components/pendingPayment/index.vue new file mode 100644 index 0000000..dbd612e --- /dev/null +++ b/src/components/page/components/pendingPayment/index.vue @@ -0,0 +1,48 @@ + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 999e293..b2632f1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -312,6 +312,20 @@ export default new Router({ title: 'Submit manuscript' } }, + { + path: '/PendingPaymentEditor', + component: () => import('../components/page/PendingPaymentEditor.vue'), + meta: { + title: 'Pending Payment' + } + }, + { + path: '/PendingPaymentAuthor', + component: () => import('../components/page/PendingPaymentAuthor.vue'), + meta: { + title: 'Pending Payment' + } + }, { path: '/articleReviewer', component: () => import('../components/page/articleReviewer.vue'),