TimeControl微调
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
<!-- 表格 header 按钮 -->
|
||||
<template #tableHeader='scope'>
|
||||
<el-button type='primary' :icon='CirclePlus' @click="openDialog('add')">新增</el-button>
|
||||
<el-button type='primary' :icon='Download' plain @click='downloadFile()'>批量导出</el-button>
|
||||
<el-button type='primary' :icon='Upload' plain @click='importFile()'>批量导入</el-button>
|
||||
<el-button type='primary' :icon='Upload' plain @click='downloadFile()'>批量导出</el-button>
|
||||
<el-button type='primary' :icon='Download' plain @click='importFile()'>批量导入</el-button>
|
||||
<el-button type='danger' :icon='Delete' plain :disabled='!scope.isSelected'
|
||||
@click='batchDelete(scope.selectedListIds)'>
|
||||
批量删除
|
||||
@@ -70,7 +70,6 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
prop: 'devType',
|
||||
label: '类型',
|
||||
enum: dictStore.getDictData('High_Cate'),
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
fieldNames: { label: 'name', value: 'code' },
|
||||
minWidth: 200,
|
||||
},
|
||||
@@ -92,6 +91,9 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
{
|
||||
prop: 'manufacturer',
|
||||
label: '制作厂商',
|
||||
enum: dictStore.getDictData('High_Cate'),
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
fieldNames: { label: 'name', value: 'code' },
|
||||
minWidth: 200,
|
||||
},
|
||||
{
|
||||
@@ -105,7 +107,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
<div class='flx-flex-start'>
|
||||
<TimeControl
|
||||
include={['日', '周', '月', '自定义']}
|
||||
default={'自定义'}
|
||||
default={'月'}
|
||||
onUpdate-dates={handleDateChange}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user