| | |
| | | <el-form-item label="状态" prop="state"> |
| | | <el-select |
| | | v-model="queryParams.state" |
| | | multiple |
| | | placeholder="请选择状态" |
| | | clearable |
| | | class="!w-240px" |
| | | > |
| | | <el-option |
| | | v-for="dict in stateOptions" |
| | | v-for="dict in DevStateOptions" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import {getStrDictOptions, DICT_TYPE, DictDataType} from '@/utils/dict' |
| | | import {getStrDictOptions, DICT_TYPE, DictDataType, getIntDictOptions} from '@/utils/dict' |
| | | import {dateFormatter2} from '@/utils/formatTime' |
| | | import {tranlateDevState} from "@/utils/statusFormatter"; |
| | | import {DevStateOptions, tranlateDevState} from "@/utils/statusFormatter"; |
| | | import download from '@/utils/download' |
| | | import {DeviceApi, DeviceVO, DevModelApi, OptionsVO} from '@/api/ecg/devmanage' |
| | | import DeviceForm from './DeviceForm.vue' |
| | |
| | | purchaseDate: [], |
| | | createTime: [], |
| | | devId: undefined, |
| | | state: undefined, |
| | | state: [], |
| | | category: undefined, |
| | | brand: undefined, |
| | | model: undefined |