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/lib/date.js +12 -7
- package/lib/eoss-mobile.common.js +22 -16
- package/lib/flow.js +9 -8
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/date/src/date-picker.vue +5 -0
- package/packages/flow/src/components/Handle.vue +3 -2
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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;
|