增加areaId

This commit is contained in:
aixianling
2024-06-26 09:03:00 +08:00
parent 463e545c19
commit be8698382a

View File

@@ -34,13 +34,13 @@ export default {
}).then(res => {
if (res?.data) {
this.detail = res.data.records?.[0] || {}
}
})
this.instance.post("/api/apiForward", null, {
params: {url: `${aiBase}/app/appmasssendingtaskbaidu/ailist?size=15`}
}).then(res => {
if (res?.data) {
this.tableData = res.data
return this.instance.post("/api/apiForward", null, {
params: {url: `${aiBase}/app/appmasssendingtaskbaidu/ailist?size=15&areaId=${this.detail.areaId}`}
}).then(ret => {
if (ret?.data) {
this.tableData = ret.data
}
})
}
})
}