|
@@ -143,6 +143,9 @@
|
|
|
<el-button text size="small" @click.stop="">删除</el-button>
|
|
|
</template>
|
|
|
</el-popconfirm>
|
|
|
+ <el-button text size="small" @click.stop="exportexcel(scope.row)"
|
|
|
+ >导出工单
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -367,6 +370,12 @@ const deltask = (row) => {
|
|
|
getList();
|
|
|
});
|
|
|
};
|
|
|
+const exportexcel = (row) => {
|
|
|
+ proxy.download("system/task/export", {
|
|
|
+ ...{ "taskId": row.taskId},
|
|
|
+ }, `${row.taskCode}工单.xlsx`);
|
|
|
+
|
|
|
+}
|
|
|
|
|
|
onMounted(() => {});
|
|
|
</script>
|