接口联调
This commit is contained in:
parent
2582d721f3
commit
b8e64b7d8d
|
|
@ -191,7 +191,7 @@ const middleCountList = reactive({
|
||||||
{
|
{
|
||||||
icon: new URL("/src/assets/img/money3.png", import.meta.url).href,
|
icon: new URL("/src/assets/img/money3.png", import.meta.url).href,
|
||||||
count: 0,
|
count: 0,
|
||||||
title: "在用设备"
|
title: "在租设备"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: new URL("/src/assets/img/money2.png", import.meta.url).href,
|
icon: new URL("/src/assets/img/money2.png", import.meta.url).href,
|
||||||
|
|
@ -451,8 +451,8 @@ const iniTapiMaDevInfoMatypeList = async () => {
|
||||||
try {
|
try {
|
||||||
const res: any = await apiMaDevInfoTypeList()
|
const res: any = await apiMaDevInfoTypeList()
|
||||||
console.log("apiMaDevInfoMatypeList", res)
|
console.log("apiMaDevInfoMatypeList", res)
|
||||||
middleCountList.list[2].count = res.rent.count || 0
|
middleCountList.list[2].count = res.use.count || 0
|
||||||
middleCountList.list[3].count = res.use.count || 0
|
middleCountList.list[3].count = res.rent.count || 0
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue