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
80ce152d
Commit
80ce152d
authored
Jun 27, 2024
by
牛虎林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
1187ebf8
e42f1c2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
151 additions
and
6 deletions
+151
-6
detail.data.ts
src/views/statement/completedDrawer/detail.data.ts
+148
-1
completed.vue
src/views/statement/tabs/completed.vue
+3
-5
No files found.
src/views/statement/completedDrawer/detail.data.ts
View file @
80ce152d
import
{
FormSchema
,
BasicColumn
}
from
'@/components/Table'
;
import
{
FormSchema
,
BasicColumn
,
FormProps
}
from
'@/components/Table'
;
import
{
uploadApi
}
from
'@/api/sys/upload'
;
export
const
formSchema
:
FormSchema
[]
=
[
{
...
...
@@ -113,6 +113,153 @@ export const formSchema: FormSchema[] = [
export
const
exportUrl
=
'/pro/export/overdueFunds'
;
//查询条件
export
function
getFormConfig
():
Partial
<
FormProps
>
{
return
{
labelWidth
:
100
,
schemas
:
[
{
field
:
'filingCycle'
,
label
:
'填报周期'
,
component
:
'DatePicker'
,
componentProps
:
{
placeholder
:
'选择填报周期'
,
picker
:
'year'
,
valueFormat
:
'YYYY'
,
format
:
'YYYY'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'公司名称'
,
field
:
'company'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'项目名称'
,
field
:
'projectName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'建设地点'
,
field
:
'constructionSite'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'立项总投资合计'
,
field
:
'projectApproval'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'上一年底前累计实付额'
,
field
:
'totalActualPay'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'年资金计划额合计'
,
field
:
'totalValue'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'专项拨款合计'
,
field
:
'totalSpecialBond'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'银行融资合计'
,
field
:
'totalBankFinancing'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'自有资金合计'
,
field
:
'totalOwnFunds'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'当年资金缺口'
,
field
:
'fundingGap'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'项目主管部门'
,
field
:
'competentDepartment'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'备注'
,
field
:
'remarks'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
],
};
}
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'projecName'
,
...
...
src/views/statement/tabs/completed.vue
View file @
80ce152d
...
...
@@ -29,7 +29,7 @@
import
exportModal
from
'../components/exportModal.vue'
;
import
detaildrawer
from
'@/views/statement/completedDrawer/detailDrawer.vue'
;
import
{
completedColumns
,
searchFormSchema
}
from
'./data'
;
import
{
exportUrl
}
from
'../completedDrawer/detail.data'
;
import
{
exportUrl
,
getFormConfig
}
from
'../completedDrawer/detail.data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
inject
}
from
'vue'
;
import
{
getCompletedDetail
,
getCompletedTotalList
}
from
'@/api/project/completed'
;
...
...
@@ -43,10 +43,7 @@
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
getCompletedTotalList
,
columns
:
completedColumns
,
formConfig
:
{
labelWidth
:
120
,
schemas
:
searchFormSchema
,
},
formConfig
:
getFormConfig
(),
searchInfo
:
{
proId
:
detailId
,
},
...
...
@@ -68,6 +65,7 @@
projectId
:
null
,
exportUrl
:
exportUrl
,
title
:
"已竣工验收项目陈欠资金计划"
,
searchData
:
getForm
().
getFieldsValue
(),
exportData
:
getExportData
(),
});
}
...
...
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