+
{{ item }}
-
@@ -163,7 +163,8 @@ import { getImg } from "utils/index"
import {
apiMaDevInfoList, apiMaDevInfoTypeList,
apiMaDevInfoCompanyList, apiMaDevInfoMatypeList,
- apiMaOrderInfoTodayList, apiMaOrderInfoList, apiBmMachinistInfoList, apiBmCompanyInfoTypeList, apiMaDevInfoMaList
+ apiMaOrderInfoTodayList, apiMaOrderInfoList, apiBmMachinistInfoList, apiBmCompanyInfoTypeList, apiMaDevInfoMaList,
+ apiMaLeaseInfoInfoTypeList
} from "http/api/echartApi"
const equipmentCountInfo: any = reactive({
listCount: [],
@@ -195,7 +196,10 @@ const middleCountList = reactive({
}
]
})
-
+const rentWantRent:any=reactive({
+ rent:[],
+ wantRent:[]
+})
const platFormInfo: any = reactive({
listCount: [],
socailCount: "",
@@ -495,6 +499,24 @@ const iniTapiMaDevInfoMaList = async () => {
}
}
+
+const InitApiMaLeaseInfoInfoTypeList= async()=>{
+ // 根据求出租信息查询对应的数量:
+ try {
+ const res: any = await apiMaLeaseInfoInfoTypeList()
+ console.log("apiMaLeaseInfoInfoTypeList", res)
+ rentWantRent.rent = (res.rent.count + '').split("")
+ rentWantRent.wantRent = (res.wantRent.count + '').split("")
+
+
+ } catch (error) {
+ console.log(error)
+ }
+}
+
+onMounted(()=>{
+ InitApiMaLeaseInfoInfoTypeList()
+})