guhongwei пре 4 година
родитељ
комит
bb527a107e

+ 17 - 5
src/layout/adminCenter/menuInfo.vue

@@ -47,22 +47,34 @@
             <el-menu-item index="6">
               <template slot="title">
                 <i class="el-icon-notebook-1"></i>
-                <span>统计报表</span>
+                <span>在线指导</span>
               </template>
             </el-menu-item>
             <el-menu-item index="7">
               <template slot="title">
                 <i class="el-icon-notebook-1"></i>
-                <span>动态监测</span>
+                <span>项目路演</span>
               </template>
             </el-menu-item>
             <el-menu-item index="8">
+              <template slot="title">
+                <i class="el-icon-notebook-1"></i>
+                <span>统计报表</span>
+              </template>
+            </el-menu-item>
+            <el-menu-item index="9">
+              <template slot="title">
+                <i class="el-icon-notebook-1"></i>
+                <span>动态监测</span>
+              </template>
+            </el-menu-item>
+            <el-menu-item index="10">
               <template slot="title">
                 <i class="el-icon-refresh-right"></i>
                 <span>返回</span>
               </template>
             </el-menu-item>
-            <el-menu-item index="9">
+            <el-menu-item index="11">
               <template slot="title">
                 <i class="el-icon-circle-close"></i>
                 <span>退出登录</span>
@@ -100,14 +112,14 @@ export default {
     ...dock(['fetch', 'query', 'delete', 'update', 'fetch']),
     // 菜单跳转
     async selectMenu(key) {
-      if (key == '9') {
+      if (key == '11') {
         this.logout();
         this.$message({
           message: '退出登录成功',
           type: 'success',
         });
         this.$router.push({ path: '/newlogin' });
-      } else if (key == '8') {
+      } else if (key == '10') {
         let res = await this.fetch(this.user.uid);
         this.$router.push({ path: '/hall/direct', query: { id: res.data.id, title: res.data.title } });
       } else {

+ 14 - 4
src/views/adminCenter/index.vue

@@ -27,9 +27,15 @@
                 <transaction></transaction>
               </span>
               <span v-else-if="num == '6'">
-                <statisInfo></statisInfo>
+                <zxzd></zxzd>
               </span>
               <span v-else-if="num == '7'">
+                <xmly></xmly>
+              </span>
+              <span v-else-if="num == '8'">
+                <statisInfo></statisInfo>
+              </span>
+              <span v-else-if="num == '9'">
                 <dynamicInfo></dynamicInfo>
               </span>
               <span v-else>
@@ -57,6 +63,8 @@ import statisInfo from './statisInfo/index.vue';
 import applyInfo from './applyInfo/index.vue';
 import vipInfo from './vipInfo/index.vue';
 import dynamicInfo from './dynamicInfo/index.vue';
+import zxzd from './zxzd/index.vue';
+import xmly from './xmly/index.vue';
 import { mapState, createNamespacedHelpers } from 'vuex';
 export default {
   name: 'index',
@@ -72,6 +80,8 @@ export default {
     transaction, //交易确定
     statisInfo, //统计报表
     dynamicInfo, //动态监测
+    zxzd, //在线指导
+    xmly, //项目路演
   },
   data: function() {
     return {};
@@ -102,17 +112,17 @@ export default {
   background-color: #e9edf6;
 }
 .main {
-  min-height: 600px;
+  min-height: 666px;
   margin: 15px 0;
 }
 .mainMenu {
   width: 20%;
-  min-height: 600px;
+  min-height: 666px;
   background-color: #fff;
 }
 .mainMess {
   float: right;
-  min-height: 600px;
+  min-height: 666px;
   background-color: #fff;
 }
 </style>

+ 35 - 0
src/views/adminCenter/xmly/index.vue

@@ -0,0 +1,35 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24">
+        项目路演
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  name: 'index',
+  props: {},
+  components: {},
+  data: function() {
+    return {};
+  },
+
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+    pageTitle() {
+      return `${this.$route.meta.title}`;
+    },
+  },
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+};
+</script>
+
+<style lang="less" scoped></style>

+ 34 - 0
src/views/adminCenter/zxzd/index.vue

@@ -0,0 +1,34 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24">
+        在线指导
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  name: 'index',
+  props: {},
+  components: {},
+  data: function() {
+    return {};
+  },
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+    pageTitle() {
+      return `${this.$route.meta.title}`;
+    },
+  },
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+};
+</script>
+
+<style lang="less" scoped></style>