diff --git a/src/views/portal/article/Detail.vue b/src/views/portal/article/Detail.vue
index bedbdfed..aac64e00 100644
--- a/src/views/portal/article/Detail.vue
+++ b/src/views/portal/article/Detail.vue
@@ -60,22 +60,22 @@
-
-
+
-
+
-
+
-
+
-
+
- {{ item.sysCreateUname }}
+ {{ item.sysCreateUname }} ({{ item.orinfo }})
@@ -133,6 +133,7 @@ export default {
},
data() {
return {
+ ankIds:[],
resonimg:{},
fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL,
noData:true,
@@ -218,6 +219,19 @@ export default {
apiArticle.countsUsername(5).then(res => {
if (res.status == 200) {
this.ankingList = res.result;
+ let ids = [];
+ this.ankingList.forEach(item =>{
+ ids.push(item.sysCreateAid);
+ })
+ apiUser.getByIds(ids).then(res=>{
+ res.result.forEach(item=>{
+ this.ankIds.push(item.orgInfo);
+ this.ankingList.forEach((value, index) => {
+ value['orinfo'] = this.ankIds[index];
+ })
+ })
+ // console.log(this.ankingList);
+ })
}
});
},
@@ -291,6 +305,11 @@ export default {