Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
紫光云
web-project
Commits
86929d31
Commit
86929d31
authored
Jun 11, 2024
by
mengzixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 年度工程资金计划列表接口对接
parent
bb9ed3e8
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
299 additions
and
285 deletions
+299
-285
annualPlan.ts
src/api/project/annualPlan.ts
+5
-0
completed.ts
src/api/project/completed.ts
+2
-2
monthlyPlan.ts
src/api/project/monthlyPlan.ts
+1
-1
annualPlanEdit.vue
src/views/annualPlan/annualPlanEdit/annualPlanEdit.vue
+201
-162
tableData.tsx
src/views/annualPlan/annualPlanEdit/tableData.tsx
+65
-91
annualPlanModel.vue
src/views/annualPlan/annualPlanModel/annualPlanModel.vue
+0
-2
data.tsx
src/views/annualPlan/annualPlanModel/data.tsx
+12
-12
data.tsx
src/views/completed/data.tsx
+12
-12
index.vue
src/views/completed/index.vue
+1
-3
No files found.
src/api/project/annualPlan.ts
View file @
86929d31
import
{
ProjectParams
,
ProjectListGetResultModel
,
ProjectModel
}
from
'./model/projectModel'
;
import
{
defHttp
}
from
'@/utils/http/axios'
;
import
{
ListItem
}
from
"@/api/project/model/biddingPlanModel"
;
enum
Api
{
GetList
=
'/pro/fundPlanYear/page'
,
GetContent
=
'/pro/fundPlanYear/selectproBypan'
,
}
export
const
getAnnualPlanList
=
(
params
?:
ProjectParams
)
=>
defHttp
.
post
<
ProjectModel
>
({
url
:
Api
.
GetList
,
data
:
params
});
export
const
getContent
=
(
params
?:
{
investmentId
:
any
})
=>
defHttp
.
get
<
ListItem
[]
>
({
url
:
Api
.
GetContent
,
params
});
src/api/project/completed.ts
View file @
86929d31
...
...
@@ -2,7 +2,7 @@ import { ProjectParams, ProjectListGetResultModel, ProjectModel } from './model/
import
{
defHttp
}
from
'@/utils/http/axios'
;
enum
Api
{
GetList
=
'/statement/list/page
'
,
GetList
=
'/pro/overdueFunds/getList
'
,
}
export
const
getCompletedList
=
(
params
?:
ProjectParams
)
=>
defHttp
.
post
<
ProjectModel
>
({
url
:
Api
.
GetList
,
data
:
params
});
src/api/project/monthlyPlan.ts
View file @
86929d31
...
...
@@ -3,7 +3,7 @@ import { defHttp } from '@/utils/http/axios';
enum
Api
{
GetList
=
'/pro/monthEngineer/page'
,
GetMonthlyPlanProjectList
=
''
,
GetMonthlyPlanProjectList
=
'
/pro/fundPlanYear/selectplan
'
,
}
export
const
getMonthlyPlanList
=
(
params
?:
ProjectParams
)
=>
defHttp
.
post
<
ProjectModel
>
({
url
:
Api
.
GetList
,
data
:
params
});
...
...
src/views/annualPlan/annualPlanEdit/annualPlanEdit.vue
View file @
86929d31
This diff is collapsed.
Click to expand it.
src/views/annualPlan/annualPlanEdit/tableData.tsx
View file @
86929d31
...
...
@@ -7,13 +7,46 @@ import { Input } from 'ant-design-vue';
export
function
getBasicColumns
():
BasicColumn
[]
{
return
[
{
title
:
'
年份
'
,
dataIndex
:
'
yea
r'
,
title
:
'
季度
'
,
dataIndex
:
'
quarte
r'
,
width
:
80
,
},
{
title
:
'金额(万元)'
,
dataIndex
:
'amount'
,
title
:
'数值(万元)'
,
dataIndex
:
'numericalValue'
,
width
:
150
,
// sorter: true,
// defaultHidden: true,
edit
:
true
,
},
];
}
export
function
getBasicColumnsTwo
():
BasicColumn
[]
{
return
[
{
title
:
'季度'
,
dataIndex
:
'quarter'
,
width
:
80
,
},
{
title
:
'专项债拨款'
,
dataIndex
:
'specialFund'
,
width
:
150
,
// sorter: true,
// defaultHidden: true,
edit
:
true
,
},
{
title
:
'银行融资'
,
dataIndex
:
'bankFinancing'
,
width
:
150
,
// sorter: true,
// defaultHidden: true,
edit
:
true
,
},
{
title
:
'自有资金'
,
dataIndex
:
'ownFunds'
,
width
:
150
,
// sorter: true,
// defaultHidden: true,
...
...
@@ -45,8 +78,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
constructionMode
'
,
label
:
'
建设模式
'
,
field
:
'
totalInvestment
'
,
label
:
'
立项总投资
'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -56,8 +89,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'p
rojectType
'
,
label
:
'
项目类型
'
,
field
:
'p
lanFunds
'
,
label
:
'
2024年计划投资
'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -67,19 +100,24 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
constructionScal
e'
,
label
:
'建设
规模
'
,
field
:
'
attribut
e'
,
label
:
'建设
性质
'
,
required
:
true
,
component
:
'
Inpu
t'
,
component
:
'
Selec
t'
,
componentProps
:
{
readonly
:
true
,
style
:
{
border
:
'none'
},
options
:
[
{
label
:
'新建'
,
value
:
'0'
},
{
label
:
'结转'
,
value
:
'1'
},
{
label
:
'缓建'
,
value
:
'2'
},
],
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
projectOverview
'
,
label
:
'
项目概况
:'
,
field
:
'
beginTime
'
,
label
:
'
开工竣工时间
:'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -89,8 +127,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
fundingSourc
e'
,
label
:
'
资金来源
:'
,
field
:
'
schedul
e'
,
label
:
'
2024年底预计形象进度
:'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -100,8 +138,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
implementingEntity
'
,
label
:
'
实施主体
:'
,
field
:
'
competentDepartment
'
,
label
:
'
项目主管部门
:'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -111,8 +149,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'project
Overview
'
,
label
:
'项目
概况
:'
,
field
:
'project
Type
'
,
label
:
'项目
类型
:'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -122,22 +160,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'filingCycle'
,
label
:
'填报年度:'
,
required
:
true
,
component
:
'DatePicker'
,
componentProps
:
{
placeholder
:
'选择填报周期'
,
picker
:
'year'
,
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY'
,
format
:
'YYYY'
,
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'totalInvestment'
,
label
:
'总投资'
,
field
:
'situationPlanLimit'
,
label
:
'2023年资金执行情况-计划额:'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -146,16 +170,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'competentDepartment'
,
label
:
'项目主管部门'
,
required
:
true
,
component
:
'Input'
,
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'matchingFunds'
,
label
:
'2024年财政预算匹配资金'
,
field
:
'actualAmountSituation'
,
label
:
'2023年资金执行情况-实付额:'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -164,8 +180,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
specialBondFunds
'
,
label
:
'
其中专项债项目2024年预计使用专项债资金
'
,
field
:
'
cumulativeActualLimit
'
,
label
:
'
2023年底前累计实付额:
'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -174,8 +190,8 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'
planFunds
'
,
label
:
'2024
年计划资金
'
,
field
:
'
fundingGap
'
,
label
:
'2024
资金缺口:
'
,
required
:
true
,
component
:
'Input'
,
componentProps
:
{
...
...
@@ -183,48 +199,6 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'attribute'
,
label
:
'建设性质'
,
required
:
true
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'新建'
,
value
:
'0'
},
{
label
:
'结转'
,
value
:
'1'
},
{
label
:
'缓建'
,
value
:
'2'
},
],
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
field
:
'time'
,
component
:
'RangePicker'
,
label
:
'开竣工时间'
,
required
:
true
,
icon
:
'healthicons:i-schedule-school-date-time-outline'
,
colProps
:
{
span
:
7
,
offset
:
1
},
componentProps
:
{
placeholder
:
[
'开始日期'
,
'结束日期'
],
style
:
{
width
:
'100%'
},
valueFormat
:
'YYYY-MM-DD'
,
format
:
'YYYY-MM-DD'
,
},
},
{
field
:
'schedule'
,
label
:
'2024年底预计形象进度'
,
required
:
true
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'A(已经立项实施的跨年工程)'
,
value
:
'0'
},
{
label
:
'B(该年度必须建设的项目)'
,
value
:
'1'
},
{
label
:
'C(该年度必须建设的项目)'
,
value
:
'2'
},
],
},
colProps
:
{
span
:
7
,
offset
:
1
},
},
{
label
:
'备注'
,
field
:
'remarks'
,
...
...
src/views/annualPlan/annualPlanModel/annualPlanModel.vue
View file @
86929d31
...
...
@@ -23,7 +23,6 @@
<
script
lang=
"ts"
setup
>
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getListByPage
}
from
'@/api/project/project'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
getMonthlyPlanProjectList
}
from
"@/api/project/monthlyPlan"
;
...
...
@@ -36,7 +35,6 @@
labelWidth
:
120
,
schemas
:
searchFormSchema
,
},
searchInfo
:
{
type
:
'engineering'
},
useSearchForm
:
true
,
showTableSetting
:
false
,
bordered
:
true
,
...
...
src/views/annualPlan/annualPlanModel/data.tsx
View file @
86929d31
...
...
@@ -16,62 +16,62 @@ export const columns: (
)[]
=
[
{
title
:
'年度'
,
dataIndex
:
'
projectNam
e'
,
dataIndex
:
'
filingCycl
e'
,
width
:
180
,
},
{
title
:
'类型'
,
dataIndex
:
'
implementingEntity
'
,
dataIndex
:
'
planType
'
,
width
:
180
,
},
{
title
:
'项目数量'
,
dataIndex
:
'
constructionMode
'
,
dataIndex
:
'
totalProject
'
,
width
:
200
,
},
{
title
:
'总投资'
,
dataIndex
:
'
constructionSite
'
,
dataIndex
:
'
totalInvestment
'
,
width
:
180
,
},
{
title
:
'合同总额合计'
,
dataIndex
:
'
projectType
'
,
dataIndex
:
'
totalContract
'
,
width
:
180
,
},
{
title
:
'三年滚动投资计划合计'
,
dataIndex
:
'
fundingSource
'
,
dataIndex
:
'
totalRollingInvestment
'
,
width
:
180
,
},
{
title
:
'公司名称'
,
dataIndex
:
'co
nstructionPurpose
'
,
dataIndex
:
'co
mpany
'
,
width
:
180
,
},
{
title
:
'最新更新人'
,
dataIndex
:
'
constructionScale
'
,
dataIndex
:
'
updateBy
'
,
width
:
180
,
},
{
title
:
'最新更新时间'
,
dataIndex
:
'
constructionScal
e'
,
dataIndex
:
'
updateTim
e'
,
width
:
180
,
},
{
title
:
'审核状态'
,
dataIndex
:
'
constructionScale
'
,
dataIndex
:
'
planResult
'
,
width
:
180
,
},
{
title
:
'审核人'
,
dataIndex
:
'
constructionScale
'
,
dataIndex
:
'
auditingBy
'
,
width
:
180
,
},
{
title
:
'审核时间'
,
dataIndex
:
'
constructionScal
e'
,
dataIndex
:
'
auditingTim
e'
,
width
:
180
,
},
];
...
...
src/views/completed/data.tsx
View file @
86929d31
...
...
@@ -23,62 +23,62 @@ export const columns: (
},
{
title
:
'年度'
,
dataIndex
:
'
projectNam
e'
,
dataIndex
:
'
filingCycl
e'
,
width
:
200
,
},
{
title
:
'类型'
,
dataIndex
:
'
implementingEntity
'
,
dataIndex
:
'
planType
'
,
width
:
180
,
},
{
title
:
'合同额合计'
,
dataIndex
:
'con
structionMode
'
,
dataIndex
:
'con
tractAmount
'
,
width
:
180
,
},
{
title
:
'年资金计划额合计'
,
dataIndex
:
'
projectType
'
,
dataIndex
:
'
annualFund
'
,
width
:
180
,
},
{
title
:
'竣工结算额合计'
,
dataIndex
:
'
fundingSource
'
,
dataIndex
:
'
completionSettlement
'
,
width
:
180
,
},
{
title
:
'年资金缺口合计'
,
dataIndex
:
'
国constructionScale
'
,
dataIndex
:
'
fundingGap
'
,
width
:
180
,
},
{
title
:
'公司名称'
,
dataIndex
:
'
国constructionScale
'
,
dataIndex
:
'
company
'
,
width
:
180
,
},
{
title
:
'最新更新人'
,
dataIndex
:
'
国constructionScale
'
,
dataIndex
:
'
updateBy
'
,
width
:
180
,
},
{
title
:
'最新更新时间'
,
dataIndex
:
'
国constructionScal
e'
,
dataIndex
:
'
updateTim
e'
,
width
:
180
,
},
{
title
:
'审核状态'
,
dataIndex
:
'
国constructionScale
'
,
dataIndex
:
'
auditResult
'
,
width
:
180
,
},
{
title
:
'审核人'
,
dataIndex
:
'
国constructionScale
'
,
dataIndex
:
'
auditingBy
'
,
width
:
180
,
},
{
title
:
'审核时间'
,
dataIndex
:
'
国constructionScal
e'
,
dataIndex
:
'
auditingTim
e'
,
width
:
180
,
},
];
...
...
src/views/completed/index.vue
View file @
86929d31
...
...
@@ -39,8 +39,6 @@
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getCompletedList
}
from
'@/api/project/completed'
;
import
{
getListByPage
}
from
'@/api/project/biddingPlan'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
...
...
@@ -49,7 +47,7 @@ defineOptions({ name: 'Performance' });
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
get
ListByPage
,
api
:
get
CompletedList
,
title
:
'123'
,
columns
,
formConfig
:
{
...
...
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