| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="附件类型" prop="attachmentType"> |
| | | <el-select |
| | | class="gd-select" |
| | | popper-class="gd-select-popper" |
| | | v-model="searchParams.attachmentType" |
| | | placeholder="请选择" |
| | | clearable |
| | | @change="handleSearch" |
| | | > |
| | | <el-option |
| | | v-for="item in attachmentTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item > |
| | | <el-button :icon="RefreshRight" @click="resetForm"></el-button> |
| | | <el-button :icon="Search" color="#383874" @click="handleSearch"></el-button> |
| | |
| | | const initSearchParams = () => ({ |
| | | current: 1, |
| | | size: 10, |
| | | patrolTaskIds: [] |
| | | patrolTaskIds: [], |
| | | attachmentType: '' |
| | | }) |
| | | |
| | | const searchParams = ref(initSearchParams()) |
| | |
| | | const selectedRows = ref([]) |
| | | const patrolTaskList = ref([]) |
| | | const dictObj = inject('dictObj') |
| | | const attachmentTypeOptions = [ |
| | | { label: '媒体文件', value: 1 }, |
| | | { label: 'AI文件', value: 2 }, |
| | | { label: '主视频', value: 3 }, |
| | | ] |
| | | // 导出加载状态 |
| | | const exportLoading = ref(false) |
| | | // 获取巡查任务列表 |