diff --git a/.gitignore b/.gitignore
index a6d4ce4..8ee407c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,8 @@ yarn-debug.log*
yarn-error.log*
/dist
+/dist-local
+/dist-cloud
/docker_output/
/node_modules/
/*.tar
\ No newline at end of file
diff --git a/src/api/module/taks/index.ts b/src/api/module/taks/index.ts
index c689ae2..35b8410 100644
--- a/src/api/module/taks/index.ts
+++ b/src/api/module/taks/index.ts
@@ -33,6 +33,7 @@ export interface TaskCreateParams {
startTime?: string
endTime?: string
firmware?: string
+ isFull?: boolean
}
export const createTask = (params: TaskCreateParams) => globalServer({
diff --git a/src/views/stationData/transfer/components/offTransferDlg.vue b/src/views/stationData/transfer/components/offTransferDlg.vue
index b7aa1c7..eeb0ea3 100644
--- a/src/views/stationData/transfer/components/offTransferDlg.vue
+++ b/src/views/stationData/transfer/components/offTransferDlg.vue
@@ -10,6 +10,16 @@
+
+
+ *
+ 导入方式:
+
+
+ 全量导入
+ 增量导入
+
+
@@ -37,13 +47,14 @@ const props = defineProps<{
const visible = ref(false)
const fromData = {
clientIp: '',
+ sampleType: 'full'
}
const form = ref(cloneDeep(fromData))
const paramsData = ref()
-function open(parmas: TaskCreateParams) {
- paramsData.value = parmas
+function open(params: TaskCreateParams) {
+ paramsData.value = params
visible.value = true
}
@@ -56,6 +67,8 @@ async function onSave() {
return
}
+ paramsData.value.isFull = form.value.sampleType === 'full'
+
paramsData.value.devices.forEach((r) => {
r.host = form.value.clientIp
})