eoss-mobiles 0.3.20 → 0.3.21

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.
Files changed (47) hide show
  1. package/lib/button-group.js +2 -2
  2. package/lib/button.js +2 -2
  3. package/lib/cell.js +2 -2
  4. package/lib/checkbox.js +59 -48
  5. package/lib/circle.js +2 -2
  6. package/lib/config/api.js +11 -3
  7. package/lib/empty.js +2 -2
  8. package/lib/eoss-mobile.common.js +643 -76
  9. package/lib/field.js +2 -2
  10. package/lib/flow-btn.js +60 -49
  11. package/lib/flow-list.js +687 -117
  12. package/lib/flow.js +149 -143
  13. package/lib/grid-item.js +2 -2
  14. package/lib/grid.js +2 -2
  15. package/lib/index.js +1 -1
  16. package/lib/list.js +2 -2
  17. package/lib/loading.js +2 -2
  18. package/lib/nav-bar.js +2 -2
  19. package/lib/picker.js +62 -50
  20. package/lib/radio.js +62 -50
  21. package/lib/retrial-auth.js +61 -50
  22. package/lib/search.js +2 -2
  23. package/lib/selector.js +77 -66
  24. package/lib/switch.js +2 -2
  25. package/lib/tab.js +2 -2
  26. package/lib/table-column.js +62 -50
  27. package/lib/tabs.js +2 -2
  28. package/lib/tag.js +2 -2
  29. package/lib/theme-chalk/flow-list-task-read.css +1 -0
  30. package/lib/theme-chalk/flow-list.css +1 -1
  31. package/lib/theme-chalk/flow.css +1 -1
  32. package/lib/theme-chalk/index.css +1 -1
  33. package/lib/uploader.js +2 -2
  34. package/package.json +1 -1
  35. package/packages/flow/src/components/Message.vue +7 -3
  36. package/packages/flow/src/components/supervise.vue +72 -64
  37. package/packages/flow-list/src/main.vue +42 -23
  38. package/packages/flow-list/src/taskRead.vue +234 -0
  39. package/packages/theme-chalk/lib/flow-list-task-read.css +1 -0
  40. package/packages/theme-chalk/lib/flow-list.css +1 -1
  41. package/packages/theme-chalk/lib/flow.css +1 -1
  42. package/packages/theme-chalk/lib/index.css +1 -1
  43. package/packages/theme-chalk/src/flow-list-task-read.scss +112 -0
  44. package/packages/theme-chalk/src/flow-list.scss +2 -2
  45. package/packages/theme-chalk/src/flow.scss +5 -0
  46. package/src/config/api.js +13 -2
  47. package/src/index.js +1 -1
@@ -0,0 +1,112 @@
1
+ @import './common/var.scss';
2
+ .process-page {
3
+ // padding: 20px 12px;
4
+ display: flex;
5
+ flex-direction: column;
6
+ height: 100%;
7
+ .main {
8
+ // margin-bottom: 90px;
9
+ padding: 20px 12px;
10
+ flex: 1;
11
+ overflow-y: auto;
12
+ }
13
+ .box {
14
+ background: #ffffff;
15
+ border-radius: 8px;
16
+ height: auto;
17
+ .title {
18
+ font-size: 16px;
19
+ color: #3a3211;
20
+ padding: 16px;
21
+ border-bottom: 1px solid #f0f0f0;
22
+ .check-btn {
23
+ float: right;
24
+ }
25
+ }
26
+ .list-area {
27
+ padding: 0 12px;
28
+ .van-checkbox__label {
29
+ flex: 1;
30
+ border-bottom: 1px solid #f0f0f0;
31
+ padding: 14px 0 14px 4px;
32
+ }
33
+ .list-item {
34
+ .name-area {
35
+ font-size: 12px;
36
+ color: #222;
37
+ display: flex;
38
+ span {
39
+ display: inline-block;
40
+ }
41
+ .user-name,.user-name-flow {
42
+ display: inline-block;
43
+ margin-right: 8px;
44
+ border-right: 1px solid #f0f0f0;
45
+ width: 36px;
46
+ }
47
+ .handle-name,.handle-name-flow {
48
+ flex: 1;
49
+ padding-right: 8px;
50
+ }
51
+ .handle-name-flow{
52
+ flex: unset;
53
+ }
54
+ .user-name-flow{
55
+ border: unset;
56
+ flex: 1;
57
+ width: unset;
58
+ }
59
+ .handle-status {
60
+ width: 44px;
61
+ height: 22px;
62
+ float: right;
63
+ border-radius: 4px;
64
+ background: rgba($color: #e82334, $alpha: 0.1);
65
+ color: #e82334;
66
+ font-size: 12px;
67
+ text-align: center;
68
+ line-height: 22px;
69
+ }
70
+ .handle-status.success {
71
+ background: rgba($color: #29e129, $alpha: 0.1);
72
+ color: #29e129;
73
+ }
74
+ }
75
+ .time {
76
+ font-size: 12px;
77
+ color: #999;
78
+ margin-top: 12px;
79
+ }
80
+ &.list-item2 {
81
+ border-bottom: 1px solid #f0f0f0;
82
+ padding: 14px 0;
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ .btn-area {
89
+ width: 100%;
90
+ height: 90px;
91
+ // position: fixed;
92
+ background: #fff;
93
+ padding: 12px 16px;
94
+ // left: 0;
95
+ // bottom: 0;
96
+ display: flex;
97
+ justify-content: space-between;
98
+ .btn {
99
+ width: calc(50% - 10px);
100
+ color:$--color-primary;
101
+ border: 1px solid $--color-primary;
102
+ font-size: 16px;
103
+ &:last-child {
104
+ color: #fff;
105
+ }
106
+ }
107
+ }
108
+ .no-data {
109
+ text-align: center;
110
+ padding: 20px 0;
111
+ color: #999;
112
+ }
@@ -1,8 +1,8 @@
1
1
  @import './common/var.scss';
2
2
  .em-flow-list {
3
3
  width: 100%;
4
- background-color: #fff;
5
-
4
+ // background-color: #fff;
5
+ height: 100%;
6
6
  .list {
7
7
  padding: 32px 16px 0px 16px;
8
8
 
@@ -645,3 +645,8 @@
645
645
  }
646
646
  }
647
647
  }
648
+ .flow-supervise{
649
+ display: flex;
650
+ flex-direction: column;
651
+ height: 100%;
652
+ }
package/src/config/api.js CHANGED
@@ -2,6 +2,10 @@ import $ from '../utils/util';
2
2
  var activiti = '/bpm';
3
3
  var pending = '/bpm';
4
4
  var mecp = $.getStorage('flowPath') || '';
5
+ const flowPendingPrefix =
6
+ window.flowPendingPrefix ||
7
+ localStorage.getItem('flowPendingPrefix') ||
8
+ '/bpm';
5
9
  export const initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
6
10
  export const getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
7
11
  export const codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
@@ -104,7 +108,8 @@ export const isCanStartSubFlow =
104
108
  export const getPresetCustomInfo =
105
109
  activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
106
110
  // 流程列表
107
- export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
111
+ export const pendedhistoryList = flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
112
+ // export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
108
113
  // 获取流程按钮
109
114
  export const getHandleButtonHtml =
110
115
  '/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
@@ -133,4 +138,10 @@ export const toTaskContinuationIndex =
133
138
  '/bpm/bpmBackend/toTaskContinuationIndex';
134
139
  // 续办提交
135
140
  export const taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
136
-
141
+ // 分阅情况
142
+ export const taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
143
+ // 撤销分阅
144
+ export const cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
145
+ // 获取公文办理消息
146
+ export const officeHandleRemark =
147
+ '/archives/task/taskHandle/getDefaultNotificationType.dhtml';
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.20',
108
+ version: '0.3.21',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,