mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
31 lines
806 B
JavaScript
31 lines
806 B
JavaScript
/**
|
|
入驻小区
|
|
**/
|
|
(function (vc) {
|
|
vc.extends({
|
|
data: {
|
|
parkingAreaControlInfo: {
|
|
_currentTab: 'parkingAreaControlCarInout',
|
|
paId: ''
|
|
|
|
}
|
|
},
|
|
_initMethod: function () {
|
|
$that.parkingAreaControlInfo.paId = vc.getParam('paId');
|
|
vc.emit('parkingAreaControlVideo', 'notify', {
|
|
paId: $that.parkingAreaControlInfo.paId
|
|
});
|
|
},
|
|
_initEvent: function () {
|
|
|
|
},
|
|
methods: {
|
|
changeTab: function (_tab) {
|
|
$that.parkingAreaControlInfo._currentTab = _tab;
|
|
vc.emit(_tab, 'switch', {
|
|
paId: $that.parkingAreaControlInfo.paId
|
|
})
|
|
},
|
|
}
|
|
});
|
|
})(window.vc); |