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
0670b538
Commit
0670b538
authored
Jan 14, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4444
parent
adc2ae3c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
6 deletions
+31
-6
baseSelect.vue
src/views/components/common/baseSelect.vue
+0
-3
taskCreate.vue
src/views/report/task/components/taskCreate.vue
+31
-2
taskEdit.vue
src/views/report/task/components/taskEdit.vue
+0
-0
taskInfo.vue
src/views/report/task/components/taskInfo.vue
+0
-1
No files found.
src/views/components/common/baseSelect.vue
View file @
0670b538
...
...
@@ -243,9 +243,6 @@ export default {
watch
:
{
value
:
{
handler
(
value
)
{
if
(
!!!
value
)
this
.
selected
=
''
else
this
.
selected
=
value
+
''
this
.
$emit
(
"input"
,
this
.
selected
)
},
...
...
src/views/report/task/components/taskCreate.vue
View file @
0670b538
...
...
@@ -2,8 +2,14 @@
<
template
>
<div
class=
"app-content"
style=
"height: 76vh;overflow: auto;"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<div
class=
"page-card"
>
<a-tabs
type=
"card"
hideAdd
size=
"small"
@
change=
"callback"
>
<a-tab-pane
:key=
"item.key"
:tab=
"item.title"
v-for=
"(item) in tabsData"
>
</a-tab-pane>
</a-tabs>
</div>
<div
class=
"page-content"
>
<task-edit
v-model=
"value"
@
close=
"closeWindow"
@
load=
"onLoad"
ref=
"taskCreate"
/>
<task-edit
v-model=
"value"
@
close=
"closeWindow"
@
load=
"onLoad"
ref=
"taskCreate"
:tabsData
.
sync=
"tabsData"
/>
</div>
<div
class=
"page-footer"
>
<a-button
type=
"primary"
@
click=
"save"
>
保 存
</a-button>
...
...
@@ -23,6 +29,17 @@ export default {
data
()
{
return
{
loading
:
false
,
tabsData
:
[
{
title
:
'填报信息'
,
key
:
'0'
,
isShow
:
true
},
{
title
:
'项目组主要成员及单位'
,
key
:
'1'
,
isShow
:
true
},
{
title
:
'项目主要实施内容和目标'
,
key
:
'2'
,
isShow
:
true
},
{
title
:
'申请书正文'
,
key
:
'3'
,
isShow
:
true
},
{
title
:
'经费预算及设备明细'
,
key
:
'4'
,
isShow
:
true
},
{
title
:
'项目实施阶段及任务'
,
key
:
'5'
,
isShow
:
true
},
{
title
:
'项目课题设置'
,
key
:
'6'
,
isShow
:
true
},
{
title
:
'绩效目标表'
,
key
:
'7'
,
isShow
:
true
},
{
title
:
'附件信息'
,
key
:
'8'
,
isShow
:
true
},
],
}
},
props
:
{
...
...
@@ -48,6 +65,13 @@ export default {
onLoad
(
value
)
{
this
.
loading
=
value
},
callback
(
key
)
{
var
index
=
parseInt
(
key
)
this
.
tabsData
.
forEach
(
e
=>
{
e
.
isShow
=
false
})
this
.
tabsData
[
index
].
isShow
=
true
;
},
},
}
</
script
>
...
...
@@ -60,9 +84,14 @@ export default {
width: 8px;
height: 6px;
}
.page-card {
width: 100%;
height: 50px;
overflow: auto;
}
.page-content {
width: 100%;
height: calc(100% -
4
0px);
height: calc(100% -
9
0px);
overflow: auto;
}
.page-footer {
...
...
src/views/report/task/components/taskEdit.vue
View file @
0670b538
This diff is collapsed.
Click to expand it.
src/views/report/task/components/taskInfo.vue
View file @
0670b538
...
...
@@ -828,7 +828,6 @@
</a-col>
</a-row>
</div>
</div>
</
template
>
...
...
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