|
@@ -1214,14 +1214,16 @@ var vNode = {
|
|
|
},
|
|
|
// 跳转三级页
|
|
|
goDetail: function(item){
|
|
|
- if (this.power.indexOf(5) > -1) {
|
|
|
- if (item.id) {
|
|
|
- var href = '/article/content/' + item.id + '.html'
|
|
|
- location.href = href
|
|
|
- }
|
|
|
- } else {
|
|
|
+ if (item.id) {
|
|
|
+ var href = '/article/content/' + item.id + '.html'
|
|
|
+ location.href = href
|
|
|
+ } else {
|
|
|
+ if (this.power.indexOf(5) == -1) {
|
|
|
this.openDialog()
|
|
|
+ } else {
|
|
|
+ console.log('没有id')
|
|
|
}
|
|
|
+ }
|
|
|
},
|
|
|
// 求最大项目数量
|
|
|
getMaxProjectCount: function (analysisArr) {
|