| | |
| | | onSubmit() { |
| | | this.$refs.store.validate((valid) => { |
| | | if (valid) { |
| | | debugger; |
| | | this.store.type = this.store.type[1]; |
| | | if (this.isCreated()) { |
| | | addStoreInfo(this.store) |
| | |
| | | this.$message({ type: "warning", message: "请检查必填项" }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | async created() { |
| | | if (this.storeInfo) { |
| | | this.$set(this, 'store', this.storeInfo); |
| | | const result = await getVideoPoint({ current: 1, size: 100 }); |
| | | this.relationVideoList = result.records; |
| | | if (this.storeInfo && this.isStorePage) { |
| | | this.store.relationVideo = this.store.videoPoint.name; |
| | | } |
| | | if (!this.isView()) { |
| | | await this.getShopTypeList(); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | isView() { |
| | |
| | | <style lang="scss" scoped> |
| | | .updateUser { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | |
| | | main { |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | background-color: #ffffff; |
| | | |
| | | .mainContent { |
| | | display: flex; |
| | |
| | | } |
| | | |
| | | .updateUser::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | </style> |