guhongwei 5 년 전
부모
커밋
9640e2f021
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 3
      src/layout/technical/detail.vue
  2. 0 1
      src/views/technical/list.vue

+ 2 - 3
src/layout/technical/detail.vue

@@ -16,7 +16,7 @@
           <div class="detailcontext">
             <p v-html="detailinfo.content"></p>
           </div>
-          <div class="development">
+          <div class="development" v-if="detailinfo.column_name == '专家问诊'">
             <p>功能开发中</p>
             <p>功能实现流程:<span>问诊记录展示</span>-<span>在线咨询</span>-<span>专家在线问诊</span></p>
           </div>
@@ -52,10 +52,9 @@ export default {
   methods: {
     ...news(['fetch']),
     async search() {
-      console.log(this.newsid);
-
       const res = await this.fetch(this.newsid);
       this.$set(this, `detailinfo`, res.data);
+      console.log(res.data);
     },
   },
   computed: {

+ 0 - 1
src/views/technical/list.vue

@@ -73,7 +73,6 @@
       <el-col :span="19" v-if="display == 3" class="info">
         <detail :newsid="newsid"></detail>
       </el-col>
-
       <el-col :span="19" v-if="display == 4" class="info">
         <eduDetail :newsid="newsid"></eduDetail>
       </el-col>