Skip to content

Commit 4c2b0bc

Browse files
committed
Merge branch 'develop'
2 parents 97344e8 + 7150e81 commit 4c2b0bc

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

src/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
name: 'App',
1212
data(){
1313
return {
14-
product:"flowable"
14+
// product:"flowable"
15+
product:"activiti"
1516
}
1617
},
1718
components: {

src/components/bpmn/Header.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
}
7575
_svg = svg;
7676
})
77-
console.log(this.Apis)
7877
that.post(this.Apis.deployProcess, {
7978
processKey: "s1111",
8079
processName: "阿达达",

src/components/bpmn/panel/NodePropertyPanel.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@
166166
this.updateProperties({conditionExpression:newCondition});
167167
},
168168
addUser(properties){
169-
this.updateProperties(
170-
Object.assign(properties, {
171-
// userType: Object.keys(properties)[0]
172-
})
173-
);
169+
this.updateProperties(properties);
170+
Object.assign(properties, {
171+
userType: Object.keys(properties)[0]
172+
})
173+
this.$emit('modifyFormData',properties);
174174
}
175175
}
176176
}

src/components/bpmn/panel/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</el-header>
99
<el-main>
1010
<node-property-panel v-if="configTab=='node'" :modeler="modeler" @modifyConfigTab="modifyConfigTab"
11-
:nodeElement="nodeElement" :formData="formData"></node-property-panel>
11+
:nodeElement="nodeElement" :formData="formData" @modifyFormData="modifyFormData"></node-property-panel>
1212
<process-property-panel v-if="configTab=='process'" :modeler="modeler" :process-data="process"
1313
:element="element"></process-property-panel>
1414
</el-main>
@@ -265,6 +265,10 @@
265265
sequenceFlow: businessObject.conditionExpression ? businessObject.conditionExpression.body : ''
266266
}
267267
this.nodeElement = element;
268+
},
269+
modifyFormData(data){
270+
this.formData.assignee = data.assignee;
271+
console.log(data)
268272
}
269273
},
270274
components: {

src/libs/api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export default {
2-
deployProcess: "flow/deploy"
2+
// deployProcess: "flow/deploy" flowable
3+
deployProcess: "act/deploy" // activiti
34
}

vue.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module.exports = {
33
devServer: {
44
proxy: {
55
'/api': {
6-
target: 'http://127.0.0.1:8088',
6+
// target: 'http://127.0.0.1:8088', flowable
7+
target: 'http://127.0.0.1:8089', // activiti
78
changeOrigin: true,
89
pathRewrite: {
910
'^/api': '/'

0 commit comments

Comments
 (0)