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.
@@ -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);
@@ -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);
@@ -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);
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.4.52",
3
+ "version": "0.4.53",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -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
- format:false,
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
- format: false,
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
@@ -117,7 +117,7 @@ if (typeof window !== 'undefined' && window.Vue) {
117
117
  }
118
118
 
119
119
  export default {
120
- version: '0.4.52',
120
+ version: '0.4.53',
121
121
  install,
122
122
  Button,
123
123
  ButtonGroup,
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);