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