You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
619 B
29 lines
619 B
!(function() { |
|
var Store = BI.inherit(Fix.Model, { |
|
state: function() { |
|
return { |
|
carrierInfo: { |
|
carrierType: "depost", |
|
pending: false |
|
}, |
|
entityInfo: { |
|
entityType: "entry", |
|
entityId: null, |
|
privilegeDetailBeanList: null |
|
} |
|
}; |
|
}, |
|
|
|
childContext: ["carrierInfo", "entityInfo"], |
|
|
|
actions: { |
|
changeEntityInfo: function(cardInfo) { |
|
this.model.entityInfo = BI.extend({}, this.model.entityInfo, { |
|
entityId: cardInfo.id |
|
}); |
|
} |
|
} |
|
}); |
|
|
|
BI.model("dec.model.demo", Store); |
|
})();
|
|
|