eoss-mobiles 0.1.15 → 0.1.17
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/checkbox.js +53 -24
- package/lib/config/api.js +23 -8
- package/lib/eoss-mobile.common.js +2569 -1804
- package/lib/flow.js +2560 -1850
- package/lib/index.js +1 -1
- package/lib/picker.js +53 -24
- package/lib/radio.js +53 -24
- package/lib/selector.js +144 -55
- package/lib/table.js +16 -4
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/utils/axios.js +16 -4
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +492 -406
- package/packages/flow/src/components/Opinion.vue +2 -2
- package/packages/flow/src/components/Reject.vue +27 -21
- package/packages/flow/src/components/TaskRead.vue +209 -41
- package/packages/flow/src/flowMix.js +289 -0
- package/packages/selector/src/selector-field.vue +2 -2
- package/packages/selector/src/selector-tree.vue +19 -1
- package/packages/selector/src/tree.vue +18 -3
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow.scss +1 -1
- package/src/config/api.js +24 -9
- package/src/index.js +1 -1
- package/src/utils/axios.js +22 -12
package/lib/checkbox.js
CHANGED
|
@@ -1516,32 +1516,41 @@ var exclAttribute = function exclAttribute(_ref4) {
|
|
|
1516
1516
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1517
1517
|
|
|
1518
1518
|
"use strict";
|
|
1519
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1519
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return selectObject; });
|
|
1520
1520
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return findSysCode; });
|
|
1521
1521
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return commonOpion; });
|
|
1522
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1523
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1524
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1525
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1526
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1527
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1528
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1529
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1530
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1531
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1532
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1522
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getHandleInfoHtml; });
|
|
1523
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getNodeInfoHtml; });
|
|
1524
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return taskHandleHtml; });
|
|
1525
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return registerNew; });
|
|
1526
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getNodeInfo; });
|
|
1527
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return toStartFlow; });
|
|
1528
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return taskRejectHtml; });
|
|
1529
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return toTaskRejectHtml; });
|
|
1530
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return handleTaskRead; });
|
|
1531
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return taskReadHtml; });
|
|
1532
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return toStartTaskReadHtml; });
|
|
1533
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return toTaskTransferIndex; });
|
|
1534
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return findSysCodes; });
|
|
1535
|
+
var activiti = '/bpm';
|
|
1536
|
+
var pending = '/oa';
|
|
1533
1537
|
// 获取机构/用户/角色/群组等选择器
|
|
1534
1538
|
var selectObject = '/api/v1/mecpSys/selectObject.json';
|
|
1535
1539
|
// 获取代码表数据
|
|
1536
1540
|
var findSysCode = '/api/v1/mecpSys/findSysCode.json';
|
|
1537
1541
|
// 获取常用意见
|
|
1538
|
-
|
|
1542
|
+
// export const commonOpion = '/api/v1/mecpIpending/commonOpion.json';
|
|
1543
|
+
// 获取常用意见
|
|
1544
|
+
var commonOpion = activiti + '/commonOpinionsManager/list';
|
|
1539
1545
|
// 获取审核页面信息
|
|
1540
|
-
|
|
1546
|
+
// export const getHandleInfoHtml = '/api/mecp/v1/mecpItask/getHandleInfoHtml.json';
|
|
1547
|
+
var getHandleInfoHtml = activiti + '/bpmBackend/toTaskHandleIndex.dhtml';
|
|
1541
1548
|
// 获取节点信息(获取节点属性及办理人,审核)
|
|
1542
|
-
|
|
1549
|
+
// export const getNodeInfoHtml = '/api/mecp/v1/mecpItask/getNodeInfoHtml.json';
|
|
1550
|
+
var getNodeInfoHtml = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
1543
1551
|
// 提交办理(为H5提供接口)
|
|
1544
|
-
|
|
1552
|
+
// export const taskHandleHtml = '/api/mecp/v1/mecpItask/taskHandleHtml.json';
|
|
1553
|
+
var taskHandleHtml = pending + '/task/taskHandle/taskHandle.dhtml';
|
|
1545
1554
|
// 发起流程
|
|
1546
1555
|
var registerNew = '/api/v1/mecpItask/registerNew.json';
|
|
1547
1556
|
// 获取节点信息(获取节点属性及办理人,发起)
|
|
@@ -1549,15 +1558,23 @@ var getNodeInfo = '/api/mecp/v1/mecpItask/getNodeInfo.json';
|
|
|
1549
1558
|
// 获取发起流程信息
|
|
1550
1559
|
var toStartFlow = '/api/mecp/v1/mecpItask/toStartFlow.json';
|
|
1551
1560
|
// 驳回(为H5提供接口)
|
|
1552
|
-
|
|
1561
|
+
// export const taskRejectHtml = '/api/mecp/v1/mecpItask/taskRejectHtml.json';
|
|
1562
|
+
var taskRejectHtml = activiti + '/bpmBackend/taskReject';
|
|
1553
1563
|
// 获取驳回页面信息
|
|
1554
|
-
|
|
1564
|
+
// export const toTaskRejectHtml = '/api/mecp/v1/mecpItask/toTaskRejectHtml.json';
|
|
1565
|
+
var toTaskRejectHtml = activiti + '/bpmBackend/toTaskReject';
|
|
1555
1566
|
// 分阅阅结(为H5提供接口)
|
|
1556
1567
|
var handleTaskRead = '/api/mecp/v1/mecpItask/handleTaskRead.json';
|
|
1557
1568
|
// 分阅(为H5提供接口)
|
|
1558
|
-
|
|
1569
|
+
// export const taskReadHtml = '/api/mecp/v1/mecpItask/taskReadHtml.json';
|
|
1570
|
+
var taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
1559
1571
|
// 获取分阅页面信息
|
|
1560
|
-
|
|
1572
|
+
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
1573
|
+
var toStartTaskReadHtml = activiti + '/bpmBackend/toStartTaskRead';
|
|
1574
|
+
// 获取转办页面数据
|
|
1575
|
+
var toTaskTransferIndex = activiti + '/bpmBackend/toTaskTransferIndex';
|
|
1576
|
+
// 获取默认通知消息
|
|
1577
|
+
var findSysCodes = pending + '/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
1561
1578
|
|
|
1562
1579
|
/***/ }),
|
|
1563
1580
|
|
|
@@ -1588,9 +1605,6 @@ var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
|
1588
1605
|
|
|
1589
1606
|
var apiUrl = util["a" /* default */].getStorage('host');
|
|
1590
1607
|
var http = external_axios_default.a.create({
|
|
1591
|
-
headers: {
|
|
1592
|
-
clientKey: util["a" /* default */].getStorage('clientKey') || 'csjk'
|
|
1593
|
-
},
|
|
1594
1608
|
baseURL: apiUrl,
|
|
1595
1609
|
timeout: 60000,
|
|
1596
1610
|
withCredentials: false
|
|
@@ -1604,7 +1618,6 @@ http.interceptors.request.use(function (config) {
|
|
|
1604
1618
|
// config.data = qs.stringify(data);
|
|
1605
1619
|
Object.assign(data, config.data);
|
|
1606
1620
|
} else if (config.url.search('/outsidedirector/business/update') !== -1) {
|
|
1607
|
-
|
|
1608
1621
|
delete config.data.userId;
|
|
1609
1622
|
} else if (config.url.indexOf('decisionSuperviseMeet') !== -1) {
|
|
1610
1623
|
config.headers['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
@@ -1634,6 +1647,14 @@ http.interceptors.request.use(function (config) {
|
|
|
1634
1647
|
if (config.url.search('api/financePhone/') !== -1) {
|
|
1635
1648
|
config.baseURL = 'https://release.cdgzjg.cn/';
|
|
1636
1649
|
}
|
|
1650
|
+
if (config.url.search('affairs/getHandleInfosnew.json') !== -1) {
|
|
1651
|
+
config.headers = {
|
|
1652
|
+
token: sessionStorage.getItem('token'),
|
|
1653
|
+
oueside_token: sessionStorage.getItem('token'),
|
|
1654
|
+
deviceId: '432a320f99793e39',
|
|
1655
|
+
Authorization: sessionStorage.getItem('token')
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1637
1658
|
if (config.url.search('/getmyAccount.json') !== -1) {
|
|
1638
1659
|
delete config.params.userId;
|
|
1639
1660
|
}
|
|
@@ -1657,6 +1678,14 @@ http.interceptors.request.use(function (config) {
|
|
|
1657
1678
|
// delete config.headers.Authorization
|
|
1658
1679
|
// delete config.headers.clientKey
|
|
1659
1680
|
// }
|
|
1681
|
+
if (config.url.search('/bpm') !== -1) {
|
|
1682
|
+
// config.baseURL = "/api";
|
|
1683
|
+
// config.headers.Authorization = $.getStorage('token');
|
|
1684
|
+
// config.headers.Deviceunique = $.getStorage('deviceunique');
|
|
1685
|
+
// config.headers.Ssid = $.getStorage('ssid');
|
|
1686
|
+
// delete config.headers.deviceId;
|
|
1687
|
+
// delete config.headers.clientKey;
|
|
1688
|
+
}
|
|
1660
1689
|
return config;
|
|
1661
1690
|
}, function (error) {
|
|
1662
1691
|
return Promise.error(error);
|
package/lib/config/api.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
+
var activiti = '/bpm';
|
|
5
|
+
var pending = '/oa';
|
|
4
6
|
// 获取机构/用户/角色/群组等选择器
|
|
5
7
|
var selectObject = exports.selectObject = '/api/v1/mecpSys/selectObject.json';
|
|
6
8
|
// 获取代码表数据
|
|
7
9
|
var findSysCode = exports.findSysCode = '/api/v1/mecpSys/findSysCode.json';
|
|
8
10
|
// 获取常用意见
|
|
9
|
-
|
|
11
|
+
// export const commonOpion = '/api/v1/mecpIpending/commonOpion.json';
|
|
12
|
+
// 获取常用意见
|
|
13
|
+
var commonOpion = exports.commonOpion = activiti + '/commonOpinionsManager/list';
|
|
10
14
|
// 获取审核页面信息
|
|
11
|
-
|
|
15
|
+
// export const getHandleInfoHtml = '/api/mecp/v1/mecpItask/getHandleInfoHtml.json';
|
|
16
|
+
var getHandleInfoHtml = exports.getHandleInfoHtml = activiti + '/bpmBackend/toTaskHandleIndex.dhtml';
|
|
12
17
|
// 获取节点信息(获取节点属性及办理人,审核)
|
|
13
|
-
|
|
18
|
+
// export const getNodeInfoHtml = '/api/mecp/v1/mecpItask/getNodeInfoHtml.json';
|
|
19
|
+
var getNodeInfoHtml = exports.getNodeInfoHtml = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
14
20
|
// 提交办理(为H5提供接口)
|
|
15
|
-
|
|
21
|
+
// export const taskHandleHtml = '/api/mecp/v1/mecpItask/taskHandleHtml.json';
|
|
22
|
+
var taskHandleHtml = exports.taskHandleHtml = pending + '/task/taskHandle/taskHandle.dhtml';
|
|
16
23
|
// 发起流程
|
|
17
24
|
var registerNew = exports.registerNew = '/api/v1/mecpItask/registerNew.json';
|
|
18
25
|
// 获取节点信息(获取节点属性及办理人,发起)
|
|
@@ -20,12 +27,20 @@ var getNodeInfo = exports.getNodeInfo = '/api/mecp/v1/mecpItask/getNodeInfo.json
|
|
|
20
27
|
// 获取发起流程信息
|
|
21
28
|
var toStartFlow = exports.toStartFlow = '/api/mecp/v1/mecpItask/toStartFlow.json';
|
|
22
29
|
// 驳回(为H5提供接口)
|
|
23
|
-
|
|
30
|
+
// export const taskRejectHtml = '/api/mecp/v1/mecpItask/taskRejectHtml.json';
|
|
31
|
+
var taskRejectHtml = exports.taskRejectHtml = activiti + '/bpmBackend/taskReject';
|
|
24
32
|
// 获取驳回页面信息
|
|
25
|
-
|
|
33
|
+
// export const toTaskRejectHtml = '/api/mecp/v1/mecpItask/toTaskRejectHtml.json';
|
|
34
|
+
var toTaskRejectHtml = exports.toTaskRejectHtml = activiti + '/bpmBackend/toTaskReject';
|
|
26
35
|
// 分阅阅结(为H5提供接口)
|
|
27
36
|
var handleTaskRead = exports.handleTaskRead = '/api/mecp/v1/mecpItask/handleTaskRead.json';
|
|
28
37
|
// 分阅(为H5提供接口)
|
|
29
|
-
|
|
38
|
+
// export const taskReadHtml = '/api/mecp/v1/mecpItask/taskReadHtml.json';
|
|
39
|
+
var taskReadHtml = exports.taskReadHtml = activiti + '/task/taskHandle/taskRead.dhtml';
|
|
30
40
|
// 获取分阅页面信息
|
|
31
|
-
|
|
41
|
+
// export const toStartTaskReadHtml = '/api/mecp/v1/mecpItask/toStartTaskReadHtml.json';
|
|
42
|
+
var toStartTaskReadHtml = exports.toStartTaskReadHtml = activiti + '/bpmBackend/toStartTaskRead';
|
|
43
|
+
// 获取转办页面数据
|
|
44
|
+
var toTaskTransferIndex = exports.toTaskTransferIndex = activiti + '/bpmBackend/toTaskTransferIndex';
|
|
45
|
+
// 获取默认通知消息
|
|
46
|
+
var findSysCodes = exports.findSysCodes = pending + '/task/taskHandle/getDefaultNotificationType.dhtml';
|