eoss-mobiles 0.3.67 → 0.3.68

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-mobiles",
3
- "version": "0.3.67",
3
+ "version": "0.3.68",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -10,6 +10,7 @@
10
10
  freeStartFlowParams.useScene === 'multiInsMidwayWithSubmitScene'
11
11
  "
12
12
  @closePop="showFreeStart = false"
13
+ @success="handleSuccess"
13
14
  :opinion="form.opinion"
14
15
  :copy-history="freeStartFlowParams.pendedHistoryHandle"
15
16
  :formType="processFormType"
@@ -912,6 +913,9 @@ export default {
912
913
  }
913
914
  },
914
915
  methods: {
916
+ handleSuccess(){
917
+ this.$parent.$emit('success')
918
+ },
915
919
  handleClickDefList(info) {
916
920
  this.freeStartFlowParams.defId = info.defId;
917
921
  this.showFreeStart = true;
@@ -1639,7 +1643,7 @@ export default {
1639
1643
  isCanPreAddSign
1640
1644
  }
1641
1645
  } = res;
1642
- if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
1646
+ if (currentOrgSelectorParams && currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
1643
1647
  that.currentOrgSelectorTabs =
1644
1648
  currentOrgSelectorParams.currentOrgType.split(',');
1645
1649
  let currentOrgparams =
@@ -1657,7 +1661,7 @@ export default {
1657
1661
  that.currentOrgSelectorTabs =
1658
1662
  that.currentOrgSelectorTabs.join(',');
1659
1663
  }
1660
- if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
1664
+ if (currentOrgSelectorParams &&currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
1661
1665
  that.foreignOrgSelectorTabs =
1662
1666
  currentOrgSelectorParams.foreignOrgType.split(',');
1663
1667
  let foreignOrgparams =
@@ -500,11 +500,11 @@ export default {
500
500
  if (_that.formType == 'freeStart' && !_that.isFreeStartFlow) {
501
501
  this.$emit('closePop');
502
502
  } else {
503
- // if(_that.formType == 'freeStart'){
504
- // _that.$emit('success');
505
- // }else{
503
+ if(_that.formType == 'freeStart'){
504
+ _that.$emit('success');
505
+ }else{
506
506
  _that.$parent.$emit('success');
507
- // }
507
+ }
508
508
  }
509
509
  } else {
510
510
  this.$toast(res.msg || res.message);
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.3.67',
108
+ version: '0.3.68',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,