@zscreate/form-component 1.1.716 → 1.1.717

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.
@@ -5153,46 +5153,46 @@ div {
5153
5153
  align-items: center;
5154
5154
  }
5155
5155
 
5156
- .t-border[data-v-749a2baa] {
5156
+ .t-border[data-v-5e3c1e56] {
5157
5157
  border-right: 1px solid #333;
5158
5158
  border-bottom: 1px solid #333;
5159
5159
  }
5160
- [data-v-749a2baa] * {
5160
+ [data-v-5e3c1e56] * {
5161
5161
  font-size: var(--paperFontSize);
5162
5162
  }
5163
- [data-v-749a2baa] .custom_form_item {
5163
+ [data-v-5e3c1e56] .custom_form_item {
5164
5164
  height: -moz-fit-content;
5165
5165
  height: fit-content;
5166
5166
  }
5167
- .save-pdf[data-v-749a2baa] .ant-input {
5167
+ .save-pdf[data-v-5e3c1e56] .ant-input {
5168
5168
  border: none !important;
5169
5169
  }
5170
- .save-pdf[data-v-749a2baa] .ant-select-selection {
5170
+ .save-pdf[data-v-5e3c1e56] .ant-select-selection {
5171
5171
  border: none !important;
5172
5172
  }
5173
- .save-pdf[data-v-749a2baa] .ant-select-arrow svg {
5173
+ .save-pdf[data-v-5e3c1e56] .ant-select-arrow svg {
5174
5174
  display: none;
5175
5175
  }
5176
- .save-pdf[data-v-749a2baa] .ant-upload.ant-upload-select-picture-card {
5176
+ .save-pdf[data-v-5e3c1e56] .ant-upload.ant-upload-select-picture-card {
5177
5177
  display: none;
5178
5178
  }
5179
- .save-pdf[data-v-749a2baa] .anticon svg {
5179
+ .save-pdf[data-v-5e3c1e56] .anticon svg {
5180
5180
  display: none;
5181
5181
  }
5182
- .save-pdf[data-v-749a2baa] .ant-time-picker-input {
5182
+ .save-pdf[data-v-5e3c1e56] .ant-time-picker-input {
5183
5183
  border: none !important;
5184
5184
  }
5185
- .save-pdf[data-v-749a2baa] .ant-upload.ant-upload-select {
5185
+ .save-pdf[data-v-5e3c1e56] .ant-upload.ant-upload-select {
5186
5186
  display: none;
5187
5187
  }
5188
5188
  /**打印非固定高度标签 高度不确定bug**/
5189
- .computed-wrap[data-v-749a2baa] {
5189
+ .computed-wrap[data-v-5e3c1e56] {
5190
5190
  background: #f5f5f5;
5191
5191
  }
5192
- .computed-wrap .item[data-v-749a2baa] {
5192
+ .computed-wrap .item[data-v-5e3c1e56] {
5193
5193
  display: flex;
5194
5194
  }
5195
- .computed-wrap .item > div[data-v-749a2baa] {
5195
+ .computed-wrap .item > div[data-v-5e3c1e56] {
5196
5196
  height: 35px;
5197
5197
  line-height: 35px;
5198
5198
  flex: 1;
@@ -5200,130 +5200,130 @@ div {
5200
5200
  border-bottom: 1px solid #000;
5201
5201
  text-align: center;
5202
5202
  }
5203
- .computed-wrap .item > div + div[data-v-749a2baa] {
5203
+ .computed-wrap .item > div + div[data-v-5e3c1e56] {
5204
5204
  flex: 2;
5205
5205
  }
5206
- .layout .paper[data-v-749a2baa] {
5206
+ .layout .paper[data-v-5e3c1e56] {
5207
5207
  position: relative;
5208
5208
  }
5209
- .layout .paper .form-title[data-v-749a2baa] {
5209
+ .layout .paper .form-title[data-v-5e3c1e56] {
5210
5210
  text-align: center;
5211
5211
  font-weight: 600;
5212
5212
  font-size: 16px;
5213
5213
  min-height: 40px;
5214
5214
  line-height: 30px;
5215
5215
  }
5216
- .row-item[data-v-749a2baa] {
5216
+ .row-item[data-v-5e3c1e56] {
5217
5217
  height: -moz-fit-content;
5218
5218
  height: fit-content;
5219
5219
  /**打印非固定高度标签 高度不确定bug**/
5220
5220
  }
5221
- .no-row-item[data-v-749a2baa] {
5221
+ .no-row-item[data-v-5e3c1e56] {
5222
5222
  border-right: none;
5223
5223
  border-bottom: none;
5224
5224
  }
5225
5225
  /****page边框内的 ***/
5226
- .page-border[data-v-749a2baa] {
5226
+ .page-border[data-v-5e3c1e56] {
5227
5227
  background: #fff;
5228
5228
  box-sizing: border-box;
5229
5229
  }
5230
- .page-border .row-item[data-v-749a2baa]:first-child {
5230
+ .page-border .row-item[data-v-5e3c1e56]:first-child {
5231
5231
  border-top: 1px solid #000;
5232
5232
  }
5233
- .page-border .row-item[data-v-749a2baa] {
5233
+ .page-border .row-item[data-v-5e3c1e56] {
5234
5234
  border-left: 1px solid #000;
5235
5235
  }
5236
- .page-border .item-bottom[data-v-749a2baa] {
5236
+ .page-border .item-bottom[data-v-5e3c1e56] {
5237
5237
  border-bottom: 1px solid #000;
5238
5238
  }
5239
- .page-border .row-item[data-v-749a2baa]:not(:last-child) {
5239
+ .page-border .row-item[data-v-5e3c1e56]:not(:last-child) {
5240
5240
  position: relative;
5241
5241
  }
5242
- .page-border li.sortable-chosen[data-v-749a2baa] {
5242
+ .page-border li.sortable-chosen[data-v-5e3c1e56] {
5243
5243
  height: 2px !important;
5244
5244
  overflow: hidden !important;
5245
5245
  background: red !important;
5246
5246
  }
5247
- .page-border .ant-time-picker-panel[data-v-749a2baa] {
5247
+ .page-border .ant-time-picker-panel[data-v-5e3c1e56] {
5248
5248
  z-index: 200000 !important;
5249
5249
  }
5250
- .page-border .ant-calendar-picker-container[data-v-749a2baa] {
5250
+ .page-border .ant-calendar-picker-container[data-v-5e3c1e56] {
5251
5251
  z-index: 200000 !important;
5252
5252
  }
5253
- [data-v-749a2baa] .ant-time-picker-panel {
5253
+ [data-v-5e3c1e56] .ant-time-picker-panel {
5254
5254
  z-index: 9999 !important;
5255
5255
  }
5256
- .ant-calendar-picker-container[data-v-749a2baa] {
5256
+ .ant-calendar-picker-container[data-v-5e3c1e56] {
5257
5257
  z-index: 200000 !important;
5258
5258
  }
5259
- [data-v-749a2baa] .ant-form-item-children {
5259
+ [data-v-5e3c1e56] .ant-form-item-children {
5260
5260
  display: block;
5261
5261
  }
5262
- [data-v-749a2baa] .ant-form-item {
5262
+ [data-v-5e3c1e56] .ant-form-item {
5263
5263
  width: 100%;
5264
5264
  height: 100%;
5265
5265
  margin-bottom: 0;
5266
5266
  display: flex;
5267
5267
  }
5268
- [data-v-749a2baa] .ant-form-item .is_required::before {
5268
+ [data-v-5e3c1e56] .ant-form-item .is_required::before {
5269
5269
  content: "*";
5270
5270
  color: #f56c6c;
5271
5271
  margin-right: 4px;
5272
5272
  }
5273
- [data-v-749a2baa] .ant-form-item .ant-form-item-label {
5273
+ [data-v-5e3c1e56] .ant-form-item .ant-form-item-label {
5274
5274
  border-right: 1px solid #000;
5275
5275
  }
5276
- [data-v-749a2baa] .ant-form-item .ant-form-item-label label {
5276
+ [data-v-5e3c1e56] .ant-form-item .ant-form-item-label label {
5277
5277
  display: flex;
5278
5278
  justify-content: center;
5279
5279
  align-items: center;
5280
5280
  height: 100%;
5281
5281
  }
5282
- [data-v-749a2baa] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5282
+ [data-v-5e3c1e56] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
5283
5283
  display: none;
5284
5284
  }
5285
- [data-v-749a2baa] .ant-form-item .ant-form-item-control-wrapper {
5285
+ [data-v-5e3c1e56] .ant-form-item .ant-form-item-control-wrapper {
5286
5286
  display: flex;
5287
5287
  align-items: center;
5288
5288
  text-align: left;
5289
5289
  }
5290
- [data-v-749a2baa] .ant-form-item .ant-form-item-control {
5290
+ [data-v-5e3c1e56] .ant-form-item .ant-form-item-control {
5291
5291
  width: 98%;
5292
5292
  margin: 0 auto;
5293
5293
  }
5294
- [data-v-749a2baa] .ant-form-item .is_required::before {
5294
+ [data-v-5e3c1e56] .ant-form-item .is_required::before {
5295
5295
  content: "*";
5296
5296
  color: #f56c6c;
5297
5297
  margin-right: 4px;
5298
5298
  }
5299
- .row-table[data-v-749a2baa] {
5299
+ .row-table[data-v-5e3c1e56] {
5300
5300
  display: flex;
5301
5301
  }
5302
- .row-table[data-v-749a2baa] .ant-spin-container,
5303
- .row-table[data-v-749a2baa] {
5302
+ .row-table[data-v-5e3c1e56] .ant-spin-container,
5303
+ .row-table[data-v-5e3c1e56] {
5304
5304
  display: flex;
5305
5305
  width: 100%;
5306
5306
  }
5307
- .row-table[data-v-749a2baa] .ant-spin-container .table-left,
5308
- .row-table .table-left[data-v-749a2baa] {
5307
+ .row-table[data-v-5e3c1e56] .ant-spin-container .table-left,
5308
+ .row-table .table-left[data-v-5e3c1e56] {
5309
5309
  width: 100px;
5310
5310
  text-align: center;
5311
5311
  border-right: 1px solid #333;
5312
5312
  border-bottom: 1px solid #333;
5313
5313
  position: relative;
5314
5314
  }
5315
- .row-table[data-v-749a2baa] .ant-spin-container .table-left p,
5316
- .row-table .table-left p[data-v-749a2baa] {
5315
+ .row-table[data-v-5e3c1e56] .ant-spin-container .table-left p,
5316
+ .row-table .table-left p[data-v-5e3c1e56] {
5317
5317
  position: absolute;
5318
5318
  top: 50%;
5319
5319
  left: 50%;
5320
5320
  transform: translate(-50%, -50%);
5321
5321
  }
5322
- .row-table[data-v-749a2baa] .ant-spin-container .table-right,
5323
- .row-table .table-right[data-v-749a2baa] {
5322
+ .row-table[data-v-5e3c1e56] .ant-spin-container .table-right,
5323
+ .row-table .table-right[data-v-5e3c1e56] {
5324
5324
  flex: 1;
5325
5325
  }
5326
- .table-content[data-v-749a2baa] {
5326
+ .table-content[data-v-5e3c1e56] {
5327
5327
  width: 100%;
5328
5328
  height: 40px;
5329
5329
  line-height: 40px;
@@ -5332,11 +5332,11 @@ div {
5332
5332
  border-bottom: 1px solid #333;
5333
5333
  border-right: 1px solid #333;
5334
5334
  }
5335
- .sub-table-col[data-v-749a2baa] {
5335
+ .sub-table-col[data-v-5e3c1e56] {
5336
5336
  display: flex;
5337
5337
  box-sizing: border-box;
5338
5338
  }
5339
- .sub-table-col > span[data-v-749a2baa] {
5339
+ .sub-table-col > span[data-v-5e3c1e56] {
5340
5340
  flex: 2;
5341
5341
  border-bottom: 1px solid #000;
5342
5342
  border-right: 1px solid #000;
@@ -5344,34 +5344,34 @@ div {
5344
5344
  line-height: 40px;
5345
5345
  text-align: center;
5346
5346
  }
5347
- .sub-table-col > .last-one[data-v-749a2baa] {
5347
+ .sub-table-col > .last-one[data-v-5e3c1e56] {
5348
5348
  width: 87px;
5349
5349
  flex: 0 0 87px;
5350
5350
  border-right: 1px solid #333;
5351
5351
  border-bottom: 1px solid #333;
5352
5352
  }
5353
- .sub-table-col-no-border > span[data-v-749a2baa] {
5353
+ .sub-table-col-no-border > span[data-v-5e3c1e56] {
5354
5354
  border: none;
5355
5355
  height: auto;
5356
5356
  width: 0;
5357
5357
  }
5358
- .sub-table-col-no-border > .sub-table-title[data-v-749a2baa]:last-child,
5359
- .sub-table-col-no-border > .sub-table-item[data-v-749a2baa]:last-child {
5358
+ .sub-table-col-no-border > .sub-table-title[data-v-5e3c1e56]:last-child,
5359
+ .sub-table-col-no-border > .sub-table-item[data-v-5e3c1e56]:last-child {
5360
5360
  border-right: none !important;
5361
5361
  }
5362
- .sub-table-col-no-border > .last-one[data-v-749a2baa] {
5362
+ .sub-table-col-no-border > .last-one[data-v-5e3c1e56] {
5363
5363
  width: 87px;
5364
5364
  flex: 0 0 87px;
5365
5365
  display: flex;
5366
5366
  justify-content: center;
5367
5367
  align-items: center;
5368
5368
  }
5369
- .pagiAfter + .row-item[data-v-749a2baa] {
5369
+ .pagiAfter + .row-item[data-v-5e3c1e56] {
5370
5370
  border-top-width: 1px;
5371
5371
  border-top-style: solid;
5372
5372
  }
5373
5373
  /* 选择所有后面还有其他非.hiddenWidget的.row-item元素的.hasWidgetAfter */
5374
- .row-item:not(:last-child) .hasWidgetAfter[data-v-749a2baa] {
5374
+ .row-item:not(:last-child) .hasWidgetAfter[data-v-5e3c1e56] {
5375
5375
  /* 为这些.hasWidgetAfter设置样式 */
5376
5376
  width: calc(100% + 1px);
5377
5377
  border-left-width: 1px;
@@ -5380,7 +5380,7 @@ div {
5380
5380
  border-right-style: solid;
5381
5381
  left: -1px;
5382
5382
  }
5383
- .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-749a2baa] {
5383
+ .row-item:not(:last-child):has(+ .row-item.hiddenWidget) .hasWidgetAfter[data-v-5e3c1e56] {
5384
5384
  /* 为这些.hasWidgetAfter设置样式 */
5385
5385
  width: calc(100% + 1px);
5386
5386
  border-left: none;
@@ -5388,33 +5388,33 @@ div {
5388
5388
  left: -1px;
5389
5389
  }
5390
5390
  /*****无border *****/
5391
- .no-border .page-border[data-v-749a2baa] {
5391
+ .no-border .page-border[data-v-5e3c1e56] {
5392
5392
  border: none;
5393
5393
  }
5394
- .no-border .page-border .row-item[data-v-749a2baa]:not(:last-child) {
5394
+ .no-border .page-border .row-item[data-v-5e3c1e56]:not(:last-child) {
5395
5395
  border: none;
5396
5396
  }
5397
- .no-border .page-border[data-v-749a2baa] .ant-form-item .ant-form-item-label {
5397
+ .no-border .page-border[data-v-5e3c1e56] .ant-form-item .ant-form-item-label {
5398
5398
  border: none;
5399
5399
  }
5400
- .table_border[data-v-749a2baa] {
5400
+ .table_border[data-v-5e3c1e56] {
5401
5401
  border-bottom: 0;
5402
5402
  border-right: 0;
5403
5403
  }
5404
5404
  /*****无border *****/
5405
- [data-v-749a2baa] .ant-form-item-children > div > p,[data-v-749a2baa] .ant-form-item-children > div > h1,[data-v-749a2baa] .ant-form-item-children > div > h2,[data-v-749a2baa] .ant-form-item-children > div > h3,[data-v-749a2baa] .ant-form-item-children > div > h4,[data-v-749a2baa] .ant-form-item-children > div > h5,[data-v-749a2baa] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5405
+ [data-v-5e3c1e56] .ant-form-item-children > div > p,[data-v-5e3c1e56] .ant-form-item-children > div > h1,[data-v-5e3c1e56] .ant-form-item-children > div > h2,[data-v-5e3c1e56] .ant-form-item-children > div > h3,[data-v-5e3c1e56] .ant-form-item-children > div > h4,[data-v-5e3c1e56] .ant-form-item-children > div > h5,[data-v-5e3c1e56] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
5406
5406
  margin: 10px 0;
5407
5407
  line-height: 1.5;
5408
5408
  }
5409
- [data-v-749a2baa] .ant-spin-dot {
5409
+ [data-v-5e3c1e56] .ant-spin-dot {
5410
5410
  font-size: 20px !important;
5411
5411
  }
5412
- .form_skeleton[data-v-749a2baa] {
5412
+ .form_skeleton[data-v-5e3c1e56] {
5413
5413
  display: block;
5414
5414
  width: 700px;
5415
5415
  margin: 55px auto;
5416
5416
  }
5417
- .form_skeleton[data-v-749a2baa] .ant-skeleton-title {
5417
+ .form_skeleton[data-v-5e3c1e56] .ant-skeleton-title {
5418
5418
  margin: 0 auto;
5419
5419
  }
5420
5420
 
@@ -71787,6 +71787,10 @@ let getFileExt = filename => {
71787
71787
  var _this$data;
71788
71788
  return ((_this$data = this.data) === null || _this$data === void 0 || (_this$data = _this$data.list) === null || _this$data === void 0 ? void 0 : _this$data.filter(item => item.type === 'table')) || [];
71789
71789
  },
71790
+ computedApplyId() {
71791
+ var _this$$route, _this$data2;
71792
+ return this.applyId || ((_this$$route = this.$route) === null || _this$$route === void 0 || (_this$$route = _this$$route.query) === null || _this$$route === void 0 ? void 0 : _this$$route.applyId) || ((_this$data2 = this.data) === null || _this$data2 === void 0 || (_this$data2 = _this$data2.config) === null || _this$data2 === void 0 ? void 0 : _this$data2.applyId) || '';
71793
+ },
71790
71794
  tableItem() {
71791
71795
  return _form_form_modules_common_tableItem_vue__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .A;
71792
71796
  },
@@ -72208,7 +72212,7 @@ let getFileExt = filename => {
72208
72212
  window.open(this.imgUrl + templatePath);
72209
72213
  },
72210
72214
  auditorDownLoad(widget) {
72211
- _form_utils_util__WEBPACK_IMPORTED_MODULE_32__.exportFile.call(this, `/form/dataQuery/exportSubTableData?applyId=${this.applyId}&subTableCode=${widget.model}`, `${widget.name}.xls`);
72215
+ _form_utils_util__WEBPACK_IMPORTED_MODULE_32__.exportFile.call(this, `/form/dataQuery/exportSubTableData?applyId=${this.computedApplyId}&subTableCode=${widget.model}`, `${widget.name}.xls`);
72212
72216
  },
72213
72217
  //添加子表单里面的row
72214
72218
  addToTableData(data, model, addModel = undefined, clickByUser = false) {
@@ -72545,10 +72549,10 @@ let getFileExt = filename => {
72545
72549
  return true;
72546
72550
  },
72547
72551
  async handleLinkAge() {
72548
- var _this$data2;
72552
+ var _this$data3;
72549
72553
  // console.log(this.data.config.linkage_config)
72550
72554
  const that = this;
72551
- if (!((_this$data2 = this.data) !== null && _this$data2 !== void 0 && (_this$data2 = _this$data2.config) !== null && _this$data2 !== void 0 && _this$data2.linkage_config)) return;
72555
+ if (!((_this$data3 = this.data) !== null && _this$data3 !== void 0 && (_this$data3 = _this$data3.config) !== null && _this$data3 !== void 0 && _this$data3.linkage_config)) return;
72552
72556
  if (this.formFunctions) return;
72553
72557
  this.formFunctions = {
72554
72558
  async call_func(list, models) {
@@ -72672,7 +72676,7 @@ let getFileExt = filename => {
72672
72676
  this.formFunctions._init = true;
72673
72677
  await this.$nextTick();
72674
72678
  this.$watch('models', async (newVal, oldVal) => {
72675
- var _diffModels, _this$data3, _this$data4;
72679
+ var _diffModels, _this$data4, _this$data5;
72676
72680
  await this.timeout(0);
72677
72681
  let diffModels = (0,lodash_es__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .A)(newVal, (result, value, key) => {
72678
72682
  if (this.formFunctions._init) {
@@ -72689,8 +72693,8 @@ let getFileExt = filename => {
72689
72693
  }
72690
72694
  // const differenceObj = difference(cloneDeep(newVal), cloneDeep(oldVal))
72691
72695
  console.log('diffModels', diffModels);
72692
- const widgetList = (0,_form_form_util__WEBPACK_IMPORTED_MODULE_24__/* .getRecursionWidget */ .p)((_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.list);
72693
- (_this$data4 = this.data) === null || _this$data4 === void 0 || (_this$data4 = _this$data4.config) === null || _this$data4 === void 0 || (_this$data4 = _this$data4.linkage_config) === null || _this$data4 === void 0 || _this$data4.forEach(item => {
72696
+ const widgetList = (0,_form_form_util__WEBPACK_IMPORTED_MODULE_24__/* .getRecursionWidget */ .p)((_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.list);
72697
+ (_this$data5 = this.data) === null || _this$data5 === void 0 || (_this$data5 = _this$data5.config) === null || _this$data5 === void 0 || (_this$data5 = _this$data5.linkage_config) === null || _this$data5 === void 0 || _this$data5.forEach(item => {
72694
72698
  let {
72695
72699
  toTypeSelect,
72696
72700
  toWidgetList,
@@ -72703,7 +72707,7 @@ let getFileExt = filename => {
72703
72707
  // 表单详情会导致可编辑
72704
72708
  if (['update', 'disabled'].includes(toTypeSelect) && ['detail', 'review'].includes(this.$route.query.type)) return;
72705
72709
  toWidgetList.forEach(async toWidgetModel => {
72706
- var _this$data5;
72710
+ var _this$data6;
72707
72711
  const widget = widgetList.find(item => item.model === toWidgetModel);
72708
72712
  const changeModelList = list.some(item => diffModels.includes(item.model)) ? list : [];
72709
72713
  if (changeModelList.length === 0) return;
@@ -72756,7 +72760,7 @@ let getFileExt = filename => {
72756
72760
  this.$set(widget.options, 'required', flag);
72757
72761
  this.$set(widget, 'rules', rules[widget.model]);
72758
72762
  !flag && this.$refs.Form.clearValidate(widget.model);
72759
- this.generateRules(widget, (_this$data5 = this.data) === null || _this$data5 === void 0 || (_this$data5 = _this$data5.list) === null || _this$data5 === void 0 ? void 0 : _this$data5.find(item => item.model === widget.parentModel));
72763
+ this.generateRules(widget, (_this$data6 = this.data) === null || _this$data6 === void 0 || (_this$data6 = _this$data6.list) === null || _this$data6 === void 0 ? void 0 : _this$data6.find(item => item.model === widget.parentModel));
72760
72764
  // widget.options.required = flag
72761
72765
  break;
72762
72766
  case 'update':
@@ -78424,7 +78428,7 @@ if(templist.includes('匹配条件字段的值')){
78424
78428
  components: {
78425
78429
  JEllipsis: JEllipsis,
78426
78430
  codemirror: vue_codemirror.codemirror,
78427
- layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 25327))
78431
+ layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 28722))
78428
78432
  },
78429
78433
  props: {
78430
78434
  datalist: {
@@ -138137,7 +138141,7 @@ var component = (0,componentNormalizer/* default */.A)(
138137
138141
 
138138
138142
  /***/ },
138139
138143
 
138140
- /***/ 25327
138144
+ /***/ 28722
138141
138145
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
138142
138146
 
138143
138147
  "use strict";
@@ -138149,7 +138153,7 @@ __webpack_require__.d(__webpack_exports__, {
138149
138153
  "default": () => (/* binding */ layoutForPaper)
138150
138154
  });
138151
138155
 
138152
- ;// ./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=749a2baa&scoped=true
138156
+ ;// ./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=5e3c1e56&scoped=true
138153
138157
  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')?[(
138154
138158
  widget.options.layoutModel === 'auto' ||
138155
138159
  widget.options.layoutModel === undefined
@@ -138185,10 +138189,10 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
138185
138189
  _vm.tableData &&
138186
138190
  _vm.tableData[widget.model] &&
138187
138191
  _vm.tableData[widget.model].length > 0
138188
- )?_c('div',{staticClass:"computed-wrap"},[_c('div',{staticClass:"item"},[_c('div',[_vm._v("需统计字段")]),_vm._l((widget.options.computingSub),function(_item,key){return _c('div',{key:key},[_vm._v(" "+_vm._s(_vm.getSubName(_item, _vm.tableWidgetColumns(widget)))+" ")])})],2),_vm._l((widget.options.computingMethod),function(_methodItem,key){return _c('div',{key:key,staticClass:"item"},[_c('div',[_vm._v(_vm._s(_vm.getMethodName(_methodItem)))]),_vm._l((widget.options.computingSub),function(_subItem,it_key){return _c('div',{key:it_key},[_vm._v(" "+_vm._s(_vm.getMathResult(_methodItem, _vm.models[widget.model], _subItem))+" ")])})],2)})],2):_vm._e()],2)]):(widget.options.layoutModel === 'design')?_c('a-spin',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"table_border row-item",style:({ borderColor: _vm.data.config.borderColor }),attrs:{"spinning":_vm.tableLoading && !_vm.formLoading,"tip":"数据加载中"}},[_c('tableComponent',{attrs:{"isApply":_vm.isApply,"isDesign":_vm.isDesign,"widget":widget,"tableData":_vm.tableData,"rules":_vm.rules,"models":_vm.models,"formId":_vm.data.formId,"index":index,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event},"addToTableData":_vm.addToTableData,"handleDeleteRow":_vm.handleDeleteRow}})],1):_vm._e()]:(widget.type === 'grid')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-component',{attrs:{"rules":_vm.rules,"models":_vm.models,"widget":widget,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"config":_vm.data.config,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'grid-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",class:widget.type == 'grid-lay-out' ? ' no-row-item ' : '',style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"listindex":listindex,"config":_vm.data.config,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'verify')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('verify-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'all-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('all-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"listindex":listindex,"applyId":_vm.applyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'placeholder')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,class:{
138192
+ )?_c('div',{staticClass:"computed-wrap"},[_c('div',{staticClass:"item"},[_c('div',[_vm._v("需统计字段")]),_vm._l((widget.options.computingSub),function(_item,key){return _c('div',{key:key},[_vm._v(" "+_vm._s(_vm.getSubName(_item, _vm.tableWidgetColumns(widget)))+" ")])})],2),_vm._l((widget.options.computingMethod),function(_methodItem,key){return _c('div',{key:key,staticClass:"item"},[_c('div',[_vm._v(_vm._s(_vm.getMethodName(_methodItem)))]),_vm._l((widget.options.computingSub),function(_subItem,it_key){return _c('div',{key:it_key},[_vm._v(" "+_vm._s(_vm.getMathResult(_methodItem, _vm.models[widget.model], _subItem))+" ")])})],2)})],2):_vm._e()],2)]):(widget.options.layoutModel === 'design')?_c('a-spin',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"table_border row-item",style:({ borderColor: _vm.data.config.borderColor }),attrs:{"spinning":_vm.tableLoading && !_vm.formLoading,"tip":"数据加载中"}},[_c('tableComponent',{attrs:{"isApply":_vm.isApply,"isDesign":_vm.isDesign,"widget":widget,"tableData":_vm.tableData,"rules":_vm.rules,"models":_vm.models,"formId":_vm.data.formId,"index":index,"listindex":listindex,"applyId":_vm.computedApplyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event},"addToTableData":_vm.addToTableData,"handleDeleteRow":_vm.handleDeleteRow}})],1):_vm._e()]:(widget.type === 'grid')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-component',{attrs:{"rules":_vm.rules,"models":_vm.models,"widget":widget,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"config":_vm.data.config,"listindex":listindex,"applyId":_vm.computedApplyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'grid-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",class:widget.type == 'grid-lay-out' ? ' no-row-item ' : '',style:({ borderColor: _vm.data.config.borderColor })},[_c('grid-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"listindex":listindex,"config":_vm.data.config,"applyId":_vm.computedApplyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'verify')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('verify-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"applyId":_vm.computedApplyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'all-lay-out')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView),expression:"widget.options.canView"}],key:index,staticClass:"row-item",style:({ borderColor: _vm.data.config.borderColor })},[_c('all-layout-component',{attrs:{"widget":widget,"rules":_vm.rules,"models":_vm.models,"index":index,"listindex":listindex,"applyId":_vm.computedApplyId},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1):(widget.type == 'placeholder')?_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,class:{
138189
138193
  'item-bottom': !widget.options.border,
138190
138194
  'row-item': widget.options.border,
138191
- },style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"rules":_vm.rules,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"applyId":_vm.applyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1):_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",class:{hiddenWidget:widget.type == 'hidden'},style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"dataObj":_vm.data,"rules":_vm.rules,"applyId":_vm.applyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1)]})],2),(_vm.data.config.pageFooter && listindex === _vm.widgetList.length - 1)?_c('div',{style:(_vm.data.config.footerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageFooter)}}):_vm._e()],2)}),0)],1)}
138195
+ },style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"rules":_vm.rules,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"applyId":_vm.computedApplyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1):_c('div',{directives:[{name:"show",rawName:"v-show",value:(widget.options.canView && widget.type != 'hidden'),expression:"widget.options.canView && widget.type != 'hidden'"}],key:index,staticClass:"row-item",class:{hiddenWidget:widget.type == 'hidden'},style:({ borderColor: _vm.data.config.borderColor })},[_c('layout-item',{attrs:{"widget":widget,"models":_vm.models,"verifyNode":_vm.verifyNode,"verifyLogs":_vm.verifyLogs,"suggest":_vm.suggest,"dataObj":_vm.data,"rules":_vm.rules,"applyId":_vm.computedApplyId},on:{"update:models":function($event){_vm.models=$event},"update:rules":function($event){_vm.rules=$event}}})],1)]})],2),(_vm.data.config.pageFooter && listindex === _vm.widgetList.length - 1)?_c('div',{style:(_vm.data.config.footerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageFooter)}}):_vm._e()],2)}),0)],1)}
138192
138196
  var staticRenderFns = []
138193
138197
 
138194
138198
 
@@ -138196,15 +138200,15 @@ var staticRenderFns = []
138196
138200
  var layoutForPapervue_type_script_lang_js = __webpack_require__(49218);
138197
138201
  ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js
138198
138202
  /* harmony default export */ const layout_layoutForPapervue_type_script_lang_js = (layoutForPapervue_type_script_lang_js/* default */.A);
138199
- ;// ./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=749a2baa&prod&lang=less&scoped=true
138203
+ ;// ./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=5e3c1e56&prod&lang=less&scoped=true
138200
138204
  // extracted by mini-css-extract-plugin
138201
138205
 
138202
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=749a2baa&prod&lang=less&scoped=true
138206
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=5e3c1e56&prod&lang=less&scoped=true
138203
138207
 
138204
- ;// ./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=749a2baa&prod&lang=css
138208
+ ;// ./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=5e3c1e56&prod&lang=css
138205
138209
  // extracted by mini-css-extract-plugin
138206
138210
 
138207
- ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=749a2baa&prod&lang=css
138211
+ ;// ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=5e3c1e56&prod&lang=css
138208
138212
 
138209
138213
  // EXTERNAL MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js
138210
138214
  var componentNormalizer = __webpack_require__(64008);
@@ -138224,7 +138228,7 @@ var component = (0,componentNormalizer/* default */.A)(
138224
138228
  staticRenderFns,
138225
138229
  false,
138226
138230
  null,
138227
- "749a2baa",
138231
+ "5e3c1e56",
138228
138232
  null
138229
138233
 
138230
138234
  )
@@ -156180,7 +156184,7 @@ function toString(value) {
156180
156184
  (module) {
156181
156185
 
156182
156186
  "use strict";
156183
- module.exports = {"rE":"1.1.716"};
156187
+ module.exports = {"rE":"1.1.717"};
156184
156188
 
156185
156189
  /***/ }
156186
156190
 
@@ -169795,7 +169799,7 @@ var SvgIcon_component = (0,componentNormalizer/* default */.A)(
169795
169799
 
169796
169800
  /* harmony default export */ const SvgIcon = (SvgIcon_component.exports);
169797
169801
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
169798
- var layoutForPaper = __webpack_require__(25327);
169802
+ var layoutForPaper = __webpack_require__(28722);
169799
169803
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
169800
169804
  var layoutItem = __webpack_require__(92241);
169801
169805
  ;// ./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=3c2ba7a1
@@ -183638,7 +183642,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.A)(
183638
183642
  }
183639
183643
  },
183640
183644
  components: {
183641
- layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 25327)),
183645
+ layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 28722)),
183642
183646
  FormulaEdit: formula_edit
183643
183647
  },
183644
183648
  data() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.716",
3
+ "version": "1.1.717",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",