分享给我的跳转

This commit is contained in:
zhaofang
2022-06-08 19:27:30 +08:00
parent d5cfca7cb7
commit 0a864937dd
4 changed files with 14 additions and 20 deletions

View File

@@ -42,7 +42,7 @@
<pdfPreview v-if="pdfPath" :filePath="pdfPath"></pdfPreview>
</el-card>
<!-- :authorId="articleDetailData.sysCreateAid" -->
<el-row><comments @success="success" v-if="resolveId != ''" :obj-type="3" :obj-id="resolveId" :authorId="caseDetail.sysCreateAid" :toUsers="toUsers"></comments></el-row>
<el-row><comments @success="success" v-if="resolveId != ''" :obj-type="3" :obj-id="resolveId" :authorId="caseDetail.authorId" :toUsers="toUsers"></comments></el-row>
</el-col>
</el-row>
</div>
@@ -152,7 +152,6 @@ export default {
},
data() {
return {
// orginfo:'京东方科技集团股份有限公司/北京中祥英科技有限公司/技术中心/成都开发部',
toUsers:[],
ankingList:[],
Popularity:[],
@@ -169,7 +168,6 @@ export default {
};
},
mounted() {
//this.pdfPath=this.basePath+'/case/demo1.pdf';
this.resolveId = this.$route.query.id;
if (this.resolveId) {
@@ -184,14 +182,6 @@ 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);
@@ -227,7 +217,6 @@ export default {
apiCase.usernameList(5).then(res=>{
if(res.status==200){
this.ankingList=res.result
// console.log(res)
}
})
},
@@ -235,7 +224,6 @@ export default {
apiCase.queryPraises(5).then(res=>{
if(res.status==200){
this.Popularity=res.result
// console.log(this.Popularity)
}
})
},
@@ -243,7 +231,6 @@ export default {
apiCase.queryComments(5).then(res=>{
if(res.status==200){
this.Positive=res.result
console.log(res)
}
})
},
@@ -272,7 +259,7 @@ export default {
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}
];