Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
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
徐俊
yn-science-front
Commits
70aa86b1
Commit
70aa86b1
authored
Dec 31, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sss
parent
2ac9059a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
index.js
src/api/index.js
+0
-3
projectEdit.vue
src/views/report/project/components/edit/projectEdit.vue
+2
-2
No files found.
src/api/index.js
View file @
70aa86b1
...
...
@@ -426,9 +426,6 @@ export default {
save
(
params
)
{
return
fetch
(
`/v1/science-admin/com-project/save`
,
params
,
'post'
,
'json'
)
},
saveByStep
(
params
)
{
return
fetch
(
`/v1/science-admin/com-project/saveByStep`
,
params
,
'post'
,
'json'
)
},
updateUnit
(
params
)
{
return
fetch
(
`/v1/science-admin/com-project/updateUnit`
,
params
,
'post'
,
'json'
)
},
...
...
src/views/report/project/components/edit/projectEdit.vue
View file @
70aa86b1
...
...
@@ -773,7 +773,7 @@ export default {
this
.
$emit
(
'load'
,
true
)
let
pars
=
isEmptyParams
(
obj
)
let
par
=
{
...
pars
}
this
.
$api
.
project
.
save
ByStep
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
formData
.
id
=
data
this
.
$message
.
success
(
'保存成功!'
)
...
...
@@ -800,7 +800,7 @@ export default {
obj
.
projState
=
10
let
pars
=
isEmptyParams
(
obj
)
let
par
=
{
...
pars
}
this
.
$api
.
project
.
save
ByStep
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
formData
.
id
=
data
if
(
next
)
{
...
...
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