mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
分享给我的跳转
This commit is contained in:
@@ -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}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user