diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue index c18e9a92..2580b1cd 100644 --- a/src/views/bpm/definition/index.vue +++ b/src/views/bpm/definition/index.vue @@ -87,7 +87,7 @@ diff --git a/src/views/bpm/group/UserGroupForm.vue b/src/views/bpm/group/UserGroupForm.vue index 5a3ca804..f5ea479c 100644 --- a/src/views/bpm/group/UserGroupForm.vue +++ b/src/views/bpm/group/UserGroupForm.vue @@ -68,7 +68,7 @@ const formRules = reactive({ status: [{ required: true, message: '状态不能为空', trigger: 'blur' }] }) const formRef = ref() // 表单 Ref -const userList = ref([]) // 用户列表 +const userList = ref([]) // 用户列表 /** 打开弹窗 */ const open = async (type: string, id?: number) => { diff --git a/src/views/bpm/group/index.vue b/src/views/bpm/group/index.vue index f2427f71..f1d6b271 100644 --- a/src/views/bpm/group/index.vue +++ b/src/views/bpm/group/index.vue @@ -117,6 +117,7 @@ import { dateFormatter } from '@/utils/formatTime' import * as UserGroupApi from '@/api/bpm/userGroup' import * as UserApi from '@/api/system/user' import UserGroupForm from './UserGroupForm.vue' +import { UserVO } from '@/api/system/user' const message = useMessage() // 消息弹窗 const { t } = useI18n() // 国际化 @@ -131,7 +132,7 @@ const queryParams = reactive({ createTime: [] }) const queryFormRef = ref() // 搜索的表单 -const userList = ref([]) // 用户列表 +const userList = ref([]) // 用户列表 /** 查询列表 */ const getList = async () => { diff --git a/src/views/bpm/model/editor/index.vue b/src/views/bpm/model/editor/index.vue index 24908ae5..dd135e72 100644 --- a/src/views/bpm/model/editor/index.vue +++ b/src/views/bpm/model/editor/index.vue @@ -16,7 +16,7 @@ diff --git a/src/views/bpm/oa/leave/detail.vue b/src/views/bpm/oa/leave/detail.vue index a1b646a1..67ca7d7f 100644 --- a/src/views/bpm/oa/leave/detail.vue +++ b/src/views/bpm/oa/leave/detail.vue @@ -28,7 +28,7 @@ const props = defineProps({ id: propTypes.number.def(undefined) }) const detailLoading = ref(false) // 表单的加载中 -const detailData = ref({}) // 详情数据 +const detailData = ref({}) // 详情数据 const queryId = query.id as unknown as number // 从 URL 传递过来的 id 编号 /** 获得数据 */ diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue index 11cf929b..802b1a72 100644 --- a/src/views/bpm/processInstance/create/index.vue +++ b/src/views/bpm/processInstance/create/index.vue @@ -43,7 +43,7 @@ - + diff --git a/src/views/system/post/PostForm.vue b/src/views/system/post/PostForm.vue index e4ea8ad7..a314806b 100644 --- a/src/views/system/post/PostForm.vue +++ b/src/views/system/post/PostForm.vue @@ -117,7 +117,7 @@ const resetForm = () => { sort: undefined, status: CommonStatusEnum.ENABLE, remark: '' - } + } as any formRef.value?.resetFields() }