提交 6708f4dd authored 作者: lidongxu's avatar lidongxu

Merge branch 'release' into dev

...@@ -216,7 +216,7 @@ const form = reactive({ // 当前页信息总对象 ...@@ -216,7 +216,7 @@ const form = reactive({ // 当前页信息总对象
const getInspectionTaskDetailFn = async () => { const getInspectionTaskDetailFn = async () => {
const res = await getInspectionTaskDetailAPI({ const res = await getInspectionTaskDetailAPI({
storeCode: form.storeCode, storeCode: form.storeCode,
storeName: form.storeName, // storeName: form.storeName,
rstId: form.rstId, rstId: form.rstId,
}) })
if (res.data) { if (res.data) {
......
...@@ -97,6 +97,7 @@ const finished = ref(true); ...@@ -97,6 +97,7 @@ const finished = ref(true);
const refreshLoading = ref(false) const refreshLoading = ref(false)
const getInspectionTaskListFn = async () => { const getInspectionTaskListFn = async () => {
const res = await getInspectionTaskListAPI(query) const res = await getInspectionTaskListAPI(query)
console.log(res, 'res')
resultList.value = [...resultList.value, ...res.data.rows] resultList.value = [...resultList.value, ...res.data.rows]
finished.value = res.data.total <= resultList.value.length finished.value = res.data.total <= resultList.value.length
} }
...@@ -149,9 +150,11 @@ const handleClickStore = (item) => { ...@@ -149,9 +150,11 @@ const handleClickStore = (item) => {
// next() // next()
// }) // })
// 搜索地址 // 搜索地址/日期
const search = () => { const search = () => {
query.pageNum = 1
resultList.value = [] resultList.value = []
console.log('zoulema')
getInspectionTaskListFn() getInspectionTaskListFn()
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论