sasp-flow-render 1.1.32-decoupling → 1.1.35-decoupling

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sasp-flow-render",
3
- "version": "1.1.32-decoupling",
3
+ "version": "1.1.35-decoupling",
4
4
  "description": "业务应用支撑平台-智慧流程渲染组件",
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build"
@@ -930,6 +930,7 @@ class WorkflowEngine {
930
930
  this.chooseNextUserId = "";
931
931
  this.chooseNextUserName = "";
932
932
  this.$flowDialog.fillFlowDialogParams({
933
+ mulitiChooseUser: this.mulitiChooseUser,
933
934
  chooseNextUserId: this.chooseNextUserId,
934
935
  chooseNextUserName: this.chooseNextUserName
935
936
  });
@@ -9,7 +9,7 @@
9
9
  </span>
10
10
  <template v-if="flowInstDataDialog">
11
11
  <!-- <slot name="formInfo"></slot>-->
12
- <render-form :flowComponet="workFlowUtil.$this"
12
+ <render-form :flowComponent="workFlowUtil.$this"
13
13
  v-if="workFlowUtil.$this.$slots.formInfo && flowInstDataDialog">
14
14
 
15
15
  </render-form>
@@ -739,7 +739,7 @@ export default {
739
739
  }
740
740
  let userIds = "";
741
741
  checkedUserArr.forEach(item => {
742
- userIds += "," + item.dataKey.startsWith("user_") ? item.dataKey.replace("user_", "") : item.dataKey;
742
+ userIds += "," + (item.dataKey.startsWith("user_") ? item.dataKey.replace("user_", "") : item.dataKey);
743
743
  });
744
744
  this.disableSign = true;
745
745
  this.saspFlowAxios.post(this.api.plFlowInst.completeSign, {
@@ -2,12 +2,12 @@
2
2
  export default {
3
3
  name: "renderForm",
4
4
  props:{
5
- flowComponet:{
5
+ flowComponent:{
6
6
  type: Object,
7
7
  required: true},
8
8
  },
9
9
  render(h){
10
- return this.flowComponet.$scopedSlots.formInfo({index:this.flowComponet.indexForm});
10
+ return this.flowComponent.$scopedSlots.formInfo({index:this.flowComponent.indexForm});
11
11
  },
12
12
  mounted() {
13
13
  // console.log(this);
@@ -167,23 +167,22 @@ let eventObj = {}; //事件对象
167
167
  export default {
168
168
  name: "loadEventPlugin",
169
169
  installAll(Vue,opts){
170
+ let eventPlugin = Vue.prototype.EVENT_PLUGIN || {};
171
+ Object.keys(diyEventObjs).forEach(key =>{
172
+ //加载列格式化
173
+ diyEventObjs[key].forEach(item =>{
174
+ eventPlugin.preActiveEventRule(item);
175
+ })
176
+ });
177
+ //加载系统事件规则
178
+ Object.keys(sysEventObjs).forEach(key =>{
179
+ //加载列格式化
180
+ sysEventObjs[key].forEach(item =>{
181
+ eventPlugin.installEventRule(item);
182
+ })
183
+ });
170
184
  opts.saspFlowAxios.post(apiFlow.apis.eventRule.findByVersion,{"eventTypes":"flow"}).then(res =>{ //查询流程相关事件规则
171
- let eventPlugin = Vue.prototype.EVENT_PLUGIN || {};
172
185
  if(res){
173
- Object.keys(diyEventObjs).forEach(key =>{
174
- //加载列格式化
175
- diyEventObjs[key].forEach(item =>{
176
- eventPlugin.preActiveEventRule(item);
177
- })
178
- });
179
- //加载系统事件规则
180
- Object.keys(sysEventObjs).forEach(key =>{
181
- //加载列格式化
182
- sysEventObjs[key].forEach(item =>{
183
- eventPlugin.installEventRule(item);
184
- })
185
- });
186
-
187
186
  if(!Array.isArray(res.data)){
188
187
  res.data = [];
189
188
  }