| | |
| | | this.loading = true; |
| | | getDoctor(id).then((response) => { |
| | | this.formData = response.data; |
| | | console.log(response.data.url) |
| | | if(response.data.url!=null){ |
| | | let paths = response.data.url.split(","); |
| | | for(let i = 0; i < paths.length; i++) |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | else{ |
| | | this.formData.url = "" |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | listType(this.queryParams).then(response => { |
| | |
| | | this.loading = true; |
| | | getDoctor(id).then((response) => { |
| | | this.formData = response.data; |
| | | console.log(response.data.url) |
| | | if(response.data.url!=null){ |
| | | let paths = response.data.url.split(","); |
| | | for(let i = 0; i < paths.length; i++) |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | _this.fileListOther = _this.fileListOther1 |
| | | this.loading = false; |
| | | }); |
| | |
| | | this.uploading = true; |
| | | uploadPic(formData).then(response => { |
| | | _this.uploadFileList1 = [] |
| | | // alert(response.fileNames) |
| | | // alert(_this.formData.url) |
| | | _this.formData.url = _this.formData.url+","+response.fileNames |
| | | updateDoctor(_this.formData).then(response => { |
| | | this.$modal.msgSuccess("文档上传成功"); |