数量优化
This commit is contained in:
parent
a75cf63d7b
commit
86990be462
|
|
@ -47,9 +47,6 @@ dependencies:
|
||||||
vue:
|
vue:
|
||||||
specifier: ^3.3.4
|
specifier: ^3.3.4
|
||||||
version: 3.3.4
|
version: 3.3.4
|
||||||
vue-baidu-map-3x:
|
|
||||||
specifier: ^1.0.35
|
|
||||||
version: 1.0.35(vue@3.3.4)
|
|
||||||
vue-router:
|
vue-router:
|
||||||
specifier: ^4.2.5
|
specifier: ^4.2.5
|
||||||
version: 4.2.5(vue@3.3.4)
|
version: 4.2.5(vue@3.3.4)
|
||||||
|
|
@ -1018,32 +1015,6 @@ packages:
|
||||||
resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
|
resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
/bmaplib.curveline@1.0.0:
|
|
||||||
resolution: {integrity: sha512-9wcFMVhiYxNPqpvsLDAADn3qDhNzXp2mA6VyHSHg2XOAgSooC7ZiujdFhy0sp+0QYjTfJ/MjmLuNoUg2HHxH4Q==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/bmaplib.distancetool@1.0.2:
|
|
||||||
resolution: {integrity: sha512-EvxMnQRH6xM036zx5OLPyTg5tMCTbFBuGTTHOtExLy2/T0X6v5Va0YE7c3IPm/a/Eo5V/ynYpOLOLZbRY8ccyA==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/bmaplib.heatmap@1.0.4:
|
|
||||||
resolution: {integrity: sha512-rmhqUARBpUSJ9jXzUI2j7dIOqnc38bqubkx/8a349U2qtw/ulLUwyzRD535OrA8G7w5cz4aPKm6/rNvUAarg/Q==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/bmaplib.lushu@1.0.7:
|
|
||||||
resolution: {integrity: sha512-LVvgpESPii6xGxyjnQjq8u+ic4NjvhdCPV/RiSS/PGTUdZKeTDS7prSpleJLZH3ES0+oc0gYn8bw0LtPYUSz2w==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/bmaplib.markerclusterer@1.0.13:
|
|
||||||
resolution: {integrity: sha512-VrLyWSiuDEVNi0yUfwOhFQ6z1oEEHS4w36GNu3iASu6p52QIx9uAXMUkuSCHReNR0bj2Cp9SA1dSx5RpojXajQ==}
|
|
||||||
dependencies:
|
|
||||||
bmaplib.texticonoverlay: 1.0.2
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/bmaplib.texticonoverlay@1.0.2:
|
|
||||||
resolution: {integrity: sha512-4ZTWr4ZP3B6qEWput5Tut16CfZgII38YwM3bpyb4gFTQyORlKYryFp9WHWrwZZaHlOyYDAXG9SX0hka43jTADg==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/boolbase@1.0.0:
|
/boolbase@1.0.0:
|
||||||
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
|
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
@ -2168,10 +2139,6 @@ packages:
|
||||||
source-map-support: 0.5.21
|
source-map-support: 0.5.21
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/tiny-emitter@2.1.0:
|
|
||||||
resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/to-fast-properties@2.0.0:
|
/to-fast-properties@2.0.0:
|
||||||
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
|
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
|
|
@ -2379,21 +2346,6 @@ packages:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
|
|
||||||
/vue-baidu-map-3x@1.0.35(vue@3.3.4):
|
|
||||||
resolution: {integrity: sha512-1FDzxgd+X7MVcG8JbyyxDOSYRDUi96qEuuNICQmwlAE/EDwf4vz1oYRhRz05s/MuDpW7aIBlubF/PlSTpBlUEw==}
|
|
||||||
peerDependencies:
|
|
||||||
vue: ^3.2.25
|
|
||||||
dependencies:
|
|
||||||
bmaplib.curveline: 1.0.0
|
|
||||||
bmaplib.distancetool: 1.0.2
|
|
||||||
bmaplib.heatmap: 1.0.4
|
|
||||||
bmaplib.lushu: 1.0.7
|
|
||||||
bmaplib.markerclusterer: 1.0.13
|
|
||||||
tiny-emitter: 2.1.0
|
|
||||||
vue: 3.3.4
|
|
||||||
vue-router: 4.2.5(vue@3.3.4)
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/vue-demi@0.12.5(vue@3.3.4):
|
/vue-demi@0.12.5(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-BREuTgTYlUr0zw0EZn3hnhC3I6gPWv+Kwh4MCih6QcAeaTlaIX0DwOVN0wHej7hSvDPecz4jygy/idsgKfW58Q==}
|
resolution: {integrity: sha512-BREuTgTYlUr0zw0EZn3hnhC3I6gPWv+Kwh4MCih6QcAeaTlaIX0DwOVN0wHej7hSvDPecz4jygy/idsgKfW58Q==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
<div class="count_item" v-for="(item, index) in platFormInfo.listCount.slice(0, 4)" :key="index">
|
<div class="count_item" v-for="(item, index) in platFormInfo.listCount.slice(0, 4)" :key="index">
|
||||||
{{ item }}
|
{{ item }}
|
||||||
</div>
|
</div>
|
||||||
<div class="count_item">
|
<div class="count_item" v-if="platFormInfo.listCount.length>4">
|
||||||
+
|
+
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -380,7 +380,7 @@ const iniTapiMaDevInfoList = async () => {
|
||||||
try {
|
try {
|
||||||
const res: any = await apiMaDevInfoList()
|
const res: any = await apiMaDevInfoList()
|
||||||
console.log("apiMaDevInfoList", res)
|
console.log("apiMaDevInfoList", res)
|
||||||
equipmentCountInfo.listCount = (res + '').split("")
|
equipmentCountInfo.listCount = (res + '').padStart(4,'0').split("")
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
}
|
}
|
||||||
|
|
@ -475,7 +475,7 @@ const iniTapiBmCompanyInfoTypeLis = async () => {
|
||||||
try {
|
try {
|
||||||
const res: any = await apiBmCompanyInfoTypeList()
|
const res: any = await apiBmCompanyInfoTypeList()
|
||||||
console.log("apiBmCompanyInfoTypeList", res)
|
console.log("apiBmCompanyInfoTypeList", res)
|
||||||
platFormInfo.listCount = (res.total + '').split("")
|
platFormInfo.listCount = (res.total + '').padStart(4,'0').split("")
|
||||||
platFormInfo.socailCount = res.social.count
|
platFormInfo.socailCount = res.social.count
|
||||||
platFormInfo.enterpriseCount = res.grid.count
|
platFormInfo.enterpriseCount = res.grid.count
|
||||||
platFormInfo.holdingCount = res.corporation.count
|
platFormInfo.holdingCount = res.corporation.count
|
||||||
|
|
@ -505,9 +505,8 @@ const InitApiMaLeaseInfoInfoTypeList= async()=>{
|
||||||
try {
|
try {
|
||||||
const res: any = await apiMaLeaseInfoInfoTypeList()
|
const res: any = await apiMaLeaseInfoInfoTypeList()
|
||||||
console.log("apiMaLeaseInfoInfoTypeList", res)
|
console.log("apiMaLeaseInfoInfoTypeList", res)
|
||||||
rentWantRent.rent = (res.rent.count + '').split("")
|
rentWantRent.rent = (res.rent.count + '').padStart(4,'0').split("")
|
||||||
rentWantRent.wantRent = (res.wantRent.count + '').split("")
|
rentWantRent.wantRent = (res.wantRent.count + '').padStart(4,'0').split("")
|
||||||
|
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue