| | |
| | | v-model="getCategory(imagedata.category).label" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | |
| | | <el-form-item prop="regionName" label="社区名称"> |
| | | <el-input v-model="imagedata.regionName"></el-input> |
| | | </el-form-item> |
| | |
| | | /> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | <el-form-item prop="url" label="图片:" min-width="8"> |
| | | <el-form-item prop="url" label="图片:" min-width="8"> |
| | | <my-upload |
| | | :picture-list="imageList" |
| | | :is-show-upload="dialogType !== 'view'" |
| | |
| | | this.imagedata = deepClone(this.originalData); |
| | | } |
| | | if (this.dialogType !== "create") { |
| | | this.imageList = this.imagedata.url.split(","); |
| | | let _imageList = []; |
| | | let imageData = this.imagedata.url.split(","); |
| | | imageData.forEach((url) => { |
| | | console.log( |
| | | "图片:" + `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${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; |
| | |
| | | }); |
| | | }, |
| | | setPictureUrl({ url }) { |
| | | this.imageList.push(`${FILE_ORIGINAL_URL}${url}`); |
| | | this.imageList.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${url}`); |
| | | this.imagedata.url = this.imageList.join(","); |
| | | }, |
| | | delPictureUrl({ url }) { |
| | |
| | | <style lang="scss" scoped> |
| | | .updateUser { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | |
| | | main { |
| | | // border: 1px solid #fff; |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | padding-bottom: 50px; |
| | | |
| | | .mainContent { |
| | |
| | | } |
| | | |
| | | .updateUser::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | |
| | |
| | | min-height: 240px; |
| | | max-height: 260px; |
| | | overflow: hidden; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | position: relative; |
| | | max-width: 220px; |
| | | |
| | |
| | | right: 20px; |
| | | width: 20px; |
| | | height: 180px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | } |
| | | |
| | | .item { |
| | |
| | | .el-select { |
| | | width: 280px !important; |
| | | } |
| | | </style> |
| | | </style> |