mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
35 lines
969 B
JavaScript
35 lines
969 B
JavaScript
/**
|
|
入驻小区
|
|
**/
|
|
(function (vc) {
|
|
|
|
vc.extends({
|
|
data: {
|
|
writeAdvertMachineInfo: {
|
|
machineCode: '',
|
|
}
|
|
},
|
|
_initMethod: function () {
|
|
|
|
},
|
|
_initEvent: function () {
|
|
vc.on('writeAdvertMachine', 'openWriteAdvertMachineModal', function () {
|
|
$('#writeAdvertMachineModal').modal('show');
|
|
});
|
|
|
|
},
|
|
methods: {
|
|
_viewMachineAdvertInfo: function () {
|
|
if (!vc.notNull(vc.component.writeAdvertMachineInfo.machineCode)) {
|
|
vc.toast("设备码为空!");
|
|
return;
|
|
}
|
|
|
|
vc.jumpToPage("/advertVedio.html#/pages/property/advertVedioView?machineCode="
|
|
+ vc.component.writeAdvertMachineInfo.machineCode
|
|
+ "&communityId=" + vc.getCurrentCommunity().communityId);
|
|
},
|
|
|
|
}
|
|
});
|
|
})(window.vc); |