eoss-ui 0.8.7 → 0.8.9

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 (240) hide show
  1. package/lib/calogin.js +233 -233
  2. package/lib/eoss-ui.common.js +940 -761
  3. package/lib/flow.js +405 -226
  4. package/lib/index.js +1 -1
  5. package/lib/main.js +283 -283
  6. package/lib/qr-code.js +13 -13
  7. package/lib/theme-chalk/flow.css +1 -1
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/lib/theme-chalk/login.css +1 -1
  10. package/package.json +1 -1
  11. package/packages/button/index.js +5 -5
  12. package/packages/button/src/main.vue +418 -418
  13. package/packages/button-group/index.js +5 -5
  14. package/packages/calendar/index.js +5 -5
  15. package/packages/calogin/index.js +5 -5
  16. package/packages/calogin/src/plugin.js +915 -915
  17. package/packages/card/index.js +5 -5
  18. package/packages/card/src/main.vue +156 -156
  19. package/packages/cascader/index.js +5 -5
  20. package/packages/cascader/src/main.vue +168 -168
  21. package/packages/checkbox-group/index.js +5 -5
  22. package/packages/checkbox-group/src/main.vue +333 -333
  23. package/packages/clients/index.js +5 -5
  24. package/packages/data-table/index.js +5 -5
  25. package/packages/data-table/src/children.vue +46 -46
  26. package/packages/data-table/src/main.vue +1876 -1876
  27. package/packages/data-table/src/sizer.vue +195 -195
  28. package/packages/data-table-form/index.js +5 -5
  29. package/packages/data-table-form/src/checkbox.vue +101 -101
  30. package/packages/data-table-form/src/colgroup.vue +17 -17
  31. package/packages/data-table-form/src/main.vue +181 -181
  32. package/packages/data-table-form/src/radio.vue +65 -65
  33. package/packages/data-table-form/src/table.vue +233 -233
  34. package/packages/data-table-form/src/tbody.vue +336 -336
  35. package/packages/data-table-form/src/thead.vue +68 -68
  36. package/packages/date-picker/index.js +5 -5
  37. package/packages/date-picker/src/main.vue +236 -236
  38. package/packages/dialog/index.js +5 -5
  39. package/packages/enable-drag/index.js +5 -5
  40. package/packages/enterprise/index.js +5 -5
  41. package/packages/enterprise/src/main.vue +66 -66
  42. package/packages/error-page/index.js +5 -5
  43. package/packages/error-page/src/main.vue +44 -44
  44. package/packages/flow/index.js +5 -5
  45. package/packages/flow/src/component/Circulate.vue +5 -3
  46. package/packages/flow/src/component/FreeCirculation.vue +245 -245
  47. package/packages/flow/src/component/TimeLimit.vue +190 -190
  48. package/packages/flow/src/component/taskUnionExamine.vue +4 -2
  49. package/packages/flow/src/freeStartFlow.vue +55 -12
  50. package/packages/flow/src/main.vue +4201 -4165
  51. package/packages/flow/src/processForm.vue +1717 -1711
  52. package/packages/flow/src/processReject.vue +3 -1
  53. package/packages/flow/src/reset.vue +10 -4
  54. package/packages/flow/src/startTaskRead.vue +5 -2
  55. package/packages/flow/src/supervise.vue +16 -13
  56. package/packages/flow-group/index.js +5 -5
  57. package/packages/flow-group/src/main.vue +750 -750
  58. package/packages/flow-list/index.js +5 -5
  59. package/packages/form/index.js +5 -5
  60. package/packages/handle-user/index.js +5 -5
  61. package/packages/handle-user/src/main.vue +137 -137
  62. package/packages/handler/index.js +5 -5
  63. package/packages/handler/src/main.vue +499 -499
  64. package/packages/icon/index.js +5 -5
  65. package/packages/icons/index.js +5 -5
  66. package/packages/icons/src/main.vue +81 -81
  67. package/packages/input/index.js +5 -5
  68. package/packages/input/src/main.vue +356 -356
  69. package/packages/input-number/index.js +5 -5
  70. package/packages/input-number/src/main.vue +106 -106
  71. package/packages/label/index.js +5 -5
  72. package/packages/label/src/main.vue +457 -457
  73. package/packages/layout/index.js +5 -5
  74. package/packages/layout/src/item.vue +152 -152
  75. package/packages/layout/src/main.vue +31 -31
  76. package/packages/login/index.js +5 -5
  77. package/packages/login/src/main.vue +2088 -2088
  78. package/packages/main/index.js +5 -5
  79. package/packages/main/src/default/message.vue +249 -249
  80. package/packages/main/src/default/notice.vue +157 -157
  81. package/packages/main/src/default/userinfo.vue +513 -513
  82. package/packages/main/src/simplicity/index.vue +2335 -2335
  83. package/packages/main/src/simplicity/lists.vue +84 -84
  84. package/packages/main/src/simplicity/router-page.vue +45 -45
  85. package/packages/main/src/simplicity/userinfo.vue +408 -408
  86. package/packages/main/src/simplicityTop/index.vue +2626 -2626
  87. package/packages/main/src/simplicityTop/userinfo.vue +408 -408
  88. package/packages/menu/index.js +5 -5
  89. package/packages/nav/index.js +5 -5
  90. package/packages/notify/index.js +5 -5
  91. package/packages/notify/src/main.vue +538 -538
  92. package/packages/page/index.js +5 -5
  93. package/packages/page/src/main.vue +167 -167
  94. package/packages/pagination/index.js +5 -5
  95. package/packages/pagination/src/main.vue +96 -96
  96. package/packages/player/index.js +5 -5
  97. package/packages/player/src/main.vue +194 -194
  98. package/packages/qr-code/index.js +5 -5
  99. package/packages/qr-code/src/main.vue +170 -170
  100. package/packages/radio-group/index.js +6 -6
  101. package/packages/radio-group/src/main.vue +319 -319
  102. package/packages/retrial-auth/index.js +5 -5
  103. package/packages/retrial-auth/src/main.vue +299 -299
  104. package/packages/select/index.js +5 -5
  105. package/packages/select-ganged/index.js +5 -5
  106. package/packages/select-ganged/src/main.vue +724 -724
  107. package/packages/selector/index.js +5 -5
  108. package/packages/selector-panel/index.js +5 -5
  109. package/packages/selector-panel/src/tree.vue +129 -129
  110. package/packages/sizer/index.js +5 -5
  111. package/packages/sizer/src/main.vue +254 -254
  112. package/packages/steps/index.js +5 -5
  113. package/packages/steps/src/main.vue +181 -181
  114. package/packages/switch/index.js +5 -5
  115. package/packages/table-form/index.js +5 -5
  116. package/packages/tabs/index.js +5 -5
  117. package/packages/tabs/src/main.vue +788 -788
  118. package/packages/tabs-panel/index.js +5 -5
  119. package/packages/tabs-panel/src/main.vue +29 -29
  120. package/packages/theme-chalk/gulpfile.js +25 -0
  121. package/packages/theme-chalk/src/base.scss +261 -261
  122. package/packages/theme-chalk/src/button-group.scss +176 -176
  123. package/packages/theme-chalk/src/button.scss +24 -24
  124. package/packages/theme-chalk/src/calendar.scss +113 -113
  125. package/packages/theme-chalk/src/card.scss +99 -99
  126. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  127. package/packages/theme-chalk/src/clients.scss +87 -87
  128. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  129. package/packages/theme-chalk/src/date-picker.scss +7 -7
  130. package/packages/theme-chalk/src/dialog.scss +77 -77
  131. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  132. package/packages/theme-chalk/src/enterprise.scss +5 -5
  133. package/packages/theme-chalk/src/error-page.scss +18 -18
  134. package/packages/theme-chalk/src/flow-group.scss +110 -110
  135. package/packages/theme-chalk/src/flow.scss +1 -1
  136. package/packages/theme-chalk/src/handle-user.scss +40 -40
  137. package/packages/theme-chalk/src/icons.scss +99 -99
  138. package/packages/theme-chalk/src/input.scss +9 -9
  139. package/packages/theme-chalk/src/label.scss +24 -24
  140. package/packages/theme-chalk/src/layout.scss +46 -46
  141. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  142. package/packages/theme-chalk/src/nav.scss +111 -111
  143. package/packages/theme-chalk/src/page.scss +3 -3
  144. package/packages/theme-chalk/src/pagination.scss +29 -29
  145. package/packages/theme-chalk/src/player.scss +9 -9
  146. package/packages/theme-chalk/src/qr-code.scss +17 -17
  147. package/packages/theme-chalk/src/radio-group.scss +9 -9
  148. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  149. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  150. package/packages/theme-chalk/src/select.scss +8 -8
  151. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  152. package/packages/theme-chalk/src/sizer.scss +36 -36
  153. package/packages/theme-chalk/src/steps.scss +88 -88
  154. package/packages/theme-chalk/src/switch.scss +3 -3
  155. package/packages/theme-chalk/src/table-form.scss +1 -1
  156. package/packages/theme-chalk/src/tabs.scss +87 -87
  157. package/packages/theme-chalk/src/tips.scss +7 -7
  158. package/packages/theme-chalk/src/toolbar.scss +179 -179
  159. package/packages/theme-chalk/src/tree-group.scss +72 -72
  160. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  161. package/packages/tips/index.js +5 -5
  162. package/packages/toolbar/index.js +5 -5
  163. package/packages/toolbar/src/main.vue +430 -430
  164. package/packages/tree/index.js +5 -5
  165. package/packages/tree-group/index.js +5 -5
  166. package/packages/upload/index.js +5 -5
  167. package/packages/upload/src/main.vue +1344 -1344
  168. package/packages/upload/src/picture.js +15 -15
  169. package/packages/wujie/index.js +5 -5
  170. package/packages/wxlogin/index.js +5 -5
  171. package/packages/wxlogin/src/main.vue +128 -128
  172. package/src/config/image.js +2 -2
  173. package/src/index.js +1 -1
  174. package/src/utils/bus.js +3 -3
  175. package/src/utils/date-util.js +312 -312
  176. package/src/utils/http.js +50 -50
  177. package/src/utils/store.js +21 -21
  178. package/src/utils/webSocket.js +107 -107
  179. package/packages/theme-chalk/lib/base.css +0 -1
  180. package/packages/theme-chalk/lib/button-group.css +0 -1
  181. package/packages/theme-chalk/lib/button.css +0 -1
  182. package/packages/theme-chalk/lib/calendar.css +0 -1
  183. package/packages/theme-chalk/lib/calogin.css +0 -0
  184. package/packages/theme-chalk/lib/card.css +0 -1
  185. package/packages/theme-chalk/lib/cascader.css +0 -0
  186. package/packages/theme-chalk/lib/checkbox-group.css +0 -1
  187. package/packages/theme-chalk/lib/clients.css +0 -1
  188. package/packages/theme-chalk/lib/data-table-form.css +0 -1
  189. package/packages/theme-chalk/lib/data-table.css +0 -1
  190. package/packages/theme-chalk/lib/date-picker.css +0 -1
  191. package/packages/theme-chalk/lib/dialog.css +0 -1
  192. package/packages/theme-chalk/lib/enable-drag.css +0 -1
  193. package/packages/theme-chalk/lib/enterprise.css +0 -1
  194. package/packages/theme-chalk/lib/error-page.css +0 -1
  195. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  196. package/packages/theme-chalk/lib/flow-group.css +0 -1
  197. package/packages/theme-chalk/lib/flow-list.css +0 -1
  198. package/packages/theme-chalk/lib/flow.css +0 -1
  199. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  200. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  201. package/packages/theme-chalk/lib/form.css +0 -1
  202. package/packages/theme-chalk/lib/handle-user.css +0 -1
  203. package/packages/theme-chalk/lib/handler.css +0 -1
  204. package/packages/theme-chalk/lib/icon.css +0 -1
  205. package/packages/theme-chalk/lib/icons.css +0 -1
  206. package/packages/theme-chalk/lib/index.css +0 -1
  207. package/packages/theme-chalk/lib/input-number.css +0 -0
  208. package/packages/theme-chalk/lib/input.css +0 -1
  209. package/packages/theme-chalk/lib/label.css +0 -1
  210. package/packages/theme-chalk/lib/layout.css +0 -1
  211. package/packages/theme-chalk/lib/login.css +0 -1
  212. package/packages/theme-chalk/lib/main.css +0 -1
  213. package/packages/theme-chalk/lib/menu.css +0 -1
  214. package/packages/theme-chalk/lib/nav.css +0 -1
  215. package/packages/theme-chalk/lib/notify.css +0 -0
  216. package/packages/theme-chalk/lib/page.css +0 -1
  217. package/packages/theme-chalk/lib/pagination.css +0 -1
  218. package/packages/theme-chalk/lib/player.css +0 -1
  219. package/packages/theme-chalk/lib/qr-code.css +0 -1
  220. package/packages/theme-chalk/lib/radio-group.css +0 -1
  221. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  222. package/packages/theme-chalk/lib/select-ganged.css +0 -1
  223. package/packages/theme-chalk/lib/select.css +0 -1
  224. package/packages/theme-chalk/lib/selector-panel.css +0 -1
  225. package/packages/theme-chalk/lib/selector.css +0 -1
  226. package/packages/theme-chalk/lib/simplicity-top.css +0 -1
  227. package/packages/theme-chalk/lib/simplicity.css +0 -1
  228. package/packages/theme-chalk/lib/sizer.css +0 -1
  229. package/packages/theme-chalk/lib/steps.css +0 -1
  230. package/packages/theme-chalk/lib/switch.css +0 -1
  231. package/packages/theme-chalk/lib/table-form.css +0 -0
  232. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  233. package/packages/theme-chalk/lib/tabs.css +0 -1
  234. package/packages/theme-chalk/lib/tips.css +0 -1
  235. package/packages/theme-chalk/lib/toolbar.css +0 -1
  236. package/packages/theme-chalk/lib/tree-group.css +0 -1
  237. package/packages/theme-chalk/lib/tree.css +0 -1
  238. package/packages/theme-chalk/lib/upload.css +0 -1
  239. package/packages/theme-chalk/lib/wujie.css +0 -0
  240. package/packages/theme-chalk/lib/wxlogin.css +0 -1
@@ -1,190 +1,190 @@
1
- <template>
2
- <div class="time-limit">
3
- <el-form-item prop="isLimitedTime" label="是否限时办理">
4
- <el-radio-group v-model="isLimitedTime">
5
- <el-radio label="1">是</el-radio>
6
- <el-radio label="2">否</el-radio>
7
- </el-radio-group>
8
- </el-form-item>
9
- <div v-show="isLimitedTime == '1'">
10
- <el-form-item prop="isLimitedTime" label="限时办理时间">
11
- <div style="display:flex;">
12
- <div style="width:48%">
13
- <es-input-number
14
- v-model="limitedTimeDay"
15
- type="number"
16
- style="width:80%;margin-right:10px"
17
- :controls="false"
18
- @change="changeInfo"
19
- placeholder="请输入限时天数"
20
- />天
21
- </div>
22
- <div style="width:45%">
23
- <es-select
24
- style="width:80% !important;margin-right:10px"
25
- v-model="limitedTimeHour"
26
- placeholder="请选择限时时长"
27
- :data="options"
28
- @change="changeInfo"
29
- />时
30
- </div>
31
- </div>
32
- </el-form-item>
33
- <el-form-item prop="isLimitedTime" label="提前通知时间">
34
- <div style="display:flex;">
35
- <div style="width:48%">
36
- <es-input-number
37
- v-model="advanceNoticeDay"
38
- type="number"
39
- style="width:80%;margin-right:10px"
40
- :controls="false"
41
- @change="changeInfo"
42
- placeholder="请输入提前通知天数"
43
- />天
44
- </div>
45
- <div style="width:45%">
46
- <es-select
47
- style="width:80% !important;margin-right:10px"
48
- v-model="advanceNoticeHour"
49
- @change="changeInfo"
50
- placeholder="请选择提前通知时长"
51
- :data="options"
52
- />时
53
- </div>
54
- </div> </el-form-item>
55
- <el-form-item prop="isLimitedTime" label="催办通知方式">
56
- <el-checkbox-group v-model="advanceNoticeType" @change="changeInfo">
57
- <el-checkbox
58
- v-for="item of $attrs.newsList"
59
- :key="item.cciValue"
60
- :label="item.cciValue"
61
- >
62
- {{ item.shortName }}
63
- </el-checkbox>
64
- </el-checkbox-group>
65
- </el-form-item>
66
- </div>
67
- </div>
68
- </template>
69
-
70
- <script>
71
- export default {
72
- name: 'TimeLimit',
73
- data() {
74
- return {
75
- isLimitedTime: '2', //是否限时办理
76
- limitedTimeDay: '',
77
- limitedTimeHour:'',
78
- advanceNoticeDay:'',
79
- advanceNoticeHour:'',
80
- advanceNoticeType: [], //催办通知方式
81
- options: [
82
- {
83
- value: '0',
84
- label: '0'
85
- },
86
- {
87
- value: '1',
88
- label: '1'
89
- },
90
- {
91
- value: '2',
92
- label: '2'
93
- },
94
- {
95
- value: '3',
96
- label: '3'
97
- },
98
- {
99
- value: '4',
100
- label: '4'
101
- },
102
- {
103
- value: '5',
104
- label: '5'
105
- },
106
- {
107
- value: '6',
108
- label: '6'
109
- },
110
- {
111
- value: '7',
112
- label: '7'
113
- },
114
- {
115
- value: '8',
116
- label: '8'
117
- },
118
- {
119
- value: '9',
120
- label: '9'
121
- },
122
- {
123
- value: '10',
124
- label: '10'
125
- },
126
- {
127
- value: '11',
128
- label: '11'
129
- },
130
- {
131
- value: '12',
132
- label: '12'
133
- },
134
- {
135
- value: '13',
136
- label: '13'
137
- },
138
- {
139
- value: '14',
140
- label: '14'
141
- },
142
- {
143
- value: '15',
144
- label: '15'
145
- },
146
- {
147
- value: '16',
148
- label: '16'
149
- },
150
- {
151
- value: '17',
152
- label: '17'
153
- },
154
- {
155
- value: '18',
156
- label: '18'
157
- },
158
- {
159
- value: '19',
160
- label: '19'
161
- },
162
- {
163
- value: '20',
164
- label: '20'
165
- },
166
- {
167
- value: '21',
168
- label: '21'
169
- },
170
- {
171
- value: '22',
172
- label: '22'
173
- },
174
- {
175
- value: '23',
176
- label: '23'
177
- }
178
- ]
179
- };
180
- },
181
- methods:{
182
- changeInfo(){
183
- const {isLimitedTime,limitedTimeDay,limitedTimeHour,advanceNoticeDay,advanceNoticeHour,advanceNoticeType} = this
184
- this.$emit('change',{isLimitedTime,limitedTimeDay,limitedTimeHour,advanceNoticeDay,advanceNoticeHour,advanceNoticeType:advanceNoticeType.join(',')})
185
- },
186
- }
187
- };
188
- </script>
189
-
190
- <style></style>
1
+ <template>
2
+ <div class="time-limit">
3
+ <el-form-item prop="isLimitedTime" label="是否限时办理">
4
+ <el-radio-group v-model="isLimitedTime">
5
+ <el-radio label="1">是</el-radio>
6
+ <el-radio label="2">否</el-radio>
7
+ </el-radio-group>
8
+ </el-form-item>
9
+ <div v-show="isLimitedTime == '1'">
10
+ <el-form-item prop="isLimitedTime" label="限时办理时间">
11
+ <div style="display:flex;">
12
+ <div style="width:48%">
13
+ <es-input-number
14
+ v-model="limitedTimeDay"
15
+ type="number"
16
+ style="width:80%;margin-right:10px"
17
+ :controls="false"
18
+ @change="changeInfo"
19
+ placeholder="请输入限时天数"
20
+ />天
21
+ </div>
22
+ <div style="width:45%">
23
+ <es-select
24
+ style="width:80% !important;margin-right:10px"
25
+ v-model="limitedTimeHour"
26
+ placeholder="请选择限时时长"
27
+ :data="options"
28
+ @change="changeInfo"
29
+ />时
30
+ </div>
31
+ </div>
32
+ </el-form-item>
33
+ <el-form-item prop="isLimitedTime" label="提前通知时间">
34
+ <div style="display:flex;">
35
+ <div style="width:48%">
36
+ <es-input-number
37
+ v-model="advanceNoticeDay"
38
+ type="number"
39
+ style="width:80%;margin-right:10px"
40
+ :controls="false"
41
+ @change="changeInfo"
42
+ placeholder="请输入提前通知天数"
43
+ />天
44
+ </div>
45
+ <div style="width:45%">
46
+ <es-select
47
+ style="width:80% !important;margin-right:10px"
48
+ v-model="advanceNoticeHour"
49
+ @change="changeInfo"
50
+ placeholder="请选择提前通知时长"
51
+ :data="options"
52
+ />时
53
+ </div>
54
+ </div> </el-form-item>
55
+ <el-form-item prop="isLimitedTime" label="催办通知方式">
56
+ <el-checkbox-group v-model="advanceNoticeType" @change="changeInfo">
57
+ <el-checkbox
58
+ v-for="item of $attrs.newsList"
59
+ :key="item.cciValue"
60
+ :label="item.cciValue"
61
+ >
62
+ {{ item.shortName }}
63
+ </el-checkbox>
64
+ </el-checkbox-group>
65
+ </el-form-item>
66
+ </div>
67
+ </div>
68
+ </template>
69
+
70
+ <script>
71
+ export default {
72
+ name: 'TimeLimit',
73
+ data() {
74
+ return {
75
+ isLimitedTime: '2', //是否限时办理
76
+ limitedTimeDay: '',
77
+ limitedTimeHour:'',
78
+ advanceNoticeDay:'',
79
+ advanceNoticeHour:'',
80
+ advanceNoticeType: [], //催办通知方式
81
+ options: [
82
+ {
83
+ value: '0',
84
+ label: '0'
85
+ },
86
+ {
87
+ value: '1',
88
+ label: '1'
89
+ },
90
+ {
91
+ value: '2',
92
+ label: '2'
93
+ },
94
+ {
95
+ value: '3',
96
+ label: '3'
97
+ },
98
+ {
99
+ value: '4',
100
+ label: '4'
101
+ },
102
+ {
103
+ value: '5',
104
+ label: '5'
105
+ },
106
+ {
107
+ value: '6',
108
+ label: '6'
109
+ },
110
+ {
111
+ value: '7',
112
+ label: '7'
113
+ },
114
+ {
115
+ value: '8',
116
+ label: '8'
117
+ },
118
+ {
119
+ value: '9',
120
+ label: '9'
121
+ },
122
+ {
123
+ value: '10',
124
+ label: '10'
125
+ },
126
+ {
127
+ value: '11',
128
+ label: '11'
129
+ },
130
+ {
131
+ value: '12',
132
+ label: '12'
133
+ },
134
+ {
135
+ value: '13',
136
+ label: '13'
137
+ },
138
+ {
139
+ value: '14',
140
+ label: '14'
141
+ },
142
+ {
143
+ value: '15',
144
+ label: '15'
145
+ },
146
+ {
147
+ value: '16',
148
+ label: '16'
149
+ },
150
+ {
151
+ value: '17',
152
+ label: '17'
153
+ },
154
+ {
155
+ value: '18',
156
+ label: '18'
157
+ },
158
+ {
159
+ value: '19',
160
+ label: '19'
161
+ },
162
+ {
163
+ value: '20',
164
+ label: '20'
165
+ },
166
+ {
167
+ value: '21',
168
+ label: '21'
169
+ },
170
+ {
171
+ value: '22',
172
+ label: '22'
173
+ },
174
+ {
175
+ value: '23',
176
+ label: '23'
177
+ }
178
+ ]
179
+ };
180
+ },
181
+ methods:{
182
+ changeInfo(){
183
+ const {isLimitedTime,limitedTimeDay,limitedTimeHour,advanceNoticeDay,advanceNoticeHour,advanceNoticeType} = this
184
+ this.$emit('change',{isLimitedTime,limitedTimeDay,limitedTimeHour,advanceNoticeDay,advanceNoticeHour,advanceNoticeType:advanceNoticeType.join(',')})
185
+ },
186
+ }
187
+ };
188
+ </script>
189
+
190
+ <style></style>
@@ -126,7 +126,7 @@
126
126
  <el-form-item
127
127
  prop="noticeType"
128
128
  label="通知方式"
129
- v-show="infoList.noticeList.length != 0"
129
+ v-show="infoList.noticeList.length != 0 && !hideMessage"
130
130
  >
131
131
  <el-checkbox-group
132
132
  v-model="infoList.noticeType"
@@ -213,7 +213,8 @@ export default {
213
213
  default: () => {
214
214
  return {};
215
215
  }
216
- }
216
+ },
217
+ hideMessage: { type: Boolean, default: false },
217
218
  },
218
219
  inheritAttrs: false,
219
220
  data() {
@@ -733,6 +734,7 @@ export default {
733
734
  .then((res) => {
734
735
  const { status, message } = res;
735
736
  if (status === 'success') {
737
+ if(this.hideMessage) return;
736
738
  this.infoList.noticeType = message.split(',');
737
739
  let arr = [];
738
740
  this.infoList.noticeList.map((item) => {
@@ -7,6 +7,8 @@
7
7
  <Reset
8
8
  :type="newTypeCode"
9
9
  :appId="resetAppId"
10
+ :hideMessage="hideMessage"
11
+ :flowLabelConfig="flowLabelConfig"
10
12
  :flowParams="param"
11
13
  v-if="newTypeCode == 'reset' || newTypeCode == 'continuation'"
12
14
  />
@@ -252,7 +254,11 @@
252
254
  <el-form-item
253
255
  v-if="isNextUser"
254
256
  :prop="isShowNextUser ? 'nextUserId' : 'nextOrgId'"
255
- :label="isShowNextUser ? '下步办理人' : '办理对象'"
257
+ :label="
258
+ isShowNextUser
259
+ ? `${flowLabelConfig.nextUser || '下步办理人'}`
260
+ : '办理对象'
261
+ "
256
262
  >
257
263
  <SelectUser
258
264
  :nextUser="
@@ -294,7 +300,11 @@
294
300
  :disableds="currentOrgDisabledObjId"
295
301
  @change="disposeAppUnit($event, 'nextCurrentOrgObjSelect')"
296
302
  :types="['department', 'employee']"
297
- :params="{ filid: userModel.orgId,roleid:selectorParams.roleid,only_filid:true }"
303
+ :params="{
304
+ filid: userModel.orgId,
305
+ roleid: selectorParams.roleid,
306
+ only_filid: true
307
+ }"
298
308
  />
299
309
  </el-form-item>
300
310
  <el-form-item
@@ -306,13 +316,12 @@
306
316
  :nextUser="nextOtherOrgObjSelect"
307
317
  multiple
308
318
  mix
309
- :where="{ filid: 'all',roleid:selectorParams.roleid }"
319
+ :where="{ filid: 'all', roleid: selectorParams.roleid }"
310
320
  :showTooltip="showTooltip"
311
321
  :disableds="otherOrgDisabledObjId"
312
322
  @change="disposeAppUnit($event, 'nextOtherOrgObjSelect')"
313
323
  :types="['enterprise']"
314
324
  :params="otherParams"
315
-
316
325
  />
317
326
  </el-form-item>
318
327
  <el-form-item
@@ -425,7 +434,10 @@
425
434
  :presetTaskNodeKeyStr="presetTaskNodeKeyStr"
426
435
  />
427
436
  </el-form>
428
- <div v-if="!isFlow && isSpecial" style="padding: 5px; background: #fff">
437
+ <div
438
+ v-if="!isFlow && isSpecial && !hideMessage"
439
+ style="padding: 5px; background: #fff"
440
+ >
429
441
  <div class="news" @click="showNews = !showNews">
430
442
  <span class="news-item">消息通知</span>
431
443
  <span :class="showNews ? 'show' : 'sj'"></span>
@@ -626,6 +638,8 @@
626
638
  :copy-history="pendedHistoryHandle"
627
639
  :process-definition-id="nodeInfo.nextNode"
628
640
  :opinion="value"
641
+ :hideMessage="hideMessage"
642
+ :flowLabelConfig="flowLabelConfig"
629
643
  :taskParams="taskParams"
630
644
  @cancel="closeProcess($event, 'handleVisible', closeParent)"
631
645
  />
@@ -657,6 +671,8 @@
657
671
  <ProcessReject
658
672
  :pending-id="pendingId"
659
673
  :option="value"
674
+ :hideMessage="hideMessage"
675
+ :flowLabelConfig="flowLabelConfig"
660
676
  :show-reject="showReject"
661
677
  :news-info="nextNode.notificationMsg"
662
678
  @cancel="closeProcess(true, 'showReject')"
@@ -676,6 +692,8 @@
676
692
  :pending-id="pendingId"
677
693
  :opinion="value"
678
694
  :type="taskReadType"
695
+ :hideMessage="hideMessage"
696
+ :flowLabelConfig="flowLabelConfig"
679
697
  :taskExamine="taskExamineInfo"
680
698
  :news-info="nextNode.notificationMsg"
681
699
  @cancel="closeProcess($event, 'showTaskRead')"
@@ -708,6 +726,8 @@
708
726
  <SendMsg
709
727
  @cancel="closeProcess($event, 'showSendMsg')"
710
728
  :pendingId="pendingId"
729
+ :hideMessage="hideMessage"
730
+ :flowLabelConfig="flowLabelConfig"
711
731
  :newsList="newsList"
712
732
  />
713
733
  </es-dialog>
@@ -724,6 +744,8 @@
724
744
  <TaskUnionExamine
725
745
  @cancel="closeProcess($event, 'showTaskUnionExamine')"
726
746
  :pendingId="pendingId"
747
+ :hideMessage="hideMessage"
748
+ :flowLabelConfig="flowLabelConfig"
727
749
  :defaultOpinion="nodeDefaultSubmitOpinion"
728
750
  :type="flowType"
729
751
  :multiple="flowMultiple"
@@ -743,6 +765,8 @@
743
765
  <es-flow
744
766
  v-if="showFreeStartFlow"
745
767
  isStartFlow
768
+ :hideMessage="hideMessage"
769
+ :flowLabelConfig="flowLabelConfig"
746
770
  :businessId="freeStartFlowParams.businessId"
747
771
  :flowTypeCode="freeStartFlowParams.flowTypeCode"
748
772
  :defaultProcessKey="freeStartFlowParams.defaultProcessKey"
@@ -842,11 +866,23 @@ export default {
842
866
  userSelectRange: {
843
867
  type: String
844
868
  },
845
- selectorParams: { type: Object, default: () => {return {}} },
869
+ selectorParams: {
870
+ type: Object,
871
+ default: () => {
872
+ return {};
873
+ }
874
+ },
846
875
  defaultProcessShowStrategy: { type: String, default: '' },
847
876
  taskParams: {
848
877
  type: Object,
849
878
  default: () => {}
879
+ },
880
+ isEndMessage: { type: Boolean, default: false },
881
+ flowLabelConfig: {
882
+ type: Object,
883
+ default: () => {
884
+ return {};
885
+ }
850
886
  }
851
887
  },
852
888
  data() {
@@ -865,7 +901,11 @@ export default {
865
901
  nextOtherOrgObjSelect: [],
866
902
  subProcessColumns: [],
867
903
  nextCurrentOrgObjSelect: [],
868
- otherParams:{ filid: 'all',roleid:'', nofilid:sessionStorage.getItem('orgId') },
904
+ otherParams: {
905
+ filid: 'all',
906
+ roleid: '',
907
+ nofilid: sessionStorage.getItem('orgId')
908
+ },
869
909
  loading: null, // 加载中
870
910
  newTypeCode: '',
871
911
  NodeName: '', // 当前节点值
@@ -1022,7 +1062,7 @@ export default {
1022
1062
  this.shrink = false;
1023
1063
  },
1024
1064
  mounted() {
1025
- this.businessIds = this.startFlowBusinessId
1065
+ this.businessIds = this.startFlowBusinessId;
1026
1066
  this.nextNode.nextNodeId = this.nextNodeId;
1027
1067
  this.otherParams.roleid = this.selectorParams.roleid;
1028
1068
  this.getNodeType();
@@ -1359,7 +1399,7 @@ export default {
1359
1399
  params: {
1360
1400
  ccCode: 'notification_type',
1361
1401
  userId: util.getStorage('userId'),
1362
- pendingId:this.pendingId
1402
+ pendingId: this.pendingId
1363
1403
  }
1364
1404
  })
1365
1405
  .then((res) => {
@@ -1515,6 +1555,7 @@ export default {
1515
1555
  .then((res) => {
1516
1556
  const { status, message } = res;
1517
1557
  if (status === 'success') {
1558
+ if (this.hideMessage) return;
1518
1559
  this.nextNode.notificationType = message.split(',');
1519
1560
  let arr = [];
1520
1561
  this.newsList.map((item) => {
@@ -2451,9 +2492,9 @@ export default {
2451
2492
  } else {
2452
2493
  this[type] = false;
2453
2494
  }
2454
- if(this.useScene != 'multiInsMidwayWithSubmitScene'){
2495
+ if (this.useScene != 'multiInsMidwayWithSubmitScene') {
2455
2496
  this.$emit('close');
2456
- return
2497
+ return;
2457
2498
  }
2458
2499
  if (
2459
2500
  val == 'taskReadAndEnd' ||
@@ -2622,7 +2663,9 @@ export default {
2622
2663
  this.nextNode.nextUserId == '' ||
2623
2664
  (this.multiple && this.nextNode.nextUserId.length == 0)
2624
2665
  ) {
2625
- this.$message.warning('请选择下步办理人');
2666
+ this.$message.warning(
2667
+ `请选择${this.flowLabelConfig.nextUser || '下步办理人'}`
2668
+ );
2626
2669
  return false;
2627
2670
  }
2628
2671
  } else {