From 8194c39cade58b2ffcab61ff02c78e32e4caf31b Mon Sep 17 00:00:00 2001 From: TiaStars Date: Fri, 13 Dec 2024 11:00:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AB=AF=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E5=A1=AB=E6=8A=A5=E6=96=B0=E5=A2=9E=E6=A0=A1=E9=AA=8C=20?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E8=BF=87=E6=9C=9F=20=20=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=9C=AA=E5=BC=80=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/views/onlineDeclaration/records/index.vue | 21 ++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 9a1225b..5e4ec81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202412100928", + "version": "1.0.202412131056", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/views/onlineDeclaration/records/index.vue b/src/views/onlineDeclaration/records/index.vue index 35da1cd..9c05542 100644 --- a/src/views/onlineDeclaration/records/index.vue +++ b/src/views/onlineDeclaration/records/index.vue @@ -580,13 +580,20 @@ export default { // }, /** 开始填报按钮操作 */ handleAdd(row){ - // console.log(row); - this.$router.push({name: 'onlineDeclareAdd',query: { - templateId: row.templateId, - templateRecordId: row.templateRecordId, - declarationId: row.id, - pageType: "add", - }}) + if(row.templateRecordStatus == 0) { + this.$message.error('该申请未开始'); + return; + } else if(row.templateRecordStatus == 1) { + this.$message.error('该申请已过期'); + return; + } else { + this.$router.push({name: 'onlineDeclareAdd',query: { + templateId: row.templateId, + templateRecordId: row.templateRecordId, + declarationId: row.id, + pageType: "add", + }}) + } }, /** 查看审核详情操作 */ handleDetail(row){