File tree Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1111 name: ' App' ,
1212 data (){
1313 return {
14- product: " flowable"
14+ // product:"flowable"
15+ product: " activiti"
1516 }
1617 },
1718 components: {
Original file line number Diff line number Diff line change 7474 }
7575 _svg = svg;
7676 })
77- console .log (this .Apis )
7877 that .post (this .Apis .deployProcess , {
7978 processKey: " s1111" ,
8079 processName: " 阿达达" ,
Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff line change 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 >
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: {
Original file line number Diff line number Diff line change 11export default {
2- deployProcess : "flow/deploy"
2+ // deployProcess: "flow/deploy" flowable
3+ deployProcess : "act/deploy" // activiti
34}
Original file line number Diff line number Diff 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' : '/'
You can’t perform that action at this time.
0 commit comments