liyongli 1 年之前
父節點
當前提交
c1ad974ac5
共有 2 個文件被更改,包括 16 次插入11 次删除
  1. 1 1
      src/view/allMedia/imageProcessing/index.vue
  2. 15 10
      src/view/allMedia/videoProcessing/index.vue

+ 1 - 1
src/view/allMedia/imageProcessing/index.vue

@@ -53,7 +53,7 @@
           <template #default="scope">
             <el-button
               size="small"
-              v-if="scope.row.statusCode !== 'info'"
+              v-if="scope.row.statusCode == 'success'"
               @click="detail(scope.row)"
             >
               查看详情

+ 15 - 10
src/view/allMedia/videoProcessing/index.vue

@@ -51,7 +51,13 @@
         </el-table-column>
         <el-table-column align="center" prop="address" label="操作">
           <template #default="scope">
-            <el-button size="small" v-if="scope.row.statusCode !== 'info'" @click="detail(scope.row)"> 查看详情 </el-button>
+            <el-button
+              size="small"
+              v-if="scope.row.statusCode == 'success'"
+              @click="detail(scope.row)"
+            >
+              查看详情
+            </el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -165,16 +171,15 @@ function submit() {
 function getList() {
   historyVideo({
     data: page_data.value
-  })
-    .then(r => {
-      tableData.value = (r.records || []).map(v => {
-        return {
-          ...v,
-          createTime: v.createTime.replace('T', ' ')
-        };
-      });
-      page_data.value.total = r.total;
+  }).then(r => {
+    tableData.value = (r.records || []).map(v => {
+      return {
+        ...v,
+        createTime: v.createTime.replace('T', ' ')
+      };
     });
+    page_data.value.total = r.total;
+  });
 }
 
 function detail(row) {