eoss-mobiles 0.3.65 → 0.3.66

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.65",
3
+ "version": "0.3.66",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -2,6 +2,7 @@
2
2
  <van-datetime-picker
3
3
  ref="emDatePicker"
4
4
  show-toolbar
5
+
5
6
  v-model="newValue"
6
7
  v-bind="$attrs"
7
8
  :filter="filter"
@@ -53,6 +54,7 @@ export default {
53
54
  this.$attrs.type === 'datehour' &&
54
55
  this.timePeriod
55
56
  ) {
57
+
56
58
  return ['上午', '下午'];
57
59
  }
58
60
  return options;
@@ -62,13 +64,16 @@ export default {
62
64
  },
63
65
  onConfirm(value) {
64
66
  let timePeriod;
67
+ console.log(this.$attrs.type === 'datehour',this.timePeriod,'aaaa')
65
68
  if (this.$attrs.type === 'datehour' && this.timePeriod) {
69
+ console.log(this.$attrs.type);
66
70
  timePeriod =
67
71
  this.$refs.emDatePicker.$children[0].$children[0].$children[3]._data
68
72
  .currentIndex == 0
69
73
  ? 'AM'
70
74
  : 'PM';
71
75
  }
76
+ console.log('confirm', value, timePeriod)
72
77
  this.$emit('confirm', value, timePeriod);
73
78
  },
74
79
  onChange(picker) {
@@ -1855,8 +1855,7 @@ export default {
1855
1855
  that.nodeFixedOpinionSelectList.push({ content: x });
1856
1856
  });
1857
1857
  }
1858
- that.isCurrentNodeForbiddenChangeCandidate =
1859
- nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
1858
+
1860
1859
  that.isHiddenOftenOpinion =
1861
1860
  nodeInfoMap.nodeExtAttr.isHiddenOftenOpinion;
1862
1861
  that.nodeDefaultSubmitOpinion =
@@ -1962,6 +1961,8 @@ export default {
1962
1961
  this.$toast.clear();
1963
1962
  this.showFlowBtn = true;
1964
1963
  if (res.status == 'success') {
1964
+ _that.isCurrentNodeForbiddenChangeCandidate =
1965
+ res.data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
1965
1966
  _that.currentNodeEnableItemHandleDescription =
1966
1967
  res.data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
1967
1968
  _that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
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.65',
108
+ version: '0.3.66',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,