bug
This commit is contained in:
@@ -132,13 +132,10 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
document.title = "通知公告";
|
||||
this.$dict.load("announcementStatus");
|
||||
},
|
||||
|
||||
onShow() {
|
||||
this.current = 1;
|
||||
document.title = "通知公告";
|
||||
this.$dict.load("announcementStatus");
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getList();
|
||||
})
|
||||
@@ -219,7 +216,8 @@ export default {
|
||||
change(val) {
|
||||
this.index = val;
|
||||
this.current = 1;
|
||||
this.getList()
|
||||
this.dataList = [];
|
||||
this.getList();
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(this.index == 0 ? "/app/appannouncement/list-latest" : "/app/appannouncement/list-mgr", null, {
|
||||
|
||||
@@ -99,7 +99,6 @@ export default {
|
||||
},
|
||||
|
||||
onLoad(opt) {
|
||||
document.title = "新增公告";
|
||||
if(opt.id) {
|
||||
this.form.id = opt.id;
|
||||
this.flag = opt.flag;
|
||||
@@ -171,6 +170,10 @@ export default {
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
onShow() {
|
||||
document.title = "新增公告";
|
||||
},
|
||||
computed: {
|
||||
background() {
|
||||
return `url(${this.$cdn}/notice/jiaobiao.png) no-repeat; background-size: 46px 48px;position: absolute;bottom: 0;right: 0;`
|
||||
|
||||
@@ -74,7 +74,6 @@
|
||||
},
|
||||
|
||||
onLoad(opt) {
|
||||
document.title = "公告详情";
|
||||
this.id = opt.id;
|
||||
this.flag = opt.flag;
|
||||
},
|
||||
@@ -85,6 +84,10 @@
|
||||
})
|
||||
},
|
||||
|
||||
onShow() {
|
||||
document.title = "公告详情";
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['previewFile', 'injectJWeixin']),
|
||||
preFile(e) {
|
||||
|
||||
Reference in New Issue
Block a user