7d1060f8 by renchao@pashanhoo.com

style:系统通知

1 parent bbdd382c
......@@ -38,6 +38,7 @@
</template>
<script>
import table from "@/utils/mixin/table";
import { mapGetters } from 'vuex'
import { datas, sendThis } from "./xttzdata";
import { getSysNoticeList, deleteSysNotice, publishNotice, unPublishNotice } from "@/api/sysNotice.js"
import addDialog from "./components/addDialog.vue";
......@@ -73,6 +74,17 @@
isDiglog: false
}
},
computed: {
...mapGetters(['isRefresh'])
},
watch: {
isRefresh: {
handler (newVal, oldVal) {
if (newVal) this.queryClick()
},
immediate: true
}
},
methods: {
// 列表渲染接口
/**
......@@ -90,7 +102,6 @@
}
})
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @param {*} item
......@@ -102,6 +113,7 @@
} else {
this.$popupDialog("新增系统通知", "system/xttz/components/addDialog", { "isButtonFlag": true }, "50%")
}
this.$store.dispatch("user/refreshPage", false);
},
//删除
delNotice (item) {
......