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
69323b2f
Commit
69323b2f
authored
Jan 20, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lllll
parent
02d0e1f7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
taskCreate.vue
src/views/report/task/components/taskCreate.vue
+2
-2
taskEdit.vue
src/views/report/task/components/taskEdit.vue
+2
-1
taskInfo.vue
src/views/report/task/components/taskInfo.vue
+0
-0
taskView.vue
src/views/report/task/components/taskView.vue
+7
-7
No files found.
src/views/report/task/components/taskCreate.vue
View file @
69323b2f
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
<task-edit
v-model=
"value"
@
close=
"closeWindow"
@
load=
"onLoad"
ref=
"taskCreate"
:tabsData
.
sync=
"tabsData"
/>
<task-edit
v-model=
"value"
@
close=
"closeWindow"
@
load=
"onLoad"
ref=
"taskCreate"
:tabsData
.
sync=
"tabsData"
/>
</div>
</div>
<div
class=
"page-footer"
>
<div
class=
"page-footer"
>
<a-button
type=
"primary"
@
click=
"save"
>
保 存
</a-button>
<a-button
type=
"primary"
@
click=
"save"
v-if=
"tabsData[0].isShow"
>
保 存
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 40px"
@
click=
"submit"
>
完成填写
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 40px"
@
click=
"submit"
v-if=
"tabsData[0].isShow"
>
完成填写
</a-button>
</div>
</div>
</a-spin>
</a-spin>
</div>
</div>
...
...
src/views/report/task/components/taskEdit.vue
View file @
69323b2f
...
@@ -1088,12 +1088,13 @@ import manufactureInfo from '@/views/report/project/components/manufactureInfo'
...
@@ -1088,12 +1088,13 @@ import manufactureInfo from '@/views/report/project/components/manufactureInfo'
import
projStageGoalsInfo
from
"@/views/report/project/components/projStageGoalsInfo"
;
import
projStageGoalsInfo
from
"@/views/report/project/components/projStageGoalsInfo"
;
import
projectSubInfo
from
'@/views/report/project/components/projectSubInfo'
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
{
toTextarea
}
from
'@/views/utils/common'
import
{
toTextarea
}
from
'@/views/utils/common'
export
default
{
export
default
{
name
:
'projectEdit'
,
name
:
'projectEdit'
,
components
:
{
components
:
{
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
unitPaymentInfo
,
deviceInfo
,
manufactureInfo
,
fileInfo
,
projStageGoalsInfo
,
projectSubInfo
,
participateUnitsInfo
cooperativeUnitsInfo
,
projectMemberInfo
,
projectKpiInfo
,
budgetInfo
,
fundPlanInfo
,
unitPaymentInfo
,
deviceInfo
,
manufactureInfo
,
fileInfo
,
projStageGoalsInfo
,
projectSubInfo
,
participateUnitsInfo
,
documentView
},
},
props
:
{
props
:
{
value
:
{
value
:
{
...
...
src/views/report/task/components/taskInfo.vue
View file @
69323b2f
This diff is collapsed.
Click to expand it.
src/views/report/task/components/taskView.vue
View file @
69323b2f
...
@@ -66,15 +66,15 @@ export default {
...
@@ -66,15 +66,15 @@ export default {
tabsData
:
[
tabsData
:
[
{
title
:
'全部'
,
key
:
'0'
,
isShow
:
true
},
{
title
:
'全部'
,
key
:
'0'
,
isShow
:
true
},
{
title
:
'项目基本信息'
,
key
:
'1'
,
isShow
:
true
},
{
title
:
'项目基本信息'
,
key
:
'1'
,
isShow
:
true
},
{
title
:
'项目
组主要成员
'
,
key
:
'2'
,
isShow
:
true
},
{
title
:
'项目
人员情况
'
,
key
:
'2'
,
isShow
:
true
},
{
title
:
'项目主要实施内容和目标'
,
key
:
'3'
,
isShow
:
true
},
{
title
:
'项目主要实施内容和目标'
,
key
:
'3'
,
isShow
:
true
},
{
title
:
'申请书正文'
,
key
:
'4'
,
isShow
:
true
},
{
title
:
'申请书正文'
,
key
:
'4'
,
isShow
:
true
},
{
title
:
'经费预算及设备明细'
,
key
:
'5'
,
isShow
:
true
},
{
title
:
'经费预算及设备明细'
,
key
:
'5'
,
isShow
:
true
},
{
title
:
'项目实施阶段及任务'
,
key
:
'6'
,
isShow
:
true
},
{
title
:
'项目实施阶段及任务'
,
key
:
'6'
,
isShow
:
true
},
{
title
:
'项目课题设置'
,
key
:
'7'
,
isShow
:
true
},
{
title
:
'项目课题设置'
,
key
:
'7'
,
isShow
:
true
},
{
title
:
'绩效目标表'
,
key
:
'8'
,
isShow
:
true
},
{
title
:
'绩效目标表'
,
key
:
'8'
,
isShow
:
true
},
{
title
:
'附件信息'
,
key
:
'9'
,
isShow
:
true
},
{
title
:
'附件信息'
,
key
:
'9'
,
isShow
:
true
},
{
title
:
'
项目
审核记录'
,
key
:
'10'
,
isShow
:
true
},
{
title
:
'审核记录'
,
key
:
'10'
,
isShow
:
true
},
],
],
formData
:
{
formData
:
{
id
:
null
,
id
:
null
,
...
@@ -131,13 +131,13 @@ export default {
...
@@ -131,13 +131,13 @@ export default {
},
},
},
},
created
()
{
created
()
{
this
.
get
ProjectInfoBy
Id
()
this
.
get
TaskByProj
Id
()
},
},
methods
:
{
methods
:
{
get
ProjectInfoBy
Id
()
{
get
TaskByProj
Id
()
{
if
(
this
.
value
!=
null
)
{
if
(
this
.
value
!=
null
)
{
this
.
loading
=
true
this
.
loading
=
true
this
.
$api
.
project
.
getProjectInfoBy
Id
({
id
:
this
.
value
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
task
.
getTaskByProj
Id
({
id
:
this
.
value
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
formData
=
data
this
.
formData
=
data
this
.
loading
=
false
this
.
loading
=
false
...
...
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