| | |
| | | }); |
| | | }, |
| | | idFn(value) { |
| | | console.log(value); |
| | | this.userList = [] |
| | | if (value) { |
| | | this.data.dwId = value; |
| | | Deptlist(value).then((response) => { |
| | |
| | | }, |
| | | // 文件上传成功处理 |
| | | handleFileSuccess(response, file, fileList) { |
| | | console.log(response, 666666); |
| | | if (response.code == 500) { |
| | | console.log(22222222222); |
| | | // Message.warning(response.msg); |
| | | // this.$modal.msgError(response.msg); |
| | | // this.$modal.msgError("人员"+ response.data.list + "信息错误"); |
| | | const errorList = response.data.list.join(", "); |
| | | console.log(errorList) |
| | | this.$confirm(`${errorList}`, `${response.msg}`, { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | |
| | | center: true, |
| | | dangerouslyUseHTMLString: true, |
| | | }); |
| | | } |
| | | this.ListObj = response.data; |
| | | }else{ |
| | | this.ListObj = response.data; |
| | | this.userList = response.data.list; |
| | | |
| | | |
| | | this.userList.forEach((item) => { |
| | | this.CompanyList.forEach((item1) => { |
| | | if (item1.drugManufacturerId == this.objs.drugManufacturerId) { |
| | |
| | | } |
| | | }); |
| | | }); |
| | | } |
| | | |
| | | this.upload.open = false; |
| | | this.upload.isUploading = false; |
| | | this.$refs.upload.clearFiles(); |
| | | this.leftList = response.msg; |
| | | console.log(response.code); |
| | | |
| | | if (this.leftList == "操作失败") { |
| | | this.isdisabled = true; |