|
|
@@ -482,7 +482,18 @@ export default {
|
|
|
this.getData();
|
|
|
},
|
|
|
search1() {
|
|
|
- this.analyseData(this.cur_post_type, this.cur_message_id);
|
|
|
+ let parm = this.form1;
|
|
|
+ let type = this.cur_post_type;
|
|
|
+ let message_id = this.cur_message_id;
|
|
|
+ parm.type = type;
|
|
|
+ parm.id = message_id;
|
|
|
+ this.dialogTitle2 = "统计结果";
|
|
|
+ this.dialogVisible2 = true;
|
|
|
+ this.$api.getNoticeAnalyse(parm).then((res) => {
|
|
|
+ this.analyseDataList = res.data.data.list;
|
|
|
+ this.cur_message_id = message_id;
|
|
|
+ this.cur_post_type = type;
|
|
|
+ });
|
|
|
},
|
|
|
openDiag() {
|
|
|
this.form1 = {};
|
|
|
@@ -526,7 +537,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
edit(row) {
|
|
|
- this.$api.getNoticeInfo({ id: row.id }).then((res) => {
|
|
|
+ this.$api.getNoticeInfo({ id: row.id,type:"edit" }).then((res) => {
|
|
|
this.form1 = res.data.data;
|
|
|
this.fileList = res.data.data.fileurl
|
|
|
this.dialogTitle = "编辑消息";
|