xiejiacheng 5 rokov pred
rodič
commit
7c61402e4f

+ 12 - 12
src/store.js

@@ -30,24 +30,24 @@ const api = {
   fairCorp: '/api/jobs/faircorps',
   fairJobs: '/api/jobs/faircorps/{id}/jobs',
   //分站菜单
-  menuQuery: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/menu/list`,
+  menuQuery: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/menu/list`,
   menuSearch: `/adminapi/menu/fetch/{id}`,
   // 站点管理
-  siteQuery: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/site/query`,
-  siteFetch: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/site/config`,
-  siteContent: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/site/content`,
+  siteQuery: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/site/query`,
+  siteFetch: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/site/config`,
+  siteContent: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/site/content`,
   // 新闻管理
-  newsQuery: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/news/list`,
-  newsFetch: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/news/fetch/{id}`,
-  bugInfo: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/newscreeper/fetch/{id}`,
+  newsQuery: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/news/list`,
+  newsFetch: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/news/fetch/{id}`,
+  bugInfo: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/newscreeper/fetch/{id}`,
   //栏目管理
-  columnQuery: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/column/list`,
-  columnFetch: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/column/fetch/{id}`,
-  bugList: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/newscreeper/list`,
+  columnQuery: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/column/list`,
+  columnFetch: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/column/fetch/{id}`,
+  bugList: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/newscreeper/list`,
   //模块管理
-  moduleQuery: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/modules/list`,
+  moduleQuery: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/modules/list`,
   //合作单位/友情链接
-  linkQuery: `${process.env.NODE_ENV === 'development' ? '/adminapi' : '/api/cms'}/img/list`,
+  linkQuery: `${process.env.NODE_ENV !== 'development' ? '/adminapi' : '/api/cms'}/img/list`,
 
   // 学生关注企业
   // stucorp: `/adminapi${process.env.NODE_ENV === 'development' ? '' : ' / jobs'}/studentcorp`,

+ 1 - 0
src/util/web-common

@@ -0,0 +1 @@
+Subproject commit b7f10fcde5c119a8b9ead0c1ca154e74246a0520

+ 4 - 1
src/views/jobfair/list.vue

@@ -8,7 +8,10 @@
             <el-breadcrumb-item>
               <a href="/"><span>招聘信息</span></a>
             </el-breadcrumb-item>
-            <el-breadcrumb-item><span>双选会</span></el-breadcrumb-item>
+            <el-breadcrumb-item>
+              <div v-if="type === 'in'"><span>校内招聘会</span></div>
+              <div v-else><span>校外招聘会</span></div>
+            </el-breadcrumb-item>
           </el-breadcrumb>
         </el-col>
       </el-col>

+ 4 - 1
src/views/jobs/list.vue

@@ -8,7 +8,10 @@
             <el-breadcrumb-item>
               <a href="/"><span>招聘信息</span></a>
             </el-breadcrumb-item>
-            <el-breadcrumb-item><span>宣讲会</span></el-breadcrumb-item>
+            <el-breadcrumb-item>
+              <div v-if="this.$route.params.type === 'official'"><span>正式岗位</span></div>
+              <div v-else><span>实习岗位</span></div>
+            </el-breadcrumb-item>
           </el-breadcrumb>
         </el-col>
       </el-col>

+ 4 - 1
src/views/talk/list.vue

@@ -8,7 +8,10 @@
             <el-breadcrumb-item>
               <a href="/"><span>招聘信息</span></a>
             </el-breadcrumb-item>
-            <el-breadcrumb-item><span>宣讲会</span></el-breadcrumb-item>
+            <el-breadcrumb-item>
+              <div v-if="type === 'in'"><span>校内宣讲会</span></div>
+              <div v-else><span>校外宣讲会</span></div>
+            </el-breadcrumb-item>
           </el-breadcrumb>
         </el-col>
       </el-col>