Browse Source

区分ckp项目展示主页

java8
常熟吴彦祖 6 months ago
parent
commit
2ed5be9c8a
  1. 4
      src/store/modules/common.js
  2. 17
      src/views/common/home.vue

4
src/store/modules/common.js

@ -16,7 +16,9 @@ export default {
contentIsNeedRefresh: false, contentIsNeedRefresh: false,
// 主入口标签页 // 主入口标签页
mainTabs: [], mainTabs: [],
mainTabsActiveName: ''
mainTabsActiveName: '',
appName: 'CKP',
// appName: 'SRM',
}, },
mutations: { mutations: {
updateDocumentClientHeight (state, height) { updateDocumentClientHeight (state, height) {

17
src/views/common/home.vue

@ -1,12 +1,16 @@
<template> <template>
<div class="mod-home"> <div class="mod-home">
<!-- <h3>旭捷</h3>-->
<!-- <ul>-->
<!-- <li><h3>欢迎:{{userName}}!!!</h3></li>-->
<!-- </ul>-->
<iframe frameborder="0" style="width: 100%;height: 100%" :src="url">
<div v-if="appName==='CKP'">
<iframe frameborder="0" style="width: 100%;height: 100%" :src="url"> </iframe>
</div>
<div v-else>
<h3>旭捷</h3>
<ul>
<li><h3>欢迎: {{ userName }}!!!</h3></li>
</ul>
</div>
</iframe>
</div> </div>
</template> </template>
@ -20,6 +24,7 @@
// url:"http://xujiesoft.vicp.net:9191/bi/Show?uid=be15368c-bceb-11ef-9785-000c29f2c2b8", // url:"http://xujiesoft.vicp.net:9191/bi/Show?uid=be15368c-bceb-11ef-9785-000c29f2c2b8",
//url:"http://192.168.1.90:9191/chart/reportShow?uid=3c800188-b04b-11ef-abf0-000c2947c1cd", //url:"http://192.168.1.90:9191/chart/reportShow?uid=3c800188-b04b-11ef-abf0-000c2947c1cd",
url:"http://172.26.68.20:9191/bi/Show?uid=eefa66f1-b058-11ef-a145-3868dd5b136a", url:"http://172.26.68.20:9191/bi/Show?uid=eefa66f1-b058-11ef-a145-3868dd5b136a",
appName:this.$store.state.common.appName,
} }
}, },
methods: { methods: {

Loading…
Cancel
Save