|
@@ -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
|
|
|
}
|
|
|
});
|
|
|
},
|