diff --git a/manager/src/views/lili-floor-renovation/floorList.vue b/manager/src/views/lili-floor-renovation/floorList.vue
index e47f4239..29d8fd47 100644
--- a/manager/src/views/lili-floor-renovation/floorList.vue
+++ b/manager/src/views/lili-floor-renovation/floorList.vue
@@ -25,7 +25,7 @@
关
-
+
@@ -139,9 +139,9 @@ export default {
this.showModal = true;
},
- decorate(id) {
+ decorate(val) {
// 装修
- this.$router.push({ name: "renovation", query: { id: id } });
+ this.$router.push({ name: "renovation", query: { id: val.id,pageShow:val.pageShow } });
},
getTemplateList() {
diff --git a/manager/src/views/lili-floor-renovation/renovation.vue b/manager/src/views/lili-floor-renovation/renovation.vue
index 11faa20b..48ff7743 100644
--- a/manager/src/views/lili-floor-renovation/renovation.vue
+++ b/manager/src/views/lili-floor-renovation/renovation.vue
@@ -40,15 +40,7 @@ export default {
methods: {
saveTemplate() {
// 保存模板
- this.$Modal.confirm({
- title: "是否立即发布?",
- onOk: () => {
- this.submitTemplate("OPEN");
- },
- onCancel: () => {
- this.submitTemplate("CLOSE");
- },
- });
+ this.submitTemplate(this.$route.query.pageShow ? 'OPEN' : 'CLOSE')
},
// 提交模板
submitTemplate(pageShow) {