| | |
| | | v-model="searchForm.deviceSn" |
| | | placeholder="请选择" |
| | | clearable |
| | | @change="handleSearch" |
| | | > |
| | | <el-option |
| | | v-for="item in machineData" |
| | |
| | | popper-class="custom-date-picker" |
| | | v-model="dateRange" |
| | | type="daterange" |
| | | :clearable="false" |
| | | :clearable="true" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | |
| | | v-model="searchForm.resultType" |
| | | placeholder="请选择" |
| | | clearable |
| | | @change="handleSearch" |
| | | > |
| | | <el-option |
| | | v-for="item in fileFormatOption" |
| | |
| | | v-model="searchForm.photoType" |
| | | placeholder="请选择" |
| | | clearable |
| | | @clear="changePhotoType" |
| | | @change="handleSearch" |
| | | > |
| | | <el-option |
| | | v-for="item in CategoryOption" |
| | |
| | | }, |
| | | { deep: true } |
| | | ); |
| | | |
| | | const changePhotoType =(val)=>{ |
| | | if(val === undefined){ |
| | | searchForm.photoType = '' |
| | | } |
| | | } |
| | | // 部门 |
| | | let deptTreeData = ref([]); |
| | | // 机巢 |
| | |
| | | // 更新搜索表单中的时间 |
| | | searchForm.startTime = start.format(timeFormat); |
| | | searchForm.endTime = end.format(timeFormat); |
| | | handleSearch() |
| | | } |
| | | |
| | | }; |
| | |
| | | |
| | | deptData.value = []; |
| | | getDeptsByAreaCode(); |
| | | handleSearch(); |
| | | }; |
| | | // 所属部门信息 |
| | | const getDeptsByAreaCode = () => { |