| | |
| | | path: "/followvisit/QuestionnaireTask", |
| | | query: { type: 2, typename: typename }, |
| | | }); |
| | | } else if (this.tasktopic == 1) { |
| | | this.$router.push({ |
| | | path: "/followvisit/Missioncreation", |
| | | query: { type: 3, typename: typename }, |
| | | }); |
| | | } |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/followvisit/particty", |
| | | query: { type: this.tasktopic, id: row.taskid }, |
| | | }); |
| | | if (this.tasktopic == 1 || this.tasktopic == 2 || this.tasktopic == 3) { |
| | | // this.$router.push({ |
| | | // path: "/followvisit/particty", |
| | | // query: { type: this.tasktopic, id: row.taskid }, |
| | | // }); |
| | | if ( |
| | | this.tasktopic == 2 || |
| | | this.tasktopic == 3 || |
| | | this.tasktopic == 4 || |
| | | this.tasktopic == 5 |
| | | ) { |
| | | this.$router.push({ |
| | | path: "/followvisit/particty", |
| | | query: { type: this.tasktopic, id: row.taskid }, |
| | | query: { type: 1, id: row.taskid }, |
| | | }); |
| | | } else if (this.tasktopic == 6) { |
| | | this.$router.push({ |
| | | path: "/followvisit/QuestionnaireTask", |
| | | query: { type: this.tasktopic, id: row.taskid }, |
| | | query: { type: 2, id: row.taskid }, |
| | | }); |
| | | } else if (this.tasktopic == 1) { |
| | | this.$router.push({ |
| | | path: "/followvisit/Missioncreation", |
| | | query: { type: 3, id: row.taskid }, |
| | | }); |
| | | } |
| | | }, |