|
@@ -221,24 +221,18 @@ onBeforeMount(() => {
|
|
|
})
|
|
|
|
|
|
function page() {
|
|
|
- axios.post('http://36.110.106.142:12341/web_server/exam/page',
|
|
|
- {
|
|
|
- "currentPage": currentPage.value,
|
|
|
- "pageSize": pageSize.value,
|
|
|
- "teamName": queryLine.teamName,
|
|
|
- "topic": queryLine.topic,
|
|
|
- },
|
|
|
+ axios.get('http://1.202.169.139:8081/open/scene/list?page=1&size=10',
|
|
|
{
|
|
|
headers: {
|
|
|
- "Authorization": "U9yKpD6kZZDDe4LFKK6myAxBUT1XRrDM"
|
|
|
+ "Authorization": "4773hd92ysj54paflw2jem3onyhywxt2"
|
|
|
}
|
|
|
}
|
|
|
).then(function (response) {
|
|
|
- tableData.value = response.data.data
|
|
|
- total.value = response.data.total
|
|
|
+ tableData.value = response.data.data.content
|
|
|
+ total.value = response.data.totalElements
|
|
|
// total.value = tableData.value.length
|
|
|
- console.log(tableData);
|
|
|
- console.log(response.data.data);
|
|
|
+ // console.log(tableData);
|
|
|
+ // console.log(response.data.data);
|
|
|
}).catch(function (error) {
|
|
|
console.log(error);
|
|
|
});
|