This commit is contained in:
qsh
2024-11-08 16:02:28 +08:00
parent cd22e26589
commit fe4270178f
2 changed files with 66 additions and 7 deletions

View File

@@ -25,7 +25,12 @@
/>
</el-form-item>
<el-form-item v-if="appStore.getAppInfo?.instanceType == 1">
<el-select v-model="searchForm.licenseType" placeholder="选择驾照类型" clearable>
<el-select
v-model="searchForm.licenseTypeList"
placeholder="选择驾照类型"
clearable
multiple
>
<el-option
v-for="item in props.licenseTypeOptions"
:key="item.label"
@@ -105,6 +110,7 @@ import * as reportApi from '@/api/home/reportSaler'
import { getIntDictOptions } from '@/utils/dict'
import { removeNullField } from '@/utils'
import { useAppStore } from '@/store/modules/app'
import { formatDate } from '@/utils/formatTime'
const appStore = useAppStore()
@@ -149,7 +155,9 @@ const showPane = ref(1)
function handleReset() {
searchForm.value = {
nickname: undefined,
consultTime: []
consultTime: [`${year}-${month}-01`, formatDate(new Date())],
licenseTypeList: [],
sourceId: undefined
}
}