eoss-ui 0.4.52 → 0.4.53
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 +3 -0
- package/lib/button.js +3 -0
- package/lib/checkbox-group.js +3 -0
- package/lib/data-table-form.js +3 -0
- package/lib/data-table.js +3 -0
- package/lib/date-picker.js +3 -0
- package/lib/dialog.js +3 -0
- package/lib/eoss-ui.common.js +59 -100
- package/lib/flow-group.js +3 -0
- package/lib/flow-list.js +3 -0
- package/lib/flow.js +49 -94
- package/lib/form.js +3 -0
- package/lib/handle-user.js +3 -0
- package/lib/handler.js +3 -0
- package/lib/index.js +1 -1
- package/lib/input-number.js +3 -0
- package/lib/input.js +3 -0
- package/lib/login.js +3 -0
- package/lib/main.js +3 -0
- package/lib/mainComp.js +3 -0
- package/lib/nav.js +3 -0
- package/lib/page.js +3 -0
- package/lib/player.js +3 -0
- package/lib/qr-code.js +3 -0
- package/lib/radio-group.js +3 -0
- package/lib/select-ganged.js +3 -0
- package/lib/select.js +3 -0
- package/lib/selector-panel.js +3 -0
- package/lib/selector.js +3 -0
- package/lib/sizer.js +3 -0
- package/lib/steps.js +3 -0
- package/lib/switch.js +3 -0
- package/lib/table-form.js +3 -0
- package/lib/tabs.js +3 -0
- package/lib/tips.js +3 -0
- package/lib/tree-group.js +3 -0
- package/lib/tree.js +3 -0
- package/lib/upload.js +3 -0
- package/lib/utils/util.js +3 -0
- package/lib/wujie.js +3 -0
- package/lib/wxlogin.js +3 -0
- package/package.json +1 -1
- package/packages/flow/src/main.vue +7 -9
- package/packages/flow/src/startTaskRead.vue +2 -6
- package/src/index.js +1 -1
- package/src/utils/util.js +2 -0
package/lib/input-number.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/input.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/login.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/main.js
CHANGED
|
@@ -101,6 +101,8 @@ module.exports =
|
|
|
101
101
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
102
102
|
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; };
|
|
103
103
|
|
|
104
|
+
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; };
|
|
105
|
+
|
|
104
106
|
/**
|
|
105
107
|
* 新封装公告方法规范:
|
|
106
108
|
* 1.方法顺序按字母顺序排列
|
|
@@ -204,6 +206,7 @@ var ajax = function ajax(_ref) {
|
|
|
204
206
|
});
|
|
205
207
|
// 请求拦截
|
|
206
208
|
http.interceptors.request.use(function (config) {
|
|
209
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
207
210
|
config.headers.common = getStorage();
|
|
208
211
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
209
212
|
var requestKey = getRequestKey(config);
|
package/lib/mainComp.js
CHANGED
|
@@ -101,6 +101,8 @@ module.exports =
|
|
|
101
101
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
102
102
|
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; };
|
|
103
103
|
|
|
104
|
+
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; };
|
|
105
|
+
|
|
104
106
|
/**
|
|
105
107
|
* 新封装公告方法规范:
|
|
106
108
|
* 1.方法顺序按字母顺序排列
|
|
@@ -204,6 +206,7 @@ var ajax = function ajax(_ref) {
|
|
|
204
206
|
});
|
|
205
207
|
// 请求拦截
|
|
206
208
|
http.interceptors.request.use(function (config) {
|
|
209
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
207
210
|
config.headers.common = getStorage();
|
|
208
211
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
209
212
|
var requestKey = getRequestKey(config);
|
package/lib/nav.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/page.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/player.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/qr-code.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/radio-group.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/select-ganged.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/select.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/selector-panel.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/selector.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/sizer.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/steps.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/switch.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/table-form.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/tabs.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/tips.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/tree-group.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/tree.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/upload.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/utils/util.js
CHANGED
|
@@ -2,6 +2,8 @@ exports.__esModule = true;
|
|
|
2
2
|
|
|
3
3
|
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; };
|
|
4
4
|
|
|
5
|
+
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; };
|
|
6
|
+
|
|
5
7
|
var _api = require('../config/api');
|
|
6
8
|
|
|
7
9
|
var _axios = require('axios');
|
|
@@ -120,6 +122,7 @@ var ajax = function ajax(_ref) {
|
|
|
120
122
|
});
|
|
121
123
|
// 请求拦截
|
|
122
124
|
http.interceptors.request.use(function (config) {
|
|
125
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
123
126
|
config.headers.common = getStorage();
|
|
124
127
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
125
128
|
var requestKey = getRequestKey(config);
|
package/lib/wujie.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/lib/wxlogin.js
CHANGED
|
@@ -102,6 +102,8 @@ module.exports =
|
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
103
103
|
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; };
|
|
104
104
|
|
|
105
|
+
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; };
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* 新封装公告方法规范:
|
|
107
109
|
* 1.方法顺序按字母顺序排列
|
|
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
|
|
|
205
207
|
});
|
|
206
208
|
// 请求拦截
|
|
207
209
|
http.interceptors.request.use(function (config) {
|
|
210
|
+
config.header && (config.headers = _extends({}, config.headers, config.header));
|
|
208
211
|
config.headers.common = getStorage();
|
|
209
212
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
210
213
|
var requestKey = getRequestKey(config);
|
package/package.json
CHANGED
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
/>
|
|
214
214
|
</el-form-item>
|
|
215
215
|
<el-form-item
|
|
216
|
+
v-if="isNextUser"
|
|
216
217
|
:prop="isShowNextUser ? 'nextUserId' : 'nextOrgId'"
|
|
217
218
|
:label="isShowNextUser ? '下步办理人' : '办理对象'"
|
|
218
219
|
>
|
|
@@ -242,7 +243,7 @@
|
|
|
242
243
|
:tabs="nextUserTabs"
|
|
243
244
|
/>
|
|
244
245
|
</el-form-item>
|
|
245
|
-
<el-form-item
|
|
246
|
+
<!-- <el-form-item
|
|
246
247
|
v-if="isHideCurrentOrg"
|
|
247
248
|
prop="nextCurrentOrgObj"
|
|
248
249
|
:label="currentOrgName ? currentOrgName : '本单位'"
|
|
@@ -256,7 +257,7 @@
|
|
|
256
257
|
:types="['department', 'employee']"
|
|
257
258
|
:params="{ filid: userModel.orgId }"
|
|
258
259
|
/>
|
|
259
|
-
</el-form-item>
|
|
260
|
+
</el-form-item> -->
|
|
260
261
|
<TimeLimit
|
|
261
262
|
v-if="nodeType !== 0 && isLimitedTimeHandling === 1"
|
|
262
263
|
:newsList="newsList"
|
|
@@ -598,7 +599,6 @@ import {
|
|
|
598
599
|
taskHandleHtml
|
|
599
600
|
} from 'eoss-ui/src/config/api';
|
|
600
601
|
import util from 'eoss-ui/src/utils/util';
|
|
601
|
-
import qs from 'qs';
|
|
602
602
|
export default {
|
|
603
603
|
name: 'EsFlow',
|
|
604
604
|
componentName: 'EsFlow',
|
|
@@ -970,13 +970,10 @@ export default {
|
|
|
970
970
|
url: taskReadHtml,
|
|
971
971
|
params: { taskAction: 'complete' },
|
|
972
972
|
headers: {
|
|
973
|
-
Accept: 'application/json,text/plain'
|
|
974
|
-
'Content-Type':
|
|
975
|
-
' application/x-www-form-urlencoded; charset=UTF-8'
|
|
973
|
+
Accept: 'application/json,text/plain'
|
|
976
974
|
},
|
|
977
975
|
method: 'post',
|
|
978
|
-
|
|
979
|
-
data: qs.stringify(params)
|
|
976
|
+
data: params
|
|
980
977
|
})
|
|
981
978
|
.then((res) => {
|
|
982
979
|
const { status, message } = res;
|
|
@@ -1969,6 +1966,7 @@ export default {
|
|
|
1969
1966
|
this.getNodeInfo();
|
|
1970
1967
|
} else {
|
|
1971
1968
|
if (res.status === 'taskCompleted') {
|
|
1969
|
+
this.$emit('shrink', true)
|
|
1972
1970
|
this.shrinkAbled = true;
|
|
1973
1971
|
this.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
1974
1972
|
} else {
|
|
@@ -2149,7 +2147,7 @@ export default {
|
|
|
2149
2147
|
this.nextNode.isRemoveSign != '1' &&
|
|
2150
2148
|
this.isSpecial &&
|
|
2151
2149
|
!this.isReject &&
|
|
2152
|
-
this.nodeInfos.length != 0
|
|
2150
|
+
this.nodeInfos.length != 0 && this.isNextUser
|
|
2153
2151
|
) {
|
|
2154
2152
|
if (this.isShowNextUser) {
|
|
2155
2153
|
if (
|
|
@@ -152,7 +152,6 @@ import {
|
|
|
152
152
|
} from 'eoss-ui/src/config/api';
|
|
153
153
|
import util from 'eoss-ui/src/utils/util';
|
|
154
154
|
import SelectUser from './selectUser.vue';
|
|
155
|
-
import qs from 'qs';
|
|
156
155
|
export default {
|
|
157
156
|
name: 'StartTaskRead',
|
|
158
157
|
components: {
|
|
@@ -497,13 +496,10 @@ export default {
|
|
|
497
496
|
url: taskReadHtml,
|
|
498
497
|
params: { taskAction: this.type },
|
|
499
498
|
headers: {
|
|
500
|
-
Accept: 'application/json,text/plain'
|
|
501
|
-
'Content-Type':
|
|
502
|
-
' application/x-www-form-urlencoded; charset=UTF-8'
|
|
499
|
+
Accept: 'application/json,text/plain'
|
|
503
500
|
},
|
|
504
501
|
method: 'post',
|
|
505
|
-
|
|
506
|
-
data: qs.stringify(params)
|
|
502
|
+
data: params
|
|
507
503
|
})
|
|
508
504
|
.then((res) => {
|
|
509
505
|
const { message, status } = res;
|
package/src/index.js
CHANGED
package/src/utils/util.js
CHANGED
|
@@ -94,6 +94,8 @@ const ajax = function ({
|
|
|
94
94
|
// 请求拦截
|
|
95
95
|
http.interceptors.request.use(
|
|
96
96
|
config => {
|
|
97
|
+
config.header &&
|
|
98
|
+
(config.headers = { ...config.headers, ...config.header });
|
|
97
99
|
config.headers.common = getStorage();
|
|
98
100
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
99
101
|
let requestKey = getRequestKey(config);
|