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
5c6ea8f6
Commit
5c6ea8f6
authored
Dec 16, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.yiboshi.com/XuJun/yn-science-front
parents
6cf544c0
4e8a8d0c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+8
-1
projectInfo.vue
src/views/report/project/components/projectInfo.vue
+4
-1
No files found.
src/views/report/project/components/projectEdit.vue
View file @
5c6ea8f6
...
@@ -595,6 +595,9 @@
...
@@ -595,6 +595,9 @@
<!-- 项目安排及阶段目标 -->
<!-- 项目安排及阶段目标 -->
<proj-stage-goals
:stageGoals
.
sync=
"formData.stageGoals"
/>
<proj-stage-goals
:stageGoals
.
sync=
"formData.stageGoals"
/>
<!-- 项目课题设置 -->
<project-sub-edit
:projectSubList
.
sync=
"formData.projectSubList"
/>
<!-- 附件 -->
<!-- 附件 -->
<file-edit
:fileList
.
sync=
"formData.fileList"
/>
<file-edit
:fileList
.
sync=
"formData.fileList"
/>
</a-form-model>
</a-form-model>
...
@@ -614,6 +617,7 @@ import budgetEdit from '@/views/report/project/components/budgetEdit'
...
@@ -614,6 +617,7 @@ import budgetEdit from '@/views/report/project/components/budgetEdit'
import
fundPlanEdit
from
'@/views/report/project/components/fundPlanEdit'
import
fundPlanEdit
from
'@/views/report/project/components/fundPlanEdit'
import
projectKpiEdit
from
'@/views/report/project/components/projectKpiEdit'
import
projectKpiEdit
from
'@/views/report/project/components/projectKpiEdit'
import
manufactureEdit
from
'@/views/report/project/components/manufactureEdit'
import
manufactureEdit
from
'@/views/report/project/components/manufactureEdit'
import
projectSubEdit
from
'@/views/report/project/components/projectSubEdit'
import
fileEdit
from
'@/views/report/project/components/fileEdit'
import
fileEdit
from
'@/views/report/project/components/fileEdit'
import
{
isEmptyParams
}
from
"@/views/utils/common"
import
{
isEmptyParams
}
from
"@/views/utils/common"
import
moment
from
'moment'
import
moment
from
'moment'
...
@@ -666,7 +670,7 @@ import cascaderSelect from '@/views/components/common/cascaderSelect'
...
@@ -666,7 +670,7 @@ import cascaderSelect from '@/views/components/common/cascaderSelect'
export
default
{
export
default
{
name
:
'projectEdit'
,
name
:
'projectEdit'
,
components
:
{
components
:
{
projectMemberEdit
,
cooperativeUnitsEdit
,
budgetEdit
,
fundPlanEdit
,
projectKpiEdit
,
fileEdit
,
previewFile
,
documentView
,
cascaderSelect
,
equipmentsEdit
,
deviceEdit
,
projStageGoalsEdit
,
manufacture
Edit
projectMemberEdit
,
cooperativeUnitsEdit
,
budgetEdit
,
fundPlanEdit
,
projectKpiEdit
,
fileEdit
,
previewFile
,
documentView
,
cascaderSelect
,
deviceEdit
,
projStageGoalsEdit
,
manufactureEdit
,
projectSub
Edit
},
},
props
:
{
props
:
{
value
:
{
value
:
{
...
@@ -730,6 +734,7 @@ export default {
...
@@ -730,6 +734,7 @@ export default {
deviceList
:
[],
deviceList
:
[],
manufactureList
:
[],
manufactureList
:
[],
stageGoals
:
[],
stageGoals
:
[],
projectSubList
:
[],
fileList
:
[],
fileList
:
[],
auditList
:
[],
auditList
:
[],
managerDept
:
""
,
managerDept
:
""
,
...
@@ -814,6 +819,8 @@ export default {
...
@@ -814,6 +819,8 @@ export default {
if
(
!!!
this
.
formData
.
stageGoals
||
this
.
formData
.
stageGoals
.
length
==
0
)
if
(
!!!
this
.
formData
.
stageGoals
||
this
.
formData
.
stageGoals
.
length
==
0
)
this
.
formData
.
stageGoals
=
[]
this
.
formData
.
stageGoals
=
[]
if
(
!!!
this
.
formData
.
projectSubList
||
this
.
formData
.
projectSubList
.
length
==
0
)
this
.
formData
.
projectSubList
=
[{
...
ProjectSub
}]
if
(
!!!
this
.
formData
.
fileList
||
!
this
.
formData
.
fileList
.
length
||
this
.
formData
.
fileList
.
length
==
0
)
{
if
(
!!!
this
.
formData
.
fileList
||
!
this
.
formData
.
fileList
.
length
||
this
.
formData
.
fileList
.
length
==
0
)
{
this
.
formData
.
fileList
=
[]
this
.
formData
.
fileList
=
[]
...
...
src/views/report/project/components/projectInfo.vue
View file @
5c6ea8f6
...
@@ -534,6 +534,8 @@
...
@@ -534,6 +534,8 @@
</a-row>
</a-row>
<!-- 项目安排及阶段目标 -->
<!-- 项目安排及阶段目标 -->
<proj-stage-goals-info
:stageGoals
.
sync=
"value.stageGoals"
/>
<proj-stage-goals-info
:stageGoals
.
sync=
"value.stageGoals"
/>
<!-- 项目课题设置 -->
<project-sub-info
:dataList
.
sync=
"value.projectSubList"
/>
</div>
</div>
</div>
</div>
...
@@ -548,6 +550,7 @@ import projectKpiInfo from '@/views/report/project/components/projectKpiInfo.vue
...
@@ -548,6 +550,7 @@ import projectKpiInfo from '@/views/report/project/components/projectKpiInfo.vue
import
budgetInfo
from
'@/views/report/project/components/budgetInfo'
import
budgetInfo
from
'@/views/report/project/components/budgetInfo'
import
fundPlanInfo
from
'@/views/report/project/components/fundPlanInfo'
import
fundPlanInfo
from
'@/views/report/project/components/fundPlanInfo'
import
projStageGoalsInfo
from
"@/views/report/project/components/keyProject/projStageGoalsInfo"
;
import
projStageGoalsInfo
from
"@/views/report/project/components/keyProject/projStageGoalsInfo"
;
import
projectSubInfo
from
'@/views/report/project/components/projectSubInfo'
import
fileInfo
from
"@/views/report/project/components/fileInfo"
;
import
fileInfo
from
"@/views/report/project/components/fileInfo"
;
import
documentView
from
'@/views/components/common/documentView'
import
documentView
from
'@/views/components/common/documentView'
import
AuditList
from
'@/views/audit/components/auditInfo'
import
AuditList
from
'@/views/audit/components/auditInfo'
...
@@ -556,7 +559,7 @@ import { toTextarea } from '@/views/utils/common'
...
@@ -556,7 +559,7 @@ import { toTextarea } from '@/views/utils/common'
export
default
{
export
default
{
components
:
{
components
:
{
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
fileInfo
,
documentView
,
AuditList
,
projStageGoals
Info
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
fileInfo
,
documentView
,
AuditList
,
projStageGoalsInfo
,
projectSub
Info
},
},
name
:
"ProjectInfo"
,
name
:
"ProjectInfo"
,
data
()
{
data
()
{
...
...
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