ecinc-cloud-yoabase 9.6.259 → 9.6.261

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.
@@ -14482,7 +14482,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "", ""]);
14482
14482
 
14483
14483
  /***/ }),
14484
14484
 
14485
- /***/ 9009:
14485
+ /***/ 5389:
14486
14486
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14487
14487
 
14488
14488
  "use strict";
@@ -14496,7 +14496,7 @@ __webpack_require__.r(__webpack_exports__);
14496
14496
 
14497
14497
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
14498
14498
  // Module
14499
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-323bdacd] .el-table__body-wrapper::-webkit-scrollbar{height:8px!important}[data-v-323bdacd] .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:12px}[data-v-323bdacd] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:12px;background-color:#f2f5fb}[data-v-323bdacd] .el-form .el-table__body .tdlbl{background:#f2f5fb!important}#new-busi-form[data-v-323bdacd]{height:100%;background:#f0f2f5}#new-busi-form .new-head[data-v-323bdacd]{height:68px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 20px;background:#fff}#new-busi-form .new-head[data-v-323bdacd],#new-busi-form .new-head .head-left[data-v-323bdacd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#new-busi-form .new-head .head-left img[data-v-323bdacd]{width:44px;height:44px}#new-busi-form .new-head .head-left .head-title[data-v-323bdacd]{margin-left:10px;margin-top:10px;font-size:var(--portalFontSize13);color:#999;font-weight:400}#new-busi-form .new-head .head-left .head-title .moduleTitle[data-v-323bdacd]{font-size:22px;line-height:29px}#new-busi-form .new-head .head-left .head-title .moduleT[data-v-323bdacd]{position:relative;font-weight:400;color:#999}#new-busi-form .new-head .head-left .head-title .sidebar-divide[data-v-323bdacd]{border-right:1px solid #ccc;margin:0 10px;height:14px}#new-busi-form .new-head .head-left .head-title .formTapBtn[data-v-323bdacd]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize13)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-323bdacd]{position:relative;margin-right:15px}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-323bdacd]{position:relative;color:var(--subjectColor);font-weight:700}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-323bdacd]:after{content:\"\";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--subjectColor)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-323bdacd]:hover{cursor:pointer;color:var(--subjectColor)}#new-busi-form .busi-box[data-v-323bdacd]{height:calc(100% - 68px);overflow:scroll}#new-busi-form .busi-box .busi-content[data-v-323bdacd]{width:calc(100% - 40px);padding-bottom:20px;background:#fff;min-height:100%;margin:0 auto;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);margin-top:20px}#new-busi-form .busi-box .busi-content .title-info[data-v-323bdacd]{height:93px;text-align:center;line-height:93px;font-size:24px;color:#000}#new-busi-form .busi-box .busi-content .busi-components[data-v-323bdacd]{width:87%;margin:0 auto;padding:0}@media (max-width:1600px){#new-busi-form .busi-box .busi-content[data-v-323bdacd]{width:calc(100% - 40px)}}@media (min-width:2120px){#new-busi-form .busi-box .busi-content[data-v-323bdacd]{width:calc(100% - 40px)}}#new-busi-form .busi-box[data-v-323bdacd]::-webkit-scrollbar{background-color:#f0f2f5;width:8px}#new-busi-form .busi-box[data-v-323bdacd]::-webkit-scrollbar-thumb{border-radius:12px}#new-busi-form .busi-box:hover.busi-box[data-v-323bdacd]::-webkit-scrollbar-thumb{background-color:#d5d6d8}#new-busi-form[data-v-323bdacd] .el-table .el-table__header-wrapper .el-table__header thead th{background:transparent!important}#new-busi-form[data-v-323bdacd] .el-form .el-table__body .tdlbl .required{position:absolute;left:6px}#new-busi-form[data-v-323bdacd] .el-table__cell.tdlbl{padding:4px 6px 4px 15px!important}#new-busi-form[data-v-323bdacd] .el-form .el-table__body .tdlbl{text-align:left}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw17{width:15.6%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw33{width:34.4%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw83{width:84.4%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw13{width:10.4%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw20{width:22.9%}#new-busi-form[data-v-323bdacd] .el-form .el-table.el-table--border td{border-right-color:#999!important;border-bottom-color:#999!important}#new-busi-form[data-v-323bdacd] .el-table--border .el-table__cell{border-right:1px solid #999}#new-busi-form[data-v-323bdacd] .el-form .el-table.el-table--border{border-color:#999}#new-busi-form .el-table--group[data-v-323bdacd]:after,#new-busi-form[data-v-323bdacd] .el-form .el-table:before,#new-busi-form[data-v-323bdacd] .el-table--border:after,#new-busi-form[data-v-323bdacd] .el-table:before{background-color:#999}#new-busi-form[data-v-323bdacd] .title-container{border-color:#fff!important}#new-busi-form[data-v-323bdacd] .title-container .has-bottom{border:1px solid #999;border-bottom:0}#new-busi-form[data-v-323bdacd] .el-form .el-table:after{background-color:#999}#new-busi-form[data-v-323bdacd] .el-table--border{border-color:#999}#new-busi-form[data-v-323bdacd] .el-tabs .el-tabs__header{width:60%;background-color:unset}#new-busi-form[data-v-323bdacd] .el-tabs__nav-wrap:after{height:0}#new-busi-form[data-v-323bdacd] .el-table td.el-table__cell,#new-busi-form[data-v-323bdacd] .el-table th.el-table__cell.is-leaf{border-bottom:1px solid #999}#new-busi-form[data-v-323bdacd] .toolbar-box .el-button{border:1px solid #999}#new-busi-form[data-v-323bdacd] .el-popover__reference-wrapper .el-button-group .toolbar-box{padding:0 1px 0 0}#new-busi-form.full-screen .busi-content[data-v-323bdacd]{width:calc(100% - 40px);min-width:1000px}#new-busi-form.full-screen .busi-content .busi-components[data-v-323bdacd]{width:87%;margin:0 auto;padding:0}@media (min-width:3840px){#new-busi-form.full-screen .busi-content[data-v-323bdacd]{width:3200px}}", ""]);
14499
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-82f049c4] .el-table__body-wrapper::-webkit-scrollbar{height:8px!important}[data-v-82f049c4] .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:12px}[data-v-82f049c4] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:12px;background-color:#f2f5fb}[data-v-82f049c4] .el-form .el-table__body .tdlbl{background:#f2f5fb!important}#new-busi-form[data-v-82f049c4]{height:100%;background:#f0f2f5}#new-busi-form .new-head[data-v-82f049c4]{height:68px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 20px;background:#fff}#new-busi-form .new-head[data-v-82f049c4],#new-busi-form .new-head .head-left[data-v-82f049c4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#new-busi-form .new-head .head-left img[data-v-82f049c4]{width:44px;height:44px}#new-busi-form .new-head .head-left .head-title[data-v-82f049c4]{margin-left:10px;margin-top:10px;font-size:var(--portalFontSize13);color:#999;font-weight:400}#new-busi-form .new-head .head-left .head-title .moduleTitle[data-v-82f049c4]{font-size:22px;line-height:29px}#new-busi-form .new-head .head-left .head-title .moduleT[data-v-82f049c4]{position:relative;font-weight:400;color:#999}#new-busi-form .new-head .head-left .head-title .sidebar-divide[data-v-82f049c4]{border-right:1px solid #ccc;margin:0 10px;height:14px}#new-busi-form .new-head .head-left .head-title .formTapBtn[data-v-82f049c4]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize13)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-82f049c4]{position:relative;margin-right:15px}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-82f049c4]{position:relative;color:var(--subjectColor);font-weight:700}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-82f049c4]:after{content:\"\";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--subjectColor)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-82f049c4]:hover{cursor:pointer;color:var(--subjectColor)}#new-busi-form .busi-box[data-v-82f049c4]{height:calc(100% - 68px);overflow:scroll}#new-busi-form .busi-box .busi-content[data-v-82f049c4]{width:calc(100% - 40px);padding-bottom:20px;background:#fff;min-height:100%;margin:0 auto;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);margin-top:20px}#new-busi-form .busi-box .busi-content .title-info[data-v-82f049c4]{height:93px;text-align:center;line-height:93px;font-size:24px;color:#000}#new-busi-form .busi-box .busi-content .busi-components[data-v-82f049c4]{width:87%;margin:0 auto;padding:0}@media (max-width:1600px){#new-busi-form .busi-box .busi-content[data-v-82f049c4]{width:calc(100% - 40px)}}@media (min-width:2120px){#new-busi-form .busi-box .busi-content[data-v-82f049c4]{width:calc(100% - 40px)}}#new-busi-form .busi-box[data-v-82f049c4]::-webkit-scrollbar{background-color:#f0f2f5;width:8px}#new-busi-form .busi-box[data-v-82f049c4]::-webkit-scrollbar-thumb{border-radius:12px}#new-busi-form .busi-box:hover.busi-box[data-v-82f049c4]::-webkit-scrollbar-thumb{background-color:#d5d6d8}#new-busi-form[data-v-82f049c4] .el-table .el-table__header-wrapper .el-table__header thead th{background:transparent!important}#new-busi-form[data-v-82f049c4] .el-form .el-table__body .tdlbl .required{position:absolute;left:6px}#new-busi-form[data-v-82f049c4] .el-table__cell.tdlbl{padding:4px 6px 4px 15px!important}#new-busi-form[data-v-82f049c4] .el-form .el-table__body .tdlbl{text-align:left}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw17{width:15.6%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw33{width:34.4%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw83{width:84.4%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw13{width:10.4%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw20{width:22.9%}#new-busi-form[data-v-82f049c4] .el-form .el-table.el-table--border td{border-right-color:#999!important;border-bottom-color:#999!important}#new-busi-form[data-v-82f049c4] .el-table--border .el-table__cell{border-right:1px solid #999}#new-busi-form[data-v-82f049c4] .el-form .el-table.el-table--border{border-color:#999}#new-busi-form .el-table--group[data-v-82f049c4]:after,#new-busi-form[data-v-82f049c4] .el-form .el-table:before,#new-busi-form[data-v-82f049c4] .el-table--border:after,#new-busi-form[data-v-82f049c4] .el-table:before{background-color:#999}#new-busi-form[data-v-82f049c4] .title-container{border-color:#fff!important}#new-busi-form[data-v-82f049c4] .title-container .has-bottom{border:1px solid #999;border-bottom:0}#new-busi-form[data-v-82f049c4] .el-form .el-table:after{background-color:#999}#new-busi-form[data-v-82f049c4] .el-table--border{border-color:#999}#new-busi-form[data-v-82f049c4] .el-tabs .el-tabs__header{width:60%;background-color:unset}#new-busi-form[data-v-82f049c4] .el-tabs__nav-wrap:after{height:0}#new-busi-form[data-v-82f049c4] .el-table td.el-table__cell,#new-busi-form[data-v-82f049c4] .el-table th.el-table__cell.is-leaf{border-bottom:1px solid #999}#new-busi-form[data-v-82f049c4] .toolbar-box .el-button{border:1px solid #999}#new-busi-form[data-v-82f049c4] .el-popover__reference-wrapper .el-button-group .toolbar-box{padding:0 1px 0 0}#new-busi-form.full-screen .busi-content[data-v-82f049c4]{width:calc(100% - 40px);min-width:1000px}#new-busi-form.full-screen .busi-content .busi-components[data-v-82f049c4]{width:87%;margin:0 auto;padding:0}@media (min-width:3840px){#new-busi-form.full-screen .busi-content[data-v-82f049c4]{width:3200px}}", ""]);
14500
14500
  // Exports
14501
14501
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
14502
14502
 
@@ -77418,19 +77418,19 @@ var update = add("7a162b30", content, true, {"sourceMap":false,"shadowMode":fals
77418
77418
 
77419
77419
  /***/ }),
77420
77420
 
77421
- /***/ 1108:
77421
+ /***/ 3163:
77422
77422
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77423
77423
 
77424
77424
  // style-loader: Adds some css to the DOM by adding a <style> tag
77425
77425
 
77426
77426
  // load the styles
77427
- var content = __webpack_require__(9009);
77427
+ var content = __webpack_require__(5389);
77428
77428
  if(content.__esModule) content = content.default;
77429
77429
  if(typeof content === 'string') content = [[module.id, content, '']];
77430
77430
  if(content.locals) module.exports = content.locals;
77431
77431
  // add the styles to the DOM
77432
77432
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
77433
- var update = add("24069783", content, true, {"sourceMap":false,"shadowMode":false});
77433
+ var update = add("76de4bb1", content, true, {"sourceMap":false,"shadowMode":false});
77434
77434
 
77435
77435
  /***/ }),
77436
77436
 
@@ -242739,8 +242739,8 @@ var WformLayoutSetting_component = normalizeComponent(
242739
242739
  )
242740
242740
 
242741
242741
  /* harmony default export */ var WformLayoutSetting = (WformLayoutSetting_component.exports);
242742
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=template&id=323bdacd&scoped=true
242743
- var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function render() {
242742
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=template&id=82f049c4&scoped=true
242743
+ var newBusiFormvue_type_template_id_82f049c4_scoped_true_render = function render() {
242744
242744
  var _vm = this,
242745
242745
  _c = _vm._self._c;
242746
242746
  return _c('div', {
@@ -242813,29 +242813,12 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
242813
242813
  value: 'close',
242814
242814
  expression: "'close'"
242815
242815
  }]
242816
- }, [_vm._v("关 闭")])], 1), _c('el-button', {
242817
- directives: [{
242818
- name: "show",
242819
- rawName: "v-show",
242820
- value: _vm.canEdit === 1 && _vm.formType === 'update',
242821
- expression: "canEdit === 1 && formType === 'update'"
242822
- }, {
242823
- name: "pageBtn-lbl",
242824
- rawName: "v-pageBtn-lbl",
242825
- value: 'cancel',
242826
- expression: "'cancel'"
242827
- }],
242828
- attrs: {
242829
- "icon": "el-icon-close"
242830
- },
242831
- on: {
242832
- "click": function click($event) {
242833
- return _vm.edit(0);
242834
- }
242835
- }
242836
- }, [_vm._v("取 消")]), _vm.topRightBtns.length > 0 ? _vm._l(_vm.topRightBtns, function (item, index) {
242816
+ }, [_vm._v("关 闭")])], 1), _vm.topRightBtns.length > 0 ? _vm._l(_vm.topRightBtns, function (item, index) {
242837
242817
  return _c('el-button', {
242838
242818
  key: index,
242819
+ attrs: {
242820
+ "disabled": _vm.btnDisabled
242821
+ },
242839
242822
  on: {
242840
242823
  "click": function click($event) {
242841
242824
  return _vm.btnClick(item);
@@ -242853,17 +242836,15 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
242853
242836
  directives: [{
242854
242837
  name: "show",
242855
242838
  rawName: "v-show",
242856
- value: _vm.canEdit === 1 && _vm.noEdit !== 'true',
242857
- expression: "canEdit === 1 && noEdit !== 'true'"
242839
+ value: _vm.canEdit === 1,
242840
+ expression: "canEdit === 1"
242858
242841
  }],
242859
242842
  attrs: {
242860
- "type": "primary",
242861
- "disabled": _vm.btnDisabled,
242862
- "loading": _vm.submitLoading
242843
+ "disabled": _vm.btnDisabled
242863
242844
  },
242864
242845
  on: {
242865
242846
  "click": function click($event) {
242866
- return _vm.submit(false);
242847
+ return _vm.submit(false, null, 'Save');
242867
242848
  }
242868
242849
  }
242869
242850
  }, [_c('svg-icon', {
@@ -242877,15 +242858,45 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
242877
242858
  directives: [{
242878
242859
  name: "pageBtn-lbl",
242879
242860
  rawName: "v-pageBtn-lbl",
242880
- value: 'save',
242881
- expression: "'save'"
242861
+ value: 'porary',
242862
+ expression: "'porary'"
242882
242863
  }]
242883
- }, [_vm._v(" 存")])], 1), _c('el-button', {
242864
+ }, [_vm._v(" 存")])], 1), _c('el-button', {
242884
242865
  directives: [{
242885
242866
  name: "show",
242886
242867
  rawName: "v-show",
242887
- value: _vm.canEdit === 0 && _vm.noEdit !== 'true',
242888
- expression: "canEdit === 0 && noEdit !== 'true'"
242868
+ value: _vm.canEdit === 1,
242869
+ expression: "canEdit === 1"
242870
+ }],
242871
+ attrs: {
242872
+ "type": "primary",
242873
+ "disabled": _vm.btnDisabled
242874
+ },
242875
+ on: {
242876
+ "click": function click($event) {
242877
+ return _vm.submit(false, null, 'Submit');
242878
+ }
242879
+ }
242880
+ }, [_c('svg-icon', {
242881
+ staticStyle: {
242882
+ "margin-right": "5px"
242883
+ },
242884
+ attrs: {
242885
+ "icon-class": "saved"
242886
+ }
242887
+ }), _c('span', {
242888
+ directives: [{
242889
+ name: "pageBtn-lbl",
242890
+ rawName: "v-pageBtn-lbl",
242891
+ value: 'saveAndClose',
242892
+ expression: "'saveAndClose'"
242893
+ }]
242894
+ }, [_vm._v("保存关闭")])], 1), _c('el-button', {
242895
+ directives: [{
242896
+ name: "show",
242897
+ rawName: "v-show",
242898
+ value: _vm.canEdit === 0,
242899
+ expression: "canEdit === 0"
242889
242900
  }, {
242890
242901
  name: "pageBtn-lbl",
242891
242902
  rawName: "v-pageBtn-lbl",
@@ -243048,7 +243059,7 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
243048
243059
  }
243049
243060
  })], 1)]) : _vm._e()]) : _vm._e(), _c('select-dialog')], 1);
243050
243061
  };
243051
- var newBusiFormvue_type_template_id_323bdacd_scoped_true_staticRenderFns = [];
243062
+ var newBusiFormvue_type_template_id_82f049c4_scoped_true_staticRenderFns = [];
243052
243063
 
243053
243064
  // EXTERNAL MODULE: ./src/wapp/settings.js
243054
243065
  var settings = __webpack_require__(7710);
@@ -243099,7 +243110,8 @@ var settings = __webpack_require__(7710);
243099
243110
  attachments: [],
243100
243111
  bodyfile: null,
243101
243112
  url: '',
243102
- isComponentForm: false
243113
+ isComponentForm: false,
243114
+ actionType: '' //表单提交方式,暂存:Save,提交:Submit
243103
243115
  };
243104
243116
  },
243105
243117
  computed: {},
@@ -243207,6 +243219,16 @@ var settings = __webpack_require__(7710);
243207
243219
  if (this.$route.query.formUrl !== 'zcgl.manageAsset.form_newLook') {
243208
243220
  this.intervalId = setInterval(this.applyTabsHeaderStyle, 100);
243209
243221
  }
243222
+ var times = 0;
243223
+ var timer = setInterval(function () {
243224
+ if (_this2.$refs['busiFormW'] && _this2.$refs['busiFormW'].setFormBtns) {
243225
+ _this2.$refs['busiFormW'].setFormBtns(_this2, _this2.topRightBtns);
243226
+ clearInterval(timer);
243227
+ }
243228
+ if (times++ > 30) {
243229
+ clearInterval(timer);
243230
+ }
243231
+ }, 100);
243210
243232
  },
243211
243233
  methods: {
243212
243234
  applyTabsHeaderStyle: function applyTabsHeaderStyle() {
@@ -243283,17 +243305,31 @@ var settings = __webpack_require__(7710);
243283
243305
  location.href = location.href.replace('voId=', 'voId=' + this.newId);
243284
243306
  }
243285
243307
  this.formType = 'update';
243286
- setTimeout(function () {
243287
- location.reload();
243288
- }, 500);
243308
+ if (this.actionType === 'Save') {
243309
+ this.getVo(this.vo.id, this.moduleInfo);
243310
+ } else if (this.actionType === 'Submit') {
243311
+ this.close();
243312
+ } else {
243313
+ setTimeout(function () {
243314
+ location.reload();
243315
+ }, 500);
243316
+ }
243289
243317
  },
243290
- submit: function submit(falg, callBack) {
243318
+ submit: function submit(falg, callBack, actionType) {
243291
243319
  var _this4 = this;
243292
243320
  var _this = this;
243293
243321
  console.log('this', this);
243322
+ this.actionType = actionType;
243323
+ if (actionType && actionType.indexOf('Save') !== -1 && this.$settings.saveNoValidation) {
243324
+ //自动设置null值字段值
243325
+ this.$bus.emit('autoSetFieldValue');
243326
+ }
243294
243327
  this.$refs.busiFormW.formValidate(function () {
243295
243328
  new Promise(function (resolve, reject) {
243296
- if (_this.$refs.busiFormW.onBasicFormBeforeSubmit) {
243329
+ if (_this4.$settings.saveNoValidation) {
243330
+ //如果启用暂存免校验,不执行提交前校验
243331
+ resolve(true);
243332
+ } else if (_this.$refs.busiFormW.onBasicFormBeforeSubmit) {
243297
243333
  _this.$refs.busiFormW.onBasicFormBeforeSubmit(_this, _this.vo, {
243298
243334
  resolve: resolve,
243299
243335
  reject: reject
@@ -243456,7 +243492,7 @@ var settings = __webpack_require__(7710);
243456
243492
  if (callBack) {
243457
243493
  callBack(false);
243458
243494
  }
243459
- });
243495
+ }, this.canEdit, null, actionType);
243460
243496
  },
243461
243497
  close: function close() {
243462
243498
  window.close();
@@ -243542,9 +243578,9 @@ var settings = __webpack_require__(7710);
243542
243578
  });
243543
243579
  ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=script&lang=js
243544
243580
  /* harmony default export */ var BasicformOpenPage_newBusiFormvue_type_script_lang_js = (newBusiFormvue_type_script_lang_js);
243545
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=323bdacd&prod&scoped=true&lang=scss
243546
- var newBusiFormvue_type_style_index_0_id_323bdacd_prod_scoped_true_lang_scss = __webpack_require__(1108);
243547
- ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=323bdacd&prod&scoped=true&lang=scss
243581
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=82f049c4&prod&scoped=true&lang=scss
243582
+ var newBusiFormvue_type_style_index_0_id_82f049c4_prod_scoped_true_lang_scss = __webpack_require__(3163);
243583
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=82f049c4&prod&scoped=true&lang=scss
243548
243584
 
243549
243585
  ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue
243550
243586
 
@@ -243557,11 +243593,11 @@ var newBusiFormvue_type_style_index_0_id_323bdacd_prod_scoped_true_lang_scss = _
243557
243593
 
243558
243594
  var newBusiForm_component = normalizeComponent(
243559
243595
  BasicformOpenPage_newBusiFormvue_type_script_lang_js,
243560
- newBusiFormvue_type_template_id_323bdacd_scoped_true_render,
243561
- newBusiFormvue_type_template_id_323bdacd_scoped_true_staticRenderFns,
243596
+ newBusiFormvue_type_template_id_82f049c4_scoped_true_render,
243597
+ newBusiFormvue_type_template_id_82f049c4_scoped_true_staticRenderFns,
243562
243598
  false,
243563
243599
  null,
243564
- "323bdacd",
243600
+ "82f049c4",
243565
243601
  null
243566
243602
 
243567
243603
  )
@@ -14492,7 +14492,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "", ""]);
14492
14492
 
14493
14493
  /***/ }),
14494
14494
 
14495
- /***/ 3041:
14495
+ /***/ 9421:
14496
14496
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14497
14497
 
14498
14498
  "use strict";
@@ -14506,7 +14506,7 @@ __webpack_require__.r(__webpack_exports__);
14506
14506
 
14507
14507
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
14508
14508
  // Module
14509
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-323bdacd] .el-table__body-wrapper::-webkit-scrollbar{height:8px!important}[data-v-323bdacd] .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:12px}[data-v-323bdacd] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:12px;background-color:#f2f5fb}[data-v-323bdacd] .el-form .el-table__body .tdlbl{background:#f2f5fb!important}#new-busi-form[data-v-323bdacd]{height:100%;background:#f0f2f5}#new-busi-form .new-head[data-v-323bdacd]{height:68px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 20px;background:#fff}#new-busi-form .new-head[data-v-323bdacd],#new-busi-form .new-head .head-left[data-v-323bdacd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#new-busi-form .new-head .head-left img[data-v-323bdacd]{width:44px;height:44px}#new-busi-form .new-head .head-left .head-title[data-v-323bdacd]{margin-left:10px;margin-top:10px;font-size:var(--portalFontSize13);color:#999;font-weight:400}#new-busi-form .new-head .head-left .head-title .moduleTitle[data-v-323bdacd]{font-size:22px;line-height:29px}#new-busi-form .new-head .head-left .head-title .moduleT[data-v-323bdacd]{position:relative;font-weight:400;color:#999}#new-busi-form .new-head .head-left .head-title .sidebar-divide[data-v-323bdacd]{border-right:1px solid #ccc;margin:0 10px;height:14px}#new-busi-form .new-head .head-left .head-title .formTapBtn[data-v-323bdacd]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize13)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-323bdacd]{position:relative;margin-right:15px}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-323bdacd]{position:relative;color:var(--subjectColor);font-weight:700}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-323bdacd]:after{content:\"\";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--subjectColor)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-323bdacd]:hover{cursor:pointer;color:var(--subjectColor)}#new-busi-form .busi-box[data-v-323bdacd]{height:calc(100% - 68px);overflow:scroll}#new-busi-form .busi-box .busi-content[data-v-323bdacd]{width:calc(100% - 40px);padding-bottom:20px;background:#fff;min-height:100%;margin:0 auto;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);margin-top:20px}#new-busi-form .busi-box .busi-content .title-info[data-v-323bdacd]{height:93px;text-align:center;line-height:93px;font-size:24px;color:#000}#new-busi-form .busi-box .busi-content .busi-components[data-v-323bdacd]{width:87%;margin:0 auto;padding:0}@media (max-width:1600px){#new-busi-form .busi-box .busi-content[data-v-323bdacd]{width:calc(100% - 40px)}}@media (min-width:2120px){#new-busi-form .busi-box .busi-content[data-v-323bdacd]{width:calc(100% - 40px)}}#new-busi-form .busi-box[data-v-323bdacd]::-webkit-scrollbar{background-color:#f0f2f5;width:8px}#new-busi-form .busi-box[data-v-323bdacd]::-webkit-scrollbar-thumb{border-radius:12px}#new-busi-form .busi-box:hover.busi-box[data-v-323bdacd]::-webkit-scrollbar-thumb{background-color:#d5d6d8}#new-busi-form[data-v-323bdacd] .el-table .el-table__header-wrapper .el-table__header thead th{background:transparent!important}#new-busi-form[data-v-323bdacd] .el-form .el-table__body .tdlbl .required{position:absolute;left:6px}#new-busi-form[data-v-323bdacd] .el-table__cell.tdlbl{padding:4px 6px 4px 15px!important}#new-busi-form[data-v-323bdacd] .el-form .el-table__body .tdlbl{text-align:left}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw17{width:15.6%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw33{width:34.4%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw83{width:84.4%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw13{width:10.4%}#new-busi-form[data-v-323bdacd] .el-form .el-table__body td.tdw20{width:22.9%}#new-busi-form[data-v-323bdacd] .el-form .el-table.el-table--border td{border-right-color:#999!important;border-bottom-color:#999!important}#new-busi-form[data-v-323bdacd] .el-table--border .el-table__cell{border-right:1px solid #999}#new-busi-form[data-v-323bdacd] .el-form .el-table.el-table--border{border-color:#999}#new-busi-form .el-table--group[data-v-323bdacd]:after,#new-busi-form[data-v-323bdacd] .el-form .el-table:before,#new-busi-form[data-v-323bdacd] .el-table--border:after,#new-busi-form[data-v-323bdacd] .el-table:before{background-color:#999}#new-busi-form[data-v-323bdacd] .title-container{border-color:#fff!important}#new-busi-form[data-v-323bdacd] .title-container .has-bottom{border:1px solid #999;border-bottom:0}#new-busi-form[data-v-323bdacd] .el-form .el-table:after{background-color:#999}#new-busi-form[data-v-323bdacd] .el-table--border{border-color:#999}#new-busi-form[data-v-323bdacd] .el-tabs .el-tabs__header{width:60%;background-color:unset}#new-busi-form[data-v-323bdacd] .el-tabs__nav-wrap:after{height:0}#new-busi-form[data-v-323bdacd] .el-table td.el-table__cell,#new-busi-form[data-v-323bdacd] .el-table th.el-table__cell.is-leaf{border-bottom:1px solid #999}#new-busi-form[data-v-323bdacd] .toolbar-box .el-button{border:1px solid #999}#new-busi-form[data-v-323bdacd] .el-popover__reference-wrapper .el-button-group .toolbar-box{padding:0 1px 0 0}#new-busi-form.full-screen .busi-content[data-v-323bdacd]{width:calc(100% - 40px);min-width:1000px}#new-busi-form.full-screen .busi-content .busi-components[data-v-323bdacd]{width:87%;margin:0 auto;padding:0}@media (min-width:3840px){#new-busi-form.full-screen .busi-content[data-v-323bdacd]{width:3200px}}", ""]);
14509
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-82f049c4] .el-table__body-wrapper::-webkit-scrollbar{height:8px!important}[data-v-82f049c4] .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:12px}[data-v-82f049c4] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:12px;background-color:#f2f5fb}[data-v-82f049c4] .el-form .el-table__body .tdlbl{background:#f2f5fb!important}#new-busi-form[data-v-82f049c4]{height:100%;background:#f0f2f5}#new-busi-form .new-head[data-v-82f049c4]{height:68px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 20px;background:#fff}#new-busi-form .new-head[data-v-82f049c4],#new-busi-form .new-head .head-left[data-v-82f049c4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#new-busi-form .new-head .head-left img[data-v-82f049c4]{width:44px;height:44px}#new-busi-form .new-head .head-left .head-title[data-v-82f049c4]{margin-left:10px;margin-top:10px;font-size:var(--portalFontSize13);color:#999;font-weight:400}#new-busi-form .new-head .head-left .head-title .moduleTitle[data-v-82f049c4]{font-size:22px;line-height:29px}#new-busi-form .new-head .head-left .head-title .moduleT[data-v-82f049c4]{position:relative;font-weight:400;color:#999}#new-busi-form .new-head .head-left .head-title .sidebar-divide[data-v-82f049c4]{border-right:1px solid #ccc;margin:0 10px;height:14px}#new-busi-form .new-head .head-left .head-title .formTapBtn[data-v-82f049c4]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize13)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-82f049c4]{position:relative;margin-right:15px}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-82f049c4]{position:relative;color:var(--subjectColor);font-weight:700}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-82f049c4]:after{content:\"\";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--subjectColor)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-82f049c4]:hover{cursor:pointer;color:var(--subjectColor)}#new-busi-form .busi-box[data-v-82f049c4]{height:calc(100% - 68px);overflow:scroll}#new-busi-form .busi-box .busi-content[data-v-82f049c4]{width:calc(100% - 40px);padding-bottom:20px;background:#fff;min-height:100%;margin:0 auto;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);margin-top:20px}#new-busi-form .busi-box .busi-content .title-info[data-v-82f049c4]{height:93px;text-align:center;line-height:93px;font-size:24px;color:#000}#new-busi-form .busi-box .busi-content .busi-components[data-v-82f049c4]{width:87%;margin:0 auto;padding:0}@media (max-width:1600px){#new-busi-form .busi-box .busi-content[data-v-82f049c4]{width:calc(100% - 40px)}}@media (min-width:2120px){#new-busi-form .busi-box .busi-content[data-v-82f049c4]{width:calc(100% - 40px)}}#new-busi-form .busi-box[data-v-82f049c4]::-webkit-scrollbar{background-color:#f0f2f5;width:8px}#new-busi-form .busi-box[data-v-82f049c4]::-webkit-scrollbar-thumb{border-radius:12px}#new-busi-form .busi-box:hover.busi-box[data-v-82f049c4]::-webkit-scrollbar-thumb{background-color:#d5d6d8}#new-busi-form[data-v-82f049c4] .el-table .el-table__header-wrapper .el-table__header thead th{background:transparent!important}#new-busi-form[data-v-82f049c4] .el-form .el-table__body .tdlbl .required{position:absolute;left:6px}#new-busi-form[data-v-82f049c4] .el-table__cell.tdlbl{padding:4px 6px 4px 15px!important}#new-busi-form[data-v-82f049c4] .el-form .el-table__body .tdlbl{text-align:left}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw17{width:15.6%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw33{width:34.4%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw83{width:84.4%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw13{width:10.4%}#new-busi-form[data-v-82f049c4] .el-form .el-table__body td.tdw20{width:22.9%}#new-busi-form[data-v-82f049c4] .el-form .el-table.el-table--border td{border-right-color:#999!important;border-bottom-color:#999!important}#new-busi-form[data-v-82f049c4] .el-table--border .el-table__cell{border-right:1px solid #999}#new-busi-form[data-v-82f049c4] .el-form .el-table.el-table--border{border-color:#999}#new-busi-form .el-table--group[data-v-82f049c4]:after,#new-busi-form[data-v-82f049c4] .el-form .el-table:before,#new-busi-form[data-v-82f049c4] .el-table--border:after,#new-busi-form[data-v-82f049c4] .el-table:before{background-color:#999}#new-busi-form[data-v-82f049c4] .title-container{border-color:#fff!important}#new-busi-form[data-v-82f049c4] .title-container .has-bottom{border:1px solid #999;border-bottom:0}#new-busi-form[data-v-82f049c4] .el-form .el-table:after{background-color:#999}#new-busi-form[data-v-82f049c4] .el-table--border{border-color:#999}#new-busi-form[data-v-82f049c4] .el-tabs .el-tabs__header{width:60%;background-color:unset}#new-busi-form[data-v-82f049c4] .el-tabs__nav-wrap:after{height:0}#new-busi-form[data-v-82f049c4] .el-table td.el-table__cell,#new-busi-form[data-v-82f049c4] .el-table th.el-table__cell.is-leaf{border-bottom:1px solid #999}#new-busi-form[data-v-82f049c4] .toolbar-box .el-button{border:1px solid #999}#new-busi-form[data-v-82f049c4] .el-popover__reference-wrapper .el-button-group .toolbar-box{padding:0 1px 0 0}#new-busi-form.full-screen .busi-content[data-v-82f049c4]{width:calc(100% - 40px);min-width:1000px}#new-busi-form.full-screen .busi-content .busi-components[data-v-82f049c4]{width:87%;margin:0 auto;padding:0}@media (min-width:3840px){#new-busi-form.full-screen .busi-content[data-v-82f049c4]{width:3200px}}", ""]);
14510
14510
  // Exports
14511
14511
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
14512
14512
 
@@ -77428,19 +77428,19 @@ var update = add("41f46e32", content, true, {"sourceMap":false,"shadowMode":fals
77428
77428
 
77429
77429
  /***/ }),
77430
77430
 
77431
- /***/ 3213:
77431
+ /***/ 961:
77432
77432
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77433
77433
 
77434
77434
  // style-loader: Adds some css to the DOM by adding a <style> tag
77435
77435
 
77436
77436
  // load the styles
77437
- var content = __webpack_require__(3041);
77437
+ var content = __webpack_require__(9421);
77438
77438
  if(content.__esModule) content = content.default;
77439
77439
  if(typeof content === 'string') content = [[module.id, content, '']];
77440
77440
  if(content.locals) module.exports = content.locals;
77441
77441
  // add the styles to the DOM
77442
77442
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
77443
- var update = add("09c1f9fa", content, true, {"sourceMap":false,"shadowMode":false});
77443
+ var update = add("4df6b731", content, true, {"sourceMap":false,"shadowMode":false});
77444
77444
 
77445
77445
  /***/ }),
77446
77446
 
@@ -242749,8 +242749,8 @@ var WformLayoutSetting_component = normalizeComponent(
242749
242749
  )
242750
242750
 
242751
242751
  /* harmony default export */ var WformLayoutSetting = (WformLayoutSetting_component.exports);
242752
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=template&id=323bdacd&scoped=true
242753
- var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function render() {
242752
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=template&id=82f049c4&scoped=true
242753
+ var newBusiFormvue_type_template_id_82f049c4_scoped_true_render = function render() {
242754
242754
  var _vm = this,
242755
242755
  _c = _vm._self._c;
242756
242756
  return _c('div', {
@@ -242823,29 +242823,12 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
242823
242823
  value: 'close',
242824
242824
  expression: "'close'"
242825
242825
  }]
242826
- }, [_vm._v("关 闭")])], 1), _c('el-button', {
242827
- directives: [{
242828
- name: "show",
242829
- rawName: "v-show",
242830
- value: _vm.canEdit === 1 && _vm.formType === 'update',
242831
- expression: "canEdit === 1 && formType === 'update'"
242832
- }, {
242833
- name: "pageBtn-lbl",
242834
- rawName: "v-pageBtn-lbl",
242835
- value: 'cancel',
242836
- expression: "'cancel'"
242837
- }],
242838
- attrs: {
242839
- "icon": "el-icon-close"
242840
- },
242841
- on: {
242842
- "click": function click($event) {
242843
- return _vm.edit(0);
242844
- }
242845
- }
242846
- }, [_vm._v("取 消")]), _vm.topRightBtns.length > 0 ? _vm._l(_vm.topRightBtns, function (item, index) {
242826
+ }, [_vm._v("关 闭")])], 1), _vm.topRightBtns.length > 0 ? _vm._l(_vm.topRightBtns, function (item, index) {
242847
242827
  return _c('el-button', {
242848
242828
  key: index,
242829
+ attrs: {
242830
+ "disabled": _vm.btnDisabled
242831
+ },
242849
242832
  on: {
242850
242833
  "click": function click($event) {
242851
242834
  return _vm.btnClick(item);
@@ -242863,17 +242846,15 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
242863
242846
  directives: [{
242864
242847
  name: "show",
242865
242848
  rawName: "v-show",
242866
- value: _vm.canEdit === 1 && _vm.noEdit !== 'true',
242867
- expression: "canEdit === 1 && noEdit !== 'true'"
242849
+ value: _vm.canEdit === 1,
242850
+ expression: "canEdit === 1"
242868
242851
  }],
242869
242852
  attrs: {
242870
- "type": "primary",
242871
- "disabled": _vm.btnDisabled,
242872
- "loading": _vm.submitLoading
242853
+ "disabled": _vm.btnDisabled
242873
242854
  },
242874
242855
  on: {
242875
242856
  "click": function click($event) {
242876
- return _vm.submit(false);
242857
+ return _vm.submit(false, null, 'Save');
242877
242858
  }
242878
242859
  }
242879
242860
  }, [_c('svg-icon', {
@@ -242887,15 +242868,45 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
242887
242868
  directives: [{
242888
242869
  name: "pageBtn-lbl",
242889
242870
  rawName: "v-pageBtn-lbl",
242890
- value: 'save',
242891
- expression: "'save'"
242871
+ value: 'porary',
242872
+ expression: "'porary'"
242892
242873
  }]
242893
- }, [_vm._v(" 存")])], 1), _c('el-button', {
242874
+ }, [_vm._v(" 存")])], 1), _c('el-button', {
242894
242875
  directives: [{
242895
242876
  name: "show",
242896
242877
  rawName: "v-show",
242897
- value: _vm.canEdit === 0 && _vm.noEdit !== 'true',
242898
- expression: "canEdit === 0 && noEdit !== 'true'"
242878
+ value: _vm.canEdit === 1,
242879
+ expression: "canEdit === 1"
242880
+ }],
242881
+ attrs: {
242882
+ "type": "primary",
242883
+ "disabled": _vm.btnDisabled
242884
+ },
242885
+ on: {
242886
+ "click": function click($event) {
242887
+ return _vm.submit(false, null, 'Submit');
242888
+ }
242889
+ }
242890
+ }, [_c('svg-icon', {
242891
+ staticStyle: {
242892
+ "margin-right": "5px"
242893
+ },
242894
+ attrs: {
242895
+ "icon-class": "saved"
242896
+ }
242897
+ }), _c('span', {
242898
+ directives: [{
242899
+ name: "pageBtn-lbl",
242900
+ rawName: "v-pageBtn-lbl",
242901
+ value: 'saveAndClose',
242902
+ expression: "'saveAndClose'"
242903
+ }]
242904
+ }, [_vm._v("保存关闭")])], 1), _c('el-button', {
242905
+ directives: [{
242906
+ name: "show",
242907
+ rawName: "v-show",
242908
+ value: _vm.canEdit === 0,
242909
+ expression: "canEdit === 0"
242899
242910
  }, {
242900
242911
  name: "pageBtn-lbl",
242901
242912
  rawName: "v-pageBtn-lbl",
@@ -243058,7 +243069,7 @@ var newBusiFormvue_type_template_id_323bdacd_scoped_true_render = function rende
243058
243069
  }
243059
243070
  })], 1)]) : _vm._e()]) : _vm._e(), _c('select-dialog')], 1);
243060
243071
  };
243061
- var newBusiFormvue_type_template_id_323bdacd_scoped_true_staticRenderFns = [];
243072
+ var newBusiFormvue_type_template_id_82f049c4_scoped_true_staticRenderFns = [];
243062
243073
 
243063
243074
  // EXTERNAL MODULE: ./src/wapp/settings.js
243064
243075
  var settings = __webpack_require__(3844);
@@ -243109,7 +243120,8 @@ var settings = __webpack_require__(3844);
243109
243120
  attachments: [],
243110
243121
  bodyfile: null,
243111
243122
  url: '',
243112
- isComponentForm: false
243123
+ isComponentForm: false,
243124
+ actionType: '' //表单提交方式,暂存:Save,提交:Submit
243113
243125
  };
243114
243126
  },
243115
243127
  computed: {},
@@ -243217,6 +243229,16 @@ var settings = __webpack_require__(3844);
243217
243229
  if (this.$route.query.formUrl !== 'zcgl.manageAsset.form_newLook') {
243218
243230
  this.intervalId = setInterval(this.applyTabsHeaderStyle, 100);
243219
243231
  }
243232
+ var times = 0;
243233
+ var timer = setInterval(function () {
243234
+ if (_this2.$refs['busiFormW'] && _this2.$refs['busiFormW'].setFormBtns) {
243235
+ _this2.$refs['busiFormW'].setFormBtns(_this2, _this2.topRightBtns);
243236
+ clearInterval(timer);
243237
+ }
243238
+ if (times++ > 30) {
243239
+ clearInterval(timer);
243240
+ }
243241
+ }, 100);
243220
243242
  },
243221
243243
  methods: {
243222
243244
  applyTabsHeaderStyle: function applyTabsHeaderStyle() {
@@ -243293,17 +243315,31 @@ var settings = __webpack_require__(3844);
243293
243315
  location.href = location.href.replace('voId=', 'voId=' + this.newId);
243294
243316
  }
243295
243317
  this.formType = 'update';
243296
- setTimeout(function () {
243297
- location.reload();
243298
- }, 500);
243318
+ if (this.actionType === 'Save') {
243319
+ this.getVo(this.vo.id, this.moduleInfo);
243320
+ } else if (this.actionType === 'Submit') {
243321
+ this.close();
243322
+ } else {
243323
+ setTimeout(function () {
243324
+ location.reload();
243325
+ }, 500);
243326
+ }
243299
243327
  },
243300
- submit: function submit(falg, callBack) {
243328
+ submit: function submit(falg, callBack, actionType) {
243301
243329
  var _this4 = this;
243302
243330
  var _this = this;
243303
243331
  console.log('this', this);
243332
+ this.actionType = actionType;
243333
+ if (actionType && actionType.indexOf('Save') !== -1 && this.$settings.saveNoValidation) {
243334
+ //自动设置null值字段值
243335
+ this.$bus.emit('autoSetFieldValue');
243336
+ }
243304
243337
  this.$refs.busiFormW.formValidate(function () {
243305
243338
  new Promise(function (resolve, reject) {
243306
- if (_this.$refs.busiFormW.onBasicFormBeforeSubmit) {
243339
+ if (_this4.$settings.saveNoValidation) {
243340
+ //如果启用暂存免校验,不执行提交前校验
243341
+ resolve(true);
243342
+ } else if (_this.$refs.busiFormW.onBasicFormBeforeSubmit) {
243307
243343
  _this.$refs.busiFormW.onBasicFormBeforeSubmit(_this, _this.vo, {
243308
243344
  resolve: resolve,
243309
243345
  reject: reject
@@ -243466,7 +243502,7 @@ var settings = __webpack_require__(3844);
243466
243502
  if (callBack) {
243467
243503
  callBack(false);
243468
243504
  }
243469
- });
243505
+ }, this.canEdit, null, actionType);
243470
243506
  },
243471
243507
  close: function close() {
243472
243508
  window.close();
@@ -243552,9 +243588,9 @@ var settings = __webpack_require__(3844);
243552
243588
  });
243553
243589
  ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=script&lang=js
243554
243590
  /* harmony default export */ var BasicformOpenPage_newBusiFormvue_type_script_lang_js = (newBusiFormvue_type_script_lang_js);
243555
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=323bdacd&prod&scoped=true&lang=scss
243556
- var newBusiFormvue_type_style_index_0_id_323bdacd_prod_scoped_true_lang_scss = __webpack_require__(3213);
243557
- ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=323bdacd&prod&scoped=true&lang=scss
243591
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=82f049c4&prod&scoped=true&lang=scss
243592
+ var newBusiFormvue_type_style_index_0_id_82f049c4_prod_scoped_true_lang_scss = __webpack_require__(961);
243593
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=82f049c4&prod&scoped=true&lang=scss
243558
243594
 
243559
243595
  ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue
243560
243596
 
@@ -243567,11 +243603,11 @@ var newBusiFormvue_type_style_index_0_id_323bdacd_prod_scoped_true_lang_scss = _
243567
243603
 
243568
243604
  var newBusiForm_component = normalizeComponent(
243569
243605
  BasicformOpenPage_newBusiFormvue_type_script_lang_js,
243570
- newBusiFormvue_type_template_id_323bdacd_scoped_true_render,
243571
- newBusiFormvue_type_template_id_323bdacd_scoped_true_staticRenderFns,
243606
+ newBusiFormvue_type_template_id_82f049c4_scoped_true_render,
243607
+ newBusiFormvue_type_template_id_82f049c4_scoped_true_staticRenderFns,
243572
243608
  false,
243573
243609
  null,
243574
- "323bdacd",
243610
+ "82f049c4",
243575
243611
  null
243576
243612
 
243577
243613
  )