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
667b7103
Commit
667b7103
authored
Dec 04, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Plain Diff
xujun
parents
57ff828c
0ec37203
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+0
-5
No files found.
src/views/report/project/components/projectEdit.vue
View file @
667b7103
...
@@ -822,10 +822,8 @@ export default {
...
@@ -822,10 +822,8 @@ export default {
if
(
!!
this
.
value
)
{
if
(
!!
this
.
value
)
{
this
.
$api
.
project
.
getProjectInfoById
({
id
:
this
.
value
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
getProjectInfoById
({
id
:
this
.
value
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
console
.
log
(
'q'
,
data
)
this
.
formData
=
data
this
.
formData
=
data
this
.
loadList
()
this
.
loadList
()
console
.
log
(
'h'
,
this
.
formData
)
}
else
}
else
this
.
$emit
(
'close'
,
'error'
)
this
.
$emit
(
'close'
,
'error'
)
this
.
$emit
(
'load'
,
false
)
this
.
$emit
(
'load'
,
false
)
...
@@ -836,10 +834,8 @@ export default {
...
@@ -836,10 +834,8 @@ export default {
}
else
{
}
else
{
this
.
$api
.
project
.
getNewProject
({
projType
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
getNewProject
({
projType
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
console
.
log
(
'q'
,
data
)
this
.
formData
=
data
this
.
formData
=
data
this
.
loadList
()
this
.
loadList
()
console
.
log
(
'h'
,
this
.
formData
)
}
else
}
else
this
.
$emit
(
'close'
,
'error'
)
this
.
$emit
(
'close'
,
'error'
)
this
.
$emit
(
'load'
,
false
)
this
.
$emit
(
'load'
,
false
)
...
@@ -850,7 +846,6 @@ export default {
...
@@ -850,7 +846,6 @@ export default {
}
}
},
},
loadList
()
{
loadList
()
{
if
(
!!!
this
.
formData
.
projectResearchList
||
this
.
formData
.
projectResearchList
.
length
==
0
)
if
(
!!!
this
.
formData
.
projectResearchList
||
this
.
formData
.
projectResearchList
.
length
==
0
)
this
.
formData
.
projectResearchList
=
[{
...
ProjResearch
}]
this
.
formData
.
projectResearchList
=
[{
...
ProjResearch
}]
if
(
!!!
this
.
formData
.
managementRuleList
||
this
.
formData
.
managementRuleList
.
length
==
0
)
if
(
!!!
this
.
formData
.
managementRuleList
||
this
.
formData
.
managementRuleList
.
length
==
0
)
...
...
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