Commit 864b74df authored by v_liuhuaizhi's avatar v_liuhuaizhi

[x] 挂号小头像

parent 9347650a
......@@ -134,7 +134,7 @@ export default {
}
},
created() {
this.getList()
// this.getList()
},
methods: {
/** 列表区--多选框选中数据 */
......@@ -184,12 +184,14 @@ export default {
this.loading = true
this.queryParams.params = { ...this.queryParams.params }
const queryParams = deepClone(this.queryParams)
getPetInfo(queryParams).then(response => {
console.log('查询宠物宠主信息:', this.petsList)
this.petsList = response.rows
this.total = response.total
this.loading = false
})
if (queryParams.petCode || queryParams.ownerName || queryParams.phone) {
getPetInfo(queryParams).then(response => {
console.log('查询宠物宠主信息:', this.petsList)
this.petsList = response.rows
this.total = response.total
this.loading = false
})
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment