From 085fa2fb257e9f11f8f6d34bf12e2dc281c36b4d Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 09 二月 2023 11:28:21 +0800
Subject: [PATCH] 2023/2/9 肖辉 修改部门管理

---
 src/views/operate/fivepack/threepack/components/updateUser/index.vue |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/src/views/operate/fivepack/threepack/components/updateUser/index.vue b/src/views/operate/fivepack/threepack/components/updateUser/index.vue
index 52e369a..be21408 100644
--- a/src/views/operate/fivepack/threepack/components/updateUser/index.vue
+++ b/src/views/operate/fivepack/threepack/components/updateUser/index.vue
@@ -222,7 +222,6 @@
     onSubmit() {
       this.$refs.store.validate((valid) => {
         if (valid) {
-          debugger;
           this.store.type = this.store.type[1];
           if (this.isCreated()) {
             addStoreInfo(this.store)
@@ -243,6 +242,20 @@
           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() {
@@ -301,12 +314,12 @@
 <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;
@@ -351,7 +364,7 @@
 }
 
 .updateUser::v-deep .el-input__inner {
-  background-color: #09152f;
+  // background-color: #09152f;
   border: 1px solid #17324c;
 }
 </style>
\ No newline at end of file

--
Gitblit v1.8.0