采购合同查询:二维码url

This commit is contained in:
chenjianan
2018-11-28 10:29:24 +08:00
parent 9aa0a7faa5
commit d723de3922

View File

@@ -246,7 +246,8 @@ export default {
quality: 0.3
}
}
const str = 'http://192.168.1.111:8022/searchContract.html?contractNum=' + contractNum
// const str = 'http://192.168.1.111:8022/searchContract.html?contractNum=' + contractNum
const str = 'http://192.168.1.111:8080/#/ContractInquiry/index?id=' + contractNum
QRCode.toDataURL(str, opts, function(err, url) {
if (err) throw err
const img = document.getElementById('img')