兰代清没头发
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<span v-if="nav.desc" class="content-desc">{{ nav.desc.substr(0, 8) + '...' }}</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<el-tooltip class="item" effect="dark" content="详情" placement="right">
|
||||
<el-tooltip class="item" effect="dark" content="详情" placement="right" @click="goToNavDetail()">
|
||||
<i style="margin-left: 3px" class="card-icon el-icon-d-arrow-right"></i>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
@@ -57,37 +57,38 @@ export default {
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
getQR(url_id,icon_url) {
|
||||
let _this=this;
|
||||
axios({
|
||||
method: 'post',
|
||||
url: '/api/qrcode/qrc_return',
|
||||
params:{
|
||||
url_id:url_id,
|
||||
icon_url:icon_url
|
||||
}
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
// if(res.data){
|
||||
// _this.navList=res.data;
|
||||
// }
|
||||
}).catch((error)=>{
|
||||
Vue.prototype.$notify.error({
|
||||
title: '错误',
|
||||
message: error===null?'':error,
|
||||
offset: 0
|
||||
});
|
||||
})
|
||||
|
||||
},
|
||||
// getQR(url_id,icon_url) {
|
||||
// let _this=this;
|
||||
// axios({
|
||||
// method: 'post',
|
||||
// url: '/api/qrcode/qrc_return',
|
||||
// params:{
|
||||
// url_id:url_id,
|
||||
// icon_url:icon_url
|
||||
// }
|
||||
// }).then(function (res) {
|
||||
// if(res.data){
|
||||
// _this.navList=res.data;
|
||||
// }
|
||||
// }).catch((error)=>{
|
||||
// Vue.prototype.$notify.error({
|
||||
// title: '错误',
|
||||
// message: error===null?'':error,
|
||||
// offset: 0
|
||||
// });
|
||||
// })
|
||||
//
|
||||
// },
|
||||
goToNavDetail(){
|
||||
if(this.nav.urlId){
|
||||
this.$router.push({
|
||||
path:'/nav',
|
||||
query: {
|
||||
id: this.nav.urlId,
|
||||
refresh: true
|
||||
}})
|
||||
let pathInfo = this.$router.resolve({
|
||||
path: '/nav',
|
||||
query:{
|
||||
uid:this.nav.urlId,
|
||||
refresh:true,
|
||||
}
|
||||
})
|
||||
window.open(pathInfo.href, '_self');
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user