eoss-mobiles 0.2.14 → 0.2.16
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 +189 -168
- package/lib/date.js +3 -3
- package/lib/eoss-mobile.common.js +240 -216
- package/lib/flow.js +199 -176
- package/lib/index.js +1 -1
- package/lib/picker.js +189 -168
- package/lib/radio.js +189 -168
- package/lib/retrial-auth.js +189 -168
- package/lib/selector.js +224 -202
- package/lib/table-column.js +189 -168
- package/lib/table.js +189 -168
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/utils/axios.js +140 -153
- package/lib/utils/http.js +5 -5
- package/lib/utils/util.js +36 -1
- package/package.json +1 -1
- package/packages/date/src/main.vue +1 -1
- package/packages/flow/src/components/Handle.vue +1 -0
- package/packages/selector/src/selector-tree.vue +23 -21
- package/packages/selector/src/tree.vue +1 -1
- 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 -0
- package/src/index.js +1 -1
- package/src/utils/axios.js +155 -173
- package/src/utils/http.js +15 -5
- package/src/utils/util.js +36 -2
package/lib/flow.js
CHANGED
|
@@ -90,16 +90,50 @@ module.exports =
|
|
|
90
90
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91
91
|
|
|
92
92
|
"use strict";
|
|
93
|
-
/* harmony import */ var _eoss_design_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
93
|
+
/* harmony import */ var _eoss_design_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
94
94
|
/* harmony import */ var _eoss_design_color__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_eoss_design_color__WEBPACK_IMPORTED_MODULE_0__);
|
|
95
95
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
96
96
|
|
|
97
97
|
/* eslint-disable indent */
|
|
98
98
|
// import { authCenter } from '../config/api';
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
// import CryptoJS from 'crypto-js'
|
|
101
101
|
var sm2 = __webpack_require__(8).sm2;
|
|
102
|
-
|
|
102
|
+
// /**
|
|
103
|
+
// * esEncrypt
|
|
104
|
+
// * @desc:sm2加密
|
|
105
|
+
// * @author huangbo
|
|
106
|
+
// * @date 2022年5月7日
|
|
107
|
+
// * @param {string} [data] - 被加密的字符串
|
|
108
|
+
// * @param {string} [key] - 公钥
|
|
109
|
+
// **/
|
|
110
|
+
// const encryptDes = (message, key) => {
|
|
111
|
+
// const keyHex = CryptoJS.enc.Utf8.parse(key);
|
|
112
|
+
// const encrypted = CryptoJS.DES.encrypt(message, keyHex, {
|
|
113
|
+
// mode: CryptoJS.mode.ECB,
|
|
114
|
+
// padding: CryptoJS.pad.Pkcs7
|
|
115
|
+
// });
|
|
116
|
+
// return encrypted.toString();
|
|
117
|
+
// }
|
|
118
|
+
// /**
|
|
119
|
+
// * esEncrypt
|
|
120
|
+
// * @desc:sm2加密
|
|
121
|
+
// * @author huangbo
|
|
122
|
+
// * @date 2022年5月7日
|
|
123
|
+
// * @param {string} [data] - 被加密的字符串
|
|
124
|
+
// * @param {string} [key] - 公钥
|
|
125
|
+
// **/
|
|
126
|
+
// const decryptDes = (ciphertext, key) => {
|
|
127
|
+
// const keyHex = CryptoJS.enc.Utf8.parse(key);
|
|
128
|
+
// // direct decrypt ciphertext
|
|
129
|
+
// const decrypted = CryptoJS.DES.decrypt({
|
|
130
|
+
// ciphertext: CryptoJS.enc.Base64.parse(ciphertext)
|
|
131
|
+
// }, keyHex, {
|
|
132
|
+
// mode: CryptoJS.mode.ECB,
|
|
133
|
+
// padding: CryptoJS.pad.Pkcs7
|
|
134
|
+
// });
|
|
135
|
+
// return decrypted.toString(CryptoJS.enc.Utf8);
|
|
136
|
+
// }
|
|
103
137
|
/**
|
|
104
138
|
* esEncrypt
|
|
105
139
|
* @desc:sm2加密
|
|
@@ -1671,17 +1705,17 @@ var isCanStartSubFlow = activiti + '/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
|
1671
1705
|
"use strict";
|
|
1672
1706
|
|
|
1673
1707
|
// EXTERNAL MODULE: external "axios"
|
|
1674
|
-
var external_axios_ = __webpack_require__(
|
|
1708
|
+
var external_axios_ = __webpack_require__(6);
|
|
1675
1709
|
var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
|
|
1676
1710
|
|
|
1677
1711
|
// EXTERNAL MODULE: external "eoss-mobile-vant"
|
|
1678
|
-
var external_eoss_mobile_vant_ = __webpack_require__(
|
|
1712
|
+
var external_eoss_mobile_vant_ = __webpack_require__(4);
|
|
1679
1713
|
|
|
1680
1714
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
1681
1715
|
var util = __webpack_require__(0);
|
|
1682
1716
|
|
|
1683
1717
|
// EXTERNAL MODULE: external "qs"
|
|
1684
|
-
var external_qs_ = __webpack_require__(
|
|
1718
|
+
var external_qs_ = __webpack_require__(7);
|
|
1685
1719
|
var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
1686
1720
|
|
|
1687
1721
|
// CONCATENATED MODULE: ./src/utils/axios.js
|
|
@@ -1690,168 +1724,157 @@ var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
|
1690
1724
|
|
|
1691
1725
|
|
|
1692
1726
|
var apiUrl = util["a" /* default */].getStorage('host');
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
headers: {
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
config.data = external_qs_default.a.stringify(data);
|
|
1727
|
+
|
|
1728
|
+
var axios_ajax = function ajax(url) {
|
|
1729
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1730
|
+
var headers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1731
|
+
var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
1732
|
+
var type = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'get';
|
|
1733
|
+
|
|
1734
|
+
var http = external_axios_default.a.create({
|
|
1735
|
+
baseURL: apiUrl,
|
|
1736
|
+
timeout: 60000,
|
|
1737
|
+
headers: {
|
|
1738
|
+
// clientKey: 'csjk'
|
|
1739
|
+
},
|
|
1740
|
+
withCredentials: false
|
|
1741
|
+
});
|
|
1742
|
+
http.interceptors.request.use(function (config) {
|
|
1743
|
+
if (type === 'post' && format) {
|
|
1744
|
+
config.data = external_qs_default.a.stringify(params);
|
|
1745
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1746
|
+
config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
1747
|
+
}
|
|
1715
1748
|
} else {
|
|
1716
|
-
config.headers['
|
|
1717
|
-
|
|
1718
|
-
Object.assign(data, config.data);
|
|
1719
|
-
config.data = external_qs_default.a.stringify(data);
|
|
1749
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1750
|
+
config.headers['content-type'] = 'application/json;charset=UTF-8';
|
|
1720
1751
|
}
|
|
1752
|
+
config.data = params;
|
|
1721
1753
|
}
|
|
1722
|
-
} else {
|
|
1723
|
-
Object.assign(config.params, data);
|
|
1724
|
-
config.headers['Content-Type'] = 'application/json;';
|
|
1725
|
-
}
|
|
1726
|
-
if (util["a" /* default */].getStorage('token')) {
|
|
1727
|
-
config.headers.Authorization = util["a" /* default */].getStorage('token');
|
|
1728
|
-
}
|
|
1729
|
-
if (util["a" /* default */].getStorage('deviceId')) {
|
|
1730
|
-
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1731
|
-
}
|
|
1732
1754
|
|
|
1733
|
-
|
|
1755
|
+
if (util["a" /* default */].getStorage('token')) {
|
|
1756
|
+
config.headers.Authorization = util["a" /* default */].getStorage('token');
|
|
1757
|
+
}
|
|
1758
|
+
if (util["a" /* default */].getStorage('deviceId')) {
|
|
1759
|
+
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1760
|
+
}
|
|
1734
1761
|
|
|
1735
|
-
|
|
1736
|
-
config.headers.clientKey = util["a" /* default */].getStorage('clientKey') || 'csjk2';
|
|
1737
|
-
}
|
|
1738
|
-
if (config.url.search('api/financePhone/') !== -1) {
|
|
1739
|
-
config.baseURL = 'https://release.cdgzjg.cn/';
|
|
1740
|
-
}
|
|
1741
|
-
if (config.url.search('affairs/getHandleInfosnew.json') !== -1) {
|
|
1742
|
-
config.headers = {
|
|
1743
|
-
token: sessionStorage.getItem('token'),
|
|
1744
|
-
oueside_token: sessionStorage.getItem('token'),
|
|
1745
|
-
deviceId: '432a320f99793e39',
|
|
1746
|
-
Authorization: sessionStorage.getItem('token')
|
|
1747
|
-
};
|
|
1748
|
-
}
|
|
1749
|
-
if (config.url.search('/getmyAccount.json') !== -1) {
|
|
1750
|
-
delete config.params.userId;
|
|
1751
|
-
}
|
|
1752
|
-
if (config.url.search('/sso2/authCenter') !== -1) {
|
|
1753
|
-
delete config.headers.clientKey;
|
|
1754
|
-
delete config.headers.deviceId;
|
|
1755
|
-
}
|
|
1756
|
-
if (config.url.search('/appInfo') !== -1) {
|
|
1757
|
-
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1758
|
-
delete config.headers.clientKey;
|
|
1759
|
-
}
|
|
1760
|
-
if (config.url.search('getPresetCustomInfo') !== -1 || config.url.search('registerNew') !== -1) {
|
|
1761
|
-
// config.baseURL = "/api";
|
|
1762
|
-
config.headers.token = util["a" /* default */].getStorage('token');
|
|
1763
|
-
}
|
|
1764
|
-
if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
|
|
1765
|
-
delete config.headers.deviceId;
|
|
1766
|
-
}
|
|
1767
|
-
// if(config.url.search('getVehicleMaintenanceInfoForAPP') !== -1 ) {
|
|
1768
|
-
// delete config.headers.deviceId
|
|
1769
|
-
// delete config.headers.Authorization
|
|
1770
|
-
// delete config.headers.clientKey
|
|
1771
|
-
// }
|
|
1772
|
-
if (config.url.search('/bpm') !== -1) {
|
|
1773
|
-
// config.baseURL = "/api";
|
|
1774
|
-
// config.headers.Authorization = $.getStorage('token');
|
|
1775
|
-
// config.headers.Deviceunique = $.getStorage('deviceunique');
|
|
1776
|
-
// config.headers.Ssid = $.getStorage('ssid');
|
|
1777
|
-
// delete config.headers.deviceId;
|
|
1778
|
-
// delete config.headers.clientKey;
|
|
1779
|
-
}
|
|
1780
|
-
return config;
|
|
1781
|
-
}, function (error) {
|
|
1782
|
-
return Promise.error(error);
|
|
1783
|
-
});
|
|
1784
|
-
// 响应拦截器
|
|
1762
|
+
var a = '/config/';
|
|
1785
1763
|
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
if (response.data.rCode === 64 || response.data.rCode === 27) {
|
|
1789
|
-
util["a" /* default */].H5TokenInvalid();
|
|
1790
|
-
} else {
|
|
1791
|
-
return Promise.resolve(response.data);
|
|
1764
|
+
if (config.url.search(a) !== -1 && config.url.search('appInfo') === -1) {
|
|
1765
|
+
config.headers.clientKey = util["a" /* default */].getStorage('clientKey') || 'csjk2';
|
|
1792
1766
|
}
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
case 504:
|
|
1832
|
-
error.message = '网络超时';
|
|
1833
|
-
break;
|
|
1834
|
-
case 505:
|
|
1835
|
-
error.message = 'http版本不支持该请求';
|
|
1836
|
-
break;
|
|
1837
|
-
default:
|
|
1838
|
-
error.message = '\u8FDE\u63A5\u9519\u8BEF' + error.response.status;
|
|
1767
|
+
if (config.url.search('api/financePhone/') !== -1) {
|
|
1768
|
+
config.baseURL = 'https://release.cdgzjg.cn/';
|
|
1769
|
+
}
|
|
1770
|
+
if (config.url.search('affairs/getHandleInfosnew.json') !== -1) {
|
|
1771
|
+
config.headers = {
|
|
1772
|
+
token: sessionStorage.getItem('token'),
|
|
1773
|
+
oueside_token: sessionStorage.getItem('token'),
|
|
1774
|
+
deviceId: '432a320f99793e39',
|
|
1775
|
+
Authorization: sessionStorage.getItem('token')
|
|
1776
|
+
};
|
|
1777
|
+
}
|
|
1778
|
+
if (config.url.search('/getmyAccount.json') !== -1) {
|
|
1779
|
+
delete config.params.userId;
|
|
1780
|
+
}
|
|
1781
|
+
if (config.url.search('/sso2/authCenter') !== -1) {
|
|
1782
|
+
delete config.headers.clientKey;
|
|
1783
|
+
delete config.headers.deviceId;
|
|
1784
|
+
}
|
|
1785
|
+
if (config.url.search('/appInfo') !== -1) {
|
|
1786
|
+
config.headers.deviceId = util["a" /* default */].getStorage('deviceId');
|
|
1787
|
+
delete config.headers.clientKey;
|
|
1788
|
+
}
|
|
1789
|
+
if (config.url.search('getPresetCustomInfo') !== -1 || config.url.search('registerNew') !== -1) {
|
|
1790
|
+
config.headers.token = util["a" /* default */].getStorage('token');
|
|
1791
|
+
}
|
|
1792
|
+
if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
|
|
1793
|
+
delete config.headers.deviceId;
|
|
1794
|
+
}
|
|
1795
|
+
return config;
|
|
1796
|
+
}, function (error) {
|
|
1797
|
+
return Promise.error(error);
|
|
1798
|
+
});
|
|
1799
|
+
http.interceptors.response.use(function (response) {
|
|
1800
|
+
if (response.status === 200) {
|
|
1801
|
+
if (response.data.rCode === 64 || response.data.rCode === 27) {
|
|
1802
|
+
util["a" /* default */].H5TokenInvalid();
|
|
1803
|
+
} else {
|
|
1804
|
+
return Promise.resolve(response.data);
|
|
1839
1805
|
}
|
|
1840
1806
|
} else {
|
|
1841
|
-
|
|
1807
|
+
return Promise.reject(response.data);
|
|
1842
1808
|
}
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1809
|
+
}, function (error) {
|
|
1810
|
+
if (error && error.response) {
|
|
1811
|
+
if (error.response.status) {
|
|
1812
|
+
switch (error.response.status) {
|
|
1813
|
+
case 400:
|
|
1814
|
+
error.message = '错误请求';
|
|
1815
|
+
break;
|
|
1816
|
+
case 401:
|
|
1817
|
+
error.message = '未授权,请重新登录';
|
|
1818
|
+
break;
|
|
1819
|
+
case 403:
|
|
1820
|
+
error.message = '登录过期,请重新登录';
|
|
1821
|
+
util["a" /* default */].removeStorage('userId');
|
|
1822
|
+
break;
|
|
1823
|
+
case 404:
|
|
1824
|
+
error.message = '网络请求不存在';
|
|
1825
|
+
break;
|
|
1826
|
+
case 405:
|
|
1827
|
+
error.message = '请求方法错误';
|
|
1828
|
+
break;
|
|
1829
|
+
case 408:
|
|
1830
|
+
error.message = '请求超时';
|
|
1831
|
+
break;
|
|
1832
|
+
case 500:
|
|
1833
|
+
error.message = '服务器端出错';
|
|
1834
|
+
break;
|
|
1835
|
+
case 501:
|
|
1836
|
+
error.message = '网络未实现';
|
|
1837
|
+
break;
|
|
1838
|
+
case 502:
|
|
1839
|
+
error.message = '网络错误';
|
|
1840
|
+
break;
|
|
1841
|
+
case 503:
|
|
1842
|
+
error.message = '服务不可用';
|
|
1843
|
+
break;
|
|
1844
|
+
case 504:
|
|
1845
|
+
error.message = '网络超时';
|
|
1846
|
+
break;
|
|
1847
|
+
case 505:
|
|
1848
|
+
error.message = 'http版本不支持该请求';
|
|
1849
|
+
break;
|
|
1850
|
+
default:
|
|
1851
|
+
error.message = '\u8FDE\u63A5\u9519\u8BEF' + error.response.status;
|
|
1852
|
+
}
|
|
1853
|
+
} else {
|
|
1854
|
+
error.message = '接口出现问题,无法请求';
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
Object(external_eoss_mobile_vant_["Toast"])({
|
|
1858
|
+
message: error.message,
|
|
1859
|
+
duration: 1500,
|
|
1860
|
+
forbidClick: true
|
|
1861
|
+
});
|
|
1862
|
+
return Promise.reject(error);
|
|
1848
1863
|
});
|
|
1849
|
-
|
|
1850
|
-
|
|
1864
|
+
if (type === 'get' || type === 'GET') {
|
|
1865
|
+
return http.get(url, params, headers, format);
|
|
1866
|
+
} else {
|
|
1867
|
+
return http.post(url, params, headers, format);
|
|
1868
|
+
}
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
// 响应拦截器
|
|
1851
1872
|
|
|
1852
1873
|
var base = {
|
|
1853
1874
|
get: function get(url) {
|
|
1854
1875
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1876
|
+
var headers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1877
|
+
var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
1855
1878
|
|
|
1856
1879
|
if (params.params && url.search('registerNew') === -1) {
|
|
1857
1880
|
params.params.userId = params.params.userId ? params.params.userId : util["a" /* default */].getStorage('userId');
|
|
@@ -1868,19 +1891,17 @@ var base = {
|
|
|
1868
1891
|
params.userId = 'u1b9f3ce4731649e0b665af015d74c19b';
|
|
1869
1892
|
}
|
|
1870
1893
|
}
|
|
1871
|
-
return
|
|
1894
|
+
return axios_ajax(url, {
|
|
1872
1895
|
params: params
|
|
1873
|
-
});
|
|
1896
|
+
}, headers, format);
|
|
1874
1897
|
},
|
|
1875
|
-
post: function post(url) {
|
|
1876
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1877
|
-
|
|
1898
|
+
post: function post(url, params, headers, format) {
|
|
1878
1899
|
if (params.params) {
|
|
1879
1900
|
params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
|
|
1880
1901
|
} else {
|
|
1881
1902
|
params.userId = params.userId || util["a" /* default */].getStorage('userId');
|
|
1882
1903
|
}
|
|
1883
|
-
return
|
|
1904
|
+
return axios_ajax(url, params, headers, format, 'post');
|
|
1884
1905
|
}
|
|
1885
1906
|
};
|
|
1886
1907
|
/* harmony default export */ var axios = (base);
|
|
@@ -1890,19 +1911,19 @@ var http_request = function request(options) {
|
|
|
1890
1911
|
var fn = void 0;
|
|
1891
1912
|
switch (options.type) {
|
|
1892
1913
|
case 'post':
|
|
1893
|
-
fn = axios.post(options.url, options.params);
|
|
1914
|
+
fn = axios.post(options.url, options.params, options.headers, options.format);
|
|
1894
1915
|
break;
|
|
1895
1916
|
case 'POST':
|
|
1896
|
-
fn = axios.post(options.url, options.params);
|
|
1917
|
+
fn = axios.post(options.url, options.params, options.headers, options.format);
|
|
1897
1918
|
break;
|
|
1898
1919
|
case 'get':
|
|
1899
|
-
fn = axios.get(options.url, options.params);
|
|
1920
|
+
fn = axios.get(options.url, options.params, options.headers = {});
|
|
1900
1921
|
break;
|
|
1901
1922
|
case 'GET':
|
|
1902
|
-
fn = axios.get(options.url, options.params);
|
|
1923
|
+
fn = axios.get(options.url, options.params, options.headers = {});
|
|
1903
1924
|
break;
|
|
1904
1925
|
default:
|
|
1905
|
-
fn = axios.get(options.url, options.params);
|
|
1926
|
+
fn = axios.get(options.url, options.params, options.headers = {});
|
|
1906
1927
|
}
|
|
1907
1928
|
return fn;
|
|
1908
1929
|
};
|
|
@@ -1961,25 +1982,25 @@ var http_request = function request(options) {
|
|
|
1961
1982
|
/* 4 */
|
|
1962
1983
|
/***/ (function(module, exports) {
|
|
1963
1984
|
|
|
1964
|
-
module.exports = require("
|
|
1985
|
+
module.exports = require("eoss-mobile-vant");
|
|
1965
1986
|
|
|
1966
1987
|
/***/ }),
|
|
1967
1988
|
/* 5 */
|
|
1968
1989
|
/***/ (function(module, exports) {
|
|
1969
1990
|
|
|
1970
|
-
module.exports = require("eoss-
|
|
1991
|
+
module.exports = require("@eoss-design/color");
|
|
1971
1992
|
|
|
1972
1993
|
/***/ }),
|
|
1973
1994
|
/* 6 */
|
|
1974
1995
|
/***/ (function(module, exports) {
|
|
1975
1996
|
|
|
1976
|
-
module.exports = require("
|
|
1997
|
+
module.exports = require("axios");
|
|
1977
1998
|
|
|
1978
1999
|
/***/ }),
|
|
1979
2000
|
/* 7 */
|
|
1980
2001
|
/***/ (function(module, exports) {
|
|
1981
2002
|
|
|
1982
|
-
module.exports = require("
|
|
2003
|
+
module.exports = require("qs");
|
|
1983
2004
|
|
|
1984
2005
|
/***/ }),
|
|
1985
2006
|
/* 8 */
|
|
@@ -2999,7 +3020,7 @@ var Message_component = Object(componentNormalizer["a" /* default */])(
|
|
|
2999
3020
|
|
|
3000
3021
|
/* harmony default export */ var Message = (Message_component.exports);
|
|
3001
3022
|
// EXTERNAL MODULE: external "eoss-mobile-vant"
|
|
3002
|
-
var external_eoss_mobile_vant_ = __webpack_require__(
|
|
3023
|
+
var external_eoss_mobile_vant_ = __webpack_require__(4);
|
|
3003
3024
|
|
|
3004
3025
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=script&lang=js&
|
|
3005
3026
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -3529,8 +3550,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3529
3550
|
)
|
|
3530
3551
|
|
|
3531
3552
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
3532
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
3533
|
-
var
|
|
3553
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=0d62a0b2&
|
|
3554
|
+
var Handlevue_type_template_id_0d62a0b2_render = function () {
|
|
3534
3555
|
var _vm = this
|
|
3535
3556
|
var _h = _vm.$createElement
|
|
3536
3557
|
var _c = _vm._self._c || _h
|
|
@@ -3918,6 +3939,7 @@ var Handlevue_type_template_id_0b00e17b_render = function () {
|
|
|
3918
3939
|
paddingTop: _vm.paddingTop,
|
|
3919
3940
|
nextUserList: _vm.nextUserList,
|
|
3920
3941
|
baseUrl: _vm.apiBaseUrl,
|
|
3942
|
+
tabs: "employee,persongroup",
|
|
3921
3943
|
disabled:
|
|
3922
3944
|
!_vm.isCustomUser ||
|
|
3923
3945
|
_vm.isCurrentNodeForbiddenChangeCandidate ==
|
|
@@ -4519,11 +4541,11 @@ var Handlevue_type_template_id_0b00e17b_render = function () {
|
|
|
4519
4541
|
1
|
|
4520
4542
|
)
|
|
4521
4543
|
}
|
|
4522
|
-
var
|
|
4523
|
-
|
|
4544
|
+
var Handlevue_type_template_id_0d62a0b2_staticRenderFns = []
|
|
4545
|
+
Handlevue_type_template_id_0d62a0b2_render._withStripped = true
|
|
4524
4546
|
|
|
4525
4547
|
|
|
4526
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
4548
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=0d62a0b2&
|
|
4527
4549
|
|
|
4528
4550
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=d478fb96&
|
|
4529
4551
|
var Rejectvue_type_template_id_d478fb96_render = function () {
|
|
@@ -5588,6 +5610,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5588
5610
|
//
|
|
5589
5611
|
//
|
|
5590
5612
|
//
|
|
5613
|
+
//
|
|
5591
5614
|
|
|
5592
5615
|
|
|
5593
5616
|
|
|
@@ -6523,8 +6546,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6523
6546
|
|
|
6524
6547
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
6525
6548
|
components_Handlevue_type_script_lang_js_,
|
|
6526
|
-
|
|
6527
|
-
|
|
6549
|
+
Handlevue_type_template_id_0d62a0b2_render,
|
|
6550
|
+
Handlevue_type_template_id_0d62a0b2_staticRenderFns,
|
|
6528
6551
|
false,
|
|
6529
6552
|
null,
|
|
6530
6553
|
null,
|