diff --git a/src/store/modules/common.js b/src/store/modules/common.js index 1903bb4..d808b36 100644 --- a/src/store/modules/common.js +++ b/src/store/modules/common.js @@ -16,7 +16,9 @@ export default { contentIsNeedRefresh: false, // 主入口标签页 mainTabs: [], - mainTabsActiveName: '' + mainTabsActiveName: '', + appName: 'CKP', + // appName: 'SRM', }, mutations: { updateDocumentClientHeight (state, height) { diff --git a/src/views/common/home.vue b/src/views/common/home.vue index c3dbd7f..f2c6b27 100644 --- a/src/views/common/home.vue +++ b/src/views/common/home.vue @@ -1,12 +1,16 @@ @@ -20,6 +24,7 @@ // 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://172.26.68.20:9191/bi/Show?uid=eefa66f1-b058-11ef-a145-3868dd5b136a", + appName:this.$store.state.common.appName, } }, methods: {