二维码扫码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 {
data() {
return {
qrCode:'20240110-0006',
qrCode:'',
queryParams:{
deviceType:'',//
specificationType:'',//
@ -163,7 +163,6 @@
let param = {
qrCode:this.qrCode
}
getMachineByQrCode(param).then(response => {
console.log(response)
this.queryParams = response.data

View File

@ -774,7 +774,7 @@ export default {
this.uploadOpen = true;
this.title = "二维码查看";
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.selectionList.forEach((item, index) => {
this.$refs.codeItem.innerHTML = "";

View File

@ -496,7 +496,7 @@ export default {
this.uploadOpen = true;
this.title = "二维码查看";
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.$refs.codeItem.innerHTML = "";
var qrcode = new QRCode(this.$refs.codeItem, {