| | |
| | | |
| | | /> |
| | | |
| | | <span class="search_title" style="margin-left: 12px">模板类型:</span> |
| | | <el-select |
| | | v-model="searchForm.businessType" |
| | | placeholder="请选择模板类型" |
| | | clearable |
| | | filterable |
| | | style="width: 180px" |
| | | @change="handleQuery" |
| | | > |
| | | <el-option |
| | | v-for="opt in templateTypeOptions" |
| | | :key="`search-biz-type-${opt.value}`" |
| | | :label="opt.label" |
| | | :value="opt.value" |
| | | /> |
| | | </el-select> |
| | | <el-checkbox v-model="searchForm.enabledOnly" class="ml12" @change="handleQuery"> |
| | | |
| | | 仅显示启用 |
| | |
| | | import { ElMessage } from "element-plus"; |
| | | |
| | | import { computed, nextTick, onMounted, ref } from "vue"; |
| | | import { useRoute } from "vue-router"; |
| | | |
| | | import { userListNoPageByTenantId } from "@/api/system/user.js"; |
| | | |
| | |
| | | } = useApproveTemplate(); |
| | | |
| | | |
| | | |
| | | const route = useRoute(); |
| | | |
| | | const flowUserOptions = ref([]); |
| | | |
| | |
| | | |
| | | |
| | | |
| | | onMounted(() => { |
| | | onMounted(async () => { |
| | | |
| | | loadUsers(); |
| | | |
| | | loadTemplateTypeOptions(); |
| | | const queryBusinessType = route.query.businessType; |
| | | |
| | | if (queryBusinessType != null && queryBusinessType !== "") { |
| | | searchForm.businessType = Number(queryBusinessType); |
| | | } |
| | | |
| | | await loadTemplateTypeOptions(); |
| | | |
| | | fetchTemplateList(); |
| | | |