mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-02-02 03:34:59 +08:00
【代码优化】工作流:去除多余的 debugger 断点
This commit is contained in:
parent
98e9ba49ae
commit
2df0aa20ff
@ -208,9 +208,9 @@ const getApprovalDetail = async (row: any) => {
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
|
||||
/** 提交按钮 */
|
||||
const submitForm = async (formData: any) => {
|
||||
debugger
|
||||
if (!fApi.value || !props.selectProcessDefinition) {
|
||||
return
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ const getApprovalDetail = async () => {
|
||||
const formFieldsPermission = data.formFieldsPermission
|
||||
|
||||
if (detailForm.value.rule.length > 0) {
|
||||
// 避免刷新 form-create 显示不了,
|
||||
// 避免刷新 form-create 显示不了
|
||||
detailForm.value.value = processInstance.value.formVariables
|
||||
} else {
|
||||
setConfAndFields2(
|
||||
|
@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => {
|
||||
const processDefinitionDetail = await DefinitionApi.getProcessDefinition(
|
||||
row.processDefinitionId
|
||||
)
|
||||
debugger
|
||||
if (processDefinitionDetail.formType === 20) {
|
||||
message.error('重新发起流程失败,原因:该流程使用业务表单,不支持重新发起')
|
||||
return
|
||||
|
@ -257,7 +257,6 @@ const resetForm = (appId, code) => {
|
||||
const fileBeforeUpload = (file, fileAccept) => {
|
||||
let format = '.' + file.name.split('.')[1]
|
||||
if (format !== fileAccept) {
|
||||
debugger
|
||||
message.error('请上传指定格式"' + fileAccept + '"文件')
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user