Commit 1a23b014 authored by liwei's avatar liwei

修改了暂存提交不跳转页面的问题

parent ce00b998
......@@ -41,7 +41,7 @@ const biddingPlan: AppRouteModule = {
component: () => import('@/views/biddingManagement/statisticsBidding.vue'),
meta: {
auth: '/www/dist/index.html#/biddingManagement/index',
title: '统计招标情况',
title: '招标情况统计',
orderNo: 3,
},
},
......
......@@ -228,7 +228,6 @@
handleNew(params);
}
async function handleSubmit(isSubmit) {
console.log('1111:')
for(let i = 0; i < tabsFormSchema.length; i++){
let formSchema = tabsFormSchema[i].Form[1]
const { updateSchema } = formSchema
......@@ -266,7 +265,6 @@
},
])
} else {
console.log('222222')
updateSchema([
{field: 'projectName', required: true},
{field: 'fundingSource', required: true},
......@@ -325,8 +323,12 @@
addItemData.businessId = routeId.value;
addItemData.businessType = '招标管理';
const showDatem = await addItemApi(addItemData);
createMessage.success('提交成功!');
router.back();
if (isSubmit === '0'){
createMessage.success('暂存成功!');
}else{
createMessage.success('提交成功!');
}
// router.back();
} catch (e) {
// 验证失败或出错,切换到对应标签页
console.log(e);
......
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