1.曹煤炭人员定位更换对接厂商,注释原有接口

liujun-2024-09-04-九公司人员定位
guoyuepeng 2024-08-19 16:59:24 +08:00
parent e45b7ef5e1
commit 39ec65ad0b
5 changed files with 55 additions and 55 deletions

View File

@ -352,17 +352,17 @@ export default {
}) })
}, },
getPersonPositioningCount() { getPersonPositioningCount() {
requestFN( // requestFN(
'/map/getPersonPositioningCount', // '/map/getPersonPositioningCount',
{ // {
CORPINFO_ID: this.corpInfoId, // CORPINFO_ID: this.corpInfoId,
GANGKOU: this.gangkou // GANGKOU: this.gangkou
} // }
).then((data) => { // ).then((data) => {
this.block3OptionsList[2].count = data.perCount // this.block3OptionsList[2].count = data.perCount
this.block4OptionsList[0].list[0].count = data.perCount + 3 // this.block4OptionsList[0].list[0].count = data.perCount + 3
this.block4OptionsList[0].list[1].count = 3 // this.block4OptionsList[0].list[1].count = 3
}) // })
} }
} }
} }

View File

@ -327,16 +327,16 @@ export default {
}) })
}, },
getPersonPositioningCount() { getPersonPositioningCount() {
requestFN( // requestFN(
'/map/getPersonPositioningCount', // '/map/getPersonPositioningCount',
{ // {
CORPINFO_ID: this.corpInfoId, // CORPINFO_ID: this.corpInfoId,
GANGKOU: this.gangkou // GANGKOU: this.gangkou
} // }
).then((data) => { // ).then((data) => {
this.block3OptionsList[0].count = data.personPositioningCount[0] // this.block3OptionsList[0].count = data.personPositioningCount[0]
this.block3OptionsList[1].count = data.personPositioningCount[1] // this.block3OptionsList[1].count = data.personPositioningCount[1]
}) // })
} }
} }
} }

View File

@ -341,17 +341,17 @@ export default {
}) })
}, },
getPersonPositioningCount() { getPersonPositioningCount() {
requestFN( // requestFN(
'/map/getPersonPositioningCount', // '/map/getPersonPositioningCount',
{ // {
CORPINFO_ID: this.corpInfoId, // CORPINFO_ID: this.corpInfoId,
GANGKOU: this.gangkou // GANGKOU: this.gangkou
} // }
).then((data) => { // ).then((data) => {
this.block3OptionsList[0].count = data.userCount // this.block3OptionsList[0].count = data.userCount
this.block3OptionsList[1].count = data.departCount // this.block3OptionsList[1].count = data.departCount
this.block3OptionsList[2].count = data.total // this.block3OptionsList[2].count = data.total
}) // })
} }
} }
} }

View File

@ -346,15 +346,15 @@ export default {
}) })
}, },
getPersonPositioningCount() { getPersonPositioningCount() {
requestFN( // requestFN(
'/map/getPersonPositioningCount', // '/map/getPersonPositioningCount',
{ // {
CORPINFO_ID: this.corpInfoId, // CORPINFO_ID: this.corpInfoId,
GANGKOU: this.gangkou // GANGKOU: this.gangkou
} // }
).then((data) => { // ).then((data) => {
this.personPositioningCount = data.personPositioningCount // this.personPositioningCount = data.personPositioningCount
}) // })
} }
} }
} }

View File

@ -179,22 +179,22 @@ export default {
}, },
methods: { methods: {
getCmtWorkCardLocationCount() { getCmtWorkCardLocationCount() {
requestFN( // requestFN(
'/map/findWorkCardLocation', // '/map/findWorkCardLocation',
{} // {}
).then((data) => { // ).then((data) => {
this.block1OptionsList[0].count = data.onlineCount // this.block1OptionsList[0].count = data.onlineCount
}).catch((e) => { // }).catch((e) => {
}) // })
}, },
getCmtWorkCardLocation() { getCmtWorkCardLocation() {
requestFN( // requestFN(
'/map/findWorkCardLocation', // '/map/findWorkCardLocation',
{} // {}
).then((data) => { // ).then((data) => {
this.block3List = this.block3List.concat(data.list) // this.block3List = this.block3List.concat(data.list)
}).catch((e) => { // }).catch((e) => {
}) // })
}, },
block3OptionsClick(index) { block3OptionsClick(index) {
this.currentPage = 1 this.currentPage = 1