diff --git a/src/views/netEwm/poster/index.vue b/src/views/netEwm/poster/index.vue index 04c3bfb..0442dc4 100644 --- a/src/views/netEwm/poster/index.vue +++ b/src/views/netEwm/poster/index.vue @@ -142,6 +142,14 @@ v-hasPermi="['netEwm:poster:edit']" >修改 + 查看 + + + + {{ + form.posterName + }} + {{ + form.startTime + }} + {{ + form.endTime + }} + +
+
广告视频
+
+ +
+
+
@@ -217,6 +254,8 @@ export default { name: "Poster", data() { return { + baseUrl: process.env.VUE_APP_BASE_API, + openInfo: false, // 遮罩层 loading: true, // 选中数组 @@ -330,13 +369,17 @@ export default { this.title = "添加广告"; }, /** 修改按钮操作 */ - handleUpdate(row) { + handleUpdate(row, type) { this.reset(); const id = row.id || this.ids; getPoster(id).then((response) => { this.form = response.data; - this.open = true; - this.title = "修改广告"; + if (type == "info") { + this.openInfo = true; + } else { + this.open = true; + this.title = "修改广告"; + } }); }, /** 提交按钮 */