guhongwei 4 年 前
コミット
94f623f678

+ 6 - 8
src/layout/userCenter/menuInfo.vue

@@ -46,16 +46,16 @@
             </el-menu-item>
             <el-menu-item index="6">
               <template slot="title">
-                <i class="el-icon-edit"></i>
-                <span>修改密码</span>
+                <i class="el-icon-s-order"></i>
+                <span>项目征集管理</span>
               </template>
             </el-menu-item>
-            <!-- <el-menu-item index="7">
+            <el-menu-item index="7">
               <template slot="title">
-                <i class="el-icon-circle-close"></i>
-                <span>返回</span>
+                <i class="el-icon-edit"></i>
+                <span>修改密码</span>
               </template>
-            </el-menu-item> -->
+            </el-menu-item>
             <el-menu-item index="8">
               <template slot="title">
                 <i class="el-icon-circle-close"></i>
@@ -116,8 +116,6 @@ export default {
           type: 'success',
         });
         this.$router.push({ path: '/webLogin' });
-      } else if (key == '7') {
-        this.$router.go(-1);
       } else {
         this.$router.push({ path: '/userCenter/index', query: { num: key } });
       }

+ 1 - 1
src/views/superAdminCenter/index.vue

@@ -104,7 +104,7 @@ export default {
     setRight(menu) {
       let { name, cpt } = menu;
       this.$set(this, `topTitle`, name);
-      this.$set(this, `cpt`, 'investigation');
+      this.$set(this, `cpt`, cpt);
     },
   },
   computed: {

+ 5 - 0
src/views/userCenter/index.vue

@@ -27,6 +27,9 @@
                 <dockInfo></dockInfo>
               </span>
               <span v-else-if="num == '6'">
+                <projectInfo></projectInfo>
+              </span>
+              <span v-else-if="num == '7'">
                 <password></password>
               </span>
               <span v-else>
@@ -52,6 +55,7 @@ import message from './message/index.vue';
 import productInfo from './productInfo/index.vue';
 import eventInfo from './eventInfo/index.vue';
 import dockInfo from './dockInfo/index.vue';
+import projectInfo from './projectInfo/index.vue';
 import password from './password/index.vue';
 import { mapState, createNamespacedHelpers } from 'vuex';
 export default {
@@ -66,6 +70,7 @@ export default {
     productInfo, //我的发布
     eventInfo, //事项管理
     dockInfo, //展会管理
+    projectInfo, //项目征集
     password, //修改密码
   },
   data: function() {

+ 53 - 0
src/views/userCenter/projectInfo/index.vue

@@ -0,0 +1,53 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24" class="main">
+        <el-col :span="24" class="leftTop"> <span>|</span> <span>项目征集管理</span> </el-col>
+        <el-col :span="24" class="info">
+          列表
+        </el-col>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+  name: 'index',
+  props: {},
+  components: {},
+  data: function() {
+    return {};
+  },
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+  },
+  watch: {},
+};
+</script>
+
+<style lang="less" scoped>
+.main {
+  .leftTop {
+    font-size: 18px;
+    width: 96%;
+    height: 41px;
+    line-height: 35px;
+    border-bottom: 1px solid #e5e5e5;
+    position: relative;
+    bottom: 1px;
+    margin: 10px;
+    font-weight: 600;
+    color: #22529a;
+  }
+  .info {
+    padding: 0 40px 0 10px;
+  }
+}
+</style>