From bc5f3d7456eb33b71fc722b3dc59315bd34c9046 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, 12 Sep 2024 17:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/langs/en.js | 8 +++ src/components/common/langs/zh.js | 7 +++ src/components/page/partyRole.vue | 94 ++++++++++++++++++++++++++++--- 3 files changed, 101 insertions(+), 8 deletions(-) diff --git a/src/components/common/langs/en.js b/src/components/common/langs/en.js index eff04f8..65ec5fc 100644 --- a/src/components/common/langs/en.js +++ b/src/components/common/langs/en.js @@ -59,6 +59,14 @@ const en = { all:'All references', factor: 'Factor', }, + + partyRole:{ + identity:'Identity', + InvestorProducer:'Investor Producer', + author:'Author', + status:'Status', + Published:'Published', + }, paperArticleCount:{ Periodroll:'Period Roll', article:'Articles', diff --git a/src/components/common/langs/zh.js b/src/components/common/langs/zh.js index 207fc76..bb13c9f 100644 --- a/src/components/common/langs/zh.js +++ b/src/components/common/langs/zh.js @@ -68,6 +68,13 @@ const zh = { relation: '关联', }, + partyRole:{ + identity:'身份', + InvestorProducer:'投稿者', + author:'作者', + status:'状态', + Published:'已发表', + }, sidebar: { main: '个人中心', author: '作者', diff --git a/src/components/page/partyRole.vue b/src/components/page/partyRole.vue index 250d514..054bd3b 100644 --- a/src/components/page/partyRole.vue +++ b/src/components/page/partyRole.vue @@ -108,8 +108,10 @@
-

If you want to update your resume, please upload it.

- +

+ If you want to update your resume, please upload it. +

+ - - -

Author

-
-

+

+
+ + + + + + + + + + + + +
+
@@ -690,6 +759,7 @@ export default { data() { return { loading: false, + authorArticlesList: [], userrole: localStorage.getItem('U_status'), baseUrl: this.Common.baseUrl, mediaUrl: this.Common.mediaUrl, @@ -1025,6 +1095,9 @@ export default { this.coreTable = res.data.baseInfo; this.cvitaTable = res.data.cvs; + if (res.data.Author) { + this.authorArticlesList = res.data.Author.articles ? res.data.Author.articles : []; + } if (res.data.asAuthor) { this.authorTable = res.data.asAuthor; } @@ -1981,4 +2054,9 @@ export default { font-weight: bold; margin-left: 10px; } +/deep/.articleTable .el-table th { + background-color: #f0f0f0 !important; + color: #006699 !important; + padding: 3px !important; +}