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