eoss-ui 0.7.61 → 0.7.62

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": "eoss-ui",
3
- "version": "0.7.61",
3
+ "version": "0.7.62",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -159,11 +159,11 @@ export default {
159
159
  currentOrgName: '',
160
160
  otherOrgName: '',
161
161
  newMultiple: true,
162
- params: { filid: 'all' },
162
+ params: { filid: 'all',only_filid:true },
163
163
  isHideOtherOrg: '',
164
164
  isHideCurrentOrg: 0,
165
165
  isOpinionRequired: 0,
166
- otherParams: { filid: 'other', nofilid: 1 },
166
+ otherParams: { filid: 'all', nofilid: 1 },
167
167
  loading: false,
168
168
  subLoading: null,
169
169
  userModel: {}
@@ -173,6 +173,7 @@ export default {
173
173
  selectorParams: {
174
174
  handler(val) {
175
175
  this.params = val;
176
+ this.params.only_filid = true;
176
177
  },
177
178
  deep: true,
178
179
  immediate: true
@@ -26,7 +26,7 @@
26
26
  mix
27
27
  :showTooltip="showTooltip"
28
28
  :disableds="otherOrgDisabledObjId"
29
- :where="{ filid: 'other',roleid :selectorParams.roleid }"
29
+ :where="{ filid: 'all',roleid :selectorParams.roleid,nofilid:sessionStorage.getItem('orgId') }"
30
30
 
31
31
  @change="disposeAppUnit($event, 'nextOtherOrgObjSelect')"
32
32
  :types="foreignOrgSelectorTabs"
@@ -78,11 +78,11 @@ export default {
78
78
  nextOtherOrgObjSelect: [],
79
79
  nextNode: {},
80
80
  currentOrgSelectorParams: {
81
- filid: JSON.parse(util.getStorage('mainConfig')).userModel.orgId
81
+ filid: JSON.parse(util.getStorage('mainConfig')).userModel.orgId,only_filid:true
82
82
  },
83
83
  currentOrgSelectorTabs: ['employee', 'persongroup'],
84
84
  foreignOrgSelectorTabs: ['enterprise', 'filgroup'],
85
- foreignOrgSelectorParams: {enterprise:{filid: 'other', roleid: '', nofilid:sessionStorage.getItem('orgId')},filgroup:{filid: sessionStorage.getItem('orgId'), roleid: '', nofilid: sessionStorage.getItem('orgId')},roleid:'' },
85
+ foreignOrgSelectorParams: {enterprise:{filid: 'all', roleid: '', nofilid:sessionStorage.getItem('orgId')},filgroup:{filid: 'all', roleid: '', nofilid: sessionStorage.getItem('orgId')},roleid:'' },
86
86
  loading: null
87
87
  };
88
88
  },
@@ -69,7 +69,7 @@
69
69
  >
70
70
  <SelectUser
71
71
  :nextUser="infoList.nextOtherOrgObj"
72
- :where="{ filid: 'other', roleid: selectorParams.roleid }"
72
+ :where="{ filid: 'all', roleid: selectorParams.roleid,nofilid:sessionStorage.getItem('orgId') }"
73
73
  :showTooltip="showTooltip"
74
74
  :multiple="newMultiple"
75
75
  @change="changeSelectUser($event, 'nextOtherOrgObj')"
@@ -251,11 +251,11 @@ export default {
251
251
  currentOrgName: '',
252
252
  otherOrgName: '',
253
253
  newMultiple: true,
254
- params: { filid: 'all' },
254
+ params: { filid: 'all',only_filid:true },
255
255
  isHideOtherOrg: '',
256
256
  isHideCurrentOrg: 0,
257
257
  isOpinionRequired: 0,
258
- otherParams: { filid: 'other' },
258
+ otherParams: { filid: 'all', roleid: '', nofilid: sessionStorage.getItem('orgId') },
259
259
  loading: false
260
260
  };
261
261
  },
@@ -465,7 +465,8 @@ export default {
465
465
  ? (this.params.filid = JSON.parse(
466
466
  util.getStorage('mainConfig')
467
467
  ).userModel.orgId)
468
- : param[i]
468
+ : param[i],
469
+ only_filid:true
469
470
  };
470
471
  });
471
472
  } else {
@@ -294,7 +294,7 @@
294
294
  :disableds="currentOrgDisabledObjId"
295
295
  @change="disposeAppUnit($event, 'nextCurrentOrgObjSelect')"
296
296
  :types="['department', 'employee']"
297
- :params="{ filid: userModel.orgId,roleid:selectorParams.roleid }"
297
+ :params="{ filid: userModel.orgId,roleid:selectorParams.roleid,only_filid:true }"
298
298
  />
299
299
  </el-form-item>
300
300
  <el-form-item
@@ -306,7 +306,7 @@
306
306
  :nextUser="nextOtherOrgObjSelect"
307
307
  multiple
308
308
  mix
309
- :where="{ filid: 'other',roleid:selectorParams.roleid }"
309
+ :where="{ filid: 'all',roleid:selectorParams.roleid,nofilid:sessionStorage.getItem('orgId') }"
310
310
  :showTooltip="showTooltip"
311
311
  :disableds="otherOrgDisabledObjId"
312
312
  @change="disposeAppUnit($event, 'nextOtherOrgObjSelect')"
@@ -84,7 +84,7 @@
84
84
  style="margin-top: 10px"
85
85
  :businessId="businessIds"
86
86
  :label-position="formLabelPosition"
87
- :showTooltip="showTooltip"
87
+ :showTooltip="showTooltip"
88
88
  ref="circulate"
89
89
  :selectorParams="selectorParams"
90
90
  :pending-id="pendingId"
@@ -112,7 +112,7 @@
112
112
  v-else-if="typeCode == 'read'"
113
113
  :pending-id="pendingId"
114
114
  :opinion="value"
115
- :showTooltip="showTooltip"
115
+ :showTooltip="showTooltip"
116
116
  type="create"
117
117
  :simpleTips="simpleTips"
118
118
  :key="StartTaskReadKey"
@@ -131,7 +131,7 @@
131
131
  :appId="resetAppId"
132
132
  :params="param"
133
133
  :showOther="showOther"
134
- :showTooltip="showTooltip"
134
+ :showTooltip="showTooltip"
135
135
  :selectorParams="selectorParams"
136
136
  :formLabelPosition="formLabelPosition"
137
137
  :simpleTips="simpleTips"
@@ -139,7 +139,7 @@
139
139
  <Supervise
140
140
  :businessId="businessId"
141
141
  :appId="resetAppId"
142
- :showTooltip="showTooltip"
142
+ :showTooltip="showTooltip"
143
143
  :simpleTips="simpleTips"
144
144
  @cancel="closeProcess($event)"
145
145
  v-else-if="typeCode == 'supervise'"
@@ -147,6 +147,7 @@
147
147
  <reset
148
148
  style="height: 100%"
149
149
  :type="newTypeCode"
150
+ :showTooltip="showTooltip"
150
151
  :simpleTips="simpleTips"
151
152
  :appId="resetAppId"
152
153
  @cancel="closeProcess($event)"
@@ -168,7 +169,7 @@
168
169
  @click="setShrink"
169
170
  ></es-button>
170
171
  </div>
171
- <!-- 'es-icon-indent' : 'es-icon-increase' -->
172
+ <!-- 'es-icon-indent' : 'es-icon-increase' -->
172
173
  <div class="es-opinion" v-show="!shrink">
173
174
  <span class="es-eidt-title" :style="`${!isFlow ? 'color:red' : ''}`"
174
175
  >填写意见</span
@@ -474,7 +475,7 @@
474
475
  :radioList="radioList"
475
476
  :multiple="multiple"
476
477
  :isCustomUser="!isShowNextUser ? 1 : isCustomUser"
477
- :showTooltip="showTooltip"
478
+ :showTooltip="showTooltip"
478
479
  :isCurrentNodeForbiddenChangeCandidate="
479
480
  isCurrentNodeForbiddenChangeCandidate
480
481
  "
@@ -494,7 +495,7 @@
494
495
  :tabs="nextUserTabs"
495
496
  />
496
497
  </el-form-item>
497
-
498
+
498
499
  <el-form-item
499
500
  v-if="isHideCurrentOrg && nextNode.isReturnSubmitter != 1"
500
501
  prop="nextCurrentOrgObj"
@@ -506,7 +507,7 @@
506
507
  mix
507
508
  :disableds="currentOrgDisabledObjId"
508
509
  @change="disposeAppUnit($event, 'nextCurrentOrgObjSelect')"
509
- :showTooltip="showTooltip"
510
+ :showTooltip="showTooltip"
510
511
  :types="currentOrgSelectorTabs"
511
512
  :params="currentOrgSelectorParams"
512
513
  />
@@ -519,7 +520,7 @@
519
520
  <SelectUser
520
521
  :nextUser="nextOtherOrgObjSelect"
521
522
  multiple
522
- :showTooltip="showTooltip"
523
+ :showTooltip="showTooltip"
523
524
  mix
524
525
  :where="{ filid: 'other' }"
525
526
  :disableds="otherOrgDisabledObjId"
@@ -562,7 +563,7 @@
562
563
  :multiple="true"
563
564
  :selectUserList="selectReadUserList"
564
565
  :options="userOptions"
565
- :showTooltip="showTooltip"
566
+ :showTooltip="showTooltip"
566
567
  title="分阅用户"
567
568
  :mix="true"
568
569
  :types="types"
@@ -581,7 +582,7 @@
581
582
  :nextUser="nextNode.presetReadUserId"
582
583
  :multiple="true"
583
584
  :selectUserList="selectPresetUserList"
584
- :showTooltip="showTooltip"
585
+ :showTooltip="showTooltip"
585
586
  :options="presetOptions"
586
587
  :radioList="presetReadUserId"
587
588
  :presetEdit="1"
@@ -592,30 +593,29 @@
592
593
  :tabs="tabs"
593
594
  />
594
595
  </el-form-item>
595
- <el-form-item
596
+ <el-form-item
596
597
  v-if="enableCustomLimitTimeSetting"
597
598
  prop="customLimitTime"
598
599
  label="限时办理"
599
600
  style="margin-bottom: 10px"
600
601
  >
601
- <!-- v-if="!showCustomLimitTimeText" -->
602
- <div style="display: flex;width: 100%;">
603
- <es-select
604
- style="flex: 1 !important; display: inline-block;"
602
+ <!-- v-if="!showCustomLimitTimeText" -->
603
+ <div style="display: flex; width: 100%">
604
+ <es-select
605
+ style="flex: 1 !important; display: inline-block"
605
606
  v-model="nextNode.customLimitTimeText"
606
607
  placeholder="请选择"
607
- @change="handleChangeTime"
608
+ @change="handleChangeTime"
608
609
  sysCode="bpm_custom_limit_time"
609
- ></es-select>
610
- <el-input
611
- style="flex: 1; display: inline-block;"
612
- v-model="nextNode.customLimitTime"
613
- placeholder="请输入限时办理的天数"
614
- @change="changeCustomLimitTime"
615
- class="input-with-select custom-limit-time"
616
- >
617
-
618
- <!-- <es-button
610
+ ></es-select>
611
+ <el-input
612
+ style="flex: 1; display: inline-block"
613
+ v-model="nextNode.customLimitTime"
614
+ placeholder="请输入限时办理的天数"
615
+ @change="changeCustomLimitTime"
616
+ class="input-with-select custom-limit-time"
617
+ >
618
+ <!-- <es-button
619
619
  type="primary"
620
620
  slot="append"
621
621
  @click="
@@ -628,10 +628,10 @@
628
628
  showCustomLimitTimeText ? '选择框' : '文本框'
629
629
  }}</es-button
630
630
  > -->
631
- </el-input>
632
- <span style="margin-left:5px">天</span>
633
- </div>
634
- <!-- slot="prepend" -->
631
+ </el-input>
632
+ <span style="margin-left: 5px">天</span>
633
+ </div>
634
+ <!-- slot="prepend" -->
635
635
  </el-form-item>
636
636
 
637
637
  <el-form-item
@@ -675,7 +675,7 @@
675
675
  "
676
676
  @changeActiveNames="(val) => (activeNames = val)"
677
677
  @loadingEnd="customLoading('end')"
678
- :showTooltip="showTooltip"
678
+ :showTooltip="showTooltip"
679
679
  @loadingStart="customLoading('start')"
680
680
  :nextNode="nextNode.nextNodeId"
681
681
  :customPresetHintMessage="customPresetHintMessage"
@@ -692,7 +692,7 @@
692
692
  @loadingEnd="customLoading('end')"
693
693
  @loadingStart="customLoading('start')"
694
694
  :nodeId="nextNode.nextNodeId"
695
- :showTooltip="showTooltip"
695
+ :showTooltip="showTooltip"
696
696
  :businessId="businessIds"
697
697
  :customPresetHintMessage="customPresetHintMessage"
698
698
  :processDefinitionId="nodeInfo.nextNode"
@@ -710,7 +710,7 @@
710
710
  ref="processFormIndex"
711
711
  :id="freeStartFlowParams.startFlowBusinessId || businessIds"
712
712
  :simpleTips="simpleTips"
713
- :showTooltip="showTooltip"
713
+ :showTooltip="showTooltip"
714
714
  :is-free-start-flow="
715
715
  freeStartFlowParams.useScene === 'multiInsMidwayWithSubmitScene'
716
716
  "
@@ -737,7 +737,7 @@
737
737
  directCreateCircularReadWhenFlowStarted
738
738
  "
739
739
  ref="flowCirculate"
740
- :showTooltip="showTooltip"
740
+ :showTooltip="showTooltip"
741
741
  :label-position="formLabelPosition"
742
742
  :businessId="businessId"
743
743
  :startFlowPageEmbeddedIntoStartFlowIndex="
@@ -856,9 +856,9 @@
856
856
  >
857
857
  <el-button
858
858
  v-show="isSubmitButtonShowAgreeAndDisagree != 1"
859
- v-for="item of (hideBtn || isHideTemporarySave
859
+ v-for="item of hideBtn || isHideTemporarySave
860
860
  ? btnList.slice(0, 1)
861
- : btnList)"
861
+ : btnList"
862
862
  :key="item.name"
863
863
  :type="item.type"
864
864
  :style="btnStyle"
@@ -989,7 +989,7 @@
989
989
  <circulate
990
990
  :businessId="businessId"
991
991
  :processDefinitionId="nodeInfo.nextNode"
992
- :showTooltip="showTooltip"
992
+ :showTooltip="showTooltip"
993
993
  :simpleTips="simpleTips"
994
994
  :selectorParams="selectorParams"
995
995
  :oldOption="value"
@@ -1010,7 +1010,7 @@
1010
1010
  <ProcessForm
1011
1011
  :id="freeStartFlowParams.startFlowBusinessId || businessIds"
1012
1012
  :pending-id="pendingId"
1013
- :showTooltip="showTooltip"
1013
+ :showTooltip="showTooltip"
1014
1014
  :simpleTips="simpleTips"
1015
1015
  :is-free-start-flow="
1016
1016
  freeStartFlowParams.useScene === 'multiInsMidwayWithSubmitScene'
@@ -1053,7 +1053,7 @@
1053
1053
  <ProcessReject
1054
1054
  :pending-id="pendingId"
1055
1055
  :option="value"
1056
- :showTooltip="showTooltip"
1056
+ :showTooltip="showTooltip"
1057
1057
  :simpleTips="simpleTips"
1058
1058
  :show-reject="showReject"
1059
1059
  :news-info="nextNode.notificationMsg"
@@ -1074,7 +1074,7 @@
1074
1074
  :pending-id="pendingId"
1075
1075
  :opinion="value"
1076
1076
  :type="taskReadType"
1077
- :showTooltip="showTooltip"
1077
+ :showTooltip="showTooltip"
1078
1078
  :selectorConfig="selectorConfig"
1079
1079
  :simpleTips="simpleTips"
1080
1080
  :subParams="subParams"
@@ -1111,7 +1111,7 @@
1111
1111
  @cancel="closeProcess($event, 'showSendMsg')"
1112
1112
  :simpleTips="simpleTips"
1113
1113
  :pendingId="pendingId"
1114
- :showTooltip="showTooltip"
1114
+ :showTooltip="showTooltip"
1115
1115
  :newsList="newsList"
1116
1116
  />
1117
1117
  </es-dialog>
@@ -1128,7 +1128,7 @@
1128
1128
  <TaskUnionExamine
1129
1129
  @cancel="closeProcess($event, 'showTaskUnionExamine')"
1130
1130
  :simpleTips="simpleTips"
1131
- :showTooltip="showTooltip"
1131
+ :showTooltip="showTooltip"
1132
1132
  :pendingId="pendingId"
1133
1133
  :defaultOpinion="nodeDefaultSubmitOpinion"
1134
1134
  :oldOption="value"
@@ -1306,13 +1306,13 @@ export default {
1306
1306
  isHideTemporarySave: false,
1307
1307
  oldNextOperate: '',
1308
1308
  showOpinion: true,
1309
- submitButtonFunKey:'',
1310
- taskNodeButtons:[],
1309
+ submitButtonFunKey: '',
1310
+ taskNodeButtons: [],
1311
1311
  taskOperationShiftedNodeList: null,
1312
1312
  currentNodeEnableItemHandleDescription: false,
1313
1313
  startFlowPageEmbeddedIntoStartFlowIndex: false,
1314
1314
  pendingItemHandleDescription: '',
1315
- currentOrgSelectorParams: { filid: '' },
1315
+ currentOrgSelectorParams: { filid: '',only_filid:true },
1316
1316
  currentOrgSelectorTabs: ['employee', 'persongroup'],
1317
1317
  foreignOrgSelectorTabs: ['enterprise', 'filgroupobj'],
1318
1318
  foreignOrgSelectorParams: { filid: 'all', roleid: '' },
@@ -1593,11 +1593,17 @@ export default {
1593
1593
  return {
1594
1594
  customLimitTime: [
1595
1595
  {
1596
- required:this.enableCustomLimitTimeSetting,
1597
- message: this.showCustomLimitTimeText?'请输入限时办理天数' : '请选择限时办理天数',
1596
+ required: this.enableCustomLimitTimeSetting,
1597
+ message: this.showCustomLimitTimeText
1598
+ ? '请输入限时办理天数'
1599
+ : '请选择限时办理天数',
1598
1600
  trigger: 'blur'
1599
1601
  },
1600
- {required:this.enableCustomLimitTimeSetting, validator: this.checkCustomLimitTime, trigger: 'change' }
1602
+ {
1603
+ required: this.enableCustomLimitTimeSetting,
1604
+ validator: this.checkCustomLimitTime,
1605
+ trigger: 'change'
1606
+ }
1601
1607
  ]
1602
1608
  };
1603
1609
  },
@@ -1642,7 +1648,7 @@ export default {
1642
1648
  }
1643
1649
  },
1644
1650
  methods: {
1645
- limitTimevalidate() {
1651
+ limitTimevalidate() {
1646
1652
  let validSate = true;
1647
1653
  this.$refs.nextNode.validate((valid) => {
1648
1654
  if (valid) {
@@ -1653,12 +1659,12 @@ export default {
1653
1659
  });
1654
1660
  return validSate;
1655
1661
  },
1656
- checkCustomLimitTime(rule, value, callback){
1662
+ checkCustomLimitTime(rule, value, callback) {
1657
1663
  if (!Number(value) || value.indexOf('.') != -1 || Number(value) < 0) {
1658
- callback(new Error('请输入正确的天数'))
1664
+ callback(new Error('请输入正确的天数'));
1659
1665
  this.nextNode.customLimitTime = '';
1660
- }else{
1661
- callback()
1666
+ } else {
1667
+ callback();
1662
1668
  }
1663
1669
  },
1664
1670
  getAdminMsgType() {
@@ -2387,9 +2393,13 @@ export default {
2387
2393
  // 驳回:taskRejectHtml
2388
2394
  // 直接办结:endFlowHtml
2389
2395
  // 自由发起子流程:toFreeStartFlow
2390
- if(res.type == 4){
2391
- this.$emit('buttonClick',{fun:res.fun,opinion:this.value},this.sendData);
2392
- }else if (res.fun === 'toStartTaskRead()') {
2396
+ if (res.type == 4) {
2397
+ this.$emit(
2398
+ 'buttonClick',
2399
+ { fun: res.fun, opinion: this.value },
2400
+ this.sendData
2401
+ );
2402
+ } else if (res.fun === 'toStartTaskRead()') {
2393
2403
  // 分阅
2394
2404
  this.taskReadBtn();
2395
2405
  } else if (res.fun === 'reject()') {
@@ -2642,7 +2652,7 @@ export default {
2642
2652
  this.showTaskRead = true;
2643
2653
  }
2644
2654
  },
2645
- handleChangeTime(val){
2655
+ handleChangeTime(val) {
2646
2656
  this.nextNode.customLimitTime = val;
2647
2657
  },
2648
2658
  /**
@@ -2670,8 +2680,13 @@ export default {
2670
2680
  data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
2671
2681
  this.enableCustomLimitTimeSetting =
2672
2682
  data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
2673
- if(this.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays){
2674
- this.nextNode.customLimitTime =this.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + ''
2683
+ if (
2684
+ this.enableCustomLimitTimeSetting &&
2685
+ data.nodeMoreInfo.defaultCustomLimitDays
2686
+ ) {
2687
+ this.nextNode.customLimitTime =
2688
+ this.nextNode.customLimitTimeText =
2689
+ data.nodeMoreInfo.defaultCustomLimitDays + '';
2675
2690
  }
2676
2691
  data.otherOrgDisabledObjId &&
2677
2692
  (this.otherOrgDisabledObjId =
@@ -3063,7 +3078,8 @@ export default {
3063
3078
  filid:
3064
3079
  currentOrgparams[i] == 'my'
3065
3080
  ? choiceOrgId
3066
- : currentOrgparams[i]
3081
+ : currentOrgparams[i],
3082
+ only_filid:true
3067
3083
  };
3068
3084
  });
3069
3085
  }
@@ -3077,11 +3093,22 @@ export default {
3077
3093
  filid:
3078
3094
  foreignOrgparams[i] == 'my'
3079
3095
  ? choiceOrgId
3080
- : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'other' : foreignOrgparams[i],
3081
- nofilid:foreignOrgparams[i] == 'nofilidorg'? sessionStorage.getItem('orgId') :foreignOrgparams[i] == 'nofiliddept'? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
3082
- roleid:this.circularReadParamsMap.circularReadOrgRoleCode || this.foreignOrgSelectorParams.roleid,
3096
+ : foreignOrgparams[i] == 'nofilidorg' ||
3097
+ foreignOrgparams[i] == 'nofiliddept'
3098
+ ? 'all'
3099
+ : foreignOrgparams[i],
3100
+ nofilid:
3101
+ foreignOrgparams[i] == 'nofilidorg'
3102
+ ? sessionStorage.getItem('orgId')
3103
+ : foreignOrgparams[i] == 'nofiliddept'
3104
+ ? sessionStorage.getItem('depId')
3105
+ : foreignOrgparams[i] == 'other'
3106
+ ? 1
3107
+ : 0,
3108
+ roleid:
3109
+ this.circularReadParamsMap.circularReadOrgRoleCode ||
3110
+ this.foreignOrgSelectorParams.roleid
3083
3111
  };
3084
-
3085
3112
  });
3086
3113
  }
3087
3114
  this.circularReadParamsMap = circularReadParamsMap || {};
@@ -3093,9 +3120,10 @@ export default {
3093
3120
  this.nextOperateCheckType = nextOperateCheckType || 'select';
3094
3121
  this.currentNodeIsCircularReadNode =
3095
3122
  nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
3096
-
3097
- this.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
3098
- this.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons
3123
+
3124
+ this.submitButtonFunKey =
3125
+ nodeInfoMap.nodeExtAttr.submitButtonFunKey;
3126
+ this.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
3099
3127
  this.readOnlyNotificationType = readOnlyNotificationType;
3100
3128
 
3101
3129
  this.readOnlyNotificationType = readOnlyNotificationType;
@@ -3403,7 +3431,8 @@ export default {
3403
3431
  ) {
3404
3432
  this.$message.error('流程不存在或未关联对应流程!');
3405
3433
  } else {
3406
- this.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
3434
+ this.startFlowPageEmbeddedIntoStartFlowIndex =
3435
+ data.startFlowPageEmbeddedIntoStartFlowIndex;
3407
3436
 
3408
3437
  this.nodeInfo.option = data.definitionList;
3409
3438
  this.nodeInfo.nextNode = data.definitionList.filter(
@@ -3542,17 +3571,22 @@ export default {
3542
3571
  // this.reqCircularRead(type);
3543
3572
  // return;
3544
3573
  // }
3545
- if(this.submitButtonFunKey){
3546
- let btnInfo = this.taskNodeButtons.filter(x => x.key === this.submitButtonFunKey)
3547
- if(btnInfo.length>0){
3548
- if(btnInfo[0].type == 4){
3549
- this.$emit('buttonClick',{fun:btnInfo[0].fun,opinion:this.value},this.sendData);
3550
-
3551
- }else if(btnInfo[0].type == 2){
3552
- this.goView(btnInfo[0])
3574
+ if (this.submitButtonFunKey) {
3575
+ let btnInfo = this.taskNodeButtons.filter(
3576
+ (x) => x.key === this.submitButtonFunKey
3577
+ );
3578
+ if (btnInfo.length > 0) {
3579
+ if (btnInfo[0].type == 4) {
3580
+ this.$emit(
3581
+ 'buttonClick',
3582
+ { fun: btnInfo[0].fun, opinion: this.value },
3583
+ this.sendData
3584
+ );
3585
+ } else if (btnInfo[0].type == 2) {
3586
+ this.goView(btnInfo[0]);
3553
3587
  }
3554
3588
  }
3555
- return
3589
+ return;
3556
3590
  }
3557
3591
  if (type == 'multiInsMidwayWithSubmitScene') {
3558
3592
  this.sendData(type);
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (typeof window !== 'undefined' && window.Vue) {
125
125
  }
126
126
 
127
127
  export default {
128
- version: '0.7.61',
128
+ version: '0.7.62',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,