|
|
@@ -267,16 +267,16 @@ export default {
|
|
|
const params = {
|
|
|
zhuang_tai_: "'已完成','待发放'",
|
|
|
bao_gao_lei_bie_: this.info.type,
|
|
|
- bao_gao_bian_hao_: this.searchParam.report,
|
|
|
- yang_pin_bian_hao: this.searchParam.sampleId,
|
|
|
- yang_pin_ming_che: this.searchParam.sampleName,
|
|
|
- gai_zhang_jian_pd: this.searchParam.projectName,
|
|
|
+ bao_gao_bian_hao_: this.searchParam.report ? `%${this.searchParam.report}%` : null,
|
|
|
+ yang_pin_bian_hao: this.searchParam.sampleId ? `%${this.searchParam.sampleId}%` : null,
|
|
|
+ yang_pin_ming_che: this.searchParam.sampleName ? `%${this.searchParam.sampleName}%` : null,
|
|
|
+ gai_zhang_jian_pd: this.searchParam.projectName ? `%${this.searchParam.projectName}%` : null,
|
|
|
start_: this.searchParam.sampleTime ? this.searchParam.sampleTime[0] : '',
|
|
|
end_: this.searchParam.sampleTime ? this.searchParam.sampleTime[1] : '',
|
|
|
sort: this.prop,
|
|
|
limit: this.pageSize,
|
|
|
pageNo: this.currentPage,
|
|
|
- order: this.order
|
|
|
+ order: this.order
|
|
|
}
|
|
|
selectDetectionFile(params).then((res) => {
|
|
|
const data = res.data
|