Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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-project
Commits
1a23b014
Commit
1a23b014
authored
Oct 21, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了暂存提交不跳转页面的问题
parent
ce00b998
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
biddingPlan.ts
src/router/routes/modules/biddingPlan.ts
+1
-1
biddingManagementEdit.vue
src/views/biddingManagement/biddingManagementEdit.vue
+6
-4
No files found.
src/router/routes/modules/biddingPlan.ts
View file @
1a23b014
...
...
@@ -41,7 +41,7 @@ const biddingPlan: AppRouteModule = {
component
:
()
=>
import
(
'@/views/biddingManagement/statisticsBidding.vue'
),
meta
:
{
auth
:
'/www/dist/index.html#/biddingManagement/index'
,
title
:
'
统计招标情况
'
,
title
:
'
招标情况统计
'
,
orderNo
:
3
,
},
},
...
...
src/views/biddingManagement/biddingManagementEdit.vue
View file @
1a23b014
...
...
@@ -228,7 +228,6 @@
handleNew
(
params
);
}
async
function
handleSubmit
(
isSubmit
)
{
console
.
log
(
'1111:'
)
for
(
let
i
=
0
;
i
<
tabsFormSchema
.
length
;
i
++
){
let
formSchema
=
tabsFormSchema
[
i
].
Form
[
1
]
const
{
updateSchema
}
=
formSchema
...
...
@@ -266,7 +265,6 @@
},
])
}
else
{
console
.
log
(
'222222'
)
updateSchema
([
{
field
:
'projectName'
,
required
:
true
},
{
field
:
'fundingSource'
,
required
:
true
},
...
...
@@ -325,8 +323,12 @@
addItemData
.
businessId
=
routeId
.
value
;
addItemData
.
businessType
=
'招标管理'
;
const
showDatem
=
await
addItemApi
(
addItemData
);
createMessage
.
success
(
'提交成功!'
);
router
.
back
();
if
(
isSubmit
===
'0'
){
createMessage
.
success
(
'暂存成功!'
);
}
else
{
createMessage
.
success
(
'提交成功!'
);
}
// router.back();
}
catch
(
e
)
{
// 验证失败或出错,切换到对应标签页
console
.
log
(
e
);
...
...
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