Unverified Commit c3d8529d authored by Irving ZHAO(赵俭)'s avatar Irving ZHAO(赵俭) Committed by GitHub
Browse files

Merge pull request #1728 from WeBankPartners/1678_enhance_for_plugin

1678 enhance for plugin
Showing with 2 additions and 4 deletions
+2 -4
......@@ -498,14 +498,11 @@ export default {
}
},
actionInputHandler (e, i) {
console.log(e)
if (e.inputType === 'insertText') {
this.inputtingValue += e.data
} else {
this.inputtingValue = this.inputtingValue.substr(0, this.inputtingValue.length - 1)
}
// i.action += e.data
// e.target.focus()
},
onFocus (e, i) {
this.inputtingValue = i.action
......@@ -513,7 +510,6 @@ export default {
actionBlurHandler (e, i) {
i.action = this.inputtingValue
this.inputtingValue = ''
console.log(i)
},
copyInterface (interfaces) {
const found = this.currentPluginObj.interfaces.find(_ => _.action === interfaces.action + '-(copy)')
......
......@@ -720,6 +720,7 @@ export default {
})
_this.getAllFlows(true)
_this.selectedFlow = data.data.procDefId
_this.getFlowXml(data.data.procDefId)
_this.temporaryFlow = data.data.procDefId
}
})
......
......@@ -883,6 +883,7 @@ export default {
this.currentNodeTitle = `${currentNode.orderedNo}${currentNode.nodeName}`
this.highlightModel(g.id, currentNode.nodeDefId)
this.renderFlowGraph()
this.renderModelGraph()
},
async highlightModel (nodeId, nodeDefId) {
if (nodeDefId && this.processSessionId) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment