@zscreate/form-component 1.1.32 → 1.1.34
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.
- package/dist/form-component.css +74 -71
- package/dist/form-component.umd-report.html +2 -2
- package/dist/form-component.umd.js +279 -30
- package/package.json +1 -1
|
@@ -62875,13 +62875,14 @@ module.exports = /******/function (modules) {
|
|
|
62875
62875
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6903);
|
|
62876
62876
|
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
62877
62877
|
/* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38);
|
|
62878
|
-
/* harmony import */ var
|
|
62878
|
+
/* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6955);
|
|
62879
62879
|
/* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7102);
|
|
62880
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
62880
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1119);
|
|
62881
62881
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9616);
|
|
62882
62882
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
62883
62883
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7203);
|
|
62884
62884
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_5__);
|
|
62885
|
+
/* harmony import */ var _components_MessageBox_confirmBox_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5927);
|
|
62885
62886
|
|
|
62886
62887
|
//
|
|
62887
62888
|
//
|
|
@@ -63230,6 +63231,21 @@ module.exports = /******/function (modules) {
|
|
|
63230
63231
|
//
|
|
63231
63232
|
//
|
|
63232
63233
|
//
|
|
63234
|
+
//
|
|
63235
|
+
//
|
|
63236
|
+
//
|
|
63237
|
+
//
|
|
63238
|
+
//
|
|
63239
|
+
//
|
|
63240
|
+
//
|
|
63241
|
+
//
|
|
63242
|
+
//
|
|
63243
|
+
//
|
|
63244
|
+
//
|
|
63245
|
+
//
|
|
63246
|
+
//
|
|
63247
|
+
//
|
|
63248
|
+
|
|
63233
63249
|
|
|
63234
63250
|
|
|
63235
63251
|
|
|
@@ -63246,9 +63262,9 @@ module.exports = /******/function (modules) {
|
|
|
63246
63262
|
//表单分页list 如果不需要分页 数组length为0
|
|
63247
63263
|
formNameHeight: 40,
|
|
63248
63264
|
//标题高度
|
|
63249
|
-
A4Width: (0,
|
|
63265
|
+
A4Width: (0,_util_util__WEBPACK_IMPORTED_MODULE_7__/* .mmToPx */ .Zt)(210),
|
|
63250
63266
|
//A4纸 px宽度
|
|
63251
|
-
A4Height: (0,
|
|
63267
|
+
A4Height: (0,_util_util__WEBPACK_IMPORTED_MODULE_7__/* .mmToPx */ .Zt)(297),
|
|
63252
63268
|
//A4纸 px高度
|
|
63253
63269
|
contentStyle: {
|
|
63254
63270
|
width: "200px",
|
|
@@ -63269,7 +63285,8 @@ module.exports = /******/function (modules) {
|
|
|
63269
63285
|
actionUrl: window._CONFIG['domianURL'] + '/form/formdesiger/importTableExcel',
|
|
63270
63286
|
headers: {
|
|
63271
63287
|
'X-Access-Token': localStorage.getItem('token')
|
|
63272
|
-
}
|
|
63288
|
+
},
|
|
63289
|
+
tableColumnEditObj: {}
|
|
63273
63290
|
};
|
|
63274
63291
|
},
|
|
63275
63292
|
inject: {
|
|
@@ -63335,6 +63352,7 @@ module.exports = /******/function (modules) {
|
|
|
63335
63352
|
}
|
|
63336
63353
|
},
|
|
63337
63354
|
components: {
|
|
63355
|
+
ConfirmBox: _components_MessageBox_confirmBox_vue__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z,
|
|
63338
63356
|
layoutItem: _layoutItem__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
63339
63357
|
..._components_index__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.componentList
|
|
63340
63358
|
},
|
|
@@ -63372,6 +63390,9 @@ module.exports = /******/function (modules) {
|
|
|
63372
63390
|
}
|
|
63373
63391
|
},
|
|
63374
63392
|
methods: {
|
|
63393
|
+
tableColumnsDBClick(widget, refKey) {
|
|
63394
|
+
this.$set(widget, 'tableColCanEdit', true);
|
|
63395
|
+
},
|
|
63375
63396
|
handleChange(widget, {
|
|
63376
63397
|
file
|
|
63377
63398
|
}) {
|
|
@@ -63400,7 +63421,7 @@ module.exports = /******/function (modules) {
|
|
|
63400
63421
|
window.open(this.imgUrl + templatePath);
|
|
63401
63422
|
},
|
|
63402
63423
|
//添加子表单里面的row
|
|
63403
|
-
addToTableData(data, model, addModel) {
|
|
63424
|
+
addToTableData(data, model, addModel = undefined, clickByUser = false) {
|
|
63404
63425
|
let dataTemp = JSON.parse(JSON.stringify(data));
|
|
63405
63426
|
this.tableIndex[model] === undefined ? this.$set(this.tableIndex, model, 0) : null;
|
|
63406
63427
|
dataTemp.index = this.tableIndex[model];
|
|
@@ -63410,6 +63431,9 @@ module.exports = /******/function (modules) {
|
|
|
63410
63431
|
let addModelObject = {};
|
|
63411
63432
|
dataTemp.columns.forEach(item => {
|
|
63412
63433
|
item.options.isCorrect = false;
|
|
63434
|
+
if (clickByUser) {
|
|
63435
|
+
item.tableColCanEdit = true;
|
|
63436
|
+
}
|
|
63413
63437
|
addModelObject[item.model] = item.defaultValue ? item.defaultValue : item.options.defaultValue;
|
|
63414
63438
|
});
|
|
63415
63439
|
if (!Array.isArray(this.models[model])) {
|
|
@@ -63583,7 +63607,7 @@ module.exports = /******/function (modules) {
|
|
|
63583
63607
|
// values里面存在当前字段的值
|
|
63584
63608
|
if (this.value && Object.keys(this.value).indexOf(widget.model) >= 0) {
|
|
63585
63609
|
if (![undefined, null].includes(this.value[widget.model])) {
|
|
63586
|
-
this.models[widget.model] = (0,
|
|
63610
|
+
this.models[widget.model] = (0,_util_util__WEBPACK_IMPORTED_MODULE_7__/* .cloneObj */ .Cl)(this.value[widget.model]);
|
|
63587
63611
|
} else {
|
|
63588
63612
|
// 如果value数据是null 或者 undefined 则需要特殊处理(用于处理数据不完整)
|
|
63589
63613
|
this.models[widget.model] = ["imgupload", "deptSelector", "userSelector", "userSelectorByRole", "relateSub"].includes(widget.type) ? [] : "";
|
|
@@ -63603,7 +63627,7 @@ module.exports = /******/function (modules) {
|
|
|
63603
63627
|
|
|
63604
63628
|
// 是否为无效值
|
|
63605
63629
|
let is_invalidation = [undefined, null].includes(widget.options.defaultValue);
|
|
63606
|
-
this.models[widget.model] = this.models[widget.model] ? this.models[widget.model] : is_invalidation ? "" : (0,
|
|
63630
|
+
this.models[widget.model] = this.models[widget.model] ? this.models[widget.model] : is_invalidation ? "" : (0,_util_util__WEBPACK_IMPORTED_MODULE_7__/* .cloneObj */ .Cl)(widget.options.defaultValue);
|
|
63607
63631
|
}
|
|
63608
63632
|
});
|
|
63609
63633
|
}
|
|
@@ -63622,13 +63646,13 @@ module.exports = /******/function (modules) {
|
|
|
63622
63646
|
}
|
|
63623
63647
|
return true;
|
|
63624
63648
|
case "checkbox":
|
|
63625
|
-
this.models[widget.model] = typeof widget.options.defaultValue === "string" ? [] : (0,
|
|
63649
|
+
this.models[widget.model] = typeof widget.options.defaultValue === "string" ? [] : (0,_util_util__WEBPACK_IMPORTED_MODULE_7__/* .cloneObj */ .Cl)(widget.options.defaultValue);
|
|
63626
63650
|
return true;
|
|
63627
63651
|
case "select":
|
|
63628
63652
|
this.models[widget.model] = widget.options.multiple ? [] : "";
|
|
63629
63653
|
return true;
|
|
63630
63654
|
case "table":
|
|
63631
|
-
this.models[widget.model] = (0,
|
|
63655
|
+
this.models[widget.model] = (0,_util_util__WEBPACK_IMPORTED_MODULE_7__/* .cloneObj */ .Cl)(widget.options.defaultValue);
|
|
63632
63656
|
this.generateTableData(widget);
|
|
63633
63657
|
return true;
|
|
63634
63658
|
default:
|
|
@@ -63742,7 +63766,7 @@ module.exports = /******/function (modules) {
|
|
|
63742
63766
|
|
|
63743
63767
|
"use strict";
|
|
63744
63768
|
/* harmony import */ var _common_CorrectionModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8167);
|
|
63745
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
63769
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1119);
|
|
63746
63770
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9616);
|
|
63747
63771
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
63748
63772
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1925);
|
|
@@ -67981,7 +68005,7 @@ module.exports = {
|
|
|
67981
68005
|
|
|
67982
68006
|
/***/ }),
|
|
67983
68007
|
|
|
67984
|
-
/***/
|
|
68008
|
+
/***/ 1119:
|
|
67985
68009
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
67986
68010
|
|
|
67987
68011
|
"use strict";
|
|
@@ -70529,8 +70553,8 @@ var Select_widgetDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
70529
70553
|
widgetSetup: Select_widgetSetup,
|
|
70530
70554
|
widgetDesign: Select_widgetDesign
|
|
70531
70555
|
});
|
|
70532
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Table/component.vue?vue&type=template&id=
|
|
70533
|
-
var
|
|
70556
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Table/component.vue?vue&type=template&id=75b5682f&scoped=true&
|
|
70557
|
+
var componentvue_type_template_id_75b5682f_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' })},[(_vm.widget.options.enableImport && !_vm.widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_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._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:({
|
|
70534
70558
|
height: _vm.setHeight(
|
|
70535
70559
|
tableColums.options.rowsNum,
|
|
70536
70560
|
tableColums.options.rowsHeight
|
|
@@ -70547,9 +70571,11 @@ var componentvue_type_template_id_760c8960_scoped_true_render = function () {var
|
|
|
70547
70571
|
'grid-column': _vm.setItemPosition(col, 'column'),
|
|
70548
70572
|
'grid-row': _vm.setItemPosition(col),
|
|
70549
70573
|
})},[[_c('layoutItem',{directives:[{name:"show",rawName:"v-show",value:(_vm.getTableColumn(tableColums.columns, colIndex).options.canView),expression:"getTableColumn(tableColums.columns, colIndex).options.canView"}],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()}
|
|
70550
|
-
var
|
|
70574
|
+
var componentvue_type_template_id_75b5682f_scoped_true_staticRenderFns = []
|
|
70551
70575
|
|
|
70552
70576
|
|
|
70577
|
+
// EXTERNAL MODULE: ./src/components/MessageBox/confirmBox.vue + 9 modules
|
|
70578
|
+
var confirmBox = __webpack_require__(5927);
|
|
70553
70579
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Table/component.vue?vue&type=script&lang=js&
|
|
70554
70580
|
//
|
|
70555
70581
|
//
|
|
@@ -70642,6 +70668,9 @@ var componentvue_type_template_id_760c8960_scoped_true_staticRenderFns = []
|
|
|
70642
70668
|
//
|
|
70643
70669
|
//
|
|
70644
70670
|
//
|
|
70671
|
+
//
|
|
70672
|
+
//
|
|
70673
|
+
|
|
70645
70674
|
|
|
70646
70675
|
/* harmony default export */ var Table_componentvue_type_script_lang_js_ = ({
|
|
70647
70676
|
props: {
|
|
@@ -70672,6 +70701,9 @@ var componentvue_type_template_id_760c8960_scoped_true_staticRenderFns = []
|
|
|
70672
70701
|
}
|
|
70673
70702
|
},
|
|
70674
70703
|
inject: ['config'],
|
|
70704
|
+
components: {
|
|
70705
|
+
ConfirmBox: confirmBox/* default */.Z
|
|
70706
|
+
},
|
|
70675
70707
|
data() {
|
|
70676
70708
|
return {
|
|
70677
70709
|
imgUrl: window._CONFIG['imgUrl'],
|
|
@@ -70763,10 +70795,10 @@ var componentvue_type_template_id_760c8960_scoped_true_staticRenderFns = []
|
|
|
70763
70795
|
});
|
|
70764
70796
|
;// CONCATENATED MODULE: ./src/form/modules/components/Table/component.vue?vue&type=script&lang=js&
|
|
70765
70797
|
/* harmony default export */ var components_Table_componentvue_type_script_lang_js_ = (Table_componentvue_type_script_lang_js_);
|
|
70766
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.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.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Table/component.vue?vue&type=style&index=0&id=
|
|
70798
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.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.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Table/component.vue?vue&type=style&index=0&id=75b5682f&prod&lang=less&scoped=true&
|
|
70767
70799
|
// extracted by mini-css-extract-plugin
|
|
70768
70800
|
|
|
70769
|
-
;// CONCATENATED MODULE: ./src/form/modules/components/Table/component.vue?vue&type=style&index=0&id=
|
|
70801
|
+
;// CONCATENATED MODULE: ./src/form/modules/components/Table/component.vue?vue&type=style&index=0&id=75b5682f&prod&lang=less&scoped=true&
|
|
70770
70802
|
|
|
70771
70803
|
;// CONCATENATED MODULE: ./src/form/modules/components/Table/component.vue
|
|
70772
70804
|
|
|
@@ -70779,11 +70811,11 @@ var componentvue_type_template_id_760c8960_scoped_true_staticRenderFns = []
|
|
|
70779
70811
|
|
|
70780
70812
|
var Table_component_component = (0,componentNormalizer/* default */.Z)(
|
|
70781
70813
|
components_Table_componentvue_type_script_lang_js_,
|
|
70782
|
-
|
|
70783
|
-
|
|
70814
|
+
componentvue_type_template_id_75b5682f_scoped_true_render,
|
|
70815
|
+
componentvue_type_template_id_75b5682f_scoped_true_staticRenderFns,
|
|
70784
70816
|
false,
|
|
70785
70817
|
null,
|
|
70786
|
-
"
|
|
70818
|
+
"75b5682f",
|
|
70787
70819
|
null
|
|
70788
70820
|
|
|
70789
70821
|
)
|
|
@@ -105208,6 +105240,223 @@ function convertFileSize(fileSizeInKB, digits = 2) {
|
|
|
105208
105240
|
|
|
105209
105241
|
/***/ }),
|
|
105210
105242
|
|
|
105243
|
+
/***/ 5927:
|
|
105244
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
105245
|
+
|
|
105246
|
+
"use strict";
|
|
105247
|
+
|
|
105248
|
+
// EXPORTS
|
|
105249
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
105250
|
+
Z: function() { return /* binding */ confirmBox; }
|
|
105251
|
+
});
|
|
105252
|
+
|
|
105253
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/components/MessageBox/confirmBox.vue?vue&type=template&id=0ae71c98&scoped=true&
|
|
105254
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClick.apply(null, arguments)}}},[_c('MessageBox',{ref:"box",attrs:{"title":_vm.title,"mode":"manual","callback":function () {},"closable":"","zIndex":9999999,"width":"420px"},scopedSlots:_vm._u([{key:"btn",fn:function(ref){
|
|
105255
|
+
var close = ref.close;
|
|
105256
|
+
return [_c('div',{staticClass:"tw-flex tw-justify-center tw-gap-[10px] ",staticStyle:{"display":"flex","justify-content":"center","gap":"10px"}},[_c('a-button',{on:{"click":function($event){return _vm.handleCancel(close)}}},[_vm._v(_vm._s(_vm.cancelText))]),_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleConfirm(close)}}},[_vm._v(_vm._s(_vm.okText))])],1)]}}])},[[_vm._v(" "+_vm._s(_vm.content)+" ")]],2),_vm._t("default")],2)}
|
|
105257
|
+
var staticRenderFns = []
|
|
105258
|
+
|
|
105259
|
+
|
|
105260
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/components/MessageBox/MessageBox.vue?vue&type=template&id=0acc75e5&
|
|
105261
|
+
var MessageBoxvue_type_template_id_0acc75e5_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":_vm.title,"width":_vm.width,"destroyOnClose":true,"zIndex":_vm.zIndex,"maskClosable":false,"closable":_vm.closable,"footer":null},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('div',{staticClass:"tip_content"},[_vm._t("default",function(){return [_c('a-textarea',{staticStyle:{"resize":"none"},attrs:{"readonly":true,"auto-size":{ minRows: 2, maxRows: 16 }},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:"message"}})]},null,{ visible: _vm.visible, close: _vm.handleClose })],2),_c('div',{staticClass:"tip_btn"},[_vm._t("btn",function(){return [_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleClose}},[_vm._v("确定")])]},null,{ visible: _vm.visible, close: _vm.handleClose })],2)])}
|
|
105262
|
+
var MessageBoxvue_type_template_id_0acc75e5_staticRenderFns = []
|
|
105263
|
+
|
|
105264
|
+
|
|
105265
|
+
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/components/MessageBox/MessageBox.vue?vue&type=script&lang=js&
|
|
105266
|
+
//
|
|
105267
|
+
//
|
|
105268
|
+
//
|
|
105269
|
+
//
|
|
105270
|
+
//
|
|
105271
|
+
//
|
|
105272
|
+
//
|
|
105273
|
+
//
|
|
105274
|
+
//
|
|
105275
|
+
//
|
|
105276
|
+
//
|
|
105277
|
+
//
|
|
105278
|
+
//
|
|
105279
|
+
//
|
|
105280
|
+
//
|
|
105281
|
+
//
|
|
105282
|
+
//
|
|
105283
|
+
//
|
|
105284
|
+
//
|
|
105285
|
+
//
|
|
105286
|
+
//
|
|
105287
|
+
//
|
|
105288
|
+
//
|
|
105289
|
+
//
|
|
105290
|
+
//
|
|
105291
|
+
//
|
|
105292
|
+
//
|
|
105293
|
+
//
|
|
105294
|
+
//
|
|
105295
|
+
|
|
105296
|
+
/* harmony default export */ var MessageBoxvue_type_script_lang_js_ = ({
|
|
105297
|
+
name: "MessageBox",
|
|
105298
|
+
props: {
|
|
105299
|
+
title: [String],
|
|
105300
|
+
message: [String],
|
|
105301
|
+
callback: [Function],
|
|
105302
|
+
width: {
|
|
105303
|
+
type: String,
|
|
105304
|
+
default: '768px'
|
|
105305
|
+
},
|
|
105306
|
+
zIndex: {
|
|
105307
|
+
type: Number,
|
|
105308
|
+
default: 2
|
|
105309
|
+
},
|
|
105310
|
+
closable: [Boolean],
|
|
105311
|
+
mode: {
|
|
105312
|
+
type: String,
|
|
105313
|
+
default: 'auto'
|
|
105314
|
+
}
|
|
105315
|
+
},
|
|
105316
|
+
data() {
|
|
105317
|
+
return {
|
|
105318
|
+
visible: false
|
|
105319
|
+
};
|
|
105320
|
+
},
|
|
105321
|
+
created() {
|
|
105322
|
+
if (this.mode == 'auto') {
|
|
105323
|
+
this.$nextTick(() => {
|
|
105324
|
+
this.visible = true;
|
|
105325
|
+
});
|
|
105326
|
+
}
|
|
105327
|
+
},
|
|
105328
|
+
watch: {
|
|
105329
|
+
visible(val1, val2) {
|
|
105330
|
+
if (val2 && !val1) {
|
|
105331
|
+
this.callback(false);
|
|
105332
|
+
}
|
|
105333
|
+
}
|
|
105334
|
+
},
|
|
105335
|
+
methods: {
|
|
105336
|
+
handleClose(flag = false) {
|
|
105337
|
+
this.visible = false;
|
|
105338
|
+
this.callback && this.callback(flag);
|
|
105339
|
+
}
|
|
105340
|
+
}
|
|
105341
|
+
});
|
|
105342
|
+
;// CONCATENATED MODULE: ./src/components/MessageBox/MessageBox.vue?vue&type=script&lang=js&
|
|
105343
|
+
/* harmony default export */ var MessageBox_MessageBoxvue_type_script_lang_js_ = (MessageBoxvue_type_script_lang_js_);
|
|
105344
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/components/MessageBox/MessageBox.vue?vue&type=style&index=0&id=0acc75e5&prod&lang=scss&
|
|
105345
|
+
// extracted by mini-css-extract-plugin
|
|
105346
|
+
|
|
105347
|
+
;// CONCATENATED MODULE: ./src/components/MessageBox/MessageBox.vue?vue&type=style&index=0&id=0acc75e5&prod&lang=scss&
|
|
105348
|
+
|
|
105349
|
+
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
105350
|
+
var componentNormalizer = __webpack_require__(8412);
|
|
105351
|
+
;// CONCATENATED MODULE: ./src/components/MessageBox/MessageBox.vue
|
|
105352
|
+
|
|
105353
|
+
|
|
105354
|
+
|
|
105355
|
+
;
|
|
105356
|
+
|
|
105357
|
+
|
|
105358
|
+
/* normalize component */
|
|
105359
|
+
|
|
105360
|
+
var component = (0,componentNormalizer/* default */.Z)(
|
|
105361
|
+
MessageBox_MessageBoxvue_type_script_lang_js_,
|
|
105362
|
+
MessageBoxvue_type_template_id_0acc75e5_render,
|
|
105363
|
+
MessageBoxvue_type_template_id_0acc75e5_staticRenderFns,
|
|
105364
|
+
false,
|
|
105365
|
+
null,
|
|
105366
|
+
null,
|
|
105367
|
+
null
|
|
105368
|
+
|
|
105369
|
+
)
|
|
105370
|
+
|
|
105371
|
+
/* harmony default export */ var MessageBox = (component.exports);
|
|
105372
|
+
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/components/MessageBox/confirmBox.vue?vue&type=script&lang=js&
|
|
105373
|
+
//
|
|
105374
|
+
//
|
|
105375
|
+
//
|
|
105376
|
+
//
|
|
105377
|
+
//
|
|
105378
|
+
//
|
|
105379
|
+
//
|
|
105380
|
+
//
|
|
105381
|
+
//
|
|
105382
|
+
//
|
|
105383
|
+
//
|
|
105384
|
+
//
|
|
105385
|
+
//
|
|
105386
|
+
//
|
|
105387
|
+
//
|
|
105388
|
+
//
|
|
105389
|
+
//
|
|
105390
|
+
//
|
|
105391
|
+
//
|
|
105392
|
+
|
|
105393
|
+
|
|
105394
|
+
/* harmony default export */ var confirmBoxvue_type_script_lang_js_ = ({
|
|
105395
|
+
name: "confirmBox",
|
|
105396
|
+
props: {
|
|
105397
|
+
title: {
|
|
105398
|
+
type: String,
|
|
105399
|
+
default: '提示'
|
|
105400
|
+
},
|
|
105401
|
+
content: {
|
|
105402
|
+
type: String
|
|
105403
|
+
},
|
|
105404
|
+
center: {
|
|
105405
|
+
type: Boolean,
|
|
105406
|
+
default: () => true
|
|
105407
|
+
},
|
|
105408
|
+
okText: {
|
|
105409
|
+
type: String,
|
|
105410
|
+
default: '确认'
|
|
105411
|
+
},
|
|
105412
|
+
cancelText: {
|
|
105413
|
+
type: String,
|
|
105414
|
+
default: '取消'
|
|
105415
|
+
}
|
|
105416
|
+
},
|
|
105417
|
+
components: {
|
|
105418
|
+
MessageBox: MessageBox
|
|
105419
|
+
},
|
|
105420
|
+
methods: {
|
|
105421
|
+
handleClick() {
|
|
105422
|
+
this.$refs['box'].visible = true;
|
|
105423
|
+
console.log('click');
|
|
105424
|
+
},
|
|
105425
|
+
handleCancel(close) {
|
|
105426
|
+
close();
|
|
105427
|
+
this.$emit('cancel');
|
|
105428
|
+
},
|
|
105429
|
+
handleConfirm(close) {
|
|
105430
|
+
close();
|
|
105431
|
+
this.$emit('confirm');
|
|
105432
|
+
}
|
|
105433
|
+
}
|
|
105434
|
+
});
|
|
105435
|
+
;// CONCATENATED MODULE: ./src/components/MessageBox/confirmBox.vue?vue&type=script&lang=js&
|
|
105436
|
+
/* harmony default export */ var MessageBox_confirmBoxvue_type_script_lang_js_ = (confirmBoxvue_type_script_lang_js_);
|
|
105437
|
+
;// CONCATENATED MODULE: ./src/components/MessageBox/confirmBox.vue
|
|
105438
|
+
|
|
105439
|
+
|
|
105440
|
+
|
|
105441
|
+
|
|
105442
|
+
|
|
105443
|
+
/* normalize component */
|
|
105444
|
+
;
|
|
105445
|
+
var confirmBox_component = (0,componentNormalizer/* default */.Z)(
|
|
105446
|
+
MessageBox_confirmBoxvue_type_script_lang_js_,
|
|
105447
|
+
render,
|
|
105448
|
+
staticRenderFns,
|
|
105449
|
+
false,
|
|
105450
|
+
null,
|
|
105451
|
+
"0ae71c98",
|
|
105452
|
+
null
|
|
105453
|
+
|
|
105454
|
+
)
|
|
105455
|
+
|
|
105456
|
+
/* harmony default export */ var confirmBox = (confirmBox_component.exports);
|
|
105457
|
+
|
|
105458
|
+
/***/ }),
|
|
105459
|
+
|
|
105211
105460
|
/***/ 8513:
|
|
105212
105461
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
105213
105462
|
|
|
@@ -105347,7 +105596,7 @@ var CorrectionItemvue_type_template_id_4d910d38_scoped_true_staticRenderFns = []
|
|
|
105347
105596
|
|
|
105348
105597
|
|
|
105349
105598
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 798 modules
|
|
105350
|
-
var components = __webpack_require__(
|
|
105599
|
+
var components = __webpack_require__(1119);
|
|
105351
105600
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js&
|
|
105352
105601
|
//
|
|
105353
105602
|
//
|
|
@@ -106632,7 +106881,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
106632
106881
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
106633
106882
|
var manage = __webpack_require__(1474);
|
|
106634
106883
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 798 modules
|
|
106635
|
-
var components = __webpack_require__(
|
|
106884
|
+
var components = __webpack_require__(1119);
|
|
106636
106885
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
106637
106886
|
var Bus = __webpack_require__(767);
|
|
106638
106887
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -107240,7 +107489,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;
|
|
|
107240
107489
|
/***/ (function(module) {
|
|
107241
107490
|
|
|
107242
107491
|
"use strict";
|
|
107243
|
-
module.exports = {"i8":"1.1.
|
|
107492
|
+
module.exports = {"i8":"1.1.34"};
|
|
107244
107493
|
|
|
107245
107494
|
/***/ })
|
|
107246
107495
|
|
|
@@ -107373,7 +107622,7 @@ if (typeof window !== 'undefined') {
|
|
|
107373
107622
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
107374
107623
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
107375
107624
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
107376
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=
|
|
107625
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=46ba0a26&scoped=true&
|
|
107377
107626
|
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 },attrs:{"spinning":_vm.formLoading,"tip":_vm.formLoadingTip}},[_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}}},_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:({ height: _vm.formNameHeight })},[_vm._v(" "+_vm._s(_vm.data.config.formName)+" ")]):_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')?[(
|
|
107378
107627
|
widget.options.layoutModel === 'auto' ||
|
|
107379
107628
|
widget.options.layoutModel === undefined
|
|
@@ -107382,11 +107631,11 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
107382
107631
|
borderColor: _vm.data.config.borderColor,
|
|
107383
107632
|
backgroundColor: _vm.data.config.bgc,
|
|
107384
107633
|
color: _vm.data.config.color,
|
|
107385
|
-
})},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0","padding-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('
|
|
107634
|
+
})},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0","padding-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('confirm-box',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"content":"注意:使用Excel模板导入仅支持文本、日期、下拉等内容,无法支持复杂的组件以及数据校验等,请确认!"},on:{"confirm":function($event){return _vm.downloadTableTemplate(widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]):_c('div',{staticClass:"table-content",style:({ borderColor: _vm.data.config.borderColor })},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('confirm-box',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"content":"注意:使用Excel模板导入仅支持文本、日期、下拉等内容,无法支持复杂的组件以及数据校验等,请确认!"},on:{"confirm":function($event){return _vm.downloadTableTemplate(widget)}}},[_c('a-button',[_vm._v("下载模板")])],1)],1):_vm._e(),_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((widget.columns),function(children,index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(children.type !== 'hidden'),expression:"children.type !== 'hidden'"}],key:index,class:[
|
|
107386
107635
|
_vm.data.config.align,
|
|
107387
107636
|
_vm.data.config.validate === true && children.options.required === true
|
|
107388
107637
|
? 'is_required'
|
|
107389
|
-
: 'no_required' ],staticStyle:{"border-right":"1px solid #333","border-bottom":"1px solid #333"},style:({ borderColor: _vm.data.config.borderColor })},[_vm._v(_vm._s(children.name))])}),(!widget.options.hiddenOperateBtn && widget.columns.length > 0 && !widget.options.disabled)?_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.addToTableData(widget, widget.model, 'addModel')}}},[_vm._v("添加行")])],1):_vm._e()],2),_vm._l((_vm.tableData[widget.model]),function(tableColums,columsIndex){return _c('div',{key:columsIndex,staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((tableColums.columns),function(tableItem,talbeIndex){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(tableItem.type !== 'hidden'),expression:"tableItem.type !== 'hidden'"}],key:columsIndex + '_' + talbeIndex,staticClass:"sub-table-item"},[_c('layout-item',{directives:[{name:"show",rawName:"v-show",value:(tableItem.options.canView),expression:"tableItem.options.canView"}],attrs:{"tableKey":tableColums.model,"rules":_vm.rules,"tableIndex":columsIndex,"widget":tableItem,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"models":_vm.models,"showLabel":false},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1)}),(!widget.options.disabled && !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(columsIndex, widget.model)}}},[_vm._v("删除行")])],1):_vm._e()],2)}),(
|
|
107638
|
+
: 'no_required' ],staticStyle:{"border-right":"1px solid #333","border-bottom":"1px solid #333"},style:({ borderColor: _vm.data.config.borderColor })},[_vm._v(_vm._s(children.name))])}),(!widget.options.hiddenOperateBtn && widget.columns.length > 0 && !widget.options.disabled)?_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.addToTableData(widget, widget.model, 'addModel', true)}}},[_vm._v("添加行")])],1):_vm._e()],2),_vm._l((_vm.tableData[widget.model]),function(tableColums,columsIndex){return _c('div',{key:columsIndex,staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((tableColums.columns),function(tableItem,talbeIndex){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(tableItem.type !== 'hidden'),expression:"tableItem.type !== 'hidden'"}],key:columsIndex + '_' + talbeIndex,staticClass:"sub-table-item"},[(['input', 'textarea'].includes(tableItem.type) && !tableItem.tableColCanEdit )?_c('div',{directives:[{name:"show",rawName:"v-show",value:(tableItem.options.canView),expression:"tableItem.options.canView"}],style:(("color: #000; border-right: 1px solid #333; border-bottom: 1px solid #333; line-height: normal; padding: 0 15px; line-break: anywhere; overflow: hidden; display: flex; align-items: center; height: " + (widget.options.rowsHeight ? widget.options.rowsHeight + 'px' : 'initial'))),on:{"dblclick":function($event){return _vm.tableColumnsDBClick(tableItem, tableColums.model + '_' + columsIndex + '_' + tableItem.model)}}},[_c('span',[_vm._v(_vm._s(_vm.models[tableColums.model][columsIndex][tableItem.model]))])]):_c('layout-item',{directives:[{name:"show",rawName:"v-show",value:(tableItem.options.canView),expression:"tableItem.options.canView"}],ref:tableColums.model + '_' + columsIndex + '_' + tableItem.model,refInFor:true,attrs:{"tableKey":tableColums.model,"rules":_vm.rules,"tableIndex":columsIndex,"widget":tableItem,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"models":_vm.models,"showLabel":false},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1)}),(!widget.options.disabled && !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(columsIndex, widget.model)}}},[_vm._v("删除行")])],1):_vm._e()],2)}),(
|
|
107390
107639
|
widget.options.computingSub.length > 0 &&
|
|
107391
107640
|
widget.options.computingMethod.length > 0 &&
|
|
107392
107641
|
_vm.tableData &&
|
|
@@ -107403,10 +107652,10 @@ var staticRenderFns = []
|
|
|
107403
107652
|
var layoutForPapervue_type_script_lang_js_ = __webpack_require__(7862);
|
|
107404
107653
|
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js&
|
|
107405
107654
|
/* harmony default export */ var layout_layoutForPapervue_type_script_lang_js_ = (layoutForPapervue_type_script_lang_js_/* default */.Z);
|
|
107406
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.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.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
107655
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.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.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=46ba0a26&prod&lang=less&scoped=true&
|
|
107407
107656
|
// extracted by mini-css-extract-plugin
|
|
107408
107657
|
|
|
107409
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
107658
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=46ba0a26&prod&lang=less&scoped=true&
|
|
107410
107659
|
|
|
107411
107660
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
107412
107661
|
var componentNormalizer = __webpack_require__(8412);
|
|
@@ -107425,7 +107674,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
107425
107674
|
staticRenderFns,
|
|
107426
107675
|
false,
|
|
107427
107676
|
null,
|
|
107428
|
-
"
|
|
107677
|
+
"46ba0a26",
|
|
107429
107678
|
null
|
|
107430
107679
|
|
|
107431
107680
|
)
|
|
@@ -108732,7 +108981,7 @@ var es_array_push = __webpack_require__(6903);
|
|
|
108732
108981
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
108733
108982
|
var util = __webpack_require__(6955);
|
|
108734
108983
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 798 modules
|
|
108735
|
-
var components = __webpack_require__(
|
|
108984
|
+
var components = __webpack_require__(1119);
|
|
108736
108985
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
108737
108986
|
var manage = __webpack_require__(1474);
|
|
108738
108987
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|