'修改保安培训项目'

This commit is contained in:
esacpe
2025-09-25 18:01:31 +08:00
parent 7e78feae87
commit 5007c2413e
7 changed files with 61 additions and 26 deletions

View File

@ -46,7 +46,7 @@
<el-date-picker v-else-if="item.type === 'daterange'" v-model="searchObj[item.prop]" type="daterange"
unlink-panels :range-separator="item.rangeSeparator" :start-placeholder="item.startPlaceholder"
:end-placeholder="item.endPlaceholder" :shortcuts="item.shortcuts" value-format="YYYY-MM-DD" />
<el-date-picker v-else-if="item.type == 'datetime'" v-model="searchObj[item.prop]" type="datetime"
<el-date-picker v-else-if="item.type == 'datetime'" v-model="searchObj[item?.prop]" type="datetime"
value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" />
<el-date-picker v-else-if="item.type === 'date'" v-model="searchObj[item.prop]" type="date"
:placeholder="item.placeholder" :shortcuts="item.shortcuts" value-format="YYYY-MM-DD">
@ -150,7 +150,7 @@ const handleNum = (val) => {
watch(() => props.modelValue, (newVal) => {
listQuery.value = newVal; //赋值
console.log(newVal,'===newVal');
}, { immediate: true, deep: true });
watch(() => listQuery.value, (newVal) => {

View File

@ -8,7 +8,6 @@
-->
<template>
<div class="fenye" :style="{ top: tableHeight + 'px' }">
{{ pageData.configer }}
<el-pagination
:current-page="
pageData.configer.currentPage ||