Commit 995fd287 authored by liwei's avatar liwei

修改了完成情况页面以及统计页面bug

parent da565b2c
...@@ -31,7 +31,7 @@ const biddingPlan: AppRouteModule = { ...@@ -31,7 +31,7 @@ const biddingPlan: AppRouteModule = {
component: () => import('@/views/biddingManagement/index.vue'), component: () => import('@/views/biddingManagement/index.vue'),
meta: { meta: {
auth: '/www/dist/index.html#/biddingManagement/index', auth: '/www/dist/index.html#/biddingManagement/index',
title: '招标情况', title: '招标管理',
orderNo: 3, orderNo: 3,
}, },
}, },
...@@ -41,7 +41,7 @@ const biddingPlan: AppRouteModule = { ...@@ -41,7 +41,7 @@ const biddingPlan: AppRouteModule = {
component: () => import('@/views/biddingManagement/statisticsBidding.vue'), component: () => import('@/views/biddingManagement/statisticsBidding.vue'),
meta: { meta: {
auth: '/www/dist/index.html#/biddingManagement/index', auth: '/www/dist/index.html#/biddingManagement/index',
title: '招标情况统计', title: '招标管理统计',
orderNo: 3, orderNo: 3,
}, },
}, },
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
confirm: examine.bind(null, record, true), confirm: examine.bind(null, record, true),
}, },
ifShow: (_action) => { ifShow: (_action) => {
return (record.reviewStatus === '0' || record.reviewStatus === null) && isExamine === true && record.isSubmit == '1'; return (record.reviewStatus === '0' || record.reviewStatus === null) && record.isSubmit == '1';
}, },
}, },
]" ]"
......
...@@ -100,13 +100,21 @@ import {BasicForm, FormSchema, useForm} from '@/components/Form'; ...@@ -100,13 +100,21 @@ import {BasicForm, FormSchema, useForm} from '@/components/Form';
}); });
function handleSubmit() { function handleSubmit() {
let data = getFieldsValue(); let data = getFieldsValue();
console.log('data:',data)
if (data.filingCycle === null){
data.filingCycle = ''
}
if (data.planType === undefined){
data.planType = ''
}
params.value = data; params.value = data;
console.log(params.value);
getStatisticList(); getStatisticList();
} }
function setRowClassName(record) { function setRowClassName(record) {
if (record.projectType === '总计') { if (record.projectType === '总计') {
return 'rowcolor'; return 'rowcolor';
} if (record.company === '合计') {
return 'rowcolor';
} else { } else {
return; return;
} }
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
const dataSource = ref([]); const dataSource = ref([]);
const getTitle = ref(''); const getTitle = ref('');
const params = ref({ companyId: '', projectType: '', filingCycle: '', planType: '' }); const params = ref({ companyId: '', projectType: '', filingCycle: '', planType: '' });
const [register, { closeModal }] = useModalInner(async (data) => { const [register, { closeModal }] = useModalInner(async (data) => {
getTitle.value = data.record.company; getTitle.value = data.record.company;
params.value.companyId = data.record.companyId; params.value.companyId = data.record.companyId;
......
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