From 7ed5f33e7bd9ca26fb41700e518234b973841921 Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: 星期三, 24 四月 2024 22:30:52 +0800 Subject: [PATCH] !107 add 新增岗位编码与部门编码 并将岗位放到部门下 * add 新增获取岗位选择框列表 * update 岗位查询树表和单表相互undefined * update 岗位查询增加单部门查询 * update 优化类别编码与后台一致性 * add 新增岗位部门树以及类别编码 * add 部门增加类别代码 --- src/types/element.d.ts | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/types/element.d.ts b/src/types/element.d.ts index ba7598d..ae6ecfc 100644 --- a/src/types/element.d.ts +++ b/src/types/element.d.ts @@ -1,34 +1,35 @@ import type * as ep from 'element-plus'; declare global { - declare type ElTagType = '' | 'success' | 'warning' | 'info' | 'danger' | 'default' | 'primary'; - declare type ElFormInstance = InstanceType<typeof ep.ElForm>; - declare type ElTableInstance = InstanceType<typeof ep.ElTable>; + declare type ElTagType = 'primary' | 'success' | 'info' | 'warning' | 'danger'; + declare type ElFormInstance = ep.FormInstance; + declare type ElTableInstance = ep.TableInstance; + declare type ElUploadInstance = ep.UploadInstance; + declare type ElScrollbarInstance = ep.ScrollbarInstance; + declare type ElInputInstance = ep.InputInstance; + declare type ElInputNumberInstance = ep.InputNumberInstance; + declare type ElRadioInstance = ep.RadioInstance; + declare type ElRadioGroupInstance = ep.RadioGroupInstance; + declare type ElRadioButtonInstance = ep.RadioButtonInstance; + declare type ElCheckboxInstance = ep.CheckboxInstance; + declare type ElSwitchInstance = ep.SwitchInstance; + declare type ElCascaderInstance = ep.CascaderInstance; + declare type ElColorPickerInstance = ep.ColorPickerInstance; + declare type ElRateInstance = ep.RateInstance; + declare type ElSliderInstance = ep.SliderInstance; + declare type ElTreeInstance = InstanceType<typeof ep.ElTree>; declare type ElTreeSelectInstance = InstanceType<typeof ep.ElTreeSelect>; declare type ElSelectInstance = InstanceType<typeof ep.ElSelect>; - declare type ElUploadInstance = InstanceType<typeof ep.ElUpload>; declare type ElCardInstance = InstanceType<typeof ep.ElCard>; declare type ElDialogInstance = InstanceType<typeof ep.ElDialog>; - declare type ElInputInstance = InstanceType<typeof ep.ElInput>; - declare type ElInputNumberInstance = InstanceType<typeof ep.ElInputNumber>; - declare type ElRadioInstance = InstanceType<typeof ep.ElRadio>; - declare type ElRadioGroupInstance = InstanceType<typeof ep.ElRadioGroup>; - declare type ElRadioButtonInstance = InstanceType<typeof ep.ElRadioButton>; - declare type ElCheckboxInstance = InstanceType<typeof ep.ElCheckbox>; declare type ElCheckboxGroupInstance = InstanceType<typeof ep.ElCheckboxGroup>; - declare type ElSwitchInstance = InstanceType<typeof ep.ElSwitch>; declare type ElDatePickerInstance = InstanceType<typeof ep.ElDatePicker>; declare type ElTimePickerInstance = InstanceType<typeof ep.ElTimePicker>; declare type ElTimeSelectInstance = InstanceType<typeof ep.ElTimeSelect>; - declare type ElCascaderInstance = InstanceType<typeof ep.ElCascader>; - declare type ElColorPickerInstance = InstanceType<typeof ep.ElColorPicker>; - declare type ElRateInstance = InstanceType<typeof ep.ElRate>; - declare type ElSliderInstance = InstanceType<typeof ep.ElSlider>; - declare type ElScrollbarInstance = InstanceType<typeof ep.ElScrollbar>; declare type TransferKey = ep.TransferKey; declare type CheckboxValueType = ep.CheckboxValueType; declare type ElFormRules = ep.FormRules; declare type DateModelType = ep.DateModelType; - declare type UploadFile = typeof ep.UploadFile; + declare type UploadFile = ep.UploadFile; } -- Gitblit v1.9.3