| | |
| | | <update-user |
| | | @closeUpdateDialog="closeUpdateDialog()" |
| | | :updateDepartmentData="updateDepartmentData" |
| | | :isUpdate="dialogType === 'add'" |
| | | :isUpdate="dialogType === 'update'" |
| | | /> |
| | | </el-dialog> |
| | | |
| | |
| | | //修改 |
| | | showUpdateDialog(data) { |
| | | this.dialogUpdate = true; |
| | | this.dialogType = "update"; |
| | | this.updateDepartmentData = data; |
| | | }, |
| | | |
| | |
| | | importTable(file) { |
| | | const formData = new FormData(); |
| | | formData.append("file", file.file); |
| | | console.log(formData) |
| | | console.log(file) |
| | | importTeamInfo(formData) |
| | | .then(() => { |
| | | this.$message({ type: "success", message: "操作成功" }); |