From d5cfca7cb7df4bacff346e76175c4d304a955c95 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Wed, 8 Jun 2022 19:13:28 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=A1=88=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Detail.vue | 23 +++++++++++++++++++++-- src/views/portal/case/Index.vue | 18 +++++++++++++----- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/src/views/portal/case/Detail.vue b/src/views/portal/case/Detail.vue index af451c38..06ff0aa5 100644 --- a/src/views/portal/case/Detail.vue +++ b/src/views/portal/case/Detail.vue @@ -18,7 +18,11 @@ 工号:{{ authorInfo.code }} 部门:{{ authorInfo.orgInfo }} - {{ caseDetail.sysCreateTime.substring(0,10) }} + + + +
+ {{ caseDetail.sysCreateTime.substring(0,10) }}
@@ -148,6 +152,7 @@ export default { }, data() { return { + // orginfo:'京东方科技集团股份有限公司/北京中祥英科技有限公司/技术中心/成都开发部', toUsers:[], ankingList:[], Popularity:[], @@ -164,6 +169,7 @@ export default { }; }, mounted() { + //this.pdfPath=this.basePath+'/case/demo1.pdf'; this.resolveId = this.$route.query.id; if (this.resolveId) { @@ -178,6 +184,14 @@ export default { ); }, methods: { + // info(){ + // if(this.orginfo){ + // let idx=this.orginfo.indexOf('/'); + // if(idx>-1){ + // this.orginfo=this.orginfo.substring(idx+1); + // } + // } + // }, createPlayUrl(u){ let nowDate=new Date(); let ctime=parseInt(nowDate.getTime()/1000); @@ -253,7 +267,12 @@ export default { getCaseUserDetail() { apiUser.getByIds([this.caseDetail.authorId]).then(res => { if (res.status == 200 && res.result.length>0) { - this.authorInfo = res.result[0]; + this.authorInfo = res.result[0]; + console.log(this.authorInfo) + let idx=this.authorInfo.orgInfo.indexOf('/'); + if(idx>-1){ + this.authorInfo.orgInfo=this.authorInfo.orgInfo.substring(idx+1); + } this.toUsers = [ {name: res.result[0].name, aid:res.result[0].aid ,sex:res.result[0].sex} ]; diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index eba4c178..f28256e2 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -78,8 +78,9 @@
-
+
+
@@ -88,13 +89,15 @@
-
+
+
+
{{ item.keyword1 }} {{ item.keyword2 }} @@ -103,14 +106,19 @@ {{ item.keyword5 }}
+ +
- + {{displayAll(item)}} - - + + + + {{item.isAll?'收起':'展开'}}
+
From 0a864937dd5efb6fcbcd6998a6f48984d3433c5a Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Wed, 8 Jun 2022 19:27:30 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=88=86=E4=BA=AB=E7=BB=99=E6=88=91?= =?UTF-8?q?=E7=9A=84=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Article/shareItems.vue | 8 ++++---- src/components/Course/shareItem.vue | 7 ++++++- src/views/portal/case/Detail.vue | 17 ++--------------- src/views/share/ToList.vue | 2 ++ 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/src/components/Article/shareItems.vue b/src/components/Article/shareItems.vue index 19e694fb..c1137264 100644 --- a/src/components/Article/shareItems.vue +++ b/src/components/Article/shareItems.vue @@ -6,9 +6,9 @@ 【已查看】 【未查看】 - +
-