liyongli 1 yıl önce
ebeveyn
işleme
1a41b0c9ce

+ 13 - 12
src/views/BoutiqueColumn/components/video.vue

@@ -4,6 +4,7 @@
       ref="video"
       :controls="false"
       autoplay
+      muted
       @timeupdate="timeupdate"
       @error="videoerror"
       @canplay="videoload"
@@ -294,6 +295,18 @@ function draw(key, Ir, Ic, ad) {
       right: 50,
     },
     series: [
+      {
+        name: '收视率%',
+        type: 'line',
+        yAxisIndex: 1,
+        smooth: true,
+        showSymbol: false,
+        data: ad,
+        lineStyle: {
+          width: 1,
+          color: '#50abfd',
+        },
+      },
       {
         name: '流入',
         type: 'bar',
@@ -322,18 +335,6 @@ function draw(key, Ir, Ic, ad) {
           color: '#6ab581',
         },
       },
-      {
-        name: '收视率%',
-        type: 'line',
-        yAxisIndex: 1,
-        smooth: true,
-        showSymbol: false,
-        data: ad,
-        lineStyle: {
-          width: 1,
-          color: '#50abfd',
-        },
-      },
     ],
   };
   option && chart.setOption(option);

+ 6 - 1
src/views/BoutiqueColumn/views/default.vue

@@ -1,6 +1,6 @@
 <template>
   <el-button type="primary" class="export" @click="exportfun"> 导出 </el-button>
-  <div style="line-height: 3.5em;" v-text="item.showTime"></div>
+  <!-- <div style="line-height: 3.5em;" v-if="item.showTime" v-text="'播出时间:' + item.showTime"></div> -->
   <el-table :data="list" @sort-change="sortFun">
     <el-table-column type="expand">
       <template #default="props">
@@ -14,6 +14,11 @@
       prop="stadate"
       sortable="custom"
     />
+    <el-table-column
+      align="center"
+      label="播出时间"
+      prop="statime"
+    />
     <el-table-column align="center" label="栏目" prop="program_name" />
     <el-table-column
       align="center"