eoss-ui 0.4.52 → 0.4.54

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/button.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);
@@ -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/data-table.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);
@@ -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/dialog.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);
@@ -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);
@@ -28064,8 +28067,8 @@ form_src_main.install = function (Vue) {
28064
28067
  };
28065
28068
 
28066
28069
  /* harmony default export */ var packages_form = (form_src_main);
28067
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=9783bc8c&
28068
- var mainvue_type_template_id_9783bc8c_render = function () {
28070
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=88cb49c6&
28071
+ var mainvue_type_template_id_88cb49c6_render = function () {
28069
28072
  var _vm = this
28070
28073
  var _h = _vm.$createElement
28071
28074
  var _c = _vm._self._c || _h
@@ -28679,91 +28682,51 @@ var mainvue_type_template_id_9783bc8c_render = function () {
28679
28682
  1
28680
28683
  )
28681
28684
  : _vm._e(),
28682
- _c(
28683
- "el-form-item",
28684
- {
28685
- attrs: {
28686
- prop: _vm.isShowNextUser
28687
- ? "nextUserId"
28688
- : "nextOrgId",
28689
- label: _vm.isShowNextUser
28690
- ? "下步办理人"
28691
- : "办理对象",
28692
- },
28693
- },
28694
- [
28695
- _c("SelectUser", {
28696
- attrs: {
28697
- nextUser: _vm.isShowNextUser
28698
- ? _vm.nextNode.nextUserId
28699
- : _vm.nextNode.nextOrgId,
28700
- radioList: _vm.radioList,
28701
- multiple: _vm.multiple,
28702
- isCustomUser: !_vm.isShowNextUser
28703
- ? 1
28704
- : _vm.isCustomUser,
28705
- isCurrentNodeForbiddenChangeCandidate:
28706
- _vm.isCurrentNodeForbiddenChangeCandidate,
28707
- options: _vm.options,
28708
- mix: _vm.multiple,
28709
- presetEdit: _vm.presetEdit,
28710
- selectUserList:
28711
- _vm.selectUserList,
28712
- types: _vm.nextUserTypes,
28713
- params: _vm.isShowNextUser
28714
- ? _vm.params
28715
- : {},
28716
- tabs: _vm.nextUserTabs,
28717
- },
28718
- on: {
28719
- change: function ($event) {
28720
- _vm.changeSelectUser(
28721
- $event,
28722
- _vm.isShowNextUser
28723
- ? "nextUserId"
28724
- : "nextOrgId",
28725
- true
28726
- )
28727
- },
28728
- },
28729
- }),
28730
- ],
28731
- 1
28732
- ),
28733
- _vm.isHideCurrentOrg
28685
+ _vm.isNextUser
28734
28686
  ? _c(
28735
28687
  "el-form-item",
28736
28688
  {
28737
28689
  attrs: {
28738
- prop: "nextCurrentOrgObj",
28739
- label: _vm.currentOrgName
28740
- ? _vm.currentOrgName
28741
- : "本单位",
28690
+ prop: _vm.isShowNextUser
28691
+ ? "nextUserId"
28692
+ : "nextOrgId",
28693
+ label: _vm.isShowNextUser
28694
+ ? "下步办理人"
28695
+ : "办理对象",
28742
28696
  },
28743
28697
  },
28744
28698
  [
28745
28699
  _c("SelectUser", {
28746
28700
  attrs: {
28747
- nextUser:
28748
- _vm.nextNode
28749
- .nextCurrentOrgObj,
28750
- multiple: "",
28751
- mix: "",
28701
+ nextUser: _vm.isShowNextUser
28702
+ ? _vm.nextNode.nextUserId
28703
+ : _vm.nextNode.nextOrgId,
28704
+ radioList: _vm.radioList,
28705
+ multiple: _vm.multiple,
28706
+ isCustomUser:
28707
+ !_vm.isShowNextUser
28708
+ ? 1
28709
+ : _vm.isCustomUser,
28710
+ isCurrentNodeForbiddenChangeCandidate:
28711
+ _vm.isCurrentNodeForbiddenChangeCandidate,
28712
+ options: _vm.options,
28713
+ mix: _vm.multiple,
28714
+ presetEdit: _vm.presetEdit,
28752
28715
  selectUserList:
28753
- _vm.selectNextCurrentOrgObjList,
28754
- types: [
28755
- "department",
28756
- "employee",
28757
- ],
28758
- params: {
28759
- filid: _vm.userModel.orgId,
28760
- },
28716
+ _vm.selectUserList,
28717
+ types: _vm.nextUserTypes,
28718
+ params: _vm.isShowNextUser
28719
+ ? _vm.params
28720
+ : {},
28721
+ tabs: _vm.nextUserTabs,
28761
28722
  },
28762
28723
  on: {
28763
28724
  change: function ($event) {
28764
28725
  _vm.changeSelectUser(
28765
28726
  $event,
28766
- "nextCurrentOrgObj",
28727
+ _vm.isShowNextUser
28728
+ ? "nextUserId"
28729
+ : "nextOrgId",
28767
28730
  true
28768
28731
  )
28769
28732
  },
@@ -29477,11 +29440,11 @@ var mainvue_type_template_id_9783bc8c_render = function () {
29477
29440
  )
29478
29441
  : _vm._e()
29479
29442
  }
29480
- var mainvue_type_template_id_9783bc8c_staticRenderFns = []
29481
- mainvue_type_template_id_9783bc8c_render._withStripped = true
29443
+ var mainvue_type_template_id_88cb49c6_staticRenderFns = []
29444
+ mainvue_type_template_id_88cb49c6_render._withStripped = true
29482
29445
 
29483
29446
 
29484
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=9783bc8c&
29447
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=88cb49c6&
29485
29448
 
29486
29449
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
29487
29450
  var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
@@ -34682,8 +34645,8 @@ var processReject_component = normalizeComponent(
34682
34645
  )
34683
34646
 
34684
34647
  /* harmony default export */ var processReject = (processReject_component.exports);
34685
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=95f78930&
34686
- var startTaskReadvue_type_template_id_95f78930_render = function () {
34648
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=31232218&
34649
+ var startTaskReadvue_type_template_id_31232218_render = function () {
34687
34650
  var _vm = this
34688
34651
  var _h = _vm.$createElement
34689
34652
  var _c = _vm._self._c || _h
@@ -35058,15 +35021,11 @@ var startTaskReadvue_type_template_id_95f78930_render = function () {
35058
35021
  1
35059
35022
  )
35060
35023
  }
35061
- var startTaskReadvue_type_template_id_95f78930_staticRenderFns = []
35062
- startTaskReadvue_type_template_id_95f78930_render._withStripped = true
35063
-
35024
+ var startTaskReadvue_type_template_id_31232218_staticRenderFns = []
35025
+ startTaskReadvue_type_template_id_31232218_render._withStripped = true
35064
35026
 
35065
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=95f78930&
35066
35027
 
35067
- // EXTERNAL MODULE: external "qs"
35068
- var external_qs_ = __webpack_require__(3);
35069
- var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
35028
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=31232218&
35070
35029
 
35071
35030
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
35072
35031
  var startTaskReadvue_type_script_lang_js_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; };
@@ -35220,7 +35179,6 @@ var startTaskReadvue_type_script_lang_js_components;
35220
35179
 
35221
35180
 
35222
35181
 
35223
-
35224
35182
  /* harmony default export */ var startTaskReadvue_type_script_lang_js_ = ({
35225
35183
  name: 'StartTaskRead',
35226
35184
  components: (startTaskReadvue_type_script_lang_js_components = {}, startTaskReadvue_type_script_lang_js_components[Option.name] = Option, startTaskReadvue_type_script_lang_js_components[selectUser.name] = selectUser, startTaskReadvue_type_script_lang_js_components),
@@ -35590,12 +35548,10 @@ var startTaskReadvue_type_script_lang_js_components;
35590
35548
  url: api["qb" /* taskReadHtml */],
35591
35549
  params: { taskAction: _this7.type },
35592
35550
  headers: {
35593
- Accept: 'application/json,text/plain',
35594
- 'Content-Type': ' application/x-www-form-urlencoded; charset=UTF-8'
35551
+ Accept: 'application/json,text/plain'
35595
35552
  },
35596
35553
  method: 'post',
35597
- format: false,
35598
- data: external_qs_default.a.stringify(params)
35554
+ data: params
35599
35555
  }).then(function (res) {
35600
35556
  var message = res.message,
35601
35557
  status = res.status;
@@ -35666,8 +35622,8 @@ var startTaskReadvue_type_script_lang_js_components;
35666
35622
 
35667
35623
  var startTaskRead_component = normalizeComponent(
35668
35624
  src_startTaskReadvue_type_script_lang_js_,
35669
- startTaskReadvue_type_template_id_95f78930_render,
35670
- startTaskReadvue_type_template_id_95f78930_staticRenderFns,
35625
+ startTaskReadvue_type_template_id_31232218_render,
35626
+ startTaskReadvue_type_template_id_31232218_staticRenderFns,
35671
35627
  false,
35672
35628
  null,
35673
35629
  null,
@@ -36964,7 +36920,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
36964
36920
  //
36965
36921
  //
36966
36922
  //
36967
-
36923
+ //
36968
36924
 
36969
36925
 
36970
36926
 
@@ -37309,12 +37265,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
37309
37265
  url: api["qb" /* taskReadHtml */],
37310
37266
  params: { taskAction: 'complete' },
37311
37267
  headers: {
37312
- Accept: 'application/json,text/plain',
37313
- 'Content-Type': ' application/x-www-form-urlencoded; charset=UTF-8'
37268
+ Accept: 'application/json,text/plain'
37314
37269
  },
37315
37270
  method: 'post',
37316
- format: false,
37317
- data: external_qs_default.a.stringify(params)
37271
+ data: params
37318
37272
  }).then(function (res) {
37319
37273
  var status = res.status,
37320
37274
  message = res.message;
@@ -38248,6 +38202,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38248
38202
  _this14.getNodeInfo();
38249
38203
  } else {
38250
38204
  if (res.status === 'taskCompleted') {
38205
+ _this14.$emit('shrink', true);
38251
38206
  _this14.shrinkAbled = true;
38252
38207
  _this14.$message.warning(res.message || '系统错误,请联系管理员!');
38253
38208
  } else {
@@ -38441,7 +38396,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38441
38396
  return _context.abrupt('return', _this18.handleVisible = true);
38442
38397
 
38443
38398
  case 3:
38444
- if (!(!_this18.endFlow && _this18.newTypeCode != 'fenyue' && !_this18.shrink && _this18.nextNode.isAddSign != '1' && _this18.nextNode.isRemoveSign != '1' && _this18.isSpecial && !_this18.isReject && _this18.nodeInfos.length != 0)) {
38399
+ if (!(!_this18.endFlow && _this18.newTypeCode != 'fenyue' && !_this18.shrink && _this18.nextNode.isAddSign != '1' && _this18.nextNode.isRemoveSign != '1' && _this18.isSpecial && !_this18.isReject && _this18.nodeInfos.length != 0 && _this18.isNextUser)) {
38445
38400
  _context.next = 11;
38446
38401
  break;
38447
38402
  }
@@ -38633,8 +38588,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
38633
38588
 
38634
38589
  var flow_src_main_component = normalizeComponent(
38635
38590
  packages_flow_src_mainvue_type_script_lang_js_,
38636
- mainvue_type_template_id_9783bc8c_render,
38637
- mainvue_type_template_id_9783bc8c_staticRenderFns,
38591
+ mainvue_type_template_id_88cb49c6_render,
38592
+ mainvue_type_template_id_88cb49c6_staticRenderFns,
38638
38593
  false,
38639
38594
  null,
38640
38595
  null,
@@ -43351,8 +43306,8 @@ label_src_main.install = function (Vue) {
43351
43306
  };
43352
43307
 
43353
43308
  /* harmony default export */ var packages_label = (label_src_main);
43354
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=23be641c&
43355
- var mainvue_type_template_id_23be641c_render = function () {
43309
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=9df7b90c&
43310
+ var mainvue_type_template_id_9df7b90c_render = function () {
43356
43311
  var _vm = this
43357
43312
  var _h = _vm.$createElement
43358
43313
  var _c = _vm._self._c || _h
@@ -43453,7 +43408,7 @@ var mainvue_type_template_id_23be641c_render = function () {
43453
43408
  { staticClass: "es-login-form-box" },
43454
43409
  [
43455
43410
  _vm.isShow(_vm.active) &&
43456
- (_vm.active == 0 || _vm.active == 2)
43411
+ (_vm.active == 0 || _vm.active == 2 || _vm.active == 12)
43457
43412
  ? [
43458
43413
  _c(
43459
43414
  "el-form",
@@ -43622,10 +43577,11 @@ var mainvue_type_template_id_23be641c_render = function () {
43622
43577
  name: "show",
43623
43578
  rawName: "v-show",
43624
43579
  value:
43625
- _vm.active == 2 &&
43580
+ (_vm.active == 2 ||
43581
+ _vm.active == 12) &&
43626
43582
  _vm.showVerifyCode,
43627
43583
  expression:
43628
- "active == 2 && showVerifyCode",
43584
+ "(active == 2 || active == 12) && showVerifyCode",
43629
43585
  },
43630
43586
  ],
43631
43587
  staticClass: "es-get-code",
@@ -44196,11 +44152,11 @@ var mainvue_type_template_id_23be641c_render = function () {
44196
44152
  )
44197
44153
  : _vm._e()
44198
44154
  }
44199
- var mainvue_type_template_id_23be641c_staticRenderFns = []
44200
- mainvue_type_template_id_23be641c_render._withStripped = true
44155
+ var mainvue_type_template_id_9df7b90c_staticRenderFns = []
44156
+ mainvue_type_template_id_9df7b90c_render._withStripped = true
44201
44157
 
44202
44158
 
44203
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=23be641c&
44159
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=9df7b90c&
44204
44160
 
44205
44161
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=4f5da52e&
44206
44162
  var resetPasswordvue_type_template_id_4f5da52e_render = function () {
@@ -45160,7 +45116,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45160
45116
  6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
45161
45117
  7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
45162
45118
  9: { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
45163
- 11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' }
45119
+ 11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' },
45120
+ 12: { type: '12', icon: 'es-icon-zhuanhuan', name: '双因素登录' }
45164
45121
  } : {
45165
45122
  0: { type: '0', icon: 'es-icon-jianpan', name: '账号登录' },
45166
45123
  1: { type: '1', icon: 'es-icon-ca', name: '证书登录' },
@@ -45173,7 +45130,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45173
45130
  type: '11',
45174
45131
  icon: 'es-icon-wodeyouxiang',
45175
45132
  name: '邮箱登录'
45176
- }
45133
+ },
45134
+ 12: { type: '12', icon: 'es-icon-zhuanhuan', name: '双因素登录' }
45177
45135
  };
45178
45136
  },
45179
45137
  icons: function icons() {
@@ -45481,7 +45439,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45481
45439
  this.app = res.appName || res.subsystemName;
45482
45440
  this.qrimg = res.qrimg || res.qrImg;
45483
45441
  this.loginModel = res.loginModel;
45484
- // this.loginModel = '0,3,11,6,9,2';
45442
+ // this.loginModel = '0,3,11,6,9,12';
45485
45443
  this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
45486
45444
  this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
45487
45445
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
@@ -45532,7 +45490,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45532
45490
  }
45533
45491
  var data = {};
45534
45492
  var flag = false;
45535
- if (this.active == 2) {
45493
+ if (this.active == 2 || this.active == 12) {
45536
45494
  if (!this.formData.username) {
45537
45495
  this.$refs.login.validateField('username');
45538
45496
  return false;
@@ -45577,7 +45535,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45577
45535
  }, 1000);
45578
45536
  utils_util["a" /* default */].ajax({
45579
45537
  method: 'post',
45580
- url: this.active == 2 ? this.getTwoFactorLoginCode : this.getLoginCode,
45538
+ url: this.active == 12 ? this.getTwoFactorLoginCode : this.getLoginCode,
45581
45539
  data: data
45582
45540
  }).then(function (res) {
45583
45541
  _this4.$message({
@@ -45615,7 +45573,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45615
45573
  }) : _this5.formData.password,
45616
45574
  identifyingCode: _this5.formData.identifyingCode,
45617
45575
  identifyingId: _this5.identifyingId
45618
- } : _this5.active == '2' ? {
45576
+ } : _this5.active == '12' ? {
45619
45577
  username: _this5.formData.username,
45620
45578
  password: _this5.secret && _this5.isEncrypt ? utils_util["a" /* default */].esmEncrypt({
45621
45579
  data: _this5.formData.password,
@@ -45659,7 +45617,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45659
45617
  var extUserBindHandleId = sessionStorage.getItem('extUserBindHandleId');
45660
45618
  utils_util["a" /* default */].ajax({
45661
45619
  method: 'post',
45662
- url: this.active == '0' ? this.actionUrl : this.active == '2' ? this.doTwoFactorLogin : this.doCodeLogin,
45620
+ url: this.active == '0' ? this.actionUrl : this.active == '12' ? this.doTwoFactorLogin : this.doCodeLogin,
45663
45621
  data: extUserBindHandleId ? login_src_mainvue_type_script_lang_js_extends({}, data, { extUserBindHandleId: extUserBindHandleId }) : data
45664
45622
  }).then(function (res) {
45665
45623
  _this6.submit = false;
@@ -45880,8 +45838,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
45880
45838
 
45881
45839
  var login_src_main_component = normalizeComponent(
45882
45840
  packages_login_src_mainvue_type_script_lang_js_,
45883
- mainvue_type_template_id_23be641c_render,
45884
- mainvue_type_template_id_23be641c_staticRenderFns,
45841
+ mainvue_type_template_id_9df7b90c_render,
45842
+ mainvue_type_template_id_9df7b90c_staticRenderFns,
45885
45843
  false,
45886
45844
  null,
45887
45845
  null,
@@ -71602,6 +71560,10 @@ mainvue_type_template_id_6da39de6_render._withStripped = true
71602
71560
 
71603
71561
  // CONCATENATED MODULE: ./packages/wxlogin/src/main.vue?vue&type=template&id=6da39de6&
71604
71562
 
71563
+ // EXTERNAL MODULE: external "qs"
71564
+ var external_qs_ = __webpack_require__(3);
71565
+ var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
71566
+
71605
71567
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/wxlogin/src/main.vue?vue&type=script&lang=js&
71606
71568
  //
71607
71569
  //
@@ -71807,7 +71769,7 @@ if (typeof window !== 'undefined' && window.Vue) {
71807
71769
  }
71808
71770
 
71809
71771
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
71810
- version: '0.4.52',
71772
+ version: '0.4.54',
71811
71773
  install: install,
71812
71774
  Button: packages_button,
71813
71775
  ButtonGroup: button_group,
package/lib/flow-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/flow-list.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);