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
9b7e2966
Commit
9b7e2966
authored
Dec 10, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.yiboshi.com/XuJun/yn-science-front
parents
25bc000b
812c9196
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+12
-5
projectKpiInfo.vue
src/views/report/project/components/projectKpiInfo.vue
+3
-2
projectView.vue
src/views/report/project/components/projectView.vue
+2
-2
No files found.
src/views/report/project/components/projectEdit.vue
View file @
9b7e2966
...
...
@@ -468,7 +468,7 @@
</a-col>
<a-col
:span=
"8"
>
<a-form-model-item
prop=
"totalFunding"
>
<a-input-number
v-model=
"formData.totalFunding"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
<a-input-number
v-model=
"formData.totalFunding"
@
change=
"totalFundingChange"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
<span>
单位:万元
</span>
</a-form-model-item>
</a-col>
...
...
@@ -479,7 +479,7 @@
</a-col>
<a-col
:span=
"8"
>
<a-form-model-item
prop=
"govFunding"
>
<a-input-number
v-model=
"formData.govFunding"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
<a-input-number
v-model=
"formData.govFunding"
@
change=
"govFundingChange"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
<span>
单位:万元
</span>
</a-form-model-item>
</a-col>
...
...
@@ -568,7 +568,7 @@ const projectKPI = {
reportYear
:
""
,
projName
:
""
,
appUnitName
:
""
,
m
e
anagerDept
:
""
,
managerDept
:
""
,
projAttribute
:
""
,
projDeadline
:
""
,
startDate
:
""
,
...
...
@@ -677,7 +677,7 @@ export default {
projectSubList
:
[],
managementRuleList
:
[],
fileList
:
[],
m
e
anagerDept
:
""
,
managerDept
:
""
,
},
rules
:
{
mainResearchAreas
:
[{
required
:
true
,
message
:
'请填写主要研究领域'
,
trigger
:
'blur'
},],
...
...
@@ -793,7 +793,8 @@ export default {
this
.
formData
.
year2Goal
=
this
.
formData
.
projectKPI
.
year2Goal
this
.
formData
.
year3Goal
=
this
.
formData
.
projectKPI
.
year3Goal
this
.
formData
.
projectKPI
.
kpiList
=
this
.
formData
.
projectKPI
.
threeLevel
this
.
formData
.
meanagerDept
=
this
.
formData
.
projectKPI
.
meanagerDept
this
.
formData
.
managerDept
=
this
.
formData
.
projectKPI
.
managerDept
this
.
formData
.
projAttribute
=
this
.
formData
.
projectKPI
.
projAttribute
},
save
()
{
this
.
processProjectYearTarget
()
...
...
@@ -860,6 +861,12 @@ export default {
let
projDeadline
=
moment
(
this
.
formData
.
startDate
).
format
(
'YYYY-MM-DD'
)
+
"至"
+
moment
(
this
.
formData
.
endDate
).
format
(
'YYYY-MM-DD'
)
this
.
formData
.
projectKPI
.
projDeadline
=
projDeadline
}
},
totalFundingChange
()
{
this
.
formData
.
projectKPI
.
totalBudget
=
this
.
formData
.
totalFunding
},
govFundingChange
()
{
this
.
formData
.
projectKPI
.
applyFunds
=
this
.
formData
.
govFunding
}
},
watch
:
{
...
...
src/views/report/project/components/projectKpiInfo.vue
View file @
9b7e2966
...
...
@@ -17,14 +17,14 @@
</tr>
<tr>
<td
class=
"bg-title"
>
主管处室
</td>
<td
colspan=
"10"
></td>
<td
colspan=
"10"
>
{{
projectKPI
.
managerDept
}}
</td>
<td
colspan=
"2"
class=
"bg-title"
>
实施单位
</td>
<td
colspan=
"7"
>
{{
projectKPI
.
appUnitName
}}
</td>
</tr>
<tr>
<td
class=
"bg-title"
>
项目属性
</td>
<td
colspan=
"10"
>
<a-radio-group
v-model=
"projectKPI.projAttribute"
disabled=
"false
"
>
<a-radio-group
v-model=
"projectKPI.projAttribute"
:disabled=
"disabled
"
>
<a-radio
:value=
"projAttributes[0].id"
>
{{
projAttributes
[
0
].
name
}}
</a-radio>
<a-radio
:value=
"projAttributes[1].id"
>
{{
projAttributes
[
1
].
name
}}
</a-radio>
</a-radio-group>
...
...
@@ -117,6 +117,7 @@ export default {
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f01"
,
name
:
"新增项目"
},
{
id
:
"5b9d6509-aece-11ef-b6cb-0c42a1380f02"
,
name
:
"延期项目"
},
],
disabled
:
true
,
};
},
created
()
{
...
...
src/views/report/project/components/projectView.vue
View file @
9b7e2966
...
...
@@ -22,7 +22,7 @@ const projectKPI = {
reportYear
:
""
,
projName
:
""
,
appUnitName
:
""
,
m
e
anagerDept
:
""
,
managerDept
:
""
,
projAttribute
:
""
,
projDeadline
:
""
,
startDate
:
""
,
...
...
@@ -133,7 +133,7 @@ export default {
projectSubList
:
[],
managementRuleList
:
[],
fileList
:
[],
m
e
anagerDept
:
""
,
managerDept
:
""
,
},
loading
:
false
,
projType
:
getType
()
...
...
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