Browse Source

首页修改

sunlupeng 6 months ago
parent
commit
880dbff95f
2 changed files with 10 additions and 6 deletions
  1. 4 4
      config/prod.env.js
  2. 6 2
      src/views/dashboard/index.vue

+ 4 - 4
config/prod.env.js

@@ -2,9 +2,9 @@ module.exports = {
 	NODE_ENV: '"production"',
 	ENV_CONFIG: '"prod"',
 	// 阿里云环境
-  // BASE_API: '"http://47.103.79.143:9085/admin"',
-  // OS_API: '"http://47.103.79.143:9085/admin"'
+  BASE_API: '"http://47.103.79.143:9085/admin"',
+  OS_API: '"http://47.103.79.143:9085/admin"'
   //正式环境
-  BASE_API: '"https://xiaoyou.dgtis.com/admin"',
-  OS_API: '"https://xiaoyou.dgtis.com/admin"'
+  // BASE_API: '"https://xiaoyou.dgtis.com/admin"',
+  // OS_API: '"https://xiaoyou.dgtis.com/admin"'
 }

+ 6 - 2
src/views/dashboard/index.vue

@@ -1,5 +1,9 @@
 <template>
-  <el-row class="panel-group" :gutter="40">
+  <div style="height: 100vh;width: 100%;">
+    <iframe src="http://47.103.79.143:8026/cboard/cockpit.html?shareid=3kWhLIYY#/" width="100%" height="100%"></iframe>
+  </div>
+  
+  <!-- <el-row class="panel-group" :gutter="40">
     <el-col :xs="12" :sm="12" :lg="6" class="card-panel-col">
       <div class='card-panel' @click="handleSetLineChartData('newVisitis')">
         <div class="card-panel-icon-wrapper icon-people">
@@ -84,7 +88,7 @@
       </div>
     </el-col>
 
-  </el-row>
+  </el-row> -->
 </template>
 
 <script>