Browse Source

Merge branch 'master' of http://114.55.54.52:3000/zmm/GBRSWN

zmm 6 years ago
parent
commit
0fffd98916
34 changed files with 63 additions and 54 deletions
  1. 0 1
      CZKJ.GBRS2.Web/wwwroot - 副本/1.73d88091703f921ebe4a.chunk.js
  2. 1 0
      CZKJ.GBRS2.Web/wwwroot - 副本/1.f10a55f0ad30f6f8bb01.chunk.js
  3. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/10.3bf59ed4867883123dc5.chunk.js
  4. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/12.158abaf031ee46d60082.chunk.js
  5. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/14.8b4b6001839f993400b0.chunk.js
  6. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/15.a63136c79a4f50e2af7e.chunk.js
  7. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/16.c4437552c0179f9c9e2d.chunk.js
  8. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/18.36431d90643cb853a16b.chunk.js
  9. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/20.4d4cb074802d8af171ef.chunk.js
  10. 0 0
      CZKJ.GBRS2.Web/wwwroot - 副本/21.3b686503fbfd47b2da97.chunk.js
  11. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/21.38b006c15df969906544.chunk.js
  12. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/22.cd5675e167186812d5a0.chunk.js
  13. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/23.d41ea9af4ef087458dc2.chunk.js
  14. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/24.1c960de767da851a1887.chunk.js
  15. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/25.051f467b0a6d88a58876.chunk.js
  16. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/26.d7302d7b0ec326589369.chunk.js
  17. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/27.fd4ade03b88e7178569c.chunk.js
  18. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/28.0a32da032b5f6332a9a1.chunk.js
  19. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/29.1e7d5d9b481aa699c875.chunk.js
  20. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/30.142322ee4584daf0c3a9.chunk.js
  21. 2 26
      CZKJ.GBRS2.Web/wwwroot - 副本/3rdpartylicenses.txt
  22. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/5.9e79c2db7cf22148ed77.chunk.js
  23. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/index.html
  24. 0 1
      CZKJ.GBRS2.Web/wwwroot - 副本/inline.8219bdc282ba1b390acb.bundle.js
  25. 0 0
      CZKJ.GBRS2.Web/wwwroot - 副本/inline.9f890a5d1c3f0edd4df1.bundle.js
  26. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/main.6b651800525c396f41ef.bundle.js
  27. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/polyfills.c8df5d8ae3ee53d12dea.bundle.js
  28. 1 1
      CZKJ.GBRS2.Web/wwwroot - 副本/styles.ae1f7113be3a997caef6.bundle.css
  29. 1 0
      CZKJ.GBRS2.Web/wwwroot/21.0481cf6f6e00e04811d4.chunk.js
  30. 1 1
      CZKJ.GBRS2.Web/wwwroot/index.html
  31. 1 0
      CZKJ.GBRS2.Web/wwwroot/inline.bc5dc25587ac0f417180.bundle.js
  32. 1 1
      CZKJ.GBRS2/Entity/PriceAnnouncementEntity.cs
  33. 8 1
      cms/src/app/routes/price/price.component.html
  34. 26 1
      cms/src/app/routes/price/price.component.ts

File diff suppressed because it is too large
+ 0 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/1.73d88091703f921ebe4a.chunk.js


File diff suppressed because it is too large
+ 1 - 0
CZKJ.GBRS2.Web/wwwroot - 副本/1.f10a55f0ad30f6f8bb01.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/10.3bf59ed4867883123dc5.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/12.158abaf031ee46d60082.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/14.8b4b6001839f993400b0.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/15.a63136c79a4f50e2af7e.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/16.c4437552c0179f9c9e2d.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/18.36431d90643cb853a16b.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/20.4d4cb074802d8af171ef.chunk.js


CZKJ.GBRS2.Web/wwwroot/21.3b686503fbfd47b2da97.chunk.js → CZKJ.GBRS2.Web/wwwroot - 副本/21.3b686503fbfd47b2da97.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/21.38b006c15df969906544.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/22.cd5675e167186812d5a0.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/23.d41ea9af4ef087458dc2.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/24.1c960de767da851a1887.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/25.051f467b0a6d88a58876.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/26.d7302d7b0ec326589369.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/27.fd4ade03b88e7178569c.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/28.0a32da032b5f6332a9a1.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/29.1e7d5d9b481aa699c875.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/30.142322ee4584daf0c3a9.chunk.js


+ 2 - 26
CZKJ.GBRS2.Web/wwwroot - 副本/3rdpartylicenses.txt

@@ -158,7 +158,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
158 158
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
159 159
 THE SOFTWARE.
160 160
 
161
-mobx@4.4.0
161
+mobx@4.9.2
162 162
 MIT
163 163
 The MIT License (MIT)
164 164
 
@@ -348,7 +348,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
348 348
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
349 349
 THE SOFTWARE.
350 350
 
351
-es5-ext@0.10.46
351
+es5-ext@0.10.47
352 352
 ISC
353 353
 ISC License
354 354
 
@@ -574,30 +574,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
574 574
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
575 575
 THE SOFTWARE.
576 576
 
577
-ngx-color-picker@5.3.8
578
-MIT
579
-MIT License
580
-
581
-Copyright (c) 2017 ZEF Oy
582
-
583
-Permission is hereby granted, free of charge, to any person obtaining a copy
584
-of this software and associated documentation files (the "Software"), to deal
585
-in the Software without restriction, including without limitation the rights
586
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
587
-copies of the Software, and to permit persons to whom the Software is
588
-furnished to do so, subject to the following conditions:
589
-
590
-The above copyright notice and this permission notice shall be included in all
591
-copies or substantial portions of the Software.
592
-
593
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
594
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
595
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
596
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
597
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
598
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
599
-SOFTWARE.
600
-
601 577
 file-saver@1.3.3
602 578
 MIT
603 579
 The MIT License

File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/5.9e79c2db7cf22148ed77.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/index.html


File diff suppressed because it is too large
+ 0 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/inline.8219bdc282ba1b390acb.bundle.js


CZKJ.GBRS2.Web/wwwroot/inline.9f890a5d1c3f0edd4df1.bundle.js → CZKJ.GBRS2.Web/wwwroot - 副本/inline.9f890a5d1c3f0edd4df1.bundle.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/main.6b651800525c396f41ef.bundle.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/polyfills.c8df5d8ae3ee53d12dea.bundle.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot - 副本/styles.ae1f7113be3a997caef6.bundle.css


File diff suppressed because it is too large
+ 1 - 0
CZKJ.GBRS2.Web/wwwroot/21.0481cf6f6e00e04811d4.chunk.js


File diff suppressed because it is too large
+ 1 - 1
CZKJ.GBRS2.Web/wwwroot/index.html


File diff suppressed because it is too large
+ 1 - 0
CZKJ.GBRS2.Web/wwwroot/inline.bc5dc25587ac0f417180.bundle.js


+ 1 - 1
CZKJ.GBRS2/Entity/PriceAnnouncementEntity.cs

@@ -16,7 +16,7 @@ namespace CZKJ.GBRS2.Entity
16 16
         /// 险种
17 17
         /// </summary>
18 18
         [Invisible(FormVisible =true,AddVisible =true)]
19
-        [DropdownSrc(SrcUrl = "/Manage/Type/GetTypeListByParentId?parentId=")]
19
+        [DropdownSrc(SrcUrl = "/Manage/Type/GetTypeListByParentId?parentId=172")]
20 20
         [Display(Name = "险种")]
21 21
         public int Typeofinsuance { get; set; }
22 22
         /// <summary>

+ 8 - 1
cms/src/app/routes/price/price.component.html

@@ -5,7 +5,14 @@
5 5
   <div nz-col [nzXs]="24">
6 6
       <nz-card>
7 7
           <ng-template #title>
8
-              <h3 style="display:inline;">利率公告</h3>
8
+              
9
+              <div style="white-space:normal;margin-bottom:10px; display: inline-block">               
10
+                <nz-select style="width:200px;margin-top:4px;margin-right:20px;" nzAllowClear [nzPlaceHolder]="'选择险种'" [(ngModel)]="curType"
11
+                    (ngModelChange)="typeSearch($event)">
12
+                    <nz-option *ngFor="let option of typeList" [nzLabel]="option.name" [nzValue]="option.id">
13
+                    </nz-option>
14
+                </nz-select>
15
+            </div>
9 16
               <button nz-button [nzType]="'primary'" (click)='addAccount()' style="float:right;margin-top:4px;">
10 17
                   <i class="anticon anticon-plus-circle"></i>
11 18
                   <span>添加</span>

+ 26 - 1
cms/src/app/routes/price/price.component.ts

@@ -1,6 +1,8 @@
1 1
 import { Component, OnInit, ViewChild } from '@angular/core';
2 2
 import { AutoTableComponent } from 'app/component/auto-table/auto-table.component';
3
+import { HttpClient, HttpErrorResponse } from '@angular/common/http';
3 4
 import { AjaxService } from '@ajax';
5
+import { StrLow, TableDataTurnArr } from '@tools';
4 6
 @Component({
5 7
   selector: 'price',
6 8
   templateUrl: './price.component.html',
@@ -8,12 +10,16 @@ import { AjaxService } from '@ajax';
8 10
 })
9 11
 export class PriceComponent implements OnInit {
10 12
 
13
+	typeList:any;//所有险种
14
+	tableSendData: any = { };
15
+
11 16
   @ViewChild("table") table: AutoTableComponent;
12 17
 	tableUrl = "/Manage/PriceAnnouncement/GetTableModel";
13 18
 
14
-	constructor(private ajaxService: AjaxService) { }
19
+	constructor(private ajaxService: AjaxService,private httpClient: HttpClient,) { }
15 20
 
16 21
 	ngOnInit() {
22
+		this.getAllType();
17 23
 	}
18 24
 	addAccount() {
19 25
 		let subscription = this.ajaxService.modalEdit("新增利率公告", {
@@ -26,4 +32,23 @@ export class PriceComponent implements OnInit {
26 32
 			}
27 33
 		})
28 34
 	}
35
+	// 获取所有险种
36
+	getAllType(){
37
+		this.httpClient.get(`/Manage/Type/GetTableListByParentId?pageIndex=1&parentId=172`)
38
+            .subscribe((res:any) => {
39
+								this.typeList = TableDataTurnArr(res.tableData);;
40
+								console.log(this.typeList)
41
+            }, (error) => {
42
+                console.log(error);
43
+            })
44
+	}
45
+
46
+	//类型搜索
47
+	typeSearch(ev) {
48
+		console.log(typeof ev)
49
+		this.table.pageIndex = 1;
50
+		this.tableSendData['typeId'] = ev;
51
+		// this.tableSendData['testId'] = 100;		
52
+		this.table.getTableData();
53
+}
29 54
 }