Commit 772810c2 772810c20cd34fd025906b3e7e118d41b8c46a71 by 张浩

commit

1 parent b53d587b
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
14 prop="name" 14 prop="name"
15 label="奖品名称" 15 label="奖品名称"
16 sortable 16 sortable
17 :filters="tvmName"
18 :filter-method="filterHandler"
17 min-width="2"> 19 min-width="2">
18 </el-table-column> 20 </el-table-column>
19 <el-table-column 21 <el-table-column
...@@ -386,6 +388,7 @@ ...@@ -386,6 +388,7 @@
386 activityPopPanels: [], 388 activityPopPanels: [],
387 operateBannerInfos: [], 389 operateBannerInfos: [],
388 operateMsgInfos: [], 390 operateMsgInfos: [],
391 tvmName: [],
389 activityInfosDrawer: false, 392 activityInfosDrawer: false,
390 activityInfosForm: { 393 activityInfosForm: {
391 id: '', 394 id: '',
...@@ -429,6 +432,7 @@ ...@@ -429,6 +432,7 @@
429 this.activityPopPanels=res.data.activityPopPanels 432 this.activityPopPanels=res.data.activityPopPanels
430 this.operateBannerInfos=res.data.operateBannerInfos 433 this.operateBannerInfos=res.data.operateBannerInfos
431 this.operateMsgInfos=res.data.operateMsgInfos 434 this.operateMsgInfos=res.data.operateMsgInfos
435 this.tvmName=res.data.tvmName
432 loading.close(); 436 loading.close();
433 }).catch(error=>{ 437 }).catch(error=>{
434 console.log(error); 438 console.log(error);
...@@ -498,6 +502,10 @@ ...@@ -498,6 +502,10 @@
498 type: 'error' 502 type: 'error'
499 }); 503 });
500 }) 504 })
505 },
506 filterHandler(value, row, column) {
507 const property = column['property'];
508 return row[property] === value;
501 } 509 }
502 } 510 }
503 } 511 }
......