Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-purchase
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-purchase
Commits
293c3025
Commit
293c3025
authored
Nov 27, 2020
by
zhangdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮时间
parent
ddd3b645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
editProject.vue
src/pages/purchaser/bid/editProject/editProject.vue
+7
-1
fileUpload.vue
src/pages/purchaser/bid/releaseProject/fileUpload.vue
+8
-2
No files found.
src/pages/purchaser/bid/editProject/editProject.vue
View file @
293c3025
...
...
@@ -29,7 +29,7 @@
</div>
<div
class=
"centerButton "
>
<el-button
@
click=
"noedit"
>
取消
</el-button>
<el-button
@
click=
"edit"
>
提交
</el-button>
<el-button
@
click=
"edit"
:disabled=
"isDisabled"
>
提交
</el-button>
</div>
</div>
</
template
>
...
...
@@ -51,6 +51,8 @@ export default {
},
data
()
{
return
{
isDisabled
:
false
,
time
:
""
,
activeIdx
:
0
,
allForm
:
{},
detail
:
{
...
...
@@ -70,6 +72,10 @@ export default {
await
this
.
$refs
.
message
.
next
();
await
this
.
$refs
.
timeSet
.
next
();
await
this
.
$refs
.
fileUpload
.
next
();
this
.
isDisabled
=
true
this
.
time
=
setTimeout
(()
=>
{
this
.
isDisabled
=
false
},
5000
);
console
.
log
(
'通过'
);
console
.
log
(
this
.
detail
)
const
{
msg
,
code
}
=
await
editProject
(
this
.
detail
);
...
...
src/pages/purchaser/bid/releaseProject/fileUpload.vue
View file @
293c3025
...
...
@@ -27,7 +27,7 @@
</div>
<div
class=
"button"
>
<el-button
@
click=
"upper"
>
上一步
</el-button>
<el-button
type=
"primary"
@
click=
"next"
>
发布
</el-button>
<el-button
type=
"primary"
@
click=
"next"
:disabled=
"isDisabled"
>
发布
</el-button>
</div>
</div>
</div>
...
...
@@ -58,6 +58,8 @@ export default {
}
};
return
{
time
:
""
,
isDisabled
:
false
,
ruleForm
:
{
bidBookPO
:
[],
bidBookAccessoryPOList
:
[]
...
...
@@ -83,8 +85,11 @@ export default {
},
async
next
()
{
const
valid
=
await
this
.
$refs
[
'ruleForm'
].
validate
();
console
.
log
(
valid
);
if
(
valid
)
{
this
.
isDisabled
=
true
this
.
time
=
setTimeout
(()
=>
{
this
.
isDisabled
=
false
},
5000
);
Object
.
assign
(
this
.
allForm
,
this
.
ruleForm
);
let
allForm
=
this
.
allForm
;
allForm
.
companyId
=
localStorage
.
getItem
(
'companyId'
);
...
...
@@ -106,6 +111,7 @@ export default {
upper
()
{
this
.
$parent
.
upper
();
clearTimeout
(
this
.
time
)
}
// changeType(val) {
...
...
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