Files
PropertyDeployment/resources/Web/MicroCommunityIotWeb/html/components/lock/showLockLog/showLockLog.js
2025-12-09 20:22:03 +08:00

32 lines
812 B
JavaScript

(function(vc) {
vc.extends({
data: {
showLockLogInfo: {
logId: '',
reqParam: '',
resParam: '',
}
},
_initMethod: function() {
},
_initEvent: function() {
vc.on('showLockLog', 'openShowLockLogModal', function(_param) {
$that._cleanShowLockLogInfo();
vc.copyObject(_param, $that.showLockLogInfo);
$('#showLockLogModel').modal('show');
});
},
methods: {
_cleanShowLockLogInfo: function () {
$that.showLockLogInfo = {
logId: '',
reqParam: '',
resParam: '',
}
}
}
});
})(window.vc);