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?'收起':'展开'}}
+