Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2df0aa20
authored
Nov 02, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码优化】工作流:去除多余的 debugger 断点
parent
98e9ba49
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
4 deletions
+2
-4
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
+1
-1
src/views/bpm/processInstance/detail/index.vue
+1
-1
src/views/bpm/processInstance/index.vue
+0
-1
src/views/pay/app/components/channel/WeixinChannelForm.vue
+0
-1
No files found.
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
View file @
2df0aa20
...
@@ -208,9 +208,9 @@ const getApprovalDetail = async (row: any) => {
...
@@ -208,9 +208,9 @@ const getApprovalDetail = async (row: any) => {
}
finally
{
}
finally
{
}
}
}
}
/** 提交按钮 */
/** 提交按钮 */
const
submitForm
=
async
(
formData
:
any
)
=>
{
const
submitForm
=
async
(
formData
:
any
)
=>
{
debugger
if
(
!
fApi
.
value
||
!
props
.
selectProcessDefinition
)
{
if
(
!
fApi
.
value
||
!
props
.
selectProcessDefinition
)
{
return
return
}
}
...
...
src/views/bpm/processInstance/detail/index.vue
View file @
2df0aa20
...
@@ -204,7 +204,7 @@ const getApprovalDetail = async () => {
...
@@ -204,7 +204,7 @@ const getApprovalDetail = async () => {
const
formFieldsPermission
=
data
.
formFieldsPermission
const
formFieldsPermission
=
data
.
formFieldsPermission
if
(
detailForm
.
value
.
rule
.
length
>
0
)
{
if
(
detailForm
.
value
.
rule
.
length
>
0
)
{
// 避免刷新 form-create 显示不了
,
// 避免刷新 form-create 显示不了
detailForm
.
value
.
value
=
processInstance
.
value
.
formVariables
detailForm
.
value
.
value
=
processInstance
.
value
.
formVariables
}
else
{
}
else
{
setConfAndFields2
(
setConfAndFields2
(
...
...
src/views/bpm/processInstance/index.vue
View file @
2df0aa20
...
@@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => {
...
@@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => {
const
processDefinitionDetail
=
await
DefinitionApi
.
getProcessDefinition
(
const
processDefinitionDetail
=
await
DefinitionApi
.
getProcessDefinition
(
row
.
processDefinitionId
row
.
processDefinitionId
)
)
debugger
if
(
processDefinitionDetail
.
formType
===
20
)
{
if
(
processDefinitionDetail
.
formType
===
20
)
{
message
.
error
(
'重新发起流程失败,原因:该流程使用业务表单,不支持重新发起'
)
message
.
error
(
'重新发起流程失败,原因:该流程使用业务表单,不支持重新发起'
)
return
return
...
...
src/views/pay/app/components/channel/WeixinChannelForm.vue
View file @
2df0aa20
...
@@ -257,7 +257,6 @@ const resetForm = (appId, code) => {
...
@@ -257,7 +257,6 @@ const resetForm = (appId, code) => {
const
fileBeforeUpload
=
(
file
,
fileAccept
)
=>
{
const
fileBeforeUpload
=
(
file
,
fileAccept
)
=>
{
let
format
=
'.'
+
file
.
name
.
split
(
'.'
)[
1
]
let
format
=
'.'
+
file
.
name
.
split
(
'.'
)[
1
]
if
(
format
!==
fileAccept
)
{
if
(
format
!==
fileAccept
)
{
debugger
message
.
error
(
'请上传指定格式"'
+
fileAccept
+
'"文件'
)
message
.
error
(
'请上传指定格式"'
+
fileAccept
+
'"文件'
)
return
false
return
false
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment