|
@@ -17,7 +17,17 @@ class rptMemChange extends RptMemBase {
|
|
|
super(ctx, bindData);
|
|
|
}
|
|
|
|
|
|
+ _getChangeConstName(define, value) {
|
|
|
+ for (const prop in define) {
|
|
|
+ if (define[prop].value === value) {
|
|
|
+ return define[prop].name;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return '';
|
|
|
+ }
|
|
|
+
|
|
|
async _anaylisChange(change) {
|
|
|
+ const self = this;
|
|
|
const types = this.ctx.helper._.map(change.type.split(','), function (t) {
|
|
|
return self._getChangeConstName(changeConst.type, this.ctx.helper._.toInteger(t));
|
|
|
});
|