This commit is contained in:
parent
59df211105
commit
9b2a54c26c
|
|
@ -250,7 +250,7 @@ onShow((opt) => {
|
|||
const getCodeList = async () => {
|
||||
const params = {
|
||||
teamId: queryParamsTemp.value.teamId,
|
||||
proId: queryParamsTemp.value.projectId,
|
||||
proId: queryParamsTemp.value.proId,
|
||||
typeId: queryParamsTemp.value.typeId,
|
||||
}
|
||||
try {
|
||||
|
|
@ -444,13 +444,16 @@ const handleScanError = (error) => {
|
|||
|
||||
// 处理二维码
|
||||
const handleQrCode = async (qrCode) => {
|
||||
const params = { qrCode, typeId: queryParams.value.typeId }
|
||||
const params = {
|
||||
qrCode,
|
||||
typeId: queryParams.value.typeId,
|
||||
proId: queryParamsTemp.value.proId,
|
||||
teamId: queryParamsTemp.value.teamId,
|
||||
}
|
||||
console.log('🚀 ~ success: ~ queryParams.value.isAddCode:', queryParams.value.isAddCode)
|
||||
try {
|
||||
const res = null
|
||||
let res = null
|
||||
if (queryParamsTemp.value.isBack) {
|
||||
params.proId = queryParamsTemp.value.projectId
|
||||
params.teamId = queryParamsTemp.value.teamId
|
||||
res = await getMachine(params)
|
||||
} else {
|
||||
res = await getCodeScanAPI(params)
|
||||
|
|
|
|||
Loading…
Reference in New Issue