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/langs/en.js b/src/components/common/langs/en.js index adbad11..1496380 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -310,7 +310,8 @@ const en = { baseInfo: 'Base Information', country: 'Country', affiliation: 'Affiliation', - researchAreas: 'Research areas' + researchAreas: 'Research areas', + unsubscribeStatus: 'Subscription status' }, emptyMark: '-', fields: { @@ -327,7 +328,14 @@ const en = { detailCellEmpty: 'N/A', noFieldDetail: 'No publication details for these fields', exportWarn: 'Please select a research area, enter a keyword, or enter a field before exporting.', - exportFailed: 'Export failed' + exportFailed: 'Export failed', + unsubscribeNormal: 'Subscribed', + unsubscribeUnsubscribed: 'Unsubscribed', + unsubscribeSwitchOn: 'Unsub', + unsubscribeSwitchOff: 'Subscribed', + unsubscribeMissingId: 'Missing expert ID, unable to switch unsubscribe status', + unsubscribeUpdateSuccess: 'Unsubscribe status updated', + unsubscribeUpdateFailed: 'Failed to update unsubscribe status' }, countryManagement: { title: 'Country Management', diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index 3358a51..08dc441 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -299,7 +299,8 @@ const zh = { baseInfo: '基础信息', country: '国家', affiliation: '单位', - researchAreas: '研究领域' + researchAreas: '研究领域', + unsubscribeStatus: '订阅状态' }, emptyMark: '-', fields: { @@ -316,7 +317,14 @@ const zh = { detailCellEmpty: '暂无', noFieldDetail: '暂无领域对应的文献信息', exportWarn: '请选择研究领域或输入关键词或领域 field 后再导出。', - exportFailed: '导出失败' + exportFailed: '导出失败', + unsubscribeNormal: '已订阅', + unsubscribeUnsubscribed: '已退订', + unsubscribeSwitchOn: '退订', + unsubscribeSwitchOff: '已订阅', + unsubscribeMissingId: '缺少专家 ID,无法切换退订状态', + unsubscribeUpdateSuccess: '退订状态更新成功', + unsubscribeUpdateFailed: '退订状态更新失败' }, countryManagement: { title: '国家信息维护', diff --git a/src/components/page/autoPromotionLogs.vue b/src/components/page/autoPromotionLogs.vue index 0635b9a..c5cf550 100644 --- a/src/components/page/autoPromotionLogs.vue +++ b/src/components/page/autoPromotionLogs.vue @@ -381,7 +381,7 @@ export default { selectedStyleName: '', // 列表数据 - query: { keyword: '', state: 'all', pageIndex: 1, pageSize: 15 }, + query: { keyword: '', state: 'all', pageIndex: 1, pageSize: 10 }, list: [], total: 0, @@ -1035,7 +1035,7 @@ export default { journal_id: String(this.selectedJournalId || ''), factory_id: String(this.routePromotionFactoryId || ''), page: Number(this.query.pageIndex || 1), - per_page: Number(this.query.pageSize || 15) + per_page: Number(this.query.pageSize || 10) }; if (this.query.state !== 'all' && this.query.state !== '' && this.query.state != null) { params.state = String(this.query.state); diff --git a/src/components/page/expertDatabase.vue b/src/components/page/expertDatabase.vue index 8ed496a..71e6b4f 100644 --- a/src/components/page/expertDatabase.vue +++ b/src/components/page/expertDatabase.vue @@ -77,6 +77,32 @@ + + +