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
27621b90
Commit
27621b90
authored
Jun 27, 2024
by
牛虎林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
b7186d0c
670b12a0
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
457 additions
and
413 deletions
+457
-413
completedModel.vue
src/views/completed/completedModel/completedModel.vue
+2
-1
drawerData.ts
src/views/project/completedDrawer/drawerData.ts
+1
-1
drawerData.ts
src/views/project/performanceDrawer/drawerData.ts
+0
-10
annex.vue
src/views/project/tabs/annex.vue
+2
-1
contract.vue
src/views/project/tabs/contract.vue
+1
-1
listData.ts
src/views/project/tabs/listData.ts
+0
-5
educationDrawer.vue
src/views/safetyEducation/educationDrawer.vue
+1
-1
detail.data.ts
src/views/statement/biddingManagement/detail.data.ts
+36
-2
detail.data.ts
src/views/statement/biddingPlan/detail.data.ts
+36
-2
detail.data.ts
src/views/statement/monthlyPlanDrawer/detail.data.ts
+1
-1
InvestmentPlan.vue
src/views/statement/tabs/InvestmentPlan.vue
+85
-87
annex.vue
src/views/statement/tabs/annex.vue
+1
-2
annualPlan.vue
src/views/statement/tabs/annualPlan.vue
+13
-12
biddingManagement.vue
src/views/statement/tabs/biddingManagement.vue
+1
-5
biddingPlan.vue
src/views/statement/tabs/biddingPlan.vue
+1
-1
changeSignature.vue
src/views/statement/tabs/changeSignature.vue
+18
-18
completed.vue
src/views/statement/tabs/completed.vue
+9
-9
data.ts
src/views/statement/tabs/data.ts
+249
-254
No files found.
src/views/completed/completedModel/completedModel.vue
View file @
27621b90
...
...
@@ -27,11 +27,12 @@
</template>
<
script
lang=
"ts"
setup
>
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
useTable
}
from
'@/components/Table'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
getCompletedProjectList
}
from
'@/api/project/completed'
;
import
{
Tag
}
from
'ant-design-vue'
;
const
[
registerTable
,
{
reload
,
getSelectRows
,
clearSelectedRowKeys
}]
=
useTable
({
api
:
getCompletedProjectList
,
title
:
'123'
,
...
...
src/views/project/completedDrawer/drawerData.ts
View file @
27621b90
...
...
@@ -11,7 +11,7 @@ export const completedFormSchema: FormSchema[] = [
},
{
label
:
'公司名称'
,
field
:
'company
Name
'
,
field
:
'company'
,
labelWidth
:
'140px'
,
required
:
false
,
component
:
'Input'
,
...
...
src/views/project/performanceDrawer/drawerData.ts
View file @
27621b90
...
...
@@ -95,16 +95,6 @@ export const performanceFormSchema: FormSchema[] = [
addonAfter
:
'万元'
,
},
},
{
label
:
'该年实际完成投资额'
,
labelWidth
:
'140px'
,
field
:
'actualOutputValue'
,
required
:
false
,
component
:
'Input'
,
componentProps
:
{
addonAfter
:
'万元'
,
},
},
{
label
:
'该年计划资金'
,
labelWidth
:
'140px'
,
...
...
src/views/project/tabs/annex.vue
View file @
27621b90
...
...
@@ -36,7 +36,8 @@
</
template
>
</template>
</BasicTable>
<annex-drawer
/>
<AnnexDrawer
@
register=
"registerDrawer"
@
success=
"handleSuccess"
/>
</div>
</template>
<
script
lang=
"ts"
setup
>
...
...
src/views/project/tabs/contract.vue
View file @
27621b90
...
...
@@ -37,7 +37,7 @@
</div>
</template>
<
script
lang=
"ts"
setup
>
import
{
contractColumns
,
searchFormSchema
}
from
'./listData'
;
import
{
contractColumns
}
from
'./listData'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getContractListPage
,
deleteItem
}
from
'@/api/contract/contract'
;
import
{
inject
}
from
'vue'
;
...
...
src/views/project/tabs/listData.ts
View file @
27621b90
...
...
@@ -199,11 +199,6 @@ export const performanceColumns: BasicColumn[] = [
dataIndex
:
'planNum'
,
width
:
180
,
},
{
title
:
'该年实际完成投资额'
,
dataIndex
:
'actualOutputValue'
,
width
:
180
,
},
{
title
:
'该年计划资金'
,
dataIndex
:
'planFunds'
,
...
...
src/views/safetyEducation/educationDrawer.vue
View file @
27621b90
...
...
@@ -15,7 +15,7 @@
<
script
lang=
"ts"
setup
>
import
{
onMounted
,
ref
,
unref
}
from
'vue'
;
import
{
BasicForm
,
useForm
,
FormActionType
}
from
'@/components/Form'
;
import
{
formSchema
,
searchFormSchema
}
from
'./data'
;
import
{
formSchema
}
from
'./data'
;
import
{
BasicDrawer
,
useDrawerInner
}
from
'@/components/Drawer'
;
import
{
addItem
,
getUserList
,
updateItem
}
from
'@/api/project/safetyEducation'
;
...
...
src/views/statement/biddingManagement/detail.data.ts
View file @
27621b90
...
...
@@ -500,8 +500,8 @@ export function getFormConfig(): Partial<FormProps> {
labelWidth
:
100
,
schemas
:
[
{
field
:
'
fillingPeriod
'
,
label
:
'填报
周期
'
,
field
:
'
tenderYear
'
,
label
:
'填报
年份
'
,
component
:
'DatePicker'
,
componentProps
:
{
placeholder
:
'选择填报周期'
,
...
...
@@ -517,6 +517,40 @@ export function getFormConfig(): Partial<FormProps> {
xxl
:
4
,
},
},
{
label
:
'填报季度'
,
field
:
'biddingQuarter'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'第一季度'
,
value
:
'第一季度'
,
key
:
'第一季度'
,
},
{
label
:
'第二季度'
,
value
:
'第二季度'
,
key
:
'第二季度'
,
},
{
label
:
'第三季度'
,
value
:
'第三季度'
,
key
:
'第三季度'
,
},
{
label
:
'第四季度'
,
value
:
'第四季度'
,
key
:
'第四季度'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'项目名称'
,
field
:
'projectName'
,
...
...
src/views/statement/biddingPlan/detail.data.ts
View file @
27621b90
...
...
@@ -427,8 +427,8 @@ export function getFormConfig(): Partial<FormProps> {
labelWidth
:
100
,
schemas
:
[
{
field
:
'
fillingPeriod
'
,
label
:
'填报
周期
'
,
field
:
'
tenderYear
'
,
label
:
'填报
年份
'
,
component
:
'DatePicker'
,
componentProps
:
{
placeholder
:
'选择填报周期'
,
...
...
@@ -444,6 +444,40 @@ export function getFormConfig(): Partial<FormProps> {
xxl
:
4
,
},
},
{
label
:
'填报季度'
,
field
:
'biddingQuarter'
,
labelWidth
:
'140px'
,
component
:
'Select'
,
componentProps
:
{
options
:
[
{
label
:
'第一季度'
,
value
:
'第一季度'
,
key
:
'第一季度'
,
},
{
label
:
'第二季度'
,
value
:
'第二季度'
,
key
:
'第二季度'
,
},
{
label
:
'第三季度'
,
value
:
'第三季度'
,
key
:
'第三季度'
,
},
{
label
:
'第四季度'
,
value
:
'第四季度'
,
key
:
'第四季度'
,
},
],
},
colProps
:
{
xl
:
8
,
xxl
:
4
,
},
},
{
label
:
'项目名称'
,
field
:
'projectName'
,
...
...
src/views/statement/monthlyPlanDrawer/detail.data.ts
View file @
27621b90
import
{
FormSchema
,
BasicColumn
,
FormProps
}
from
'@/components/Table'
;
import
{
uploadApi
}
from
'@/api/sys/upload'
;
// 月季度-详情
export
const
formSchema
:
FormSchema
[]
=
[
{
field
:
'projectName'
,
...
...
src/views/statement/tabs/InvestmentPlan.vue
View file @
27621b90
...
...
@@ -9,7 +9,7 @@
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<TableAction
:actions=
"[
:actions=
"[
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
...
...
@@ -23,98 +23,96 @@
</template>
</BasicTable>
<exportModal
@
register=
"registerModal"
/>
<detaildrawer
@
register=
"registerDrawer"
></detaildrawer
>
<detaildrawer
@
register=
"registerDrawer"
/
>
</template>
<
script
lang=
"ts"
setup
>
import
exportModal
from
'../components/exportModal.vue'
;
import
detaildrawer
from
'@/views/statement/InvestmentPlanlDrawer/detailDrawer.vue'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
exportUrl
}
from
'../InvestmentPlanlDrawer/detail.data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
inject
}
from
'vue'
;
import
{
getInvestmentPlanDetail
,
getInvestmentPlanList
}
from
'@/api/project/statement'
;
import
{
router
}
from
'@/router'
;
import
DetailDrawer
from
"@/views/statement/InvestmentPlanlDrawer/detailDrawer.vue"
;
import
{
useDrawer
}
from
"@/components/Drawer"
;
import
{
useModal
}
from
"@/components/Modal"
;
import
{
getFormConfig
}
from
"@/views/statement/InvestmentPlanlDrawer/detail.data"
;
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
const
[
registerModal
,
{
openModal
:
openModal
}]
=
useModal
();
const
[
registerTable
,
{
reload
,
getForm
}]
=
useTable
({
api
:
getInvestmentPlanList
,
columns
,
formConfig
:
getFormConfig
(),
useSearchForm
:
true
,
showTableSetting
:
false
,
bordered
:
true
,
showIndexColumn
:
false
,
actionColumn
:
{
width
:
200
,
title
:
'操作'
,
dataIndex
:
'action'
,
// slots: { customRender: 'action' },
fixed
:
undefined
,
},
});
import
exportModal
from
'../components/exportModal.vue'
;
import
detaildrawer
from
'@/views/statement/InvestmentPlanlDrawer/detailDrawer.vue'
;
import
{
columns
}
from
'./data'
;
import
{
exportUrl
}
from
'../InvestmentPlanlDrawer/detail.data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getInvestmentPlanDetail
,
getInvestmentPlanList
}
from
'@/api/project/statement'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
getFormConfig
}
from
'@/views/statement/InvestmentPlanlDrawer/detail.data'
;
function
handleExport
()
{
openModal
(
true
,
{
projectId
:
null
,
exportUrl
:
exportUrl
,
title
:
"投资计划"
,
searchData
:
getForm
().
getFieldsValue
(),
exportData
:
getExportData
(),
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
const
[
registerModal
,
{
openModal
:
openModal
}]
=
useModal
();
const
[
registerTable
,
{
reload
,
getForm
}]
=
useTable
({
api
:
getInvestmentPlanList
,
columns
,
formConfig
:
getFormConfig
(),
useSearchForm
:
true
,
showTableSetting
:
false
,
bordered
:
true
,
showIndexColumn
:
false
,
actionColumn
:
{
width
:
200
,
title
:
'操作'
,
dataIndex
:
'action'
,
// slots: { customRender: 'action' },
fixed
:
undefined
,
},
});
}
//导出相关操作
function
getExportData
()
{
let
exportData
=
[];
columns
.
map
((
i
)
=>
{
exportData
.
push
({
label
:
i
.
title
,
value
:
i
.
dataIndex
,
function
handleExport
()
{
openModal
(
true
,
{
projectId
:
null
,
exportUrl
:
exportUrl
,
title
:
'投资计划'
,
searchData
:
getForm
().
getFieldsValue
()
,
exportData
:
getExportData
()
,
});
});
return
exportData
;
}
}
async
function
handleDetail
(
record
:
Recordable
,
disabled
:
number
)
{
console
.
log
(
'record'
,
record
)
console
.
log
(
'disabled'
,
disabled
)
const
res
=
await
getInvestmentPlanDetail
({
id
:
record
.
id
})
console
.
log
(
'res'
,
res
)
openDrawer
(
true
,
{
record
:
res
,
disabled
,
isUpdate
:
true
,
type
:
'工程'
});
//导出相关操作
function
getExportData
()
{
let
exportData
=
[];
columns
.
map
((
i
)
=>
{
exportData
.
push
({
label
:
i
.
title
,
value
:
i
.
dataIndex
,
});
});
return
exportData
;
}
async
function
handleDetail
(
record
:
Recordable
,
disabled
:
number
)
{
console
.
log
(
'record'
,
record
);
console
.
log
(
'disabled'
,
disabled
);
const
res
=
await
getInvestmentPlanDetail
({
id
:
record
.
id
});
console
.
log
(
'res'
,
res
);
openDrawer
(
true
,
{
record
:
res
,
disabled
,
isUpdate
:
true
,
type
:
'工程'
,
});
// if (record.planType === '工程') {
// router.push({
// path: '/engineeringProject/engineeringEdit',
// query: {
// id: record.id,
// disabled: String(disabled),
// },
// });
// } else if (record.planType === '承建') {
// router.push({
// path: '/engineeringProject/constructionEdit',
// query: {
// id: record.id,
// disabled: String(disabled),
// },
// });
// } else if (record.planType === '储备') {
// router.push({
// path: '/engineeringProject/reserveEdit',
// query: {
// id: record.id,
// disabled: String(disabled),
// },
// });
// }
}
// if (record.planType === '工程') {
// router.push({
// path: '/engineeringProject/engineeringEdit',
// query: {
// id: record.id,
// disabled: String(disabled),
// },
// });
// } else if (record.planType === '承建') {
// router.push({
// path: '/engineeringProject/constructionEdit',
// query: {
// id: record.id,
// disabled: String(disabled),
// },
// });
// } else if (record.planType === '储备') {
// router.push({
// path: '/engineeringProject/reserveEdit',
// query: {
// id: record.id,
// disabled: String(disabled),
// },
// });
// }
}
</
script
>
src/views/statement/tabs/annex.vue
View file @
27621b90
...
...
@@ -37,8 +37,7 @@
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getAnnexList
,
deleteAnnex
}
from
'@/api/project/project'
;
import
{
inject
}
from
'vue'
;
import
{
router
}
from
'@/router'
;
import
{
Tag
}
from
'ant-design-vue'
;
let
detailId
=
inject
(
'detailId'
);
console
.
log
(
'detailId'
,
detailId
);
const
[
registerTable
,
{
reload
}]
=
useTable
({
...
...
src/views/statement/tabs/annualPlan.vue
View file @
27621b90
...
...
@@ -23,21 +23,22 @@
</template>
</BasicTable>
<exportModal
@
register=
"registerModal"
/>
<detaildrawer
@
register=
"registerDrawer"
></detaildrawer
>
<detaildrawer
@
register=
"registerDrawer"
/
>
</template>
<
script
lang=
"ts"
setup
>
import
exportModal
from
'../components/exportModal.vue'
;
import
exportModal
from
'../components/exportModal.vue'
;
import
detaildrawer
from
'@/views/statement/annualPlanDrawer/detailDrawer.vue'
;
import
{
annualPlanColumns
,
searchFormSchema
}
from
'./data'
;
import
{
exportUrl
}
from
'../annualPlanDrawer/detail.data'
import
{
annualPlanColumns
}
from
'./data'
;
import
{
exportUrl
}
from
'../annualPlanDrawer/detail.data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
inject
}
from
'vue'
;
import
{
getAnnualPlanDetail
,
getAnnualPlanTotalList
}
from
'@/api/project/annualPlan'
;
import
{
getAnnualPlanDetail
,
getAnnualPlanTotalList
}
from
'@/api/project/annualPlan'
;
import
{
router
}
from
'@/router'
;
import
{
useDrawer
}
from
"@/components/Drawer"
;
import
{
getFormConfig
}
from
"@/views/statement/annualPlanDrawer/detail.data"
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
getFormConfig
}
from
'@/views/statement/annualPlanDrawer/detail.data'
;
import
{
useModal
}
from
'@/components/Modal'
;
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
import
{
useModal
}
from
"@/components/Modal"
;
const
[
registerModal
,
{
openModal
:
openModal
}]
=
useModal
();
let
detailId
=
inject
(
'detailId'
);
console
.
log
(
'detailId'
,
detailId
);
...
...
@@ -64,8 +65,8 @@
openModal
(
true
,
{
projectId
:
null
,
exportUrl
:
exportUrl
,
title
:
"年度资金计划"
,
searchData
:
getForm
().
getFieldsValue
(),
title
:
'年度资金计划'
,
searchData
:
getForm
().
getFieldsValue
(),
exportData
:
getExportData
(),
});
}
...
...
@@ -81,8 +82,8 @@
});
return
exportData
;
}
async
function
handleDetail
(
record
:
Recordable
,
disabled
:
number
)
{
const
res
=
await
getAnnualPlanDetail
({
id
:
record
.
id
})
async
function
handleDetail
(
record
:
Recordable
,
disabled
:
number
)
{
const
res
=
await
getAnnualPlanDetail
({
id
:
record
.
id
});
console
.
log
(
'res'
,
res
);
openDrawer
(
true
,
{
record
:
res
,
...
...
src/views/statement/tabs/biddingManagement.vue
View file @
27621b90
...
...
@@ -28,11 +28,7 @@
</div>
</template>
<
script
lang=
"ts"
setup
>
import
{
biddingManagementColumns
,
exportBiddingManagementColumns
,
searchFormSchema
,
}
from
'./data'
;
import
{
biddingManagementColumns
,
exportBiddingManagementColumns
}
from
'./data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
tendermanageGetListByPage
}
from
'@/api/project/biddingManagement'
;
import
{
inject
}
from
'vue'
;
...
...
src/views/statement/tabs/biddingPlan.vue
View file @
27621b90
...
...
@@ -30,7 +30,7 @@
<
script
lang=
"ts"
setup
>
import
exportModal
from
'../biddingPlan/exportModal.vue'
;
import
{
getFormConfig
}
from
'@/views/statement/biddingPlan/detail.data'
;
import
{
biddingPlanColumns
,
exportBiddingPlanColumns
,
searchFormSchema
}
from
'./data'
;
import
{
biddingPlanColumns
,
exportBiddingPlanColumns
}
from
'./data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getListTenderPlanGetList
}
from
'@/api/project/biddingPlan'
;
import
{
inject
}
from
'vue'
;
...
...
src/views/statement/tabs/changeSignature.vue
View file @
27621b90
...
...
@@ -30,26 +30,29 @@
</template>
</BasicTable>
<exportModal
@
register=
"registerModal"
/>
<detaildrawer
@
register=
"registerDrawer"
></detaildrawer
>
<detaildrawer
@
register=
"registerDrawer"
/
>
</template>
<
script
lang=
"ts"
setup
>
import
detaildrawer
from
'@/views/statement/changeSignatureDrawer/detailDrawer.vue'
;
import
{
changeSignatureColumns
,
searchFormSchema
}
from
'./data'
;
import
detaildrawer
from
'@/views/statement/changeSignatureDrawer/detailDrawer.vue'
;
import
{
changeSignatureColumns
}
from
'./data'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
getChangeSignatureList
,
getSettlementManageList
}
from
'@/api/changeSignatrue/changeSignatrue'
;
import
{
useDrawer
}
from
"@/components/Drawer"
;
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
import
{
getChangeSignatureList
}
from
'@/api/changeSignatrue/changeSignatrue'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
inject
}
from
'vue'
;
let
detailId
=
inject
(
'detailId'
);
//导出相关操作
import
{
biddingPlanColumns
,
exportUrl
}
from
"@/views/statement/components/changeSignature/data"
;
import
exportModal
from
'../components/exportModal.vue'
;
import
{
useModal
}
from
"@/components/Modal"
;
const
[
registerModal
,
{
openModal
:
openModal
}]
=
useModal
();
import
{
biddingPlanColumns
,
exportUrl
}
from
'@/views/statement/components/changeSignature/data'
;
import
exportModal
from
'../components/exportModal.vue'
;
import
{
useModal
}
from
'@/components/Modal'
;
//高级搜索相关
import
{
getFormConfig
}
from
"@/views/statement/changeSignatureDrawer/detail.data"
import
{
getFormConfig
}
from
'@/views/statement/changeSignatureDrawer/detail.data'
;
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
let
detailId
=
inject
(
'detailId'
);
const
[
registerModal
,
{
openModal
:
openModal
}]
=
useModal
();
console
.
log
(
'detailId'
,
detailId
);
const
[
registerTable
,
{
reload
,
getForm
}]
=
useTable
({
const
[
registerTable
,
{
reload
,
getForm
}]
=
useTable
({
api
:
getChangeSignatureList
,
columns
:
changeSignatureColumns
,
useSearchForm
:
true
,
...
...
@@ -94,8 +97,8 @@ import {getFormConfig} from "@/views/statement/changeSignatureDrawer/detail.data
openModal
(
true
,
{
projectId
:
null
,
exportUrl
:
exportUrl
,
title
:
"变更签证管理"
,
searchData
:
getForm
().
getFieldsValue
(),
title
:
'变更签证管理'
,
searchData
:
getForm
().
getFieldsValue
(),
exportData
:
getExportData
(),
});
}
...
...
@@ -124,6 +127,3 @@ function changeTypeShow(value:any){
return
changeTypDta
.
find
((
item
:
any
)
=>
item
.
value
==
value
)?.
label
;
}
</
script
>
src/views/statement/tabs/completed.vue
View file @
27621b90
...
...
@@ -23,20 +23,20 @@
</template>
</BasicTable>
<exportModal
@
register=
"registerModal"
/>
<detaildrawer
@
register=
"registerDrawer"
></detaildrawer
>
<detaildrawer
@
register=
"registerDrawer"
/
>
</template>
<
script
lang=
"ts"
setup
>
import
exportModal
from
'../components/exportModal.vue'
;
import
exportModal
from
'../components/exportModal.vue'
;
import
detaildrawer
from
'@/views/statement/completedDrawer/detailDrawer.vue'
;
import
{
completedColumns
,
searchFormSchema
}
from
'./data'
;
import
{
completedColumns
}
from
'./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'
;
import
{
router
}
from
'@/router'
;
import
{
getCompletedDetail
,
getCompletedTotalList
}
from
'@/api/project/completed'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
useModal
}
from
'@/components/Modal'
;
const
[
registerDrawer
,
{
openDrawer
}]
=
useDrawer
();
import
{
useModal
}
from
"@/components/Modal"
;
const
[
registerModal
,
{
openModal
:
openModal
}]
=
useModal
();
let
detailId
=
inject
(
'detailId'
);
console
.
log
(
'detailId'
,
detailId
);
...
...
@@ -64,8 +64,8 @@
openModal
(
true
,
{
projectId
:
null
,
exportUrl
:
exportUrl
,
title
:
"已竣工验收项目陈欠资金计划"
,
searchData
:
getForm
().
getFieldsValue
(),
title
:
'已竣工验收项目陈欠资金计划'
,
searchData
:
getForm
().
getFieldsValue
(),
exportData
:
getExportData
(),
});
}
...
...
@@ -85,7 +85,7 @@
async
function
handleDetail
(
record
:
Recordable
,
disabled
:
number
)
{
console
.
log
(
'record'
,
record
);
console
.
log
(
'disabled'
,
disabled
);
const
res
=
await
getCompletedDetail
({
id
:
record
.
id
})
const
res
=
await
getCompletedDetail
({
id
:
record
.
id
});
console
.
log
(
'res'
,
res
);
openDrawer
(
true
,
{
record
:
res
,
...
...
src/views/statement/tabs/data.ts
View file @
27621b90
...
...
@@ -2,15 +2,10 @@ import { FormSchema, BasicColumn } from '@/components/Table';
export
const
exportPotentialUrl
=
'/pro/export/safetyHazard'
;
export
const
exportEducationUrl
=
'/pro/export/safetyEducation'
;
export
const
exportUrl
=
'/pro/export/investmentPlan'
;
// 2-报表中心-计划完成情况导出
export
const
performanceExportColumns
:
BasicColumn
[]
=
[
{
title
:
'序号'
,
dataIndex
:
'serialNumber'
,
// 这个dataIndex仅作为标识,不对应实际数据字段
width
:
50
,
// 可以自定义宽度 // 对应模板中的具名插槽
scopedSlots
:
{
customRender
:
'bodyCell'
},
// 对应模板中的具名插槽
},
{
title
:
'填报周期'
,
dataIndex
:
'filingCycle'
,
...
...
@@ -119,12 +114,6 @@ export const performanceExportColumns: BasicColumn[] = [
];
// 4-报表中心-月季度导出
export
const
monthExportColumns
:
BasicColumn
[]
=
[
{
title
:
'序号'
,
dataIndex
:
'serialNumber'
,
// 这个dataIndex仅作为标识,不对应实际数据字段
width
:
50
,
// 可以自定义宽度 // 对应模板中的具名插槽
scopedSlots
:
{
customRender
:
'bodyCell'
},
// 对应模板中的具名插槽
},
{
title
:
'填报周期'
,
dataIndex
:
'monthYear'
,
...
...
@@ -226,6 +215,241 @@ export const monthExportColumns: BasicColumn[] = [
width
:
180
,
},
];
// 6-报表中心-招标计划导出
export
const
exportBiddingPlanColumns
=
[
{
title
:
'填报周期'
,
dataIndex
:
'fillingPeriod'
,
width
:
200
,
},
{
title
:
'项目名称'
,
sort
:
true
,
dataIndex
:
'projectName'
,
width
:
180
,
},
{
title
:
'立项主体'
,
sort
:
true
,
dataIndex
:
'projectInitiator'
,
width
:
180
,
},
{
title
:
'资金来源'
,
sort
:
true
,
dataIndex
:
'fundingSource'
,
width
:
180
,
},
{
title
:
'立项投资额(万元) '
,
sort
:
true
,
dataIndex
:
'investmentAmount'
,
width
:
180
,
},
{
title
:
'招标类型'
,
dataIndex
:
'biddingType'
,
width
:
180
,
},
{
title
:
'招标内容'
,
sort
:
true
,
dataIndex
:
'tenderContent'
,
width
:
180
,
},
{
title
:
'预计控制价(万元)'
,
dataIndex
:
'controlPrice'
,
width
:
180
,
},
{
title
:
'计划工期'
,
dataIndex
:
'plannedPeriod'
,
width
:
180
,
},
{
title
:
'招标方式'
,
dataIndex
:
'biddingMethod'
,
width
:
180
,
},
{
title
:
'计划招标周期'
,
dataIndex
:
'biddingPeriod'
,
width
:
180
,
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
width
:
180
,
},
];
// 7-报表中心-招标管理导出
export
const
exportBiddingManagementColumns
=
[
{
title
:
'填报周期'
,
dataIndex
:
'fillingPeriod'
,
width
:
200
,
},
{
title
:
'项目名称 '
,
sort
:
true
,
dataIndex
:
'projectName'
,
width
:
180
,
},
{
title
:
'立项投资额(万元)'
,
dataIndex
:
'investmentAmount'
,
width
:
180
,
},
{
title
:
'资金来源'
,
dataIndex
:
'fundingSource'
,
width
:
180
,
},
{
title
:
'招标类型'
,
dataIndex
:
'biddingType'
,
width
:
180
,
},
{
title
:
'招标内容'
,
dataIndex
:
'tenderContent'
,
width
:
180
,
},
{
title
:
'招标控制(元)'
,
dataIndex
:
'controlPrice'
,
width
:
180
,
},
{
title
:
'建设模式'
,
dataIndex
:
'constructionMode'
,
width
:
180
,
},
{
title
:
'招标采购方式'
,
dataIndex
:
'procurementMethod'
,
width
:
180
,
},
{
title
:
'招标完成情况'
,
dataIndex
:
'completionStatus'
,
width
:
180
,
},
{
title
:
'开标时间'
,
dataIndex
:
'openingTime'
,
width
:
180
,
},
{
title
:
'中标单位'
,
dataIndex
:
'winningBidder'
,
width
:
180
,
},
{
title
:
'中标金额(元)'
,
dataIndex
:
'winningAmount'
,
width
:
150
,
},
{
title
:
'中标工期'
,
dataIndex
:
'winningPeriod'
,
width
:
150
,
},
{
title
:
'合同签订日期'
,
dataIndex
:
'signingDate'
,
width
:
180
,
},
{
title
:
'会议纪要'
,
dataIndex
:
'meetingMinute'
,
width
:
150
,
},
{
title
:
'招标信息发布渠道'
,
dataIndex
:
'releaseChannels'
,
width
:
180
,
},
{
title
:
'招标公告发布网址(仅限公开招标项目)'
,
dataIndex
:
'publishWebsite'
,
width
:
180
,
},
{
title
:
'中标结果公示网址(仅限公开招标项目)'
,
dataIndex
:
'publicityWebsite'
,
width
:
180
,
},
{
title
:
'是否存在投诉举报情况'
,
dataIndex
:
'isReportingSituation'
,
width
:
180
,
},
{
title
:
'投诉举报解决处理情况'
,
dataIndex
:
'handSituation'
,
width
:
180
,
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
width
:
180
,
},
];
// 10-报表中心-安全隐患管理导出
export
const
exportSafetyEducationColumns
=
[
{
title
:
'填报周期'
,
dataIndex
:
'fillingPeriod'
,
width
:
150
,
},
{
title
:
'培训时间'
,
dataIndex
:
'trainingTime'
,
width
:
150
,
},
{
title
:
'培训主题'
,
dataIndex
:
'trainingTheme'
,
width
:
150
,
},
{
title
:
'培训类型'
,
dataIndex
:
'trainingType'
,
width
:
180
,
},
{
title
:
'培训形式'
,
dataIndex
:
'trainingFormat'
,
width
:
180
,
},
{
title
:
'计划会议'
,
dataIndex
:
'trainingMeet'
,
width
:
180
,
},
{
title
:
'培训人员'
,
dataIndex
:
'trainers'
,
width
:
180
,
},
{
title
:
'学识(合计)'
,
dataIndex
:
'knowledge'
,
width
:
180
,
},
{
title
:
'人数'
,
dataIndex
:
'numberOfPeople'
,
width
:
180
,
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
width
:
180
,
},
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'period'
,
...
...
@@ -243,7 +467,7 @@ export const searchFormSchema: FormSchema[] = [
colProps
:
{
span
:
5
},
},
];
// 1-报表中心-投资计划列表
export
const
columns
:
BasicColumn
[]
=
[
{
title
:
'序号'
,
...
...
@@ -352,6 +576,7 @@ export const columns: BasicColumn[] = [
width
:
180
,
},
];
// 2-报表中心-计划完成情况列表
export
const
performanceColumns
:
BasicColumn
[]
=
[
{
title
:
'序号'
,
...
...
@@ -455,9 +680,7 @@ export const performanceColumns: BasicColumn[] = [
width
:
180
,
},
];
export
const
exportUrl
=
'/pro/export/investmentPlan'
;
// 3-报表中心-年度计划列表
export
const
annualPlanColumns
:
BasicColumn
[]
=
[
{
title
:
'序号'
,
...
...
@@ -546,7 +769,7 @@ export const annualPlanColumns: BasicColumn[] = [
width
:
180
,
},
];
// 4-报表中心-月度计划列表
export
const
monthlyPlanColumns
:
BasicColumn
[]
=
[
{
title
:
''
,
...
...
@@ -680,6 +903,7 @@ export const monthlyPlanColumns: BasicColumn[] = [
],
},
];
// 5-报表中心-已竣工验收项目陈欠资金计划列表
export
const
completedColumns
:
BasicColumn
[]
=
[
{
title
:
'序号'
,
...
...
@@ -758,7 +982,7 @@ export const completedColumns: BasicColumn[] = [
width
:
180
,
},
];
// 6-报表中心-招标计划列表
export
const
biddingPlanColumns
=
[
{
title
:
'序号'
,
...
...
@@ -831,74 +1055,7 @@ export const biddingPlanColumns = [
width
:
180
,
},
];
export
const
exportBiddingPlanColumns
=
[
{
title
:
'填报周期'
,
dataIndex
:
'fillingPeriod'
,
width
:
200
,
},
{
title
:
'项目名称'
,
sort
:
true
,
dataIndex
:
'projectName'
,
width
:
180
,
},
{
title
:
'立项主体'
,
sort
:
true
,
dataIndex
:
'projectInitiator'
,
width
:
180
,
},
{
title
:
'资金来源'
,
sort
:
true
,
dataIndex
:
'fundingSource'
,
width
:
180
,
},
{
title
:
'立项投资额(万元) '
,
sort
:
true
,
dataIndex
:
'investmentAmount'
,
width
:
180
,
},
{
title
:
'招标类型'
,
dataIndex
:
'biddingType'
,
width
:
180
,
},
{
title
:
'招标内容'
,
sort
:
true
,
dataIndex
:
'tenderContent'
,
width
:
180
,
},
{
title
:
'预计控制价(万元)'
,
dataIndex
:
'controlPrice'
,
width
:
180
,
},
{
title
:
'计划工期'
,
dataIndex
:
'plannedPeriod'
,
width
:
180
,
},
{
title
:
'招标方式'
,
dataIndex
:
'biddingMethod'
,
width
:
180
,
},
{
title
:
'计划招标周期'
,
dataIndex
:
'biddingPeriod'
,
width
:
180
,
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
width
:
180
,
},
];
// 7-报表中心-招标管理列表
export
const
biddingManagementColumns
=
[
{
title
:
'序号'
,
...
...
@@ -1017,119 +1174,7 @@ export const biddingManagementColumns = [
width
:
180
,
},
];
export
const
exportBiddingManagementColumns
=
[
{
title
:
'填报周期'
,
dataIndex
:
'fillingPeriod'
,
width
:
200
,
},
{
title
:
'项目名称 '
,
sort
:
true
,
dataIndex
:
'projectName'
,
width
:
180
,
},
{
title
:
'立项投资额(万元)'
,
dataIndex
:
'investmentAmount'
,
width
:
180
,
},
{
title
:
'资金来源'
,
dataIndex
:
'fundingSource'
,
width
:
180
,
},
{
title
:
'招标类型'
,
dataIndex
:
'biddingType'
,
width
:
180
,
},
{
title
:
'招标内容'
,
dataIndex
:
'tenderContent'
,
width
:
180
,
},
{
title
:
'招标控制(元)'
,
dataIndex
:
'controlPrice'
,
width
:
180
,
},
{
title
:
'建设模式'
,
dataIndex
:
'constructionMode'
,
width
:
180
,
},
{
title
:
'招标采购方式'
,
dataIndex
:
'procurementMethod'
,
width
:
180
,
},
{
title
:
'招标完成情况'
,
dataIndex
:
'completionStatus'
,
width
:
180
,
},
{
title
:
'开标时间'
,
dataIndex
:
'openingTime'
,
width
:
180
,
},
{
title
:
'中标单位'
,
dataIndex
:
'winningBidder'
,
width
:
180
,
},
{
title
:
'中标金额(元)'
,
dataIndex
:
'winningAmount'
,
width
:
150
,
},
{
title
:
'中标工期'
,
dataIndex
:
'winningPeriod'
,
width
:
150
,
},
{
title
:
'合同签订日期'
,
dataIndex
:
'signingDate'
,
width
:
180
,
},
{
title
:
'会议纪要'
,
dataIndex
:
'meetingMinute'
,
width
:
150
,
},
{
title
:
'招标信息发布渠道'
,
dataIndex
:
'releaseChannels'
,
width
:
180
,
},
{
title
:
'招标公告发布网址(仅限公开招标项目)'
,
dataIndex
:
'publishWebsite'
,
width
:
180
,
},
{
title
:
'中标结果公示网址(仅限公开招标项目)'
,
dataIndex
:
'publicityWebsite'
,
width
:
180
,
},
{
title
:
'是否存在投诉举报情况'
,
dataIndex
:
'isReportingSituation'
,
width
:
180
,
},
{
title
:
'投诉举报解决处理情况'
,
dataIndex
:
'handSituation'
,
width
:
180
,
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
width
:
180
,
},
];
// 8-报表中心-结算管理列表
export
const
settlementManagementColumns
=
[
{
title
:
'序号'
,
...
...
@@ -1232,7 +1277,7 @@ export const settlementManagementColumns = [
width
:
140
,
},
];
// 9-报表中心-变更签证管理列表
export
const
changeSignatureColumns
=
[
{
title
:
'填报周期'
,
...
...
@@ -1295,6 +1340,7 @@ export const changeSignatureColumns = [
width
:
180
,
},
];
// 10-报表中心-安全隐患管理列表
export
const
potentialSafetyColumns
=
[
{
title
:
'填报周期'
,
...
...
@@ -1342,58 +1388,7 @@ export const potentialSafetyColumns = [
width
:
180
,
},
];
export
const
exportSafetyEducationColumns
=
[
{
title
:
'填报周期'
,
dataIndex
:
'fillingPeriod'
,
width
:
150
,
},
{
title
:
'培训时间'
,
dataIndex
:
'trainingTime'
,
width
:
150
,
},
{
title
:
'培训主题'
,
dataIndex
:
'trainingTheme'
,
width
:
150
,
},
{
title
:
'培训类型'
,
dataIndex
:
'trainingType'
,
width
:
180
,
},
{
title
:
'培训形式'
,
dataIndex
:
'trainingFormat'
,
width
:
180
,
},
{
title
:
'计划会议'
,
dataIndex
:
'trainingMeet'
,
width
:
180
,
},
{
title
:
'培训人员'
,
dataIndex
:
'trainers'
,
width
:
180
,
},
{
title
:
'学识(合计)'
,
dataIndex
:
'knowledge'
,
width
:
180
,
},
{
title
:
'人数'
,
dataIndex
:
'numberOfPeople'
,
width
:
180
,
},
{
title
:
'备注'
,
dataIndex
:
'remark'
,
width
:
180
,
},
];
// 11-报表中心-安全教育培训列表
export
const
safetyEducationColumns
=
[
{
title
:
'填报周期'
,
...
...
@@ -1446,7 +1441,7 @@ export const safetyEducationColumns = [
width
:
180
,
},
];
// 合同
export
const
contractColumns
=
[
{
title
:
'合同名称'
,
...
...
@@ -1474,7 +1469,7 @@ export const contractColumns = [
width
:
180
,
},
];
// 附加列表
export
const
annexColumns
=
[
{
title
:
'文件名'
,
...
...
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