@zscreate/form-component 1.1.541-test.2 → 1.1.541
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 +1 -1
- package/dist/form-component.umd.js +36 -301
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -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__(913);
|
|
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
|
+
/***/ 913:
|
|
69998
69998
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
69999
69999
|
|
|
70000
70000
|
"use strict";
|
|
@@ -72686,9 +72686,9 @@ var component_component = (0,componentNormalizer/* default */.A)(
|
|
|
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=59fa09a3&scoped=true
|
|
72690
|
+
var widgetSetupvue_type_template_id_59fa09a3_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"}},[(!_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:"title",attrs:{"label":"默认值","prop":"title"}},[_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"}})],1),_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}})],1)}
|
|
72691
|
+
var widgetSetupvue_type_template_id_59fa09a3_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,45 +73363,6 @@ 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
|
-
|
|
73405
73366
|
|
|
73406
73367
|
|
|
73407
73368
|
|
|
@@ -73419,10 +73380,7 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73419
73380
|
formOneTable: formOneTable,
|
|
73420
73381
|
formDataBindModal: formDataBindModal,
|
|
73421
73382
|
relateSubModal: relateSubModal,
|
|
73422
|
-
addDictListModal: addDictListModal
|
|
73423
|
-
JDictSelectTag: JDictSelectTag,
|
|
73424
|
-
defaultValueWithSql: defaultValueWithSql,
|
|
73425
|
-
datasetManagement: datasetManagement
|
|
73383
|
+
addDictListModal: addDictListModal
|
|
73426
73384
|
},
|
|
73427
73385
|
mixins: [widgetSetupMixins],
|
|
73428
73386
|
data() {
|
|
@@ -73430,8 +73388,7 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73430
73388
|
linkList: [],
|
|
73431
73389
|
//下拉联动选择
|
|
73432
73390
|
rules: {},
|
|
73433
|
-
dataSourceDisable: false
|
|
73434
|
-
source: "1"
|
|
73391
|
+
dataSourceDisable: false
|
|
73435
73392
|
};
|
|
73436
73393
|
},
|
|
73437
73394
|
props: {
|
|
@@ -73451,9 +73408,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73451
73408
|
computed: {
|
|
73452
73409
|
isFormDesignShowAddDict() {
|
|
73453
73410
|
return window._CONFIG.isFormDesignShowAddDict;
|
|
73454
|
-
},
|
|
73455
|
-
isFormDesignSQL() {
|
|
73456
|
-
return window._CONFIG.isFormDesignSQL;
|
|
73457
73411
|
}
|
|
73458
73412
|
},
|
|
73459
73413
|
mounted() {
|
|
@@ -73462,17 +73416,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73462
73416
|
}
|
|
73463
73417
|
},
|
|
73464
73418
|
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
|
-
},
|
|
73476
73419
|
'widget.options.linkage': {
|
|
73477
73420
|
handler(val) {
|
|
73478
73421
|
val.map(model => {
|
|
@@ -73526,32 +73469,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73526
73469
|
}
|
|
73527
73470
|
},
|
|
73528
73471
|
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
|
-
},
|
|
73555
73472
|
changeDict(e) {
|
|
73556
73473
|
this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
|
|
73557
73474
|
this.widget.options.dictList = e;
|
|
@@ -73607,9 +73524,9 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73607
73524
|
this.widget.options.dictUrl = this.widget.options.dictName = this.widget.options.code = "";
|
|
73608
73525
|
}
|
|
73609
73526
|
},
|
|
73610
|
-
|
|
73611
|
-
|
|
73612
|
-
|
|
73527
|
+
openformDataBindModal() {
|
|
73528
|
+
this.$refs.formDataBindModal.init("input", this.widget);
|
|
73529
|
+
},
|
|
73613
73530
|
okSubStr(val) {
|
|
73614
73531
|
this.$set(this.widget.options, 'defaultValue', val);
|
|
73615
73532
|
// this.widget.options.defaultValue = val;
|
|
@@ -73618,10 +73535,10 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73618
73535
|
});
|
|
73619
73536
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=script&lang=js
|
|
73620
73537
|
/* harmony default export */ const components_Select_widgetSetupvue_type_script_lang_js = (Select_widgetSetupvue_type_script_lang_js);
|
|
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=
|
|
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=59fa09a3&prod&lang=less&scoped=true
|
|
73622
73539
|
// extracted by mini-css-extract-plugin
|
|
73623
73540
|
|
|
73624
|
-
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=
|
|
73541
|
+
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=59fa09a3&prod&lang=less&scoped=true
|
|
73625
73542
|
|
|
73626
73543
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue
|
|
73627
73544
|
|
|
@@ -73634,11 +73551,11 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
|
|
|
73634
73551
|
|
|
73635
73552
|
var Select_widgetSetup_component = (0,componentNormalizer/* default */.A)(
|
|
73636
73553
|
components_Select_widgetSetupvue_type_script_lang_js,
|
|
73637
|
-
|
|
73638
|
-
|
|
73554
|
+
widgetSetupvue_type_template_id_59fa09a3_scoped_true_render,
|
|
73555
|
+
widgetSetupvue_type_template_id_59fa09a3_scoped_true_staticRenderFns,
|
|
73639
73556
|
false,
|
|
73640
73557
|
null,
|
|
73641
|
-
"
|
|
73558
|
+
"59fa09a3",
|
|
73642
73559
|
null
|
|
73643
73560
|
|
|
73644
73561
|
)
|
|
@@ -76697,9 +76614,9 @@ var Radio_component_component = (0,componentNormalizer/* default */.A)(
|
|
|
76697
76614
|
)
|
|
76698
76615
|
|
|
76699
76616
|
/* harmony default export */ const Radio_component = (Radio_component_component.exports);
|
|
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=
|
|
76701
|
-
var
|
|
76702
|
-
var
|
|
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=26f3150c&scoped=true
|
|
76618
|
+
var widgetSetupvue_type_template_id_26f3150c_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"},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}})],1)}
|
|
76619
|
+
var widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns = []
|
|
76703
76620
|
|
|
76704
76621
|
|
|
76705
76622
|
;// 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
|
|
@@ -76764,50 +76681,6 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
|
|
|
76764
76681
|
//
|
|
76765
76682
|
//
|
|
76766
76683
|
//
|
|
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
|
-
|
|
76811
76684
|
|
|
76812
76685
|
|
|
76813
76686
|
|
|
@@ -76820,31 +76693,13 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
|
|
|
76820
76693
|
SelectSysDict: selectSysDict,
|
|
76821
76694
|
formOneTable: formOneTable,
|
|
76822
76695
|
relateSubModal: relateSubModal,
|
|
76823
|
-
addDictListModal: addDictListModal
|
|
76824
|
-
JDictSelectTag: JDictSelectTag,
|
|
76825
|
-
formDataBindModal: formDataBindModal,
|
|
76826
|
-
defaultValueWithSql: defaultValueWithSql,
|
|
76827
|
-
datasetManagement: datasetManagement
|
|
76696
|
+
addDictListModal: addDictListModal
|
|
76828
76697
|
},
|
|
76829
76698
|
data() {
|
|
76830
76699
|
return {
|
|
76831
|
-
rules: {}
|
|
76832
|
-
source: "1"
|
|
76700
|
+
rules: {}
|
|
76833
76701
|
};
|
|
76834
76702
|
},
|
|
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
|
-
},
|
|
76848
76703
|
props: {
|
|
76849
76704
|
widget: {
|
|
76850
76705
|
type: Object,
|
|
@@ -76862,40 +76717,11 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
|
|
|
76862
76717
|
computed: {
|
|
76863
76718
|
isFormDesignShowAddDict() {
|
|
76864
76719
|
return window._CONFIG.isFormDesignShowAddDict;
|
|
76865
|
-
},
|
|
76866
|
-
isFormDesignSQL() {
|
|
76867
|
-
return window._CONFIG.isFormDesignSQL;
|
|
76868
76720
|
}
|
|
76869
76721
|
},
|
|
76870
76722
|
created() {},
|
|
76871
76723
|
mounted() {},
|
|
76872
76724
|
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
|
-
},
|
|
76899
76725
|
changeDict(e) {
|
|
76900
76726
|
this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
|
|
76901
76727
|
this.widget.options.dictList = e;
|
|
@@ -76949,11 +76775,11 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
|
|
|
76949
76775
|
;
|
|
76950
76776
|
var Radio_widgetSetup_component = (0,componentNormalizer/* default */.A)(
|
|
76951
76777
|
components_Radio_widgetSetupvue_type_script_lang_js,
|
|
76952
|
-
|
|
76953
|
-
|
|
76778
|
+
widgetSetupvue_type_template_id_26f3150c_scoped_true_render,
|
|
76779
|
+
widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns,
|
|
76954
76780
|
false,
|
|
76955
76781
|
null,
|
|
76956
|
-
"
|
|
76782
|
+
"26f3150c",
|
|
76957
76783
|
null
|
|
76958
76784
|
|
|
76959
76785
|
)
|
|
@@ -77406,9 +77232,9 @@ var Checkbox_component_component = (0,componentNormalizer/* default */.A)(
|
|
|
77406
77232
|
)
|
|
77407
77233
|
|
|
77408
77234
|
/* harmony default export */ const Checkbox_component = (Checkbox_component_component.exports);
|
|
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=
|
|
77410
|
-
var
|
|
77411
|
-
var
|
|
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=234068e9&scoped=true
|
|
77236
|
+
var widgetSetupvue_type_template_id_234068e9_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"},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}})],1)}
|
|
77237
|
+
var widgetSetupvue_type_template_id_234068e9_scoped_true_staticRenderFns = []
|
|
77412
77238
|
|
|
77413
77239
|
|
|
77414
77240
|
;// 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
|
|
@@ -77677,50 +77503,6 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77677
77503
|
//
|
|
77678
77504
|
//
|
|
77679
77505
|
//
|
|
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
|
-
|
|
77724
77506
|
|
|
77725
77507
|
|
|
77726
77508
|
|
|
@@ -77735,31 +77517,13 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77735
77517
|
formOneTable: formOneTable,
|
|
77736
77518
|
JMultiSelectTag: JMultiSelectTag,
|
|
77737
77519
|
relateSubModal: relateSubModal,
|
|
77738
|
-
addDictListModal: addDictListModal
|
|
77739
|
-
JDictSelectTag: JDictSelectTag,
|
|
77740
|
-
formDataBindModal: formDataBindModal,
|
|
77741
|
-
defaultValueWithSql: defaultValueWithSql,
|
|
77742
|
-
datasetManagement: datasetManagement
|
|
77520
|
+
addDictListModal: addDictListModal
|
|
77743
77521
|
},
|
|
77744
77522
|
data() {
|
|
77745
77523
|
return {
|
|
77746
|
-
rules: {}
|
|
77747
|
-
source: "1"
|
|
77524
|
+
rules: {}
|
|
77748
77525
|
};
|
|
77749
77526
|
},
|
|
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
|
-
},
|
|
77763
77527
|
props: {
|
|
77764
77528
|
widget: {
|
|
77765
77529
|
type: Object,
|
|
@@ -77777,40 +77541,11 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77777
77541
|
computed: {
|
|
77778
77542
|
isFormDesignShowAddDict() {
|
|
77779
77543
|
return window._CONFIG.isFormDesignShowAddDict;
|
|
77780
|
-
},
|
|
77781
|
-
isFormDesignSQL() {
|
|
77782
|
-
return window._CONFIG.isFormDesignSQL;
|
|
77783
77544
|
}
|
|
77784
77545
|
},
|
|
77785
77546
|
created() {},
|
|
77786
77547
|
mounted() {},
|
|
77787
77548
|
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
|
-
},
|
|
77814
77549
|
changeDict(e) {
|
|
77815
77550
|
this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
|
|
77816
77551
|
this.widget.options.dictList = e;
|
|
@@ -77867,11 +77602,11 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
|
|
|
77867
77602
|
;
|
|
77868
77603
|
var Checkbox_widgetSetup_component = (0,componentNormalizer/* default */.A)(
|
|
77869
77604
|
components_Checkbox_widgetSetupvue_type_script_lang_js,
|
|
77870
|
-
|
|
77871
|
-
|
|
77605
|
+
widgetSetupvue_type_template_id_234068e9_scoped_true_render,
|
|
77606
|
+
widgetSetupvue_type_template_id_234068e9_scoped_true_staticRenderFns,
|
|
77872
77607
|
false,
|
|
77873
77608
|
null,
|
|
77874
|
-
"
|
|
77609
|
+
"234068e9",
|
|
77875
77610
|
null
|
|
77876
77611
|
|
|
77877
77612
|
)
|
|
@@ -136182,7 +135917,7 @@ var staticRenderFns = []
|
|
|
136182
135917
|
|
|
136183
135918
|
|
|
136184
135919
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
136185
|
-
var components = __webpack_require__(
|
|
135920
|
+
var components = __webpack_require__(913);
|
|
136186
135921
|
;// 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
|
|
136187
135922
|
//
|
|
136188
135923
|
//
|
|
@@ -138245,7 +137980,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
138245
137980
|
|
|
138246
137981
|
/* harmony default export */ const CorrectionModal = (component.exports);
|
|
138247
137982
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
138248
|
-
var components = __webpack_require__(
|
|
137983
|
+
var components = __webpack_require__(913);
|
|
138249
137984
|
// EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
|
|
138250
137985
|
var pubsub = __webpack_require__(1528);
|
|
138251
137986
|
var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
|
|
@@ -139415,7 +139150,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
139415
139150
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
139416
139151
|
var manage = __webpack_require__(8501);
|
|
139417
139152
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
139418
|
-
var components = __webpack_require__(
|
|
139153
|
+
var components = __webpack_require__(913);
|
|
139419
139154
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
139420
139155
|
var Bus = __webpack_require__(1509);
|
|
139421
139156
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -155288,7 +155023,7 @@ function toString(value) {
|
|
|
155288
155023
|
/***/ ((module) => {
|
|
155289
155024
|
|
|
155290
155025
|
"use strict";
|
|
155291
|
-
module.exports =
|
|
155026
|
+
module.exports = {"rE":"1.1.541"};
|
|
155292
155027
|
|
|
155293
155028
|
/***/ })
|
|
155294
155029
|
|
|
@@ -170002,7 +169737,7 @@ var es_array_unshift = __webpack_require__(5041);
|
|
|
170002
169737
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
170003
169738
|
var util_util = __webpack_require__(4063);
|
|
170004
169739
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
|
|
170005
|
-
var components = __webpack_require__(
|
|
169740
|
+
var components = __webpack_require__(913);
|
|
170006
169741
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|
|
170007
169742
|
var widgetFormItem = __webpack_require__(2895);
|
|
170008
169743
|
// EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
|