@zscreate/form-component 1.1.550 → 1.1.552

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.
@@ -1474,16 +1474,16 @@ dd[data-v-3fa458e1] {
1474
1474
  margin-right: 4px;
1475
1475
  }
1476
1476
 
1477
- .custom_form_item .label[data-v-61214b11] {
1477
+ .custom_form_item .label[data-v-6d802eae] {
1478
1478
  text-align: justify;
1479
1479
  -moz-text-align-last: justify;
1480
1480
  text-align-last: justify;
1481
1481
  width: 90%;
1482
1482
  }
1483
- .custom_form_item[data-v-61214b11] .ant-input {
1483
+ .custom_form_item[data-v-6d802eae] .ant-input {
1484
1484
  background-color: rgba(0, 0, 0, 0);
1485
1485
  }
1486
- .select_component[data-v-61214b11] .ant-select-dropdown {
1486
+ .select_component[data-v-6d802eae] .ant-select-dropdown {
1487
1487
  width: var(--dropdown_width) !important;
1488
1488
  }
1489
1489
 
@@ -1501,7 +1501,7 @@ dd[data-v-3fa458e1] {
1501
1501
  }
1502
1502
 
1503
1503
 
1504
- [data-v-59fa09a3] .ant-select-selection__rendered::after {
1504
+ [data-v-67724398] .ant-select-selection__rendered::after {
1505
1505
  content: "";
1506
1506
  display: none;
1507
1507
  height: 0;
@@ -5600,13 +5600,13 @@ span.CodeMirror-selectedtext { background: none; }
5600
5600
  }
5601
5601
 
5602
5602
 
5603
- [data-v-2d49ecc8] .ant-form-item {
5603
+ [data-v-e18245fa] .ant-form-item {
5604
5604
  margin-bottom: 0;
5605
5605
  }
5606
- .m-colorPicker[data-v-2d49ecc8] .box.open {
5606
+ .m-colorPicker[data-v-e18245fa] .box.open {
5607
5607
  z-index: 999;
5608
5608
  }
5609
- .m-colorPicker[data-v-2d49ecc8] .colorBtn {
5609
+ .m-colorPicker[data-v-e18245fa] .colorBtn {
5610
5610
  border: 1px solid #e3e3e3;
5611
5611
  }
5612
5612
 
@@ -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__(2857);
66851
+ /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7964);
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
- /***/ 2857:
69997
+ /***/ 7964:
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=61214b11&scoped=true
72253
- var componentvue_type_template_id_61214b11_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:[
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 componentvue_type_template_id_61214b11_scoped_true_staticRenderFns = []
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, 10 * (this.page + 1));
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=61214b11&prod&lang=less&scoped=true
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=61214b11&prod&lang=less&scoped=true
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
- componentvue_type_template_id_61214b11_scoped_true_render,
72680
- componentvue_type_template_id_61214b11_scoped_true_staticRenderFns,
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
- "61214b11",
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=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 = []
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
- this.$refs.formDataBindModal.init("input", this.widget);
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=59fa09a3&prod&lang=less&scoped=true
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=59fa09a3&prod&lang=less&scoped=true
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
- widgetSetupvue_type_template_id_59fa09a3_scoped_true_render,
73555
- widgetSetupvue_type_template_id_59fa09a3_scoped_true_staticRenderFns,
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
- "59fa09a3",
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=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 = []
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
- widgetSetupvue_type_template_id_26f3150c_scoped_true_render,
76779
- widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns,
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
- "26f3150c",
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=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 = []
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
- widgetSetupvue_type_template_id_234068e9_scoped_true_render,
77606
- widgetSetupvue_type_template_id_234068e9_scoped_true_staticRenderFns,
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
- "234068e9",
77874
+ "5fa82bd9",
77610
77875
  null
77611
77876
 
77612
77877
  )
@@ -81603,13 +81868,17 @@ var IdeaSign_widgetDesign_component = (0,componentNormalizer/* default */.A)(
81603
81868
  widgetSetup: IdeaSign_widgetSetup,
81604
81869
  widgetDesign: IdeaSign_widgetDesign
81605
81870
  });
81606
- ;// 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/UploadModel/component.vue?vue&type=template&id=3a820b24&scoped=true
81607
- var componentvue_type_template_id_3a820b24_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",style:({ height: _vm.widget.options.height + 'px' })},[_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]}},[_c('div',{class:[
81871
+ ;// 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/UploadModel/component.vue?vue&type=template&id=5facb750&scoped=true
81872
+ var componentvue_type_template_id_5facb750_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",style:({ height: _vm.widget.options.height + 'px' })},[(!_vm.widget.options.QYSContractFlag)?_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]}},[_c('div',{class:[
81873
+ _vm.config.align,
81874
+ _vm.config.validate === true && _vm.widget.options.required === true
81875
+ ? 'is_required'
81876
+ : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]),_vm._l((_vm.widget.options.defaultValue),function(item,index){return _c('a',{key:index,style:(("margin-right: 20px; cursor: " + (_vm.isDisabled ? 'not-allowed' : 'pointer') + "; ")),on:{"click":function($event){$event.preventDefault();return _vm.uploadFile(item.url)}}},[_vm._v(_vm._s(item.name))])}),(_vm.widget.options.defaultValue.length === 0)?_c('span',[_vm._v("暂无模板")]):_vm._e()],2):_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]}},[_c('div',{class:[
81608
81877
  _vm.config.align,
81609
81878
  _vm.config.validate === true && _vm.widget.options.required === true
81610
81879
  ? 'is_required'
81611
- : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]),_vm._l((_vm.widget.options.defaultValue),function(item,index){return _c('a',{key:index,style:(("margin-right: 20px; cursor: " + (_vm.isDisabled ? 'not-allowed' : 'pointer') + "; ")),on:{"click":function($event){$event.preventDefault();return _vm.uploadFile(item.url)}}},[_vm._v(_vm._s(item.name))])}),(_vm.widget.options.defaultValue.length === 0)?_c('span',[_vm._v("暂无模板")]):_vm._e()],2),_c('FilePreview',{attrs:{"visible":_vm.previewVisible,"preview-type":_vm.previewType,"src":_vm.previewSrc},on:{"update:visible":function($event){_vm.previewVisible=$event}}})],1):_vm._e()}
81612
- var componentvue_type_template_id_3a820b24_scoped_true_staticRenderFns = []
81880
+ : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]),_vm._l((_vm.widget.options.defaultValue),function(item,index){return _c('a',{key:index,style:(("margin-right: 20px; cursor: " + (_vm.isDisabled ? 'not-allowed' : 'pointer') + "; ")),on:{"click":function($event){$event.preventDefault();return _vm.uploadFileQYS.apply(null, arguments)}}},[_vm._v(_vm._s(item.name))])}),(_vm.widget.options.defaultValue.length === 0)?_c('span',[_vm._v("契约锁合同")]):_vm._e()],2),_c('FilePreview',{attrs:{"visible":_vm.previewVisible,"preview-type":_vm.previewType,"src":_vm.previewSrc},on:{"update:visible":function($event){_vm.previewVisible=$event}}})],1):_vm._e()}
81881
+ var componentvue_type_template_id_5facb750_scoped_true_staticRenderFns = []
81613
81882
 
81614
81883
 
81615
81884
  // EXTERNAL MODULE: ./src/components/FilePreview.vue + 3 modules
@@ -81658,6 +81927,39 @@ var util_util = __webpack_require__(4063);
81658
81927
  //
81659
81928
  //
81660
81929
  //
81930
+ //
81931
+ //
81932
+ //
81933
+ //
81934
+ //
81935
+ //
81936
+ //
81937
+ //
81938
+ //
81939
+ //
81940
+ //
81941
+ //
81942
+ //
81943
+ //
81944
+ //
81945
+ //
81946
+ //
81947
+ //
81948
+ //
81949
+ //
81950
+ //
81951
+ //
81952
+ //
81953
+ //
81954
+ //
81955
+ //
81956
+ //
81957
+ //
81958
+ //
81959
+ //
81960
+ //
81961
+ //
81962
+ //
81661
81963
 
81662
81964
 
81663
81965
 
@@ -81725,6 +82027,9 @@ var util_util = __webpack_require__(4063);
81725
82027
  url = url.substring(0, url.indexOf(','));
81726
82028
  }
81727
82029
  window.open(this.downLoadUrl + '/' + url); //TODO 下载的方法
82030
+ },
82031
+ uploadFileQYS() {
82032
+ return;
81728
82033
  }
81729
82034
  }
81730
82035
  });
@@ -81740,22 +82045,22 @@ var util_util = __webpack_require__(4063);
81740
82045
  ;
81741
82046
  var UploadModel_component_component = (0,componentNormalizer/* default */.A)(
81742
82047
  components_UploadModel_componentvue_type_script_lang_js,
81743
- componentvue_type_template_id_3a820b24_scoped_true_render,
81744
- componentvue_type_template_id_3a820b24_scoped_true_staticRenderFns,
82048
+ componentvue_type_template_id_5facb750_scoped_true_render,
82049
+ componentvue_type_template_id_5facb750_scoped_true_staticRenderFns,
81745
82050
  false,
81746
82051
  null,
81747
- "3a820b24",
82052
+ "5facb750",
81748
82053
  null
81749
82054
 
81750
82055
  )
81751
82056
 
81752
82057
  /* harmony default export */ const UploadModel_component = (UploadModel_component_component.exports);
81753
- ;// 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/UploadModel/widgetSetup.vue?vue&type=template&id=0a41115f&scoped=true
81754
- var widgetSetupvue_type_template_id_0a41115f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"模板上传:"}},[_c('a-upload',{attrs:{"action":_vm.actionUrl,"file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"change":_vm.handleChange}},[(
82058
+ ;// 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/UploadModel/widgetSetup.vue?vue&type=template&id=58cd513d&scoped=true
82059
+ var widgetSetupvue_type_template_id_58cd513d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.h5PreviewOptions.length)?_c('a-form-model-item',{attrs:{"label":"契约锁合同文件"}},[_c('a-switch',{on:{"change":_vm.changeContract},model:{value:(_vm.widget.options.QYSContractFlag),callback:function ($$v) {_vm.$set(_vm.widget.options, "QYSContractFlag", $$v)},expression:"widget.options.QYSContractFlag"}})],1):_vm._e(),(!_vm.widget.options.QYSContractFlag)?_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"模板上传:"}},[_c('a-upload',{attrs:{"action":_vm.actionUrl,"file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"change":_vm.handleChange}},[(
81755
82060
  _vm.fileList.length < _vm.widget.options.length &&
81756
82061
  !_vm.widget.options.disabled
81757
- )?_c('div',[_c('a-popover',[_c('template',{slot:"content"},[_c('p',[_vm._v("只支持"+_vm._s(_vm.widget.ext)+"文件")])]),_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v(" 点击上传 ")],1)],2)],1):_vm._e()])],1)],1),(_vm.h5PreviewOptions.length)?_c('a-form-model-item',{attrs:{"label":"移动端H5预览"}},[_c('a-switch',{model:{value:(_vm.widget.options.h5_preview),callback:function ($$v) {_vm.$set(_vm.widget.options, "h5_preview", $$v)},expression:"widget.options.h5_preview"}}),(_vm.widget.options.h5_preview)?_c('div',{staticStyle:{"margin-left":"20px"}},[_c('a-form-model-item',{attrs:{"label":"预览配置"}},[_c('a-select',{on:{"change":_vm.h5PreviewChange},model:{value:(_vm.widget.options.h5_preview_type),callback:function ($$v) {_vm.$set(_vm.widget.options, "h5_preview_type", $$v)},expression:"widget.options.h5_preview_type"}},_vm._l((_vm.h5PreviewOptions),function(dict,idx){return _c('a-select-option',{key:idx,attrs:{"name":dict.title,"value":dict.value,"desc":dict.description}},[_vm._v(_vm._s(dict.title))])}),1)],1)],1):_vm._e()],1):_vm._e()],1)}
81758
- var widgetSetupvue_type_template_id_0a41115f_scoped_true_staticRenderFns = []
82062
+ )?_c('div',[_c('a-popover',[_c('template',{slot:"content"},[_c('p',[_vm._v("只支持"+_vm._s(_vm.widget.ext)+"文件")])]),_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v(" 点击上传 ")],1)],2)],1):_vm._e()])],1)],1):_vm._e(),(_vm.h5PreviewOptions.length && !_vm.widget.options.QYSContractFlag)?_c('a-form-model-item',{attrs:{"label":"移动端H5预览"}},[_c('a-switch',{model:{value:(_vm.widget.options.h5_preview),callback:function ($$v) {_vm.$set(_vm.widget.options, "h5_preview", $$v)},expression:"widget.options.h5_preview"}}),(_vm.widget.options.h5_preview)?_c('div',{staticStyle:{"margin-left":"20px"}},[_c('a-form-model-item',{attrs:{"label":"预览配置"}},[_c('a-select',{on:{"change":_vm.h5PreviewChange},model:{value:(_vm.widget.options.h5_preview_type),callback:function ($$v) {_vm.$set(_vm.widget.options, "h5_preview_type", $$v)},expression:"widget.options.h5_preview_type"}},_vm._l((_vm.h5PreviewOptions),function(dict,idx){return _c('a-select-option',{key:idx,attrs:{"name":dict.title,"value":dict.value,"desc":dict.description}},[_vm._v(_vm._s(dict.title))])}),1)],1)],1):_vm._e()],1):_vm._e()],1)}
82063
+ var widgetSetupvue_type_template_id_58cd513d_scoped_true_staticRenderFns = []
81759
82064
 
81760
82065
 
81761
82066
  ;// CONCATENATED MODULE: ./src/form/mixins/setup/h5FilePreview.js
@@ -81837,6 +82142,9 @@ var widgetSetupvue_type_template_id_0a41115f_scoped_true_staticRenderFns = []
81837
82142
  //
81838
82143
  //
81839
82144
  //
82145
+ //
82146
+ //
82147
+ //
81840
82148
  //
81841
82149
 
81842
82150
  //获取文件后缀名
@@ -81873,6 +82181,14 @@ var widgetSetupvue_type_template_id_0a41115f_scoped_true_staticRenderFns = []
81873
82181
  }
81874
82182
  },
81875
82183
  methods: {
82184
+ changeContract(e) {
82185
+ console.log(e, 'changeContract');
82186
+ if (e) {
82187
+ this.dataModel = this.fileList = this.widget.options.defaultValue = [];
82188
+ this.widget.options.h5_preview = undefined;
82189
+ this.widget.options.h5_preview_type = undefined;
82190
+ }
82191
+ },
81876
82192
  beforeUpload(file, fileList) {
81877
82193
  //上传时候校验
81878
82194
  //文件类型校验
@@ -81974,25 +82290,25 @@ var widgetSetupvue_type_template_id_0a41115f_scoped_true_staticRenderFns = []
81974
82290
  ;
81975
82291
  var UploadModel_widgetSetup_component = (0,componentNormalizer/* default */.A)(
81976
82292
  components_UploadModel_widgetSetupvue_type_script_lang_js,
81977
- widgetSetupvue_type_template_id_0a41115f_scoped_true_render,
81978
- widgetSetupvue_type_template_id_0a41115f_scoped_true_staticRenderFns,
82293
+ widgetSetupvue_type_template_id_58cd513d_scoped_true_render,
82294
+ widgetSetupvue_type_template_id_58cd513d_scoped_true_staticRenderFns,
81979
82295
  false,
81980
82296
  null,
81981
- "0a41115f",
82297
+ "58cd513d",
81982
82298
  null
81983
82299
 
81984
82300
  )
81985
82301
 
81986
82302
  /* harmony default export */ const UploadModel_widgetSetup = (UploadModel_widgetSetup_component.exports);
81987
- ;// 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/UploadModel/widgetDesign.vue?vue&type=template&id=572e1e21&scoped=true
81988
- var widgetDesignvue_type_template_id_572e1e21_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",style:({ height: _vm.widget.options.height + 'px' })},[_c('a-form-model-item',{attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol}},[_c('div',{class:[
82303
+ ;// 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/UploadModel/widgetDesign.vue?vue&type=template&id=4a5fb177&scoped=true
82304
+ var widgetDesignvue_type_template_id_4a5fb177_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",style:({ height: _vm.widget.options.height + 'px' })},[_c('a-form-model-item',{attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol}},[_c('div',{class:[
81989
82305
  _vm.config.align,
81990
82306
  _vm.config.validate === true && _vm.widget.options.required === true
81991
82307
  ? 'is_required'
81992
82308
  : 'no_required' ],style:({
81993
82309
  color:_vm.config.color,
81994
- }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]),_c('div',[_vm._l((_vm.widget.options.defaultValue),function(item,index){return _c('a',{key:index,staticStyle:{"margin-right":"20px","pointer-events":"none"},attrs:{"href":item.url}},[_vm._v(_vm._s(item.name))])}),(_vm.widget.options.defaultValue.length === 0)?_c('span',[_vm._v("暂无模板")]):_vm._e()],2)])],1):_vm._e()}
81995
- var widgetDesignvue_type_template_id_572e1e21_scoped_true_staticRenderFns = []
82310
+ }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]),_c('div',[_vm._l((_vm.widget.options.defaultValue),function(item,index){return _c('a',{key:index,staticStyle:{"margin-right":"20px","pointer-events":"none"},attrs:{"href":item.url}},[_vm._v(_vm._s(item.name))])}),(_vm.widget.options.defaultValue.length === 0)?_c('span',[_vm._v(_vm._s(_vm.widget.options.QYSContractFlag ? '契约锁合同' : '暂无模板')+" ")]):_vm._e()],2)])],1):_vm._e()}
82311
+ var widgetDesignvue_type_template_id_4a5fb177_scoped_true_staticRenderFns = []
81996
82312
 
81997
82313
 
81998
82314
  ;// 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/UploadModel/widgetDesign.vue?vue&type=script&lang=js
@@ -82072,11 +82388,11 @@ var widgetDesignvue_type_template_id_572e1e21_scoped_true_staticRenderFns = []
82072
82388
  ;
82073
82389
  var UploadModel_widgetDesign_component = (0,componentNormalizer/* default */.A)(
82074
82390
  components_UploadModel_widgetDesignvue_type_script_lang_js,
82075
- widgetDesignvue_type_template_id_572e1e21_scoped_true_render,
82076
- widgetDesignvue_type_template_id_572e1e21_scoped_true_staticRenderFns,
82391
+ widgetDesignvue_type_template_id_4a5fb177_scoped_true_render,
82392
+ widgetDesignvue_type_template_id_4a5fb177_scoped_true_staticRenderFns,
82077
82393
  false,
82078
82394
  null,
82079
- "572e1e21",
82395
+ "4a5fb177",
82080
82396
  null
82081
82397
 
82082
82398
  )
@@ -135942,7 +136258,7 @@ var staticRenderFns = []
135942
136258
 
135943
136259
 
135944
136260
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
135945
- var components = __webpack_require__(2857);
136261
+ var components = __webpack_require__(7964);
135946
136262
  ;// 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
135947
136263
  //
135948
136264
  //
@@ -138005,7 +138321,7 @@ var component = (0,componentNormalizer/* default */.A)(
138005
138321
 
138006
138322
  /* harmony default export */ const CorrectionModal = (component.exports);
138007
138323
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
138008
- var components = __webpack_require__(2857);
138324
+ var components = __webpack_require__(7964);
138009
138325
  // EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
138010
138326
  var pubsub = __webpack_require__(1528);
138011
138327
  var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
@@ -139175,7 +139491,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
139175
139491
  // EXTERNAL MODULE: ./src/api/manage.js
139176
139492
  var manage = __webpack_require__(8501);
139177
139493
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
139178
- var components = __webpack_require__(2857);
139494
+ var components = __webpack_require__(7964);
139179
139495
  // EXTERNAL MODULE: ./src/form/util/Bus.js
139180
139496
  var Bus = __webpack_require__(1509);
139181
139497
  // EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
@@ -155048,7 +155364,7 @@ function toString(value) {
155048
155364
  /***/ ((module) => {
155049
155365
 
155050
155366
  "use strict";
155051
- module.exports = {"rE":"1.1.550"};
155367
+ module.exports = {"rE":"1.1.552"};
155052
155368
 
155053
155369
  /***/ })
155054
155370
 
@@ -169774,7 +170090,7 @@ var es_array_unshift = __webpack_require__(5041);
169774
170090
  // EXTERNAL MODULE: ./src/form/util/util.js
169775
170091
  var util_util = __webpack_require__(4063);
169776
170092
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
169777
- var components = __webpack_require__(2857);
170093
+ var components = __webpack_require__(7964);
169778
170094
  // EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
169779
170095
  var widgetFormItem = __webpack_require__(2895);
169780
170096
  // EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
@@ -171958,9 +172274,9 @@ var CusDialog_component = (0,componentNormalizer/* default */.A)(
171958
172274
  )
171959
172275
 
171960
172276
  /* harmony default export */ const CusDialog = (CusDialog_component.exports);
171961
- ;// 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/formConfig.vue?vue&type=template&id=2d49ecc8&scoped=true
171962
- var formConfigvue_type_template_id_2d49ecc8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"components-list"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"表单主题"}},[(!_vm.hiddenSave)?_c('a-input',{attrs:{"maxLength":30},model:{value:(_vm.m_formConfig.formName),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formName", $$v)},expression:"m_formConfig.formName"}}):_vm._e(),_c('div',{staticStyle:{"padding-left":"20px"}},[(!_vm.hiddenSave)?_c('a-form-model-item',{attrs:{"label":"标题左边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameLeftContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameLeftContent", $$v)},expression:"m_formConfig.formNameLeftContent"}})],1):_vm._e(),(!_vm.hiddenSave)?_c('a-form-model-item',{attrs:{"label":"标题右边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameRightContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameRightContent", $$v)},expression:"m_formConfig.formNameRightContent"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"标题外边距"}},[_c('a-input',{attrs:{"placeholder":"(10px 10px 10px 10px) 上 右 下 左"},model:{value:(_vm.m_formConfig.formNameStyle.margin),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "margin", $$v)},expression:"m_formConfig.formNameStyle.margin"}})],1)],1)],1),_c('a-form-model-item',{attrs:{"label":"页面布局"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.layout),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "layout", $$v)},expression:"m_formConfig.layout"}},[_c('a-radio-button',{attrs:{"value":"vertical"}},[_vm._v("纵向")]),_c('a-radio-button',{attrs:{"value":"horizontal"}},[_vm._v("横向")])],1)],1),(_vm.m_formConfig.layout === 'horizontal')?_c('a-form-model-item',{attrs:{"label":"页面宽度"}},[_c('a-input-number',{attrs:{"min":794,"max":10000},model:{value:(_vm.m_formConfig.formPageWidth),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formPageWidth", $$v)},expression:"m_formConfig.formPageWidth"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"全局字号"}},[_c('a-input-number',{attrs:{"min":12,"max":100},model:{value:(_vm.m_formConfig.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "fontSize", $$v)},expression:"m_formConfig.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"内边距"}},[_c('a-input-number',{attrs:{"max":100},model:{value:(_vm.m_formConfig.paddingNum),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "paddingNum", $$v)},expression:"m_formConfig.paddingNum"}})],1),_c('a-form-model-item',{attrs:{"label":"标签对齐方式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.align),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "align", $$v)},expression:"m_formConfig.align"}},[_c('a-radio-button',{attrs:{"value":"align-between"}},[_vm._v("两端")]),_c('a-radio-button',{attrs:{"value":"align-middle"}},[_vm._v("居中")]),_c('a-radio-button',{attrs:{"value":"align-left"}},[_vm._v("左对齐")]),_c('a-radio-button',{attrs:{"value":"align-right"}},[_vm._v("右对齐")])],1)],1),_c('form-linkage-manage',{model:{value:(_vm.m_formConfig.linkage_config),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "linkage_config", $$v)},expression:"m_formConfig.linkage_config"}}),_c('a-collapse',{staticClass:"form_var_collapse"},[_c('a-collapse-panel',{attrs:{"header":"表单样式"}},[_c('a-form-model-item',{attrs:{"label":"字体大小"}},[_c('a-input-number',{attrs:{"max":100,"min":12},model:{value:(_vm.m_formConfig.formNameStyle.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontSize", $$v)},expression:"m_formConfig.formNameStyle.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"字体加粗"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.formNameStyle.fontBold),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontBold", $$v)},expression:"m_formConfig.formNameStyle.fontBold"}})],1),_c('a-form-model-item',{attrs:{"label":"字体行高"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.lineHeight),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "lineHeight", $$v)},expression:"m_formConfig.formNameStyle.lineHeight"}})],1),_c('a-form-model-item',{attrs:{"label":"字体高度"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.height),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "height", $$v)},expression:"m_formConfig.formNameStyle.height"}})],1),_c('a-form-model-item',{attrs:{"label":"字体颜色"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"#333"},model:{value:(_vm.m_formConfig.formNameStyle.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "color", $$v)},expression:"m_formConfig.formNameStyle.color"}})],1),_c('a-form-model-item',{attrs:{"label":"是否带出历史数据"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.isDefaultHistoryData),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "isDefaultHistoryData", $$v)},expression:"m_formConfig.isDefaultHistoryData"}})],1),_c('a-form-model-item',{attrs:{"label":"组件禁用后显示占位信息"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.disableShowPlaceholder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "disableShowPlaceholder", $$v)},expression:"m_formConfig.disableShowPlaceholder"}})],1),_c('a-form-model-item',{attrs:{"label":"表单边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.border),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "border", $$v)},expression:"m_formConfig.border"}})],1),_c('a-form-model-item',{attrs:{"label":"组件无边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.componentsNoBorder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "componentsNoBorder", $$v)},expression:"m_formConfig.componentsNoBorder"}})],1),_c('a-form-model-item',{ref:"borderColor",attrs:{"label":"边框颜色","prop":"borderColor"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.borderColor),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "borderColor", $$v)},expression:"m_formConfig.borderColor"}})],1),_c('a-form-model-item',{attrs:{"label":"校验图标"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.validate),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "validate", $$v)},expression:"m_formConfig.validate"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头背景颜色","prop":"bgc"}},[_c('colorPicker',{staticStyle:{"z-index":"4"},attrs:{"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.bgc),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "bgc", $$v)},expression:"m_formConfig.bgc"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头字体颜色","prop":"labelwordcolor"}},[_c('colorPicker',{staticStyle:{"z-index":"3"},attrs:{"defaultColor":"#000000"},model:{value:(_vm.m_formConfig.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "color", $$v)},expression:"m_formConfig.color"}})],1),_c('a-form-model-item',{attrs:{"label":"表单模式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.mode),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "mode", $$v)},expression:"m_formConfig.mode"}},[_c('a-radio-button',{attrs:{"value":"web"}},[_vm._v("web模式")]),_c('a-radio-button',{attrs:{"value":"paper"}},[_vm._v("纸张模式")])],1)],1),_c('a-form-model-item',{attrs:{"label":"页眉"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('header')}}},[_vm._v("编辑")])],1),_c('a-form-model-item',{attrs:{"label":"页脚"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('footer')}}},[_vm._v("编辑")])],1)],1)],1)],1)],1)])}
171963
- var formConfigvue_type_template_id_2d49ecc8_scoped_true_staticRenderFns = []
172277
+ ;// 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/formConfig.vue?vue&type=template&id=e18245fa&scoped=true
172278
+ var formConfigvue_type_template_id_e18245fa_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"components-list"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"表单主题"}},[(!_vm.hiddenSave)?_c('a-input',{attrs:{"maxLength":30},model:{value:(_vm.m_formConfig.formName),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formName", $$v)},expression:"m_formConfig.formName"}}):_vm._e(),_c('div',{staticStyle:{"padding-left":"20px"}},[(!_vm.hiddenSave)?_c('a-form-model-item',{attrs:{"label":"标题左边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameLeftContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameLeftContent", $$v)},expression:"m_formConfig.formNameLeftContent"}})],1):_vm._e(),(!_vm.hiddenSave)?_c('a-form-model-item',{attrs:{"label":"标题右边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameRightContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameRightContent", $$v)},expression:"m_formConfig.formNameRightContent"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"标题外边距"}},[_c('a-input',{attrs:{"placeholder":"(10px 10px 10px 10px) 上 右 下 左"},model:{value:(_vm.m_formConfig.formNameStyle.margin),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "margin", $$v)},expression:"m_formConfig.formNameStyle.margin"}})],1)],1)],1),_c('a-form-model-item',{attrs:{"label":"页面布局"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.layout),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "layout", $$v)},expression:"m_formConfig.layout"}},[_c('a-radio-button',{attrs:{"value":"vertical"}},[_vm._v("纵向")]),_c('a-radio-button',{attrs:{"value":"horizontal"}},[_vm._v("横向")])],1)],1),(_vm.m_formConfig.layout === 'horizontal')?_c('a-form-model-item',{attrs:{"label":"页面宽度"}},[_c('a-input-number',{attrs:{"min":794,"max":10000},model:{value:(_vm.m_formConfig.formPageWidth),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formPageWidth", $$v)},expression:"m_formConfig.formPageWidth"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"全局字号"}},[_c('a-input-number',{attrs:{"min":12,"max":100},model:{value:(_vm.m_formConfig.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "fontSize", $$v)},expression:"m_formConfig.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"内边距"}},[_c('a-input-number',{attrs:{"max":100},model:{value:(_vm.m_formConfig.paddingNum),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "paddingNum", $$v)},expression:"m_formConfig.paddingNum"}})],1),_c('a-form-model-item',{attrs:{"label":"契约锁用印流程编号"}},[_c('a-input',{attrs:{"placeholder":"请输入契约锁用印流程编号"},model:{value:(_vm.m_formConfig.QYSFlowName),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "QYSFlowName", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"m_formConfig.QYSFlowName"}})],1),_c('a-form-model-item',{attrs:{"label":"标签对齐方式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.align),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "align", $$v)},expression:"m_formConfig.align"}},[_c('a-radio-button',{attrs:{"value":"align-between"}},[_vm._v("两端")]),_c('a-radio-button',{attrs:{"value":"align-middle"}},[_vm._v("居中")]),_c('a-radio-button',{attrs:{"value":"align-left"}},[_vm._v("左对齐")]),_c('a-radio-button',{attrs:{"value":"align-right"}},[_vm._v("右对齐")])],1)],1),_c('form-linkage-manage',{model:{value:(_vm.m_formConfig.linkage_config),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "linkage_config", $$v)},expression:"m_formConfig.linkage_config"}}),_c('a-collapse',{staticClass:"form_var_collapse"},[_c('a-collapse-panel',{attrs:{"header":"表单样式"}},[_c('a-form-model-item',{attrs:{"label":"字体大小"}},[_c('a-input-number',{attrs:{"max":100,"min":12},model:{value:(_vm.m_formConfig.formNameStyle.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontSize", $$v)},expression:"m_formConfig.formNameStyle.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"字体加粗"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.formNameStyle.fontBold),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontBold", $$v)},expression:"m_formConfig.formNameStyle.fontBold"}})],1),_c('a-form-model-item',{attrs:{"label":"字体行高"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.lineHeight),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "lineHeight", $$v)},expression:"m_formConfig.formNameStyle.lineHeight"}})],1),_c('a-form-model-item',{attrs:{"label":"字体高度"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.height),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "height", $$v)},expression:"m_formConfig.formNameStyle.height"}})],1),_c('a-form-model-item',{attrs:{"label":"字体颜色"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"#333"},model:{value:(_vm.m_formConfig.formNameStyle.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "color", $$v)},expression:"m_formConfig.formNameStyle.color"}})],1),_c('a-form-model-item',{attrs:{"label":"是否带出历史数据"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.isDefaultHistoryData),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "isDefaultHistoryData", $$v)},expression:"m_formConfig.isDefaultHistoryData"}})],1),_c('a-form-model-item',{attrs:{"label":"组件禁用后显示占位信息"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.disableShowPlaceholder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "disableShowPlaceholder", $$v)},expression:"m_formConfig.disableShowPlaceholder"}})],1),_c('a-form-model-item',{attrs:{"label":"表单边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.border),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "border", $$v)},expression:"m_formConfig.border"}})],1),_c('a-form-model-item',{attrs:{"label":"组件无边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.componentsNoBorder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "componentsNoBorder", $$v)},expression:"m_formConfig.componentsNoBorder"}})],1),_c('a-form-model-item',{ref:"borderColor",attrs:{"label":"边框颜色","prop":"borderColor"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.borderColor),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "borderColor", $$v)},expression:"m_formConfig.borderColor"}})],1),_c('a-form-model-item',{attrs:{"label":"校验图标"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.validate),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "validate", $$v)},expression:"m_formConfig.validate"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头背景颜色","prop":"bgc"}},[_c('colorPicker',{staticStyle:{"z-index":"4"},attrs:{"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.bgc),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "bgc", $$v)},expression:"m_formConfig.bgc"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头字体颜色","prop":"labelwordcolor"}},[_c('colorPicker',{staticStyle:{"z-index":"3"},attrs:{"defaultColor":"#000000"},model:{value:(_vm.m_formConfig.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "color", $$v)},expression:"m_formConfig.color"}})],1),_c('a-form-model-item',{attrs:{"label":"表单模式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.mode),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "mode", $$v)},expression:"m_formConfig.mode"}},[_c('a-radio-button',{attrs:{"value":"web"}},[_vm._v("web模式")]),_c('a-radio-button',{attrs:{"value":"paper"}},[_vm._v("纸张模式")])],1)],1),_c('a-form-model-item',{attrs:{"label":"页眉"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('header')}}},[_vm._v("编辑")])],1),_c('a-form-model-item',{attrs:{"label":"页脚"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('footer')}}},[_vm._v("编辑")])],1)],1)],1)],1)],1)])}
172279
+ var formConfigvue_type_template_id_e18245fa_scoped_true_staticRenderFns = []
171964
172280
 
171965
172281
 
171966
172282
  ;// 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/formLinkage/formLinkageManage.vue?vue&type=template&id=cf0e8226&scoped=true
@@ -173269,6 +173585,9 @@ var formLinkageManage_component = (0,componentNormalizer/* default */.A)(
173269
173585
  //
173270
173586
  //
173271
173587
  //
173588
+ //
173589
+ //
173590
+ //
173272
173591
 
173273
173592
 
173274
173593
 
@@ -173330,15 +173649,15 @@ var formLinkageManage_component = (0,componentNormalizer/* default */.A)(
173330
173649
  });
173331
173650
  ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=script&lang=js
173332
173651
  /* harmony default export */ const modules_formConfigvue_type_script_lang_js = (formConfigvue_type_script_lang_js);
173333
- ;// 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/formConfig.vue?vue&type=style&index=0&id=2d49ecc8&prod&lang=less&scoped=true
173652
+ ;// 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/formConfig.vue?vue&type=style&index=0&id=e18245fa&prod&lang=less&scoped=true
173334
173653
  // extracted by mini-css-extract-plugin
173335
173654
 
173336
- ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=style&index=0&id=2d49ecc8&prod&lang=less&scoped=true
173655
+ ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=style&index=0&id=e18245fa&prod&lang=less&scoped=true
173337
173656
 
173338
- ;// 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/formConfig.vue?vue&type=style&index=1&id=2d49ecc8&prod&lang=less
173657
+ ;// 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/formConfig.vue?vue&type=style&index=1&id=e18245fa&prod&lang=less
173339
173658
  // extracted by mini-css-extract-plugin
173340
173659
 
173341
- ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=style&index=1&id=2d49ecc8&prod&lang=less
173660
+ ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=style&index=1&id=e18245fa&prod&lang=less
173342
173661
 
173343
173662
  ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue
173344
173663
 
@@ -173352,11 +173671,11 @@ var formLinkageManage_component = (0,componentNormalizer/* default */.A)(
173352
173671
 
173353
173672
  var formConfig_component = (0,componentNormalizer/* default */.A)(
173354
173673
  modules_formConfigvue_type_script_lang_js,
173355
- formConfigvue_type_template_id_2d49ecc8_scoped_true_render,
173356
- formConfigvue_type_template_id_2d49ecc8_scoped_true_staticRenderFns,
173674
+ formConfigvue_type_template_id_e18245fa_scoped_true_render,
173675
+ formConfigvue_type_template_id_e18245fa_scoped_true_staticRenderFns,
173357
173676
  false,
173358
173677
  null,
173359
- "2d49ecc8",
173678
+ "e18245fa",
173360
173679
  null
173361
173680
 
173362
173681
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.550",
3
+ "version": "1.1.552",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",
package/readme.md CHANGED
@@ -25,4 +25,7 @@ zjaf-form-component-test (npm version 1.1.514-test.1)
25
25
  zjaf_formLink_20240814
26
26
 
27
27
  产品表单联动bug修复
28
- formLink_20240919
28
+ formLink_20240919
29
+
30
+ 滁州复选框 单选框 下拉框默认值
31
+ czxy_20240925