diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index db04d7f..6b0d505 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -77,4 +77,4 @@ "watchSyncEffect": true, "toValue": true } -} +} \ No newline at end of file diff --git a/src/api/customermanagement/customerList/types.ts b/src/api/customermanagement/customerList/types.ts index 7a5378c..76d7b53 100644 --- a/src/api/customermanagement/customerList/types.ts +++ b/src/api/customermanagement/customerList/types.ts @@ -119,6 +119,7 @@ export interface queryReservation { nid?: string | undefined startTime?: string endTime?: string + salesmanType: number } //修改是否有效 export interface isEffectiveType { diff --git a/src/views/customermanagement/customerList/customerList.vue b/src/views/customermanagement/customerList/customerList.vue index 763e9e4..22e03fb 100644 --- a/src/views/customermanagement/customerList/customerList.vue +++ b/src/views/customermanagement/customerList/customerList.vue @@ -356,6 +356,7 @@ const switchChange = (record: any) => { const downloadTemplate = useDebounceFn( () => { const data: any = searchData + data.salesmanType = salesmanType.value if (data.exportDate && data.exportDate.length == 2) { data.startTime = data.exportDate[0].format('YYYY-MM-DD HH:mm:ss') data.endTime = data.exportDate[1].format('YYYY-MM-DD HH:mm:ss') diff --git a/types/auto-imports.d.ts b/types/auto-imports.d.ts index 2ad4739..5bd8e1d 100644 --- a/types/auto-imports.d.ts +++ b/types/auto-imports.d.ts @@ -1,7 +1,6 @@ /* eslint-disable */ /* prettier-ignore */ // @ts-nocheck -// noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import export {} declare global {