|
|
@@ -214,8 +214,11 @@ const getApprovalDetail = async () => {
|
|
|
// 获得用户列表
|
|
|
userOptions.value = await UserApi.getSimpleUserList()
|
|
|
const userId = useUserStore().getUser.id
|
|
|
- deptUsers.value = await UserApi.getMaintainUsers(userId, processInstance.value.businessKey);
|
|
|
- company.value = await IotDeviceApi.getCompany(processInstance.value.businessKey)
|
|
|
+ debugger
|
|
|
+ if (processInstance.value.name!=='QHSE事故上报') {
|
|
|
+ deptUsers.value = await UserApi.getMaintainUsers(userId, processInstance.value.businessKey);
|
|
|
+ company.value = await IotDeviceApi.getCompany(processInstance.value.businessKey)
|
|
|
+ }
|
|
|
debugger
|
|
|
// 设置表单信息
|
|
|
if (processDefinition.value.formType === BpmModelFormType.NORMAL) {
|