瀏覽代碼

feat: 完善三级联动数据

Damon 11 月之前
父節點
當前提交
1cc8841222
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      src/views/operation/activity/detail.vue

+ 3 - 5
src/views/operation/activity/detail.vue

@@ -27,6 +27,7 @@
         </el-select>
       </el-form-item>
 
+      <!-- prop="pic" -->
       <el-form-item label="活动图片:" prop="pic">
         <Upload listType="picture-card" :url="form.pic" @upload="upload" />
       </el-form-item>
@@ -266,6 +267,7 @@ export default {
             this.form.deviceRespList[i].deviceId = null;
           }
         }
+        this.form.platformId = val == this.platformNames[1] ? 1 : 0;
       },
       deep: true,
     },
@@ -277,6 +279,7 @@ export default {
     //   deep: true,
     // },
   },
+
   mounted() {
     this.getDevList();
     if (this.$route.query.id) {
@@ -297,11 +300,6 @@ export default {
         if (res.code === 0) {
           this.aaaa[`${deviceId}`] = res.data;
           this.form.deviceRespList = this.form.deviceRespList.filter((i) => i);
-          console.log(
-            "gasdfasdfasdfaf==啊啊啊啊=11=" + JSON.stringify(this.aaaa)
-          );
-
-          ///goodId  goodName
         }
       });
     },