| | |
| | | this.loading = true; |
| | | getCLeanInfo(id).then((response) => { |
| | | this.formData = response.data; |
| | | console.log(this.formData) |
| | | if(this.formData.kind==1) |
| | | this.formData.kind = '收纳' |
| | | else |
| | |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | this.getCateInfor() |
| | | // this.getCateInfor() |
| | | |
| | | } |
| | | }, |
| | |
| | | this.loading = true; |
| | | getCLeanInfo(id).then((response) => { |
| | | this.formData = response.data; |
| | | if(this.formData.kind==1) |
| | | this.formData.kind = '收纳' |
| | | else |
| | | this.formData.kind = '保洁' |
| | | // if(this.formData.kind==1) |
| | | // this.formData.kind = '收纳' |
| | | // else |
| | | // this.formData.kind = '保洁' |
| | | 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.getCateInfor() |
| | | // this.getCateInfor() |
| | | |
| | | } |
| | | }, |