@zscreate/form-component 1.1.622 → 1.1.624

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.
@@ -4886,46 +4886,46 @@ div {
4886
4886
  align-items: center;
4887
4887
  }
4888
4888
 
4889
- .t-border[data-v-39c0f94c] {
4889
+ .t-border[data-v-9bf0cd10] {
4890
4890
  border-right: 1px solid #333;
4891
4891
  border-bottom: 1px solid #333;
4892
4892
  }
4893
- [data-v-39c0f94c] * {
4893
+ [data-v-9bf0cd10] * {
4894
4894
  font-size: var(--paperFontSize);
4895
4895
  }
4896
- [data-v-39c0f94c] .custom_form_item {
4896
+ [data-v-9bf0cd10] .custom_form_item {
4897
4897
  height: -moz-fit-content;
4898
4898
  height: fit-content;
4899
4899
  }
4900
- .save-pdf[data-v-39c0f94c] .ant-input {
4900
+ .save-pdf[data-v-9bf0cd10] .ant-input {
4901
4901
  border: none !important;
4902
4902
  }
4903
- .save-pdf[data-v-39c0f94c] .ant-select-selection {
4903
+ .save-pdf[data-v-9bf0cd10] .ant-select-selection {
4904
4904
  border: none !important;
4905
4905
  }
4906
- .save-pdf[data-v-39c0f94c] .ant-select-arrow svg {
4906
+ .save-pdf[data-v-9bf0cd10] .ant-select-arrow svg {
4907
4907
  display: none;
4908
4908
  }
4909
- .save-pdf[data-v-39c0f94c] .ant-upload.ant-upload-select-picture-card {
4909
+ .save-pdf[data-v-9bf0cd10] .ant-upload.ant-upload-select-picture-card {
4910
4910
  display: none;
4911
4911
  }
4912
- .save-pdf[data-v-39c0f94c] .anticon svg {
4912
+ .save-pdf[data-v-9bf0cd10] .anticon svg {
4913
4913
  display: none;
4914
4914
  }
4915
- .save-pdf[data-v-39c0f94c] .ant-time-picker-input {
4915
+ .save-pdf[data-v-9bf0cd10] .ant-time-picker-input {
4916
4916
  border: none !important;
4917
4917
  }
4918
- .save-pdf[data-v-39c0f94c] .ant-upload.ant-upload-select {
4918
+ .save-pdf[data-v-9bf0cd10] .ant-upload.ant-upload-select {
4919
4919
  display: none;
4920
4920
  }
4921
4921
  /**打印非固定高度标签 高度不确定bug**/
4922
- .computed-wrap[data-v-39c0f94c] {
4922
+ .computed-wrap[data-v-9bf0cd10] {
4923
4923
  background: #f5f5f5;
4924
4924
  }
4925
- .computed-wrap .item[data-v-39c0f94c] {
4925
+ .computed-wrap .item[data-v-9bf0cd10] {
4926
4926
  display: flex;
4927
4927
  }
4928
- .computed-wrap .item > div[data-v-39c0f94c] {
4928
+ .computed-wrap .item > div[data-v-9bf0cd10] {
4929
4929
  height: 35px;
4930
4930
  line-height: 35px;
4931
4931
  flex: 1;
@@ -4933,130 +4933,130 @@ div {
4933
4933
  border-bottom: 1px solid #000;
4934
4934
  text-align: center;
4935
4935
  }
4936
- .computed-wrap .item > div + div[data-v-39c0f94c] {
4936
+ .computed-wrap .item > div + div[data-v-9bf0cd10] {
4937
4937
  flex: 2;
4938
4938
  }
4939
- .layout .paper[data-v-39c0f94c] {
4939
+ .layout .paper[data-v-9bf0cd10] {
4940
4940
  position: relative;
4941
4941
  }
4942
- .layout .paper .form-title[data-v-39c0f94c] {
4942
+ .layout .paper .form-title[data-v-9bf0cd10] {
4943
4943
  text-align: center;
4944
4944
  font-weight: 600;
4945
4945
  font-size: 16px;
4946
4946
  min-height: 40px;
4947
4947
  line-height: 30px;
4948
4948
  }
4949
- .row-item[data-v-39c0f94c] {
4949
+ .row-item[data-v-9bf0cd10] {
4950
4950
  height: -moz-fit-content;
4951
4951
  height: fit-content;
4952
4952
  /**打印非固定高度标签 高度不确定bug**/
4953
4953
  }
4954
- .no-row-item[data-v-39c0f94c] {
4954
+ .no-row-item[data-v-9bf0cd10] {
4955
4955
  border-right: none;
4956
4956
  border-bottom: none;
4957
4957
  }
4958
4958
  /****page边框内的 ***/
4959
- .page-border[data-v-39c0f94c] {
4959
+ .page-border[data-v-9bf0cd10] {
4960
4960
  background: #fff;
4961
4961
  box-sizing: border-box;
4962
4962
  }
4963
- .page-border .row-item[data-v-39c0f94c]:first-child {
4963
+ .page-border .row-item[data-v-9bf0cd10]:first-child {
4964
4964
  border-top: 1px solid #000;
4965
4965
  }
4966
- .page-border .row-item[data-v-39c0f94c] {
4966
+ .page-border .row-item[data-v-9bf0cd10] {
4967
4967
  border-left: 1px solid #000;
4968
4968
  }
4969
- .page-border .item-bottom[data-v-39c0f94c] {
4969
+ .page-border .item-bottom[data-v-9bf0cd10] {
4970
4970
  border-bottom: 1px solid #000;
4971
4971
  }
4972
- .page-border .row-item[data-v-39c0f94c]:not(:last-child) {
4972
+ .page-border .row-item[data-v-9bf0cd10]:not(:last-child) {
4973
4973
  position: relative;
4974
4974
  }
4975
- .page-border li.sortable-chosen[data-v-39c0f94c] {
4975
+ .page-border li.sortable-chosen[data-v-9bf0cd10] {
4976
4976
  height: 2px !important;
4977
4977
  overflow: hidden !important;
4978
4978
  background: red !important;
4979
4979
  }
4980
- .page-border .ant-time-picker-panel[data-v-39c0f94c] {
4980
+ .page-border .ant-time-picker-panel[data-v-9bf0cd10] {
4981
4981
  z-index: 200000 !important;
4982
4982
  }
4983
- .page-border .ant-calendar-picker-container[data-v-39c0f94c] {
4983
+ .page-border .ant-calendar-picker-container[data-v-9bf0cd10] {
4984
4984
  z-index: 200000 !important;
4985
4985
  }
4986
- [data-v-39c0f94c] .ant-time-picker-panel {
4986
+ [data-v-9bf0cd10] .ant-time-picker-panel {
4987
4987
  z-index: 9999 !important;
4988
4988
  }
4989
- .ant-calendar-picker-container[data-v-39c0f94c] {
4989
+ .ant-calendar-picker-container[data-v-9bf0cd10] {
4990
4990
  z-index: 200000 !important;
4991
4991
  }
4992
- [data-v-39c0f94c] .ant-form-item-children {
4992
+ [data-v-9bf0cd10] .ant-form-item-children {
4993
4993
  display: block;
4994
4994
  }
4995
- [data-v-39c0f94c] .ant-form-item {
4995
+ [data-v-9bf0cd10] .ant-form-item {
4996
4996
  width: 100%;
4997
4997
  height: 100%;
4998
4998
  margin-bottom: 0;
4999
4999
  display: flex;
5000
5000
  }
5001
- [data-v-39c0f94c] .ant-form-item .is_required::before {
5001
+ [data-v-9bf0cd10] .ant-form-item .is_required::before {
5002
5002
  content: "*";
5003
5003
  color: #f56c6c;
5004
5004
  margin-right: 4px;
5005
5005
  }
5006
- [data-v-39c0f94c] .ant-form-item .ant-form-item-label {
5006
+ [data-v-9bf0cd10] .ant-form-item .ant-form-item-label {
5007
5007
  border-right: 1px solid #000;
5008
5008
  }
5009
- [data-v-39c0f94c] .ant-form-item .ant-form-item-label label {
5009
+ [data-v-9bf0cd10] .ant-form-item .ant-form-item-label label {
5010
5010
  display: flex;
5011
5011
  justify-content: center;
5012
5012
  align-items: center;
5013
5013
  height: 100%;
5014
5014
  }
5015
- [data-v-39c0f94c] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5015
+ [data-v-9bf0cd10] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5016
5016
  display: none;
5017
5017
  }
5018
- [data-v-39c0f94c] .ant-form-item .ant-form-item-control-wrapper {
5018
+ [data-v-9bf0cd10] .ant-form-item .ant-form-item-control-wrapper {
5019
5019
  display: flex;
5020
5020
  align-items: center;
5021
5021
  text-align: left;
5022
5022
  }
5023
- [data-v-39c0f94c] .ant-form-item .ant-form-item-control {
5023
+ [data-v-9bf0cd10] .ant-form-item .ant-form-item-control {
5024
5024
  width: 98%;
5025
5025
  margin: 0 auto;
5026
5026
  }
5027
- [data-v-39c0f94c] .ant-form-item .is_required::before {
5027
+ [data-v-9bf0cd10] .ant-form-item .is_required::before {
5028
5028
  content: "*";
5029
5029
  color: #f56c6c;
5030
5030
  margin-right: 4px;
5031
5031
  }
5032
- .row-table[data-v-39c0f94c] {
5032
+ .row-table[data-v-9bf0cd10] {
5033
5033
  display: flex;
5034
5034
  }
5035
- .row-table[data-v-39c0f94c] .ant-spin-container,
5036
- .row-table[data-v-39c0f94c] {
5035
+ .row-table[data-v-9bf0cd10] .ant-spin-container,
5036
+ .row-table[data-v-9bf0cd10] {
5037
5037
  display: flex;
5038
5038
  width: 100%;
5039
5039
  }
5040
- .row-table[data-v-39c0f94c] .ant-spin-container .table-left,
5041
- .row-table .table-left[data-v-39c0f94c] {
5040
+ .row-table[data-v-9bf0cd10] .ant-spin-container .table-left,
5041
+ .row-table .table-left[data-v-9bf0cd10] {
5042
5042
  width: 100px;
5043
5043
  text-align: center;
5044
5044
  border-right: 1px solid #333;
5045
5045
  border-bottom: 1px solid #333;
5046
5046
  position: relative;
5047
5047
  }
5048
- .row-table[data-v-39c0f94c] .ant-spin-container .table-left p,
5049
- .row-table .table-left p[data-v-39c0f94c] {
5048
+ .row-table[data-v-9bf0cd10] .ant-spin-container .table-left p,
5049
+ .row-table .table-left p[data-v-9bf0cd10] {
5050
5050
  position: absolute;
5051
5051
  top: 50%;
5052
5052
  left: 50%;
5053
5053
  transform: translate(-50%, -50%);
5054
5054
  }
5055
- .row-table[data-v-39c0f94c] .ant-spin-container .table-right,
5056
- .row-table .table-right[data-v-39c0f94c] {
5055
+ .row-table[data-v-9bf0cd10] .ant-spin-container .table-right,
5056
+ .row-table .table-right[data-v-9bf0cd10] {
5057
5057
  flex: 1;
5058
5058
  }
5059
- .table-content[data-v-39c0f94c] {
5059
+ .table-content[data-v-9bf0cd10] {
5060
5060
  width: 100%;
5061
5061
  height: 40px;
5062
5062
  line-height: 40px;
@@ -5065,11 +5065,11 @@ div {
5065
5065
  border-bottom: 1px solid #333;
5066
5066
  border-right: 1px solid #333;
5067
5067
  }
5068
- .sub-table-col[data-v-39c0f94c] {
5068
+ .sub-table-col[data-v-9bf0cd10] {
5069
5069
  display: flex;
5070
5070
  box-sizing: border-box;
5071
5071
  }
5072
- .sub-table-col > span[data-v-39c0f94c] {
5072
+ .sub-table-col > span[data-v-9bf0cd10] {
5073
5073
  flex: 2;
5074
5074
  border-bottom: 1px solid #000;
5075
5075
  border-right: 1px solid #000;
@@ -5077,34 +5077,34 @@ div {
5077
5077
  line-height: 40px;
5078
5078
  text-align: center;
5079
5079
  }
5080
- .sub-table-col > .last-one[data-v-39c0f94c] {
5080
+ .sub-table-col > .last-one[data-v-9bf0cd10] {
5081
5081
  width: 87px;
5082
5082
  flex: 0 0 87px;
5083
5083
  border-right: 1px solid #333;
5084
5084
  border-bottom: 1px solid #333;
5085
5085
  }
5086
- .sub-table-col-no-border > span[data-v-39c0f94c] {
5086
+ .sub-table-col-no-border > span[data-v-9bf0cd10] {
5087
5087
  border: none;
5088
5088
  height: auto;
5089
5089
  width: 0;
5090
5090
  }
5091
- .sub-table-col-no-border > .sub-table-title[data-v-39c0f94c]:last-child,
5092
- .sub-table-col-no-border > .sub-table-item[data-v-39c0f94c]:last-child {
5091
+ .sub-table-col-no-border > .sub-table-title[data-v-9bf0cd10]:last-child,
5092
+ .sub-table-col-no-border > .sub-table-item[data-v-9bf0cd10]:last-child {
5093
5093
  border-right: none !important;
5094
5094
  }
5095
- .sub-table-col-no-border > .last-one[data-v-39c0f94c] {
5095
+ .sub-table-col-no-border > .last-one[data-v-9bf0cd10] {
5096
5096
  width: 87px;
5097
5097
  flex: 0 0 87px;
5098
5098
  display: flex;
5099
5099
  justify-content: center;
5100
5100
  align-items: center;
5101
5101
  }
5102
- .pagiAfter + .row-item[data-v-39c0f94c] {
5102
+ .pagiAfter + .row-item[data-v-9bf0cd10] {
5103
5103
  border-top-width: 1px;
5104
5104
  border-top-style: solid;
5105
5105
  }
5106
5106
  /* 选择所有后面还有其他非.hiddenWidget的.row-item元素的.hasWidgetAfter */
5107
- .row-item:not(:last-child) .hasWidgetAfter[data-v-39c0f94c] {
5107
+ .row-item:not(:last-child) .hasWidgetAfter[data-v-9bf0cd10] {
5108
5108
  /* 为这些.hasWidgetAfter设置样式 */
5109
5109
  width: calc(100% + 1px);
5110
5110
  border-left-width: 1px;
@@ -5113,7 +5113,7 @@ div {
5113
5113
  border-right-style: solid;
5114
5114
  left: -1px;
5115
5115
  }
5116
- .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-39c0f94c] {
5116
+ .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-9bf0cd10] {
5117
5117
  /* 为这些.hasWidgetAfter设置样式 */
5118
5118
  width: calc(100% + 1px);
5119
5119
  border-left: none;
@@ -5121,33 +5121,33 @@ div {
5121
5121
  left: -1px;
5122
5122
  }
5123
5123
  /*****无border *****/
5124
- .no-border .page-border[data-v-39c0f94c] {
5124
+ .no-border .page-border[data-v-9bf0cd10] {
5125
5125
  border: none;
5126
5126
  }
5127
- .no-border .page-border .row-item[data-v-39c0f94c]:not(:last-child) {
5127
+ .no-border .page-border .row-item[data-v-9bf0cd10]:not(:last-child) {
5128
5128
  border: none;
5129
5129
  }
5130
- .no-border .page-border[data-v-39c0f94c] .ant-form-item .ant-form-item-label {
5130
+ .no-border .page-border[data-v-9bf0cd10] .ant-form-item .ant-form-item-label {
5131
5131
  border: none;
5132
5132
  }
5133
- .table_border[data-v-39c0f94c] {
5133
+ .table_border[data-v-9bf0cd10] {
5134
5134
  border-bottom: 0;
5135
5135
  border-right: 0;
5136
5136
  }
5137
5137
  /*****无border *****/
5138
- [data-v-39c0f94c] .ant-form-item-children > div > p,[data-v-39c0f94c] .ant-form-item-children > div > h1,[data-v-39c0f94c] .ant-form-item-children > div > h2,[data-v-39c0f94c] .ant-form-item-children > div > h3,[data-v-39c0f94c] .ant-form-item-children > div > h4,[data-v-39c0f94c] .ant-form-item-children > div > h5,[data-v-39c0f94c] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5138
+ [data-v-9bf0cd10] .ant-form-item-children > div > p,[data-v-9bf0cd10] .ant-form-item-children > div > h1,[data-v-9bf0cd10] .ant-form-item-children > div > h2,[data-v-9bf0cd10] .ant-form-item-children > div > h3,[data-v-9bf0cd10] .ant-form-item-children > div > h4,[data-v-9bf0cd10] .ant-form-item-children > div > h5,[data-v-9bf0cd10] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5139
5139
  margin: 10px 0;
5140
5140
  line-height: 1.5;
5141
5141
  }
5142
- [data-v-39c0f94c] .ant-spin-dot {
5142
+ [data-v-9bf0cd10] .ant-spin-dot {
5143
5143
  font-size: 20px !important;
5144
5144
  }
5145
- .form_skeleton[data-v-39c0f94c] {
5145
+ .form_skeleton[data-v-9bf0cd10] {
5146
5146
  display: block;
5147
5147
  width: 700px;
5148
5148
  margin: 55px auto;
5149
5149
  }
5150
- .form_skeleton[data-v-39c0f94c] .ant-skeleton-title {
5150
+ .form_skeleton[data-v-9bf0cd10] .ant-skeleton-title {
5151
5151
  margin: 0 auto;
5152
5152
  }
5153
5153
 
@@ -18816,102 +18816,6 @@ exportTypedArrayMethod('at', function at(index) {
18816
18816
  });
18817
18817
 
18818
18818
 
18819
- /***/ }),
18820
-
18821
- /***/ 2568:
18822
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18823
-
18824
- "use strict";
18825
- // ESM COMPAT FLAG
18826
- __webpack_require__.r(__webpack_exports__);
18827
-
18828
- // EXPORTS
18829
- __webpack_require__.d(__webpack_exports__, {
18830
- "default": () => (/* binding */ layoutForPaper)
18831
- });
18832
-
18833
- ;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=39c0f94c&scoped=true
18834
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-spin',{staticClass:"layout layout-input-all-setting",class:{ 'no-border': !_vm.data.config.border, 'save-pdf': _vm.showLine, 'ant-form-noBorder': _vm.data.config.componentsNoBorder },style:({ 'overflow-x': _vm.data.config.layout === 'horizontal' ? 'auto' : 'initial' }),attrs:{"spinning":_vm.formLoading,"tip":_vm.formLoadingTip}},[(_vm.pageLoading && _vm.showLayoutLoading)?_c('div',{class:{ form_skeleton: _vm.pageLoading }},[(_vm.pageLoading)?_c('a-skeleton',{attrs:{"active":"","loading":_vm.pageLoading,"paragraph":{ rows: 12 }}}):_vm._e()],1):_vm._e(),_c('a-form-model',{ref:"Form",attrs:{"hideRequiredMark":true,"model":_vm.models,"rules":_vm.rules,"wrapper-col":{}},on:{"update:rules":function($event){_vm.rules=$event},"validate":_vm.validate}},_vm._l((_vm.widgetList),function(list,listindex){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.widgetList[0].length > 0),expression:"widgetList[0].length > 0"}],key:listindex,staticClass:"paper",style:(_vm.contentStyle)},[(listindex == 0)?_vm._t("default"):_vm._e(),(listindex == 0)?_c('div',{staticClass:"form-title",style:(Object.assign({}, _vm.formNameStyle))},[_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameLeftContent || '')}}),_vm._v(_vm._s(_vm.data.config.formName)),_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameRightContent || '')}})]):_vm._e(),(_vm.value && _vm.value.formIndex)?_c('div',{staticStyle:{"text-align":"right","font-weight":"bold"}},[_vm._v(_vm._s(_vm.value.formIndex))]):_vm._e(),(_vm.data.config.pageHeader && listindex === 0)?_c('div',{style:(_vm.data.config.headerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageHeader)}}):_vm._e(),_c('div',{staticClass:"page-border",style:({ borderColor: _vm.data.config.borderColor })},[_vm._l((list),function(widget,index){return [(widget.type == 'table')?[(
18835
- widget.options.layoutModel === 'auto' ||
18836
- widget.options.layoutModel === undefined
18837
- )?_c('a-spin',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",class:[widget.options.supportPage?'pagiAfter':'',widget.options.inline == true ? 'row-table' : ''],style:({ borderColor: _vm.data.config.borderColor, marginBottom: (widget.options.supportPage && _vm.tablePageInfo[widget.model] && _vm.tablePageInfo[widget.model].total > 10) ? '50px' : '' }),attrs:{"spinning":_vm.tableLoading && !_vm.formLoading,"tip":"数据加载中"}},[(widget.options.inline)?_c('div',{staticClass:"table-left",style:({
18838
- width: widget.options.labelWidth + 'px',
18839
- borderColor: _vm.data.config.borderColor,
18840
- backgroundColor: _vm.data.config.bgc,
18841
- color: _vm.data.config.color,
18842
- })},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0","padding-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('confirm-box',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"content":"注意:使用Excel模板导入仅支持文本、日期、下拉等内容,无法支持复杂的组件以及数据校验等,请确认!"},on:{"confirm":function($event){return _vm.downloadTableTemplate(widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(widget.options.auditorExport&&!_vm.isDesign&&_vm.isApply!=true)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]):_c('div',{staticClass:"table-content",style:({
18843
- background: _vm.data.config.bgc,
18844
- color: _vm.data.config.color,
18845
- borderColor: _vm.data.config.borderColor, })},[_c('span',{staticStyle:{"position":"relative","margin-bottom":"0","height":"40px","display":"block"},style:({})},[_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('confirm-box',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"content":"注意:使用Excel模板导入仅支持文本、日期、下拉等内容,无法支持复杂的组件以及数据校验等,请确认!"},on:{"confirm":function($event){return _vm.downloadTableTemplate(widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(widget.options.auditorExport&&!_vm.isDesign&&_vm.isApply!=true)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e()]),_c('span',[_vm._v(_vm._s(widget.name))])])]),_c('div',{staticClass:"table-right"},[_c('div',{staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((_vm.tableWidgetColumns(widget)),function(children,index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(children.type !== 'hidden'),expression:"children.type !== 'hidden'"}],key:index,class:[
18846
- _vm.data.config.align,
18847
- _vm.data.config.validate === true && children.options.required === true
18848
- ? 'is_required'
18849
- : 'no_required' ],staticStyle:{"border-right":"1px solid #333","border-bottom":"1px solid #333"},style:(Object.assign({}, {borderColor: _vm.data.config.borderColor, background: _vm.data.config.bgc}, _vm.handleSubTableStyle(widget, children)))},[_vm._v(_vm._s(children.name))])}),(!widget.options.hiddenOperateBtn && _vm.tableWidgetColumns(widget).length > 0 && !widget.options.disabled)?_c('span',{staticClass:"last-one",style:({ borderColor: _vm.data.config.borderColor, background: _vm.data.config.bgc, color: _vm.data.config.color })},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(widget, widget.model, 'addModel', true)}}},[_vm._v("添加行")])],1):_vm._e()],2),(Array.isArray(_vm.tableData[widget.model]))?[(widget.options.supportPage)?[_vm._l((_vm.currTablePageData(widget.model)),function(source,idx){return _c('table-item',{key:(_vm.tablePageInfo[widget.model].current - 1) * _vm.tablePageInfo[widget.model].pageSize + idx,attrs:{"widget":widget,"index":(_vm.tablePageInfo[widget.model].current - 1) * _vm.tablePageInfo[widget.model].pageSize + idx,"data":_vm.data,"rules":_vm.rules,"models":_vm.models,"handleDeleteRow":_vm.handleDeleteRow,"source":source}})}),(_vm.tablePageInfo[widget.model] && _vm.tablePageInfo[widget.model].total > 10)?_c('div',{staticClass:"hasWidgetAfter",staticStyle:{"padding":"10px","position":"absolute","top":"100%"},style:({borderColor:_vm.data.config.borderColor})},[_c('a-pagination',{attrs:{"show-quick-jumper":"","show-size-changer":"","total":_vm.tablePageInfo[widget.model].total},on:{"change":function () {
18850
- var args = [], len = arguments.length;
18851
- while ( len-- ) args[ len ] = arguments[ len ];
18852
-
18853
- return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
18854
- },"showSizeChange":function () {
18855
- var args = [], len = arguments.length;
18856
- while ( len-- ) args[ len ] = arguments[ len ];
18857
-
18858
- return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
18859
- }},model:{value:(_vm.tablePageInfo[widget.model].current),callback:function ($$v) {_vm.$set(_vm.tablePageInfo[widget.model], "current", $$v)},expression:"tablePageInfo[widget.model].current"}})],1):_vm._e()]:_c('virtual-list',{staticClass:"virtual-list",attrs:{"keeps":50,"page-mode":"","data-key":function (ref) {
18860
- var model = ref.model;
18861
- var idx = ref.index;
18862
- var rand_id = ref.rand_id;
18863
- return rand_id || (model + idx) },"data-sources":_vm.tableData[widget.model],"data-component":_vm.tableItem,"extra-props":{ widget: widget, models: _vm.models, data: _vm.data, rules: _vm.rules, handleDeleteRow: _vm.handleDeleteRow}}})]:_vm._e(),(
18864
- widget.options.computingSub.length > 0 &&
18865
- widget.options.computingMethod.length > 0 &&
18866
- _vm.tableData &&
18867
- _vm.tableData[widget.model] &&
18868
- _vm.tableData[widget.model].length > 0
18869
- )?_c('div',{staticClass:"computed-wrap"},[_c('div',{staticClass:"item"},[_c('div',[_vm._v("需统计字段")]),_vm._l((widget.options.computingSub),function(_item,key){return _c('div',{key:key},[_vm._v(" "+_vm._s(_vm.getSubName(_item, _vm.tableWidgetColumns(widget)))+" ")])})],2),_vm._l((widget.options.computingMethod),function(_methodItem,key){return _c('div',{key:key,staticClass:"item"},[_c('div',[_vm._v(_vm._s(_vm.getMethodName(_methodItem)))]),_vm._l((widget.options.computingSub),function(_subItem,it_key){return _c('div',{key:it_key},[_vm._v(" "+_vm._s(_vm.getMathResult(_methodItem, _vm.models[widget.model], _subItem))+" ")])})],2)})],2):_vm._e()],2)]):(widget.options.layoutModel === 'design')?_c('a-spin',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"table_border row-item",style:({ borderColor: _vm.data.config.borderColor }),attrs:{"spinning":_vm.tableLoading && !_vm.formLoading,"tip":"数据加载中"}},[_c('tableComponent',{attrs:{"isApply":_vm.isApply,"isDesign":_vm.isDesign,"widget":widget,"tableData":_vm.tableData,"rules":_vm.rules,"models":_vm.models,"formId":_vm.data.formId,"index":index,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event},"addToTableData":_vm.addToTableData,"handleDeleteRow":_vm.handleDeleteRow}})],1):_vm._e()]:(widget.type === 'grid')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-component',{attrs:{"rules":_vm.rules,"models":_vm.models,"widget":widget,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"config":_vm.data.config,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'grid-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",class:widget.type == 'grid-lay-out' ? ' no-row-item ' : '',style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"listindex":listindex,"config":_vm.data.config,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'verify')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('verify-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'all-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('all-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'placeholder')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,class:{
18870
- 'item-bottom': !widget.options.border,
18871
- 'row-item': widget.options.border,
18872
- },style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"rules":_vm.rules,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"applyId":_vm.applyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1):_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",class:{hiddenWidget:widget.type == 'hidden'},style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"dataObj":_vm.data,"rules":_vm.rules,"applyId":_vm.applyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1)]})],2),(_vm.data.config.pageFooter && listindex === _vm.widgetList.length - 1)?_c('div',{style:(_vm.data.config.footerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageFooter)}}):_vm._e()],2)}),0)],1)}
18873
- var staticRenderFns = []
18874
-
18875
-
18876
- // EXTERNAL MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.4.1@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
18877
- var layoutForPapervue_type_script_lang_js = __webpack_require__(9218);
18878
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
18879
- /* harmony default export */ const layout_layoutForPapervue_type_script_lang_js = (layoutForPapervue_type_script_lang_js/* default */.A);
18880
- ;// ./node_modules/_mini-css-extract-plugin@2.9.2@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=39c0f94c&prod&lang=less&scoped=true
18881
- // extracted by mini-css-extract-plugin
18882
-
18883
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=39c0f94c&prod&lang=less&scoped=true
18884
-
18885
- ;// ./node_modules/_mini-css-extract-plugin@2.9.2@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=39c0f94c&prod&lang=css
18886
- // extracted by mini-css-extract-plugin
18887
-
18888
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=39c0f94c&prod&lang=css
18889
-
18890
- // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
18891
- var componentNormalizer = __webpack_require__(4008);
18892
- ;// ./src/form/modules/layout/layoutForPaper.vue
18893
-
18894
-
18895
-
18896
- ;
18897
-
18898
-
18899
-
18900
- /* normalize component */
18901
-
18902
- var component = (0,componentNormalizer/* default */.A)(
18903
- layout_layoutForPapervue_type_script_lang_js,
18904
- render,
18905
- staticRenderFns,
18906
- false,
18907
- null,
18908
- "39c0f94c",
18909
- null
18910
-
18911
- )
18912
-
18913
- /* harmony default export */ const layoutForPaper = (component.exports);
18914
-
18915
18819
  /***/ }),
18916
18820
 
18917
18821
  /***/ 2589:
@@ -65417,6 +65321,102 @@ var Symbol = root.Symbol;
65417
65321
  module.exports = Symbol;
65418
65322
 
65419
65323
 
65324
+ /***/ }),
65325
+
65326
+ /***/ 6191:
65327
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
65328
+
65329
+ "use strict";
65330
+ // ESM COMPAT FLAG
65331
+ __webpack_require__.r(__webpack_exports__);
65332
+
65333
+ // EXPORTS
65334
+ __webpack_require__.d(__webpack_exports__, {
65335
+ "default": () => (/* binding */ layoutForPaper)
65336
+ });
65337
+
65338
+ ;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=9bf0cd10&scoped=true
65339
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-spin',{staticClass:"layout layout-input-all-setting",class:{ 'no-border': !_vm.data.config.border, 'save-pdf': _vm.showLine, 'ant-form-noBorder': _vm.data.config.componentsNoBorder },style:({ 'overflow-x': _vm.data.config.layout === 'horizontal' ? 'auto' : 'initial' }),attrs:{"spinning":_vm.formLoading,"tip":_vm.formLoadingTip}},[(_vm.pageLoading && _vm.showLayoutLoading)?_c('div',{class:{ form_skeleton: _vm.pageLoading }},[(_vm.pageLoading)?_c('a-skeleton',{attrs:{"active":"","loading":_vm.pageLoading,"paragraph":{ rows: 12 }}}):_vm._e()],1):_vm._e(),_c('a-form-model',{ref:"Form",attrs:{"hideRequiredMark":true,"model":_vm.models,"rules":_vm.rules,"wrapper-col":{}},on:{"update:rules":function($event){_vm.rules=$event},"validate":_vm.validate}},_vm._l((_vm.widgetList),function(list,listindex){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.widgetList[0].length > 0),expression:"widgetList[0].length > 0"}],key:listindex,staticClass:"paper",style:(_vm.contentStyle)},[(listindex == 0)?_vm._t("default"):_vm._e(),(listindex == 0)?_c('div',{staticClass:"form-title",style:(Object.assign({}, _vm.formNameStyle))},[_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameLeftContent || '')}}),_vm._v(_vm._s(_vm.data.config.formName)),_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameRightContent || '')}})]):_vm._e(),(_vm.value && _vm.value.formIndex)?_c('div',{staticStyle:{"text-align":"right","font-weight":"bold"}},[_vm._v(_vm._s(_vm.value.formIndex))]):_vm._e(),(_vm.data.config.pageHeader && listindex === 0)?_c('div',{style:(_vm.data.config.headerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageHeader)}}):_vm._e(),_c('div',{staticClass:"page-border",style:({ borderColor: _vm.data.config.borderColor })},[_vm._l((list),function(widget,index){return [(widget.type == 'table')?[(
65340
+ widget.options.layoutModel === 'auto' ||
65341
+ widget.options.layoutModel === undefined
65342
+ )?_c('a-spin',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",class:[widget.options.supportPage?'pagiAfter':'',widget.options.inline == true ? 'row-table' : ''],style:({ borderColor: _vm.data.config.borderColor, marginBottom: (widget.options.supportPage && _vm.tablePageInfo[widget.model] && _vm.tablePageInfo[widget.model].total > 10) ? '50px' : '' }),attrs:{"spinning":_vm.tableLoading && !_vm.formLoading,"tip":"数据加载中"}},[(widget.options.inline)?_c('div',{staticClass:"table-left",style:({
65343
+ width: widget.options.labelWidth + 'px',
65344
+ borderColor: _vm.data.config.borderColor,
65345
+ backgroundColor: _vm.data.config.bgc,
65346
+ color: _vm.data.config.color,
65347
+ })},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0","padding-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('confirm-box',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"content":"注意:使用Excel模板导入仅支持文本、日期、下拉等内容,无法支持复杂的组件以及数据校验等,请确认!"},on:{"confirm":function($event){return _vm.downloadTableTemplate(widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(widget.options.auditorExport&&!_vm.isDesign&&_vm.isApply!=true)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]):_c('div',{staticClass:"table-content",style:({
65348
+ background: _vm.data.config.bgc,
65349
+ color: _vm.data.config.color,
65350
+ borderColor: _vm.data.config.borderColor, })},[_c('span',{staticStyle:{"position":"relative","margin-bottom":"0","height":"40px","display":"block"},style:({})},[_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('confirm-box',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"content":"注意:使用Excel模板导入仅支持文本、日期、下拉等内容,无法支持复杂的组件以及数据校验等,请确认!"},on:{"confirm":function($event){return _vm.downloadTableTemplate(widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(widget.options.auditorExport&&!_vm.isDesign&&_vm.isApply!=true)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e()]),_c('span',[_vm._v(_vm._s(widget.name))])])]),_c('div',{staticClass:"table-right"},[_c('div',{staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((_vm.tableWidgetColumns(widget)),function(children,index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(children.type !== 'hidden'),expression:"children.type !== 'hidden'"}],key:index,class:[
65351
+ _vm.data.config.align,
65352
+ _vm.data.config.validate === true && children.options.required === true
65353
+ ? 'is_required'
65354
+ : 'no_required' ],staticStyle:{"border-right":"1px solid #333","border-bottom":"1px solid #333"},style:(Object.assign({}, {borderColor: _vm.data.config.borderColor, background: _vm.data.config.bgc}, _vm.handleSubTableStyle(widget, children)))},[_vm._v(_vm._s(children.name))])}),(!widget.options.hiddenOperateBtn && _vm.tableWidgetColumns(widget).length > 0 && !widget.options.disabled)?_c('span',{staticClass:"last-one",style:({ borderColor: _vm.data.config.borderColor, background: _vm.data.config.bgc, color: _vm.data.config.color })},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(widget, widget.model, 'addModel', true)}}},[_vm._v("添加行")])],1):_vm._e()],2),(Array.isArray(_vm.tableData[widget.model]))?[(widget.options.supportPage)?[_vm._l((_vm.currTablePageData(widget.model)),function(source,idx){return _c('table-item',{key:(_vm.tablePageInfo[widget.model].current - 1) * _vm.tablePageInfo[widget.model].pageSize + idx,attrs:{"widget":widget,"index":(_vm.tablePageInfo[widget.model].current - 1) * _vm.tablePageInfo[widget.model].pageSize + idx,"data":_vm.data,"rules":_vm.rules,"models":_vm.models,"handleDeleteRow":_vm.handleDeleteRow,"source":source}})}),(_vm.tablePageInfo[widget.model] && _vm.tablePageInfo[widget.model].total > 10)?_c('div',{staticClass:"hasWidgetAfter",staticStyle:{"padding":"10px","position":"absolute","top":"100%"},style:({borderColor:_vm.data.config.borderColor})},[_c('a-pagination',{attrs:{"show-quick-jumper":"","show-size-changer":"","total":_vm.tablePageInfo[widget.model].total},on:{"change":function () {
65355
+ var args = [], len = arguments.length;
65356
+ while ( len-- ) args[ len ] = arguments[ len ];
65357
+
65358
+ return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
65359
+ },"showSizeChange":function () {
65360
+ var args = [], len = arguments.length;
65361
+ while ( len-- ) args[ len ] = arguments[ len ];
65362
+
65363
+ return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
65364
+ }},model:{value:(_vm.tablePageInfo[widget.model].current),callback:function ($$v) {_vm.$set(_vm.tablePageInfo[widget.model], "current", $$v)},expression:"tablePageInfo[widget.model].current"}})],1):_vm._e()]:_c('virtual-list',{staticClass:"virtual-list",attrs:{"keeps":50,"page-mode":"","data-key":function (ref) {
65365
+ var model = ref.model;
65366
+ var idx = ref.index;
65367
+ var rand_id = ref.rand_id;
65368
+ return rand_id || (model + idx) },"data-sources":_vm.tableData[widget.model],"data-component":_vm.tableItem,"extra-props":{ widget: widget, models: _vm.models, data: _vm.data, rules: _vm.rules, handleDeleteRow: _vm.handleDeleteRow}}})]:_vm._e(),(
65369
+ widget.options.computingSub.length > 0 &&
65370
+ widget.options.computingMethod.length > 0 &&
65371
+ _vm.tableData &&
65372
+ _vm.tableData[widget.model] &&
65373
+ _vm.tableData[widget.model].length > 0
65374
+ )?_c('div',{staticClass:"computed-wrap"},[_c('div',{staticClass:"item"},[_c('div',[_vm._v("需统计字段")]),_vm._l((widget.options.computingSub),function(_item,key){return _c('div',{key:key},[_vm._v(" "+_vm._s(_vm.getSubName(_item, _vm.tableWidgetColumns(widget)))+" ")])})],2),_vm._l((widget.options.computingMethod),function(_methodItem,key){return _c('div',{key:key,staticClass:"item"},[_c('div',[_vm._v(_vm._s(_vm.getMethodName(_methodItem)))]),_vm._l((widget.options.computingSub),function(_subItem,it_key){return _c('div',{key:it_key},[_vm._v(" "+_vm._s(_vm.getMathResult(_methodItem, _vm.models[widget.model], _subItem))+" ")])})],2)})],2):_vm._e()],2)]):(widget.options.layoutModel === 'design')?_c('a-spin',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"table_border row-item",style:({ borderColor: _vm.data.config.borderColor }),attrs:{"spinning":_vm.tableLoading && !_vm.formLoading,"tip":"数据加载中"}},[_c('tableComponent',{attrs:{"isApply":_vm.isApply,"isDesign":_vm.isDesign,"widget":widget,"tableData":_vm.tableData,"rules":_vm.rules,"models":_vm.models,"formId":_vm.data.formId,"index":index,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event},"addToTableData":_vm.addToTableData,"handleDeleteRow":_vm.handleDeleteRow}})],1):_vm._e()]:(widget.type === 'grid')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-component',{attrs:{"rules":_vm.rules,"models":_vm.models,"widget":widget,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"config":_vm.data.config,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'grid-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",class:widget.type == 'grid-lay-out' ? ' no-row-item ' : '',style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"listindex":listindex,"config":_vm.data.config,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'verify')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('verify-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'all-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('all-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'placeholder')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,class:{
65375
+ 'item-bottom': !widget.options.border,
65376
+ 'row-item': widget.options.border,
65377
+ },style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"rules":_vm.rules,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"applyId":_vm.applyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1):_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",class:{hiddenWidget:widget.type == 'hidden'},style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"dataObj":_vm.data,"rules":_vm.rules,"applyId":_vm.applyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1)]})],2),(_vm.data.config.pageFooter && listindex === _vm.widgetList.length - 1)?_c('div',{style:(_vm.data.config.footerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageFooter)}}):_vm._e()],2)}),0)],1)}
65378
+ var staticRenderFns = []
65379
+
65380
+
65381
+ // EXTERNAL MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.4.1@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
65382
+ var layoutForPapervue_type_script_lang_js = __webpack_require__(9218);
65383
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
65384
+ /* harmony default export */ const layout_layoutForPapervue_type_script_lang_js = (layoutForPapervue_type_script_lang_js/* default */.A);
65385
+ ;// ./node_modules/_mini-css-extract-plugin@2.9.2@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=9bf0cd10&prod&lang=less&scoped=true
65386
+ // extracted by mini-css-extract-plugin
65387
+
65388
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=9bf0cd10&prod&lang=less&scoped=true
65389
+
65390
+ ;// ./node_modules/_mini-css-extract-plugin@2.9.2@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=9bf0cd10&prod&lang=css
65391
+ // extracted by mini-css-extract-plugin
65392
+
65393
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=9bf0cd10&prod&lang=css
65394
+
65395
+ // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
65396
+ var componentNormalizer = __webpack_require__(4008);
65397
+ ;// ./src/form/modules/layout/layoutForPaper.vue
65398
+
65399
+
65400
+
65401
+ ;
65402
+
65403
+
65404
+
65405
+ /* normalize component */
65406
+
65407
+ var component = (0,componentNormalizer/* default */.A)(
65408
+ layout_layoutForPapervue_type_script_lang_js,
65409
+ render,
65410
+ staticRenderFns,
65411
+ false,
65412
+ null,
65413
+ "9bf0cd10",
65414
+ null
65415
+
65416
+ )
65417
+
65418
+ /* harmony default export */ const layoutForPaper = (component.exports);
65419
+
65420
65420
  /***/ }),
65421
65421
 
65422
65422
  /***/ 6220:
@@ -120428,7 +120428,7 @@ const getSignature = params => (0,_form_api_manage__WEBPACK_IMPORTED_MODULE_0__/
120428
120428
  /***/ ((module) => {
120429
120429
 
120430
120430
  "use strict";
120431
- module.exports = {"rE":"1.1.622"};
120431
+ module.exports = {"rE":"1.1.624"};
120432
120432
 
120433
120433
  /***/ }),
120434
120434
 
@@ -134262,7 +134262,7 @@ module.exports = function (it) {
134262
134262
  let is_invalidation = [undefined, null].includes(widget.options.defaultValue);
134263
134263
 
134264
134264
  // if (widget.type ==='select') debugger
134265
- this.models[widget.model] = this.models[widget.model] ? this.models[widget.model] : is_invalidation ? "" : (0,_util_util__WEBPACK_IMPORTED_MODULE_26__/* .cloneObj */ .lR)(widget.options.defaultValue);
134265
+ this.models[widget.model] = this.models[widget.model] ? this.models[widget.model] : is_invalidation ? "" : (0,_util_util__WEBPACK_IMPORTED_MODULE_26__/* .cloneObj */ .lR)(!this.data.config.status || this.data.config.status == 'XZ' ? widget.options.defaultValue : '');
134266
134266
  }
134267
134267
  });
134268
134268
  }
@@ -172165,7 +172165,7 @@ var SvgIcon_component = (0,componentNormalizer/* default */.A)(
172165
172165
 
172166
172166
  /* harmony default export */ const SvgIcon = (SvgIcon_component.exports);
172167
172167
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
172168
- var layoutForPaper = __webpack_require__(2568);
172168
+ var layoutForPaper = __webpack_require__(6191);
172169
172169
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
172170
172170
  var layoutItem = __webpack_require__(4279);
172171
172171
  ;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=6b8b10c9
@@ -185223,7 +185223,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.A)(
185223
185223
  }
185224
185224
  },
185225
185225
  components: {
185226
- layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 2568)),
185226
+ layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 6191)),
185227
185227
  FormulaEdit: formula_edit
185228
185228
  },
185229
185229
  data() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.622",
3
+ "version": "1.1.624",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",