eoss-ui 0.6.63 → 0.6.65
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/button-group.js +41 -30
- package/lib/button.js +40 -29
- package/lib/calendar.js +2 -2
- package/lib/calogin.js +5279 -0
- package/lib/card.js +2 -2
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +45 -34
- package/lib/clients.js +2 -2
- package/lib/config/api.js +15 -15
- package/lib/data-table-form.js +43 -33
- package/lib/data-table.js +42 -32
- package/lib/date-picker.js +40 -29
- package/lib/dialog.js +44 -33
- package/lib/enable-drag.js +2 -2
- package/lib/enterprise.js +2 -2
- package/lib/eoss-ui.common.js +1691 -257
- package/lib/error-page.js +2 -2
- package/lib/flow-group.js +262 -233
- package/lib/flow-list.js +146 -103
- package/lib/flow.js +311 -76
- package/lib/form.js +59 -44
- package/lib/handle-user.js +44 -33
- package/lib/handler.js +47 -36
- package/lib/icon.js +40 -29
- package/lib/icons.js +4 -4
- package/lib/index.js +1 -1
- package/lib/input-number.js +40 -29
- package/lib/input.js +44 -33
- package/lib/label.js +2 -2
- package/lib/layout.js +4 -4
- package/lib/login.js +239 -95
- package/lib/main.js +79 -58
- package/lib/menu.js +4 -4
- package/lib/nav.js +42 -31
- package/lib/notify.js +17 -17
- package/lib/page.js +40 -29
- package/lib/pagination.js +40 -29
- package/lib/player.js +50 -39
- package/lib/qr-code.js +42 -31
- package/lib/radio-group.js +51 -40
- package/lib/retrial-auth.js +47 -36
- package/lib/select-ganged.js +185 -174
- package/lib/select.js +187 -176
- package/lib/selector-panel.js +45 -35
- package/lib/selector.js +42 -31
- package/lib/sizer.js +40 -29
- package/lib/steps.js +42 -31
- package/lib/switch.js +40 -29
- package/lib/table-form.js +49 -38
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +40 -29
- package/lib/theme-chalk/calogin.css +0 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/tips.js +42 -31
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +40 -29
- package/lib/tree.js +42 -31
- package/lib/upload.js +48 -37
- package/lib/utils/util.js +4 -1
- package/lib/wujie.js +47 -36
- package/lib/wxlogin.js +40 -29
- package/package.json +2 -1
- package/packages/calogin/index.js +5 -0
- package/packages/calogin/src/main.vue +131 -0
- package/packages/calogin/src/plugin.js +748 -0
- package/packages/flow/src/component/Circulate.vue +11 -1
- package/packages/flow/src/main.vue +103 -19
- package/packages/flow-list/src/main.vue +37 -7
- package/packages/form/src/main.vue +3 -5
- package/packages/login/src/main.vue +89 -43
- package/packages/main/src/simplicity/avatar.vue +1 -0
- package/packages/main/src/simplicity/index.vue +3 -1
- package/packages/theme-chalk/lib/calogin.css +0 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/src/calogin.scss +0 -0
- package/packages/theme-chalk/src/index.scss +1 -0
- package/packages/theme-chalk/src/login.scss +13 -1
- package/packages/theme-chalk/src/simplicity.scss +7 -3
- package/src/config/api.js +15 -15
- package/src/index.js +4 -1
- package/src/utils/util.js +3 -1
package/src/config/api.js
CHANGED
|
@@ -159,15 +159,15 @@ export const toStartTaskRead = '/bpm/bpmBackend/toStartTaskRead';
|
|
|
159
159
|
// 获取分阅办理页面
|
|
160
160
|
export const toStartTaskReadIndex = '/bpm/bpmBackend/toTaskReadIndex';
|
|
161
161
|
// 分阅提交
|
|
162
|
-
export const taskReadHtml = '
|
|
162
|
+
export const taskReadHtml = flowPendingPrefix + '/task/taskHandle/taskRead.dhtml';
|
|
163
163
|
// 驳回并办结
|
|
164
|
-
export const rejectAndEnd = '/
|
|
164
|
+
export const rejectAndEnd = flowPendingPrefix + '/task/taskHandle/rejectAndEnd.dhtml';
|
|
165
165
|
// 核稿通知
|
|
166
166
|
export const toSendMsg = '/bpm/bpmBackend/toSendMsgIndex';
|
|
167
167
|
// 核稿通知提交
|
|
168
|
-
export const sendMsg = '
|
|
168
|
+
export const sendMsg = flowPendingPrefix + '/task/taskHandle/sendMsg.dhtml';
|
|
169
169
|
// 直接办结
|
|
170
|
-
export const endFlowHtml = '/
|
|
170
|
+
export const endFlowHtml = flowPendingPrefix + '/task/taskHandle/endFlow.dhtml';
|
|
171
171
|
// 获取用户信息
|
|
172
172
|
// export const findUserBaseInfos = '/api/v1/mecpSys/findUserBaseInfo.dhtml';
|
|
173
173
|
// 搜索用户信息
|
|
@@ -189,11 +189,11 @@ export const getPresetNodeInfo =
|
|
|
189
189
|
// 获取转办页面数据
|
|
190
190
|
export const toTaskTransferIndex = '/bpm/bpmBackend/toTaskTransferIndex';
|
|
191
191
|
// 转办提交按钮
|
|
192
|
-
export const taskTransfer = '/
|
|
192
|
+
export const taskTransfer = flowPendingPrefix + '/task/taskHandle/taskTransfer.dhtml';
|
|
193
193
|
// 流程预设列表
|
|
194
194
|
export const toPresetInfoListIndex = '/bpm/bpmBackend/toPresetInfoListIndex';
|
|
195
195
|
// 流程预设置为失效
|
|
196
|
-
export const deletePresetInfo = '/
|
|
196
|
+
export const deletePresetInfo = flowPendingPrefix + '/task/taskHandle/deletePresetInfo.dhtml';
|
|
197
197
|
// 流程列表
|
|
198
198
|
export const historyListJson =
|
|
199
199
|
flowPendingPrefix + '/pendedhistoryManager/historyListJson.dhtml';
|
|
@@ -206,15 +206,15 @@ export const pressListJson = flowPendingPrefix + '/wfUrgeRecord/listJson.dhtml';
|
|
|
206
206
|
export const deleteFlow =
|
|
207
207
|
flowPendingPrefix + '/pendedhistoryManager/delete.dhtml';
|
|
208
208
|
// 是否允许启动子流程(必经节点)
|
|
209
|
-
export const isCanStartSubFlow = '/
|
|
209
|
+
export const isCanStartSubFlow = flowPendingPrefix + '/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
210
210
|
// 联合审核
|
|
211
211
|
export const toTaskUnionExamine = '/bpm/bpmBackend/toTaskUnionExamine';
|
|
212
212
|
// 联合审核提交
|
|
213
|
-
export const taskUnionExamine = '/
|
|
213
|
+
export const taskUnionExamine = flowPendingPrefix + '/task/taskHandle/taskUnionExamine.dhtml';
|
|
214
214
|
// 征求意见
|
|
215
215
|
export const toTaskTakeAdvice = '/bpm/bpmBackend/toTaskTakeAdvice';
|
|
216
216
|
// 征求意见提交
|
|
217
|
-
export const taskTakeAdvice = '/
|
|
217
|
+
export const taskTakeAdvice = flowPendingPrefix + '/task/taskHandle/taskTakeAdvice.dhtml';
|
|
218
218
|
// 稿件递送
|
|
219
219
|
export const toTaskStartDraft = '/bpm/bpmBackend/totaskStartDraft';
|
|
220
220
|
// 获取督办页面信息
|
|
@@ -223,7 +223,7 @@ export const toTaskSupervise = '/bpm/bpmBackend/toTaskSupervise';
|
|
|
223
223
|
export const toTaskSuperviseSub = '/bpm/bpmBackend/taskSupervise';
|
|
224
224
|
// 稿件递送提交接口
|
|
225
225
|
// export const taskStartDraft = flowPendingPrefix + '/task/taskHandle/taskStartDraft.dhtml';
|
|
226
|
-
export const taskStartDraft = '/
|
|
226
|
+
export const taskStartDraft = flowPendingPrefix + '/task/taskHandle/taskStartDraft.dhtml';
|
|
227
227
|
// 复核
|
|
228
228
|
export const toTaskReview = '/bpm/bpmBackend/toTaskReview';
|
|
229
229
|
// 复核提交
|
|
@@ -232,21 +232,21 @@ export const taskReview =
|
|
|
232
232
|
// 联合用印
|
|
233
233
|
export const toTaskUnionSeal = '/bpm/bpmBackend/toTaskUnionSeal';
|
|
234
234
|
// 联合用印提交
|
|
235
|
-
export const taskUnionSeal = '/
|
|
235
|
+
export const taskUnionSeal = flowPendingPrefix + '/task/taskHandle/taskUnionSeal.dhtml';
|
|
236
236
|
// 报送两办
|
|
237
237
|
export const toTwoOfficesDispatch = '/bpm/bpmBackend/toTwoOfficesDispatch';
|
|
238
238
|
// 报送两办提交
|
|
239
239
|
export const twoOfficesDispatch =
|
|
240
|
-
'/
|
|
240
|
+
flowPendingPrefix + '/task/taskHandle/twoOfficesDispatch.dhtml';
|
|
241
241
|
// 重设流程
|
|
242
242
|
export const toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
|
|
243
243
|
// 提交重设流程
|
|
244
|
-
export const resetProcess = '/
|
|
244
|
+
export const resetProcess = flowPendingPrefix + '/task/taskHandle/resetProcess.dhtml';
|
|
245
245
|
// 续办流程
|
|
246
246
|
export const toTaskContinuationIndex =
|
|
247
247
|
'/bpm/bpmBackend/toTaskContinuationIndex';
|
|
248
248
|
// 续办提交
|
|
249
|
-
export const taskContinuation = '/
|
|
249
|
+
export const taskContinuation = flowPendingPrefix + '/task/taskHandle/taskContinuation.dhtml';
|
|
250
250
|
// 自由发起流程获取配置参数
|
|
251
251
|
export const getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
|
|
252
252
|
// 自由发起流程提交
|
|
@@ -287,4 +287,4 @@ export const formContents =
|
|
|
287
287
|
export const directStartTaskCircularRead =
|
|
288
288
|
'/bpm/bpmBackend/directStartTaskCircularRead';
|
|
289
289
|
export const getNodeInfoForStart =
|
|
290
|
-
'/
|
|
290
|
+
flowPendingPrefix + '/task/taskHandle/getNodeInfoForStart.dhtml';
|
package/src/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import Button from '../packages/button/index.js';
|
|
4
4
|
import ButtonGroup from '../packages/button-group/index.js';
|
|
5
5
|
import Calendar from '../packages/calendar/index.js';
|
|
6
|
+
import Calogin from '../packages/calogin/index.js';
|
|
6
7
|
import Card from '../packages/card/index.js';
|
|
7
8
|
import Cascader from '../packages/cascader/index.js';
|
|
8
9
|
import CheckboxGroup from '../packages/checkbox-group/index.js';
|
|
@@ -59,6 +60,7 @@ const components = [
|
|
|
59
60
|
Button,
|
|
60
61
|
ButtonGroup,
|
|
61
62
|
Calendar,
|
|
63
|
+
Calogin,
|
|
62
64
|
Card,
|
|
63
65
|
Cascader,
|
|
64
66
|
CheckboxGroup,
|
|
@@ -123,11 +125,12 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
export default {
|
|
126
|
-
version: '0.6.
|
|
128
|
+
version: '0.6.65',
|
|
127
129
|
install,
|
|
128
130
|
Button,
|
|
129
131
|
ButtonGroup,
|
|
130
132
|
Calendar,
|
|
133
|
+
Calogin,
|
|
131
134
|
Card,
|
|
132
135
|
Cascader,
|
|
133
136
|
CheckboxGroup,
|
package/src/utils/util.js
CHANGED
|
@@ -13,9 +13,10 @@ import axios from 'axios';
|
|
|
13
13
|
import qs from 'qs';
|
|
14
14
|
import JSONbig from 'json-bigint';
|
|
15
15
|
import WebSocket from './webSocket';
|
|
16
|
+
import { UAParser } from 'ua-parser-js';
|
|
16
17
|
|
|
17
18
|
const win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
18
|
-
|
|
19
|
+
const parser = new UAParser();
|
|
19
20
|
const $hueStep = 2;
|
|
20
21
|
const $saturationStep1 = 0.16;
|
|
21
22
|
const $saturationStep2 = 0.05;
|
|
@@ -3571,6 +3572,7 @@ export default {
|
|
|
3571
3572
|
trimWhitespace,
|
|
3572
3573
|
toFixed,
|
|
3573
3574
|
toFunction,
|
|
3575
|
+
parser,
|
|
3574
3576
|
updateTheme,
|
|
3575
3577
|
upperCase,
|
|
3576
3578
|
urlJoinParams,
|