eoss-mobiles 0.2.44 → 0.2.46

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.
Files changed (55) hide show
  1. package/lib/action-sheet.js +2 -2
  2. package/lib/button-group.js +2 -2
  3. package/lib/button.js +2 -2
  4. package/lib/calendar.js +2 -2
  5. package/lib/cascader.js +2 -2
  6. package/lib/cell.js +2 -2
  7. package/lib/checkbox.js +5 -5
  8. package/lib/circle.js +2 -2
  9. package/lib/count-down.js +2 -2
  10. package/lib/date.js +2 -2
  11. package/lib/empty.js +2 -2
  12. package/lib/eoss-mobile.common.js +633 -205
  13. package/lib/esign.js +2 -2
  14. package/lib/field.js +2 -2
  15. package/lib/flow-btn.js +5 -5
  16. package/lib/flow-list.js +5 -5
  17. package/lib/flow.js +42 -32
  18. package/lib/form.js +2 -2
  19. package/lib/grid-item.js +2 -2
  20. package/lib/grid.js +576 -157
  21. package/lib/image-preview.js +2 -2
  22. package/lib/image.js +2 -2
  23. package/lib/index.js +1 -1
  24. package/lib/list.js +2 -2
  25. package/lib/loading.js +2 -2
  26. package/lib/nav-bar.js +2 -2
  27. package/lib/notice-bar.js +2 -2
  28. package/lib/pagination.js +2 -2
  29. package/lib/picker.js +9 -7
  30. package/lib/popover.js +2 -2
  31. package/lib/popup.js +2 -2
  32. package/lib/pull-refresh.js +2 -2
  33. package/lib/radio.js +6 -5
  34. package/lib/rate.js +2 -2
  35. package/lib/retrial-auth.js +5 -5
  36. package/lib/search.js +2 -2
  37. package/lib/selector.js +6 -5
  38. package/lib/skeleton.js +2 -2
  39. package/lib/stepper.js +2 -2
  40. package/lib/swipe.js +2 -2
  41. package/lib/switch.js +2 -2
  42. package/lib/tab.js +2 -2
  43. package/lib/table-column.js +6 -5
  44. package/lib/table.js +7 -7
  45. package/lib/tabs.js +2 -2
  46. package/lib/tag.js +2 -2
  47. package/lib/uploader.js +2 -2
  48. package/lib/utils/axios.js +3 -3
  49. package/package.json +3 -1
  50. package/packages/flow/src/components/Handle.vue +29 -16
  51. package/packages/flow/src/components/StartFlow.vue +9 -9
  52. package/packages/grid/src/main.vue +254 -70
  53. package/packages/picker/src/main.vue +1 -0
  54. package/src/index.js +1 -1
  55. package/src/utils/axios.js +3 -3
package/lib/list.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 33);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 34);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 33:
195
+ /***/ 34:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/loading.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 15);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 16);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 15:
195
+ /***/ 16:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/nav-bar.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 32);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 33);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 32:
195
+ /***/ 33:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/notice-bar.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 54);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 55);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 54:
195
+ /***/ 55:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/pagination.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 50);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 51);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 50:
195
+ /***/ 51:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/picker.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 20);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 21);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -1745,14 +1745,14 @@ var axios_ajax = function ajax(url) {
1745
1745
  baseURL: apiUrl,
1746
1746
  timeout: 60000,
1747
1747
  headers: {
1748
- // clientKey: 'csjk'
1748
+ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
1749
1749
  },
1750
1750
  withCredentials: false
1751
1751
  });
1752
1752
  http.interceptors.request.use(function (config) {
1753
1753
  if ((params.params || params) instanceof FormData === false) {
1754
1754
  if (type === 'post' && !format) {
1755
- config.params = external_qs_default.a.stringify(params.params || params);
1755
+ config.data = external_qs_default.a.stringify(params.params || params);
1756
1756
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1757
1757
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1758
1758
  }
@@ -1803,6 +1803,7 @@ var axios_ajax = function ajax(url) {
1803
1803
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1804
1804
  delete config.headers.deviceId;
1805
1805
  }
1806
+
1806
1807
  return config;
1807
1808
  }, function (error) {
1808
1809
  return Promise.error(error);
@@ -1907,7 +1908,6 @@ var base = {
1907
1908
  }, headers, format);
1908
1909
  },
1909
1910
  post: function post(url, params, headers, format) {
1910
- console.log(params, 'params');
1911
1911
  if (params.params) {
1912
1912
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1913
1913
  } else {
@@ -2033,14 +2033,15 @@ module.exports = require("sm-crypto");
2033
2033
  /* 17 */,
2034
2034
  /* 18 */,
2035
2035
  /* 19 */,
2036
- /* 20 */
2036
+ /* 20 */,
2037
+ /* 21 */
2037
2038
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2038
2039
 
2039
2040
  "use strict";
2040
2041
  // ESM COMPAT FLAG
2041
2042
  __webpack_require__.r(__webpack_exports__);
2042
2043
 
2043
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=6f8d4ed8&
2044
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=6b7f8129&
2044
2045
  var render = function () {
2045
2046
  var _vm = this
2046
2047
  var _h = _vm.$createElement
@@ -2312,7 +2313,7 @@ var staticRenderFns = []
2312
2313
  render._withStripped = true
2313
2314
 
2314
2315
 
2315
- // CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=6f8d4ed8&
2316
+ // CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=6b7f8129&
2316
2317
 
2317
2318
  // EXTERNAL MODULE: ./src/config/api.js
2318
2319
  var api = __webpack_require__(2);
@@ -2661,6 +2662,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2661
2662
 
2662
2663
  methods: {
2663
2664
  handleClick: function handleClick(val) {
2665
+ if (this.disabled || this.readonly) return;
2664
2666
  if (this.linkTag) {
2665
2667
  this.$emit('tagClick', val);
2666
2668
  } else {
package/lib/popover.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 36);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 37);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 36:
195
+ /***/ 37:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/popup.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 47);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 48);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 47:
195
+ /***/ 48:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 53);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 54);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 53:
195
+ /***/ 54:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/radio.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 19);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 20);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -1745,14 +1745,14 @@ var axios_ajax = function ajax(url) {
1745
1745
  baseURL: apiUrl,
1746
1746
  timeout: 60000,
1747
1747
  headers: {
1748
- // clientKey: 'csjk'
1748
+ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
1749
1749
  },
1750
1750
  withCredentials: false
1751
1751
  });
1752
1752
  http.interceptors.request.use(function (config) {
1753
1753
  if ((params.params || params) instanceof FormData === false) {
1754
1754
  if (type === 'post' && !format) {
1755
- config.params = external_qs_default.a.stringify(params.params || params);
1755
+ config.data = external_qs_default.a.stringify(params.params || params);
1756
1756
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1757
1757
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1758
1758
  }
@@ -1803,6 +1803,7 @@ var axios_ajax = function ajax(url) {
1803
1803
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1804
1804
  delete config.headers.deviceId;
1805
1805
  }
1806
+
1806
1807
  return config;
1807
1808
  }, function (error) {
1808
1809
  return Promise.error(error);
@@ -1907,7 +1908,6 @@ var base = {
1907
1908
  }, headers, format);
1908
1909
  },
1909
1910
  post: function post(url, params, headers, format) {
1910
- console.log(params, 'params');
1911
1911
  if (params.params) {
1912
1912
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1913
1913
  } else {
@@ -2032,7 +2032,8 @@ module.exports = require("sm-crypto");
2032
2032
  /* 16 */,
2033
2033
  /* 17 */,
2034
2034
  /* 18 */,
2035
- /* 19 */
2035
+ /* 19 */,
2036
+ /* 20 */
2036
2037
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2037
2038
 
2038
2039
  "use strict";
package/lib/rate.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 45);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 46);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 45:
195
+ /***/ 46:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 52);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 53);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1749,14 +1749,14 @@ var axios_ajax = function ajax(url) {
1749
1749
  baseURL: apiUrl,
1750
1750
  timeout: 60000,
1751
1751
  headers: {
1752
- // clientKey: 'csjk'
1752
+ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
1753
1753
  },
1754
1754
  withCredentials: false
1755
1755
  });
1756
1756
  http.interceptors.request.use(function (config) {
1757
1757
  if ((params.params || params) instanceof FormData === false) {
1758
1758
  if (type === 'post' && !format) {
1759
- config.params = external_qs_default.a.stringify(params.params || params);
1759
+ config.data = external_qs_default.a.stringify(params.params || params);
1760
1760
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1761
1761
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1762
1762
  }
@@ -1807,6 +1807,7 @@ var axios_ajax = function ajax(url) {
1807
1807
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1808
1808
  delete config.headers.deviceId;
1809
1809
  }
1810
+
1810
1811
  return config;
1811
1812
  }, function (error) {
1812
1813
  return Promise.error(error);
@@ -1911,7 +1912,6 @@ var base = {
1911
1912
  }, headers, format);
1912
1913
  },
1913
1914
  post: function post(url, params, headers, format) {
1914
- console.log(params, 'params');
1915
1915
  if (params.params) {
1916
1916
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1917
1917
  } else {
@@ -2011,7 +2011,7 @@ module.exports = require("@eoss-design/color");
2011
2011
 
2012
2012
  /***/ }),
2013
2013
 
2014
- /***/ 52:
2014
+ /***/ 53:
2015
2015
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2016
2016
 
2017
2017
  "use strict";
package/lib/search.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 28);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 29);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 28:
195
+ /***/ 29:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/selector.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 12);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 13);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -1745,14 +1745,14 @@ var axios_ajax = function ajax(url) {
1745
1745
  baseURL: apiUrl,
1746
1746
  timeout: 60000,
1747
1747
  headers: {
1748
- // clientKey: 'csjk'
1748
+ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
1749
1749
  },
1750
1750
  withCredentials: false
1751
1751
  });
1752
1752
  http.interceptors.request.use(function (config) {
1753
1753
  if ((params.params || params) instanceof FormData === false) {
1754
1754
  if (type === 'post' && !format) {
1755
- config.params = external_qs_default.a.stringify(params.params || params);
1755
+ config.data = external_qs_default.a.stringify(params.params || params);
1756
1756
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1757
1757
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1758
1758
  }
@@ -1803,6 +1803,7 @@ var axios_ajax = function ajax(url) {
1803
1803
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1804
1804
  delete config.headers.deviceId;
1805
1805
  }
1806
+
1806
1807
  return config;
1807
1808
  }, function (error) {
1808
1809
  return Promise.error(error);
@@ -1907,7 +1908,6 @@ var base = {
1907
1908
  }, headers, format);
1908
1909
  },
1909
1910
  post: function post(url, params, headers, format) {
1910
- console.log(params, 'params');
1911
1911
  if (params.params) {
1912
1912
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1913
1913
  } else {
@@ -2025,7 +2025,8 @@ module.exports = require("sm-crypto");
2025
2025
  /* 9 */,
2026
2026
  /* 10 */,
2027
2027
  /* 11 */,
2028
- /* 12 */
2028
+ /* 12 */,
2029
+ /* 13 */
2029
2030
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2030
2031
 
2031
2032
  "use strict";
package/lib/skeleton.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 41);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 42);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 41:
195
+ /***/ 42:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/stepper.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 48);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 49);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 48:
195
+ /***/ 49:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/swipe.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 51);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 52);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 51:
195
+ /***/ 52:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/switch.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 23);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 24);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 23:
195
+ /***/ 24:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/tab.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 30);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 31);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 30:
195
+ /***/ 31:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 14);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 15);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -1745,14 +1745,14 @@ var axios_ajax = function ajax(url) {
1745
1745
  baseURL: apiUrl,
1746
1746
  timeout: 60000,
1747
1747
  headers: {
1748
- // clientKey: 'csjk'
1748
+ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
1749
1749
  },
1750
1750
  withCredentials: false
1751
1751
  });
1752
1752
  http.interceptors.request.use(function (config) {
1753
1753
  if ((params.params || params) instanceof FormData === false) {
1754
1754
  if (type === 'post' && !format) {
1755
- config.params = external_qs_default.a.stringify(params.params || params);
1755
+ config.data = external_qs_default.a.stringify(params.params || params);
1756
1756
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1757
1757
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1758
1758
  }
@@ -1803,6 +1803,7 @@ var axios_ajax = function ajax(url) {
1803
1803
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1804
1804
  delete config.headers.deviceId;
1805
1805
  }
1806
+
1806
1807
  return config;
1807
1808
  }, function (error) {
1808
1809
  return Promise.error(error);
@@ -1907,7 +1908,6 @@ var base = {
1907
1908
  }, headers, format);
1908
1909
  },
1909
1910
  post: function post(url, params, headers, format) {
1910
- console.log(params, 'params');
1911
1911
  if (params.params) {
1912
1912
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1913
1913
  } else {
@@ -2032,7 +2032,8 @@ module.exports = require("element-ui");
2032
2032
  /* 11 */,
2033
2033
  /* 12 */,
2034
2034
  /* 13 */,
2035
- /* 14 */
2035
+ /* 14 */,
2036
+ /* 15 */
2036
2037
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2037
2038
 
2038
2039
  "use strict";
package/lib/table.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 55);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 56);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1581,7 +1581,7 @@ function normalizeComponent(
1581
1581
 
1582
1582
  /***/ }),
1583
1583
 
1584
- /***/ 10:
1584
+ /***/ 11:
1585
1585
  /***/ (function(module, exports) {
1586
1586
 
1587
1587
  module.exports = require("element-ui/lib/theme-chalk/table.css");
@@ -1624,14 +1624,14 @@ var axios_ajax = function ajax(url) {
1624
1624
  baseURL: apiUrl,
1625
1625
  timeout: 60000,
1626
1626
  headers: {
1627
- // clientKey: 'csjk'
1627
+ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
1628
1628
  },
1629
1629
  withCredentials: false
1630
1630
  });
1631
1631
  http.interceptors.request.use(function (config) {
1632
1632
  if ((params.params || params) instanceof FormData === false) {
1633
1633
  if (type === 'post' && !format) {
1634
- config.params = external_qs_default.a.stringify(params.params || params);
1634
+ config.data = external_qs_default.a.stringify(params.params || params);
1635
1635
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1636
1636
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1637
1637
  }
@@ -1682,6 +1682,7 @@ var axios_ajax = function ajax(url) {
1682
1682
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1683
1683
  delete config.headers.deviceId;
1684
1684
  }
1685
+
1685
1686
  return config;
1686
1687
  }, function (error) {
1687
1688
  return Promise.error(error);
@@ -1786,7 +1787,6 @@ var base = {
1786
1787
  }, headers, format);
1787
1788
  },
1788
1789
  post: function post(url, params, headers, format) {
1789
- console.log(params, 'params');
1790
1790
  if (params.params) {
1791
1791
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1792
1792
  } else {
@@ -1886,7 +1886,7 @@ module.exports = require("@eoss-design/color");
1886
1886
 
1887
1887
  /***/ }),
1888
1888
 
1889
- /***/ 55:
1889
+ /***/ 56:
1890
1890
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1891
1891
 
1892
1892
  "use strict";
@@ -1897,7 +1897,7 @@ __webpack_require__.r(__webpack_exports__);
1897
1897
  var external_element_ui_ = __webpack_require__(9);
1898
1898
 
1899
1899
  // EXTERNAL MODULE: external "element-ui/lib/theme-chalk/table.css"
1900
- var table_css_ = __webpack_require__(10);
1900
+ var table_css_ = __webpack_require__(11);
1901
1901
 
1902
1902
  // EXTERNAL MODULE: ./src/utils/http.js + 1 modules
1903
1903
  var http = __webpack_require__(3);
package/lib/tabs.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 29);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 30);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 29:
195
+ /***/ 30:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/tag.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 31);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 32);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 31:
195
+ /***/ 32:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";