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
a775c5b1
Commit
a775c5b1
authored
Jun 26, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.91isoft.com:90/purple-cloud/web-progeam
into develop
parents
5ab32386
0bcbe8b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
671 additions
and
10 deletions
+671
-10
detail.data.ts
src/views/statement/monthlyPlanDrawer/detail.data.ts
+329
-1
detail.data.ts
src/views/statement/performanceDrawer/detail.data.ts
+330
-1
monthlyPlan.vue
src/views/statement/tabs/monthlyPlan.vue
+6
-4
performance.vue
src/views/statement/tabs/performance.vue
+6
-4
No files found.
src/views/statement/monthlyPlanDrawer/detail.data.ts
View file @
a775c5b1
import
{
FormSchema
,
BasicColumn
}
from
'@/components/Table'
;
import
{
FormSchema
,
BasicColumn
,
FormProps
}
from
'@/components/Table'
;
import
{
uploadApi
}
from
'@/api/sys/upload'
;
import
{
uploadApi
}
from
'@/api/sys/upload'
;
export
const
formSchema
:
FormSchema
[]
=
[
export
const
formSchema
:
FormSchema
[]
=
[
{
{
field
:
'projectName'
,
field
:
'projectName'
,
...
@@ -379,3 +380,330 @@ export const tabList = [
...
@@ -379,3 +380,330 @@ export const tabList = [
component
:
'updateRecords'
,
component
:
'updateRecords'
,
},
},
];
];
//查询条件
export
function
getFormConfig
():
Partial
<
FormProps
>
{
return
{
labelWidth
:
100
,
schemas
:
[
{
field
:
'givenYear'
,
label
:
'填报年份'
,
component
:
'DatePicker'
,
componentProps
:
{
placeholder
:
'选择填报周期'
,
picker
:
'year'
,
valueFormat
:
'YYYY'
,
format
:
'YYYY'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
field
:
'quarter'
,
label
:
'填报季度'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'第一季度'
,
value
:
'第一季度'
},
{
label
:
'第二季度'
,
value
:
'第二季度'
},
{
label
:
'第三季度'
,
value
:
'第三季度'
,
},
{
label
:
'第四季度'
,
value
:
'第四季度'
,
},
],
placeholder
:
'季度'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'立项投资额(万元)'
,
field
:
'projectInvestment'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'资金来源'
,
field
:
'fundingSource'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'招标方式'
,
field
:
'biddingMethod'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'建委招标'
,
value
:
'1'
,
},
{
label
:
'平台招标'
,
value
:
'2'
,
},
{
label
:
'邀标比选'
,
value
:
'3'
,
},
{
label
:
'直接委托'
,
value
:
'4'
,
},
{
label
:
'评分定离'
,
value
:
'5'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同类型'
,
field
:
'contracYpe'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'施工'
,
value
:
'1'
,
},
{
label
:
'监理'
,
value
:
'2'
,
},
{
label
:
'设计'
,
value
:
'3'
,
},
{
label
:
'图审'
,
value
:
'4'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同名称'
,
field
:
'contractName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'甲方单位名称'
,
field
:
'firstPartyName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'乙方单位名称'
,
field
:
'secondPartyName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同形式'
,
field
:
'formOfContract'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'固定总价'
,
value
:
'1'
,
},
{
label
:
'固定单价'
,
value
:
'2'
,
},
{
label
:
'费率'
,
value
:
'3'
,
},
{
label
:
'其他'
,
value
:
'4'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同签订时间'
,
field
:
'contractSigningTime'
,
labelWidth
:
'140px'
,
component
:
'DatePicker'
,
componentProps
:
{
valueFormat
:
'YYYY-MM-DD'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'竣工时间'
,
field
:
'closingTime'
,
labelWidth
:
'140px'
,
component
:
'DatePicker'
,
componentProps
:
{
valueFormat
:
'YYYY-MM-DD'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算完成时间'
,
field
:
'closingTimeDatetime'
,
labelWidth
:
'140px'
,
component
:
'DatePicker'
,
componentProps
:
{
valueFormat
:
'YYYY-MM-DD'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同金额(元)'
,
field
:
'contractAmount'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'签证、变更金额(元)'
,
field
:
'submittedForSettlement'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算报送金额(元)'
,
field
:
'superContractScale'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算审定金额(元)'
,
field
:
'sumOfMoney'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算审核金额超合同额比例'
,
field
:
'proportionContractAmount'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'会议纪要'
,
field
:
'meetingMinutes'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'备注'
,
field
:
'remark'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
],
};
}
src/views/statement/performanceDrawer/detail.data.ts
View file @
a775c5b1
import
{
FormSchema
,
BasicColumn
}
from
'@/components/Table'
;
import
{
FormSchema
,
BasicColumn
,
FormProps
}
from
'@/components/Table'
;
import
{
uploadApi
}
from
'@/api/sys/upload'
;
import
{
uploadApi
}
from
'@/api/sys/upload'
;
export
const
formSchema
:
FormSchema
[]
=
[
export
const
formSchema
:
FormSchema
[]
=
[
{
{
field
:
'projectName'
,
field
:
'projectName'
,
...
@@ -425,3 +426,331 @@ export const tabList = [
...
@@ -425,3 +426,331 @@ export const tabList = [
component
:
'updateRecords'
,
component
:
'updateRecords'
,
},
},
];
];
//查询条件
export
function
getFormConfig
():
Partial
<
FormProps
>
{
return
{
labelWidth
:
100
,
schemas
:
[
{
field
:
'givenYear'
,
label
:
'填报年份'
,
component
:
'DatePicker'
,
componentProps
:
{
placeholder
:
'选择填报周期'
,
picker
:
'year'
,
valueFormat
:
'YYYY'
,
format
:
'YYYY'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
field
:
'quarter'
,
label
:
'填报季度'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'第一季度'
,
value
:
'第一季度'
},
{
label
:
'第二季度'
,
value
:
'第二季度'
},
{
label
:
'第三季度'
,
value
:
'第三季度'
,
},
{
label
:
'第四季度'
,
value
:
'第四季度'
,
},
],
placeholder
:
'季度'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'立项投资额(万元)'
,
field
:
'projectInvestment'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'资金来源'
,
field
:
'fundingSource'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'招标方式'
,
field
:
'biddingMethod'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'建委招标'
,
value
:
'1'
,
},
{
label
:
'平台招标'
,
value
:
'2'
,
},
{
label
:
'邀标比选'
,
value
:
'3'
,
},
{
label
:
'直接委托'
,
value
:
'4'
,
},
{
label
:
'评分定离'
,
value
:
'5'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同类型'
,
field
:
'contracYpe'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'施工'
,
value
:
'1'
,
},
{
label
:
'监理'
,
value
:
'2'
,
},
{
label
:
'设计'
,
value
:
'3'
,
},
{
label
:
'图审'
,
value
:
'4'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同名称'
,
field
:
'contractName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'甲方单位名称'
,
field
:
'firstPartyName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'乙方单位名称'
,
field
:
'secondPartyName'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同形式'
,
field
:
'formOfContract'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'固定总价'
,
value
:
'1'
,
},
{
label
:
'固定单价'
,
value
:
'2'
,
},
{
label
:
'费率'
,
value
:
'3'
,
},
{
label
:
'其他'
,
value
:
'4'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同签订时间'
,
field
:
'contractSigningTime'
,
labelWidth
:
'140px'
,
component
:
'DatePicker'
,
componentProps
:
{
valueFormat
:
'YYYY-MM-DD'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'竣工时间'
,
field
:
'closingTime'
,
labelWidth
:
'140px'
,
component
:
'DatePicker'
,
componentProps
:
{
valueFormat
:
'YYYY-MM-DD'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算完成时间'
,
field
:
'closingTimeDatetime'
,
labelWidth
:
'140px'
,
component
:
'DatePicker'
,
componentProps
:
{
valueFormat
:
'YYYY-MM-DD'
,
style
:
{
width
:
'100%'
,
},
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'合同金额(元)'
,
field
:
'contractAmount'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'签证、变更金额(元)'
,
field
:
'submittedForSettlement'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算报送金额(元)'
,
field
:
'superContractScale'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算审定金额(元)'
,
field
:
'sumOfMoney'
,
labelWidth
:
'140px'
,
component
:
'InputNumber'
,
componentProps
:
{
addonAfter
:
'元'
,
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'结算审核金额超合同额比例'
,
field
:
'proportionContractAmount'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'会议纪要'
,
field
:
'meetingMinutes'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'备注'
,
field
:
'remark'
,
labelWidth
:
'140px'
,
component
:
'Input'
,
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
],
};
}
src/views/statement/tabs/monthlyPlan.vue
View file @
a775c5b1
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
detaildrawer
from
'@/views/statement/monthlyPlanDrawer/detailDrawer.vue'
;
import
detaildrawer
from
'@/views/statement/monthlyPlanDrawer/detailDrawer.vue'
;
import
{
monthlyPlanColumns
,
searchFormSchema
}
from
'./data'
;
import
{
monthlyPlanColumns
,
searchFormSchema
}
from
'./data'
;
import
{
getFormConfig
}
from
'@/views/statement/monthlyPlanDrawer/detail.data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
inject
}
from
'vue'
;
import
{
inject
}
from
'vue'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
...
@@ -66,13 +67,14 @@
...
@@ -66,13 +67,14 @@
const
[
registerTable
,
{
reload
}]
=
useTable
({
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
getMonthlyPlanTotalList
,
api
:
getMonthlyPlanTotalList
,
columns
:
monthlyPlanColumns
,
columns
:
monthlyPlanColumns
,
formConfig
:
{
formConfig
:
getFormConfig
(),
labelWidth
:
120
,
schemas
:
searchFormSchema
,
},
searchInfo
:
{
searchInfo
:
{
proId
:
detailId
,
proId
:
detailId
,
},
},
rowKey
:
'id'
,
rowSelection
:
{
type
:
'checkbox'
,
},
useSearchForm
:
true
,
useSearchForm
:
true
,
showTableSetting
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
bordered
:
true
,
...
...
src/views/statement/tabs/performance.vue
View file @
a775c5b1
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
ExportModal
from
'@/views/statement/components/exportModal.vue'
;
import
ExportModal
from
'@/views/statement/components/exportModal.vue'
;
import
{
getFormConfig
}
from
'@/views/statement/performanceDrawer/detail.data'
;
import
detaildrawer
from
'@/views/statement/performanceDrawer/detailDrawer.vue'
;
import
detaildrawer
from
'@/views/statement/performanceDrawer/detailDrawer.vue'
;
import
{
performanceColumns
,
searchFormSchema
}
from
'./data'
;
import
{
performanceColumns
,
searchFormSchema
}
from
'./data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
...
@@ -53,13 +54,14 @@
...
@@ -53,13 +54,14 @@
const
[
registerTable
,
{
reload
}]
=
useTable
({
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
getPerformanceList
,
api
:
getPerformanceList
,
columns
:
performanceColumns
,
columns
:
performanceColumns
,
formConfig
:
{
formConfig
:
getFormConfig
(),
labelWidth
:
120
,
schemas
:
searchFormSchema
,
},
searchInfo
:
{
searchInfo
:
{
proId
:
detailId
,
proId
:
detailId
,
},
},
rowKey
:
'id'
,
rowSelection
:
{
type
:
'checkbox'
,
},
useSearchForm
:
true
,
useSearchForm
:
true
,
showTableSetting
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
bordered
:
true
,
...
...
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