This commit is contained in:
sjl
2025-01-14 15:14:37 +08:00
parent 26cda335c5
commit 23b2974597
7 changed files with 55 additions and 28 deletions

View File

@@ -94,9 +94,10 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
prop: 'createDate',
label: '出厂日期',
minWidth: 200,
search: {
span: 2,
render: () => {
isShow: appSceneStore.currentScene === '0',
...(appSceneStore.currentScene === '0' ? {
search: {
render: () => {
return (
<div class='flx-flex-start'>
<TimeControl
@@ -106,7 +107,21 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
</div>
)
},
},
},
} : {}),
// search: {
// span: 2,
// render: () => {
// return (
// <div class='flx-flex-start'>
// <TimeControl
// default={'月'}
// onUpdate-dates={handleDateChange}
// />
// </div>
// )
// },
// },
},
{
prop: 'devChns',