NEZ-3114 feat:列表页面个性化设置实现后台存储

This commit is contained in:
zyh
2023-08-30 17:30:36 +08:00
parent 2d5aa25f2a
commit 0ad7d7e295
41 changed files with 401 additions and 194 deletions

View File

@@ -158,12 +158,13 @@ export default {
watch: {
obj: {
immediate: true,
handler (n) {
async handler (n) {
if (n) {
this.searchLabel = {}
if (this.from === fromRoute.alertSilence) {
this.state = '2'
}
await this.getPreference()
this.searchLabel = {}
// this.getTableData()
setTimeout(() => {
@@ -187,7 +188,7 @@ export default {
url: 'alert/message',
urlNew: 'alert/message/query',
alertSilenceUrl: '',
tableId: 'alertMessageModule', // 需要分页的table的id用于记录每页数量
tableId: 'alertMessageTab', // 需要分页的table的id用于记录每页数量
state: '1',
blankSilenceObject: {
id: '',