|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: sueRimn |
|
|
|
|
* @Date: 2020-12-11 09:06:03 |
|
|
|
|
* @LastEditors: sueRimn |
|
|
|
|
* @LastEditTime: 2020-12-29 15:18:12 |
|
|
|
|
* @LastEditTime: 2021-01-04 16:13:12 |
|
|
|
|
*/ |
|
|
|
|
import { Component, OnInit, ViewChild, Inject,Input } from '@angular/core'; |
|
|
|
|
import {HttpClient} from '@angular/common/http' |
|
|
|
@ -215,19 +215,27 @@ export class ExaminerIndexComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
//查询按钮
|
|
|
|
|
findClick(){ |
|
|
|
|
/* const config = new MatSnackBarConfig(); |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
|
config.duration = 3000 |
|
|
|
|
if(this.accound==undefined){ |
|
|
|
|
let paramsdata:any = { |
|
|
|
|
PageNumber: this.PageNumber || '1', |
|
|
|
|
PageSize: this.pageSizeOptions[0], |
|
|
|
|
OrganizationId: this.jsId || '', |
|
|
|
|
HasChildren:this.jscheck || '', |
|
|
|
|
Sort: null, |
|
|
|
|
SortType: null, |
|
|
|
|
} |
|
|
|
|
if(this.jsId==undefined){ |
|
|
|
|
this.snackBar.open('请输入消防救援队名称','确定',config); |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
this.http.get(`/api/Papers/${this.accound}`).subscribe((data:any)=>{ |
|
|
|
|
this.http.get(`/api/Papers`,{params:paramsdata}).subscribe((data:any)=>{ |
|
|
|
|
console.log(data) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
console.log(this.accound) */ |
|
|
|
|
//console.log(this.jscheck,this.jsId)
|
|
|
|
|
//console.log(this.accound)
|
|
|
|
|
console.log(this.jscheck,this.jsId) |
|
|
|
|
this.PageNumber = 1 |
|
|
|
|
this.pageEvent.pageIndex = 0 |
|
|
|
|
this.getAlltabledate() |
|
|
|
|