@zscreate/form-component 1.1.640 → 1.1.641

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.
@@ -4889,46 +4889,46 @@ div {
4889
4889
  align-items: center;
4890
4890
  }
4891
4891
 
4892
- .t-border[data-v-52a63db0] {
4892
+ .t-border[data-v-0cea3b00] {
4893
4893
  border-right: 1px solid #333;
4894
4894
  border-bottom: 1px solid #333;
4895
4895
  }
4896
- [data-v-52a63db0] * {
4896
+ [data-v-0cea3b00] * {
4897
4897
  font-size: var(--paperFontSize);
4898
4898
  }
4899
- [data-v-52a63db0] .custom_form_item {
4899
+ [data-v-0cea3b00] .custom_form_item {
4900
4900
  height: -moz-fit-content;
4901
4901
  height: fit-content;
4902
4902
  }
4903
- .save-pdf[data-v-52a63db0] .ant-input {
4903
+ .save-pdf[data-v-0cea3b00] .ant-input {
4904
4904
  border: none !important;
4905
4905
  }
4906
- .save-pdf[data-v-52a63db0] .ant-select-selection {
4906
+ .save-pdf[data-v-0cea3b00] .ant-select-selection {
4907
4907
  border: none !important;
4908
4908
  }
4909
- .save-pdf[data-v-52a63db0] .ant-select-arrow svg {
4909
+ .save-pdf[data-v-0cea3b00] .ant-select-arrow svg {
4910
4910
  display: none;
4911
4911
  }
4912
- .save-pdf[data-v-52a63db0] .ant-upload.ant-upload-select-picture-card {
4912
+ .save-pdf[data-v-0cea3b00] .ant-upload.ant-upload-select-picture-card {
4913
4913
  display: none;
4914
4914
  }
4915
- .save-pdf[data-v-52a63db0] .anticon svg {
4915
+ .save-pdf[data-v-0cea3b00] .anticon svg {
4916
4916
  display: none;
4917
4917
  }
4918
- .save-pdf[data-v-52a63db0] .ant-time-picker-input {
4918
+ .save-pdf[data-v-0cea3b00] .ant-time-picker-input {
4919
4919
  border: none !important;
4920
4920
  }
4921
- .save-pdf[data-v-52a63db0] .ant-upload.ant-upload-select {
4921
+ .save-pdf[data-v-0cea3b00] .ant-upload.ant-upload-select {
4922
4922
  display: none;
4923
4923
  }
4924
4924
  /**打印非固定高度标签 高度不确定bug**/
4925
- .computed-wrap[data-v-52a63db0] {
4925
+ .computed-wrap[data-v-0cea3b00] {
4926
4926
  background: #f5f5f5;
4927
4927
  }
4928
- .computed-wrap .item[data-v-52a63db0] {
4928
+ .computed-wrap .item[data-v-0cea3b00] {
4929
4929
  display: flex;
4930
4930
  }
4931
- .computed-wrap .item > div[data-v-52a63db0] {
4931
+ .computed-wrap .item > div[data-v-0cea3b00] {
4932
4932
  height: 35px;
4933
4933
  line-height: 35px;
4934
4934
  flex: 1;
@@ -4936,130 +4936,130 @@ div {
4936
4936
  border-bottom: 1px solid #000;
4937
4937
  text-align: center;
4938
4938
  }
4939
- .computed-wrap .item > div + div[data-v-52a63db0] {
4939
+ .computed-wrap .item > div + div[data-v-0cea3b00] {
4940
4940
  flex: 2;
4941
4941
  }
4942
- .layout .paper[data-v-52a63db0] {
4942
+ .layout .paper[data-v-0cea3b00] {
4943
4943
  position: relative;
4944
4944
  }
4945
- .layout .paper .form-title[data-v-52a63db0] {
4945
+ .layout .paper .form-title[data-v-0cea3b00] {
4946
4946
  text-align: center;
4947
4947
  font-weight: 600;
4948
4948
  font-size: 16px;
4949
4949
  min-height: 40px;
4950
4950
  line-height: 30px;
4951
4951
  }
4952
- .row-item[data-v-52a63db0] {
4952
+ .row-item[data-v-0cea3b00] {
4953
4953
  height: -moz-fit-content;
4954
4954
  height: fit-content;
4955
4955
  /**打印非固定高度标签 高度不确定bug**/
4956
4956
  }
4957
- .no-row-item[data-v-52a63db0] {
4957
+ .no-row-item[data-v-0cea3b00] {
4958
4958
  border-right: none;
4959
4959
  border-bottom: none;
4960
4960
  }
4961
4961
  /****page边框内的 ***/
4962
- .page-border[data-v-52a63db0] {
4962
+ .page-border[data-v-0cea3b00] {
4963
4963
  background: #fff;
4964
4964
  box-sizing: border-box;
4965
4965
  }
4966
- .page-border .row-item[data-v-52a63db0]:first-child {
4966
+ .page-border .row-item[data-v-0cea3b00]:first-child {
4967
4967
  border-top: 1px solid #000;
4968
4968
  }
4969
- .page-border .row-item[data-v-52a63db0] {
4969
+ .page-border .row-item[data-v-0cea3b00] {
4970
4970
  border-left: 1px solid #000;
4971
4971
  }
4972
- .page-border .item-bottom[data-v-52a63db0] {
4972
+ .page-border .item-bottom[data-v-0cea3b00] {
4973
4973
  border-bottom: 1px solid #000;
4974
4974
  }
4975
- .page-border .row-item[data-v-52a63db0]:not(:last-child) {
4975
+ .page-border .row-item[data-v-0cea3b00]:not(:last-child) {
4976
4976
  position: relative;
4977
4977
  }
4978
- .page-border li.sortable-chosen[data-v-52a63db0] {
4978
+ .page-border li.sortable-chosen[data-v-0cea3b00] {
4979
4979
  height: 2px !important;
4980
4980
  overflow: hidden !important;
4981
4981
  background: red !important;
4982
4982
  }
4983
- .page-border .ant-time-picker-panel[data-v-52a63db0] {
4983
+ .page-border .ant-time-picker-panel[data-v-0cea3b00] {
4984
4984
  z-index: 200000 !important;
4985
4985
  }
4986
- .page-border .ant-calendar-picker-container[data-v-52a63db0] {
4986
+ .page-border .ant-calendar-picker-container[data-v-0cea3b00] {
4987
4987
  z-index: 200000 !important;
4988
4988
  }
4989
- [data-v-52a63db0] .ant-time-picker-panel {
4989
+ [data-v-0cea3b00] .ant-time-picker-panel {
4990
4990
  z-index: 9999 !important;
4991
4991
  }
4992
- .ant-calendar-picker-container[data-v-52a63db0] {
4992
+ .ant-calendar-picker-container[data-v-0cea3b00] {
4993
4993
  z-index: 200000 !important;
4994
4994
  }
4995
- [data-v-52a63db0] .ant-form-item-children {
4995
+ [data-v-0cea3b00] .ant-form-item-children {
4996
4996
  display: block;
4997
4997
  }
4998
- [data-v-52a63db0] .ant-form-item {
4998
+ [data-v-0cea3b00] .ant-form-item {
4999
4999
  width: 100%;
5000
5000
  height: 100%;
5001
5001
  margin-bottom: 0;
5002
5002
  display: flex;
5003
5003
  }
5004
- [data-v-52a63db0] .ant-form-item .is_required::before {
5004
+ [data-v-0cea3b00] .ant-form-item .is_required::before {
5005
5005
  content: "*";
5006
5006
  color: #f56c6c;
5007
5007
  margin-right: 4px;
5008
5008
  }
5009
- [data-v-52a63db0] .ant-form-item .ant-form-item-label {
5009
+ [data-v-0cea3b00] .ant-form-item .ant-form-item-label {
5010
5010
  border-right: 1px solid #000;
5011
5011
  }
5012
- [data-v-52a63db0] .ant-form-item .ant-form-item-label label {
5012
+ [data-v-0cea3b00] .ant-form-item .ant-form-item-label label {
5013
5013
  display: flex;
5014
5014
  justify-content: center;
5015
5015
  align-items: center;
5016
5016
  height: 100%;
5017
5017
  }
5018
- [data-v-52a63db0] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5018
+ [data-v-0cea3b00] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5019
5019
  display: none;
5020
5020
  }
5021
- [data-v-52a63db0] .ant-form-item .ant-form-item-control-wrapper {
5021
+ [data-v-0cea3b00] .ant-form-item .ant-form-item-control-wrapper {
5022
5022
  display: flex;
5023
5023
  align-items: center;
5024
5024
  text-align: left;
5025
5025
  }
5026
- [data-v-52a63db0] .ant-form-item .ant-form-item-control {
5026
+ [data-v-0cea3b00] .ant-form-item .ant-form-item-control {
5027
5027
  width: 98%;
5028
5028
  margin: 0 auto;
5029
5029
  }
5030
- [data-v-52a63db0] .ant-form-item .is_required::before {
5030
+ [data-v-0cea3b00] .ant-form-item .is_required::before {
5031
5031
  content: "*";
5032
5032
  color: #f56c6c;
5033
5033
  margin-right: 4px;
5034
5034
  }
5035
- .row-table[data-v-52a63db0] {
5035
+ .row-table[data-v-0cea3b00] {
5036
5036
  display: flex;
5037
5037
  }
5038
- .row-table[data-v-52a63db0] .ant-spin-container,
5039
- .row-table[data-v-52a63db0] {
5038
+ .row-table[data-v-0cea3b00] .ant-spin-container,
5039
+ .row-table[data-v-0cea3b00] {
5040
5040
  display: flex;
5041
5041
  width: 100%;
5042
5042
  }
5043
- .row-table[data-v-52a63db0] .ant-spin-container .table-left,
5044
- .row-table .table-left[data-v-52a63db0] {
5043
+ .row-table[data-v-0cea3b00] .ant-spin-container .table-left,
5044
+ .row-table .table-left[data-v-0cea3b00] {
5045
5045
  width: 100px;
5046
5046
  text-align: center;
5047
5047
  border-right: 1px solid #333;
5048
5048
  border-bottom: 1px solid #333;
5049
5049
  position: relative;
5050
5050
  }
5051
- .row-table[data-v-52a63db0] .ant-spin-container .table-left p,
5052
- .row-table .table-left p[data-v-52a63db0] {
5051
+ .row-table[data-v-0cea3b00] .ant-spin-container .table-left p,
5052
+ .row-table .table-left p[data-v-0cea3b00] {
5053
5053
  position: absolute;
5054
5054
  top: 50%;
5055
5055
  left: 50%;
5056
5056
  transform: translate(-50%, -50%);
5057
5057
  }
5058
- .row-table[data-v-52a63db0] .ant-spin-container .table-right,
5059
- .row-table .table-right[data-v-52a63db0] {
5058
+ .row-table[data-v-0cea3b00] .ant-spin-container .table-right,
5059
+ .row-table .table-right[data-v-0cea3b00] {
5060
5060
  flex: 1;
5061
5061
  }
5062
- .table-content[data-v-52a63db0] {
5062
+ .table-content[data-v-0cea3b00] {
5063
5063
  width: 100%;
5064
5064
  height: 40px;
5065
5065
  line-height: 40px;
@@ -5068,11 +5068,11 @@ div {
5068
5068
  border-bottom: 1px solid #333;
5069
5069
  border-right: 1px solid #333;
5070
5070
  }
5071
- .sub-table-col[data-v-52a63db0] {
5071
+ .sub-table-col[data-v-0cea3b00] {
5072
5072
  display: flex;
5073
5073
  box-sizing: border-box;
5074
5074
  }
5075
- .sub-table-col > span[data-v-52a63db0] {
5075
+ .sub-table-col > span[data-v-0cea3b00] {
5076
5076
  flex: 2;
5077
5077
  border-bottom: 1px solid #000;
5078
5078
  border-right: 1px solid #000;
@@ -5080,34 +5080,34 @@ div {
5080
5080
  line-height: 40px;
5081
5081
  text-align: center;
5082
5082
  }
5083
- .sub-table-col > .last-one[data-v-52a63db0] {
5083
+ .sub-table-col > .last-one[data-v-0cea3b00] {
5084
5084
  width: 87px;
5085
5085
  flex: 0 0 87px;
5086
5086
  border-right: 1px solid #333;
5087
5087
  border-bottom: 1px solid #333;
5088
5088
  }
5089
- .sub-table-col-no-border > span[data-v-52a63db0] {
5089
+ .sub-table-col-no-border > span[data-v-0cea3b00] {
5090
5090
  border: none;
5091
5091
  height: auto;
5092
5092
  width: 0;
5093
5093
  }
5094
- .sub-table-col-no-border > .sub-table-title[data-v-52a63db0]:last-child,
5095
- .sub-table-col-no-border > .sub-table-item[data-v-52a63db0]:last-child {
5094
+ .sub-table-col-no-border > .sub-table-title[data-v-0cea3b00]:last-child,
5095
+ .sub-table-col-no-border > .sub-table-item[data-v-0cea3b00]:last-child {
5096
5096
  border-right: none !important;
5097
5097
  }
5098
- .sub-table-col-no-border > .last-one[data-v-52a63db0] {
5098
+ .sub-table-col-no-border > .last-one[data-v-0cea3b00] {
5099
5099
  width: 87px;
5100
5100
  flex: 0 0 87px;
5101
5101
  display: flex;
5102
5102
  justify-content: center;
5103
5103
  align-items: center;
5104
5104
  }
5105
- .pagiAfter + .row-item[data-v-52a63db0] {
5105
+ .pagiAfter + .row-item[data-v-0cea3b00] {
5106
5106
  border-top-width: 1px;
5107
5107
  border-top-style: solid;
5108
5108
  }
5109
5109
  /* 选择所有后面还有其他非.hiddenWidget的.row-item元素的.hasWidgetAfter */
5110
- .row-item:not(:last-child) .hasWidgetAfter[data-v-52a63db0] {
5110
+ .row-item:not(:last-child) .hasWidgetAfter[data-v-0cea3b00] {
5111
5111
  /* 为这些.hasWidgetAfter设置样式 */
5112
5112
  width: calc(100% + 1px);
5113
5113
  border-left-width: 1px;
@@ -5116,7 +5116,7 @@ div {
5116
5116
  border-right-style: solid;
5117
5117
  left: -1px;
5118
5118
  }
5119
- .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-52a63db0] {
5119
+ .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-0cea3b00] {
5120
5120
  /* 为这些.hasWidgetAfter设置样式 */
5121
5121
  width: calc(100% + 1px);
5122
5122
  border-left: none;
@@ -5124,33 +5124,33 @@ div {
5124
5124
  left: -1px;
5125
5125
  }
5126
5126
  /*****无border *****/
5127
- .no-border .page-border[data-v-52a63db0] {
5127
+ .no-border .page-border[data-v-0cea3b00] {
5128
5128
  border: none;
5129
5129
  }
5130
- .no-border .page-border .row-item[data-v-52a63db0]:not(:last-child) {
5130
+ .no-border .page-border .row-item[data-v-0cea3b00]:not(:last-child) {
5131
5131
  border: none;
5132
5132
  }
5133
- .no-border .page-border[data-v-52a63db0] .ant-form-item .ant-form-item-label {
5133
+ .no-border .page-border[data-v-0cea3b00] .ant-form-item .ant-form-item-label {
5134
5134
  border: none;
5135
5135
  }
5136
- .table_border[data-v-52a63db0] {
5136
+ .table_border[data-v-0cea3b00] {
5137
5137
  border-bottom: 0;
5138
5138
  border-right: 0;
5139
5139
  }
5140
5140
  /*****无border *****/
5141
- [data-v-52a63db0] .ant-form-item-children > div > p,[data-v-52a63db0] .ant-form-item-children > div > h1,[data-v-52a63db0] .ant-form-item-children > div > h2,[data-v-52a63db0] .ant-form-item-children > div > h3,[data-v-52a63db0] .ant-form-item-children > div > h4,[data-v-52a63db0] .ant-form-item-children > div > h5,[data-v-52a63db0] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5141
+ [data-v-0cea3b00] .ant-form-item-children > div > p,[data-v-0cea3b00] .ant-form-item-children > div > h1,[data-v-0cea3b00] .ant-form-item-children > div > h2,[data-v-0cea3b00] .ant-form-item-children > div > h3,[data-v-0cea3b00] .ant-form-item-children > div > h4,[data-v-0cea3b00] .ant-form-item-children > div > h5,[data-v-0cea3b00] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5142
5142
  margin: 10px 0;
5143
5143
  line-height: 1.5;
5144
5144
  }
5145
- [data-v-52a63db0] .ant-spin-dot {
5145
+ [data-v-0cea3b00] .ant-spin-dot {
5146
5146
  font-size: 20px !important;
5147
5147
  }
5148
- .form_skeleton[data-v-52a63db0] {
5148
+ .form_skeleton[data-v-0cea3b00] {
5149
5149
  display: block;
5150
5150
  width: 700px;
5151
5151
  margin: 55px auto;
5152
5152
  }
5153
- .form_skeleton[data-v-52a63db0] .ant-skeleton-title {
5153
+ .form_skeleton[data-v-0cea3b00] .ant-skeleton-title {
5154
5154
  margin: 0 auto;
5155
5155
  }
5156
5156
 
@@ -41365,102 +41365,6 @@ if (true) {
41365
41365
  }
41366
41366
 
41367
41367
 
41368
- /***/ }),
41369
-
41370
- /***/ 4515:
41371
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
41372
-
41373
- "use strict";
41374
- // ESM COMPAT FLAG
41375
- __webpack_require__.r(__webpack_exports__);
41376
-
41377
- // EXPORTS
41378
- __webpack_require__.d(__webpack_exports__, {
41379
- "default": () => (/* binding */ layoutForPaper)
41380
- });
41381
-
41382
- ;// ./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=52a63db0&scoped=true
41383
- 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')?[(
41384
- widget.options.layoutModel === 'auto' ||
41385
- widget.options.layoutModel === undefined
41386
- )?_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:({
41387
- width: widget.options.labelWidth + 'px',
41388
- borderColor: _vm.data.config.borderColor,
41389
- backgroundColor: _vm.data.config.bgc,
41390
- color: _vm.data.config.color,
41391
- })},[_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:({
41392
- background: _vm.data.config.bgc,
41393
- color: _vm.data.config.color,
41394
- 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:[
41395
- _vm.data.config.align,
41396
- _vm.data.config.validate === true && children.options.required === true
41397
- ? 'is_required'
41398
- : '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 () {
41399
- var args = [], len = arguments.length;
41400
- while ( len-- ) args[ len ] = arguments[ len ];
41401
-
41402
- return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
41403
- },"showSizeChange":function () {
41404
- var args = [], len = arguments.length;
41405
- while ( len-- ) args[ len ] = arguments[ len ];
41406
-
41407
- return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
41408
- }},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) {
41409
- var model = ref.model;
41410
- var idx = ref.index;
41411
- var rand_id = ref.rand_id;
41412
- 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(),(
41413
- widget.options.computingSub.length > 0 &&
41414
- widget.options.computingMethod.length > 0 &&
41415
- _vm.tableData &&
41416
- _vm.tableData[widget.model] &&
41417
- _vm.tableData[widget.model].length > 0
41418
- )?_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:{
41419
- 'item-bottom': !widget.options.border,
41420
- 'row-item': widget.options.border,
41421
- },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)}
41422
- var staticRenderFns = []
41423
-
41424
-
41425
- // 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
41426
- var layoutForPapervue_type_script_lang_js = __webpack_require__(9218);
41427
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
41428
- /* harmony default export */ const layout_layoutForPapervue_type_script_lang_js = (layoutForPapervue_type_script_lang_js/* default */.A);
41429
- ;// ./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=52a63db0&prod&lang=less&scoped=true
41430
- // extracted by mini-css-extract-plugin
41431
-
41432
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=52a63db0&prod&lang=less&scoped=true
41433
-
41434
- ;// ./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=52a63db0&prod&lang=css
41435
- // extracted by mini-css-extract-plugin
41436
-
41437
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=52a63db0&prod&lang=css
41438
-
41439
- // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
41440
- var componentNormalizer = __webpack_require__(4008);
41441
- ;// ./src/form/modules/layout/layoutForPaper.vue
41442
-
41443
-
41444
-
41445
- ;
41446
-
41447
-
41448
-
41449
- /* normalize component */
41450
-
41451
- var component = (0,componentNormalizer/* default */.A)(
41452
- layout_layoutForPapervue_type_script_lang_js,
41453
- render,
41454
- staticRenderFns,
41455
- false,
41456
- null,
41457
- "52a63db0",
41458
- null
41459
-
41460
- )
41461
-
41462
- /* harmony default export */ const layoutForPaper = (component.exports);
41463
-
41464
41368
  /***/ }),
41465
41369
 
41466
41370
  /***/ 4519:
@@ -75448,7 +75352,7 @@ const getSignature = params => (0,_form_api_manage__WEBPACK_IMPORTED_MODULE_0__/
75448
75352
  /***/ ((module) => {
75449
75353
 
75450
75354
  "use strict";
75451
- module.exports = {"rE":"1.1.640"};
75355
+ module.exports = {"rE":"1.1.641"};
75452
75356
 
75453
75357
  /***/ }),
75454
75358
 
@@ -88735,10 +88639,12 @@ module.exports = function (it) {
88735
88639
  dataTemp.hashKey = new Date().getTime() + random_number;
88736
88640
  dataTemp.rand_id = Math.random().toString();
88737
88641
  this.tableData[model].push(dataTemp);
88642
+ this.publishCalc(model);
88643
+ },
88644
+ publishCalc(model) {
88738
88645
  let formulaList = this.widgetList[0].map(item => item.options && item.options.formula).filter(item => item);
88739
88646
  let formula = formulaList.find(item => item.formula.includes(model)); //公式还否包含当前子表单
88740
88647
  if (formula) {
88741
- debugger;
88742
88648
  let key = formula.formula.split('.')[1].split('#')[0];
88743
88649
  pubsub_js__WEBPACK_IMPORTED_MODULE_17___default().publish("calc_" + key, {
88744
88650
  model: key,
@@ -88759,7 +88665,6 @@ module.exports = function (it) {
88759
88665
  this.tablePageInfo[model].current = 1;
88760
88666
  }
88761
88667
  }
88762
- debugger;
88763
88668
  //更新models
88764
88669
  this.unFreezeModels(model);
88765
88670
  this.models[model].splice(index, 1);
@@ -88770,6 +88675,7 @@ module.exports = function (it) {
88770
88675
  item.index = _index++;
88771
88676
  });
88772
88677
  this.tableIndex[model]--;
88678
+ this.publishCalc(model);
88773
88679
  },
88774
88680
  findTableComponent(list = []) {
88775
88681
  return list.reduce((all, curr) => {
@@ -158091,6 +157997,102 @@ var grey = presetPalettes.grey;
158091
157997
  exports.grey = grey;
158092
157998
 
158093
157999
 
158000
+ /***/ }),
158001
+
158002
+ /***/ 9964:
158003
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
158004
+
158005
+ "use strict";
158006
+ // ESM COMPAT FLAG
158007
+ __webpack_require__.r(__webpack_exports__);
158008
+
158009
+ // EXPORTS
158010
+ __webpack_require__.d(__webpack_exports__, {
158011
+ "default": () => (/* binding */ layoutForPaper)
158012
+ });
158013
+
158014
+ ;// ./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=0cea3b00&scoped=true
158015
+ 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')?[(
158016
+ widget.options.layoutModel === 'auto' ||
158017
+ widget.options.layoutModel === undefined
158018
+ )?_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:({
158019
+ width: widget.options.labelWidth + 'px',
158020
+ borderColor: _vm.data.config.borderColor,
158021
+ backgroundColor: _vm.data.config.bgc,
158022
+ color: _vm.data.config.color,
158023
+ })},[_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:({
158024
+ background: _vm.data.config.bgc,
158025
+ color: _vm.data.config.color,
158026
+ 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:[
158027
+ _vm.data.config.align,
158028
+ _vm.data.config.validate === true && children.options.required === true
158029
+ ? 'is_required'
158030
+ : '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 () {
158031
+ var args = [], len = arguments.length;
158032
+ while ( len-- ) args[ len ] = arguments[ len ];
158033
+
158034
+ return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
158035
+ },"showSizeChange":function () {
158036
+ var args = [], len = arguments.length;
158037
+ while ( len-- ) args[ len ] = arguments[ len ];
158038
+
158039
+ return _vm.tablePageChange.apply(void 0, [ widget ].concat( args ));
158040
+ }},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) {
158041
+ var model = ref.model;
158042
+ var idx = ref.index;
158043
+ var rand_id = ref.rand_id;
158044
+ 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(),(
158045
+ widget.options.computingSub.length > 0 &&
158046
+ widget.options.computingMethod.length > 0 &&
158047
+ _vm.tableData &&
158048
+ _vm.tableData[widget.model] &&
158049
+ _vm.tableData[widget.model].length > 0
158050
+ )?_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:{
158051
+ 'item-bottom': !widget.options.border,
158052
+ 'row-item': widget.options.border,
158053
+ },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)}
158054
+ var staticRenderFns = []
158055
+
158056
+
158057
+ // 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
158058
+ var layoutForPapervue_type_script_lang_js = __webpack_require__(9218);
158059
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
158060
+ /* harmony default export */ const layout_layoutForPapervue_type_script_lang_js = (layoutForPapervue_type_script_lang_js/* default */.A);
158061
+ ;// ./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=0cea3b00&prod&lang=less&scoped=true
158062
+ // extracted by mini-css-extract-plugin
158063
+
158064
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=0cea3b00&prod&lang=less&scoped=true
158065
+
158066
+ ;// ./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=0cea3b00&prod&lang=css
158067
+ // extracted by mini-css-extract-plugin
158068
+
158069
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=0cea3b00&prod&lang=css
158070
+
158071
+ // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
158072
+ var componentNormalizer = __webpack_require__(4008);
158073
+ ;// ./src/form/modules/layout/layoutForPaper.vue
158074
+
158075
+
158076
+
158077
+ ;
158078
+
158079
+
158080
+
158081
+ /* normalize component */
158082
+
158083
+ var component = (0,componentNormalizer/* default */.A)(
158084
+ layout_layoutForPapervue_type_script_lang_js,
158085
+ render,
158086
+ staticRenderFns,
158087
+ false,
158088
+ null,
158089
+ "0cea3b00",
158090
+ null
158091
+
158092
+ )
158093
+
158094
+ /* harmony default export */ const layoutForPaper = (component.exports);
158095
+
158094
158096
  /***/ }),
158095
158097
 
158096
158098
  /***/ 9970:
@@ -172308,7 +172310,7 @@ var SvgIcon_component = (0,componentNormalizer/* default */.A)(
172308
172310
 
172309
172311
  /* harmony default export */ const SvgIcon = (SvgIcon_component.exports);
172310
172312
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
172311
- var layoutForPaper = __webpack_require__(4515);
172313
+ var layoutForPaper = __webpack_require__(9964);
172312
172314
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
172313
172315
  var layoutItem = __webpack_require__(4279);
172314
172316
  ;// ./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
@@ -185401,7 +185403,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.A)(
185401
185403
  }
185402
185404
  },
185403
185405
  components: {
185404
- layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 4515)),
185406
+ layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 9964)),
185405
185407
  FormulaEdit: formula_edit
185406
185408
  },
185407
185409
  data() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.640",
3
+ "version": "1.1.641",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",