mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化代码
This commit is contained in:
parent
644e240592
commit
02da507fb0
4
app.js
4
app.js
@ -36,8 +36,8 @@ let opts = {
|
||||
// app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
|
||||
|
||||
|
||||
app.use('/callComponent',proxy('http://owner.homecommunity.cn:8008',opts));
|
||||
app.use('/app',proxy('http://owner.homecommunity.cn:8008',opts));
|
||||
app.use('/callComponent',proxy('http://proxy.homecommunity.cn:9011',opts));
|
||||
app.use('/app',proxy('http://proxy.homecommunity.cn:9011',opts));
|
||||
|
||||
// app.use('/callComponent',proxy('http://127.0.0.1:8008',opts));
|
||||
// app.use('/app',proxy('http://127.0.0.1:8008',opts));
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<div>
|
||||
<div>
|
||||
<div class="form-group text-center " style="margin-top: 50px;">
|
||||
<div id="qrcode" style="width:200px; height:200px;margin:0 auto "></div>
|
||||
<div id="uncode" style="width:200px; height:200px;margin:0 auto "></div>
|
||||
<div class="margin-top">无牌车进场二维码</div>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
|
||||
@ -21,16 +21,17 @@
|
||||
// = _params;
|
||||
vc.copyObject(_params, vc.component.unlicensedCarMachineQrCodeInfo);
|
||||
vc.component.unlicensedCarMachineQrCodeInfo.communityId = vc.getCurrentCommunity().communityId;
|
||||
$that._loadUnlicensedCodeUrl();
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
_loadQrCodeUrl:function(){
|
||||
_loadUnlicensedCodeUrl:function(){
|
||||
//判断是否支付
|
||||
var param = {
|
||||
params: {
|
||||
communityId: vc.getCurrentCommunity().communityId,
|
||||
boxId: $that.parkingAreaControlFeeInfo.boxId,
|
||||
machineId: $that.parkingAreaControlFeeInfo.machineId,
|
||||
boxId: $that.unlicensedCarMachineQrCodeInfo.boxId,
|
||||
machineId: $that.unlicensedCarMachineQrCodeInfo.machineId,
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
@ -45,8 +46,8 @@
|
||||
);
|
||||
},
|
||||
_viewQr: function (_data) {
|
||||
document.getElementById("qrcode").innerHTML = "";
|
||||
let qrcode = new QRCode(document.getElementById("qrcode"), {
|
||||
document.getElementById("uncode").innerHTML = "";
|
||||
let qrcode = new QRCode(document.getElementById("uncode"), {
|
||||
text: "无牌车入场二维码", //你想要填写的文本
|
||||
width: 200, //生成的二维码的宽度
|
||||
height: 200, //生成的二维码的高度
|
||||
|
||||
@ -84,4 +84,5 @@
|
||||
<vc:create path="property/parkingAreaControlFee"></vc:create>
|
||||
</div>
|
||||
<vc:create path="property/parkingAreaControlCustomCarInout"></vc:create>
|
||||
<vc:create path="property/unlicensedCarMachineQrCode"></vc:create>
|
||||
</div>
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user