@zscreate/form-component 1.1.540 → 1.1.541-test.3
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 +11 -11
- package/dist/form-component.umd.js +328 -63
- package/package.json +1 -1
- package/readme.md +4 -1
package/dist/form-component.css
CHANGED
|
@@ -1476,16 +1476,16 @@ dd[data-v-3fa458e1] {
|
|
|
1476
1476
|
margin-right: 4px;
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
|
-
.custom_form_item .label[data-v-
|
|
1479
|
+
.custom_form_item .label[data-v-6d802eae] {
|
|
1480
1480
|
text-align: justify;
|
|
1481
1481
|
-moz-text-align-last: justify;
|
|
1482
1482
|
text-align-last: justify;
|
|
1483
1483
|
width: 90%;
|
|
1484
1484
|
}
|
|
1485
|
-
.custom_form_item[data-v-
|
|
1485
|
+
.custom_form_item[data-v-6d802eae] .ant-input {
|
|
1486
1486
|
background-color: rgba(0, 0, 0, 0);
|
|
1487
1487
|
}
|
|
1488
|
-
.select_component[data-v-
|
|
1488
|
+
.select_component[data-v-6d802eae] .ant-select-dropdown {
|
|
1489
1489
|
width: var(--dropdown_width) !important;
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
@@ -1503,7 +1503,7 @@ dd[data-v-3fa458e1] {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
1505
|
|
|
1506
|
-
[data-v-
|
|
1506
|
+
[data-v-67724398] .ant-select-selection__rendered::after {
|
|
1507
1507
|
content: "";
|
|
1508
1508
|
display: none;
|
|
1509
1509
|
height: 0;
|
|
@@ -3362,7 +3362,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3362
3362
|
height: 0;
|
|
3363
3363
|
}
|
|
3364
3364
|
|
|
3365
|
-
.paste_box[data-v-
|
|
3365
|
+
.paste_box[data-v-61f28762] {
|
|
3366
3366
|
position: relative;
|
|
3367
3367
|
flex-shrink: 0;
|
|
3368
3368
|
padding: 0 10px;
|
|
@@ -3371,7 +3371,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3371
3371
|
border-radius: 5px;
|
|
3372
3372
|
border: 1px dashed #d9d9d9;
|
|
3373
3373
|
}
|
|
3374
|
-
.drop-file-input[data-v-
|
|
3374
|
+
.drop-file-input[data-v-61f28762] {
|
|
3375
3375
|
position: absolute;
|
|
3376
3376
|
cursor: pointer;
|
|
3377
3377
|
z-index: 0;
|
|
@@ -3380,14 +3380,14 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3380
3380
|
width: 100%;
|
|
3381
3381
|
opacity: 0;
|
|
3382
3382
|
}
|
|
3383
|
-
.m_erweima[data-v-
|
|
3383
|
+
.m_erweima[data-v-61f28762] {
|
|
3384
3384
|
cursor: pointer;
|
|
3385
3385
|
}
|
|
3386
|
-
.m_erweima[data-v-
|
|
3386
|
+
.m_erweima[data-v-61f28762] svg {
|
|
3387
3387
|
width: 20px;
|
|
3388
3388
|
height: 20px;
|
|
3389
3389
|
}
|
|
3390
|
-
.dragUpload[data-v-
|
|
3390
|
+
.dragUpload[data-v-61f28762] {
|
|
3391
3391
|
display: flex;
|
|
3392
3392
|
gap: 5px;
|
|
3393
3393
|
flex-wrap: wrap;
|
|
@@ -5335,10 +5335,10 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
5335
5335
|
/***label对齐方式 */
|
|
5336
5336
|
|
|
5337
5337
|
|
|
5338
|
-
[data-v-
|
|
5338
|
+
[data-v-589405d6] .m-colorPicker {
|
|
5339
5339
|
z-index: 2;
|
|
5340
5340
|
}
|
|
5341
|
-
[data-v-
|
|
5341
|
+
[data-v-589405d6] .m-colorPicker .colorBtn {
|
|
5342
5342
|
border: 1px solid #e3e3e3;
|
|
5343
5343
|
}
|
|
5344
5344
|
|
|
@@ -66848,7 +66848,7 @@ let getFileExt = filename => {
|
|
|
66848
66848
|
/* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9548);
|
|
66849
66849
|
/* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4063);
|
|
66850
66850
|
/* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1482);
|
|
66851
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
66851
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8416);
|
|
66852
66852
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1528);
|
|
66853
66853
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
66854
66854
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(9274);
|
|
@@ -69994,7 +69994,7 @@ module.exports = {
|
|
|
69994
69994
|
|
|
69995
69995
|
/***/ }),
|
|
69996
69996
|
|
|
69997
|
-
/***/
|
|
69997
|
+
/***/ 8416:
|
|
69998
69998
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
69999
69999
|
|
|
70000
70000
|
"use strict";
|
|
@@ -72249,15 +72249,15 @@ var widgetDesign_component = (0,componentNormalizer/* default */.A)(
|
|
|
72249
72249
|
widgetSetup: widgetSetup,
|
|
72250
72250
|
widgetDesign: widgetDesign
|
|
72251
72251
|
});
|
|
72252
|
-
;// CONCATENATED MODULE: ./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/Select/component.vue?vue&type=template&id=
|
|
72253
|
-
var
|
|
72252
|
+
;// CONCATENATED MODULE: ./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/Select/component.vue?vue&type=template&id=6d802eae&scoped=true
|
|
72253
|
+
var componentvue_type_template_id_6d802eae_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item select_component",style:({ height: _vm.widget.options.height + 'px',background: _vm.widget.options.bgColor, '--dropdown_width': _vm.dropDownWidth })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
|
|
72254
72254
|
_vm.config.align,
|
|
72255
72255
|
_vm.config.validate === true && _vm.widget.options.required === true
|
|
72256
72256
|
? 'is_required'
|
|
72257
72257
|
: 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]):_vm._e(),_c('a-select',{attrs:{"dropdownStyle":{ zIndex: 3000, maxWidth: _vm.dropDownMaxWidth, minWidth: _vm.dropDownMinWidth },"placeholder":_vm.widget.options.placeholder,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"value":_vm.select_value,"showSearch":"","optionFilterProp":"label","allowClear":"","getPopupContainer":function (triggerNode) {
|
|
72258
72258
|
return triggerNode.parentNode || _vm.document.body;
|
|
72259
72259
|
},"mode":_vm.widget.options.multiple ? 'multiple' : 'default'},on:{"change":_vm.handleChange,"search":_vm.handleSearch,"popupScroll":function (e) { _vm.handleScroll(e) }}},[(_vm.thrList.length > 0)?_vm._l((_vm.thrList),function(item,idx){return _c('a-select-option',{key:idx,attrs:{"title":item.xm,"value":item.gh,"label":item.xm}},[_vm._v(" "+_vm._s(item.xm)+" ")])}):_vm._l((_vm.filterDictOptions),function(item,idx){return _c('a-select-option',{key:idx,attrs:{"title":item.text,"value":item.value,"label":item.text}},[_vm._v(" "+_vm._s(item.text)+" ")])})],2)],1)],1):_vm._e()}
|
|
72260
|
-
var
|
|
72260
|
+
var componentvue_type_template_id_6d802eae_scoped_true_staticRenderFns = []
|
|
72261
72261
|
|
|
72262
72262
|
|
|
72263
72263
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/es.array.unshift.js
|
|
@@ -72426,7 +72426,7 @@ if (!__webpack_require__.g.linkage_select) __webpack_require__.g.linkage_select
|
|
|
72426
72426
|
if (!this.dictOptions.length) return [];
|
|
72427
72427
|
return this.dictOptions.filter(item => {
|
|
72428
72428
|
return String(item.text).includes(this.search);
|
|
72429
|
-
}).slice(0,
|
|
72429
|
+
}).slice(0, 40 * (this.page + 1));
|
|
72430
72430
|
}
|
|
72431
72431
|
},
|
|
72432
72432
|
watch: {
|
|
@@ -72660,10 +72660,10 @@ if (!__webpack_require__.g.linkage_select) __webpack_require__.g.linkage_select
|
|
|
72660
72660
|
});
|
|
72661
72661
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=script&lang=js
|
|
72662
72662
|
/* harmony default export */ const components_Select_componentvue_type_script_lang_js = (Select_componentvue_type_script_lang_js);
|
|
72663
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/Select/component.vue?vue&type=style&index=0&id=
|
|
72663
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/Select/component.vue?vue&type=style&index=0&id=6d802eae&prod&lang=less&scoped=true
|
|
72664
72664
|
// extracted by mini-css-extract-plugin
|
|
72665
72665
|
|
|
72666
|
-
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=
|
|
72666
|
+
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=6d802eae&prod&lang=less&scoped=true
|
|
72667
72667
|
|
|
72668
72668
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue
|
|
72669
72669
|
|
|
@@ -72676,19 +72676,19 @@ if (!__webpack_require__.g.linkage_select) __webpack_require__.g.linkage_select
|
|
|
72676
72676
|
|
|
72677
72677
|
var component_component = (0,componentNormalizer/* default */.A)(
|
|
72678
72678
|
components_Select_componentvue_type_script_lang_js,
|
|
72679
|
-
|
|
72680
|
-
|
|
72679
|
+
componentvue_type_template_id_6d802eae_scoped_true_render,
|
|
72680
|
+
componentvue_type_template_id_6d802eae_scoped_true_staticRenderFns,
|
|
72681
72681
|
false,
|
|
72682
72682
|
null,
|
|
72683
|
-
"
|
|
72683
|
+
"6d802eae",
|
|
72684
72684
|
null
|
|
72685
72685
|
|
|
72686
72686
|
)
|
|
72687
72687
|
|
|
72688
72688
|
/* harmony default export */ const Select_component = (component_component.exports);
|
|
72689
|
-
;// CONCATENATED MODULE: ./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/Select/widgetSetup.vue?vue&type=template&id=
|
|
72690
|
-
var
|
|
72691
|
-
var
|
|
72689
|
+
;// CONCATENATED MODULE: ./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/Select/widgetSetup.vue?vue&type=template&id=67724398&scoped=true
|
|
72690
|
+
var widgetSetupvue_type_template_id_67724398_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-form-model-item',{ref:"contentWidth",attrs:{"label":"下拉内容宽度:","prop":"contentWidth"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.widget.options.contentWidthType),callback:function ($$v) {_vm.$set(_vm.widget.options, "contentWidthType", $$v)},expression:"widget.options.contentWidthType"}},[_c('a-radio-button',{attrs:{"value":undefined}},[_vm._v("默认")]),_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("固定")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("最大值")]),(_vm.widget.options.contentWidthType)?_c('div',{staticStyle:{"margin":"10px 0"}},[_c('a-input-number',{staticStyle:{"width":"90%"},attrs:{"placeholder":"请输入宽度","min":0,"max":1200,"step":1},model:{value:(_vm.widget.options.contentWidth),callback:function ($$v) {_vm.$set(_vm.widget.options, "contentWidth", $$v)},expression:"widget.options.contentWidth"}}),_vm._v(" px ")],1):_vm._e()],1)],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid","size":"small"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("输入数据")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("默认数据")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("表单绑定")]),(_vm.isFormDesignSQL)?_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("sql")]):_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("数据集")])],1),(_vm.source == '1')?_c('a-input',{on:{"change":_vm.changeFn},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):(_vm.source == 2)?_c('j-dict-select-tag',{attrs:{"triggerChange":true,"dictCode":"BDMRZ","placeholder":"请选择默认值"},on:{"change":_vm.input},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source == '3')?_c('a-input',{attrs:{"placeholder":"请点击选择绑定表单字段"},on:{"click":_vm.openformDataBindModal},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source == '4' && _vm.isFormDesignSQL)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("配置详情")]):_vm._e(),(_vm.source == '4' && !_vm.isFormDesignSQL)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithTable}},[_vm._v("关联数据集")]):_vm._e()],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"数据源选项:","prop":"title"}},[(!_vm.dataSourceDisable)?[_c('a-radio-group',{attrs:{"button-style":"solid"},on:{"change":_vm.radioChange},model:{value:(_vm.widget.options.remoteNumber),callback:function ($$v) {_vm.$set(_vm.widget.options, "remoteNumber", $$v)},expression:"widget.options.remoteNumber"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("远端数据")]),_c('a-radio-button',{attrs:{"value":"2.1"}},[_vm._v("分类字典")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("数据中心")])],1),(_vm.widget.options.remoteNumber == '1')?_c('select-sys-dict',{attrs:{"widget":_vm.widget,"placeholder":"请选择数据字典编号"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2')?_c('a-input',{attrs:{"placeholder":"请输入接口地址"},model:{value:(_vm.widget.options.dictUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictUrl", $$v)},expression:"widget.options.dictUrl"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2.1')?_c('select-classify-dict',{attrs:{"widget":_vm.widget,"placeholder":"请输入分类字典"}}):_vm._e(),(_vm.widget.options.remoteNumber == '3')?_c('a-input',{attrs:{"placeholder":"请选择数据中心字典编号","read-only":""},on:{"click":_vm.oprnformonrtable},model:{value:(_vm.widget.options.dictTable),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictTable", $$v)},expression:"widget.options.dictTable"}}):_vm._e(),(_vm.isFormDesignShowAddDict && _vm.widget.options.remoteNumber == '3')?_c('div',{staticStyle:{"text-align":"end","color":"#2f91fe","cursor":"pointer","line-height":"1","margin-top":"5px","margin-right":"5px"}},[_c('span',{on:{"click":function($event){return _vm.openAddDictListModal(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '新增数据字典')}}},[_vm._v(_vm._s(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '+ 新增数据字典'))])]):_vm._e()]:[_c('span',{staticStyle:{"margin-left":"10px"}},[_vm._v(" 该组件被下拉联动,数据源选项不可编辑 ")])]],2),_c('a-form-model-item',{ref:"select",attrs:{"label":"下拉框联动:","prop":"select"}},[_c('a-select',{attrs:{"mode":"tags","placeholder":"请选择"},on:{"focus":_vm.Onfocus},model:{value:(_vm.widget.options.linkage),callback:function ($$v) {_vm.$set(_vm.widget.options, "linkage", $$v)},expression:"widget.options.linkage"}},_vm._l((_vm.linkList),function(item,idx){return _c('a-select-option',{key:idx,attrs:{"value":item.model}},[_vm._v(_vm._s(item.name)+" ")])}),1)],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1)],1)]),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('form-one-table',{ref:"formOnetable",on:{"ok":_vm.handledict}}),_c('addDictListModal',{ref:"addDictListModal",on:{"ok":_vm.changeDict}}),_c('default-value-with-sql',{ref:"defaultValueWithSql",on:{"setDefalutOk":_vm.setDefalutValue}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)}
|
|
72691
|
+
var widgetSetupvue_type_template_id_67724398_scoped_true_staticRenderFns = []
|
|
72692
72692
|
|
|
72693
72693
|
|
|
72694
72694
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/es.array.unscopables.flat.js
|
|
@@ -73363,6 +73363,45 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73363
73363
|
//
|
|
73364
73364
|
//
|
|
73365
73365
|
//
|
|
73366
|
+
//
|
|
73367
|
+
//
|
|
73368
|
+
//
|
|
73369
|
+
//
|
|
73370
|
+
//
|
|
73371
|
+
//
|
|
73372
|
+
//
|
|
73373
|
+
//
|
|
73374
|
+
//
|
|
73375
|
+
//
|
|
73376
|
+
//
|
|
73377
|
+
//
|
|
73378
|
+
//
|
|
73379
|
+
//
|
|
73380
|
+
//
|
|
73381
|
+
//
|
|
73382
|
+
//
|
|
73383
|
+
//
|
|
73384
|
+
//
|
|
73385
|
+
//
|
|
73386
|
+
//
|
|
73387
|
+
//
|
|
73388
|
+
//
|
|
73389
|
+
//
|
|
73390
|
+
//
|
|
73391
|
+
//
|
|
73392
|
+
//
|
|
73393
|
+
//
|
|
73394
|
+
//
|
|
73395
|
+
//
|
|
73396
|
+
//
|
|
73397
|
+
//
|
|
73398
|
+
//
|
|
73399
|
+
//
|
|
73400
|
+
//
|
|
73401
|
+
//
|
|
73402
|
+
|
|
73403
|
+
|
|
73404
|
+
|
|
73366
73405
|
|
|
73367
73406
|
|
|
73368
73407
|
|
|
@@ -73380,7 +73419,10 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73380
73419
|
formOneTable: formOneTable,
|
|
73381
73420
|
formDataBindModal: formDataBindModal,
|
|
73382
73421
|
relateSubModal: relateSubModal,
|
|
73383
|
-
addDictListModal: addDictListModal
|
|
73422
|
+
addDictListModal: addDictListModal,
|
|
73423
|
+
JDictSelectTag: JDictSelectTag,
|
|
73424
|
+
defaultValueWithSql: defaultValueWithSql,
|
|
73425
|
+
datasetManagement: datasetManagement
|
|
73384
73426
|
},
|
|
73385
73427
|
mixins: [widgetSetupMixins],
|
|
73386
73428
|
data() {
|
|
@@ -73388,7 +73430,8 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73388
73430
|
linkList: [],
|
|
73389
73431
|
//下拉联动选择
|
|
73390
73432
|
rules: {},
|
|
73391
|
-
dataSourceDisable: false
|
|
73433
|
+
dataSourceDisable: false,
|
|
73434
|
+
source: "1"
|
|
73392
73435
|
};
|
|
73393
73436
|
},
|
|
73394
73437
|
props: {
|
|
@@ -73408,6 +73451,9 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73408
73451
|
computed: {
|
|
73409
73452
|
isFormDesignShowAddDict() {
|
|
73410
73453
|
return window._CONFIG.isFormDesignShowAddDict;
|
|
73454
|
+
},
|
|
73455
|
+
isFormDesignSQL() {
|
|
73456
|
+
return window._CONFIG.isFormDesignSQL;
|
|
73411
73457
|
}
|
|
73412
73458
|
},
|
|
73413
73459
|
mounted() {
|
|
@@ -73416,6 +73462,17 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73416
73462
|
}
|
|
73417
73463
|
},
|
|
73418
73464
|
watch: {
|
|
73465
|
+
'widget.options.source': {
|
|
73466
|
+
handler(val) {
|
|
73467
|
+
console.log(val);
|
|
73468
|
+
if (val) {
|
|
73469
|
+
this.source = this.widget.options.source;
|
|
73470
|
+
} else {
|
|
73471
|
+
this.source = '1';
|
|
73472
|
+
}
|
|
73473
|
+
},
|
|
73474
|
+
immediate: true
|
|
73475
|
+
},
|
|
73419
73476
|
'widget.options.linkage': {
|
|
73420
73477
|
handler(val) {
|
|
73421
73478
|
val.map(model => {
|
|
@@ -73469,6 +73526,32 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73469
73526
|
}
|
|
73470
73527
|
},
|
|
73471
73528
|
methods: {
|
|
73529
|
+
changeFn(val) {
|
|
73530
|
+
this.widget.options.source = this.source;
|
|
73531
|
+
},
|
|
73532
|
+
input(val) {
|
|
73533
|
+
this.widget.options.defaultValue = val;
|
|
73534
|
+
this.widget.options.source = this.source;
|
|
73535
|
+
},
|
|
73536
|
+
openformDataBindModal() {
|
|
73537
|
+
this.$refs.formDataBindModal.init("input", this.widget);
|
|
73538
|
+
this.widget.options.source = this.source;
|
|
73539
|
+
},
|
|
73540
|
+
openDefaultValueWithSql() {
|
|
73541
|
+
this.$refs.defaultValueWithSql.init(this.widget.options);
|
|
73542
|
+
},
|
|
73543
|
+
openDefaultValueWithTable() {
|
|
73544
|
+
this.$refs.datasetManagement.init(this.widget.options, true);
|
|
73545
|
+
this.widget.options.source = this.source;
|
|
73546
|
+
},
|
|
73547
|
+
setDefalutValue(values) {
|
|
73548
|
+
this.widget.options.defaultValue = 'defaultQuerySQL';
|
|
73549
|
+
this.widget.options.defaultSQL = values;
|
|
73550
|
+
},
|
|
73551
|
+
setDateOk(val) {
|
|
73552
|
+
this.widget.options.defaultValue = "defaultQuerySQL";
|
|
73553
|
+
this.widget.options.defaultSQL = val;
|
|
73554
|
+
},
|
|
73472
73555
|
changeDict(e) {
|
|
73473
73556
|
this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
|
|
73474
73557
|
this.widget.options.dictList = e;
|
|
@@ -73524,9 +73607,9 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73524
73607
|
this.widget.options.dictUrl = this.widget.options.dictName = this.widget.options.code = "";
|
|
73525
73608
|
}
|
|
73526
73609
|
},
|
|
73527
|
-
openformDataBindModal() {
|
|
73528
|
-
|
|
73529
|
-
},
|
|
73610
|
+
// openformDataBindModal() {
|
|
73611
|
+
// this.$refs.formDataBindModal.init("input", this.widget);
|
|
73612
|
+
// },
|
|
73530
73613
|
okSubStr(val) {
|
|
73531
73614
|
this.$set(this.widget.options, 'defaultValue', val);
|
|
73532
73615
|
// this.widget.options.defaultValue = val;
|
|
@@ -73535,10 +73618,10 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73535
73618
|
});
|
|
73536
73619
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=script&lang=js
|
|
73537
73620
|
/* harmony default export */ const components_Select_widgetSetupvue_type_script_lang_js = (Select_widgetSetupvue_type_script_lang_js);
|
|
73538
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/Select/widgetSetup.vue?vue&type=style&index=0&id=
|
|
73621
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/Select/widgetSetup.vue?vue&type=style&index=0&id=67724398&prod&lang=less&scoped=true
|
|
73539
73622
|
// extracted by mini-css-extract-plugin
|
|
73540
73623
|
|
|
73541
|
-
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=
|
|
73624
|
+
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=67724398&prod&lang=less&scoped=true
|
|
73542
73625
|
|
|
73543
73626
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue
|
|
73544
73627
|
|
|
@@ -73551,11 +73634,11 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73551
73634
|
|
|
73552
73635
|
var Select_widgetSetup_component = (0,componentNormalizer/* default */.A)(
|
|
73553
73636
|
components_Select_widgetSetupvue_type_script_lang_js,
|
|
73554
|
-
|
|
73555
|
-
|
|
73637
|
+
widgetSetupvue_type_template_id_67724398_scoped_true_render,
|
|
73638
|
+
widgetSetupvue_type_template_id_67724398_scoped_true_staticRenderFns,
|
|
73556
73639
|
false,
|
|
73557
73640
|
null,
|
|
73558
|
-
"
|
|
73641
|
+
"67724398",
|
|
73559
73642
|
null
|
|
73560
73643
|
|
|
73561
73644
|
)
|
|
@@ -76614,9 +76697,9 @@ var Radio_component_component = (0,componentNormalizer/* default */.A)(
|
|
|
76614
76697
|
)
|
|
76615
76698
|
|
|
76616
76699
|
/* harmony default export */ const Radio_component = (Radio_component_component.exports);
|
|
76617
|
-
;// CONCATENATED MODULE: ./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/Radio/widgetSetup.vue?vue&type=template&id=
|
|
76618
|
-
var
|
|
76619
|
-
var
|
|
76700
|
+
;// CONCATENATED MODULE: ./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/Radio/widgetSetup.vue?vue&type=template&id=1963950c&scoped=true
|
|
76701
|
+
var widgetSetupvue_type_template_id_1963950c_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-form-model-item',{attrs:{"label":"布局选项:"}},[_c('a-radio-group',{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),_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid","size":"small"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("输入数据")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("默认数据")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("表单绑定")]),(_vm.isFormDesignSQL)?_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("sql")]):_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("数据集")])],1),(_vm.source == '1')?_c('a-input',{on:{"change":_vm.changeFn},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):(_vm.source == 2)?_c('j-dict-select-tag',{attrs:{"triggerChange":true,"dictCode":"BDMRZ","placeholder":"请选择默认值"},on:{"change":_vm.input},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source == '3')?_c('a-input',{attrs:{"placeholder":"请点击选择绑定表单字段"},on:{"click":_vm.openformDataBindModal},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source == '4' && _vm.isFormDesignSQL)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("配置详情")]):_vm._e(),(_vm.source == '4' && !_vm.isFormDesignSQL)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithTable}},[_vm._v("关联数据集")]):_vm._e()],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"数据源选项:","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},on:{"change":_vm.radioChange},model:{value:(_vm.widget.options.remoteNumber),callback:function ($$v) {_vm.$set(_vm.widget.options, "remoteNumber", $$v)},expression:"widget.options.remoteNumber"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("远端数据")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("接口地址")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("数据中心")])],1),(_vm.widget.options.remoteNumber == '1')?_c('select-sys-dict',{attrs:{"widget":_vm.widget,"placeholder":"请选择数据字典编号"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2')?_c('a-input',{attrs:{"placeholder":"请输入接口地址"},model:{value:(_vm.widget.options.dictUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictUrl", $$v)},expression:"widget.options.dictUrl"}}):_vm._e(),(_vm.widget.options.remoteNumber == '3')?_c('a-input',{attrs:{"placeholder":"请选择数据中心字典编号","read-only":""},on:{"click":_vm.oprnformonrtable},model:{value:(_vm.widget.options.dictTable),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictTable", $$v)},expression:"widget.options.dictTable"}}):_vm._e(),(_vm.isFormDesignShowAddDict && _vm.widget.options.remoteNumber == '3')?_c('div',{staticStyle:{"text-align":"end","color":"#2f91fe","cursor":"pointer","line-height":"1","margin-top":"5px","margin-right":"5px"}},[_c('span',{on:{"click":function($event){return _vm.openAddDictListModal(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '新增数据字典')}}},[_vm._v(_vm._s(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '+ 新增数据字典'))])]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1)],1)]),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('form-one-table',{ref:"formOnetable",on:{"ok":_vm.handledict}}),_c('addDictListModal',{ref:"addDictListModal",on:{"ok":_vm.changeDict}}),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('default-value-with-sql',{ref:"defaultValueWithSql",on:{"setDefalutOk":_vm.setDefalutValue}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)}
|
|
76702
|
+
var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
|
|
76620
76703
|
|
|
76621
76704
|
|
|
76622
76705
|
;// 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.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Radio/widgetSetup.vue?vue&type=script&lang=js
|
|
@@ -76681,6 +76764,50 @@ var widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns = []
|
|
|
76681
76764
|
//
|
|
76682
76765
|
//
|
|
76683
76766
|
//
|
|
76767
|
+
//
|
|
76768
|
+
//
|
|
76769
|
+
//
|
|
76770
|
+
//
|
|
76771
|
+
//
|
|
76772
|
+
//
|
|
76773
|
+
//
|
|
76774
|
+
//
|
|
76775
|
+
//
|
|
76776
|
+
//
|
|
76777
|
+
//
|
|
76778
|
+
//
|
|
76779
|
+
//
|
|
76780
|
+
//
|
|
76781
|
+
//
|
|
76782
|
+
//
|
|
76783
|
+
//
|
|
76784
|
+
//
|
|
76785
|
+
//
|
|
76786
|
+
//
|
|
76787
|
+
//
|
|
76788
|
+
//
|
|
76789
|
+
//
|
|
76790
|
+
//
|
|
76791
|
+
//
|
|
76792
|
+
//
|
|
76793
|
+
//
|
|
76794
|
+
//
|
|
76795
|
+
//
|
|
76796
|
+
//
|
|
76797
|
+
//
|
|
76798
|
+
//
|
|
76799
|
+
//
|
|
76800
|
+
//
|
|
76801
|
+
//
|
|
76802
|
+
//
|
|
76803
|
+
//
|
|
76804
|
+
//
|
|
76805
|
+
//
|
|
76806
|
+
//
|
|
76807
|
+
|
|
76808
|
+
|
|
76809
|
+
|
|
76810
|
+
|
|
76684
76811
|
|
|
76685
76812
|
|
|
76686
76813
|
|
|
@@ -76693,13 +76820,31 @@ var widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns = []
|
|
|
76693
76820
|
SelectSysDict: selectSysDict,
|
|
76694
76821
|
formOneTable: formOneTable,
|
|
76695
76822
|
relateSubModal: relateSubModal,
|
|
76696
|
-
addDictListModal: addDictListModal
|
|
76823
|
+
addDictListModal: addDictListModal,
|
|
76824
|
+
JDictSelectTag: JDictSelectTag,
|
|
76825
|
+
formDataBindModal: formDataBindModal,
|
|
76826
|
+
defaultValueWithSql: defaultValueWithSql,
|
|
76827
|
+
datasetManagement: datasetManagement
|
|
76697
76828
|
},
|
|
76698
76829
|
data() {
|
|
76699
76830
|
return {
|
|
76700
|
-
rules: {}
|
|
76831
|
+
rules: {},
|
|
76832
|
+
source: "1"
|
|
76701
76833
|
};
|
|
76702
76834
|
},
|
|
76835
|
+
watch: {
|
|
76836
|
+
'widget.options.source': {
|
|
76837
|
+
handler(val) {
|
|
76838
|
+
console.log(val);
|
|
76839
|
+
if (val) {
|
|
76840
|
+
this.source = this.widget.options.source;
|
|
76841
|
+
} else {
|
|
76842
|
+
this.source = '1';
|
|
76843
|
+
}
|
|
76844
|
+
},
|
|
76845
|
+
immediate: true
|
|
76846
|
+
}
|
|
76847
|
+
},
|
|
76703
76848
|
props: {
|
|
76704
76849
|
widget: {
|
|
76705
76850
|
type: Object,
|
|
@@ -76717,11 +76862,40 @@ var widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns = []
|
|
|
76717
76862
|
computed: {
|
|
76718
76863
|
isFormDesignShowAddDict() {
|
|
76719
76864
|
return window._CONFIG.isFormDesignShowAddDict;
|
|
76865
|
+
},
|
|
76866
|
+
isFormDesignSQL() {
|
|
76867
|
+
return window._CONFIG.isFormDesignSQL;
|
|
76720
76868
|
}
|
|
76721
76869
|
},
|
|
76722
76870
|
created() {},
|
|
76723
76871
|
mounted() {},
|
|
76724
76872
|
methods: {
|
|
76873
|
+
changeFn(val) {
|
|
76874
|
+
this.widget.options.source = this.source;
|
|
76875
|
+
},
|
|
76876
|
+
input(val) {
|
|
76877
|
+
this.widget.options.defaultValue = val;
|
|
76878
|
+
this.widget.options.source = this.source;
|
|
76879
|
+
},
|
|
76880
|
+
openformDataBindModal() {
|
|
76881
|
+
this.$refs.formDataBindModal.init("input", this.widget);
|
|
76882
|
+
this.widget.options.source = this.source;
|
|
76883
|
+
},
|
|
76884
|
+
openDefaultValueWithSql() {
|
|
76885
|
+
this.$refs.defaultValueWithSql.init(this.widget.options);
|
|
76886
|
+
},
|
|
76887
|
+
openDefaultValueWithTable() {
|
|
76888
|
+
this.$refs.datasetManagement.init(this.widget.options, true);
|
|
76889
|
+
this.widget.options.source = this.source;
|
|
76890
|
+
},
|
|
76891
|
+
setDefalutValue(values) {
|
|
76892
|
+
this.widget.options.defaultValue = 'defaultQuerySQL';
|
|
76893
|
+
this.widget.options.defaultSQL = values;
|
|
76894
|
+
},
|
|
76895
|
+
setDateOk(val) {
|
|
76896
|
+
this.widget.options.defaultValue = "defaultQuerySQL";
|
|
76897
|
+
this.widget.options.defaultSQL = val;
|
|
76898
|
+
},
|
|
76725
76899
|
changeDict(e) {
|
|
76726
76900
|
this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
|
|
76727
76901
|
this.widget.options.dictList = e;
|
|
@@ -76775,11 +76949,11 @@ var widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns = []
|
|
|
76775
76949
|
;
|
|
76776
76950
|
var Radio_widgetSetup_component = (0,componentNormalizer/* default */.A)(
|
|
76777
76951
|
components_Radio_widgetSetupvue_type_script_lang_js,
|
|
76778
|
-
|
|
76779
|
-
|
|
76952
|
+
widgetSetupvue_type_template_id_1963950c_scoped_true_render,
|
|
76953
|
+
widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns,
|
|
76780
76954
|
false,
|
|
76781
76955
|
null,
|
|
76782
|
-
"
|
|
76956
|
+
"1963950c",
|
|
76783
76957
|
null
|
|
76784
76958
|
|
|
76785
76959
|
)
|
|
@@ -77232,9 +77406,9 @@ var Checkbox_component_component = (0,componentNormalizer/* default */.A)(
|
|
|
77232
77406
|
)
|
|
77233
77407
|
|
|
77234
77408
|
/* harmony default export */ const Checkbox_component = (Checkbox_component_component.exports);
|
|
77235
|
-
;// CONCATENATED MODULE: ./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/Checkbox/widgetSetup.vue?vue&type=template&id=
|
|
77236
|
-
var
|
|
77237
|
-
var
|
|
77409
|
+
;// CONCATENATED MODULE: ./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/Checkbox/widgetSetup.vue?vue&type=template&id=5fa82bd9&scoped=true
|
|
77410
|
+
var widgetSetupvue_type_template_id_5fa82bd9_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-form-model-item',{attrs:{"label":"布局选项:"}},[_c('a-radio-group',{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),_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid","size":"small"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("输入数据")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("默认数据")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("表单绑定")]),(_vm.isFormDesignSQL)?_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("sql")]):_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("数据集")])],1),(_vm.source == '1')?_c('a-input',{on:{"change":_vm.changeFn},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):(_vm.source == 2)?_c('j-dict-select-tag',{attrs:{"triggerChange":true,"dictCode":"BDMRZ","placeholder":"请选择默认值"},on:{"change":_vm.input},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source == '3')?_c('a-input',{attrs:{"placeholder":"请点击选择绑定表单字段"},on:{"click":_vm.openformDataBindModal},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source == '4' && _vm.isFormDesignSQL)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("配置详情")]):_vm._e(),(_vm.source == '4' && !_vm.isFormDesignSQL)?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithTable}},[_vm._v("关联数据集")]):_vm._e()],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"数据源选项:","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},on:{"change":_vm.radioChange},model:{value:(_vm.widget.options.remoteNumber),callback:function ($$v) {_vm.$set(_vm.widget.options, "remoteNumber", $$v)},expression:"widget.options.remoteNumber"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v(" 远端数据 ")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v(" 接口地址 ")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v(" 数据中心 ")])],1),(_vm.widget.options.remoteNumber == '1')?_c('select-sys-dict',{attrs:{"widget":_vm.widget,"placeholder":"请选择数据字典编号"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2')?_c('a-input',{attrs:{"placeholder":"请输入接口地址"},model:{value:(_vm.widget.options.dictUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictUrl", $$v)},expression:"widget.options.dictUrl"}}):_vm._e(),(_vm.widget.options.remoteNumber == '3')?_c('a-input',{attrs:{"placeholder":"请选择数据中心字典编号","read-only":""},on:{"click":_vm.oprnformonrtable},model:{value:(_vm.widget.options.dictTable),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictTable", $$v)},expression:"widget.options.dictTable"}}):_vm._e(),(_vm.isFormDesignShowAddDict && _vm.widget.options.remoteNumber == '3')?_c('div',{staticStyle:{"text-align":"end","color":"#2f91fe","cursor":"pointer","line-height":"1","margin-top":"5px","margin-right":"5px"}},[_c('span',{on:{"click":function($event){return _vm.openAddDictListModal(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '新增数据字典')}}},[_vm._v(_vm._s(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '+ 新增数据字典'))])]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1)],1)]),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('form-one-table',{ref:"formOnetable",on:{"ok":_vm.handledict}}),_c('addDictListModal',{ref:"addDictListModal",on:{"ok":_vm.changeDict}}),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('default-value-with-sql',{ref:"defaultValueWithSql",on:{"setDefalutOk":_vm.setDefalutValue}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)}
|
|
77411
|
+
var widgetSetupvue_type_template_id_5fa82bd9_scoped_true_staticRenderFns = []
|
|
77238
77412
|
|
|
77239
77413
|
|
|
77240
77414
|
;// CONCATENATED MODULE: ./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/JMultiSelectTag.vue?vue&type=template&id=5bc3c6a4
|
|
@@ -77503,6 +77677,50 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77503
77677
|
//
|
|
77504
77678
|
//
|
|
77505
77679
|
//
|
|
77680
|
+
//
|
|
77681
|
+
//
|
|
77682
|
+
//
|
|
77683
|
+
//
|
|
77684
|
+
//
|
|
77685
|
+
//
|
|
77686
|
+
//
|
|
77687
|
+
//
|
|
77688
|
+
//
|
|
77689
|
+
//
|
|
77690
|
+
//
|
|
77691
|
+
//
|
|
77692
|
+
//
|
|
77693
|
+
//
|
|
77694
|
+
//
|
|
77695
|
+
//
|
|
77696
|
+
//
|
|
77697
|
+
//
|
|
77698
|
+
//
|
|
77699
|
+
//
|
|
77700
|
+
//
|
|
77701
|
+
//
|
|
77702
|
+
//
|
|
77703
|
+
//
|
|
77704
|
+
//
|
|
77705
|
+
//
|
|
77706
|
+
//
|
|
77707
|
+
//
|
|
77708
|
+
//
|
|
77709
|
+
//
|
|
77710
|
+
//
|
|
77711
|
+
//
|
|
77712
|
+
//
|
|
77713
|
+
//
|
|
77714
|
+
//
|
|
77715
|
+
//
|
|
77716
|
+
//
|
|
77717
|
+
//
|
|
77718
|
+
//
|
|
77719
|
+
//
|
|
77720
|
+
|
|
77721
|
+
|
|
77722
|
+
|
|
77723
|
+
|
|
77506
77724
|
|
|
77507
77725
|
|
|
77508
77726
|
|
|
@@ -77517,13 +77735,31 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77517
77735
|
formOneTable: formOneTable,
|
|
77518
77736
|
JMultiSelectTag: JMultiSelectTag,
|
|
77519
77737
|
relateSubModal: relateSubModal,
|
|
77520
|
-
addDictListModal: addDictListModal
|
|
77738
|
+
addDictListModal: addDictListModal,
|
|
77739
|
+
JDictSelectTag: JDictSelectTag,
|
|
77740
|
+
formDataBindModal: formDataBindModal,
|
|
77741
|
+
defaultValueWithSql: defaultValueWithSql,
|
|
77742
|
+
datasetManagement: datasetManagement
|
|
77521
77743
|
},
|
|
77522
77744
|
data() {
|
|
77523
77745
|
return {
|
|
77524
|
-
rules: {}
|
|
77746
|
+
rules: {},
|
|
77747
|
+
source: "1"
|
|
77525
77748
|
};
|
|
77526
77749
|
},
|
|
77750
|
+
watch: {
|
|
77751
|
+
'widget.options.source': {
|
|
77752
|
+
handler(val) {
|
|
77753
|
+
console.log(val);
|
|
77754
|
+
if (val) {
|
|
77755
|
+
this.source = this.widget.options.source;
|
|
77756
|
+
} else {
|
|
77757
|
+
this.source = '1';
|
|
77758
|
+
}
|
|
77759
|
+
},
|
|
77760
|
+
immediate: true
|
|
77761
|
+
}
|
|
77762
|
+
},
|
|
77527
77763
|
props: {
|
|
77528
77764
|
widget: {
|
|
77529
77765
|
type: Object,
|
|
@@ -77541,11 +77777,40 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77541
77777
|
computed: {
|
|
77542
77778
|
isFormDesignShowAddDict() {
|
|
77543
77779
|
return window._CONFIG.isFormDesignShowAddDict;
|
|
77780
|
+
},
|
|
77781
|
+
isFormDesignSQL() {
|
|
77782
|
+
return window._CONFIG.isFormDesignSQL;
|
|
77544
77783
|
}
|
|
77545
77784
|
},
|
|
77546
77785
|
created() {},
|
|
77547
77786
|
mounted() {},
|
|
77548
77787
|
methods: {
|
|
77788
|
+
changeFn(val) {
|
|
77789
|
+
this.widget.options.source = this.source;
|
|
77790
|
+
},
|
|
77791
|
+
input(val) {
|
|
77792
|
+
this.widget.options.defaultValue = val;
|
|
77793
|
+
this.widget.options.source = this.source;
|
|
77794
|
+
},
|
|
77795
|
+
openformDataBindModal() {
|
|
77796
|
+
this.$refs.formDataBindModal.init("input", this.widget);
|
|
77797
|
+
this.widget.options.source = this.source;
|
|
77798
|
+
},
|
|
77799
|
+
openDefaultValueWithSql() {
|
|
77800
|
+
this.$refs.defaultValueWithSql.init(this.widget.options);
|
|
77801
|
+
},
|
|
77802
|
+
openDefaultValueWithTable() {
|
|
77803
|
+
this.$refs.datasetManagement.init(this.widget.options, true);
|
|
77804
|
+
this.widget.options.source = this.source;
|
|
77805
|
+
},
|
|
77806
|
+
setDefalutValue(values) {
|
|
77807
|
+
this.widget.options.defaultValue = 'defaultQuerySQL';
|
|
77808
|
+
this.widget.options.defaultSQL = values;
|
|
77809
|
+
},
|
|
77810
|
+
setDateOk(val) {
|
|
77811
|
+
this.widget.options.defaultValue = "defaultQuerySQL";
|
|
77812
|
+
this.widget.options.defaultSQL = val;
|
|
77813
|
+
},
|
|
77549
77814
|
changeDict(e) {
|
|
77550
77815
|
this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
|
|
77551
77816
|
this.widget.options.dictList = e;
|
|
@@ -77602,11 +77867,11 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77602
77867
|
;
|
|
77603
77868
|
var Checkbox_widgetSetup_component = (0,componentNormalizer/* default */.A)(
|
|
77604
77869
|
components_Checkbox_widgetSetupvue_type_script_lang_js,
|
|
77605
|
-
|
|
77606
|
-
|
|
77870
|
+
widgetSetupvue_type_template_id_5fa82bd9_scoped_true_render,
|
|
77871
|
+
widgetSetupvue_type_template_id_5fa82bd9_scoped_true_staticRenderFns,
|
|
77607
77872
|
false,
|
|
77608
77873
|
null,
|
|
77609
|
-
"
|
|
77874
|
+
"5fa82bd9",
|
|
77610
77875
|
null
|
|
77611
77876
|
|
|
77612
77877
|
)
|
|
@@ -86211,14 +86476,14 @@ var es_array_sort = __webpack_require__(8934);
|
|
|
86211
86476
|
var downloadPage = __webpack_require__(3380);
|
|
86212
86477
|
// EXTERNAL MODULE: ./src/utils/encryption/aesEncrypt.js
|
|
86213
86478
|
var aesEncrypt = __webpack_require__(6151);
|
|
86214
|
-
;// CONCATENATED MODULE: ./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/dragUpload.vue?vue&type=template&id=
|
|
86215
|
-
var
|
|
86479
|
+
;// CONCATENATED MODULE: ./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/dragUpload.vue?vue&type=template&id=61f28762&scoped=true
|
|
86480
|
+
var dragUploadvue_type_template_id_61f28762_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"no-print dragUpload",style:(("pointer-events: " + (_vm.disabled ? 'none' : 'auto')))},[_c('div',{staticClass:" paste_box",style:((";background: " + (_vm.isDragging ? '#f0f8ff' : 'initial') + "; ")),on:{"click":_vm.clickpasteMode,"dragover":function($event){$event.preventDefault();$event.stopPropagation();return _vm.handleDragOver.apply(null, arguments)},"drop":function($event){$event.preventDefault();return _vm.handleDrop.apply(null, arguments)},"dragleave":function($event){$event.preventDefault();return _vm.handleDragLeave.apply(null, arguments)}}},[(_vm.pasteMode)?[_c('div',{staticStyle:{"text-align":"center"}},[_vm._v("Ctrl+v 粘贴"+_vm._s(_vm.strType))])]:[_c('a-button',{staticStyle:{"padding-left":"0","padding-right":"5px","z-index":"1"},attrs:{"type":"link"},on:{"click":function($event){$event.stopPropagation();return _vm.handlePlusClick.apply(null, arguments)}}},[_vm._v("选择")]),_c('span',[_vm._v(_vm._s(_vm.placeholder))]),_c('input',{staticClass:"drop-file-input",attrs:{"type":"text"}})]],2),(_vm.QrUpload)?_c('div',{staticClass:"erweima_pop",staticStyle:{"flex":"1"}},[_c('a-popover',{attrs:{"trigger":"contextmenu","placement":"bottom","getPopupContainer":function (triggerNode) {
|
|
86216
86481
|
return triggerNode.parentNode.parentNode || _vm.document.body;
|
|
86217
86482
|
}},on:{"click":function($event){return _vm.showQr()},"visibleChange":_vm.visibleChange},model:{value:(_vm.visibleQR),callback:function ($$v) {_vm.visibleQR=$$v},expression:"visibleQR"}},[_c('template',{slot:"content"},[_c('div',{staticStyle:{"width":"150px"}},[_c('img',{staticStyle:{"margin":"5px 0 10px 0"},attrs:{"src":_vm.imgUrl,"width":"150px","height":"150px"}}),_c('div',{staticStyle:{"text-align":"center"}},[_vm._v("扫描二维码,在手机上选择"+_vm._s(_vm.strType)+"上传")])])]),_c('div',{staticStyle:{"width":"40px","height":"40px","border":"1px dashed #d9d9d9","display":"flex","align-items":"center","justify-content":"center","text-align":"center","border-radius":"5px"}},[_c('img',{attrs:{"src":__webpack_require__(9745),"width":"20px","height":"20px"}})])],2)],1):_vm._e()])}
|
|
86218
|
-
var
|
|
86483
|
+
var dragUploadvue_type_template_id_61f28762_scoped_true_staticRenderFns = []
|
|
86219
86484
|
|
|
86220
86485
|
|
|
86221
|
-
;// CONCATENATED MODULE: ./src/form/modules/common/dragUpload.vue?vue&type=template&id=
|
|
86486
|
+
;// CONCATENATED MODULE: ./src/form/modules/common/dragUpload.vue?vue&type=template&id=61f28762&scoped=true
|
|
86222
86487
|
|
|
86223
86488
|
// EXTERNAL MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/debounce.js + 1 modules
|
|
86224
86489
|
var debounce = __webpack_require__(1956);
|
|
@@ -86298,7 +86563,7 @@ var debounce = __webpack_require__(1956);
|
|
|
86298
86563
|
},
|
|
86299
86564
|
QrData: {
|
|
86300
86565
|
type: Object,
|
|
86301
|
-
default: {}
|
|
86566
|
+
default: () => {}
|
|
86302
86567
|
},
|
|
86303
86568
|
options: {
|
|
86304
86569
|
type: Object,
|
|
@@ -86474,10 +86739,10 @@ var debounce = __webpack_require__(1956);
|
|
|
86474
86739
|
});
|
|
86475
86740
|
;// CONCATENATED MODULE: ./src/form/modules/common/dragUpload.vue?vue&type=script&lang=js
|
|
86476
86741
|
/* harmony default export */ const common_dragUploadvue_type_script_lang_js = (dragUploadvue_type_script_lang_js);
|
|
86477
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/dragUpload.vue?vue&type=style&index=0&id=
|
|
86742
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/dragUpload.vue?vue&type=style&index=0&id=61f28762&prod&scoped=true&lang=less
|
|
86478
86743
|
// extracted by mini-css-extract-plugin
|
|
86479
86744
|
|
|
86480
|
-
;// CONCATENATED MODULE: ./src/form/modules/common/dragUpload.vue?vue&type=style&index=0&id=
|
|
86745
|
+
;// CONCATENATED MODULE: ./src/form/modules/common/dragUpload.vue?vue&type=style&index=0&id=61f28762&prod&scoped=true&lang=less
|
|
86481
86746
|
|
|
86482
86747
|
;// CONCATENATED MODULE: ./src/form/modules/common/dragUpload.vue
|
|
86483
86748
|
|
|
@@ -86490,11 +86755,11 @@ var debounce = __webpack_require__(1956);
|
|
|
86490
86755
|
|
|
86491
86756
|
var dragUpload_component = (0,componentNormalizer/* default */.A)(
|
|
86492
86757
|
common_dragUploadvue_type_script_lang_js,
|
|
86493
|
-
|
|
86494
|
-
|
|
86758
|
+
dragUploadvue_type_template_id_61f28762_scoped_true_render,
|
|
86759
|
+
dragUploadvue_type_template_id_61f28762_scoped_true_staticRenderFns,
|
|
86495
86760
|
false,
|
|
86496
86761
|
null,
|
|
86497
|
-
"
|
|
86762
|
+
"61f28762",
|
|
86498
86763
|
null
|
|
86499
86764
|
|
|
86500
86765
|
)
|
|
@@ -135917,7 +136182,7 @@ var staticRenderFns = []
|
|
|
135917
136182
|
|
|
135918
136183
|
|
|
135919
136184
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
135920
|
-
var components = __webpack_require__(
|
|
136185
|
+
var components = __webpack_require__(8416);
|
|
135921
136186
|
;// 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.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js
|
|
135922
136187
|
//
|
|
135923
136188
|
//
|
|
@@ -137980,7 +138245,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
137980
138245
|
|
|
137981
138246
|
/* harmony default export */ const CorrectionModal = (component.exports);
|
|
137982
138247
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
137983
|
-
var components = __webpack_require__(
|
|
138248
|
+
var components = __webpack_require__(8416);
|
|
137984
138249
|
// EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
|
|
137985
138250
|
var pubsub = __webpack_require__(1528);
|
|
137986
138251
|
var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
|
|
@@ -139150,7 +139415,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
139150
139415
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
139151
139416
|
var manage = __webpack_require__(8501);
|
|
139152
139417
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
139153
|
-
var components = __webpack_require__(
|
|
139418
|
+
var components = __webpack_require__(8416);
|
|
139154
139419
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
139155
139420
|
var Bus = __webpack_require__(1509);
|
|
139156
139421
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -155023,7 +155288,7 @@ function toString(value) {
|
|
|
155023
155288
|
/***/ ((module) => {
|
|
155024
155289
|
|
|
155025
155290
|
"use strict";
|
|
155026
|
-
module.exports = {"rE":"1.1.
|
|
155291
|
+
module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.541-test.3"}');
|
|
155027
155292
|
|
|
155028
155293
|
/***/ })
|
|
155029
155294
|
|
|
@@ -169737,7 +170002,7 @@ var es_array_unshift = __webpack_require__(5041);
|
|
|
169737
170002
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
169738
170003
|
var util_util = __webpack_require__(4063);
|
|
169739
170004
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
169740
|
-
var components = __webpack_require__(
|
|
170005
|
+
var components = __webpack_require__(8416);
|
|
169741
170006
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|
|
169742
170007
|
var widgetFormItem = __webpack_require__(2895);
|
|
169743
170008
|
// EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
|
|
@@ -170712,8 +170977,8 @@ var widgetConfigvue_type_template_id_0b66aa74_scoped_true_render = function () {
|
|
|
170712
170977
|
var widgetConfigvue_type_template_id_0b66aa74_scoped_true_staticRenderFns = []
|
|
170713
170978
|
|
|
170714
170979
|
|
|
170715
|
-
;// CONCATENATED MODULE: ./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/widgetPublicConfig.vue?vue&type=template&id=
|
|
170716
|
-
var
|
|
170980
|
+
;// CONCATENATED MODULE: ./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/widgetPublicConfig.vue?vue&type=template&id=589405d6&scoped=true
|
|
170981
|
+
var widgetPublicConfigvue_type_template_id_589405d6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{ref:"title",attrs:{"label":"标题"}},[_c('a-input',{model:{value:(_vm.widget.name),callback:function ($$v) {_vm.$set(_vm.widget, "name", $$v)},expression:"widget.name"}})],1),_c('a-form-model-item',{attrs:{"label":"标签宽度","prop":"title"}},[_c('a-input-number',{attrs:{"placeholder":"auto"},model:{value:(_vm.widget.options.labelWidth),callback:function ($$v) {_vm.$set(_vm.widget.options, "labelWidth", $$v)},expression:"widget.options.labelWidth"}})],1),_c('a-form-model-item',{attrs:{"label":"高度","prop":"title"}},[_c('a-input-number',{attrs:{"placeholder":"auto"},model:{value:(_vm.widget.options.height),callback:function ($$v) {_vm.$set(_vm.widget.options, "height", $$v)},expression:"widget.options.height"}})],1),(_vm.widget.type === 'select')?_c('a-form-model-item',{ref:"bg_bgc",attrs:{"label":"背景颜色","prop":"bgcolor"}},[_c('colorPicker',{attrs:{"defaultColor":"#FFFFFF"},model:{value:(_vm.widget.options.bgColor),callback:function ($$v) {_vm.$set(_vm.widget.options, "bgColor", $$v)},expression:"widget.options.bgColor"}})],1):_vm._e(),(!['placeholder', 'responsibility', 'fileupload'].includes(_vm.widget.type))?_c('a-form-model-item',{attrs:{"label":"组件无边框","prop":"title"}},[_c('a-switch',{model:{value:(_vm.widget.options.noBorder),callback:function ($$v) {_vm.$set(_vm.widget.options, "noBorder", $$v)},expression:"widget.options.noBorder"}})],1):_vm._e(),(['input', 'textarea'].includes(_vm.widget.type))?_c('div',[_c('a-form-model-item',{ref:"bgc",attrs:{"label":"字体颜色","prop":"labelwordcolor"}},[_c('colorPicker',{staticStyle:{"z-index":"3"},attrs:{"defaultColor":"#000000"},model:{value:(_vm.widget.options.fontColor),callback:function ($$v) {_vm.$set(_vm.widget.options, "fontColor", $$v)},expression:"widget.options.fontColor"}})],1),_c('a-form-model-item',{ref:"bg_bgc",attrs:{"label":"背景颜色","prop":"bgcolor"}},[_c('colorPicker',{attrs:{"defaultColor":"#FFFFFF"},model:{value:(_vm.widget.options.bgColor),callback:function ($$v) {_vm.$set(_vm.widget.options, "bgColor", $$v)},expression:"widget.options.bgColor"}})],1),_c('a-form-model-item',{attrs:{"label":"字体类型","prop":"title"}},[_c('a-select',{attrs:{"placeholder":"请选择字体"},model:{value:(_vm.widget.options.fontFamily),callback:function ($$v) {_vm.$set(_vm.widget.options, "fontFamily", $$v)},expression:"widget.options.fontFamily"}},_vm._l((_vm.fontNames),function(item,idx){return _c('a-select-option',{key:idx,attrs:{"value":item}},[_vm._v(" "+_vm._s(item)+" ")])}),1)],1)],1):_vm._e(),(_vm.widget.type == 'codeControl')?_c('a-form-model-item',{attrs:{"label":"默认值"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.widget.key),callback:function ($$v) {_vm.$set(_vm.widget, "key", $$v)},expression:"widget.key"}})],1):_vm._e(),(['imgupload', 'fileupload'].includes(_vm.widget.type) && _vm.widget.options.placeholder_1 !== undefined)?[(!_vm.seatList.includes(_vm.widget.type))?_c('a-form-model-item',{attrs:{"label":"PC占位内容"}},[_c('a-input',{model:{value:(_vm.widget.options.placeholder_1),callback:function ($$v) {_vm.$set(_vm.widget.options, "placeholder_1", $$v)},expression:"widget.options.placeholder_1"}})],1):_vm._e()]:(!_vm.seatList.includes(_vm.widget.type))?_c('a-form-model-item',{attrs:{"label":"占位内容"}},[_c('a-input',{model:{value:(_vm.widget.options.placeholder),callback:function ($$v) {_vm.$set(_vm.widget.options, "placeholder", $$v)},expression:"widget.options.placeholder"}})],1):_vm._e(),(_vm.widget.type == 'superLink')?_c('a-form-model-item',{attrs:{"label":"超链接名称"}},[_c('a-input',{model:{value:(_vm.widget.options.title),callback:function ($$v) {_vm.$set(_vm.widget.options, "title", $$v)},expression:"widget.options.title"}})],1):_vm._e(),_vm._t("default"),(['input', 'textarea', 'number', 'date'].includes(_vm.widget.type) && !_vm.widget.form_table_index )?[_c('a-form-model-item',{attrs:{"label":"公式联动"}},[_c('warp-formula-edit',{attrs:{"datalist":_vm.datalist,"widget":_vm.widget}})],1)]:_vm._e(),(!['dataTable', 'workflowApp', 'cascaderSelect', 'hnkj-confirm'].includes(_vm.widget.type))?_c('a-form-model-item',{attrs:{"label":"数据操作类型"}},[_c('a-select',{attrs:{"placeholder":"默认覆盖"},model:{value:(_vm.widget.options.zhuijiaType),callback:function ($$v) {_vm.$set(_vm.widget.options, "zhuijiaType", $$v)},expression:"widget.options.zhuijiaType"}},[_c('a-select-option',{attrs:{"value":"1"}},[_vm._v("覆盖")]),_c('a-select-option',{attrs:{"value":"2"}},[_vm._v("追加")])],1)],1):_vm._e(),(_vm.$route.query.jghsj === '1')?_c('a-form-model-item',{attrs:{"label":"选择入库唯一key"}},[_c('a-switch',{model:{value:(_vm.widget.isJghsjKey),callback:function ($$v) {_vm.$set(_vm.widget, "isJghsjKey", $$v)},expression:"widget.isJghsjKey"}})],1):_vm._e(),(_vm.$route.query.jghsj === '1' && _vm.widget.isJghsjKey)?_c('a-form-model-item',{attrs:{"label":"唯一key"}},[_c('a-select',{model:{value:(_vm.widget.model),callback:function ($$v) {_vm.$set(_vm.widget, "model", $$v)},expression:"widget.model"}},_vm._l((_vm.filedNameList),function(item){return _c('a-select-option',{key:item.field_name,attrs:{"value":item.field_name,"title":item.field_name_value}},[_vm._v(" "+_vm._s(item.field_name_value)+" ")])}),1)],1):_c('a-form-model-item',{attrs:{"label":"唯一key"}},[_c('a-input',{model:{value:(_vm.widget.model),callback:function ($$v) {_vm.$set(_vm.widget, "model", $$v)},expression:"widget.model"}})],1),(
|
|
170717
170982
|
_vm.widget.options && Object.keys(_vm.widget.options).indexOf('multiple') >= 0 && !_vm.excludeMultipleList.includes(_vm.widget.type)
|
|
170718
170983
|
)?_c('a-form-model-item',{attrs:{"label":"是否多选"}},[_c('a-switch',{model:{value:(_vm.widget.options.multiple),callback:function ($$v) {_vm.$set(_vm.widget.options, "multiple", $$v)},expression:"widget.options.multiple"}})],1):_vm._e(),(
|
|
170719
170984
|
!_vm.widget.form_table_index &&
|
|
@@ -170736,7 +171001,7 @@ var widgetPublicConfigvue_type_template_id_a0511278_scoped_true_render = functio
|
|
|
170736
171001
|
)?_c('a-select',{staticStyle:{"width":"100%"},attrs:{"show-search":"","filter-option":_vm.searchDataType,"placeholder":"请选择数据类型"},model:{value:(_vm.widget.options.dataType),callback:function ($$v) {_vm.$set(_vm.widget.options, "dataType", $$v)},expression:"widget.options.dataType"}},[_c('a-select-option',{attrs:{"name":"字符串","value":"string"}},[_vm._v("字符串")]),_c('a-select-option',{attrs:{"name":"URL地址","value":"url"}},[_vm._v("URL地址")]),_c('a-select-option',{attrs:{"name":"邮箱地址","value":"email"}},[_vm._v("邮箱地址")]),(_vm.regularCheckDicts.length > 0)?_vm._l((_vm.regularCheckDicts),function(regular,idx){return _c('a-select-option',{key:idx,attrs:{"name":regular.title,"value":'regular__' + regular.value}},[_vm._v(_vm._s(regular.title))])}):_vm._e()],2):_vm._e(),(
|
|
170737
171002
|
['input', 'textarea'].includes(_vm.widget.type)
|
|
170738
171003
|
)?_c('div',[(_vm.widget.type !== 'dataTable' && _vm.widget.type != 'hnkj-verify')?_c('a-input',{staticStyle:{"width":"100%"},attrs:{"disabled":String(_vm.widget.options.dataType).startsWith('regular__'),"placeholder":"填写正则表达式"},model:{value:(_vm.widget.options.pattern),callback:function ($$v) {_vm.$set(_vm.widget.options, "pattern", $$v)},expression:"widget.options.pattern"}}):_vm._e(),_c('a-input',{directives:[{name:"show",rawName:"v-show",value:(_vm.widget.options.pattern),expression:"widget.options.pattern"}],staticStyle:{"width":"100%"},attrs:{"placeholder":"请填写错误提示"},on:{"blur":_vm.valideError},model:{value:(_vm.widget.options.patternError),callback:function ($$v) {_vm.$set(_vm.widget.options, "patternError", $$v)},expression:"widget.options.patternError"}})],1):_vm._e()]:_vm._e()],2):_vm._e()],2)],1)}
|
|
170739
|
-
var
|
|
171004
|
+
var widgetPublicConfigvue_type_template_id_589405d6_scoped_true_staticRenderFns = []
|
|
170740
171005
|
|
|
170741
171006
|
|
|
170742
171007
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/es.symbol.description.js
|
|
@@ -171400,10 +171665,10 @@ const fontNames = ["黑体", "仿宋", "楷体", "标楷体", "华文仿宋", "
|
|
|
171400
171665
|
});
|
|
171401
171666
|
;// CONCATENATED MODULE: ./src/form/modules/widgetPublicConfig.vue?vue&type=script&lang=js
|
|
171402
171667
|
/* harmony default export */ const modules_widgetPublicConfigvue_type_script_lang_js = (widgetPublicConfigvue_type_script_lang_js);
|
|
171403
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/widgetPublicConfig.vue?vue&type=style&index=0&id=
|
|
171668
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@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/widgetPublicConfig.vue?vue&type=style&index=0&id=589405d6&prod&lang=less&scoped=true
|
|
171404
171669
|
// extracted by mini-css-extract-plugin
|
|
171405
171670
|
|
|
171406
|
-
;// CONCATENATED MODULE: ./src/form/modules/widgetPublicConfig.vue?vue&type=style&index=0&id=
|
|
171671
|
+
;// CONCATENATED MODULE: ./src/form/modules/widgetPublicConfig.vue?vue&type=style&index=0&id=589405d6&prod&lang=less&scoped=true
|
|
171407
171672
|
|
|
171408
171673
|
;// CONCATENATED MODULE: ./src/form/modules/widgetPublicConfig.vue
|
|
171409
171674
|
|
|
@@ -171416,11 +171681,11 @@ const fontNames = ["黑体", "仿宋", "楷体", "标楷体", "华文仿宋", "
|
|
|
171416
171681
|
|
|
171417
171682
|
var widgetPublicConfig_component = (0,componentNormalizer/* default */.A)(
|
|
171418
171683
|
modules_widgetPublicConfigvue_type_script_lang_js,
|
|
171419
|
-
|
|
171420
|
-
|
|
171684
|
+
widgetPublicConfigvue_type_template_id_589405d6_scoped_true_render,
|
|
171685
|
+
widgetPublicConfigvue_type_template_id_589405d6_scoped_true_staticRenderFns,
|
|
171421
171686
|
false,
|
|
171422
171687
|
null,
|
|
171423
|
-
"
|
|
171688
|
+
"589405d6",
|
|
171424
171689
|
null
|
|
171425
171690
|
|
|
171426
171691
|
)
|
package/package.json
CHANGED