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