wenhongquan 3 年之前
父節點
當前提交
6f7292b467
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/views/task/list/index.vue

+ 10 - 0
src/views/task/list/index.vue

@@ -146,6 +146,9 @@
                <el-button v-if="scope.row.status==6" text size="small" @click.stop="exportexcel(scope.row)"
                 >导出工单
               </el-button>
+              <el-button v-if="scope.row.status==6" text size="small" @click.stop="exportexcel1(scope.row)"
+                >导出热线照片
+              </el-button>
             </template>
           </el-table-column>
         </el-table>
@@ -376,6 +379,13 @@ const exportexcel = (row) => {
   }, `${row.taskCode}工单.xlsx`);
 
 }
+const exportexcel1 = (row) => {
+  proxy.download("system/task/export1", {
+    ...{ "taskId": row.taskId},
+  }, `${row.taskCode}热线照片.xlsx`);
+
+}
+
 
 onMounted(() => {});
 </script>