Commit 334b147e authored by 小费同学阿's avatar 小费同学阿 💬

项目库投资---招标管理列表

parent 66686e08
import { ProjectParams } from '@/api/project/model/projectModel';
import { defHttp } from '@/utils/http/axios';
enum Api {
LIST = '/pro/reportCenter/tendermanage',
DETAIL = '/pro/reportCenter/details/tenderManage',
}
//招标管理列表接口
export const tenderManageList = (params) =>
defHttp.post({
url: Api.LIST,
params,
});
//招标管理详情接口
export const tenderManageDetail = (params) =>
defHttp.post({
url: Api.DETAIL,
params,
});
import { ProjectParams } from '@/api/project/model/projectModel';
import { defHttp } from '@/utils/http/axios';
enum Api {
LIST = '/pro/reportCenter/tenderPlan',
DETAIL = '/pro/reportCenter/details/tenderPlan',
}
//招标计划列表接口
export const tenderPlanList = (params) =>
defHttp.post({
url: Api.LIST,
params,
});
//招标计划详情接口
export const tenderPlanDetail = (params) =>
defHttp.post({
url: Api.DETAIL,
params,
});
import { ProjectParams } from '@/api/project/model/projectModel';
import { defHttp } from '@/utils/http/axios';
enum Api {
LIST = '/pro/reportCenter/overdueFunds',
DETAIL = '/pro/reportCenter/details/overdueFunds',
}
//已竣工列表接口
export const overdueList = (params) =>
defHttp.post({
url: Api.LIST,
params,
});
//已竣工详情接口
export const overdueDetail = (params) =>
defHttp.post({
url: Api.DETAIL,
params,
});
import { ProjectParams } from '@/api/project/model/projectModel';
import { defHttp } from '@/utils/http/axios';
enum Api {
LIST = '/pro/reportCenter/investmentPlan',
DETAIL = '/pro/reportCenter/details/investmentPlan',
}
//投资计划列表接口
export const investmentPlanList = (params) =>
defHttp.post({
url: Api.LIST,
params,
});
//投资计划详情接口
export const investmentPlanDetail = (params) =>
defHttp.post({
url: Api.DETAIL,
params,
});
import { ProjectParams } from '@/api/project/model/projectModel';
import { defHttp } from '@/utils/http/axios';
enum Api {
LIST = '/pro/reportCenter/completionSituation',
DETAIL = '/pro/reportCenter/details/completionSituation',
}
//计划完成情况列表接口
export const performanceList = (params) =>
defHttp.post({
url: Api.LIST,
params,
});
//计划完成情况详情接口
export const performanceDetail = (params) =>
defHttp.post({
url: Api.DETAIL,
params,
});
import { ProjectParams } from '@/api/project/model/projectModel';
import { defHttp } from '@/utils/http/axios';
enum Api {
LIST = '/pro/reportCenter/yearFund',
DETAIL = '/pro/reportCenter/details/yearFund',
}
//年季度列表接口
export const yearList = (params) =>
defHttp.post({
url: Api.LIST,
params,
});
//年季度详情接口
export const yearDetail = (params) =>
defHttp.post({
url: Api.DETAIL,
params,
});
......@@ -20,8 +20,7 @@
danger
v-if="!disabled"
@click="deleteItem(index)"
>
</a-button>
/>
</template>
<BasicForm :loading="loading" @register="item.Form[0]" />
</PageCard>
......@@ -37,7 +36,7 @@
</PageWrapper>
</template>
<script lang="ts" setup>
import { unref, onMounted, ref, reactive } from 'vue';
import { unref, onMounted, ref, reactive, nextTick } from 'vue';
import projectlibraryModel from '@/components/projectlibraryModel/projectlibraryModel.vue';
import { PageWrapper } from '@/components/Page';
import PageCard from '@/components/Page/src/PageCard.vue';
......@@ -49,11 +48,12 @@
import { useDrawer } from '@/components/Drawer';
import { addItem, updateItem, getItem, Itemdelete } from '@/api/project/biddingManagement';
import { editModel } from '@/api/project/model/biddingManagementModel';
import { nextTick } from 'vue';
const [registerDrawer, { openDrawer }] = useDrawer();
import { useModal } from '@/components/Modal';
import { router } from '@/router';
import { useRoute } from 'vue-router';
const [registerDrawer, { openDrawer }] = useDrawer();
const [register, { openModal: openModal }] = useModal();
const { createMessage } = useMessage();
const loadingRef = ref(false);
......
......@@ -72,8 +72,9 @@
import { useModal } from '@/components/Modal';
import yearModal from '@/components/yearModal.vue';
import { useRouter } from 'vue-router';
const { push } = useRouter();
import { useMessage } from '@/hooks/web/useMessage';
const { push } = useRouter();
const { error } = createMessage;
defineOptions({ name: 'RoleManagement' });
......
......@@ -17,9 +17,6 @@
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
ifShow: (_action) => {
return record.reviewStatus == '1';
},
},
]"
/>
......@@ -32,16 +29,17 @@
<script lang="ts" setup>
import exportModal from './components/exportModal.vue';
import queryModal from './components/queryModal.vue';
import { columns, searchFormSchema } from './data';
import { columns, investmentPlanColumn, searchFormSchema } from './data';
import { BasicTable, useTable, TableAction } from '@/components/Table';
import { inject, ref } from 'vue';
import { getEngineeringList } from '@/api/project/engineeringProject';
import { investmentPlanList } from '@/api/project/detail/investmentPlan';
import { router } from '@/router';
import { useModal } from '@/components/Modal';
const [registerModal, { openModal: openModal }] = useModal();
const [registerModal2, { openModal: openModal2 }] = useModal();
let detailId = inject('detailId');
console.log('detailId', detailId);
console.log('投资计划的detailId', detailId);
function getExportData() {
let exportData = [];
......@@ -55,7 +53,7 @@
}
getExportData();
const [registerTable, { reload }] = useTable({
api: getEngineeringList,
api: investmentPlanList,
columns,
formConfig: {
labelWidth: 120,
......
......@@ -10,9 +10,6 @@
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
ifShow: (_action) => {
return record.completionResult == '1';
},
},
]"
/>
......@@ -24,13 +21,14 @@
import { annualPlanColumns, searchFormSchema } from './data';
import { BasicTable, useTable, TableAction } from '@/components/Table';
import { inject } from 'vue';
import { getAnnualPlanList } from '@/api/project/annualPlan';
//引进列表api
import { yearList } from '@/api/project/detail/years';
import { router } from '@/router';
let detailId = inject('detailId');
console.log('年度资金计划的detailId', detailId);
const [registerTable, { reload }] = useTable({
api: getAnnualPlanList,
api: yearList,
columns: annualPlanColumns,
formConfig: {
labelWidth: 120,
......
......@@ -13,9 +13,6 @@
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
ifShow: (_action) => {
return record.completionResult == '1';
},
},
]"
/>
......@@ -26,7 +23,7 @@
<script lang="ts" setup>
import { biddingManagementColumns, searchFormSchema } from './data';
import { BasicTable, useTable, TableAction } from '@/components/Table';
import { getListByPage } from '@/api/project/biddingManagement';
import { tenderManageList } from '@/api/project/detail/biddingManagement';
import { inject } from 'vue';
import { router } from '@/router';
import { Tag } from 'ant-design-vue';
......@@ -34,7 +31,7 @@
let detailId = inject('detailId');
console.log('招标管理的detailId', detailId);
const [registerTable, { reload }] = useTable({
api: getListByPage,
api: tenderManageList,
columns: biddingManagementColumns,
formConfig: {
labelWidth: 120,
......
......@@ -13,9 +13,6 @@
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
ifShow: (_action) => {
return record.completionResult == '1';
},
},
]"
/>
......@@ -26,7 +23,8 @@
<script lang="ts" setup>
import { biddingPlanColumns, searchFormSchema } from './data';
import { BasicTable, useTable, TableAction } from '@/components/Table';
import { getListByPage } from '@/api/project/biddingPlan';
//引进列表api
import { tenderPlanList } from '@/api/project/detail/biddingPlan';
import { inject } from 'vue';
import { router } from '@/router';
import { Tag } from 'ant-design-vue';
......@@ -34,7 +32,7 @@
let detailId = inject('detailId');
console.log('招标计划的detailId', detailId);
const [registerTable, { reload }] = useTable({
api: getListByPage,
api: tenderPlanList,
columns: biddingPlanColumns,
formConfig: {
labelWidth: 120,
......
......@@ -10,9 +10,6 @@
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
ifShow: (_action) => {
return record.completionResult == '1';
},
},
]"
/>
......@@ -24,13 +21,14 @@
import { completedColumns, searchFormSchema } from './data';
import { BasicTable, useTable, TableAction } from '@/components/Table';
import { inject } from 'vue';
import { getCompletedList } from '@/api/project/completed';
import { router } from '@/router';
//引进列表api
import { overdueList } from '@/api/project/detail/completed';
let detailId = inject('detailId');
console.log('已竣工验收项目陈欠资金计划的detailId', detailId);
const [registerTable, { reload }] = useTable({
api: getCompletedList,
api: overdueList,
columns: completedColumns,
formConfig: {
labelWidth: 120,
......
import { FormSchema, BasicColumn } from '@/components/Table';
/*查看月度资金计划详情*/
/*4-查看月度资金计划详情*/
export const formSchema: FormSchema[] = [
{
field: 'monthYear',
......@@ -189,6 +189,7 @@ export const searchFormSchema: FormSchema[] = [
},
];
// 1-投资计划列表
export const columns: BasicColumn[] = [
{
title: '序号',
......@@ -217,7 +218,7 @@ export const columns: BasicColumn[] = [
},
{
title: '建设规模',
dataIndex: 'serialNumber',
dataIndex: 'constructionScale',
width: 180,
},
{
......@@ -246,68 +247,62 @@ export const columns: BasicColumn[] = [
width: 180,
},
{
title: '该年之前总投资额(不含该年)',
dataIndex: 'serialNumber',
title: '三年滚动投资计划',
dataIndex: 'totalAmount',
width: 180,
},
{
title: '该年计划投资额',
dataIndex: 'serialNumber',
title: '该年财政预算匹配资金',
dataIndex: 'matchingFunds',
width: 180,
},
{
title: '该年实际完成投资额',
dataIndex: 'serialNumber',
title: '其中专项债项目该年预计使用专项债资金',
dataIndex: 'specialBondFunds',
width: 180,
},
{
title: '该年计划资金',
dataIndex: 'serialNumber',
dataIndex: 'planFunds',
width: 180,
},
{
title: '该年实付资金',
dataIndex: 'serialNumber',
width: 180,
},
{
title: '该年计建设性质划资金',
dataIndex: 'serialNumber',
title: '建设性质',
dataIndex: 'attribute',
width: 180,
},
{
title: '开工竣工时间',
dataIndex: 'serialNumber',
dataIndex: 'beginTime',
width: 180,
},
{
title: '该年底形象进度',
dataIndex: 'serialNumber',
title: '该年底预计形象进度',
dataIndex: 'schedule',
width: 180,
},
{
title: '实施主体',
dataIndex: 'serialNumber',
dataIndex: 'implementingEntity',
width: 180,
},
{
title: '项目主管部门',
dataIndex: 'serialNumber',
dataIndex: 'competentDepartment',
width: 180,
},
{
title: '备注',
dataIndex: 'serialNumber',
dataIndex: 'remarks',
width: 180,
},
];
//2-计划完成情况列表
export const performanceColumns: BasicColumn[] = [
{
title: '序号',
......@@ -330,11 +325,6 @@ export const performanceColumns: BasicColumn[] = [
dataIndex: 'constructionSite',
width: 180,
},
{
title: '建设地点',
dataIndex: 'constructionSite',
width: 180,
},
{
title: '项目概况',
dataIndex: 'projectOverview',
......@@ -357,7 +347,7 @@ export const performanceColumns: BasicColumn[] = [
},
{
title: '资金来源',
dataIndex: 'constructionMode',
dataIndex: 'fundingSource',
width: 180,
},
{
......@@ -372,55 +362,56 @@ export const performanceColumns: BasicColumn[] = [
},
{
title: '该年之前总投资额(不含该年)',
dataIndex: 'totalInvestment',
dataIndex: 'totalBefore',
width: 180,
},
{
title: '该年计划投资额',
dataIndex: 'totalInvestment',
dataIndex: 'planNum',
width: 180,
},
{
title: '该年实际完成投资额',
dataIndex: 'outputValue',
dataIndex: 'actualOutputValue',
width: 180,
},
{
title: '该年计划资金',
dataIndex: 'payment',
dataIndex: 'planFunds',
width: 180,
},
{
title: '建设性质',
dataIndex: 'totalProject',
dataIndex: 'attribute',
width: 180,
},
{
title: '开工竣工时间',
dataIndex: 'company',
dataIndex: 'beginTime',
width: 180,
},
{
title: '该年底形象进度',
dataIndex: 'updateBy',
dataIndex: 'completionSchedule',
width: 180,
},
{
title: '实施主体',
dataIndex: 'updateTime',
dataIndex: 'implementingEntity',
width: 180,
},
{
title: '项目主管部门',
dataIndex: 'completionResult',
dataIndex: 'competentDepartment',
width: 180,
},
{
title: '备注',
dataIndex: 'auditingBy',
dataIndex: 'completionRemarks',
width: 180,
},
];
//3-年度资金计划列表
export const annualPlanColumns: BasicColumn[] = [
{
title: '序号',
......@@ -430,7 +421,7 @@ export const annualPlanColumns: BasicColumn[] = [
},
{
title: '填报周期',
dataIndex: 'filingCycle',
dataIndex: 'year',
width: 200,
},
{
......@@ -455,61 +446,56 @@ export const annualPlanColumns: BasicColumn[] = [
},
{
title: '年资金计划额合计',
dataIndex: 'totalplan',
width: 180,
},
{
title: '政府拨款合计',
dataIndex: 'updateTime',
dataIndex: 'plannedQuotaTotal',
width: 180,
},
{
title: '专项拨款合计',
dataIndex: 'reviewStatus',
dataIndex: 'specialFundTotal',
width: 180,
},
{
title: '银行融资合计',
dataIndex: 'revieweUser',
dataIndex: 'bankFinancingTotal',
width: 180,
},
{
title: '自有资金合计',
dataIndex: 'reviewTime',
dataIndex: 'ownFundsTotal',
width: 180,
},
{
title: '当年资金缺口',
dataIndex: 'reviewTime',
dataIndex: 'fundingGap',
width: 180,
},
{
title: '建设性质',
dataIndex: 'reviewTime',
dataIndex: 'attribute',
width: 180,
},
{
title: '开竣工时间',
dataIndex: 'reviewTime',
dataIndex: 'beginTime',
width: 180,
},
{
title: '当年底预计形象进度',
dataIndex: 'reviewTime',
dataIndex: 'schedule',
width: 180,
},
{
title: '项目主管部门',
dataIndex: 'reviewTime',
dataIndex: 'competentDepartment',
width: 180,
},
{
title: '备注',
dataIndex: 'reviewTime',
dataIndex: 'remark',
width: 180,
},
];
//4-月度资金计划列表
export const monthlyPlanColumns: BasicColumn[] = [
{
title: '',
......@@ -643,6 +629,7 @@ export const monthlyPlanColumns: BasicColumn[] = [
],
},
];
//5-已竣工列表
export const completedColumns: BasicColumn[] = [
{
title: '序号',
......@@ -652,12 +639,12 @@ export const completedColumns: BasicColumn[] = [
},
{
title: '填报周期',
dataIndex: 'projectName',
dataIndex: 'filingCycle',
width: 200,
},
{
title: '公司名称',
dataIndex: 'projectName',
dataIndex: 'company',
width: 180,
},
{
......@@ -667,61 +654,56 @@ export const completedColumns: BasicColumn[] = [
},
{
title: '建设地点',
dataIndex: 'projectName',
dataIndex: 'constructionSite',
width: 180,
},
{
title: '立项总投资合计',
dataIndex: 'planType',
dataIndex: 'projectApproval',
width: 180,
},
{
title: '上一年底前累计实付额',
dataIndex: 'contractAmount',
dataIndex: 'totalActualPay',
width: 180,
},
{
title: '年资金计划额合计',
dataIndex: 'annualFund',
width: 180,
},
{
title: '政府拨款合计',
dataIndex: 'completionSettlement',
dataIndex: 'totalValue',
width: 180,
},
{
title: '专项拨款合计',
dataIndex: 'fundingGap',
dataIndex: 'totalSpecialBond',
width: 180,
},
{
title: '银行融资合计',
dataIndex: 'company',
dataIndex: 'totalBankFinancing',
width: 180,
},
{
title: '自有资金合计',
dataIndex: 'updateBy',
dataIndex: 'totalOwnFunds',
width: 180,
},
{
title: '当年资金缺口',
dataIndex: 'updateTime',
dataIndex: 'fundingGap',
width: 180,
},
{
title: '项目主管部门',
dataIndex: 'auditResult',
dataIndex: 'competentDepartment',
width: 180,
},
{
title: '备注',
dataIndex: 'auditingBy',
dataIndex: 'remarks',
width: 180,
},
];
// 6-招标计划列表
export const biddingPlanColumns = [
{
title: '序号',
......@@ -736,65 +718,65 @@ export const biddingPlanColumns = [
{
title: '项目名称',
sort: true,
dataIndex: 'proNumber',
dataIndex: 'projectName',
width: 180,
},
{
title: '立项主体',
sort: true,
dataIndex: 'companyName',
dataIndex: 'projectInitiator',
width: 180,
},
{
title: '资金来源',
sort: true,
dataIndex: 'updateBy',
dataIndex: 'fundingSource',
width: 180,
},
{
title: '立项投资额(万元) ',
sort: true,
dataIndex: 'revieweUser',
dataIndex: 'investmentAmount',
width: 180,
},
{
title: '招标类型',
dataIndex: 'reviewTime',
dataIndex: 'biddingType',
width: 180,
},
{
title: '招标内容',
sort: true,
dataIndex: 'revieweUser',
dataIndex: 'tenderContent',
width: 180,
},
{
title: '预计控制价(万元)',
dataIndex: 'revieweUser',
dataIndex: 'controlPrice',
width: 180,
},
{
title: '计划工期',
dataIndex: 'revieweUser',
dataIndex: 'plannedPeriod',
width: 180,
},
{
title: '招标方式',
dataIndex: 'revieweUser',
dataIndex: 'biddingMethod',
width: 180,
},
{
title: '计划招标周期',
dataIndex: 'revieweUser',
dataIndex: 'biddingPeriod',
width: 180,
},
{
title: '备注',
dataIndex: 'revieweUser',
dataIndex: 'remark',
width: 180,
},
];
//7-招标管理列表
export const biddingManagementColumns = [
{
title: '序号',
......@@ -809,62 +791,57 @@ export const biddingManagementColumns = [
{
title: '项目名称 ',
sort: true,
dataIndex: 'proNumber',
dataIndex: 'projectName',
width: 180,
},
{
title: '立项投资额(万元)',
dataIndex: 'companyName',
dataIndex: 'uniqueProjectCount',
width: 180,
},
{
title: '资金来源',
dataIndex: 'updateBy',
dataIndex: 'fundingSource',
width: 180,
},
{
title: '招标类型',
dataIndex: 'revieweUser',
dataIndex: 'biddingType',
width: 180,
},
{
title: '招标内容',
dataIndex: 'reviewTime',
dataIndex: 'tenderContent',
width: 180,
},
{
title: '招标控制(元)',
dataIndex: 'reviewTime',
dataIndex: 'controlPrice',
width: 180,
},
{
title: '建设模式',
dataIndex: 'reviewTime',
dataIndex: 'constructionMode',
width: 180,
},
{
title: '招标采购方式',
dataIndex: 'reviewTime',
dataIndex: 'procurementMethod',
width: 180,
},
{
title: '招标完成情况',
dataIndex: 'reviewTime',
dataIndex: 'completionStatus',
width: 180,
},
{
title: '开标时间',
dataIndex: 'reviewTime',
width: 180,
},
{
title: '中标单位',
dataIndex: 'reviewTime',
dataIndex: 'openingTime',
width: 180,
},
{
title: '中标单位',
dataIndex: 'reviewTime',
dataIndex: 'winningBidder',
width: 180,
},
{
......@@ -874,42 +851,47 @@ export const biddingManagementColumns = [
},
{
title: '中标工期',
dataIndex: 'winningDuration',
dataIndex: 'winningPeriod',
width: 150,
},
{
title: '合同签订日期',
dataIndex: 'reviewTime',
dataIndex: 'signingDate',
width: 180,
},
{
title: '会议纪要',
dataIndex: 'meetingMinute',
width: 180,
},
{
title: '招标信息发布渠道',
dataIndex: 'reviewTime',
dataIndex: 'releaseChannels',
width: 180,
},
{
title: '招标公告发布网址',
dataIndex: 'reviewTime',
title: '招标公告发布网址\n' + '\n' + '(仅限公开招标项目)',
dataIndex: 'publishWebsite',
width: 180,
},
{
title: '中标结果公示网址',
dataIndex: 'reviewTime',
title: '中标结果公示网址\n' + '\n' + '(仅限公开招标项目)',
dataIndex: 'publicityWebsite',
width: 180,
},
{
title: '是否存在投诉举报情况',
dataIndex: 'reviewTime',
dataIndex: 'isReportingSituation',
width: 180,
},
{
title: '投诉举报解决处理情况',
dataIndex: 'reviewTime',
dataIndex: 'handSituation',
width: 180,
},
{
title: '备注',
dataIndex: 'reviewTime',
dataIndex: 'remark',
width: 180,
},
];
......
......@@ -31,6 +31,7 @@
import { inject, ref } from 'vue';
import { useDrawer } from '@/components/Drawer';
import monthDrawer from '@/views/project/tabs/monthDrawer.vue';
//引进列表api
import { monthList } from '@/api/project/detail/month';
import { getSettlementManageList } from '@/api/project/settlementManage';
import { settlementManagementColumns } from '@/views/statement/tabs/data';
......
......@@ -15,9 +15,6 @@
{
label: '查看详情',
onClick: handleDetail.bind(null, record, 1),
ifShow: (_action) => {
return record.completionResult == '1';
},
},
]"
/>
......@@ -32,11 +29,13 @@
import { inject } from 'vue';
import { router } from '@/router';
import { Tag } from 'ant-design-vue';
//引进列表api
import { performanceList } from '@/api/project/detail/performance';
let detailId = inject('detailId');
console.log('计划完成情况的detailId', detailId);
const [registerTable, { reload }] = useTable({
api: getListByPage,
api: performanceList,
columns: performanceColumns,
formConfig: {
labelWidth: 120,
......
......@@ -30,6 +30,7 @@
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({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment