Ver código fonte

refactor(live-stream, lss): streamline component formatting for improved readability

- Consolidated attributes in various components, including el-table, el-pagination, and el-drawer, to enhance code clarity and maintainability.
- Reduced unnecessary line breaks and improved overall formatting in both live-stream and LSS views, ensuring a cleaner and more organized layout.
- Updated icon usage for consistency across the application.
yb 1 semana atrás
pai
commit
fce1ffe610
2 arquivos alterados com 4 adições e 3 exclusões
  1. 1 1
      src/views/live-stream/index.vue
  2. 3 2
      src/views/lss/index.vue

+ 1 - 1
src/views/live-stream/index.vue

@@ -90,7 +90,7 @@
         <el-table-column :label="t('操作')" align="center" fixed="right">
           <template #default="{ row }">
             <el-button type="primary" link @click="handleViewCloudflare(row)">
-              <Icon icon="mdi:play-circle" width="20" height="20" />
+              <Icon icon="mdi:play-circle-outline" width="20" height="20" />
             </el-button>
             <el-button type="primary" link @click="handleEdit(row)">
               <Icon icon="mdi:note-edit-outline" width="20" height="20" />

+ 3 - 2
src/views/lss/index.vue

@@ -219,8 +219,9 @@
                 <el-form-item>
                   <el-select v-model="cameraSearchForm.status" :placeholder="t('状态')" clearable style="width: 120px">
                     <el-option :label="t('全部')" value="" />
-                    <el-option :label="t('在线')" value="ONLINE" />
-                    <el-option :label="t('离线')" value="OFFLINE" />
+                    <el-option :label="t('在线')" value="ative" />
+                    <el-option :label="t('待机')" value="hold" />
+                    <el-option :label="t('离线')" value="dead" />
                   </el-select>
                 </el-form-item>
                 <el-form-item>