|
@@ -465,9 +465,11 @@ export default {
|
|
|
var data = JSON.parse(JSON.stringify(this.formData));
|
|
|
if (this.formData.idCards) {
|
|
|
data.idCards = this.formData.idCards.split("\n");
|
|
|
- data.searchType = 1;
|
|
|
- } else {
|
|
|
- data.searchType = 0;
|
|
|
+ }
|
|
|
+ if(this.formData.searchKey && this.formData.idCards){
|
|
|
+ data.searchType = 1
|
|
|
+ }else{
|
|
|
+ data.searchType = 0
|
|
|
}
|
|
|
this.$api
|
|
|
.inquiresystemsubscribelist(data)
|