模板内容管理模块类图
2015-10-31 19:41:37 0 举报
finance bankAdd
作者其他创作
大纲/内容
TemplateContainer
- searchValue: String- activeTab: Enum- tableData: Object- currentTemplateId: Number
- handleBack()- fetchTableData()- handleOperate()- getColumns()+ handleCreateTemplate()
SpecItem
- showDeleteConfirm: Boolean
- handleUpdateSpecValues()+ onUpdateSpecs()+ validateSpec()
TemplateService
- config- request
+ getTemplateList()+ handleOperateListItem()+ getTemplateDetail()+ handleCreateTemplate()+ handleModifyTemplate()
SpecContext
- usingSpecs: Array<Object>
- onAddUsingSpecs()- onDeleteUsingSpecs()
SpecContext.Provider
RuleEditContent
- currentRuleTab: Object+ affair: Object+ productInfo: Object+ ruleList: Array<Object>
- handleAddRule()- handleCopyRule()- handleDeleteRule()- handleEditCurrentRule()- handleConfirmRule()+ onUpdateRuleList()
AssetRepoContainer
+affair: Object
CommonModal
- onShow()- onClose()- render()
TemplateDetailModal
- templateInfo: Object- chosenView: Enum+ templateId: Number+ affair: Object
- fetchTemplateDetail()
React Component
- componentWillMount()- componentDidMount()- static getDerivedStateFromProps()+ render()- componentDidUpdate()
RuleTemplateInfo
- specList: Array<Object>- ruleList: Array<Object>- usingSpecs: Array<Object>+ templateInfo: Object+ defaultRuleId: Number
- handleUpdateSpecs()- handleUpdateRuleList()- handleUpdateUsingSpecs()+ validateAndGetRuleInfo()
CreateTemplateContainer
- mode: Enum- templateInfo: Object- currentTab: Enum- reuseTemplate: Object- basicRef: ReactComponent- ruleRef: ReactComponent
- fetchTemplateInfo()- handleSave()- handleReuseTemplate()
SpecContext.Consumer
BasicTemplateInfo
+ templateInfo: Object
- renderEditor()+ validate()+ updateTemplateInfo()+ onReuseTemplate()
0 条评论
下一页