Browse Source

:bug: Fixing a bug. 用户消息 回复不刷新,及其菜单功能 样式调整

冷冷 6 năm trước cách đây
mục cha
commit
233b91f356
2 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 1 1
      src/styles/wechat/css/index.css
  2. 9 0
      src/views/mp/wxfansmsg/index.vue

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
src/styles/wechat/css/index.css


+ 9 - 0
src/views/mp/wxfansmsg/index.vue

@@ -25,6 +25,7 @@
                  :option="tableOption"
                  @on-load="getList"
                  @refresh-change="refreshChange"
+                 @search-change="searchChange"
                  @row-save="handleSave"
                  @row-del="rowDel">
         <template slot-scope="scope"
@@ -176,10 +177,18 @@
       refreshChange() {
         this.getList(this.page)
       },
+      /**
+       * 搜索回调
+       */
+      searchChange(form) {
+        this.getList(this.page, form)
+      },
       reply: function (row) {
         this.msgId = row.id
         this.dialogFormVisible = true
         this.getResList(this.pageRes, {fansMsgId: this.msgId})
+        // 同时刷新 客户消息列表
+        this.getList(this.page)
       }
     }
   }