| | |
| | | <div class="app-container"> |
| | | <div class="search_form mb20"> |
| | | <div class="search_fields"> |
| | | <span class="search_title">审批类型:</span> |
| | | <span class="search_title">模板类型:</span> |
| | | <el-select |
| | | v-model="searchForm.approvalType" |
| | | placeholder="请选择审批类型" |
| | | v-model="searchForm.businessType" |
| | | placeholder="请选择模板类型" |
| | | clearable |
| | | filterable |
| | | style="width: 200px" |
| | | > |
| | | <el-option |
| | | v-for="opt in APPROVAL_TYPE_OPTIONS" |
| | | v-for="opt in searchBusinessTypeOptions" |
| | | :key="`search-biz-type-${opt.value}`" |
| | | :label="opt.label" |
| | | :value="opt.value" |
| | | /> |
| | | </el-select> |
| | | <span class="search_title" style="margin-left: 12px">审批状态:</span> |
| | | <el-select |
| | | v-model="searchForm.status" |
| | | placeholder="请选择审批状态" |
| | | clearable |
| | | style="width: 140px" |
| | | > |
| | | <el-option |
| | | v-for="opt in APPROVAL_STATUS_SEARCH_OPTIONS" |
| | | :key="opt.value" |
| | | :label="opt.label" |
| | | :value="opt.value" |
| | | /> |
| | | </el-select> |
| | | <span class="search_title" style="margin-left: 12px">申请人名称:</span> |
| | | <el-input |
| | | v-model="searchForm.applicantKeyword" |
| | | style="width: 200px" |
| | | placeholder="请输入申请人名称" |
| | | clearable |
| | | :prefix-icon="Search" |
| | | @keyup.enter="handleQuery" |
| | | /> |
| | | <span class="search_title" style="margin-left: 12px">创建时间:</span> |
| | | <el-date-picker |
| | | v-model="searchForm.createTimeRange" |
| | |
| | | const al = useApproveList(); |
| | | const { |
| | | Search, |
| | | APPROVAL_TYPE_OPTIONS, |
| | | APPROVAL_STATUS_SEARCH_OPTIONS, |
| | | searchBusinessTypeOptions, |
| | | loadSearchBusinessTypeOptions, |
| | | submitBusinessTypeOptions, |
| | | submitTemplateCards, |
| | | selectedBusinessTypeLabel, |
| | |
| | | |
| | | onMounted(() => { |
| | | loadFlowUsers(); |
| | | loadSearchBusinessTypeOptions(); |
| | | handleQuery(); |
| | | }); |
| | | </script> |