|
@@ -30,6 +30,9 @@
|
|
|
<div class="right-menu-item" v-if="bigViewsBool" @click="goBigViews">
|
|
|
<el-button size="mini">数据大屏</el-button>
|
|
|
</div>
|
|
|
+ <div class="right-menu-item" v-if="bigViews2Bool" @click="goBigViews2">
|
|
|
+ <el-button size="mini">NEW 数据大屏</el-button>
|
|
|
+ </div>
|
|
|
<div class="right-menu-item">
|
|
|
<el-autocomplete
|
|
|
v-model="pathurl"
|
|
@@ -311,6 +314,7 @@ import vScrollView from 'v-scroll-view'
|
|
|
import NoticeBar from '@/components/NoticeBar'
|
|
|
import { pages } from '@/settings'
|
|
|
import request from '@/utils/request'
|
|
|
+import { bigDataJsmLogin } from '@/api/bigView.js'
|
|
|
function getc(obj) {
|
|
|
if (!obj.children || !obj.children.length) {
|
|
|
return obj
|
|
@@ -359,6 +363,9 @@ export default {
|
|
|
bigViewsBool() {
|
|
|
return !!global.antRouter.find(item => item.code == 'bigViews')
|
|
|
},
|
|
|
+ bigViews2Bool() {
|
|
|
+ return !!global.antRouter.find(item => item.code == 'bigViews2')
|
|
|
+ },
|
|
|
noticeVisible() {
|
|
|
return this.noticeCount > 0
|
|
|
},
|
|
@@ -473,6 +480,13 @@ export default {
|
|
|
name: 'bigViews'
|
|
|
})
|
|
|
},
|
|
|
+ goBigViews2() {
|
|
|
+ bigDataJsmLogin().then(res => {
|
|
|
+ if (res.data) {
|
|
|
+ window.open(`${process.env.VUE_APP_NEW_BIG_VIEW}${res.data}`, '_blank')
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
querySearchAsync(queryString, cb) {
|
|
|
var data = pages.filter(
|
|
|
item =>
|