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
ddfe9f9e
Commit
ddfe9f9e
authored
Dec 17, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
33
parent
c7a3c33b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
projectEdit.vue
src/views/report/project/components/edit/projectEdit.vue
+5
-5
No files found.
src/views/report/project/components/edit/projectEdit.vue
View file @
ddfe9f9e
...
@@ -774,9 +774,9 @@ export default {
...
@@ -774,9 +774,9 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
save
(
step
)
{
save
(
step
)
{
console
.
log
(
obj
,
'obj1'
)
console
.
log
(
obj
,
'obj1'
)
var
obj
=
this
.
getObj
(
step
)
var
obj
=
this
.
getObj
(
step
)
console
.
log
(
obj
,
'obj'
)
console
.
log
(
obj
,
'obj'
)
obj
.
step
=
step
obj
.
step
=
step
if
(
this
.
checkInfo
(
step
))
{
if
(
this
.
checkInfo
(
step
))
{
this
.
$emit
(
'load'
,
true
)
this
.
$emit
(
'load'
,
true
)
...
@@ -799,6 +799,9 @@ export default {
...
@@ -799,6 +799,9 @@ export default {
this
.
$refs
.
form
.
validate
(
valid
=>
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$emit
(
'load'
,
true
)
this
.
$emit
(
'load'
,
true
)
var
arr
=
this
.
completeStatus
.
split
(
','
);
arr
[
step
]
=
"1"
;
this
.
formData
.
completeStatus
=
arr
.
toString
()
var
obj
=
this
.
getObj
(
step
)
var
obj
=
this
.
getObj
(
step
)
obj
.
step
=
step
obj
.
step
=
step
let
state
=
obj
.
projState
let
state
=
obj
.
projState
...
@@ -811,9 +814,6 @@ export default {
...
@@ -811,9 +814,6 @@ export default {
this
.
formData
.
id
=
data
this
.
formData
.
id
=
data
if
(
next
)
{
if
(
next
)
{
this
.
$emit
(
'close'
,
'save'
)
this
.
$emit
(
'close'
,
'save'
)
var
arr
=
this
.
completeStatus
.
split
(
','
);
arr
[
step
]
=
"1"
;
this
.
formData
.
completeStatus
=
arr
.
toString
()
this
.
$emit
(
'onStepChange'
,
{
step
:
step
+
1
,
state
:
arr
.
toString
()
})
this
.
$emit
(
'onStepChange'
,
{
step
:
step
+
1
,
state
:
arr
.
toString
()
})
}
else
{
}
else
{
this
.
$message
.
success
(
'成功!'
)
this
.
$message
.
success
(
'成功!'
)
...
...
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