guhongwei 4 anni fa
parent
commit
30873d498b

+ 1 - 1
src/layout/adminCenter/menuInfo.vue

@@ -47,7 +47,7 @@
             <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">

+ 2 - 2
src/router/index.js

@@ -262,11 +262,11 @@ const live = [
     component: () => import('../views/hall/productList/technologyList.vue'),
   },
   // 07-16增加
-  // 在线指导
+  // 嘉宾访谈
   {
     path: '/hall/zxzdxmly/zxzdDetail',
     name: 'zxzdxmly_zxzdDetail',
-    meta: { title: '在线指导', subSite: true },
+    meta: { title: '嘉宾访谈', subSite: true },
     component: () => import('../views/hall/zxzdxmly/zxzdDetail.vue'),
   },
   // 项目路演

+ 1 - 1
src/store/index.js

@@ -9,7 +9,7 @@ import news from './live/news';
 import personalchat from './live/personalchat';
 import personalroom from './live/personalroom';
 import comment from './live/comment';
-// 在线指导
+// 嘉宾访谈
 import newsguidance from './live/newsguidance';
 // 项目路演
 import newsroadshow from './live/newsroadshow';

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

@@ -80,7 +80,7 @@ export default {
     transaction, //交易确定
     statisInfo, //统计报表
     dynamicInfo, //动态监测
-    zxzd, //在线指导
+    zxzd, //嘉宾访谈
     xmly, //项目路演
   },
   data: function() {

+ 1 - 1
src/views/adminCenter/zxzd/index.vue

@@ -2,7 +2,7 @@
   <div id="index">
     <el-row>
       <el-col :span="24">
-        <el-col :span="24" class="leftTop"> <span>|</span> <span>在线指导</span> </el-col>
+        <el-col :span="24" class="leftTop"> <span>|</span> <span>嘉宾访谈</span> </el-col>
         <el-col :span="24" class="info">
           <span v-if="view == 'list'">
             <el-col :span="24" class="add">

+ 2 - 2
src/views/hall/direct.vue

@@ -372,7 +372,7 @@
             <div class="fangtan">
               <el-col :span="7" class="jiabin">
                 <p class="jiabintop">
-                  <span>在线指导</span>
+                  <span>嘉宾访谈</span>
                   <!-- <el-link :underline="false">MORE</el-link> -->
                 </p>
                 <div class="jiabinlist">
@@ -511,7 +511,7 @@ export default {
     yixianglist: [],
     //合作成功
     successlist: [],
-    // 在线指导
+    // 嘉宾访谈
     zxzdlist: [],
     // 路演
     xmlylist: [],

+ 7 - 9
src/views/technical/index.vue

@@ -58,18 +58,18 @@
         <el-col :span="24" class="downLeftTop">
           <el-image :src="downLeftTopImage"></el-image>
           <span class="topText">
-            <span>在线指导</span>
+            <span>嘉宾访谈</span>
             <span
               ><p>G</p>
               <p>uidance</p></span
             >
-            <span @click="turnToList('在线指导')">更多</span>
+            <span @click="turnToList('嘉宾访谈')">更多</span>
           </span>
         </el-col>
         <el-col :span="24" class="infoLeft">
           <el-col class="infoRightList" :span="24" v-for="(item, index) in zhidaolist" :key="index">
             <p>
-              <span class="textOver" @click="$router.push({ path: '/technical/list', query: { id: item.id, display: 4, column_name: '在线指导' } })">{{
+              <span class="textOver" @click="$router.push({ path: '/technical/list', query: { id: item.id, display: 4, column_name: '嘉宾访谈' } })">{{
                 item.title
               }}</span
               ><span class="textOver">{{ item.publish_time }}</span>
@@ -146,6 +146,10 @@ export default {
       for (const val of res.data) {
         this.tpxwSearch({ column_id: val.id, column_name: val.name, site: val.site });
       }
+      const zhidao = await this.danceQuery({ skip: 0, limit: 8 });
+      if (this.$checkRes(zhidao)) this.$set(this, `zhidaolist`, zhidao.data);
+      const luyan = await this.adshowQuery({ skip: 0, limit: 5 });
+      if (this.$checkRes(luyan)) this.$set(this, `luyanlist`, luyan.data);
     },
     async tpxwSearch({ column_id, column_name, site } = {}) {
       if (column_name == '专家问诊') {
@@ -154,12 +158,6 @@ export default {
       } else if (column_name == '行业研究') {
         const res = await this.newsList({ skip: 0, limit: 8, column_id: column_id });
         if (this.$checkRes(res)) this.$set(this, `hangyeList`, res.data);
-      } else if (column_name == '在线指导') {
-        const res = await this.danceQuery({ skip: 0, limit: 8, column_id: column_id });
-        if (this.$checkRes(res)) this.$set(this, `zhidaolist`, res.data);
-      } else if (column_name == '项目路演') {
-        const res = await this.adshowQuery({ skip: 0, limit: 5, column_id: column_id });
-        if (this.$checkRes(res)) this.$set(this, `luyanlist`, res.data);
       }
     },
     turnToList(column_name) {

+ 4 - 4
src/views/technical/list.vue

@@ -106,7 +106,7 @@ export default {
     newsid: '',
     display: '1',
     squareImage: require('@/assets/live/square_big.png'),
-    menuList: [{ name: '专家问诊' }, { name: '行业研究' }, { name: '在线指导' }, { name: '项目路演' }],
+    menuList: [{ name: '专家问诊' }, { name: '行业研究' }, { name: '嘉宾访谈' }, { name: '项目路演' }],
     menuIndex: '0',
     menuName: '专题研讨',
     menuColor: 'rgb(254, 149, 14)',
@@ -144,7 +144,7 @@ export default {
         this.changeMenu(this.$route.query.column_name, 0);
       } else if (this.$route.query.column_name == '行业研究') {
         this.changeMenu(this.$route.query.column_name, 1);
-      } else if (this.$route.query.column_name == '在线指导') {
+      } else if (this.$route.query.column_name == '嘉宾访谈') {
         this.changeMenu(this.$route.query.column_name, 2);
       } else if (this.$route.query.column_name == '项目路演') {
         this.changeMenu(this.$route.query.column_name, 3);
@@ -167,9 +167,9 @@ export default {
         this.pageSize = 10;
         res = await this.query({ skip, limit, column_name: '行业研究', ...info });
         this.$set(this, `exportList`, res.data);
-      } else if (name == '在线指导') {
+      } else if (name == '嘉宾访谈') {
         this.pageSize = 10;
-        res = await this.danceQuery({ skip, limit, column_name: '在线指导', ...info });
+        res = await this.danceQuery({ skip, limit, column_name: '嘉宾访谈', ...info });
         this.$set(this, `hangyeList`, res.data);
       } else if (name == '项目路演') {
         this.pageSize = 5;