Преглед изворни кода

更新摄像头录像列表的显示字段

reghao пре 2 година
родитељ
комит
5c6817bb75
1 измењених фајлова са 5 додато и 11 уклоњено
  1. 5 11
      src/views/cam/RecordPage.vue

+ 5 - 11
src/views/cam/RecordPage.vue

@@ -41,33 +41,27 @@
         <el-card class="box-card">
           <div slot="header" class="clearfix">
             <el-row>
-              <h3>列表</h3>
+              <h3>录像列表</h3>
             </el-row>
             <el-button style="float: right; padding: 3px 0" type="text" @click="goToCamLive1">显示日历</el-button>
           </div>
           <div class="text item">
             <el-table
               :data="recordList"
-              :show-header="false"
               height="480"
               style="width: 100%"
               @row-click="onClickRow"
             >
               <el-table-column
-                prop="recordId"
-              >
-                <template slot-scope="scope" onclick="getCamRecord">
-                  <span>{{ scope.row.recordId }}</span>
-                </template>
-              </el-table-column>
-              <el-table-column
-                prop="title"
+                label="开始时间"
+                prop="startAt"
               >
                 <template slot-scope="scope">
-                  <span>{{ scope.row.title }}</span>
+                  <span>{{ scope.row.startAt }}</span>
                 </template>
               </el-table-column>
               <el-table-column
+                label="时长(秒)"
                 prop="duration"
               >
                 <template slot-scope="scope">