|
@@ -12,6 +12,8 @@ export class PriceComponent implements OnInit {
|
12
|
12
|
|
13
|
13
|
typeList:any;//所有险种
|
14
|
14
|
tableSendData: any = { };
|
|
15
|
+ tableFilterData={sortOrder:true};
|
|
16
|
+ editFilterData={sortOrder:true};
|
15
|
17
|
|
16
|
18
|
@ViewChild("table") table: AutoTableComponent;
|
17
|
19
|
tableUrl = "/Manage/PriceAnnouncement/GetTableModel";
|
|
@@ -24,7 +26,8 @@ export class PriceComponent implements OnInit {
|
24
|
26
|
addAccount() {
|
25
|
27
|
let subscription = this.ajaxService.modalEdit("新增利率公告", {
|
26
|
28
|
getUrl: '/Manage/priceAnnouncement/Add',
|
27
|
|
- setUrl: '/Manage/priceAnnouncement/Add'
|
|
29
|
+ setUrl: '/Manage/priceAnnouncement/Add',
|
|
30
|
+ viewFilter:{sortOrder:true}
|
28
|
31
|
});
|
29
|
32
|
subscription.subscribe(res => {
|
30
|
33
|
if (res == "saveSuccess") {
|
|
@@ -37,7 +40,6 @@ export class PriceComponent implements OnInit {
|
37
|
40
|
this.httpClient.get(`/Manage/Type/GetTableListByParentId?pageIndex=1&parentId=169`)
|
38
|
41
|
.subscribe((res:any) => {
|
39
|
42
|
this.typeList = TableDataTurnArr(res.tableData);;
|
40
|
|
- console.log(this.typeList)
|
41
|
43
|
}, (error) => {
|
42
|
44
|
console.log(error);
|
43
|
45
|
})
|