更改导出

master
飘泊客 9 months ago
parent 44a9ca02b5
commit 620610d02e

@ -77,4 +77,4 @@
"watchSyncEffect": true, "watchSyncEffect": true,
"toValue": true "toValue": true
} }
} }

@ -119,6 +119,7 @@ export interface queryReservation {
nid?: string | undefined nid?: string | undefined
startTime?: string startTime?: string
endTime?: string endTime?: string
salesmanType: number
} }
//修改是否有效 //修改是否有效
export interface isEffectiveType { export interface isEffectiveType {

@ -356,6 +356,7 @@ const switchChange = (record: any) => {
const downloadTemplate = useDebounceFn( const downloadTemplate = useDebounceFn(
() => { () => {
const data: any = searchData const data: any = searchData
data.salesmanType = salesmanType.value
if (data.exportDate && data.exportDate.length == 2) { if (data.exportDate && data.exportDate.length == 2) {
data.startTime = data.exportDate[0].format('YYYY-MM-DD HH:mm:ss') data.startTime = data.exportDate[0].format('YYYY-MM-DD HH:mm:ss')
data.endTime = data.exportDate[1].format('YYYY-MM-DD HH:mm:ss') data.endTime = data.exportDate[1].format('YYYY-MM-DD HH:mm:ss')

@ -1,7 +1,6 @@
/* eslint-disable */ /* eslint-disable */
/* prettier-ignore */ /* prettier-ignore */
// @ts-nocheck // @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import // Generated by unplugin-auto-import
export {} export {}
declare global { declare global {

Loading…
Cancel
Save