| | |
| | | type="primary" |
| | | class="btn submit" |
| | | @click.native.prevent="onSubmit" |
| | | >提交</el-button> |
| | | >提交</el-button |
| | | > |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | |
| | | this.imagedata = deepClone(this.originalData); |
| | | } |
| | | if (this.dialogType !== "create") { |
| | | this.imageList = this.imagedata.url.split(","); |
| | | let _imageList = []; |
| | | debugger; |
| | | let imageData = this.imagedata.url.split(","); |
| | | imageData.forEach((url) => { |
| | | _imageList.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`); |
| | | }); |
| | | this.imageList = _imageList; |
| | | } |
| | | this.isDisabled = this.dialogType === "view"; |
| | | }, |
| | |
| | | onSubmit() { |
| | | this.$refs.user.validate((valid) => { |
| | | if (valid) { |
| | | this.imagedata.type="03"; |
| | | this.imagedata.type = "03"; |
| | | const params = Object.assign({}, this.imagedata); |
| | | delete params.regionName; |
| | | delete params.category; |