eoss-mobiles 0.3.98 → 0.3.99
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/eoss-mobile.common.js +263 -123
- package/lib/flow.js +223 -83
- package/lib/index.js +1 -1
- package/lib/picker.js +6 -6
- package/lib/radio.js +5 -5
- package/lib/selector.js +28 -28
- package/lib/theme-chalk/fonts/iconfont.scss +98 -98
- package/lib/theme-chalk/fonts/iconfont1.scss +90 -90
- package/package.json +1 -1
- package/packages/action-sheet/index.js +5 -5
- package/packages/action-sheet/src/main.vue +32 -32
- package/packages/button/index.js +5 -5
- package/packages/button/src/main.vue +15 -15
- package/packages/button-group/index.js +5 -5
- package/packages/button-group/src/main.vue +80 -80
- package/packages/calendar/index.js +5 -5
- package/packages/calendar/src/main.vue +34 -34
- package/packages/cascader/index.js +5 -5
- package/packages/cascader/src/main.vue +39 -39
- package/packages/cell/index.js +5 -5
- package/packages/cell/src/main.vue +77 -77
- package/packages/checkbox/index.js +5 -5
- package/packages/checkbox/src/main.vue +232 -232
- package/packages/circle/index.js +5 -5
- package/packages/circle/src/main.vue +27 -27
- package/packages/count-down/index.js +5 -5
- package/packages/count-down/src/main.vue +27 -27
- package/packages/date/index.js +5 -5
- package/packages/date/src/date-time.vue +290 -290
- package/packages/date/src/main.vue +401 -401
- package/packages/empty/index.js +5 -5
- package/packages/empty/src/main.vue +16 -16
- package/packages/esign/index.js +5 -5
- package/packages/esign/src/main.vue +144 -144
- package/packages/field/index.js +5 -5
- package/packages/flow/index.js +5 -5
- package/packages/flow/src/components/Circulate.vue +595 -595
- package/packages/flow/src/components/Handle.vue +2404 -2404
- package/packages/flow/src/components/Message.vue +208 -208
- package/packages/flow/src/components/ProcessSettings.vue +342 -342
- package/packages/flow/src/components/TaskRead.vue +100 -4
- package/packages/flow/src/components/supervise.vue +139 -139
- package/packages/flow/src/flowMix.js +288 -288
- package/packages/flow/src/main.vue +116 -116
- package/packages/flow-btn/index.js +5 -5
- package/packages/flow-btn/src/main.vue +494 -494
- package/packages/flow-list/index.js +5 -5
- package/packages/flow-list/src/main.vue +248 -248
- package/packages/form/index.js +5 -5
- package/packages/grid/index.js +5 -5
- package/packages/grid/src/main.vue +486 -486
- package/packages/grid-item/index.js +5 -5
- package/packages/grid-item/src/main.vue +16 -16
- package/packages/image/index.js +5 -5
- package/packages/image/src/main.vue +12 -12
- package/packages/image-preview/index.js +5 -5
- package/packages/list/index.js +5 -5
- package/packages/list/src/main.vue +32 -32
- package/packages/loading/index.js +5 -5
- package/packages/loading/src/main.vue +19 -19
- package/packages/nav-bar/index.js +5 -5
- package/packages/nav-bar/src/main.vue +24 -24
- package/packages/notice-bar/index.js +5 -5
- package/packages/notice-bar/src/main.vue +15 -15
- package/packages/pagination/index.js +5 -5
- package/packages/pagination/src/main.vue +73 -73
- package/packages/picker/index.js +5 -5
- package/packages/picker/src/main.vue +604 -604
- package/packages/popover/index.js +5 -5
- package/packages/popover/src/main.vue +32 -32
- package/packages/popup/index.js +5 -5
- package/packages/popup/src/main.vue +27 -27
- package/packages/pull-refresh/index.js +5 -5
- package/packages/pull-refresh/src/main.vue +31 -31
- package/packages/radio/index.js +5 -5
- package/packages/radio/src/main.vue +179 -179
- package/packages/rate/index.js +5 -5
- package/packages/rate/src/main.vue +26 -26
- package/packages/retrial-auth/index.js +5 -5
- package/packages/retrial-auth/src/main.vue +257 -257
- package/packages/search/index.js +5 -5
- package/packages/search/src/main.vue +39 -39
- package/packages/selector/index.js +5 -5
- package/packages/selector/src/main.vue +186 -186
- package/packages/selector/src/selector-tree.vue +1117 -1117
- package/packages/selector/src/tree.vue +405 -405
- package/packages/skeleton/index.js +5 -5
- package/packages/skeleton/src/main.vue +17 -17
- package/packages/stepper/index.js +5 -5
- package/packages/stepper/src/main.vue +25 -25
- package/packages/swipe/index.js +5 -5
- package/packages/swipe/src/main.vue +42 -42
- package/packages/switch/index.js +5 -5
- package/packages/switch/src/main.vue +38 -38
- package/packages/tab/index.js +5 -5
- package/packages/tab/src/main.vue +16 -16
- package/packages/table/index.js +5 -5
- package/packages/table/src/main.vue +1006 -1006
- package/packages/table-column/index.js +5 -5
- package/packages/table-column/src/main.vue +931 -931
- package/packages/table-column/src/mixins/table.js +12 -12
- package/packages/tabs/index.js +5 -5
- package/packages/tabs/src/main.vue +34 -34
- package/packages/tag/index.js +5 -5
- package/packages/tag/src/main.vue +16 -16
- package/packages/theme-chalk/gulpfile.js +25 -0
- package/packages/theme-chalk/src/base.scss +195 -195
- package/packages/theme-chalk/src/button-group.scss +25 -25
- package/packages/theme-chalk/src/button.scss +2 -2
- package/packages/theme-chalk/src/calendar.scss +11 -11
- package/packages/theme-chalk/src/cascader.scss +11 -11
- package/packages/theme-chalk/src/cell.scss +14 -14
- package/packages/theme-chalk/src/checkbox.scss +9 -9
- package/packages/theme-chalk/src/circle.scss +6 -6
- package/packages/theme-chalk/src/common/var.scss +1525 -1525
- package/packages/theme-chalk/src/esign.scss +51 -51
- package/packages/theme-chalk/src/field.scss +98 -98
- package/packages/theme-chalk/src/flow-btn.scss +99 -99
- package/packages/theme-chalk/src/flow-list.scss +122 -122
- package/packages/theme-chalk/src/fonts/iconfont.scss +98 -98
- package/packages/theme-chalk/src/fonts/iconfont1.scss +90 -90
- package/packages/theme-chalk/src/form.scss +33 -33
- package/packages/theme-chalk/src/grid-item.scss +16 -16
- package/packages/theme-chalk/src/grid.scss +46 -46
- package/packages/theme-chalk/src/icon.scss +1661 -1661
- package/packages/theme-chalk/src/mixins/color.scss +117 -117
- package/packages/theme-chalk/src/navbar.scss +5 -5
- package/packages/theme-chalk/src/pagination.scss +12 -12
- package/packages/theme-chalk/src/picker.scss +31 -31
- package/packages/theme-chalk/src/radio.scss +6 -6
- package/packages/theme-chalk/src/retrial-auth.scss +28 -28
- package/packages/theme-chalk/src/selector.scss +247 -247
- package/packages/theme-chalk/src/stepper.scss +9 -9
- package/packages/theme-chalk/src/switch.scss +5 -5
- package/packages/theme-chalk/src/table.scss +86 -86
- package/packages/theme-chalk/src/tabs.scss +31 -31
- package/packages/theme-chalk/src/tag.scss +12 -12
- package/packages/theme-chalk/src/theme.scss +1 -1
- package/packages/theme-chalk/src/tree.scss +127 -127
- package/packages/uploader/index.js +5 -5
- package/src/config/api.js +190 -190
- package/src/index.js +1 -1
- package/src/utils/axios.js +217 -217
- package/src/utils/date-util.js +312 -312
- package/src/utils/http.js +106 -106
- package/src/utils/rules.js +18 -18
- package/src/utils/store.js +21 -21
- package/CHANGELOG.md +0 -95
- package/packages/theme-chalk/lib/action-sheet.css +0 -0
- package/packages/theme-chalk/lib/base.css +0 -1
- package/packages/theme-chalk/lib/button-group.css +0 -1
- package/packages/theme-chalk/lib/button.css +0 -1
- package/packages/theme-chalk/lib/calendar.css +0 -1
- package/packages/theme-chalk/lib/cascader.css +0 -1
- package/packages/theme-chalk/lib/cell.css +0 -1
- package/packages/theme-chalk/lib/checkbox.css +0 -1
- package/packages/theme-chalk/lib/circle.css +0 -1
- package/packages/theme-chalk/lib/count-down.css +0 -0
- package/packages/theme-chalk/lib/date.css +0 -0
- package/packages/theme-chalk/lib/empty.css +0 -0
- package/packages/theme-chalk/lib/esign.css +0 -1
- package/packages/theme-chalk/lib/field.css +0 -1
- package/packages/theme-chalk/lib/flow-btn.css +0 -1
- package/packages/theme-chalk/lib/flow-list-task-read.css +0 -1
- package/packages/theme-chalk/lib/flow-list.css +0 -1
- package/packages/theme-chalk/lib/flow.css +0 -1
- package/packages/theme-chalk/lib/fonts/iconfont.scss +0 -98
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont1.scss +0 -90
- package/packages/theme-chalk/lib/form.css +0 -1
- package/packages/theme-chalk/lib/grid-item.css +0 -1
- package/packages/theme-chalk/lib/grid.css +0 -1
- package/packages/theme-chalk/lib/icon.css +0 -1
- package/packages/theme-chalk/lib/image-preview.css +0 -0
- package/packages/theme-chalk/lib/image.css +0 -0
- package/packages/theme-chalk/lib/index.css +0 -1
- package/packages/theme-chalk/lib/list.css +0 -0
- package/packages/theme-chalk/lib/loading.css +0 -0
- package/packages/theme-chalk/lib/nav-bar.css +0 -0
- package/packages/theme-chalk/lib/navbar.css +0 -1
- package/packages/theme-chalk/lib/notice-bar.css +0 -0
- package/packages/theme-chalk/lib/pagination.css +0 -1
- package/packages/theme-chalk/lib/picker.css +0 -1
- package/packages/theme-chalk/lib/popover.css +0 -0
- package/packages/theme-chalk/lib/popup.css +0 -0
- package/packages/theme-chalk/lib/pull-refresh.css +0 -0
- package/packages/theme-chalk/lib/radio.css +0 -1
- package/packages/theme-chalk/lib/rate.css +0 -0
- package/packages/theme-chalk/lib/retrial-auth.css +0 -1
- package/packages/theme-chalk/lib/search.css +0 -0
- package/packages/theme-chalk/lib/selector.css +0 -1
- package/packages/theme-chalk/lib/skeleton.css +0 -0
- package/packages/theme-chalk/lib/stepper.css +0 -1
- package/packages/theme-chalk/lib/swipe.css +0 -0
- package/packages/theme-chalk/lib/switch.css +0 -1
- package/packages/theme-chalk/lib/tab.css +0 -0
- package/packages/theme-chalk/lib/table-column.css +0 -0
- package/packages/theme-chalk/lib/table.css +0 -1
- package/packages/theme-chalk/lib/tabs.css +0 -1
- package/packages/theme-chalk/lib/tag.css +0 -1
- package/packages/theme-chalk/lib/theme.css +0 -0
- package/packages/theme-chalk/lib/tree.css +0 -1
- package/packages/theme-chalk/lib/uploader.css +0 -0
package/src/config/api.js
CHANGED
|
@@ -1,190 +1,190 @@
|
|
|
1
|
-
import $ from '../utils/util';
|
|
2
|
-
var activiti = '/bpm';
|
|
3
|
-
var pending = '/bpm';
|
|
4
|
-
var mecp = $.getStorage('flowPath') || '';
|
|
5
|
-
const flowPendingPrefix =
|
|
6
|
-
window.flowPendingPrefix ||
|
|
7
|
-
localStorage.getItem('flowPendingPrefix') ||
|
|
8
|
-
'/bpm';
|
|
9
|
-
const bpmMecpVersion =
|
|
10
|
-
window.bpmMecpVersion || localStorage.getItem('bpmMecpVersion') || 'v1';
|
|
11
|
-
export const initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
|
|
12
|
-
export const getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
|
|
13
|
-
export const codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
|
|
14
|
-
// 获取机构/用户/角色/群组等选择器
|
|
15
|
-
export const selectObject = '/sys/v1/mecpSys/selectObject.dhtml';
|
|
16
|
-
// // 获取代码表数据
|
|
17
|
-
// export const findSysCode = '/api/v1/mecpSys/findSysCode.json';
|
|
18
|
-
// 获取代码表数据
|
|
19
|
-
export const findSysCode = activiti + mecp + '/bpmCommon/findCodeValues';
|
|
20
|
-
// 获取常用意见
|
|
21
|
-
// export const commonOpion = '/api/v1/mecpIpending/commonOpion.json';
|
|
22
|
-
// 获取常用意见
|
|
23
|
-
export const commonOpion = activiti + mecp + '/commonOpinionsManager/list';
|
|
24
|
-
// 获取审核页面信息
|
|
25
|
-
// export const getHandleInfoHtml = '/api/mecp/v1/mecpItask/getHandleInfoHtml.json';
|
|
26
|
-
export const getHandleInfoHtml =
|
|
27
|
-
activiti + mecp + '/bpmBackend/toTaskHandleIndex.dhtml';
|
|
28
|
-
// 获取节点信息(获取节点属性及办理人,审核)
|
|
29
|
-
// export const getNodeInfoHtml = '/api/mecp/v1/mecpItask/getNodeInfoHtml.json';
|
|
30
|
-
export const getNodeInfoHtml = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
31
|
-
// 提交办理(为H5提供接口)
|
|
32
|
-
// export const taskHandleHtml = '/api/mecp/v1/mecpItask/taskHandleHtml.json';
|
|
33
|
-
export const taskHandleHtml = pending + '/task/taskHandle/taskHandle.dhtml';
|
|
34
|
-
export const taskHandleHtmlImg =
|
|
35
|
-
pending + '/task/taskHandle/taskHandleWithHandwrittenOpinion.dhtml';
|
|
36
|
-
// 发起流程
|
|
37
|
-
// export const registerNew = '/api/v1/mecpItask/registerNew.json';
|
|
38
|
-
// export const registerNew = '/bpm/v1/mecpItask/registerNew.json';
|
|
39
|
-
export const registerNew = '/bpm/task/taskHandle/startFlow.dhtml';
|
|
40
|
-
|
|
41
|
-
// 获取节点信息(获取节点属性及办理人,发起)
|
|
42
|
-
// export const getNodeInfo = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
43
|
-
export const getNodeInfo =
|
|
44
|
-
'/bpm/' + bpmMecpVersion + '/mecpItask/getNodeInfoNew.json';
|
|
45
|
-
|
|
46
|
-
// 获取发起流程信息
|
|
47
|
-
export const toStartFlow = '/bpm/v1/mecpItask/toStartFlowNew.json';
|
|
48
|
-
// export const toStartFlow = '/bpm/v1/mecpItask/toStartFlow.json';
|
|
49
|
-
// export const toStartFlow = activiti + mecp + '/bpmBackend/toStartFlowIndex';
|
|
50
|
-
export const findUserBaseInfo = '/sys/v1/mecpSys/findUserBaseInfo.dhtml';
|
|
51
|
-
// 驳回(为H5提供接口)
|
|
52
|
-
// export const taskRejectHtml = '/api/mecp/v1/mecpItask/taskRejectHtml.json';
|
|
53
|
-
export const taskRejectHtml = activiti + mecp + '/bpmBackend/taskReject';
|
|
54
|
-
// 获取驳回页面信息
|
|
55
|
-
// export const toTaskRejectHtml = '/api/mecp/v1/mecpItask/toTaskRejectHtml.json';
|
|
56
|
-
export const toTaskRejectHtml = activiti + mecp + '/bpmBackend/toTaskReject';
|
|
57
|
-
// 分阅阅结(为H5提供接口)
|
|
58
|
-
export const handleTaskRead =
|
|
59
|
-
'/bpm/' + bpmMecpVersion + '/mecpItask/handleTaskRead.json';
|
|
60
|
-
// 分阅(为H5提供接口)
|
|
61
|
-
// export const taskReadHtml = '/api/mecp/v1/mecpItask/taskReadHtml.json';
|
|
62
|
-
export const taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
63
|
-
export const taskReadWithHandwrittenOpinion =
|
|
64
|
-
activiti + '/task/taskHandle/taskReadWithHandwrittenOpinion.dhtml';
|
|
65
|
-
// 获取分阅页面信息
|
|
66
|
-
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
67
|
-
// 获取分阅信息
|
|
68
|
-
export const toStartTaskRead =
|
|
69
|
-
'/bpm/' + bpmMecpVersion + '/mecpItask/getNodeInfoHtml.json';
|
|
70
|
-
export const toStartTaskReadHtml =
|
|
71
|
-
activiti + mecp + '/bpmBackend/toTaskReadIndex';
|
|
72
|
-
// 获取转办页面数据
|
|
73
|
-
export const toTaskTransferIndex =
|
|
74
|
-
activiti + mecp + '/bpmBackend/toTaskTransferIndex';
|
|
75
|
-
// 转办提交按钮
|
|
76
|
-
export const taskTransfer = pending + '/task/taskHandle/taskTransfer.dhtml';
|
|
77
|
-
// 获取默认通知消息
|
|
78
|
-
export const findSysCodes =
|
|
79
|
-
pending + '/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
80
|
-
// 获取通知消息
|
|
81
|
-
export const getNotificationMsg =
|
|
82
|
-
pending + '/task/taskHandle/getNotificationMsg.dhtml';
|
|
83
|
-
// 联合审核
|
|
84
|
-
export const toTaskUnionExamine =
|
|
85
|
-
activiti + mecp + '/bpmBackend/toTaskUnionExamine';
|
|
86
|
-
// 联合审核提交
|
|
87
|
-
export const taskUnionExamine =
|
|
88
|
-
activiti + '/task/taskHandle/taskUnionExamine.dhtml';
|
|
89
|
-
// 征求意见
|
|
90
|
-
export const toTaskTakeAdvice =
|
|
91
|
-
activiti + mecp + '/bpmBackend/toTaskTakeAdvice';
|
|
92
|
-
// 征求意见提交
|
|
93
|
-
export const taskTakeAdvice =
|
|
94
|
-
activiti + '/task/taskHandle/taskTakeAdvice.dhtml';
|
|
95
|
-
// 稿件递送
|
|
96
|
-
export const toTaskStartDraft =
|
|
97
|
-
activiti + mecp + '/bpmBackend/totaskStartDraft';
|
|
98
|
-
|
|
99
|
-
// 稿件递送提交接口
|
|
100
|
-
// export const taskStartDraft = '/oa/task/taskHandle/taskStartDraft.dhtml';
|
|
101
|
-
export const taskStartDraft = '/bpm/task/taskHandle/taskStartDraft.dhtml';
|
|
102
|
-
// 联合用印
|
|
103
|
-
export const toTaskUnionSeal = activiti + mecp + '/bpmBackend/toTaskUnionSeal';
|
|
104
|
-
// 联合用印提交
|
|
105
|
-
export const taskUnionSeal = activiti + '/task/taskHandle/taskUnionSeal.dhtml'; // 报送两办
|
|
106
|
-
export const toTwoOfficesDispatch =
|
|
107
|
-
activiti + mecp + '/bpmBackend/toTwoOfficesDispatch';
|
|
108
|
-
// 报送两办提交
|
|
109
|
-
export const twoOfficesDispatch =
|
|
110
|
-
activiti + '/task/taskHandle/twoOfficesDispatch.dhtml';
|
|
111
|
-
// 是否允许启动子流程(必经节点)
|
|
112
|
-
export const isCanStartSubFlow =
|
|
113
|
-
activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
114
|
-
// 流程预设获取
|
|
115
|
-
export const getPresetCustomInfo =
|
|
116
|
-
activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
|
|
117
|
-
// 流程列表
|
|
118
|
-
export const pendedhistoryList =
|
|
119
|
-
flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
|
|
120
|
-
// export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
|
|
121
|
-
// 获取流程按钮
|
|
122
|
-
export const getHandleButtonHtml =
|
|
123
|
-
'/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
|
|
124
|
-
// 获取系统参数
|
|
125
|
-
export const getSysParam = '/api/v1/mecpSys/getSysParam.json';
|
|
126
|
-
// 自由发起流程获取配置参数
|
|
127
|
-
export const getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
|
|
128
|
-
// 获取发起流程列表
|
|
129
|
-
export const getProcessDefList =
|
|
130
|
-
'/bpm/' + bpmMecpVersion + '/mecpItask/getProcessDefList.json';
|
|
131
|
-
// 阅转办提交流程
|
|
132
|
-
export const startReadTransferHandleFlowWithTaskReadEnd =
|
|
133
|
-
'/bpm/bpmBackend/startReadTransferHandleFlowWithTaskReadEnd';
|
|
134
|
-
// 自由发起流程提交
|
|
135
|
-
export const freeStartFlowWithSubmitTask =
|
|
136
|
-
'/bpm/bpmBackend/freeStartFlowWithSubmitTask';
|
|
137
|
-
// 获取督办页面信息
|
|
138
|
-
export const toTaskSupervise = '/bpm/bpmBackend/toTaskSupervise';
|
|
139
|
-
// 督办提交
|
|
140
|
-
export const toTaskSuperviseSub = '/bpm/bpmBackend/taskSupervise';
|
|
141
|
-
// 重设流程
|
|
142
|
-
export const toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
|
|
143
|
-
// 提交重设流程
|
|
144
|
-
export const resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
|
|
145
|
-
// 续办流程
|
|
146
|
-
export const toTaskContinuationIndex =
|
|
147
|
-
'/bpm/bpmBackend/toTaskContinuationIndex';
|
|
148
|
-
// 续办提交
|
|
149
|
-
export const taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
|
|
150
|
-
// 分阅情况
|
|
151
|
-
export const taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
|
|
152
|
-
// 撤销分阅
|
|
153
|
-
export const cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
|
|
154
|
-
// 获取公文办理消息
|
|
155
|
-
export const officeHandleRemark =
|
|
156
|
-
'/archives/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
157
|
-
// 获取分阅信息
|
|
158
|
-
export const toStartTaskReadNew = '/bpm/bpmBackend/toStartTaskRead';
|
|
159
|
-
export const directStartTaskCircularRead =
|
|
160
|
-
'/bpm/bpmBackend/directStartTaskCircularRead';
|
|
161
|
-
export const endFlowAndStartTaskCircularRead =
|
|
162
|
-
'/bpm/bpmBackend/endFlowAndStartTaskCircularRead';
|
|
163
|
-
// 删除常用意见
|
|
164
|
-
export const deleteCommonOpion =
|
|
165
|
-
flowPendingPrefix + '/commonOpinionsManager/delete.dhtml';
|
|
166
|
-
// 常用意见新增
|
|
167
|
-
export const saveCommonOpinion =
|
|
168
|
-
flowPendingPrefix + '/commonOpinionsManager/save.dhtml';
|
|
169
|
-
// 添加常用意见
|
|
170
|
-
export const addCommonOpion = '/bpm/commonOpinionsManager/add';
|
|
171
|
-
// 直接办结
|
|
172
|
-
export const endFlowHtml = flowPendingPrefix + '/task/taskHandle/endFlow.dhtml';
|
|
173
|
-
// 附件相关
|
|
174
|
-
export const getAdjunctProperties =
|
|
175
|
-
'/main2/mecpfileManagement/getAdjunctProperties'; // 获取附件扩展类型大小
|
|
176
|
-
export const uploads = '/main2/mecpfileManagement/upload'; // 上传接口
|
|
177
|
-
export const uploadOnlyOne = '/main2/mecpfileManagement/uploadOnlyOne'; // 上传接口(覆盖之前文件)
|
|
178
|
-
export const getAdjunctFileInfos =
|
|
179
|
-
'/main2/mecpfileManagement/getAdjunctFileInfos'; // 附件列表
|
|
180
|
-
export const uploadSort = '/main2/mecpfileManagement/sort'; // 根据附件的ids排序附件
|
|
181
|
-
export const downloadByAdjunctId =
|
|
182
|
-
'/main2/mecpfileManagement/downloadByAdjunctId'; // 下载附件
|
|
183
|
-
export const uploadDownloads = '/main2/mecpfileManagement/uploadDownloads'; // 批量下载//
|
|
184
|
-
export const previewAdjunct = '/main2/mecpfileManagement/previewAdjunct'; // 预览附件
|
|
185
|
-
export const previewAdjunct2 = '/main2/mecpfileManagement/previewAdjunct2/'; // 预览附件(带文件名)
|
|
186
|
-
export const previewAdjunctOffice = '/document/webDocument/documentIndex.dhtml'; // 预览附件word excel ppt
|
|
187
|
-
export const delAdjunct = '/main2/mecpfileManagement/delAdjunct'; // 删除附件
|
|
188
|
-
export const upload_updateClassify = '/main2/mecpfileManagement/updateClassify'; // 根据附件id保存该附件的分类信息
|
|
189
|
-
export const getDeleteAdjunctFileInfos =
|
|
190
|
-
'/main2/mecpfileManagement/getDeleteAdjunctFileInfos'; // 根据业务id和附件code获取相关已删除附件的元数据列表
|
|
1
|
+
import $ from '../utils/util';
|
|
2
|
+
var activiti = '/bpm';
|
|
3
|
+
var pending = '/bpm';
|
|
4
|
+
var mecp = $.getStorage('flowPath') || '';
|
|
5
|
+
const flowPendingPrefix =
|
|
6
|
+
window.flowPendingPrefix ||
|
|
7
|
+
localStorage.getItem('flowPendingPrefix') ||
|
|
8
|
+
'/bpm';
|
|
9
|
+
const bpmMecpVersion =
|
|
10
|
+
window.bpmMecpVersion || localStorage.getItem('bpmMecpVersion') || 'v1';
|
|
11
|
+
export const initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
|
|
12
|
+
export const getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
|
|
13
|
+
export const codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
|
|
14
|
+
// 获取机构/用户/角色/群组等选择器
|
|
15
|
+
export const selectObject = '/sys/v1/mecpSys/selectObject.dhtml';
|
|
16
|
+
// // 获取代码表数据
|
|
17
|
+
// export const findSysCode = '/api/v1/mecpSys/findSysCode.json';
|
|
18
|
+
// 获取代码表数据
|
|
19
|
+
export const findSysCode = activiti + mecp + '/bpmCommon/findCodeValues';
|
|
20
|
+
// 获取常用意见
|
|
21
|
+
// export const commonOpion = '/api/v1/mecpIpending/commonOpion.json';
|
|
22
|
+
// 获取常用意见
|
|
23
|
+
export const commonOpion = activiti + mecp + '/commonOpinionsManager/list';
|
|
24
|
+
// 获取审核页面信息
|
|
25
|
+
// export const getHandleInfoHtml = '/api/mecp/v1/mecpItask/getHandleInfoHtml.json';
|
|
26
|
+
export const getHandleInfoHtml =
|
|
27
|
+
activiti + mecp + '/bpmBackend/toTaskHandleIndex.dhtml';
|
|
28
|
+
// 获取节点信息(获取节点属性及办理人,审核)
|
|
29
|
+
// export const getNodeInfoHtml = '/api/mecp/v1/mecpItask/getNodeInfoHtml.json';
|
|
30
|
+
export const getNodeInfoHtml = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
31
|
+
// 提交办理(为H5提供接口)
|
|
32
|
+
// export const taskHandleHtml = '/api/mecp/v1/mecpItask/taskHandleHtml.json';
|
|
33
|
+
export const taskHandleHtml = pending + '/task/taskHandle/taskHandle.dhtml';
|
|
34
|
+
export const taskHandleHtmlImg =
|
|
35
|
+
pending + '/task/taskHandle/taskHandleWithHandwrittenOpinion.dhtml';
|
|
36
|
+
// 发起流程
|
|
37
|
+
// export const registerNew = '/api/v1/mecpItask/registerNew.json';
|
|
38
|
+
// export const registerNew = '/bpm/v1/mecpItask/registerNew.json';
|
|
39
|
+
export const registerNew = '/bpm/task/taskHandle/startFlow.dhtml';
|
|
40
|
+
|
|
41
|
+
// 获取节点信息(获取节点属性及办理人,发起)
|
|
42
|
+
// export const getNodeInfo = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
43
|
+
export const getNodeInfo =
|
|
44
|
+
'/bpm/' + bpmMecpVersion + '/mecpItask/getNodeInfoNew.json';
|
|
45
|
+
|
|
46
|
+
// 获取发起流程信息
|
|
47
|
+
export const toStartFlow = '/bpm/v1/mecpItask/toStartFlowNew.json';
|
|
48
|
+
// export const toStartFlow = '/bpm/v1/mecpItask/toStartFlow.json';
|
|
49
|
+
// export const toStartFlow = activiti + mecp + '/bpmBackend/toStartFlowIndex';
|
|
50
|
+
export const findUserBaseInfo = '/sys/v1/mecpSys/findUserBaseInfo.dhtml';
|
|
51
|
+
// 驳回(为H5提供接口)
|
|
52
|
+
// export const taskRejectHtml = '/api/mecp/v1/mecpItask/taskRejectHtml.json';
|
|
53
|
+
export const taskRejectHtml = activiti + mecp + '/bpmBackend/taskReject';
|
|
54
|
+
// 获取驳回页面信息
|
|
55
|
+
// export const toTaskRejectHtml = '/api/mecp/v1/mecpItask/toTaskRejectHtml.json';
|
|
56
|
+
export const toTaskRejectHtml = activiti + mecp + '/bpmBackend/toTaskReject';
|
|
57
|
+
// 分阅阅结(为H5提供接口)
|
|
58
|
+
export const handleTaskRead =
|
|
59
|
+
'/bpm/' + bpmMecpVersion + '/mecpItask/handleTaskRead.json';
|
|
60
|
+
// 分阅(为H5提供接口)
|
|
61
|
+
// export const taskReadHtml = '/api/mecp/v1/mecpItask/taskReadHtml.json';
|
|
62
|
+
export const taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
63
|
+
export const taskReadWithHandwrittenOpinion =
|
|
64
|
+
activiti + '/task/taskHandle/taskReadWithHandwrittenOpinion.dhtml';
|
|
65
|
+
// 获取分阅页面信息
|
|
66
|
+
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
67
|
+
// 获取分阅信息
|
|
68
|
+
export const toStartTaskRead =
|
|
69
|
+
'/bpm/' + bpmMecpVersion + '/mecpItask/getNodeInfoHtml.json';
|
|
70
|
+
export const toStartTaskReadHtml =
|
|
71
|
+
activiti + mecp + '/bpmBackend/toTaskReadIndex';
|
|
72
|
+
// 获取转办页面数据
|
|
73
|
+
export const toTaskTransferIndex =
|
|
74
|
+
activiti + mecp + '/bpmBackend/toTaskTransferIndex';
|
|
75
|
+
// 转办提交按钮
|
|
76
|
+
export const taskTransfer = pending + '/task/taskHandle/taskTransfer.dhtml';
|
|
77
|
+
// 获取默认通知消息
|
|
78
|
+
export const findSysCodes =
|
|
79
|
+
pending + '/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
80
|
+
// 获取通知消息
|
|
81
|
+
export const getNotificationMsg =
|
|
82
|
+
pending + '/task/taskHandle/getNotificationMsg.dhtml';
|
|
83
|
+
// 联合审核
|
|
84
|
+
export const toTaskUnionExamine =
|
|
85
|
+
activiti + mecp + '/bpmBackend/toTaskUnionExamine';
|
|
86
|
+
// 联合审核提交
|
|
87
|
+
export const taskUnionExamine =
|
|
88
|
+
activiti + '/task/taskHandle/taskUnionExamine.dhtml';
|
|
89
|
+
// 征求意见
|
|
90
|
+
export const toTaskTakeAdvice =
|
|
91
|
+
activiti + mecp + '/bpmBackend/toTaskTakeAdvice';
|
|
92
|
+
// 征求意见提交
|
|
93
|
+
export const taskTakeAdvice =
|
|
94
|
+
activiti + '/task/taskHandle/taskTakeAdvice.dhtml';
|
|
95
|
+
// 稿件递送
|
|
96
|
+
export const toTaskStartDraft =
|
|
97
|
+
activiti + mecp + '/bpmBackend/totaskStartDraft';
|
|
98
|
+
|
|
99
|
+
// 稿件递送提交接口
|
|
100
|
+
// export const taskStartDraft = '/oa/task/taskHandle/taskStartDraft.dhtml';
|
|
101
|
+
export const taskStartDraft = '/bpm/task/taskHandle/taskStartDraft.dhtml';
|
|
102
|
+
// 联合用印
|
|
103
|
+
export const toTaskUnionSeal = activiti + mecp + '/bpmBackend/toTaskUnionSeal';
|
|
104
|
+
// 联合用印提交
|
|
105
|
+
export const taskUnionSeal = activiti + '/task/taskHandle/taskUnionSeal.dhtml'; // 报送两办
|
|
106
|
+
export const toTwoOfficesDispatch =
|
|
107
|
+
activiti + mecp + '/bpmBackend/toTwoOfficesDispatch';
|
|
108
|
+
// 报送两办提交
|
|
109
|
+
export const twoOfficesDispatch =
|
|
110
|
+
activiti + '/task/taskHandle/twoOfficesDispatch.dhtml';
|
|
111
|
+
// 是否允许启动子流程(必经节点)
|
|
112
|
+
export const isCanStartSubFlow =
|
|
113
|
+
activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
114
|
+
// 流程预设获取
|
|
115
|
+
export const getPresetCustomInfo =
|
|
116
|
+
activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
|
|
117
|
+
// 流程列表
|
|
118
|
+
export const pendedhistoryList =
|
|
119
|
+
flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
|
|
120
|
+
// export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
|
|
121
|
+
// 获取流程按钮
|
|
122
|
+
export const getHandleButtonHtml =
|
|
123
|
+
'/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
|
|
124
|
+
// 获取系统参数
|
|
125
|
+
export const getSysParam = '/api/v1/mecpSys/getSysParam.json';
|
|
126
|
+
// 自由发起流程获取配置参数
|
|
127
|
+
export const getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
|
|
128
|
+
// 获取发起流程列表
|
|
129
|
+
export const getProcessDefList =
|
|
130
|
+
'/bpm/' + bpmMecpVersion + '/mecpItask/getProcessDefList.json';
|
|
131
|
+
// 阅转办提交流程
|
|
132
|
+
export const startReadTransferHandleFlowWithTaskReadEnd =
|
|
133
|
+
'/bpm/bpmBackend/startReadTransferHandleFlowWithTaskReadEnd';
|
|
134
|
+
// 自由发起流程提交
|
|
135
|
+
export const freeStartFlowWithSubmitTask =
|
|
136
|
+
'/bpm/bpmBackend/freeStartFlowWithSubmitTask';
|
|
137
|
+
// 获取督办页面信息
|
|
138
|
+
export const toTaskSupervise = '/bpm/bpmBackend/toTaskSupervise';
|
|
139
|
+
// 督办提交
|
|
140
|
+
export const toTaskSuperviseSub = '/bpm/bpmBackend/taskSupervise';
|
|
141
|
+
// 重设流程
|
|
142
|
+
export const toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
|
|
143
|
+
// 提交重设流程
|
|
144
|
+
export const resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
|
|
145
|
+
// 续办流程
|
|
146
|
+
export const toTaskContinuationIndex =
|
|
147
|
+
'/bpm/bpmBackend/toTaskContinuationIndex';
|
|
148
|
+
// 续办提交
|
|
149
|
+
export const taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
|
|
150
|
+
// 分阅情况
|
|
151
|
+
export const taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
|
|
152
|
+
// 撤销分阅
|
|
153
|
+
export const cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
|
|
154
|
+
// 获取公文办理消息
|
|
155
|
+
export const officeHandleRemark =
|
|
156
|
+
'/archives/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
157
|
+
// 获取分阅信息
|
|
158
|
+
export const toStartTaskReadNew = '/bpm/bpmBackend/toStartTaskRead';
|
|
159
|
+
export const directStartTaskCircularRead =
|
|
160
|
+
'/bpm/bpmBackend/directStartTaskCircularRead';
|
|
161
|
+
export const endFlowAndStartTaskCircularRead =
|
|
162
|
+
'/bpm/bpmBackend/endFlowAndStartTaskCircularRead';
|
|
163
|
+
// 删除常用意见
|
|
164
|
+
export const deleteCommonOpion =
|
|
165
|
+
flowPendingPrefix + '/commonOpinionsManager/delete.dhtml';
|
|
166
|
+
// 常用意见新增
|
|
167
|
+
export const saveCommonOpinion =
|
|
168
|
+
flowPendingPrefix + '/commonOpinionsManager/save.dhtml';
|
|
169
|
+
// 添加常用意见
|
|
170
|
+
export const addCommonOpion = '/bpm/commonOpinionsManager/add';
|
|
171
|
+
// 直接办结
|
|
172
|
+
export const endFlowHtml = flowPendingPrefix + '/task/taskHandle/endFlow.dhtml';
|
|
173
|
+
// 附件相关
|
|
174
|
+
export const getAdjunctProperties =
|
|
175
|
+
'/main2/mecpfileManagement/getAdjunctProperties'; // 获取附件扩展类型大小
|
|
176
|
+
export const uploads = '/main2/mecpfileManagement/upload'; // 上传接口
|
|
177
|
+
export const uploadOnlyOne = '/main2/mecpfileManagement/uploadOnlyOne'; // 上传接口(覆盖之前文件)
|
|
178
|
+
export const getAdjunctFileInfos =
|
|
179
|
+
'/main2/mecpfileManagement/getAdjunctFileInfos'; // 附件列表
|
|
180
|
+
export const uploadSort = '/main2/mecpfileManagement/sort'; // 根据附件的ids排序附件
|
|
181
|
+
export const downloadByAdjunctId =
|
|
182
|
+
'/main2/mecpfileManagement/downloadByAdjunctId'; // 下载附件
|
|
183
|
+
export const uploadDownloads = '/main2/mecpfileManagement/uploadDownloads'; // 批量下载//
|
|
184
|
+
export const previewAdjunct = '/main2/mecpfileManagement/previewAdjunct'; // 预览附件
|
|
185
|
+
export const previewAdjunct2 = '/main2/mecpfileManagement/previewAdjunct2/'; // 预览附件(带文件名)
|
|
186
|
+
export const previewAdjunctOffice = '/document/webDocument/documentIndex.dhtml'; // 预览附件word excel ppt
|
|
187
|
+
export const delAdjunct = '/main2/mecpfileManagement/delAdjunct'; // 删除附件
|
|
188
|
+
export const upload_updateClassify = '/main2/mecpfileManagement/updateClassify'; // 根据附件id保存该附件的分类信息
|
|
189
|
+
export const getDeleteAdjunctFileInfos =
|
|
190
|
+
'/main2/mecpfileManagement/getDeleteAdjunctFileInfos'; // 根据业务id和附件code获取相关已删除附件的元数据列表
|