@zscreate/form-component 1.1.541-test.4 → 1.1.542

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.
@@ -1476,16 +1476,16 @@ dd[data-v-3fa458e1] {
1476
1476
  margin-right: 4px;
1477
1477
  }
1478
1478
 
1479
- .custom_form_item .label[data-v-6d802eae] {
1479
+ .custom_form_item .label[data-v-61214b11] {
1480
1480
  text-align: justify;
1481
1481
  -moz-text-align-last: justify;
1482
1482
  text-align-last: justify;
1483
1483
  width: 90%;
1484
1484
  }
1485
- .custom_form_item[data-v-6d802eae] .ant-input {
1485
+ .custom_form_item[data-v-61214b11] .ant-input {
1486
1486
  background-color: rgba(0, 0, 0, 0);
1487
1487
  }
1488
- .select_component[data-v-6d802eae] .ant-select-dropdown {
1488
+ .select_component[data-v-61214b11] .ant-select-dropdown {
1489
1489
  width: var(--dropdown_width) !important;
1490
1490
  }
1491
1491
 
@@ -1503,7 +1503,7 @@ dd[data-v-3fa458e1] {
1503
1503
  }
1504
1504
 
1505
1505
 
1506
- [data-v-67724398] .ant-select-selection__rendered::after {
1506
+ [data-v-59fa09a3] .ant-select-selection__rendered::after {
1507
1507
  content: "";
1508
1508
  display: none;
1509
1509
  height: 0;
@@ -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__(8416);
66851
+ /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4260);
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
- /***/ 8416:
69997
+ /***/ 4260:
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=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:[
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:[
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_6d802eae_scoped_true_staticRenderFns = []
72260
+ var componentvue_type_template_id_61214b11_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, 40 * (this.page + 1));
72429
+ }).slice(0, 10 * (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=6d802eae&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=61214b11&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=6d802eae&prod&lang=less&scoped=true
72666
+ ;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=61214b11&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_6d802eae_scoped_true_render,
72680
- componentvue_type_template_id_6d802eae_scoped_true_staticRenderFns,
72679
+ componentvue_type_template_id_61214b11_scoped_true_render,
72680
+ componentvue_type_template_id_61214b11_scoped_true_staticRenderFns,
72681
72681
  false,
72682
72682
  null,
72683
- "6d802eae",
72683
+ "61214b11",
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=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 = []
72689
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/widgetSetup.vue?vue&type=template&id=59fa09a3&scoped=true
72690
+ var widgetSetupvue_type_template_id_59fa09a3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{ref:"contentWidth",attrs:{"label":"下拉内容宽度:","prop":"contentWidth"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.widget.options.contentWidthType),callback:function ($$v) {_vm.$set(_vm.widget.options, "contentWidthType", $$v)},expression:"widget.options.contentWidthType"}},[_c('a-radio-button',{attrs:{"value":undefined}},[_vm._v("默认")]),_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("固定")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("最大值")]),(_vm.widget.options.contentWidthType)?_c('div',{staticStyle:{"margin":"10px 0"}},[_c('a-input-number',{staticStyle:{"width":"90%"},attrs:{"placeholder":"请输入宽度","min":0,"max":1200,"step":1},model:{value:(_vm.widget.options.contentWidth),callback:function ($$v) {_vm.$set(_vm.widget.options, "contentWidth", $$v)},expression:"widget.options.contentWidth"}}),_vm._v(" px ")],1):_vm._e()],1)],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"数据源选项:","prop":"title"}},[(!_vm.dataSourceDisable)?[_c('a-radio-group',{attrs:{"button-style":"solid"},on:{"change":_vm.radioChange},model:{value:(_vm.widget.options.remoteNumber),callback:function ($$v) {_vm.$set(_vm.widget.options, "remoteNumber", $$v)},expression:"widget.options.remoteNumber"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("远端数据")]),_c('a-radio-button',{attrs:{"value":"2.1"}},[_vm._v("分类字典")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("数据中心")])],1),(_vm.widget.options.remoteNumber == '1')?_c('select-sys-dict',{attrs:{"widget":_vm.widget,"placeholder":"请选择数据字典编号"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2')?_c('a-input',{attrs:{"placeholder":"请输入接口地址"},model:{value:(_vm.widget.options.dictUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictUrl", $$v)},expression:"widget.options.dictUrl"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2.1')?_c('select-classify-dict',{attrs:{"widget":_vm.widget,"placeholder":"请输入分类字典"}}):_vm._e(),(_vm.widget.options.remoteNumber == '3')?_c('a-input',{attrs:{"placeholder":"请选择数据中心字典编号","read-only":""},on:{"click":_vm.oprnformonrtable},model:{value:(_vm.widget.options.dictTable),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictTable", $$v)},expression:"widget.options.dictTable"}}):_vm._e(),(_vm.isFormDesignShowAddDict && _vm.widget.options.remoteNumber == '3')?_c('div',{staticStyle:{"text-align":"end","color":"#2f91fe","cursor":"pointer","line-height":"1","margin-top":"5px","margin-right":"5px"}},[_c('span',{on:{"click":function($event){return _vm.openAddDictListModal(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '新增数据字典')}}},[_vm._v(_vm._s(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '+ 新增数据字典'))])]):_vm._e()]:[_c('span',{staticStyle:{"margin-left":"10px"}},[_vm._v(" 该组件被下拉联动,数据源选项不可编辑 ")])]],2),_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-input',{attrs:{"placeholder":"请点击选择默认值"},on:{"click":_vm.openformDataBindModal},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}})],1),_c('a-form-model-item',{ref:"select",attrs:{"label":"下拉框联动:","prop":"select"}},[_c('a-select',{attrs:{"mode":"tags","placeholder":"请选择"},on:{"focus":_vm.Onfocus},model:{value:(_vm.widget.options.linkage),callback:function ($$v) {_vm.$set(_vm.widget.options, "linkage", $$v)},expression:"widget.options.linkage"}},_vm._l((_vm.linkList),function(item,idx){return _c('a-select-option',{key:idx,attrs:{"value":item.model}},[_vm._v(_vm._s(item.name)+" ")])}),1)],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1)],1)]),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('form-one-table',{ref:"formOnetable",on:{"ok":_vm.handledict}}),_c('addDictListModal',{ref:"addDictListModal",on:{"ok":_vm.changeDict}})],1)}
72691
+ var widgetSetupvue_type_template_id_59fa09a3_scoped_true_staticRenderFns = []
72692
72692
 
72693
72693
 
72694
72694
  // EXTERNAL MODULE: ./node_modules/_core-js@3.37.1@core-js/modules/es.array.unscopables.flat.js
@@ -73363,45 +73363,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73363
73363
  //
73364
73364
  //
73365
73365
  //
73366
- //
73367
- //
73368
- //
73369
- //
73370
- //
73371
- //
73372
- //
73373
- //
73374
- //
73375
- //
73376
- //
73377
- //
73378
- //
73379
- //
73380
- //
73381
- //
73382
- //
73383
- //
73384
- //
73385
- //
73386
- //
73387
- //
73388
- //
73389
- //
73390
- //
73391
- //
73392
- //
73393
- //
73394
- //
73395
- //
73396
- //
73397
- //
73398
- //
73399
- //
73400
- //
73401
- //
73402
-
73403
-
73404
-
73405
73366
 
73406
73367
 
73407
73368
 
@@ -73419,10 +73380,7 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73419
73380
  formOneTable: formOneTable,
73420
73381
  formDataBindModal: formDataBindModal,
73421
73382
  relateSubModal: relateSubModal,
73422
- addDictListModal: addDictListModal,
73423
- JDictSelectTag: JDictSelectTag,
73424
- defaultValueWithSql: defaultValueWithSql,
73425
- datasetManagement: datasetManagement
73383
+ addDictListModal: addDictListModal
73426
73384
  },
73427
73385
  mixins: [widgetSetupMixins],
73428
73386
  data() {
@@ -73430,8 +73388,7 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73430
73388
  linkList: [],
73431
73389
  //下拉联动选择
73432
73390
  rules: {},
73433
- dataSourceDisable: false,
73434
- source: "1"
73391
+ dataSourceDisable: false
73435
73392
  };
73436
73393
  },
73437
73394
  props: {
@@ -73451,9 +73408,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73451
73408
  computed: {
73452
73409
  isFormDesignShowAddDict() {
73453
73410
  return window._CONFIG.isFormDesignShowAddDict;
73454
- },
73455
- isFormDesignSQL() {
73456
- return window._CONFIG.isFormDesignSQL;
73457
73411
  }
73458
73412
  },
73459
73413
  mounted() {
@@ -73462,17 +73416,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73462
73416
  }
73463
73417
  },
73464
73418
  watch: {
73465
- 'widget.options.source': {
73466
- handler(val) {
73467
- console.log(val);
73468
- if (val) {
73469
- this.source = this.widget.options.source;
73470
- } else {
73471
- this.source = '1';
73472
- }
73473
- },
73474
- immediate: true
73475
- },
73476
73419
  'widget.options.linkage': {
73477
73420
  handler(val) {
73478
73421
  val.map(model => {
@@ -73526,32 +73469,6 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73526
73469
  }
73527
73470
  },
73528
73471
  methods: {
73529
- changeFn(val) {
73530
- this.widget.options.source = this.source;
73531
- },
73532
- input(val) {
73533
- this.widget.options.defaultValue = val;
73534
- this.widget.options.source = this.source;
73535
- },
73536
- openformDataBindModal() {
73537
- this.$refs.formDataBindModal.init("input", this.widget);
73538
- this.widget.options.source = this.source;
73539
- },
73540
- openDefaultValueWithSql() {
73541
- this.$refs.defaultValueWithSql.init(this.widget.options);
73542
- },
73543
- openDefaultValueWithTable() {
73544
- this.$refs.datasetManagement.init(this.widget.options, true);
73545
- this.widget.options.source = this.source;
73546
- },
73547
- setDefalutValue(values) {
73548
- this.widget.options.defaultValue = 'defaultQuerySQL';
73549
- this.widget.options.defaultSQL = values;
73550
- },
73551
- setDateOk(val) {
73552
- this.widget.options.defaultValue = "defaultQuerySQL";
73553
- this.widget.options.defaultSQL = val;
73554
- },
73555
73472
  changeDict(e) {
73556
73473
  this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
73557
73474
  this.widget.options.dictList = e;
@@ -73607,9 +73524,9 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73607
73524
  this.widget.options.dictUrl = this.widget.options.dictName = this.widget.options.code = "";
73608
73525
  }
73609
73526
  },
73610
- // openformDataBindModal() {
73611
- // this.$refs.formDataBindModal.init("input", this.widget);
73612
- // },
73527
+ openformDataBindModal() {
73528
+ this.$refs.formDataBindModal.init("input", this.widget);
73529
+ },
73613
73530
  okSubStr(val) {
73614
73531
  this.$set(this.widget.options, 'defaultValue', val);
73615
73532
  // this.widget.options.defaultValue = val;
@@ -73618,10 +73535,10 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73618
73535
  });
73619
73536
  ;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=script&lang=js
73620
73537
  /* harmony default export */ const components_Select_widgetSetupvue_type_script_lang_js = (Select_widgetSetupvue_type_script_lang_js);
73621
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=67724398&prod&lang=less&scoped=true
73538
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.9.0@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=59fa09a3&prod&lang=less&scoped=true
73622
73539
  // extracted by mini-css-extract-plugin
73623
73540
 
73624
- ;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=67724398&prod&lang=less&scoped=true
73541
+ ;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue?vue&type=style&index=0&id=59fa09a3&prod&lang=less&scoped=true
73625
73542
 
73626
73543
  ;// CONCATENATED MODULE: ./src/form/modules/components/Select/widgetSetup.vue
73627
73544
 
@@ -73634,11 +73551,11 @@ var addDictListModal_component = (0,componentNormalizer/* default */.A)(
73634
73551
 
73635
73552
  var Select_widgetSetup_component = (0,componentNormalizer/* default */.A)(
73636
73553
  components_Select_widgetSetupvue_type_script_lang_js,
73637
- widgetSetupvue_type_template_id_67724398_scoped_true_render,
73638
- widgetSetupvue_type_template_id_67724398_scoped_true_staticRenderFns,
73554
+ widgetSetupvue_type_template_id_59fa09a3_scoped_true_render,
73555
+ widgetSetupvue_type_template_id_59fa09a3_scoped_true_staticRenderFns,
73639
73556
  false,
73640
73557
  null,
73641
- "67724398",
73558
+ "59fa09a3",
73642
73559
  null
73643
73560
 
73644
73561
  )
@@ -76697,9 +76614,9 @@ var Radio_component_component = (0,componentNormalizer/* default */.A)(
76697
76614
  )
76698
76615
 
76699
76616
  /* harmony default export */ const Radio_component = (Radio_component_component.exports);
76700
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Radio/widgetSetup.vue?vue&type=template&id=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 = []
76617
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Radio/widgetSetup.vue?vue&type=template&id=26f3150c&scoped=true
76618
+ var widgetSetupvue_type_template_id_26f3150c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"布局选项:"}},[_c('a-radio-group',{model:{value:(_vm.widget.options.inline),callback:function ($$v) {_vm.$set(_vm.widget.options, "inline", $$v)},expression:"widget.options.inline"}},[_c('a-radio-button',{attrs:{"value":false}},[_vm._v("块级")]),_c('a-radio-button',{attrs:{"value":true}},[_vm._v("行内")])],1)],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"数据源选项:","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},on:{"change":_vm.radioChange},model:{value:(_vm.widget.options.remoteNumber),callback:function ($$v) {_vm.$set(_vm.widget.options, "remoteNumber", $$v)},expression:"widget.options.remoteNumber"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v("远端数据")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v("接口地址")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v("数据中心")])],1),(_vm.widget.options.remoteNumber == '1')?_c('select-sys-dict',{attrs:{"widget":_vm.widget,"placeholder":"请选择数据字典编号"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2')?_c('a-input',{attrs:{"placeholder":"请输入接口地址"},model:{value:(_vm.widget.options.dictUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictUrl", $$v)},expression:"widget.options.dictUrl"}}):_vm._e(),(_vm.widget.options.remoteNumber == '3')?_c('a-input',{attrs:{"placeholder":"请选择数据中心字典编号","read-only":""},on:{"click":_vm.oprnformonrtable},model:{value:(_vm.widget.options.dictTable),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictTable", $$v)},expression:"widget.options.dictTable"}}):_vm._e(),(_vm.isFormDesignShowAddDict && _vm.widget.options.remoteNumber == '3')?_c('div',{staticStyle:{"text-align":"end","color":"#2f91fe","cursor":"pointer","line-height":"1","margin-top":"5px","margin-right":"5px"}},[_c('span',{on:{"click":function($event){return _vm.openAddDictListModal(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '新增数据字典')}}},[_vm._v(_vm._s(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '+ 新增数据字典'))])]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1)],1)]),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('form-one-table',{ref:"formOnetable",on:{"ok":_vm.handledict}}),_c('addDictListModal',{ref:"addDictListModal",on:{"ok":_vm.changeDict}})],1)}
76619
+ var widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns = []
76703
76620
 
76704
76621
 
76705
76622
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Radio/widgetSetup.vue?vue&type=script&lang=js
@@ -76764,50 +76681,6 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
76764
76681
  //
76765
76682
  //
76766
76683
  //
76767
- //
76768
- //
76769
- //
76770
- //
76771
- //
76772
- //
76773
- //
76774
- //
76775
- //
76776
- //
76777
- //
76778
- //
76779
- //
76780
- //
76781
- //
76782
- //
76783
- //
76784
- //
76785
- //
76786
- //
76787
- //
76788
- //
76789
- //
76790
- //
76791
- //
76792
- //
76793
- //
76794
- //
76795
- //
76796
- //
76797
- //
76798
- //
76799
- //
76800
- //
76801
- //
76802
- //
76803
- //
76804
- //
76805
- //
76806
- //
76807
-
76808
-
76809
-
76810
-
76811
76684
 
76812
76685
 
76813
76686
 
@@ -76820,31 +76693,13 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
76820
76693
  SelectSysDict: selectSysDict,
76821
76694
  formOneTable: formOneTable,
76822
76695
  relateSubModal: relateSubModal,
76823
- addDictListModal: addDictListModal,
76824
- JDictSelectTag: JDictSelectTag,
76825
- formDataBindModal: formDataBindModal,
76826
- defaultValueWithSql: defaultValueWithSql,
76827
- datasetManagement: datasetManagement
76696
+ addDictListModal: addDictListModal
76828
76697
  },
76829
76698
  data() {
76830
76699
  return {
76831
- rules: {},
76832
- source: "1"
76700
+ rules: {}
76833
76701
  };
76834
76702
  },
76835
- watch: {
76836
- 'widget.options.source': {
76837
- handler(val) {
76838
- console.log(val);
76839
- if (val) {
76840
- this.source = this.widget.options.source;
76841
- } else {
76842
- this.source = '1';
76843
- }
76844
- },
76845
- immediate: true
76846
- }
76847
- },
76848
76703
  props: {
76849
76704
  widget: {
76850
76705
  type: Object,
@@ -76862,40 +76717,11 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
76862
76717
  computed: {
76863
76718
  isFormDesignShowAddDict() {
76864
76719
  return window._CONFIG.isFormDesignShowAddDict;
76865
- },
76866
- isFormDesignSQL() {
76867
- return window._CONFIG.isFormDesignSQL;
76868
76720
  }
76869
76721
  },
76870
76722
  created() {},
76871
76723
  mounted() {},
76872
76724
  methods: {
76873
- changeFn(val) {
76874
- this.widget.options.source = this.source;
76875
- },
76876
- input(val) {
76877
- this.widget.options.defaultValue = val;
76878
- this.widget.options.source = this.source;
76879
- },
76880
- openformDataBindModal() {
76881
- this.$refs.formDataBindModal.init("input", this.widget);
76882
- this.widget.options.source = this.source;
76883
- },
76884
- openDefaultValueWithSql() {
76885
- this.$refs.defaultValueWithSql.init(this.widget.options);
76886
- },
76887
- openDefaultValueWithTable() {
76888
- this.$refs.datasetManagement.init(this.widget.options, true);
76889
- this.widget.options.source = this.source;
76890
- },
76891
- setDefalutValue(values) {
76892
- this.widget.options.defaultValue = 'defaultQuerySQL';
76893
- this.widget.options.defaultSQL = values;
76894
- },
76895
- setDateOk(val) {
76896
- this.widget.options.defaultValue = "defaultQuerySQL";
76897
- this.widget.options.defaultSQL = val;
76898
- },
76899
76725
  changeDict(e) {
76900
76726
  this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
76901
76727
  this.widget.options.dictList = e;
@@ -76949,11 +76775,11 @@ var widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns = []
76949
76775
  ;
76950
76776
  var Radio_widgetSetup_component = (0,componentNormalizer/* default */.A)(
76951
76777
  components_Radio_widgetSetupvue_type_script_lang_js,
76952
- widgetSetupvue_type_template_id_1963950c_scoped_true_render,
76953
- widgetSetupvue_type_template_id_1963950c_scoped_true_staticRenderFns,
76778
+ widgetSetupvue_type_template_id_26f3150c_scoped_true_render,
76779
+ widgetSetupvue_type_template_id_26f3150c_scoped_true_staticRenderFns,
76954
76780
  false,
76955
76781
  null,
76956
- "1963950c",
76782
+ "26f3150c",
76957
76783
  null
76958
76784
 
76959
76785
  )
@@ -77406,9 +77232,9 @@ var Checkbox_component_component = (0,componentNormalizer/* default */.A)(
77406
77232
  )
77407
77233
 
77408
77234
  /* harmony default export */ const Checkbox_component = (Checkbox_component_component.exports);
77409
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Checkbox/widgetSetup.vue?vue&type=template&id=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 = []
77235
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Checkbox/widgetSetup.vue?vue&type=template&id=234068e9&scoped=true
77236
+ var widgetSetupvue_type_template_id_234068e9_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"布局选项:"}},[_c('a-radio-group',{model:{value:(_vm.widget.options.inline),callback:function ($$v) {_vm.$set(_vm.widget.options, "inline", $$v)},expression:"widget.options.inline"}},[_c('a-radio-button',{attrs:{"value":false}},[_vm._v("块级")]),_c('a-radio-button',{attrs:{"value":true}},[_vm._v("行内")])],1)],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"数据源选项:","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},on:{"change":_vm.radioChange},model:{value:(_vm.widget.options.remoteNumber),callback:function ($$v) {_vm.$set(_vm.widget.options, "remoteNumber", $$v)},expression:"widget.options.remoteNumber"}},[_c('a-radio-button',{attrs:{"value":"1"}},[_vm._v(" 远端数据 ")]),_c('a-radio-button',{attrs:{"value":"2"}},[_vm._v(" 接口地址 ")]),_c('a-radio-button',{attrs:{"value":"3"}},[_vm._v(" 数据中心 ")])],1),(_vm.widget.options.remoteNumber == '1')?_c('select-sys-dict',{attrs:{"widget":_vm.widget,"placeholder":"请选择数据字典编号"}}):_vm._e(),(_vm.widget.options.remoteNumber == '2')?_c('a-input',{attrs:{"placeholder":"请输入接口地址"},model:{value:(_vm.widget.options.dictUrl),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictUrl", $$v)},expression:"widget.options.dictUrl"}}):_vm._e(),(_vm.widget.options.remoteNumber == '3')?_c('a-input',{attrs:{"placeholder":"请选择数据中心字典编号","read-only":""},on:{"click":_vm.oprnformonrtable},model:{value:(_vm.widget.options.dictTable),callback:function ($$v) {_vm.$set(_vm.widget.options, "dictTable", $$v)},expression:"widget.options.dictTable"}}):_vm._e(),(_vm.isFormDesignShowAddDict && _vm.widget.options.remoteNumber == '3')?_c('div',{staticStyle:{"text-align":"end","color":"#2f91fe","cursor":"pointer","line-height":"1","margin-top":"5px","margin-right":"5px"}},[_c('span',{on:{"click":function($event){return _vm.openAddDictListModal(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '新增数据字典')}}},[_vm._v(_vm._s(_vm.widget.options.dictList && _vm.widget.options.dictList.length > 0 ?'修改数据字典' : '+ 新增数据字典'))])]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1)],1)],1)]),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('form-one-table',{ref:"formOnetable",on:{"ok":_vm.handledict}}),_c('addDictListModal',{ref:"addDictListModal",on:{"ok":_vm.changeDict}})],1)}
77237
+ var widgetSetupvue_type_template_id_234068e9_scoped_true_staticRenderFns = []
77412
77238
 
77413
77239
 
77414
77240
  ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/JMultiSelectTag.vue?vue&type=template&id=5bc3c6a4
@@ -77677,50 +77503,6 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
77677
77503
  //
77678
77504
  //
77679
77505
  //
77680
- //
77681
- //
77682
- //
77683
- //
77684
- //
77685
- //
77686
- //
77687
- //
77688
- //
77689
- //
77690
- //
77691
- //
77692
- //
77693
- //
77694
- //
77695
- //
77696
- //
77697
- //
77698
- //
77699
- //
77700
- //
77701
- //
77702
- //
77703
- //
77704
- //
77705
- //
77706
- //
77707
- //
77708
- //
77709
- //
77710
- //
77711
- //
77712
- //
77713
- //
77714
- //
77715
- //
77716
- //
77717
- //
77718
- //
77719
- //
77720
-
77721
-
77722
-
77723
-
77724
77506
 
77725
77507
 
77726
77508
 
@@ -77735,31 +77517,13 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
77735
77517
  formOneTable: formOneTable,
77736
77518
  JMultiSelectTag: JMultiSelectTag,
77737
77519
  relateSubModal: relateSubModal,
77738
- addDictListModal: addDictListModal,
77739
- JDictSelectTag: JDictSelectTag,
77740
- formDataBindModal: formDataBindModal,
77741
- defaultValueWithSql: defaultValueWithSql,
77742
- datasetManagement: datasetManagement
77520
+ addDictListModal: addDictListModal
77743
77521
  },
77744
77522
  data() {
77745
77523
  return {
77746
- rules: {},
77747
- source: "1"
77524
+ rules: {}
77748
77525
  };
77749
77526
  },
77750
- watch: {
77751
- 'widget.options.source': {
77752
- handler(val) {
77753
- console.log(val);
77754
- if (val) {
77755
- this.source = this.widget.options.source;
77756
- } else {
77757
- this.source = '1';
77758
- }
77759
- },
77760
- immediate: true
77761
- }
77762
- },
77763
77527
  props: {
77764
77528
  widget: {
77765
77529
  type: Object,
@@ -77777,40 +77541,11 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
77777
77541
  computed: {
77778
77542
  isFormDesignShowAddDict() {
77779
77543
  return window._CONFIG.isFormDesignShowAddDict;
77780
- },
77781
- isFormDesignSQL() {
77782
- return window._CONFIG.isFormDesignSQL;
77783
77544
  }
77784
77545
  },
77785
77546
  created() {},
77786
77547
  mounted() {},
77787
77548
  methods: {
77788
- changeFn(val) {
77789
- this.widget.options.source = this.source;
77790
- },
77791
- input(val) {
77792
- this.widget.options.defaultValue = val;
77793
- this.widget.options.source = this.source;
77794
- },
77795
- openformDataBindModal() {
77796
- this.$refs.formDataBindModal.init("input", this.widget);
77797
- this.widget.options.source = this.source;
77798
- },
77799
- openDefaultValueWithSql() {
77800
- this.$refs.defaultValueWithSql.init(this.widget.options);
77801
- },
77802
- openDefaultValueWithTable() {
77803
- this.$refs.datasetManagement.init(this.widget.options, true);
77804
- this.widget.options.source = this.source;
77805
- },
77806
- setDefalutValue(values) {
77807
- this.widget.options.defaultValue = 'defaultQuerySQL';
77808
- this.widget.options.defaultSQL = values;
77809
- },
77810
- setDateOk(val) {
77811
- this.widget.options.defaultValue = "defaultQuerySQL";
77812
- this.widget.options.defaultSQL = val;
77813
- },
77814
77549
  changeDict(e) {
77815
77550
  this.widget.options.dictTable = ''; // 清空保障修改后可以调用接口回显
77816
77551
  this.widget.options.dictList = e;
@@ -77867,11 +77602,11 @@ var JMultiSelectTag_component = (0,componentNormalizer/* default */.A)(
77867
77602
  ;
77868
77603
  var Checkbox_widgetSetup_component = (0,componentNormalizer/* default */.A)(
77869
77604
  components_Checkbox_widgetSetupvue_type_script_lang_js,
77870
- widgetSetupvue_type_template_id_5fa82bd9_scoped_true_render,
77871
- widgetSetupvue_type_template_id_5fa82bd9_scoped_true_staticRenderFns,
77605
+ widgetSetupvue_type_template_id_234068e9_scoped_true_render,
77606
+ widgetSetupvue_type_template_id_234068e9_scoped_true_staticRenderFns,
77872
77607
  false,
77873
77608
  null,
77874
- "5fa82bd9",
77609
+ "234068e9",
77875
77610
  null
77876
77611
 
77877
77612
  )
@@ -102956,18 +102691,18 @@ var FileUpload_widgetDesign_component = (0,componentNormalizer/* default */.A)(
102956
102691
  widgetSetup: FileUpload_widgetSetup,
102957
102692
  widgetDesign: FileUpload_widgetDesign
102958
102693
  });
102959
- ;// 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/DepartSelector/component.vue?vue&type=template&id=dbdb6ed6&scoped=true
102960
- var componentvue_type_template_id_dbdb6ed6_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('a-input',{attrs:{"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"placeholder":_vm.widget.options.placeholder,"readonly":""},nativeOn:{"click":function($event){return _vm.openModal.apply(null, arguments)}},model:{value:(_vm.departNames),callback:function ($$v) {_vm.departNames=$$v},expression:"departNames"}},[_c('a-icon',{attrs:{"slot":"prefix","type":"cluster","title":"部门选择控件"},slot:"prefix"}),(!_vm.isEmpty(_vm.dataModel))?[(!_vm.widget.options.disabled || _vm.isdisabled)?_c('a-icon',{staticStyle:{"cursor":"pointer"},attrs:{"slot":"suffix","type":"close-circle","title":"清空"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handleEmpty.apply(null, arguments)}},slot:"suffix"}):_vm._e()]:_vm._e()],2),_c('div',{class:[
102694
+ ;// 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/DepartSelector/component.vue?vue&type=template&id=74fab5d2&scoped=true
102695
+ var componentvue_type_template_id_74fab5d2_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('a-input',{attrs:{"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"placeholder":_vm.widget.options.placeholder,"readonly":""},nativeOn:{"click":function($event){return _vm.openModal.apply(null, arguments)}},model:{value:(_vm.departNames),callback:function ($$v) {_vm.departNames=$$v},expression:"departNames"}},[_c('a-icon',{attrs:{"slot":"prefix","type":"cluster","title":"部门选择控件"},slot:"prefix"}),(!_vm.isEmpty(_vm.dataModel))?[(!_vm.widget.options.disabled || _vm.isdisabled)?_c('a-icon',{staticStyle:{"cursor":"pointer"},attrs:{"slot":"suffix","type":"close-circle","title":"清空"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handleEmpty.apply(null, arguments)}},slot:"suffix"}):_vm._e()]:_vm._e()],2),_c('div',{class:[
102961
102696
  _vm.config.align,
102962
102697
  _vm.config.validate === true && _vm.widget.options.required === true
102963
102698
  ? 'is_required'
102964
- : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")])],1),(!_vm.widget.options.disabled || _vm.isdisabled)?_c('select-depart-modal',{ref:"innerDepartSelectModal",attrs:{"modal-width":"800px","multi":_vm.widget.options.multiple,"rootOpened":true,"depart-id":_vm.departIds,"departRelation":_vm.widget.options.departRelation,"departType":_vm.widget.options.departType},on:{"ok":_vm.handleOK,"initComp":_vm.initComp}}):_vm._e()],1):_vm._e()}
102965
- var componentvue_type_template_id_dbdb6ed6_scoped_true_staticRenderFns = []
102699
+ : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")])],1),(!_vm.widget.options.disabled || _vm.isdisabled)?_c('select-depart-modal',{ref:"innerDepartSelectModal",attrs:{"modal-width":"800px","multi":_vm.widget.options.multiple,"rootOpened":true,"depart-id":_vm.departIds,"departRelation":_vm.widget.options.departRelation,"departType":_vm.widget.options.departType,"departTypeAFDesign":_vm.widget.options.departTypeAFDesign},on:{"ok":_vm.handleOK,"initComp":_vm.initComp}}):_vm._e()],1):_vm._e()}
102700
+ var componentvue_type_template_id_74fab5d2_scoped_true_staticRenderFns = []
102966
102701
 
102967
102702
 
102968
- ;// 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/Modals/selectDepartModal.vue?vue&type=template&id=85d61f9a&scoped=true
102969
- var selectDepartModalvue_type_template_id_85d61f9a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":"选择部门","width":_vm.modalWidth,"visible":_vm.visible,"confirmLoading":_vm.confirmLoading,"cancelText":"关闭","zIndex":2000000},on:{"ok":_vm.handleSubmit,"cancel":_vm.handleCancel}},[_c('a-spin',{attrs:{"tip":"Loading...","spinning":false}},[_c('a-input-search',{staticStyle:{"margin-bottom":"1px"},attrs:{"placeholder":"请输入部门名称按回车进行搜索"},on:{"search":_vm.onSearch},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:"searchValue"}}),_c('a-tree',{staticStyle:{"max-height":"300px","overflow-y":"auto"},attrs:{"checkable":"","treeData":_vm.treeData,"checkStrictly":true,"autoExpandParent":_vm.autoExpandParent,"expandedKeys":_vm.expandedKeys,"checkedKeys":_vm.checkedKeys},on:{"check":_vm.onCheck,"select":_vm.onSelect,"expand":_vm.onExpand}})],1)],1)}
102970
- var selectDepartModalvue_type_template_id_85d61f9a_scoped_true_staticRenderFns = []
102703
+ ;// 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/Modals/selectDepartModal.vue?vue&type=template&id=2e35a92e&scoped=true
102704
+ var selectDepartModalvue_type_template_id_2e35a92e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":"选择部门","width":_vm.modalWidth,"visible":_vm.visible,"confirmLoading":_vm.confirmLoading,"cancelText":"关闭","zIndex":2000000},on:{"ok":_vm.handleSubmit,"cancel":_vm.handleCancel}},[_c('a-spin',{attrs:{"tip":"Loading...","spinning":false}},[_c('a-input-search',{staticStyle:{"margin-bottom":"1px"},attrs:{"placeholder":"请输入部门名称按回车进行搜索"},on:{"search":_vm.onSearch},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:"searchValue"}}),_c('a-tree',{staticStyle:{"max-height":"300px","overflow-y":"auto"},attrs:{"checkable":"","treeData":_vm.treeData,"checkStrictly":true,"autoExpandParent":_vm.autoExpandParent,"expandedKeys":_vm.expandedKeys,"checkedKeys":_vm.checkedKeys},on:{"check":_vm.onCheck,"select":_vm.onSelect,"expand":_vm.onExpand}})],1)],1)}
102705
+ var selectDepartModalvue_type_template_id_2e35a92e_scoped_true_staticRenderFns = []
102971
102706
 
102972
102707
 
102973
102708
  ;// 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/selectDepartModal.vue?vue&type=script&lang=js
@@ -103011,7 +102746,7 @@ var selectDepartModalvue_type_template_id_85d61f9a_scoped_true_staticRenderFns =
103011
102746
 
103012
102747
  /* harmony default export */ const selectDepartModalvue_type_script_lang_js = ({
103013
102748
  name: "selectDepartModal",
103014
- props: ["modalWidth", "multi", "rootOpened", "departId", "departRelation", "departType"],
102749
+ props: ["modalWidth", "multi", "rootOpened", "departId", "departRelation", "departType", "departTypeAFDesign"],
103015
102750
  data() {
103016
102751
  return {
103017
102752
  visible: false,
@@ -103028,6 +102763,11 @@ var selectDepartModalvue_type_template_id_85d61f9a_scoped_true_staticRenderFns =
103028
102763
  created() {
103029
102764
  this.loadDepart();
103030
102765
  },
102766
+ computed: {
102767
+ AFDepartFormDesign() {
102768
+ return window._CONFIG.AFDepartFormDesign;
102769
+ }
102770
+ },
103031
102771
  watch: {
103032
102772
  departId() {
103033
102773
  this.initDepartComponent();
@@ -103065,10 +102805,12 @@ var selectDepartModalvue_type_template_id_85d61f9a_scoped_true_staticRenderFns =
103065
102805
  return res;
103066
102806
  },
103067
102807
  loadDepart() {
103068
- (0,manage/* getAction */.Th)("/formApi/queryTreeList", {
102808
+ let parmas = {
103069
102809
  departRelation: this.departRelation,
103070
102810
  departType: this.departType
103071
- }).then(res => {
102811
+ };
102812
+ if (this.AFDepartFormDesign && this.departTypeAFDesign) parmas.departTypeAFDesign = this.departTypeAFDesign;
102813
+ (0,manage/* getAction */.Th)("/formApi/queryTreeList", parmas).then(res => {
103072
102814
  if (res.success) {
103073
102815
  let arr = [...res.result];
103074
102816
  this.dataList = [];
@@ -103266,11 +103008,11 @@ var selectDepartModalvue_type_template_id_85d61f9a_scoped_true_staticRenderFns =
103266
103008
  ;
103267
103009
  var selectDepartModal_component = (0,componentNormalizer/* default */.A)(
103268
103010
  Modals_selectDepartModalvue_type_script_lang_js,
103269
- selectDepartModalvue_type_template_id_85d61f9a_scoped_true_render,
103270
- selectDepartModalvue_type_template_id_85d61f9a_scoped_true_staticRenderFns,
103011
+ selectDepartModalvue_type_template_id_2e35a92e_scoped_true_render,
103012
+ selectDepartModalvue_type_template_id_2e35a92e_scoped_true_staticRenderFns,
103271
103013
  false,
103272
103014
  null,
103273
- "85d61f9a",
103015
+ "2e35a92e",
103274
103016
  null
103275
103017
 
103276
103018
  )
@@ -103342,6 +103084,7 @@ var selectDepartModal_component = (0,componentNormalizer/* default */.A)(
103342
103084
  //
103343
103085
  //
103344
103086
  //
103087
+ //
103345
103088
 
103346
103089
 
103347
103090
 
@@ -103463,19 +103206,19 @@ var selectDepartModal_component = (0,componentNormalizer/* default */.A)(
103463
103206
  ;
103464
103207
  var DepartSelector_component_component = (0,componentNormalizer/* default */.A)(
103465
103208
  components_DepartSelector_componentvue_type_script_lang_js,
103466
- componentvue_type_template_id_dbdb6ed6_scoped_true_render,
103467
- componentvue_type_template_id_dbdb6ed6_scoped_true_staticRenderFns,
103209
+ componentvue_type_template_id_74fab5d2_scoped_true_render,
103210
+ componentvue_type_template_id_74fab5d2_scoped_true_staticRenderFns,
103468
103211
  false,
103469
103212
  null,
103470
- "dbdb6ed6",
103213
+ "74fab5d2",
103471
103214
  null
103472
103215
 
103473
103216
  )
103474
103217
 
103475
103218
  /* harmony default export */ const DepartSelector_component = (DepartSelector_component_component.exports);
103476
- ;// 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/DepartSelector/widgetSetup.vue?vue&type=template&id=2c97460c&scoped=true
103477
- var widgetSetupvue_type_template_id_2c97460c_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-item',{attrs:{"label":"展示部门类型:"}},[_c('a-radio-group',{model:{value:(_vm.widget.options.departType),callback:function ($$v) {_vm.$set(_vm.widget.options, "departType", $$v)},expression:"widget.options.departType"}},[_c('a-radio',{attrs:{"value":""}},[_vm._v("所有")]),_c('a-radio',{attrs:{"value":"JX"}},[_vm._v("教学")]),_c('a-radio',{attrs:{"value":"XZ"}},[_vm._v("行政")])],1)],1),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},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("表单绑定")]),(!_vm.isFormDesignSQL)?_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("数据集")]):_vm._e()],1),(_vm.source == '1')?_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 == '2')?_c('a-input',{attrs:{"placeholder":"请点击选择绑定表单字段","read-only":""},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')?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("关联数据集")]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"事项内容"}},[_c('a-switch',{model:{value:(_vm.widget.options.matterContentEnable),callback:function ($$v) {_vm.$set(_vm.widget.options, "matterContentEnable", $$v)},expression:"widget.options.matterContentEnable"}})],1)],1),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('select-role-modal',{ref:"selectRoleModal",on:{"ok":_vm.handleRoleOk}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)])}
103478
- var widgetSetupvue_type_template_id_2c97460c_scoped_true_staticRenderFns = []
103219
+ ;// 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/DepartSelector/widgetSetup.vue?vue&type=template&id=8214ecb4&scoped=true
103220
+ var widgetSetupvue_type_template_id_8214ecb4_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-item',{attrs:{"label":"展示部门类型:"}},[_c('a-radio-group',{on:{"change":_vm.handleChange},model:{value:(_vm.widget.options.departType),callback:function ($$v) {_vm.$set(_vm.widget.options, "departType", $$v)},expression:"widget.options.departType"}},[_c('a-radio',{attrs:{"value":""}},[_vm._v("所有")]),_c('a-radio',{attrs:{"value":"JX"}},[_vm._v("教学")]),_c('a-radio',{attrs:{"value":"XZ"}},[_vm._v("行政")])],1)],1),(_vm.AFDepartFormDesign)?_c('a-form-model-item',{attrs:{"label":"专业/班级"}},[(_vm.widget.options.departType === 'JX')?_c('a-checkbox-group',{model:{value:(_vm.widget.options.departTypeAFDesign),callback:function ($$v) {_vm.$set(_vm.widget.options, "departTypeAFDesign", $$v)},expression:"widget.options.departTypeAFDesign"}},[_c('a-checkbox',{attrs:{"value":"ZY"}},[_vm._v("专业")]),_c('a-checkbox',{attrs:{"value":"BJ"}},[_vm._v("班级")])],1):_vm._e()],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"字段联动"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.showModal}},[_vm._v("联动配置")])],1),_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},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("表单绑定")]),(!_vm.isFormDesignSQL)?_c('a-radio-button',{attrs:{"value":"4"}},[_vm._v("数据集")]):_vm._e()],1),(_vm.source == '1')?_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 == '2')?_c('a-input',{attrs:{"placeholder":"请点击选择绑定表单字段","read-only":""},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')?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("关联数据集")]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"事项内容"}},[_c('a-switch',{model:{value:(_vm.widget.options.matterContentEnable),callback:function ($$v) {_vm.$set(_vm.widget.options, "matterContentEnable", $$v)},expression:"widget.options.matterContentEnable"}})],1)],1),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('relate-sub-modal',{ref:"relateSubModal",attrs:{"datalist":_vm.datalist,"widget":_vm.widget},on:{"okSubStr":_vm.okSubStr}}),_c('select-role-modal',{ref:"selectRoleModal",on:{"ok":_vm.handleRoleOk}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)])}
103221
+ var widgetSetupvue_type_template_id_8214ecb4_scoped_true_staticRenderFns = []
103479
103222
 
103480
103223
 
103481
103224
  ;// 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/DepartSelector/widgetSetup.vue?vue&type=script&lang=js
@@ -103552,6 +103295,12 @@ var widgetSetupvue_type_template_id_2c97460c_scoped_true_staticRenderFns = []
103552
103295
  //
103553
103296
  //
103554
103297
  //
103298
+ //
103299
+ //
103300
+ //
103301
+ //
103302
+ //
103303
+ //
103555
103304
  //
103556
103305
 
103557
103306
 
@@ -103596,6 +103345,9 @@ var widgetSetupvue_type_template_id_2c97460c_scoped_true_staticRenderFns = []
103596
103345
  computed: {
103597
103346
  isFormDesignSQL() {
103598
103347
  return window._CONFIG.isFormDesignSQL;
103348
+ },
103349
+ AFDepartFormDesign() {
103350
+ return window._CONFIG.AFDepartFormDesign;
103599
103351
  }
103600
103352
  },
103601
103353
  watch: {
@@ -103617,7 +103369,10 @@ var widgetSetupvue_type_template_id_2c97460c_scoped_true_staticRenderFns = []
103617
103369
  Bus/* default */.A.$emit("getWidgetFormList");
103618
103370
  this.$refs.relateSubModal.init();
103619
103371
  },
103620
- handleChange() {},
103372
+ handleChange(e) {
103373
+ console.log(e.target.value);
103374
+ if (e !== 'JX' && this.widget.options.departTypeAFDesign) this.widget.options.departTypeAFDesign = [];
103375
+ },
103621
103376
  handleAdduserOption() {},
103622
103377
  handleOptionsRemove() {},
103623
103378
  input(val) {
@@ -103668,11 +103423,11 @@ var widgetSetupvue_type_template_id_2c97460c_scoped_true_staticRenderFns = []
103668
103423
  ;
103669
103424
  var DepartSelector_widgetSetup_component = (0,componentNormalizer/* default */.A)(
103670
103425
  components_DepartSelector_widgetSetupvue_type_script_lang_js,
103671
- widgetSetupvue_type_template_id_2c97460c_scoped_true_render,
103672
- widgetSetupvue_type_template_id_2c97460c_scoped_true_staticRenderFns,
103426
+ widgetSetupvue_type_template_id_8214ecb4_scoped_true_render,
103427
+ widgetSetupvue_type_template_id_8214ecb4_scoped_true_staticRenderFns,
103673
103428
  false,
103674
103429
  null,
103675
- "2c97460c",
103430
+ "8214ecb4",
103676
103431
  null
103677
103432
 
103678
103433
  )
@@ -136182,7 +135937,7 @@ var staticRenderFns = []
136182
135937
 
136183
135938
 
136184
135939
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
136185
- var components = __webpack_require__(8416);
135940
+ var components = __webpack_require__(4260);
136186
135941
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js
136187
135942
  //
136188
135943
  //
@@ -138245,7 +138000,7 @@ var component = (0,componentNormalizer/* default */.A)(
138245
138000
 
138246
138001
  /* harmony default export */ const CorrectionModal = (component.exports);
138247
138002
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
138248
- var components = __webpack_require__(8416);
138003
+ var components = __webpack_require__(4260);
138249
138004
  // EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
138250
138005
  var pubsub = __webpack_require__(1528);
138251
138006
  var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
@@ -139415,7 +139170,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
139415
139170
  // EXTERNAL MODULE: ./src/api/manage.js
139416
139171
  var manage = __webpack_require__(8501);
139417
139172
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
139418
- var components = __webpack_require__(8416);
139173
+ var components = __webpack_require__(4260);
139419
139174
  // EXTERNAL MODULE: ./src/form/util/Bus.js
139420
139175
  var Bus = __webpack_require__(1509);
139421
139176
  // EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
@@ -155288,7 +155043,7 @@ function toString(value) {
155288
155043
  /***/ ((module) => {
155289
155044
 
155290
155045
  "use strict";
155291
- module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.541-test.4"}');
155046
+ module.exports = {"rE":"1.1.542"};
155292
155047
 
155293
155048
  /***/ })
155294
155049
 
@@ -169276,7 +169031,8 @@ const advanceComponents = [{
169276
169031
  multiple: true,
169277
169032
  canEdit: true,
169278
169033
  departType: "",
169279
- // 展示部门类型
169034
+ //
169035
+ departTypeAFDesign: [],
169280
169036
  canCorrect: true,
169281
169037
  defaulcanView: true,
169282
169038
  canView: true,
@@ -170002,7 +169758,7 @@ var es_array_unshift = __webpack_require__(5041);
170002
169758
  // EXTERNAL MODULE: ./src/form/util/util.js
170003
169759
  var util_util = __webpack_require__(4063);
170004
169760
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 980 modules
170005
- var components = __webpack_require__(8416);
169761
+ var components = __webpack_require__(4260);
170006
169762
  // EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
170007
169763
  var widgetFormItem = __webpack_require__(2895);
170008
169764
  // EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.541-test.4",
3
+ "version": "1.1.542",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",
package/readme.md CHANGED
@@ -25,7 +25,4 @@ zjaf-form-component-test (npm version 1.1.514-test.1)
25
25
  zjaf_formLink_20240814
26
26
 
27
27
  产品表单联动bug修复
28
- formLink_20240919
29
-
30
- 滁州复选框 单选框 下拉框默认值
31
- czxy_20240925
28
+ formLink_20240919