mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
f76127839d
commit
7d467427cf
@ -39,13 +39,13 @@
|
|||||||
param,
|
param,
|
||||||
function (json, res) {
|
function (json, res) {
|
||||||
let _info = JSON.parse(json);
|
let _info = JSON.parse(json);
|
||||||
$that._viewQr(_info.data)
|
$that._viewUn(_info.data)
|
||||||
}, function (errInfo, error) {
|
}, function (errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
_viewQr: function (_data) {
|
_viewUn: function (_data) {
|
||||||
document.getElementById("uncode").innerHTML = "";
|
document.getElementById("uncode").innerHTML = "";
|
||||||
let qrcode = new QRCode(document.getElementById("uncode"), {
|
let qrcode = new QRCode(document.getElementById("uncode"), {
|
||||||
text: "无牌车入场二维码", //你想要填写的文本
|
text: "无牌车入场二维码", //你想要填写的文本
|
||||||
|
|||||||
@ -132,7 +132,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
auditParkingSpaceApplyInfo: function () {
|
auditParkingSpaceApplyInfo: function () {
|
||||||
if (vc.component.addParkingSpaceApplyInfo.state != "2002" || vc.component.addParkingSpaceApplyInfo.state != "4004") {
|
if (vc.component.addParkingSpaceApplyInfo.state == "") {
|
||||||
vc.toast("请选择审核结果");
|
vc.toast("请选择审核结果");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user