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
23317b61
Commit
23317b61
authored
Dec 10, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
33
parent
c7b54c58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
134 deletions
+8
-134
Index.vue
src/views/report/project/Index.vue
+0
-8
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+8
-126
No files found.
src/views/report/project/Index.vue
View file @
23317b61
...
@@ -207,14 +207,6 @@ export default {
...
@@ -207,14 +207,6 @@ export default {
isButten
:
false
,
isButten
:
false
,
display
:
true
,
display
:
true
,
description
:
''
,
description
:
''
,
// downloadUrl: '/downloadFile/202306151700.docx',
// fileName: '项目申报流程.docx',
// downloadUrl: '/downloadFile/ExpertInfo.xlsx',
// fileName: '专家导入模板.xlsx',
// downloadUrl: '/downloadFile/202406261130.pdf',
// fileName: '系统用户手册.pdf',
// downloadUrl: '/downloadFile/1637631492.jpg',
// fileName: '1637631492.jpg',
url1
:
{
url1
:
{
downloadUrl
:
'/downloadFile/202406261120.doc'
,
downloadUrl
:
'/downloadFile/202406261120.doc'
,
fileName
:
'项目合同书模板.doc'
,
fileName
:
'项目合同书模板.doc'
,
...
...
src/views/report/project/components/projectEdit.vue
View file @
23317b61
...
@@ -283,71 +283,6 @@
...
@@ -283,71 +283,6 @@
<!-- 项目合作单位 -->
<!-- 项目合作单位 -->
<cooperative-units-edit
:cooperativeUnits
.
sync=
"formData.cooperativeUnits"
/>
<cooperative-units-edit
:cooperativeUnits
.
sync=
"formData.cooperativeUnits"
/>
<!--
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"required"
>
上年度研发经费支出总额(单位:万元)
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<div
class=
"special-middle"
>
<div>
<a-form-model-item
prop=
"researchTotal"
>
<a-input-number
v-model=
"formData.researchTotal"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
</a-form-model-item>
</div>
</div>
</a-col>
</a-row>
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"required"
>
上年度是否填报了研发活动情况
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<div
class=
"special-middle"
>
<div>
<a-form-model-item
prop=
"isResearchActive"
>
<base-select
v-model=
"formData.isResearchActive"
:type=
"12"
:isAll=
"true"
/>
</a-form-model-item>
</div>
</div>
</a-col>
</a-row>
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"required"
>
上一年度填报的研发投入总数(单位:万元)
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<div
class=
"special-middle"
>
<div>
<a-form-model-item
prop=
"researchCount"
>
<a-input-number
v-model=
"formData.researchCount"
:min=
"0"
:step=
"0.01"
style=
"width: 100px"
/>
</a-form-model-item>
</div>
</div>
</a-col>
</a-row>
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"required"
>
上一年度填报的研发人员数
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<div
class=
"special-middle"
>
<div>
<a-form-model-item
prop=
"researchPersonCount"
>
<a-input-number
v-model=
"formData.researchPersonCount"
:min=
"0"
:step=
"1"
style=
"width: 100px"
/>
</a-form-model-item>
</div>
</div>
</a-col>
</a-row>
-->
<a-row>
<a-row>
<a-col
:span=
"24"
style=
"border-top: 0px"
>
<a-col
:span=
"24"
style=
"border-top: 0px"
>
<div
class=
"tb-title"
>
<div
class=
"tb-title"
>
...
@@ -367,30 +302,7 @@
...
@@ -367,30 +302,7 @@
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
</a-row>
<!--
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"required"
>
项目所属二级学院/部门名称(牵头单位)
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<a-form-model-item
prop=
"leadUnit"
>
<a-input
placeholder=
"项目所属二级学院/部门名称(牵头单位)"
v-model=
"formData.leadUnit"
:maxLength=
"100"
style=
"width: 80%"
/>
</a-form-model-item>
</a-col>
</a-row>
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
推荐部门
</div>
</div>
</a-col>
<a-col
:span=
"20"
>
<div
class=
"special-middle"
>
<div>
{{
formData
.
appUnitName
}}
</div>
</div>
</a-col>
</a-row>
-->
<a-row
type=
"flex"
>
<a-row
type=
"flex"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
...
@@ -516,20 +428,17 @@
...
@@ -516,20 +428,17 @@
</div>
</div>
</a-col>
</a-col>
</a-row>
</a-row>
<!-- 项目组成员 -->
<!-- 项目组成员 -->
<project-member-edit
:dataList
.
sync=
"formData.members"
/>
<project-member-edit
:dataList
.
sync=
"formData.members"
/>
<!-- 项目绩效指标 -->
<project-kpi-edit
:projectKPI
.
sync=
"formData.projectKPI"
/>
<!-- 经费预算 -->
<!-- 经费预算 -->
<budget-edit
:budget
.
sync=
"formData.budget"
/>
<budget-edit
:budget
.
sync=
"formData.budget"
/>
<!-- 分年度用款计划 -->
<!-- 分年度用款计划 -->
<fund-plan-edit
:fundPlan
.
sync=
"formData.fundPlan"
/>
<fund-plan-edit
:fundPlan
.
sync=
"formData.fundPlan"
/>
<!-- 设备费-购置设备预算明细表 -->
<equipments-edit
:equipments
.
sync=
"formData.equipments"
/>
<!-- 科技计划项目承担单位研究资金支出预算明细表 -->
<unit-payment-edit
:unitPayment
.
sync=
"formData.unitPayment"
/>
<!-- 项目绩效指标 -->
<project-kpi-edit
:projectKPI
.
sync=
"formData.projectKPI"
/>
<!-- 附件 -->
<!-- 附件 -->
<file-edit
:fileList
.
sync=
"formData.fileList"
/>
<file-edit
:fileList
.
sync=
"formData.fileList"
/>
...
@@ -541,15 +450,9 @@
...
@@ -541,15 +450,9 @@
import
{
getType
}
from
'@/views/utils/auth'
import
{
getType
}
from
'@/views/utils/auth'
import
projectMemberEdit
from
'@/views/report/project/components/projectMemberEdit'
import
projectMemberEdit
from
'@/views/report/project/components/projectMemberEdit'
import
cooperativeUnitsEdit
from
'@/views/report/project/components/cooperativeUnitsEdit'
import
cooperativeUnitsEdit
from
'@/views/report/project/components/cooperativeUnitsEdit'
import
participateUnitsEdit
from
'@/views/report/project/components/participateUnitsEdit'
import
budgetEdit
from
'@/views/report/project/components/budgetEdit'
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
equipmentsEdit
from
'@/views/report/project/components/equipmentsEdit.vue'
import
unitPaymentEdit
from
'@/views/report/project/components/unitPaymentEdit.vue'
import
projectKpiEdit
from
'@/views/report/project/components/projectKpiEdit.vue'
import
projectKpiEdit
from
'@/views/report/project/components/projectKpiEdit.vue'
import
projectResearchEdit
from
'@/views/report/project/components/projectResearchEdit'
import
projectSubEdit
from
'@/views/report/project/components/projectSubEdit'
import
managementRuleEdit
from
'@/views/report/project/components/managementRuleEdit'
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'
...
@@ -561,7 +464,6 @@ const ProjectSub = { projName: null, undertakingUnit: null, address: null, direc
...
@@ -561,7 +464,6 @@ const ProjectSub = { projName: null, undertakingUnit: null, address: null, direc
const
Cooperative
=
{
id
:
null
,
unitName
:
null
}
const
Cooperative
=
{
id
:
null
,
unitName
:
null
}
const
ParticipateUnit
=
{
id
:
null
,
unitName
:
null
,
unitCountry
:
null
,
unitAddress
:
null
,
organizationCode
:
null
,
projectWork
:
null
}
const
ParticipateUnit
=
{
id
:
null
,
unitName
:
null
,
unitCountry
:
null
,
unitAddress
:
null
,
organizationCode
:
null
,
projectWork
:
null
}
const
Equipment
=
{
id
:
""
,
objectId
:
""
,
name
:
""
,
functionTarget
:
""
,
specificationType
:
""
,
quantity
:
1
,
totalBudget
:
0.00
,
useFrom
:
""
,
buyUnit
:
""
,
storageLocation
:
""
,
equipmentType
:
""
,
manufacturer
:
""
,
sharedScope
:
""
,
unitPrice
:
0.00
,
}
const
File
=
{
fileName
:
''
,
downloadUrl
:
''
,
fileExplain
:
''
,
downloadId
:
''
}
const
File
=
{
fileName
:
''
,
downloadUrl
:
''
,
fileExplain
:
''
,
downloadId
:
''
}
const
projectKPI
=
{
const
projectKPI
=
{
...
@@ -603,7 +505,7 @@ const projectKPI = {
...
@@ -603,7 +505,7 @@ const projectKPI = {
export
default
{
export
default
{
name
:
'projectEdit'
,
name
:
'projectEdit'
,
components
:
{
components
:
{
projectMemberEdit
,
cooperativeUnitsEdit
,
participateUnitsEdit
,
budgetEdit
,
fundPlanEdit
,
equipmentsEdit
,
unitPaymentEdit
,
projectKpiEdit
,
projectResearchEdit
,
projectSubEdit
,
managementRule
Edit
,
fileEdit
projectMemberEdit
,
cooperativeUnitsEdit
,
budgetEdit
,
fundPlanEdit
,
projectKpi
Edit
,
fileEdit
},
},
props
:
{
props
:
{
value
:
{
value
:
{
...
@@ -668,7 +570,6 @@ export default {
...
@@ -668,7 +570,6 @@ export default {
projectKPI
:
projectKPI
,
projectKPI
:
projectKPI
,
unitPayment
:
[],
unitPayment
:
[],
cooperativeUnits
:
[],
cooperativeUnits
:
[],
participateUnits
:
[],
members
:
[],
members
:
[],
budget
:
[],
budget
:
[],
fundPlan
:
[],
fundPlan
:
[],
...
@@ -758,31 +659,12 @@ export default {
...
@@ -758,31 +659,12 @@ export default {
}
}
},
},
loadList
()
{
loadList
()
{
if
(
!!!
this
.
formData
.
participateUnits
||
this
.
formData
.
participateUnits
.
length
==
0
)
this
.
formData
.
participateUnits
=
[{
...
ParticipateUnit
}]
if
(
!!!
this
.
formData
.
cooperativeUnits
||
this
.
formData
.
cooperativeUnits
.
length
==
0
)
if
(
!!!
this
.
formData
.
cooperativeUnits
||
this
.
formData
.
cooperativeUnits
.
length
==
0
)
this
.
formData
.
cooperativeUnits
=
[{
...
Cooperative
},
{
...
Cooperative
}]
this
.
formData
.
cooperativeUnits
=
[{
...
Cooperative
},
{
...
Cooperative
}]
if
(
!!!
this
.
formData
.
projectResearchList
||
this
.
formData
.
projectResearchList
.
length
==
0
)
this
.
formData
.
projectResearchList
=
[{
...
ProjResearch
}]
if
(
!!!
this
.
formData
.
managementRuleList
||
this
.
formData
.
managementRuleList
.
length
==
0
)
this
.
formData
.
managementRuleList
=
[{
...
ManagementRule
}]
if
(
!!!
this
.
formData
.
projectSubList
||
this
.
formData
.
projectSubList
.
length
==
0
)
this
.
formData
.
projectSubList
=
[{
...
ProjectSub
}]
if
(
!!!
this
.
formData
.
members
||
this
.
formData
.
members
.
length
==
0
)
if
(
!!!
this
.
formData
.
members
||
this
.
formData
.
members
.
length
==
0
)
this
.
formData
.
members
=
[]
this
.
formData
.
members
=
[]
if
(
!!!
this
.
formData
.
equipments
||
!
this
.
formData
.
equipments
.
length
||
this
.
formData
.
equipments
.
length
==
0
)
{
this
.
formData
.
equipments
=
[]
}
if
(
!!!
this
.
formData
.
unitPayment
||
!
this
.
formData
.
unitPayment
.
length
||
this
.
formData
.
unitPayment
.
length
==
0
)
{
this
.
formData
.
unitPayment
=
[]
}
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
=
[]
}
}
...
@@ -862,10 +744,10 @@ export default {
...
@@ -862,10 +744,10 @@ export default {
this
.
formData
.
projectKPI
.
projDeadline
=
projDeadline
this
.
formData
.
projectKPI
.
projDeadline
=
projDeadline
}
}
},
},
totalFundingChange
()
{
totalFundingChange
()
{
this
.
formData
.
projectKPI
.
totalBudget
=
this
.
formData
.
totalFunding
this
.
formData
.
projectKPI
.
totalBudget
=
this
.
formData
.
totalFunding
},
},
govFundingChange
()
{
govFundingChange
()
{
this
.
formData
.
projectKPI
.
applyFunds
=
this
.
formData
.
govFunding
this
.
formData
.
projectKPI
.
applyFunds
=
this
.
formData
.
govFunding
}
}
},
},
...
...
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