This commit is contained in:
linfso 2024-07-22 10:26:31 +08:00
parent 71b176aa32
commit 024ccb0f52

View File

@ -64,9 +64,7 @@
queryParams:{ queryParams:{
pageNum:1, pageNum:1,
pageSize:20, pageSize:20,
searchValue:null, typeName:null,
// siteType:this.siteType,
// countryCode:this.countryCode,
id:null id:null
} }
}; };
@ -78,14 +76,7 @@
this.firstFlag = true; this.firstFlag = true;
this.initData(); this.initData();
}, },
// siteType(newVal, oldVal) {
// if(newVal!= oldVal ){
// }
// },
// countryCode(newVal, oldVal) {
// if(newVal!= oldVal ){
// }
// }
}, },
created() { created() {
// this.queryData(); // this.queryData();
@ -100,7 +91,7 @@
this.$emit("onChange",itemData); this.$emit("onChange",itemData);
}, },
onClear(){ onClear(){
this.queryParams.searchValue=null; this.queryParams.typeName=null;
this.queryData(); this.queryData();
}, },
onFocus(){ onFocus(){
@ -134,7 +125,7 @@
if(val && this.queryParams.pageNum == 1){ if(val && this.queryParams.pageNum == 1){
this.dataList=[]; this.dataList=[];
} }
this.queryParams.id=val; this.queryParams.typeName=val;
listEmisProblemType(this.queryParams).then(response => { listEmisProblemType(this.queryParams).then(response => {
this.dataList=response.rows; this.dataList=response.rows;
response.rows.forEach(item => { response.rows.forEach(item => {
@ -144,11 +135,7 @@
}); });
}); });
}, },
// loadmore() {
// this.visible = true
// this.queryParams.pageNum++;
// this.queryData();
// },
reverseArrow(flag) { reverseArrow(flag) {
let rulesDom = this.$refs["selectDom"].$el.querySelector( let rulesDom = this.$refs["selectDom"].$el.querySelector(
".el-input .el-input__suffix .el-input__suffix-inner .el-input__icon" ".el-input .el-input__suffix .el-input__suffix-inner .el-input__icon"