|
|
|
@ -41,12 +41,28 @@
@@ -41,12 +41,28 @@
|
|
|
|
|
<el-checkbox v-model="checkbox.name" size="large" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="item"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="filterData.status" |
|
|
|
|
placeholder="请选择设备状态" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in enumToKeyValueArray(DeviceStatus)" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
<el-checkbox v-model="checkbox.status" size="large" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="item"> |
|
|
|
|
<el-cascader |
|
|
|
|
v-model="filterData.categoryId" |
|
|
|
|
:options="categoryTreeData" |
|
|
|
|
placeholder="请选择设备分类" |
|
|
|
|
style="width: 100%;" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:props="{ |
|
|
|
|
checkStrictly: true, |
|
|
|
|
value: 'id', |
|
|
|
@ -71,6 +87,7 @@
@@ -71,6 +87,7 @@
|
|
|
|
|
import dayjs from 'dayjs' |
|
|
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs' |
|
|
|
|
import EdfsButton from '@/components/dashboard/Edfs-button/index.vue' |
|
|
|
|
import { DeviceStatus, enumToKeyValueArray } from '../utils' |
|
|
|
|
|
|
|
|
|
import type { CustomerVO } from '@/api/module/eam/customer' |
|
|
|
|
|
|
|
|
@ -93,6 +110,7 @@ const filterData = ref({
@@ -93,6 +110,7 @@ const filterData = ref({
|
|
|
|
|
startDay: '', |
|
|
|
|
endDay: '', |
|
|
|
|
name: '', |
|
|
|
|
status: '', |
|
|
|
|
serialNo: '', |
|
|
|
|
categoryId: [], |
|
|
|
|
}) |
|
|
|
@ -102,6 +120,7 @@ const checkbox = ref<Record<FilterKeys, boolean>>({
@@ -102,6 +120,7 @@ const checkbox = ref<Record<FilterKeys, boolean>>({
|
|
|
|
|
endDay: false, |
|
|
|
|
name: false, |
|
|
|
|
serialNo: false, |
|
|
|
|
status: false, |
|
|
|
|
categoryId: false, |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|