Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ferry_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianan
ferry_web
Commits
ff60911c
Commit
ff60911c
authored
Jul 27, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁止提交按钮多次提交
parent
05e68aae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/views/process/list/create.vue
+3
-0
No files found.
src/views/process/list/create.vue
View file @
ff60911c
...
...
@@ -56,6 +56,7 @@
v-show=
"item.source===processStructureValue.nodes[active].id"
:key=
"index"
type=
"primary"
:disabled=
"submitDisabled"
@
click=
"submitAction(item.target)"
>
{{ item.label }}
...
...
@@ -83,6 +84,7 @@ export default {
name
:
'Create'
,
data
()
{
return
{
submitDisabled
:
false
,
active
:
0
,
processStructureValue
:
{},
ruleForm
:
{
...
...
@@ -135,6 +137,7 @@ export default {
submitAction
(
target
)
{
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
submitDisabled
=
true
var
stateMap
=
{}
this
.
ruleForm
.
process
=
parseInt
(
this
.
$route
.
query
.
processId
)
this
.
ruleForm
.
classify
=
this
.
processStructureValue
.
process
.
classify
...
...
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