@zscreate/form-component 1.1.689-AI.15 → 1.1.689-AI.16

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.
@@ -1628,21 +1628,21 @@ li.CodeMirror-hint-active {
1628
1628
  .tip_content textarea.ant-input{margin:0;padding:5px 10px;border:none;background:rgba(236,238,243,0.86)}.tip_btn{margin-top:10px;text-align:center}
1629
1629
 
1630
1630
 
1631
- [data-v-43c10f5a] .ant-form-item .ant-form-item-label {
1631
+ [data-v-78d5e4df] .ant-form-item .ant-form-item-label {
1632
1632
  border-right: 1px solid #333;
1633
1633
  }
1634
- .table-design[data-v-43c10f5a] {
1634
+ .table-design[data-v-78d5e4df] {
1635
1635
  width: 100%;
1636
1636
  position: relative;
1637
1637
  }
1638
- .table-design[data-v-43c10f5a] .ant-form-item .ant-form-item-label {
1638
+ .table-design[data-v-78d5e4df] .ant-form-item .ant-form-item-label {
1639
1639
  border-bottom: 1px solid #333;
1640
1640
  }
1641
- .table-design[data-v-43c10f5a] .ant-form-item .ant-form-item-control-wrapper {
1641
+ .table-design[data-v-78d5e4df] .ant-form-item .ant-form-item-control-wrapper {
1642
1642
  border-bottom: 1px solid #333;
1643
1643
  border-right: 1px solid #333;
1644
1644
  }
1645
- .table-design .table_label[data-v-43c10f5a] {
1645
+ .table-design .table_label[data-v-78d5e4df] {
1646
1646
  position: relative;
1647
1647
  width: 100%;
1648
1648
  height: 40px;
@@ -1651,31 +1651,31 @@ li.CodeMirror-hint-active {
1651
1651
  border-right: 1px solid #333;
1652
1652
  border-bottom: 1px solid #333;
1653
1653
  }
1654
- .table-design .table_label .last-one[data-v-43c10f5a] {
1654
+ .table-design .table_label .last-one[data-v-78d5e4df] {
1655
1655
  position: absolute;
1656
1656
  right: 10px;
1657
1657
  bottom: 0;
1658
1658
  }
1659
- .table-design .table-design-content[data-v-43c10f5a] {
1659
+ .table-design .table-design-content[data-v-78d5e4df] {
1660
1660
  position: relative;
1661
1661
  }
1662
- .table-design .table-design-content .table-design-delete[data-v-43c10f5a] {
1662
+ .table-design .table-design-content .table-design-delete[data-v-78d5e4df] {
1663
1663
  position: absolute;
1664
1664
  bottom: 3px;
1665
1665
  right: 3px;
1666
1666
  display: none;
1667
1667
  z-index: 101;
1668
1668
  }
1669
- .table-design .table-design-content:hover .table-design-delete[data-v-43c10f5a] {
1669
+ .table-design .table-design-content:hover .table-design-delete[data-v-78d5e4df] {
1670
1670
  display: block;
1671
1671
  }
1672
- .del-button[data-v-43c10f5a] {
1672
+ .del-button[data-v-78d5e4df] {
1673
1673
  bottom: 2px!important;
1674
1674
  }
1675
- .del-button[data-v-43c10f5a] .ant-btn-sm {
1675
+ .del-button[data-v-78d5e4df] .ant-btn-sm {
1676
1676
  transform: scale(0.9);
1677
1677
  }
1678
- .no-label-add-button[data-v-43c10f5a] {
1678
+ .no-label-add-button[data-v-78d5e4df] {
1679
1679
  position: absolute;
1680
1680
  z-index: 3;
1681
1681
  right: 3px;
@@ -1817,21 +1817,21 @@ li.CodeMirror-hint-active {
1817
1817
  }
1818
1818
 
1819
1819
 
1820
- [data-v-896aebb2] .ant-form-item .ant-form-item-label {
1820
+ [data-v-07909eff] .ant-form-item .ant-form-item-label {
1821
1821
  border-right: 1px solid #333;
1822
1822
  }
1823
- .table-design[data-v-896aebb2] {
1823
+ .table-design[data-v-07909eff] {
1824
1824
  width: 100%;
1825
1825
  position: relative;
1826
1826
  }
1827
- .table-design[data-v-896aebb2] .ant-form-item .ant-form-item-label {
1827
+ .table-design[data-v-07909eff] .ant-form-item .ant-form-item-label {
1828
1828
  border-bottom: 1px solid #333;
1829
1829
  }
1830
- .table-design[data-v-896aebb2] .ant-form-item .ant-form-item-control-wrapper {
1830
+ .table-design[data-v-07909eff] .ant-form-item .ant-form-item-control-wrapper {
1831
1831
  border-bottom: 1px solid #333;
1832
1832
  border-right: 1px solid #333;
1833
1833
  }
1834
- .table-design .table_label[data-v-896aebb2] {
1834
+ .table-design .table_label[data-v-07909eff] {
1835
1835
  position: relative;
1836
1836
  width: 100%;
1837
1837
  height: 40px;
@@ -1840,43 +1840,43 @@ li.CodeMirror-hint-active {
1840
1840
  border-right: 1px solid #333;
1841
1841
  border-bottom: 1px solid #333;
1842
1842
  }
1843
- .table-design .table_label .last-one[data-v-896aebb2] {
1843
+ .table-design .table_label .last-one[data-v-07909eff] {
1844
1844
  position: absolute;
1845
1845
  right: 10px;
1846
1846
  bottom: 0;
1847
1847
  }
1848
- .table-design .table-design-content[data-v-896aebb2] {
1848
+ .table-design .table-design-content[data-v-07909eff] {
1849
1849
  position: relative;
1850
1850
  }
1851
- .table-design .table-design-content .table-design-delete[data-v-896aebb2] {
1851
+ .table-design .table-design-content .table-design-delete[data-v-07909eff] {
1852
1852
  position: absolute;
1853
1853
  bottom: 3px;
1854
1854
  right: 3px;
1855
1855
  display: none;
1856
1856
  z-index: 101;
1857
1857
  }
1858
- .table-design .table-design-content:hover .table-design-delete[data-v-896aebb2] {
1858
+ .table-design .table-design-content:hover .table-design-delete[data-v-07909eff] {
1859
1859
  display: block;
1860
1860
  }
1861
- .del-button[data-v-896aebb2] {
1861
+ .del-button[data-v-07909eff] {
1862
1862
  bottom: 2px!important;
1863
1863
  }
1864
- .del-button[data-v-896aebb2] .ant-btn-sm {
1864
+ .del-button[data-v-07909eff] .ant-btn-sm {
1865
1865
  transform: scale(0.9);
1866
1866
  }
1867
- .no-label-add-button[data-v-896aebb2] {
1867
+ .no-label-add-button[data-v-07909eff] {
1868
1868
  position: absolute;
1869
1869
  z-index: 3;
1870
1870
  right: 3px;
1871
1871
  bottom: calc(100% + 3px);
1872
1872
  }
1873
- .design-table-pagination[data-v-896aebb2] {
1873
+ .design-table-pagination[data-v-07909eff] {
1874
1874
  padding: 10px;
1875
1875
  position: relative;
1876
1876
  }
1877
1877
 
1878
1878
 
1879
- [data-v-5860d07e] .ant-select-selection__rendered::after {
1879
+ [data-v-06742236] .ant-select-selection__rendered::after {
1880
1880
  content: "";
1881
1881
  display: none;
1882
1882
  height: 0;
@@ -5031,11 +5031,11 @@ div {
5031
5031
  transition: transform linear;
5032
5032
  }
5033
5033
 
5034
- .sub-table-col[data-v-02804c33] {
5034
+ .sub-table-col[data-v-513c98f0] {
5035
5035
  display: flex;
5036
5036
  box-sizing: border-box;
5037
5037
  }
5038
- .sub-table-col > span[data-v-02804c33] {
5038
+ .sub-table-col > span[data-v-513c98f0] {
5039
5039
  flex: 2;
5040
5040
  border-bottom: 1px solid #000;
5041
5041
  border-right: 1px solid #000;
@@ -5043,22 +5043,22 @@ div {
5043
5043
  line-height: 40px;
5044
5044
  text-align: center;
5045
5045
  }
5046
- .sub-table-col > .last-one[data-v-02804c33] {
5046
+ .sub-table-col > .last-one[data-v-513c98f0] {
5047
5047
  width: 87px;
5048
5048
  flex: 0 0 87px;
5049
5049
  border-right: 1px solid #333;
5050
5050
  border-bottom: 1px solid #333;
5051
5051
  }
5052
- .sub-table-col-no-border > span[data-v-02804c33] {
5052
+ .sub-table-col-no-border > span[data-v-513c98f0] {
5053
5053
  border: none;
5054
5054
  height: auto;
5055
5055
  width: 0;
5056
5056
  }
5057
- .sub-table-col-no-border > .sub-table-title[data-v-02804c33]:last-child,
5058
- .sub-table-col-no-border > .sub-table-item[data-v-02804c33]:last-child {
5057
+ .sub-table-col-no-border > .sub-table-title[data-v-513c98f0]:last-child,
5058
+ .sub-table-col-no-border > .sub-table-item[data-v-513c98f0]:last-child {
5059
5059
  border-right: none !important;
5060
5060
  }
5061
- .sub-table-col-no-border > .last-one[data-v-02804c33] {
5061
+ .sub-table-col-no-border > .last-one[data-v-513c98f0] {
5062
5062
  width: 87px;
5063
5063
  flex: 0 0 87px;
5064
5064
  display: flex;
@@ -5066,46 +5066,46 @@ div {
5066
5066
  align-items: center;
5067
5067
  }
5068
5068
 
5069
- .t-border[data-v-120a09a8] {
5069
+ .t-border[data-v-651a5cd0] {
5070
5070
  border-right: 1px solid #333;
5071
5071
  border-bottom: 1px solid #333;
5072
5072
  }
5073
- [data-v-120a09a8] * {
5073
+ [data-v-651a5cd0] * {
5074
5074
  font-size: var(--paperFontSize);
5075
5075
  }
5076
- [data-v-120a09a8] .custom_form_item {
5076
+ [data-v-651a5cd0] .custom_form_item {
5077
5077
  height: -moz-fit-content;
5078
5078
  height: fit-content;
5079
5079
  }
5080
- .save-pdf[data-v-120a09a8] .ant-input {
5080
+ .save-pdf[data-v-651a5cd0] .ant-input {
5081
5081
  border: none !important;
5082
5082
  }
5083
- .save-pdf[data-v-120a09a8] .ant-select-selection {
5083
+ .save-pdf[data-v-651a5cd0] .ant-select-selection {
5084
5084
  border: none !important;
5085
5085
  }
5086
- .save-pdf[data-v-120a09a8] .ant-select-arrow svg {
5086
+ .save-pdf[data-v-651a5cd0] .ant-select-arrow svg {
5087
5087
  display: none;
5088
5088
  }
5089
- .save-pdf[data-v-120a09a8] .ant-upload.ant-upload-select-picture-card {
5089
+ .save-pdf[data-v-651a5cd0] .ant-upload.ant-upload-select-picture-card {
5090
5090
  display: none;
5091
5091
  }
5092
- .save-pdf[data-v-120a09a8] .anticon svg {
5092
+ .save-pdf[data-v-651a5cd0] .anticon svg {
5093
5093
  display: none;
5094
5094
  }
5095
- .save-pdf[data-v-120a09a8] .ant-time-picker-input {
5095
+ .save-pdf[data-v-651a5cd0] .ant-time-picker-input {
5096
5096
  border: none !important;
5097
5097
  }
5098
- .save-pdf[data-v-120a09a8] .ant-upload.ant-upload-select {
5098
+ .save-pdf[data-v-651a5cd0] .ant-upload.ant-upload-select {
5099
5099
  display: none;
5100
5100
  }
5101
5101
  /**打印非固定高度标签 高度不确定bug**/
5102
- .computed-wrap[data-v-120a09a8] {
5102
+ .computed-wrap[data-v-651a5cd0] {
5103
5103
  background: #f5f5f5;
5104
5104
  }
5105
- .computed-wrap .item[data-v-120a09a8] {
5105
+ .computed-wrap .item[data-v-651a5cd0] {
5106
5106
  display: flex;
5107
5107
  }
5108
- .computed-wrap .item > div[data-v-120a09a8] {
5108
+ .computed-wrap .item > div[data-v-651a5cd0] {
5109
5109
  height: 35px;
5110
5110
  line-height: 35px;
5111
5111
  flex: 1;
@@ -5113,130 +5113,130 @@ div {
5113
5113
  border-bottom: 1px solid #000;
5114
5114
  text-align: center;
5115
5115
  }
5116
- .computed-wrap .item > div + div[data-v-120a09a8] {
5116
+ .computed-wrap .item > div + div[data-v-651a5cd0] {
5117
5117
  flex: 2;
5118
5118
  }
5119
- .layout .paper[data-v-120a09a8] {
5119
+ .layout .paper[data-v-651a5cd0] {
5120
5120
  position: relative;
5121
5121
  }
5122
- .layout .paper .form-title[data-v-120a09a8] {
5122
+ .layout .paper .form-title[data-v-651a5cd0] {
5123
5123
  text-align: center;
5124
5124
  font-weight: 600;
5125
5125
  font-size: 16px;
5126
5126
  min-height: 40px;
5127
5127
  line-height: 30px;
5128
5128
  }
5129
- .row-item[data-v-120a09a8] {
5129
+ .row-item[data-v-651a5cd0] {
5130
5130
  height: -moz-fit-content;
5131
5131
  height: fit-content;
5132
5132
  /**打印非固定高度标签 高度不确定bug**/
5133
5133
  }
5134
- .no-row-item[data-v-120a09a8] {
5134
+ .no-row-item[data-v-651a5cd0] {
5135
5135
  border-right: none;
5136
5136
  border-bottom: none;
5137
5137
  }
5138
5138
  /****page边框内的 ***/
5139
- .page-border[data-v-120a09a8] {
5139
+ .page-border[data-v-651a5cd0] {
5140
5140
  background: #fff;
5141
5141
  box-sizing: border-box;
5142
5142
  }
5143
- .page-border .row-item[data-v-120a09a8]:first-child {
5143
+ .page-border .row-item[data-v-651a5cd0]:first-child {
5144
5144
  border-top: 1px solid #000;
5145
5145
  }
5146
- .page-border .row-item[data-v-120a09a8] {
5146
+ .page-border .row-item[data-v-651a5cd0] {
5147
5147
  border-left: 1px solid #000;
5148
5148
  }
5149
- .page-border .item-bottom[data-v-120a09a8] {
5149
+ .page-border .item-bottom[data-v-651a5cd0] {
5150
5150
  border-bottom: 1px solid #000;
5151
5151
  }
5152
- .page-border .row-item[data-v-120a09a8]:not(:last-child) {
5152
+ .page-border .row-item[data-v-651a5cd0]:not(:last-child) {
5153
5153
  position: relative;
5154
5154
  }
5155
- .page-border li.sortable-chosen[data-v-120a09a8] {
5155
+ .page-border li.sortable-chosen[data-v-651a5cd0] {
5156
5156
  height: 2px !important;
5157
5157
  overflow: hidden !important;
5158
5158
  background: red !important;
5159
5159
  }
5160
- .page-border .ant-time-picker-panel[data-v-120a09a8] {
5160
+ .page-border .ant-time-picker-panel[data-v-651a5cd0] {
5161
5161
  z-index: 200000 !important;
5162
5162
  }
5163
- .page-border .ant-calendar-picker-container[data-v-120a09a8] {
5163
+ .page-border .ant-calendar-picker-container[data-v-651a5cd0] {
5164
5164
  z-index: 200000 !important;
5165
5165
  }
5166
- [data-v-120a09a8] .ant-time-picker-panel {
5166
+ [data-v-651a5cd0] .ant-time-picker-panel {
5167
5167
  z-index: 9999 !important;
5168
5168
  }
5169
- .ant-calendar-picker-container[data-v-120a09a8] {
5169
+ .ant-calendar-picker-container[data-v-651a5cd0] {
5170
5170
  z-index: 200000 !important;
5171
5171
  }
5172
- [data-v-120a09a8] .ant-form-item-children {
5172
+ [data-v-651a5cd0] .ant-form-item-children {
5173
5173
  display: block;
5174
5174
  }
5175
- [data-v-120a09a8] .ant-form-item {
5175
+ [data-v-651a5cd0] .ant-form-item {
5176
5176
  width: 100%;
5177
5177
  height: 100%;
5178
5178
  margin-bottom: 0;
5179
5179
  display: flex;
5180
5180
  }
5181
- [data-v-120a09a8] .ant-form-item .is_required::before {
5181
+ [data-v-651a5cd0] .ant-form-item .is_required::before {
5182
5182
  content: "*";
5183
5183
  color: #f56c6c;
5184
5184
  margin-right: 4px;
5185
5185
  }
5186
- [data-v-120a09a8] .ant-form-item .ant-form-item-label {
5186
+ [data-v-651a5cd0] .ant-form-item .ant-form-item-label {
5187
5187
  border-right: 1px solid #000;
5188
5188
  }
5189
- [data-v-120a09a8] .ant-form-item .ant-form-item-label label {
5189
+ [data-v-651a5cd0] .ant-form-item .ant-form-item-label label {
5190
5190
  display: flex;
5191
5191
  justify-content: center;
5192
5192
  align-items: center;
5193
5193
  height: 100%;
5194
5194
  }
5195
- [data-v-120a09a8] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5195
+ [data-v-651a5cd0] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5196
5196
  display: none;
5197
5197
  }
5198
- [data-v-120a09a8] .ant-form-item .ant-form-item-control-wrapper {
5198
+ [data-v-651a5cd0] .ant-form-item .ant-form-item-control-wrapper {
5199
5199
  display: flex;
5200
5200
  align-items: center;
5201
5201
  text-align: left;
5202
5202
  }
5203
- [data-v-120a09a8] .ant-form-item .ant-form-item-control {
5203
+ [data-v-651a5cd0] .ant-form-item .ant-form-item-control {
5204
5204
  width: 98%;
5205
5205
  margin: 0 auto;
5206
5206
  }
5207
- [data-v-120a09a8] .ant-form-item .is_required::before {
5207
+ [data-v-651a5cd0] .ant-form-item .is_required::before {
5208
5208
  content: "*";
5209
5209
  color: #f56c6c;
5210
5210
  margin-right: 4px;
5211
5211
  }
5212
- .row-table[data-v-120a09a8] {
5212
+ .row-table[data-v-651a5cd0] {
5213
5213
  display: flex;
5214
5214
  }
5215
- .row-table[data-v-120a09a8] .ant-spin-container,
5216
- .row-table[data-v-120a09a8] {
5215
+ .row-table[data-v-651a5cd0] .ant-spin-container,
5216
+ .row-table[data-v-651a5cd0] {
5217
5217
  display: flex;
5218
5218
  width: 100%;
5219
5219
  }
5220
- .row-table[data-v-120a09a8] .ant-spin-container .table-left,
5221
- .row-table .table-left[data-v-120a09a8] {
5220
+ .row-table[data-v-651a5cd0] .ant-spin-container .table-left,
5221
+ .row-table .table-left[data-v-651a5cd0] {
5222
5222
  width: 100px;
5223
5223
  text-align: center;
5224
5224
  border-right: 1px solid #333;
5225
5225
  border-bottom: 1px solid #333;
5226
5226
  position: relative;
5227
5227
  }
5228
- .row-table[data-v-120a09a8] .ant-spin-container .table-left p,
5229
- .row-table .table-left p[data-v-120a09a8] {
5228
+ .row-table[data-v-651a5cd0] .ant-spin-container .table-left p,
5229
+ .row-table .table-left p[data-v-651a5cd0] {
5230
5230
  position: absolute;
5231
5231
  top: 50%;
5232
5232
  left: 50%;
5233
5233
  transform: translate(-50%, -50%);
5234
5234
  }
5235
- .row-table[data-v-120a09a8] .ant-spin-container .table-right,
5236
- .row-table .table-right[data-v-120a09a8] {
5235
+ .row-table[data-v-651a5cd0] .ant-spin-container .table-right,
5236
+ .row-table .table-right[data-v-651a5cd0] {
5237
5237
  flex: 1;
5238
5238
  }
5239
- .table-content[data-v-120a09a8] {
5239
+ .table-content[data-v-651a5cd0] {
5240
5240
  width: 100%;
5241
5241
  height: 40px;
5242
5242
  line-height: 40px;
@@ -5245,11 +5245,11 @@ div {
5245
5245
  border-bottom: 1px solid #333;
5246
5246
  border-right: 1px solid #333;
5247
5247
  }
5248
- .sub-table-col[data-v-120a09a8] {
5248
+ .sub-table-col[data-v-651a5cd0] {
5249
5249
  display: flex;
5250
5250
  box-sizing: border-box;
5251
5251
  }
5252
- .sub-table-col > span[data-v-120a09a8] {
5252
+ .sub-table-col > span[data-v-651a5cd0] {
5253
5253
  flex: 2;
5254
5254
  border-bottom: 1px solid #000;
5255
5255
  border-right: 1px solid #000;
@@ -5257,34 +5257,34 @@ div {
5257
5257
  line-height: 40px;
5258
5258
  text-align: center;
5259
5259
  }
5260
- .sub-table-col > .last-one[data-v-120a09a8] {
5260
+ .sub-table-col > .last-one[data-v-651a5cd0] {
5261
5261
  width: 87px;
5262
5262
  flex: 0 0 87px;
5263
5263
  border-right: 1px solid #333;
5264
5264
  border-bottom: 1px solid #333;
5265
5265
  }
5266
- .sub-table-col-no-border > span[data-v-120a09a8] {
5266
+ .sub-table-col-no-border > span[data-v-651a5cd0] {
5267
5267
  border: none;
5268
5268
  height: auto;
5269
5269
  width: 0;
5270
5270
  }
5271
- .sub-table-col-no-border > .sub-table-title[data-v-120a09a8]:last-child,
5272
- .sub-table-col-no-border > .sub-table-item[data-v-120a09a8]:last-child {
5271
+ .sub-table-col-no-border > .sub-table-title[data-v-651a5cd0]:last-child,
5272
+ .sub-table-col-no-border > .sub-table-item[data-v-651a5cd0]:last-child {
5273
5273
  border-right: none !important;
5274
5274
  }
5275
- .sub-table-col-no-border > .last-one[data-v-120a09a8] {
5275
+ .sub-table-col-no-border > .last-one[data-v-651a5cd0] {
5276
5276
  width: 87px;
5277
5277
  flex: 0 0 87px;
5278
5278
  display: flex;
5279
5279
  justify-content: center;
5280
5280
  align-items: center;
5281
5281
  }
5282
- .pagiAfter + .row-item[data-v-120a09a8] {
5282
+ .pagiAfter + .row-item[data-v-651a5cd0] {
5283
5283
  border-top-width: 1px;
5284
5284
  border-top-style: solid;
5285
5285
  }
5286
5286
  /* 选择所有后面还有其他非.hiddenWidget的.row-item元素的.hasWidgetAfter */
5287
- .row-item:not(:last-child) .hasWidgetAfter[data-v-120a09a8] {
5287
+ .row-item:not(:last-child) .hasWidgetAfter[data-v-651a5cd0] {
5288
5288
  /* 为这些.hasWidgetAfter设置样式 */
5289
5289
  width: calc(100% + 1px);
5290
5290
  border-left-width: 1px;
@@ -5293,7 +5293,7 @@ div {
5293
5293
  border-right-style: solid;
5294
5294
  left: -1px;
5295
5295
  }
5296
- .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-120a09a8] {
5296
+ .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-651a5cd0] {
5297
5297
  /* 为这些.hasWidgetAfter设置样式 */
5298
5298
  width: calc(100% + 1px);
5299
5299
  border-left: none;
@@ -5301,33 +5301,33 @@ div {
5301
5301
  left: -1px;
5302
5302
  }
5303
5303
  /*****无border *****/
5304
- .no-border .page-border[data-v-120a09a8] {
5304
+ .no-border .page-border[data-v-651a5cd0] {
5305
5305
  border: none;
5306
5306
  }
5307
- .no-border .page-border .row-item[data-v-120a09a8]:not(:last-child) {
5307
+ .no-border .page-border .row-item[data-v-651a5cd0]:not(:last-child) {
5308
5308
  border: none;
5309
5309
  }
5310
- .no-border .page-border[data-v-120a09a8] .ant-form-item .ant-form-item-label {
5310
+ .no-border .page-border[data-v-651a5cd0] .ant-form-item .ant-form-item-label {
5311
5311
  border: none;
5312
5312
  }
5313
- .table_border[data-v-120a09a8] {
5313
+ .table_border[data-v-651a5cd0] {
5314
5314
  border-bottom: 0;
5315
5315
  border-right: 0;
5316
5316
  }
5317
5317
  /*****无border *****/
5318
- [data-v-120a09a8] .ant-form-item-children > div > p,[data-v-120a09a8] .ant-form-item-children > div > h1,[data-v-120a09a8] .ant-form-item-children > div > h2,[data-v-120a09a8] .ant-form-item-children > div > h3,[data-v-120a09a8] .ant-form-item-children > div > h4,[data-v-120a09a8] .ant-form-item-children > div > h5,[data-v-120a09a8] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5318
+ [data-v-651a5cd0] .ant-form-item-children > div > p,[data-v-651a5cd0] .ant-form-item-children > div > h1,[data-v-651a5cd0] .ant-form-item-children > div > h2,[data-v-651a5cd0] .ant-form-item-children > div > h3,[data-v-651a5cd0] .ant-form-item-children > div > h4,[data-v-651a5cd0] .ant-form-item-children > div > h5,[data-v-651a5cd0] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5319
5319
  margin: 10px 0;
5320
5320
  line-height: 1.5;
5321
5321
  }
5322
- [data-v-120a09a8] .ant-spin-dot {
5322
+ [data-v-651a5cd0] .ant-spin-dot {
5323
5323
  font-size: 20px !important;
5324
5324
  }
5325
- .form_skeleton[data-v-120a09a8] {
5325
+ .form_skeleton[data-v-651a5cd0] {
5326
5326
  display: block;
5327
5327
  width: 700px;
5328
5328
  margin: 55px auto;
5329
5329
  }
5330
- .form_skeleton[data-v-120a09a8] .ant-skeleton-title {
5330
+ .form_skeleton[data-v-651a5cd0] .ant-skeleton-title {
5331
5331
  margin: 0 auto;
5332
5332
  }
5333
5333
 
@@ -71151,6 +71151,7 @@ let getFileExt = filename => {
71151
71151
  //
71152
71152
  //
71153
71153
  //
71154
+ //
71154
71155
 
71155
71156
 
71156
71157
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
@@ -71237,9 +71238,11 @@ let getFileExt = filename => {
71237
71238
  // 替换分页的三个点,保证在小米手机样式没问题
71238
71239
  this.$nextTick(() => {
71239
71240
  if (this.$isMobile) {
71240
- debugger;
71241
- document.querySelector(".ant-pagination-item-ellipsis").innerText = "...";
71242
- document.querySelector(".ant-pagination-item-ellipsis").style.fontSize = "20px";
71241
+ const ellipsis = document.querySelector(".ant-pagination-item-ellipsis");
71242
+ if (ellipsis) {
71243
+ ellipsis.innerText = "...";
71244
+ ellipsis.style.fontSize = "20px";
71245
+ }
71243
71246
  }
71244
71247
  });
71245
71248
  },
@@ -71258,7 +71261,7 @@ let getFileExt = filename => {
71258
71261
  },
71259
71262
  showValue(val, widget, index) {
71260
71263
  this.tableIndex = this.index; // 不能删 eval 需要 this.tableIndex
71261
- if (widget.options.defaultValue.includes('script:')) val = widget.options.defaultValue;
71264
+ if (widget.options.defaultValue && String(widget.options.defaultValue).includes('script:')) val = widget.options.defaultValue;
71262
71265
  if (val && String(val).startsWith('script:')) {
71263
71266
  val = eval(val.replace('script:', ''));
71264
71267
  this.$set(this.models[this.source.model][index], widget.model, val);
@@ -71315,13 +71318,13 @@ let getFileExt = filename => {
71315
71318
  /* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(29414);
71316
71319
  /* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(78393);
71317
71320
  /* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(20944);
71318
- /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(44974);
71321
+ /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(95121);
71319
71322
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(15934);
71320
71323
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_19__);
71321
71324
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(9274);
71322
71325
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_20__);
71323
71326
  /* harmony import */ var _form_components_MessageBox_confirmBox_vue__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(97381);
71324
- /* harmony import */ var _form_form_modules_common_tableItem_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(5954);
71327
+ /* harmony import */ var _form_form_modules_common_tableItem_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(11039);
71325
71328
  /* harmony import */ var _form_api_manage__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(5335);
71326
71329
  /* harmony import */ var _form_form_util__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(36113);
71327
71330
  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(76391);
@@ -72563,18 +72566,11 @@ let getFileExt = filename => {
72563
72566
  if (addModel) {
72564
72567
  let addModelObject = {};
72565
72568
  dataTemp.columns.forEach(item => {
72566
- var _item$options;
72567
72569
  item.options.isCorrect = false;
72568
72570
  if (clickByUser) {
72569
72571
  item.tableColCanEdit = true;
72570
72572
  }
72571
- let defaultValue = item.defaultValue ? item.defaultValue : item.options.defaultValue;
72572
- if (item.type == "imgupload" && item.options.defaultFiles) defaultValue = item.options.defaultFiles;
72573
- // 时间范围默认写成 [null, null],避免空数组导致两端值绑定失败
72574
- if (item.type === 'time' && (_item$options = item.options) !== null && _item$options !== void 0 && _item$options.isRange && (!Array.isArray(defaultValue) || defaultValue.length === 0)) {
72575
- defaultValue = [null, null];
72576
- }
72577
- addModelObject[item.model] = defaultValue;
72573
+ addModelObject[item.model] = (0,_form_form_util_newTableUtil__WEBPACK_IMPORTED_MODULE_33__/* .resolveTableColumnDefaultValue */ .Dz)(item);
72578
72574
  // if (addModelObject[item.model] === undefined) addModelObject[item.model] = ''
72579
72575
  });
72580
72576
  this.unFreezeModels(model);
@@ -72618,16 +72614,7 @@ let getFileExt = filename => {
72618
72614
  if (addModel) {
72619
72615
  const addModelObject = {};
72620
72616
  data.columns.forEach(item => {
72621
- var _item$options2;
72622
- if (clickByUser) {
72623
- item.tableColCanEdit = true;
72624
- }
72625
- let defaultValue = item.defaultValue ? item.defaultValue : item.options.defaultValue;
72626
- if (item.type == "imgupload" && item.options.defaultFiles) defaultValue = item.options.defaultFiles;
72627
- if (item.type === 'time' && (_item$options2 = item.options) !== null && _item$options2 !== void 0 && _item$options2.isRange && (!Array.isArray(defaultValue) || defaultValue.length === 0)) {
72628
- defaultValue = [null, null];
72629
- }
72630
- addModelObject[item.model] = defaultValue;
72617
+ addModelObject[item.model] = (0,_form_form_util_newTableUtil__WEBPACK_IMPORTED_MODULE_33__/* .resolveTableColumnDefaultValue */ .Dz)(item);
72631
72618
  });
72632
72619
  this.unFreezeModels(model);
72633
72620
  if (!Array.isArray(this.models[model])) {
@@ -77671,7 +77658,7 @@ module.exports = {
77671
77658
 
77672
77659
  /***/ },
77673
77660
 
77674
- /***/ 44974
77661
+ /***/ 95121
77675
77662
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
77676
77663
 
77677
77664
  "use strict";
@@ -78956,7 +78943,7 @@ if(templist.includes('匹配条件字段的值')){
78956
78943
  components: {
78957
78944
  JEllipsis: JEllipsis,
78958
78945
  codemirror: vue_codemirror.codemirror,
78959
- layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 24297))
78946
+ layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 36676))
78960
78947
  },
78961
78948
  props: {
78962
78949
  datalist: {
@@ -82866,8 +82853,8 @@ var Select_widgetDesign_component = (0,componentNormalizer/* default */.A)(
82866
82853
  widgetSetup: Select_widgetSetup,
82867
82854
  widgetDesign: Select_widgetDesign
82868
82855
  });
82869
- ;// ./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/components/Table/component.vue?vue&type=template&id=43c10f5a&scoped=true
82870
- var componentvue_type_template_id_43c10f5a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"table-design"},[(_vm.widget.options.height == 0 && !_vm.widget.options.disabled)?_c('span',{staticClass:"last-one no-label-add-button",attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_c('div',{staticClass:"table_label",style:({ borderColor: _vm.widget.options.height == 0 ? 'rgba(0,0,0,0)' : _vm.config.borderColor, height: _vm.widget.options.height + 'px' })},[_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[(_vm.widget.options.enableImport && !_vm.widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + _vm.formId + "&tableKey=" + (_vm.widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { _vm.handleChange(_vm.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(_vm.widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(_vm.widget.options.auditorExport && _vm.widget.options.designExportDownload && !_vm.isDesign && _vm.isApply!=true)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(_vm.widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e()]),_vm._v(" "+_vm._s(_vm.widget.options.height != 0 ? _vm.widget.name : '')+" "),(!_vm.widget.options.disabled)?_c('span',{class:{ 'last-one': true, 'no-label-add-button': _vm.widget.options.height == 0 },attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_vm._e()]),_vm._l((_vm.tableData[_vm.widget.model]),function(tableColums,columsIndex){return _c('div',{key:columsIndex,staticClass:"table-design-content"},[_c('div',{staticClass:"widget-grid-lay-out-wrapper",style:({
82856
+ ;// ./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/components/Table/component.vue?vue&type=template&id=78d5e4df&scoped=true
82857
+ var componentvue_type_template_id_78d5e4df_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"table-design"},[(_vm.widget.options.height == 0 && !_vm.widget.options.disabled)?_c('span',{staticClass:"last-one no-label-add-button",attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_c('div',{staticClass:"table_label",style:({ borderColor: _vm.widget.options.height == 0 ? 'rgba(0,0,0,0)' : _vm.config.borderColor, height: _vm.widget.options.height + 'px' })},[_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[(_vm.widget.options.enableImport && !_vm.widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + _vm.formId + "&tableKey=" + (_vm.widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { _vm.handleChange(_vm.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(_vm.widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(_vm.widget.options.auditorExport && _vm.widget.options.designExportDownload)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(_vm.widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e()]),_vm._v(" "+_vm._s(_vm.widget.options.height != 0 ? _vm.widget.name : '')+" "),(!_vm.widget.options.disabled)?_c('span',{class:{ 'last-one': true, 'no-label-add-button': _vm.widget.options.height == 0 },attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_vm._e()]),_vm._l((_vm.tableData[_vm.widget.model]),function(tableColums,columsIndex){return _c('div',{key:columsIndex,staticClass:"table-design-content"},[_c('div',{staticClass:"widget-grid-lay-out-wrapper",style:({
82871
82858
  height: _vm.setHeight(
82872
82859
  tableColums.options.rowsNum,
82873
82860
  tableColums.options.rowsHeight
@@ -82884,7 +82871,7 @@ var componentvue_type_template_id_43c10f5a_scoped_true_render = function () {var
82884
82871
  'grid-column': _vm.setItemPosition(col, 'column'),
82885
82872
  'grid-row': _vm.setItemPosition(col),
82886
82873
  })},[[_c('layoutItem',{key:colIndex,attrs:{"tableKey":tableColums.model,"tableIndex":columsIndex,"models":_vm.models,"rules":_vm.rules,"widget":_vm.getTableColumn(tableColums.columns, colIndex)},on:{"update:models":_vm.updateModels}})]],2)}),0),(!_vm.widget.options.disabled && !_vm.widget.options.hiddenOperateBtn)?_c('div',{staticClass:"table-design-delete"},[_c('span',{staticClass:"last-one del-button",attrs:{"title":"删除行"}},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleDeleteRow(columsIndex, _vm.widget.model)}}},[_vm._v("删除行")])],1)]):_vm._e()])})],2):_vm._e()}
82887
- var componentvue_type_template_id_43c10f5a_scoped_true_staticRenderFns = []
82874
+ var componentvue_type_template_id_78d5e4df_scoped_true_staticRenderFns = []
82888
82875
 
82889
82876
 
82890
82877
  // EXTERNAL MODULE: ./node_modules/_core-js@3.49.0@core-js/modules/es.array.reduce.js
@@ -83224,10 +83211,10 @@ var util = __webpack_require__(97031);
83224
83211
  });
83225
83212
  ;// ./src/form/modules/components/Table/component.vue?vue&type=script&lang=js
83226
83213
  /* harmony default export */ const components_Table_componentvue_type_script_lang_js = (Table_componentvue_type_script_lang_js);
83227
- ;// ./node_modules/_mini-css-extract-plugin@2.10.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/components/Table/component.vue?vue&type=style&index=0&id=43c10f5a&prod&lang=less&scoped=true
83214
+ ;// ./node_modules/_mini-css-extract-plugin@2.10.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/components/Table/component.vue?vue&type=style&index=0&id=78d5e4df&prod&lang=less&scoped=true
83228
83215
  // extracted by mini-css-extract-plugin
83229
83216
 
83230
- ;// ./src/form/modules/components/Table/component.vue?vue&type=style&index=0&id=43c10f5a&prod&lang=less&scoped=true
83217
+ ;// ./src/form/modules/components/Table/component.vue?vue&type=style&index=0&id=78d5e4df&prod&lang=less&scoped=true
83231
83218
 
83232
83219
  ;// ./src/form/modules/components/Table/component.vue
83233
83220
 
@@ -83240,11 +83227,11 @@ var util = __webpack_require__(97031);
83240
83227
 
83241
83228
  var Table_component_component = (0,componentNormalizer/* default */.A)(
83242
83229
  components_Table_componentvue_type_script_lang_js,
83243
- componentvue_type_template_id_43c10f5a_scoped_true_render,
83244
- componentvue_type_template_id_43c10f5a_scoped_true_staticRenderFns,
83230
+ componentvue_type_template_id_78d5e4df_scoped_true_render,
83231
+ componentvue_type_template_id_78d5e4df_scoped_true_staticRenderFns,
83245
83232
  false,
83246
83233
  null,
83247
- "43c10f5a",
83234
+ "78d5e4df",
83248
83235
  null
83249
83236
 
83250
83237
  )
@@ -83891,8 +83878,8 @@ var Table_widgetDesign_component = (0,componentNormalizer/* default */.A)(
83891
83878
  widgetSetup: Table_widgetSetup,
83892
83879
  widgetDesign: Table_widgetDesign
83893
83880
  });
83894
- ;// ./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/components/NewTable/component.vue?vue&type=template&id=896aebb2&scoped=true
83895
- var componentvue_type_template_id_896aebb2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"table-design"},[(_vm.widget.options.height == 0 && !_vm.widget.options.disabled)?_c('span',{staticClass:"last-one no-label-add-button",attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_c('div',{staticClass:"table_label",style:({ borderColor: _vm.widget.options.height == 0 ? 'rgba(0,0,0,0)' : _vm.config.borderColor, height: _vm.widget.options.height + 'px' })},[_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[(_vm.widget.options.enableImport && !_vm.widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + _vm.formId + "&tableKey=" + (_vm.widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { _vm.handleChange(_vm.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(_vm.widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(_vm.widget.options.auditorExport && _vm.widget.options.designExportDownload && !_vm.isDesign && _vm.isApply!=true)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(_vm.widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e()]),_vm._v(" "+_vm._s(_vm.widget.options.height != 0 ? _vm.widget.name : '')+" "),(!_vm.widget.options.disabled)?_c('span',{class:{ 'last-one': true, 'no-label-add-button': _vm.widget.options.height == 0 },attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_vm._e()]),_vm._l((_vm.renderRows),function(tableColums,columsIndex){return _c('div',{key:tableColums.hashKey || columsIndex,staticClass:"table-design-content"},[_c('div',{staticClass:"widget-grid-lay-out-wrapper",style:({
83881
+ ;// ./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/components/NewTable/component.vue?vue&type=template&id=07909eff&scoped=true
83882
+ var componentvue_type_template_id_07909eff_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"table-design"},[(_vm.widget.options.height == 0 && !_vm.widget.options.disabled)?_c('span',{staticClass:"last-one no-label-add-button",attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_c('div',{staticClass:"table_label",style:({ borderColor: _vm.widget.options.height == 0 ? 'rgba(0,0,0,0)' : _vm.config.borderColor, height: _vm.widget.options.height + 'px' })},[_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[(_vm.widget.options.enableImport && !_vm.widget.options.disabled)?_c('span',[_c('a-upload',{staticStyle:{"margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + _vm.formId + "&tableKey=" + (_vm.widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { _vm.handleChange(_vm.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(_vm.widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),(_vm.widget.options.auditorExport && _vm.widget.options.designExportDownload)?_c('span',{staticStyle:{"float":"left","margin":"0 5px"}},[_c('a-button',{on:{"click":function($event){return _vm.auditorDownLoad(_vm.widget)}}},[_c('a-icon',{attrs:{"type":"download"}}),_vm._v("导出")],1)],1):_vm._e()]),_vm._v(" "+_vm._s(_vm.widget.options.height != 0 ? _vm.widget.name : '')+" "),(!_vm.widget.options.disabled)?_c('span',{class:{ 'last-one': true, 'no-label-add-button': _vm.widget.options.height == 0 },attrs:{"title":"添加行"}},[(!_vm.widget.options.hiddenOperateBtn)?_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(_vm.widget, _vm.widget.model, 'addModel')}}},[_vm._v("添加行")]):_vm._e()],1):_vm._e()]),_vm._l((_vm.renderRows),function(tableColums,columsIndex){return _c('div',{key:tableColums.hashKey || columsIndex,staticClass:"table-design-content"},[_c('div',{staticClass:"widget-grid-lay-out-wrapper",style:({
83896
83883
  height: _vm.setHeight(
83897
83884
  tableColums.options.rowsNum,
83898
83885
  tableColums.options.rowsHeight
@@ -83908,8 +83895,8 @@ var componentvue_type_template_id_896aebb2_scoped_true_render = function () {var
83908
83895
  })},_vm._l((tableColums.designList),function(col,colIndex){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.getTableColumn(tableColums.columns, colIndex).options.canView),expression:"getTableColumn(tableColums.columns, colIndex).options.canView"}],key:colIndex,style:({
83909
83896
  'grid-column': _vm.setItemPosition(col, 'column'),
83910
83897
  'grid-row': _vm.setItemPosition(col),
83911
- })},[[_c('layoutItem',{key:colIndex,attrs:{"tableKey":tableColums.model,"tableIndex":tableColums.index,"models":_vm.models,"rules":_vm.rules,"widget":_vm.getTableColumn(tableColums.columns, colIndex)},on:{"update:models":_vm.updateModels}})]],2)}),0),(!_vm.widget.options.disabled && !_vm.widget.options.hiddenOperateBtn)?_c('div',{staticClass:"table-design-delete"},[_c('span',{staticClass:"last-one del-button",attrs:{"title":"删除行"}},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleDeleteRow(tableColums.index, _vm.widget.model)}}},[_vm._v("删除行")])],1)]):_vm._e()])}),(_vm.widget.options.supportPage && _vm.tablePageInfo && _vm.tablePageInfo.total > 10)?_c('div',{staticClass:"hasWidgetAfter design-table-pagination",style:({ borderColor: _vm.config.borderColor })},[_c('a-pagination',{attrs:{"show-quick-jumper":"","show-size-changer":"","current":_vm.tablePageInfo.current,"total":_vm.tablePageInfo.total,"page-size":_vm.tablePageInfo.pageSize},on:{"change":_vm.onPageChange,"showSizeChange":_vm.onPageChange}})],1):_vm._e()],2):_vm._e()}
83912
- var componentvue_type_template_id_896aebb2_scoped_true_staticRenderFns = []
83898
+ })},[[_c('layoutItem',{key:colIndex,attrs:{"tableKey":tableColums.model,"tableIndex":tableColums.index,"models":_vm.models,"rules":_vm.rules,"widget":_vm.getTableColumn(tableColums.columns, colIndex),"applyId":_vm.applyId},on:{"update:models":_vm.updateModels}})]],2)}),0),(!_vm.widget.options.disabled && !_vm.widget.options.hiddenOperateBtn)?_c('div',{staticClass:"table-design-delete"},[_c('span',{staticClass:"last-one del-button",attrs:{"title":"删除行"}},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleDeleteRow(tableColums.index, _vm.widget.model)}}},[_vm._v("删除行")])],1)]):_vm._e()])}),(_vm.widget.options.supportPage && _vm.tablePageInfo && _vm.tablePageInfo.total > 10)?_c('div',{staticClass:"hasWidgetAfter design-table-pagination",style:({ borderColor: _vm.config.borderColor })},[_c('a-pagination',{attrs:{"show-quick-jumper":"","show-size-changer":"","current":_vm.tablePageInfo.current,"total":_vm.tablePageInfo.total,"page-size":_vm.tablePageInfo.pageSize},on:{"change":_vm.onPageChange,"showSizeChange":_vm.onPageChange}})],1):_vm._e()],2):_vm._e()}
83899
+ var componentvue_type_template_id_07909eff_scoped_true_staticRenderFns = []
83913
83900
 
83914
83901
 
83915
83902
  // EXTERNAL MODULE: ./src/form/util/newTableUtil.js
@@ -84289,10 +84276,10 @@ var newTableUtil = __webpack_require__(29195);
84289
84276
  });
84290
84277
  ;// ./src/form/modules/components/NewTable/component.vue?vue&type=script&lang=js
84291
84278
  /* harmony default export */ const components_NewTable_componentvue_type_script_lang_js = (NewTable_componentvue_type_script_lang_js);
84292
- ;// ./node_modules/_mini-css-extract-plugin@2.10.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/components/NewTable/component.vue?vue&type=style&index=0&id=896aebb2&prod&lang=less&scoped=true
84279
+ ;// ./node_modules/_mini-css-extract-plugin@2.10.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/components/NewTable/component.vue?vue&type=style&index=0&id=07909eff&prod&lang=less&scoped=true
84293
84280
  // extracted by mini-css-extract-plugin
84294
84281
 
84295
- ;// ./src/form/modules/components/NewTable/component.vue?vue&type=style&index=0&id=896aebb2&prod&lang=less&scoped=true
84282
+ ;// ./src/form/modules/components/NewTable/component.vue?vue&type=style&index=0&id=07909eff&prod&lang=less&scoped=true
84296
84283
 
84297
84284
  ;// ./src/form/modules/components/NewTable/component.vue
84298
84285
 
@@ -84305,19 +84292,19 @@ var newTableUtil = __webpack_require__(29195);
84305
84292
 
84306
84293
  var NewTable_component_component = (0,componentNormalizer/* default */.A)(
84307
84294
  components_NewTable_componentvue_type_script_lang_js,
84308
- componentvue_type_template_id_896aebb2_scoped_true_render,
84309
- componentvue_type_template_id_896aebb2_scoped_true_staticRenderFns,
84295
+ componentvue_type_template_id_07909eff_scoped_true_render,
84296
+ componentvue_type_template_id_07909eff_scoped_true_staticRenderFns,
84310
84297
  false,
84311
84298
  null,
84312
- "896aebb2",
84299
+ "07909eff",
84313
84300
  null
84314
84301
 
84315
84302
  )
84316
84303
 
84317
84304
  /* harmony default export */ const NewTable_component = (NewTable_component_component.exports);
84318
- ;// ./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/components/NewTable/widgetSetup.vue?vue&type=template&id=5860d07e&scoped=true
84319
- var widgetSetupvue_type_template_id_5860d07e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-alert',{staticStyle:{"margin-bottom":"12px"},attrs:{"type":"info","show-icon":"","message":"新子表单已优化字典类组件的数据加载:相同数据源仅请求一次。未开启分页时全部行直接渲染;开启「支持分页显示」后走分页模式。"}}),_c('a-form-model-item',{attrs:{"label":"默认值"}},[(_vm.isFormDesignSQL && !_vm.isFormDesignSQLKey)?_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.defaultValue),callback:function ($$v) {_vm.defaultValue=$$v},expression:"defaultValue"}}):_vm._e()],1),(!_vm.isFormDesignSQL && !_vm.isFormDesignSQLKey)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("关联数据集")]):_vm._e(),(_vm.isFormDesignSQLKey)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSqlKey}},[_vm._v("配置详情")]):_vm._e(),_c('a-form-model-item',{attrs:{"label":"审核人可导出"}},[_c('a-switch',{model:{value:(_vm.widget.options.auditorExport),callback:function ($$v) {_vm.$set(_vm.widget.options, "auditorExport", $$v)},expression:"widget.options.auditorExport"}})],1),_c('a-form-model-item',{attrs:{"label":"是否序号列"}},[_c('a-switch',{on:{"change":_vm.addIndexColumnChange},model:{value:(_vm.widget.options.enableIndex),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableIndex", $$v)},expression:"widget.options.enableIndex"}})],1),(_vm.widget.options.enableIndex)?_c('a-form-model-item',{attrs:{"label":"序列号提示文字"}},[_c('a-input',{attrs:{"placeholder":"格式:index;提示文字 / 提示文字;index"},on:{"change":function($event){return _vm.addIndexColumnChange('edit')}},model:{value:(_vm.widget.options.indexColumnName),callback:function ($$v) {_vm.$set(_vm.widget.options, "indexColumnName", $$v)},expression:"widget.options.indexColumnName"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"支持分页显示"}},[_c('a-switch',{model:{value:(_vm.widget.options.supportPage),callback:function ($$v) {_vm.$set(_vm.widget.options, "supportPage", $$v)},expression:"widget.options.supportPage"}})],1),_c('a-form-model-item',{attrs:{"label":"默认添加行"}},[_c('a-switch',{model:{value:(_vm.widget.options.defaultAddRow),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultAddRow", $$v)},expression:"widget.options.defaultAddRow"}})],1),_c('a-form-model-item',{attrs:{"label":"支持导入"}},[_c('a-switch',{model:{value:(_vm.widget.options.enableImport),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableImport", $$v)},expression:"widget.options.enableImport"}})],1),(_vm.widget.options.enableImport)?_c('a-form-model-item',{attrs:{"label":"使用新版下载模板接口"}},[_c('a-switch',{model:{value:(_vm.widget.options.enableImportV2),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableImportV2", $$v)},expression:"widget.options.enableImportV2"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"禁用双击编辑"}},[_c('a-switch',{model:{value:(_vm.widget.options.disbaledDoubleClickEdit),callback:function ($$v) {_vm.$set(_vm.widget.options, "disbaledDoubleClickEdit", $$v)},expression:"widget.options.disbaledDoubleClickEdit"}})],1),_c('a-form-model-item',{attrs:{"label":"隐藏操作按钮"}},[_c('a-switch',{model:{value:(_vm.widget.options.hiddenOperateBtn),callback:function ($$v) {_vm.$set(_vm.widget.options, "hiddenOperateBtn", $$v)},expression:"widget.options.hiddenOperateBtn"}})],1),_c('a-form-model-item',{attrs:{"label":"子表单内组件宽度"}},[_c('a-switch',{model:{value:(_vm.widget.options.customSubWidth),callback:function ($$v) {_vm.$set(_vm.widget.options, "customSubWidth", $$v)},expression:"widget.options.customSubWidth"}}),_c('div',{staticStyle:{"margin-left":"10px"}},[_vm._l((_vm.widget.columns),function(col){return (_vm.widget.options.customSubWidth)?[_c('div',[_c('div',[_c('span',[_vm._v(_vm._s(col.name))])]),_c('a-input-number',{staticStyle:{"width":"100%"},attrs:{"min":0,"max":1000,"placeholder":"宽度设置(px), 不设置为自动分配"},model:{value:(col.subWidth),callback:function ($$v) {_vm.$set(col, "subWidth", $$v)},expression:"col.subWidth"}})],1)]:_vm._e()})],2)],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"标题布局方式:","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.widget.options.inline),callback:function ($$v) {_vm.$set(_vm.widget.options, "inline", $$v)},expression:"widget.options.inline"}},[_c('a-radio-button',{attrs:{"value":false}},[_vm._v(" 块级 ")]),_c('a-radio-button',{attrs:{"value":true}},[_vm._v(" 行内 ")])],1)],1),(_vm.widget.options && Object.keys(_vm.widget.options).indexOf('inline') >= 0 && _vm.widget.options.inline == false)?_c('a-form-model-item',{attrs:{"label":"子集布局方式:"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.widget.options.layoutModel),callback:function ($$v) {_vm.$set(_vm.widget.options, "layoutModel", $$v)},expression:"widget.options.layoutModel"}},[_c('a-radio-button',{attrs:{"value":"auto"}},[_vm._v("默认")]),_c('a-radio-button',{attrs:{"value":"design"}},[_vm._v("自定义 ")])],1)],1):_vm._e(),(_vm.widget.options.inline == false && _vm.widget.options.layoutModel == 'design')?[_c('a-form-model-item',{attrs:{"label":"基础网格列数:"}},[_c('a-input-number',{attrs:{"step":2,"max":24,"min":0},model:{value:(_vm.widget.options.columnsNum),callback:function ($$v) {_vm.$set(_vm.widget.options, "columnsNum", $$v)},expression:"widget.options.columnsNum"}})],1),_c('a-form-model-item',{attrs:{"label":"基础网格行数"}},[_c('a-input-number',{attrs:{"step":1,"min":0},model:{value:(_vm.widget.options.rowsNum),callback:function ($$v) {_vm.$set(_vm.widget.options, "rowsNum", $$v)},expression:"widget.options.rowsNum"}})],1),_c('a-form-model-item',{attrs:{"label":"基础行高"}},[_c('a-input-number',{attrs:{"step":1,"min":20},model:{value:(_vm.widget.options.rowsHeight),callback:function ($$v) {_vm.$set(_vm.widget.options, "rowsHeight", $$v)},expression:"widget.options.rowsHeight"}})],1),_c('a-form-model-item',{attrs:{"label":"子集配置:"}},[_c('ul',[_c('li',[_c('span',[_vm._v("横向起点")]),_vm._v("/ "),_c('span',[_vm._v("步长")]),_vm._v("/ "),_c('span',[_vm._v("纵向起点")]),_vm._v("/ "),_c('span',[_vm._v("步长")])]),_vm._l((_vm.widget.designList),function(item,index){return _c('li',{key:index},[_c('i',{staticClass:"drag-item",staticStyle:{"font-size":"16px","margin":"0 5px"}},[_c('i',{staticClass:"iconfont icon-icon_bars"})]),_c('a-input-number',{staticStyle:{"width":"47px"},attrs:{"placeholder":"横向起始位置","type":"number","min":0},model:{value:(item.x),callback:function ($$v) {_vm.$set(item, "x", _vm._n($$v))},expression:"item.x"}}),_c('a-input-number',{staticStyle:{"width":"47px","margin-right":"3px"},attrs:{"placeholder":"行步长","type":"number","min":0},model:{value:(item.w),callback:function ($$v) {_vm.$set(item, "w", _vm._n($$v))},expression:"item.w"}}),_c('a-input-number',{staticStyle:{"width":"47px","margin-right":"3px"},attrs:{"placeholder":"竖向起始位置","type":"number","min":0},model:{value:(item.y),callback:function ($$v) {_vm.$set(item, "y", _vm._n($$v))},expression:"item.y"}}),_c('a-input-number',{staticStyle:{"width":"47px","margin-right":"3px"},attrs:{"placeholder":"列步长","type":"number","min":0},model:{value:(item.h),callback:function ($$v) {_vm.$set(item, "h", _vm._n($$v))},expression:"item.h"}}),_c('a-button',{staticStyle:{"margin-left":"5px","border-radius":"50%"},attrs:{"circle":"","plain":"","type":"danger","size":"small","icon":"minus"},on:{"click":function($event){return _vm.handleOptionsRemove(index)}}})],1)})],2),_c('div',{staticStyle:{"margin-left":"22px"}},[_c('a-button',{attrs:{"type":"link"},on:{"click":_vm.handleTableAddColumn}},[_vm._v("添加列")])],1)])]:_vm._e()],2),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}}),_c('default-value-with-sql',{ref:"defaultValueWithSql",on:{"setDefalutOk":_vm.setDefalutValue}})],1)])])}
84320
- var widgetSetupvue_type_template_id_5860d07e_scoped_true_staticRenderFns = []
84305
+ ;// ./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/components/NewTable/widgetSetup.vue?vue&type=template&id=06742236&scoped=true
84306
+ var widgetSetupvue_type_template_id_06742236_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-alert',{staticStyle:{"margin-bottom":"12px"},attrs:{"type":"info","show-icon":"","message":"新子表单已优化字典类组件的数据加载:相同数据源仅请求一次。未开启分页时全部行直接渲染;开启「支持分页显示」后走分页模式。"}}),_c('a-form-model-item',{attrs:{"label":"默认值"}},[(_vm.isFormDesignSQL && !_vm.isFormDesignSQLKey)?_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.defaultValue),callback:function ($$v) {_vm.defaultValue=$$v},expression:"defaultValue"}}):_vm._e()],1),(!_vm.isFormDesignSQL && !_vm.isFormDesignSQLKey)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("关联数据集")]):_vm._e(),(_vm.isFormDesignSQLKey)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSqlKey}},[_vm._v("配置详情")]):_vm._e(),_c('a-form-model-item',{attrs:{"label":"审核人可导出"}},[_c('a-switch',{model:{value:(_vm.widget.options.auditorExport),callback:function ($$v) {_vm.$set(_vm.widget.options, "auditorExport", $$v)},expression:"widget.options.auditorExport"}})],1),_c('a-form-model-item',{attrs:{"label":"是否序号列"}},[_c('a-switch',{on:{"change":_vm.addIndexColumnChange},model:{value:(_vm.widget.options.enableIndex),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableIndex", $$v)},expression:"widget.options.enableIndex"}})],1),(_vm.widget.options.enableIndex)?_c('a-form-model-item',{attrs:{"label":"序列号提示文字"}},[_c('a-input',{attrs:{"placeholder":"格式:index;提示文字 / 提示文字;index"},on:{"change":function($event){return _vm.addIndexColumnChange('edit')}},model:{value:(_vm.widget.options.indexColumnName),callback:function ($$v) {_vm.$set(_vm.widget.options, "indexColumnName", $$v)},expression:"widget.options.indexColumnName"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"支持分页显示"}},[_c('a-switch',{model:{value:(_vm.widget.options.supportPage),callback:function ($$v) {_vm.$set(_vm.widget.options, "supportPage", $$v)},expression:"widget.options.supportPage"}})],1),_c('a-form-model-item',{attrs:{"label":"默认添加行"}},[_c('a-switch',{model:{value:(_vm.widget.options.defaultAddRow),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultAddRow", $$v)},expression:"widget.options.defaultAddRow"}})],1),_c('a-form-model-item',{attrs:{"label":"支持导入"}},[_c('a-switch',{model:{value:(_vm.widget.options.enableImport),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableImport", $$v)},expression:"widget.options.enableImport"}})],1),(_vm.widget.options.enableImport)?_c('a-form-model-item',{attrs:{"label":"使用新版下载模板接口"}},[_c('a-switch',{model:{value:(_vm.widget.options.enableImportV2),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableImportV2", $$v)},expression:"widget.options.enableImportV2"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"隐藏操作按钮"}},[_c('a-switch',{model:{value:(_vm.widget.options.hiddenOperateBtn),callback:function ($$v) {_vm.$set(_vm.widget.options, "hiddenOperateBtn", $$v)},expression:"widget.options.hiddenOperateBtn"}})],1),_c('a-form-model-item',{attrs:{"label":"子表单内组件宽度"}},[_c('a-switch',{model:{value:(_vm.widget.options.customSubWidth),callback:function ($$v) {_vm.$set(_vm.widget.options, "customSubWidth", $$v)},expression:"widget.options.customSubWidth"}}),_c('div',{staticStyle:{"margin-left":"10px"}},[_vm._l((_vm.widget.columns),function(col){return (_vm.widget.options.customSubWidth)?[_c('div',[_c('div',[_c('span',[_vm._v(_vm._s(col.name))])]),_c('a-input-number',{staticStyle:{"width":"100%"},attrs:{"min":0,"max":1000,"placeholder":"宽度设置(px), 不设置为自动分配"},model:{value:(col.subWidth),callback:function ($$v) {_vm.$set(col, "subWidth", $$v)},expression:"col.subWidth"}})],1)]:_vm._e()})],2)],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"标题布局方式:","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.widget.options.inline),callback:function ($$v) {_vm.$set(_vm.widget.options, "inline", $$v)},expression:"widget.options.inline"}},[_c('a-radio-button',{attrs:{"value":false}},[_vm._v(" 块级 ")]),_c('a-radio-button',{attrs:{"value":true}},[_vm._v(" 行内 ")])],1)],1),(_vm.widget.options && Object.keys(_vm.widget.options).indexOf('inline') >= 0 && _vm.widget.options.inline == false)?_c('a-form-model-item',{attrs:{"label":"子集布局方式:"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.widget.options.layoutModel),callback:function ($$v) {_vm.$set(_vm.widget.options, "layoutModel", $$v)},expression:"widget.options.layoutModel"}},[_c('a-radio-button',{attrs:{"value":"auto"}},[_vm._v("默认")]),_c('a-radio-button',{attrs:{"value":"design"}},[_vm._v("自定义 ")])],1)],1):_vm._e(),(_vm.widget.options.inline == false && _vm.widget.options.layoutModel == 'design')?[_c('a-form-model-item',{attrs:{"label":"基础网格列数:"}},[_c('a-input-number',{attrs:{"step":2,"max":24,"min":0},model:{value:(_vm.widget.options.columnsNum),callback:function ($$v) {_vm.$set(_vm.widget.options, "columnsNum", $$v)},expression:"widget.options.columnsNum"}})],1),_c('a-form-model-item',{attrs:{"label":"基础网格行数"}},[_c('a-input-number',{attrs:{"step":1,"min":0},model:{value:(_vm.widget.options.rowsNum),callback:function ($$v) {_vm.$set(_vm.widget.options, "rowsNum", $$v)},expression:"widget.options.rowsNum"}})],1),_c('a-form-model-item',{attrs:{"label":"基础行高"}},[_c('a-input-number',{attrs:{"step":1,"min":20},model:{value:(_vm.widget.options.rowsHeight),callback:function ($$v) {_vm.$set(_vm.widget.options, "rowsHeight", $$v)},expression:"widget.options.rowsHeight"}})],1),_c('a-form-model-item',{attrs:{"label":"子集配置:"}},[_c('ul',[_c('li',[_c('span',[_vm._v("横向起点")]),_vm._v("/ "),_c('span',[_vm._v("步长")]),_vm._v("/ "),_c('span',[_vm._v("纵向起点")]),_vm._v("/ "),_c('span',[_vm._v("步长")])]),_vm._l((_vm.widget.designList),function(item,index){return _c('li',{key:index},[_c('i',{staticClass:"drag-item",staticStyle:{"font-size":"16px","margin":"0 5px"}},[_c('i',{staticClass:"iconfont icon-icon_bars"})]),_c('a-input-number',{staticStyle:{"width":"47px"},attrs:{"placeholder":"横向起始位置","type":"number","min":0},model:{value:(item.x),callback:function ($$v) {_vm.$set(item, "x", _vm._n($$v))},expression:"item.x"}}),_c('a-input-number',{staticStyle:{"width":"47px","margin-right":"3px"},attrs:{"placeholder":"行步长","type":"number","min":0},model:{value:(item.w),callback:function ($$v) {_vm.$set(item, "w", _vm._n($$v))},expression:"item.w"}}),_c('a-input-number',{staticStyle:{"width":"47px","margin-right":"3px"},attrs:{"placeholder":"竖向起始位置","type":"number","min":0},model:{value:(item.y),callback:function ($$v) {_vm.$set(item, "y", _vm._n($$v))},expression:"item.y"}}),_c('a-input-number',{staticStyle:{"width":"47px","margin-right":"3px"},attrs:{"placeholder":"列步长","type":"number","min":0},model:{value:(item.h),callback:function ($$v) {_vm.$set(item, "h", _vm._n($$v))},expression:"item.h"}}),_c('a-button',{staticStyle:{"margin-left":"5px","border-radius":"50%"},attrs:{"circle":"","plain":"","type":"danger","size":"small","icon":"minus"},on:{"click":function($event){return _vm.handleOptionsRemove(index)}}})],1)})],2),_c('div',{staticStyle:{"margin-left":"22px"}},[_c('a-button',{attrs:{"type":"link"},on:{"click":_vm.handleTableAddColumn}},[_vm._v("添加列")])],1)])]:_vm._e()],2),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}}),_c('default-value-with-sql',{ref:"defaultValueWithSql",on:{"setDefalutOk":_vm.setDefalutValue}})],1)])])}
84307
+ var widgetSetupvue_type_template_id_06742236_scoped_true_staticRenderFns = []
84321
84308
 
84322
84309
 
84323
84310
  ;// ./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/components/NewTable/widgetSetup.vue?vue&type=script&lang=js
@@ -84430,9 +84417,6 @@ var widgetSetupvue_type_template_id_5860d07e_scoped_true_staticRenderFns = []
84430
84417
  //
84431
84418
  //
84432
84419
  //
84433
- //
84434
- //
84435
- //
84436
84420
 
84437
84421
 
84438
84422
 
@@ -84521,10 +84505,10 @@ var widgetSetupvue_type_template_id_5860d07e_scoped_true_staticRenderFns = []
84521
84505
  });
84522
84506
  ;// ./src/form/modules/components/NewTable/widgetSetup.vue?vue&type=script&lang=js
84523
84507
  /* harmony default export */ const components_NewTable_widgetSetupvue_type_script_lang_js = (NewTable_widgetSetupvue_type_script_lang_js);
84524
- ;// ./node_modules/_mini-css-extract-plugin@2.10.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/components/NewTable/widgetSetup.vue?vue&type=style&index=0&id=5860d07e&prod&lang=less&scoped=true
84508
+ ;// ./node_modules/_mini-css-extract-plugin@2.10.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/components/NewTable/widgetSetup.vue?vue&type=style&index=0&id=06742236&prod&lang=less&scoped=true
84525
84509
  // extracted by mini-css-extract-plugin
84526
84510
 
84527
- ;// ./src/form/modules/components/NewTable/widgetSetup.vue?vue&type=style&index=0&id=5860d07e&prod&lang=less&scoped=true
84511
+ ;// ./src/form/modules/components/NewTable/widgetSetup.vue?vue&type=style&index=0&id=06742236&prod&lang=less&scoped=true
84528
84512
 
84529
84513
  ;// ./src/form/modules/components/NewTable/widgetSetup.vue
84530
84514
 
@@ -84537,11 +84521,11 @@ var widgetSetupvue_type_template_id_5860d07e_scoped_true_staticRenderFns = []
84537
84521
 
84538
84522
  var NewTable_widgetSetup_component = (0,componentNormalizer/* default */.A)(
84539
84523
  components_NewTable_widgetSetupvue_type_script_lang_js,
84540
- widgetSetupvue_type_template_id_5860d07e_scoped_true_render,
84541
- widgetSetupvue_type_template_id_5860d07e_scoped_true_staticRenderFns,
84524
+ widgetSetupvue_type_template_id_06742236_scoped_true_render,
84525
+ widgetSetupvue_type_template_id_06742236_scoped_true_staticRenderFns,
84542
84526
  false,
84543
84527
  null,
84544
- "5860d07e",
84528
+ "06742236",
84545
84529
  null
84546
84530
 
84547
84531
  )
@@ -129786,6 +129770,7 @@ const getMathResult = (method, arr, sub) => {
129786
129770
  "use strict";
129787
129771
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
129788
129772
  /* harmony export */ AJ: () => (/* binding */ applyTableScriptDefaults),
129773
+ /* harmony export */ Dz: () => (/* binding */ resolveTableColumnDefaultValue),
129789
129774
  /* harmony export */ WE: () => (/* binding */ materializeDesignTableRow),
129790
129775
  /* harmony export */ eo: () => (/* binding */ createLightweightTableRows),
129791
129776
  /* harmony export */ h_: () => (/* binding */ shouldUseLightweightTableRowsForNewTable),
@@ -129946,6 +129931,40 @@ function applyTableScriptDefaults(tableWidget, rows) {
129946
129931
  function finalizeTableModelRows(tableWidget, rows) {
129947
129932
  return applyTableScriptDefaults(tableWidget, normalizeTableModelRows(tableWidget, rows));
129948
129933
  }
129934
+
129935
+ /**
129936
+ * 解析子表单新增行字段默认值。
129937
+ * 数组/对象必须深拷贝,否则多行会共享同一引用(上传 push 会污染下一行)。
129938
+ */
129939
+ function resolveTableColumnDefaultValue(item) {
129940
+ var _item$options, _item$options3;
129941
+ let defaultValue = item.defaultValue != null && item.defaultValue !== '' ? item.defaultValue : (_item$options = item.options) === null || _item$options === void 0 ? void 0 : _item$options.defaultValue;
129942
+ if (typeof defaultValue === 'string' && defaultValue.startsWith('script:')) {
129943
+ defaultValue = '';
129944
+ }
129945
+ if (['imgupload', 'fileupload'].includes(item.type)) {
129946
+ var _item$options2;
129947
+ if ((_item$options2 = item.options) !== null && _item$options2 !== void 0 && _item$options2.defaultFiles) {
129948
+ defaultValue = item.options.defaultFiles;
129949
+ }
129950
+ if (!Array.isArray(defaultValue)) {
129951
+ defaultValue = [];
129952
+ }
129953
+ }
129954
+ if (item.type === 'time' && (_item$options3 = item.options) !== null && _item$options3 !== void 0 && _item$options3.isRange && (!Array.isArray(defaultValue) || defaultValue.length === 0)) {
129955
+ defaultValue = [null, null];
129956
+ }
129957
+ if (Array.isArray(defaultValue) || defaultValue && typeof defaultValue === 'object') {
129958
+ try {
129959
+ return JSON.parse(JSON.stringify(defaultValue));
129960
+ } catch (e) {
129961
+ return Array.isArray(defaultValue) ? defaultValue.slice() : {
129962
+ ...defaultValue
129963
+ };
129964
+ }
129965
+ }
129966
+ return defaultValue;
129967
+ }
129949
129968
  function hasFieldValue(v) {
129950
129969
  if (v === '' || v === undefined || v === null) return false;
129951
129970
  if (typeof v === 'string' && !v.trim()) return false;
@@ -138041,7 +138060,7 @@ var staticRenderFns = []
138041
138060
 
138042
138061
 
138043
138062
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1030 modules
138044
- var components = __webpack_require__(44974);
138063
+ var components = __webpack_require__(95121);
138045
138064
  ;// ./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/common/Modals/CorrectionItem.vue?vue&type=script&lang=js
138046
138065
  //
138047
138066
  //
@@ -139706,7 +139725,7 @@ var component = (0,componentNormalizer/* default */.A)(
139706
139725
 
139707
139726
  /***/ },
139708
139727
 
139709
- /***/ 5954
139728
+ /***/ 11039
139710
139729
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
139711
139730
 
139712
139731
  "use strict";
@@ -139716,8 +139735,8 @@ __webpack_require__.d(__webpack_exports__, {
139716
139735
  A: () => (/* binding */ tableItem)
139717
139736
  });
139718
139737
 
139719
- ;// ./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/common/tableItem.vue?vue&type=template&id=02804c33&scoped=true
139720
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((_vm.widget.columns),function(tableItem,col_index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(tableItem.type !== 'hidden' && tableItem.options.canView),expression:"tableItem.type !== 'hidden' && tableItem.options.canView"}],key:_vm.index + '_' + col_index,staticClass:"sub-table-item",style:(Object.assign({}, _vm.handleSubTableStyle(_vm.widget, tableItem)))},[(['input', 'textarea'].includes(tableItem.type) && !_vm.editArr[col_index] && !tableItem.tableColCanEdit && (!_vm.widget.options.disbaledDoubleClickEdit))?_c('div',{style:(("color: #000; border-right: 1px solid " + (_vm.config.borderColor) + "; border-bottom: 1px solid " + (_vm.config.borderColor) + "; line-height: normal; padding: 0 15px; line-break: anywhere; overflow: hidden; display: flex; align-items: center; height: " + (tableItem.options.height ? tableItem.options.height+'px':'initial'))),attrs:{"title":_vm.showValue(_vm.models[_vm.source.model][_vm.index][tableItem.model], tableItem, _vm.index)},on:{"dblclick":function($event){return _vm.tableColumnsDBClick(col_index, tableItem, _vm.source.model + '_' + _vm.index + '_' + tableItem.model)}}},[(!_vm.$isMobile)?_c('span',[_vm._v(_vm._s(_vm.showValue(_vm.models[_vm.source.model][_vm.index][tableItem.model], tableItem, _vm.index)))]):_c('AutoScrollText',{attrs:{"text":_vm.showValue(_vm.models[_vm.source.model][_vm.index][tableItem.model], tableItem, _vm.index) || '',"maxWidth":280 / _vm.widget.columns.length,"duration":18 / _vm.widget.columns.length,"delay":1.5,"pauseOnHover":true}})],1):_c('layout-item',{directives:[{name:"show",rawName:"v-show",value:(tableItem.options.canView),expression:"tableItem.options.canView"}],key:_vm.source.hashKey,attrs:{"tableKey":_vm.source.model,"rules":_vm.rules,"tableIndex":_vm.index,"hashKey":_vm.source.hashKey,"widget":tableItem,"models":_vm.models,"showLabel":false,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event}}})],1)}),(!_vm.widget.options.disabled && !_vm.widget.options.hiddenOperateBtn)?_c('span',{staticClass:"last-one",style:({ borderColor: _vm.data.config.borderColor })},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleDeleteRow(_vm.index, _vm.widget.model, _vm.source.hashKey)}}},[_vm._v("删除行")])],1):_vm._e()],2)}
139738
+ ;// ./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/common/tableItem.vue?vue&type=template&id=513c98f0&scoped=true
139739
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((_vm.widget.columns),function(tableItem,col_index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(tableItem.type !== 'hidden' && tableItem.options.canView),expression:"tableItem.type !== 'hidden' && tableItem.options.canView"}],key:_vm.index + '_' + col_index,staticClass:"sub-table-item",style:(Object.assign({}, _vm.handleSubTableStyle(_vm.widget, tableItem)))},[(_vm.widget.type !== 'newTable' && ['input', 'textarea'].includes(tableItem.type) && !_vm.editArr[col_index] && !tableItem.tableColCanEdit && (!_vm.widget.options.disbaledDoubleClickEdit))?_c('div',{style:(("color: #000; border-right: 1px solid " + (_vm.config.borderColor) + "; border-bottom: 1px solid " + (_vm.config.borderColor) + "; line-height: normal; padding: 0 15px; line-break: anywhere; overflow: hidden; display: flex; align-items: center; height: " + (tableItem.options.height ? tableItem.options.height+'px':'initial'))),attrs:{"title":_vm.showValue(_vm.models[_vm.source.model][_vm.index][tableItem.model], tableItem, _vm.index)},on:{"dblclick":function($event){return _vm.tableColumnsDBClick(col_index, tableItem, _vm.source.model + '_' + _vm.index + '_' + tableItem.model)}}},[(!_vm.$isMobile)?_c('span',[_vm._v(_vm._s(_vm.showValue(_vm.models[_vm.source.model][_vm.index][tableItem.model], tableItem, _vm.index)))]):_c('AutoScrollText',{attrs:{"text":_vm.showValue(_vm.models[_vm.source.model][_vm.index][tableItem.model], tableItem, _vm.index) || '',"maxWidth":280 / _vm.widget.columns.length,"duration":18 / _vm.widget.columns.length,"delay":1.5,"pauseOnHover":true}})],1):_c('layout-item',{directives:[{name:"show",rawName:"v-show",value:(tableItem.options.canView),expression:"tableItem.options.canView"}],key:_vm.source.hashKey,attrs:{"tableKey":_vm.source.model,"rules":_vm.rules,"tableIndex":_vm.index,"hashKey":_vm.source.hashKey,"widget":tableItem,"models":_vm.models,"showLabel":false,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event}}})],1)}),(!_vm.widget.options.disabled && !_vm.widget.options.hiddenOperateBtn)?_c('span',{staticClass:"last-one",style:({ borderColor: _vm.data.config.borderColor })},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleDeleteRow(_vm.index, _vm.widget.model, _vm.source.hashKey)}}},[_vm._v("删除行")])],1):_vm._e()],2)}
139721
139740
  var staticRenderFns = []
139722
139741
 
139723
139742
 
@@ -139725,10 +139744,10 @@ var staticRenderFns = []
139725
139744
  var tableItemvue_type_script_lang_js = __webpack_require__(19361);
139726
139745
  ;// ./src/form/modules/common/tableItem.vue?vue&type=script&lang=js
139727
139746
  /* harmony default export */ const common_tableItemvue_type_script_lang_js = (tableItemvue_type_script_lang_js/* default */.A);
139728
- ;// ./node_modules/_mini-css-extract-plugin@2.10.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/common/tableItem.vue?vue&type=style&index=0&id=02804c33&prod&scoped=true&lang=less
139747
+ ;// ./node_modules/_mini-css-extract-plugin@2.10.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/common/tableItem.vue?vue&type=style&index=0&id=513c98f0&prod&scoped=true&lang=less
139729
139748
  // extracted by mini-css-extract-plugin
139730
139749
 
139731
- ;// ./src/form/modules/common/tableItem.vue?vue&type=style&index=0&id=02804c33&prod&scoped=true&lang=less
139750
+ ;// ./src/form/modules/common/tableItem.vue?vue&type=style&index=0&id=513c98f0&prod&scoped=true&lang=less
139732
139751
 
139733
139752
  // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
139734
139753
  var componentNormalizer = __webpack_require__(64008);
@@ -139747,7 +139766,7 @@ var component = (0,componentNormalizer/* default */.A)(
139747
139766
  staticRenderFns,
139748
139767
  false,
139749
139768
  null,
139750
- "02804c33",
139769
+ "513c98f0",
139751
139770
  null
139752
139771
 
139753
139772
  )
@@ -140274,7 +140293,7 @@ var component = (0,componentNormalizer/* default */.A)(
140274
140293
 
140275
140294
  /***/ },
140276
140295
 
140277
- /***/ 24297
140296
+ /***/ 36676
140278
140297
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
140279
140298
 
140280
140299
  "use strict";
@@ -140286,7 +140305,7 @@ __webpack_require__.d(__webpack_exports__, {
140286
140305
  "default": () => (/* binding */ layoutForPaper)
140287
140306
  });
140288
140307
 
140289
- ;// ./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=120a09a8&scoped=true
140308
+ ;// ./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=651a5cd0&scoped=true
140290
140309
  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')?[(
140291
140310
  widget.options.layoutModel === 'auto' ||
140292
140311
  widget.options.layoutModel === undefined
@@ -140295,10 +140314,10 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
140295
140314
  borderColor: _vm.data.config.borderColor,
140296
140315
  backgroundColor: _vm.data.config.bgc,
140297
140316
  color: _vm.data.config.color,
140298
- })},[_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,"accept":".xls,.xlsx","beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload && !_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:({
140317
+ })},[_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,"accept":".xls,.xlsx","beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload)?_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:({
140299
140318
  background: _vm.data.config.bgc,
140300
140319
  color: _vm.data.config.color,
140301
- 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,"accept":".xls,.xlsx","showUploadList":false,"beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload && !_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:[
140320
+ 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,"accept":".xls,.xlsx","showUploadList":false,"beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload)?_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:[
140302
140321
  _vm.data.config.align,
140303
140322
  _vm.data.config.validate === true && children.options.required === true
140304
140323
  ? 'is_required'
@@ -140330,14 +140349,14 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
140330
140349
  borderColor: _vm.data.config.borderColor,
140331
140350
  backgroundColor: _vm.data.config.bgc,
140332
140351
  color: _vm.data.config.color,
140333
- })},[_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,"accept":".xls,.xlsx","beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload && !_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:({
140352
+ })},[_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,"accept":".xls,.xlsx","beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload)?_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:({
140334
140353
  background: _vm.data.config.bgc,
140335
140354
  color: _vm.data.config.color,
140336
- 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,"accept":".xls,.xlsx","showUploadList":false,"beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload && !_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:[
140355
+ 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,"accept":".xls,.xlsx","showUploadList":false,"beforeUpload":_vm.beforeUpload},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 && widget.options.designExportDownload)?_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:[
140337
140356
  _vm.data.config.align,
140338
140357
  _vm.data.config.validate === true && children.options.required === true
140339
140358
  ? 'is_required'
140340
- : '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,"applyId":_vm.applyId}})}),(_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 () {
140359
+ : '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,"applyId":_vm.computedApplyId}})}),(_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 () {
140341
140360
  var args = [], len = arguments.length;
140342
140361
  while ( len-- ) args[ len ] = arguments[ len ];
140343
140362
 
@@ -140347,13 +140366,13 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
140347
140366
  while ( len-- ) args[ len ] = arguments[ len ];
140348
140367
 
140349
140368
  return _vm.newTablePageChange.apply(void 0, [ widget ].concat( args ));
140350
- }},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()]:_vm._l((_vm.tableData[widget.model]),function(source,idx){return _c('table-item',{key:source.rand_id || source.hashKey || idx,attrs:{"widget":widget,"index":idx,"data":_vm.data,"rules":_vm.rules,"models":_vm.models,"handleDeleteRow":_vm.handleDeleteRow,"source":source,"applyId":_vm.applyId}})})]:_vm._e(),(
140369
+ }},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()]:_vm._l((_vm.tableData[widget.model]),function(source,idx){return _c('table-item',{key:source.rand_id || source.hashKey || idx,attrs:{"widget":widget,"index":idx,"data":_vm.data,"rules":_vm.rules,"models":_vm.models,"handleDeleteRow":_vm.handleDeleteRow,"source":source,"applyId":_vm.computedApplyId}})})]:_vm._e(),(
140351
140370
  widget.options.computingSub.length > 0 &&
140352
140371
  widget.options.computingMethod.length > 0 &&
140353
140372
  _vm.tableData &&
140354
140373
  _vm.tableData[widget.model] &&
140355
140374
  _vm.tableData[widget.model].length > 0
140356
- )?_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",class:[widget.options.supportPage ? 'pagiAfter' : ''],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":"数据加载中"}},[_c('newTableComponent',{attrs:{"isApply":_vm.isApply,"isDesign":_vm.isDesign,"widget":widget,"tableData":_vm.tableData,"tablePageInfo":_vm.tablePageInfo[widget.model],"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,"page-change":function () {
140375
+ )?_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",class:[widget.options.supportPage ? 'pagiAfter' : ''],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":"数据加载中"}},[_c('newTableComponent',{attrs:{"isApply":_vm.isApply,"isDesign":_vm.isDesign,"widget":widget,"tableData":_vm.tableData,"tablePageInfo":_vm.tablePageInfo[widget.model],"rules":_vm.rules,"models":_vm.models,"formId":_vm.data.formId,"index":index,"listindex":listindex,"applyId":_vm.computedApplyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event},"addToTableData":_vm.addToTableData,"handleDeleteRow":_vm.handleDeleteRow,"page-change":function () {
140357
140376
  var args = [], len = arguments.length;
140358
140377
  while ( len-- ) args[ len ] = arguments[ len ];
140359
140378
 
@@ -140369,15 +140388,15 @@ var staticRenderFns = []
140369
140388
  var layoutForPapervue_type_script_lang_js = __webpack_require__(49218);
140370
140389
  ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
140371
140390
  /* harmony default export */ const layout_layoutForPapervue_type_script_lang_js = (layoutForPapervue_type_script_lang_js/* default */.A);
140372
- ;// ./node_modules/_mini-css-extract-plugin@2.10.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=120a09a8&prod&lang=less&scoped=true
140391
+ ;// ./node_modules/_mini-css-extract-plugin@2.10.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=651a5cd0&prod&lang=less&scoped=true
140373
140392
  // extracted by mini-css-extract-plugin
140374
140393
 
140375
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=120a09a8&prod&lang=less&scoped=true
140394
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=651a5cd0&prod&lang=less&scoped=true
140376
140395
 
140377
- ;// ./node_modules/_mini-css-extract-plugin@2.10.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=120a09a8&prod&lang=css
140396
+ ;// ./node_modules/_mini-css-extract-plugin@2.10.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=651a5cd0&prod&lang=css
140378
140397
  // extracted by mini-css-extract-plugin
140379
140398
 
140380
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=120a09a8&prod&lang=css
140399
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=651a5cd0&prod&lang=css
140381
140400
 
140382
140401
  // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
140383
140402
  var componentNormalizer = __webpack_require__(64008);
@@ -140397,7 +140416,7 @@ var component = (0,componentNormalizer/* default */.A)(
140397
140416
  staticRenderFns,
140398
140417
  false,
140399
140418
  null,
140400
- "120a09a8",
140419
+ "651a5cd0",
140401
140420
  null
140402
140421
 
140403
140422
  )
@@ -140483,7 +140502,7 @@ var component = (0,componentNormalizer/* default */.A)(
140483
140502
 
140484
140503
  /* harmony default export */ const CorrectionModal = (component.exports);
140485
140504
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1030 modules
140486
- var components = __webpack_require__(44974);
140505
+ var components = __webpack_require__(95121);
140487
140506
  // EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.5@pubsub-js/src/pubsub.js
140488
140507
  var pubsub = __webpack_require__(15934);
140489
140508
  var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
@@ -141706,7 +141725,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
141706
141725
  // EXTERNAL MODULE: ./src/api/manage.js
141707
141726
  var manage = __webpack_require__(5335);
141708
141727
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1030 modules
141709
- var components = __webpack_require__(44974);
141728
+ var components = __webpack_require__(95121);
141710
141729
  // EXTERNAL MODULE: ./src/form/util/Bus.js
141711
141730
  var Bus = __webpack_require__(31227);
141712
141731
  // EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
@@ -158409,7 +158428,7 @@ function toString(value) {
158409
158428
  (module) {
158410
158429
 
158411
158430
  "use strict";
158412
- module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.689-AI.15"}');
158431
+ module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.689-AI.16"}');
158413
158432
 
158414
158433
  /***/ }
158415
158434
 
@@ -172197,7 +172216,7 @@ var SvgIcon_component = (0,componentNormalizer/* default */.A)(
172197
172216
 
172198
172217
  /* harmony default export */ const SvgIcon = (SvgIcon_component.exports);
172199
172218
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
172200
- var layoutForPaper = __webpack_require__(24297);
172219
+ var layoutForPaper = __webpack_require__(36676);
172201
172220
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
172202
172221
  var layoutItem = __webpack_require__(20944);
172203
172222
  ;// ./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=497bb086
@@ -173670,7 +173689,7 @@ var es_array_unshift = __webpack_require__(7702);
173670
173689
  // EXTERNAL MODULE: ./src/form/util/util.js
173671
173690
  var util_util = __webpack_require__(78393);
173672
173691
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1030 modules
173673
- var components = __webpack_require__(44974);
173692
+ var components = __webpack_require__(95121);
173674
173693
  // EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 5 modules
173675
173694
  var widgetFormItem = __webpack_require__(25509);
173676
173695
  // EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
@@ -186110,7 +186129,7 @@ function subTableNamePrefix(parentType) {
186110
186129
  }
186111
186130
  },
186112
186131
  components: {
186113
- layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 24297)),
186132
+ layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 36676)),
186114
186133
  FormulaEdit: formula_edit
186115
186134
  },
186116
186135
  data() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.689-AI.15",
3
+ "version": "1.1.689-AI.16",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",