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){