| | |
| | | }, |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | this.reset(); |
| | | this.addalteropen = true; |
| | | // getUser().then((response) => { |
| | | // this.postOptions = response.posts; |
| | | // this.roleOptions = response.roles; |
| | | // this.title = "新增门诊随访"; |
| | | // this.form.password = this.initPassword; |
| | | // }); |
| | | this.$router.push({ |
| | | path: "/followvisit/particty", |
| | | query: { type: 2, }, |
| | | }); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | // handleUpdate(row) { |
| | | // this.reset(); |
| | | // const userId = row.userId || this.ids; |
| | | // getUser(userId).then((response) => { |
| | | // this.form = response.data; |
| | | // this.postOptions = response.posts; |
| | | // this.roleOptions = response.roles; |
| | | // this.$set(this.form, "postIds", response.postIds); |
| | | // this.$set(this.form, "roleIds", response.roleIds); |
| | | // this.addalteropen = true; |
| | | // this.title = "修改用户"; |
| | | // this.form.password = ""; |
| | | // }); |
| | | // }, |
| | | |
| | | /** 重置密码按钮操作 */ |
| | | handleResetPwd(row) { |
| | | this.$prompt('请输入"' + row.userName + '"的新密码', "提示", { |
| | |
| | | }, |
| | | // 跳转详情页 |
| | | Seedetails() { |
| | | // this.$router.push({ |
| | | // path: "/followvisit/record/detailpage/", |
| | | // query: { id: "1" }, |
| | | // }); |
| | | this.$router.push({ |
| | | path: "/followvisit/particty", |
| | | query: { type: 2, }, |
| | | path: "/followvisit/record/detailpage/", |
| | | query: { id: "1" }, |
| | | }); |
| | | |
| | | }, |
| | | // 导入按钮 |
| | | toleadExport() {}, |