| | |
| | | this.$modal.msgSuccess(response.msg); |
| | | this.fileList.push({ name: response.fileName, url: response.fileName }); |
| | | } else { |
| | | this.$modal.msgError(response.msg); |
| | | console.log(response.msg);; |
| | | } |
| | | }, |
| | | |
| | |
| | | |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | this.reset(); |
| | | console.log("defaultperson",this.defaultperson); |
| | | this.$router.push({ |
| | | path: "/finance/travelexpenseslist/Modifydetails/", |
| | | query: { id: 0, pos: 1,routerparam:this.defaultperson} |
| | | }); |
| | | |
| | | this.reset(); |
| | | this.open = true; |
| | | this.title = "新增报销申请"; |
| | | this.dialogType = "edit"; |
| | |
| | | handleUpdate(row) { |
| | | this.$router.push({ |
| | | path: "/finance/travelexpenseslist/Modifydetails/", |
| | | query: { id: row.id, pos: 1 } |
| | | query: { id: row.id, pos: 2 } |
| | | }); |
| | | this.dialogType = "edit"; |
| | | this.reset(); |
| | |
| | | handleDetail(row) { |
| | | this.$router.push({ |
| | | path: "/finance/travelexpenseslist/Modifydetails/", |
| | | query: { id: row.id, pos: 2 } |
| | | query: { id: row.id, pos: 3 } |
| | | }); |
| | | |
| | | this.dialogType = "detail"; |
| | | this.title = "查看报销申请"; |
| | | |