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