guhongwei před 4 roky
rodič
revize
5f564dc54e

+ 1 - 1
dict/index.js

@@ -56,7 +56,7 @@ export const progressType = [
 export const openColumn = [
   { label: '科技项目评审', value: 'one' },
   { label: '高企政策服务', value: 'two' },
-  { label: '创新券服务', value: 'thr' },
+  { label: '高企申报服务', value: 'thr' },
   { label: '科技成果评价', value: 'four' },
   { label: '专家智库', value: 'five' },
   { label: '企业管理', value: 'six' },

+ 0 - 128
src/components/adminCommon/frame copy.vue

@@ -1,128 +0,0 @@
-<template>
-  <div id="frame">
-    <el-container style="height: 100vh">
-      <el-header class="header">
-        <el-col :span="20" class="left">
-          <div>环南湖科创先导区双创服务平台-管理中心</div>
-        </el-col>
-        <el-col :span="4" class="right">
-          <span>{{ user ? user.name : '游客' }}</span>
-          <span @click="logoutBtn"><i class="el-icon-switch-button"></i></span>
-        </el-col>
-      </el-header>
-      <el-container class="container">
-        <el-aside width="200px" class="aside">
-          <el-menu
-            :default-active="$route.path"
-            class="el-menu-vertical-demo"
-            background-color="#242f42"
-            text-color="#fff"
-            active-text-color="#409eff"
-            router
-            overflow-y:
-            scroll
-          >
-            <el-menu-item index="/adminCenter/homeIndex">首页</el-menu-item>
-            <el-menu-item v-for="(item, index) in menuList" :key="index" :index="item.index">{{ item.name }}</el-menu-item>
-          </el-menu>
-        </el-aside>
-        <el-main class="main">
-          <router-view></router-view>
-        </el-main>
-      </el-container>
-    </el-container>
-  </div>
-</template>
-
-<script>
-import * as menu from './menu.js';
-import { mapState, createNamespacedHelpers } from 'vuex';
-export default {
-  name: 'frame',
-  props: {},
-  components: {},
-  data: function() {
-    return {
-      menuList: [],
-    };
-  },
-  created() {},
-  methods: {
-    // 退出登录
-    logoutBtn() {
-      localStorage.removeItem('token');
-      localStorage.removeItem('type');
-      this.$router.push({ path: '/' });
-    },
-    // 查询用户菜单
-    searchMenu() {
-      if (this.type == 'FWJG') {
-        this.$set(this, `menuList`, menu.fwjg);
-      } else if (this.type == 'QY') {
-        this.$set(this, `menuList`, menu.qy);
-      } else if (this.type == 'ZJJG') {
-        this.$set(this, `menuList`, menu.zjjg);
-      } else if (this.type == 'ZJ') {
-        this.$set(this, `menuList`, menu.ZJ);
-      }
-    },
-  },
-  computed: {
-    ...mapState(['user']),
-    type() {
-      return localStorage.getItem('type');
-    },
-  },
-  metaInfo() {
-    return { title: this.$route.meta.title };
-  },
-  watch: {
-    type: {
-      deep: true,
-      immediate: true,
-      handler(val) {
-        this.searchMenu();
-      },
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.header {
-  border-bottom: 1px solid #f1f1f1;
-  background-color: #242f42;
-  .left {
-    height: 60px;
-    line-height: 60px;
-    font-size: 25px;
-    font-family: cursive;
-    font-weight: bold;
-    color: #fff;
-  }
-  .right {
-    height: 60px;
-    line-height: 60px;
-    font-size: 20px;
-    text-align: right;
-    color: #fff;
-    span {
-      padding: 0 10px;
-      i {
-        font-weight: bold;
-      }
-    }
-    span:hover {
-      cursor: pointer;
-      i {
-        color: #ff0000;
-      }
-    }
-  }
-}
-.container {
-  .aside {
-    background-color: #242f42;
-  }
-}
-</style>

+ 0 - 100
src/components/adminCommon/menu.js

@@ -130,106 +130,6 @@ export const fwjg = [
       },
     ],
   },
-  // {
-  //   icon: 'iconchaoshi1',
-  //   index: '3',
-  //   title: '技术超市管理',
-  //   subs: [
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/product?type=1',
-  //       title: '技术成果',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/product?type=0',
-  //       title: '科技需求',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/product?type=2',
-  //       title: '商务服务',
-  //     },
-  //   ],
-  // },
-  // {
-  //   icon: 'iconxinwenzixun',
-  //   index: '/adminCenter/news',
-  //   title: '新闻管理',
-  // },
-  // {
-  //   icon: 'iconzhuanli',
-  //   index: '/adminCenter/patent',
-  //   title: '专利管理',
-  // },
-  // {
-  //   icon: 'iconxiangmuluyan',
-  //   index: '/adminCenter/roadShow',
-  //   title: '路演管理',
-  // },
-  // {
-  //   icon: 'iconpeixun',
-  //   index: '/adminCenter/online',
-  //   title: '宣传培训管理',
-  // },
-  // {
-  //   icon: 'iconxinxiinformation38',
-  //   index: '/adminCenter/openinfo',
-  //   title: '信息公开管理',
-  // },
-  // {
-  //   icon: 'iconzhengce1',
-  //   index: '/adminCenter/policy',
-  //   title: '高企政策服务管理',
-  // },
-  // {
-  //   icon: 'iconzhengce1',
-  //   index: '4',
-  //   title: '创新劵服务管理',
-  //   subs: [
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=0',
-  //       title: '资质审查中',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=-1',
-  //       title: '资质审查失败',
-  //     },
-
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=1',
-  //       title: '企业准备订单',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=2',
-  //       title: '信息资料审查中',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=-3',
-  //       title: '信息资料审查失败',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=3',
-  //       title: '订单入库',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=4',
-  //       title: '高企认证成功',
-  //     },
-  //     {
-  //       icon: 'el-icon-s-home',
-  //       index: '/adminCenter/ticket?status=5',
-  //       title: '创新券',
-  //     },
-  //   ],
-  // },
 ];
 export const qy = [
   {

+ 3 - 3
src/store/ticket.js

@@ -5,7 +5,7 @@ import { registerCoordinateSystem } from 'echarts';
 Vue.use(Vuex);
 const api = {
   interface: `/api/m/main/ticket`,
-  statistics: `/api/m/main/statistics`,
+  statistics: `/api/m/main/statistics/ticket`,
 };
 const state = () => ({});
 const mutations = {};
@@ -44,8 +44,8 @@ const actions = {
     const res = await this.$axios.$get(`${api.interface}Record`, payload);
     return res;
   },
-  async staQuery({ commit }, { type }) {
-    const res = await this.$axios.$get(`${api.statistics}/${type}`);
+  async staQuery({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.statistics}`, payload);
     return res;
   },
 };