二维码扫码2

This commit is contained in:
zhouzy062 2024-03-05 09:10:14 +08:00
parent 5ef155faaa
commit d5ca3c7b95
3 changed files with 3 additions and 4 deletions

View File

@ -123,7 +123,7 @@
export default { export default {
data() { data() {
return { return {
qrCode:'20240110-0006', qrCode:'',
queryParams:{ queryParams:{
deviceType:'',// deviceType:'',//
specificationType:'',// specificationType:'',//
@ -163,7 +163,6 @@
let param = { let param = {
qrCode:this.qrCode qrCode:this.qrCode
} }
getMachineByQrCode(param).then(response => { getMachineByQrCode(param).then(response => {
console.log(response) console.log(response)
this.queryParams = response.data this.queryParams = response.data

View File

@ -774,7 +774,7 @@ export default {
this.uploadOpen = true; this.uploadOpen = true;
this.title = "二维码查看"; this.title = "二维码查看";
this.labelmaCode = row.labelCode this.labelmaCode = row.labelCode
let str = 'http://10.40.92.46:80/qrCode/qrCodePage?qrCode='+row.labelCode let str = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='+row.labelCode
this.$nextTick(() => { this.$nextTick(() => {
// this.selectionList.forEach((item, index) => { // this.selectionList.forEach((item, index) => {
this.$refs.codeItem.innerHTML = ""; this.$refs.codeItem.innerHTML = "";

View File

@ -496,7 +496,7 @@ export default {
this.uploadOpen = true; this.uploadOpen = true;
this.title = "二维码查看"; this.title = "二维码查看";
this.qrCode = row.qrCode this.qrCode = row.qrCode
let str = 'http://10.40.92.46:80/qrCode/qrCodePage?qrCode='+row.qrCode let str = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='+row.qrCode
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.codeItem.innerHTML = ""; this.$refs.codeItem.innerHTML = "";
var qrcode = new QRCode(this.$refs.codeItem, { var qrcode = new QRCode(this.$refs.codeItem, {