@zscreate/form-component 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/form-component.css +15 -15
- package/dist/form-component.umd-report.html +2 -2
- package/dist/form-component.umd.js +106 -105
- package/dist/img/{iconfont.3cacacb7.svg → iconfont.d94201c2.svg} +131 -131
- package/package.json +58 -58
- package/readme.md +1 -1
|
@@ -62871,7 +62871,7 @@ module.exports = /******/function (modules) {
|
|
|
62871
62871
|
/* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38);
|
|
62872
62872
|
/* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6955);
|
|
62873
62873
|
/* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6813);
|
|
62874
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
62874
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5754);
|
|
62875
62875
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9616);
|
|
62876
62876
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
62877
62877
|
|
|
@@ -63608,11 +63608,11 @@ module.exports = /******/function (modules) {
|
|
|
63608
63608
|
}
|
|
63609
63609
|
return name;
|
|
63610
63610
|
},
|
|
63611
|
-
/**
|
|
63612
|
-
* @method 方法
|
|
63613
|
-
* @arr 求值数据源
|
|
63614
|
-
* @sub 求值字段
|
|
63615
|
-
* return 值
|
|
63611
|
+
/**
|
|
63612
|
+
* @method 方法
|
|
63613
|
+
* @arr 求值数据源
|
|
63614
|
+
* @sub 求值字段
|
|
63615
|
+
* return 值
|
|
63616
63616
|
* **/
|
|
63617
63617
|
getMathResult(method, arr, sub) {
|
|
63618
63618
|
return (0,_util_mathUtils__WEBPACK_IMPORTED_MODULE_1__/* .getMathResult */ .N)(method, arr, sub);
|
|
@@ -63643,7 +63643,7 @@ module.exports = /******/function (modules) {
|
|
|
63643
63643
|
|
|
63644
63644
|
"use strict";
|
|
63645
63645
|
/* harmony import */ var _common_CorrectionModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7812);
|
|
63646
|
-
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
63646
|
+
/* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5754);
|
|
63647
63647
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9616);
|
|
63648
63648
|
/* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
63649
63649
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1925);
|
|
@@ -67117,11 +67117,11 @@ function deleteAction(url, parameter) {
|
|
|
67117
67117
|
});
|
|
67118
67118
|
}
|
|
67119
67119
|
|
|
67120
|
-
/**
|
|
67121
|
-
* 下载文件 用于excel导出
|
|
67122
|
-
* @param url
|
|
67123
|
-
* @param parameter
|
|
67124
|
-
* @returns {*}
|
|
67120
|
+
/**
|
|
67121
|
+
* 下载文件 用于excel导出
|
|
67122
|
+
* @param url
|
|
67123
|
+
* @param parameter
|
|
67124
|
+
* @returns {*}
|
|
67125
67125
|
*/
|
|
67126
67126
|
function downFile(url, parameter) {
|
|
67127
67127
|
return vue__WEBPACK_IMPORTED_MODULE_0___default().prototype._http({
|
|
@@ -67171,8 +67171,8 @@ const controlTypeList = params => getAction('/form/onlineform/controlTypeList',
|
|
|
67171
67171
|
// 字段类型
|
|
67172
67172
|
const fieldTypeList = params => getAction('/form/onlineform/fieldTypeList', params);
|
|
67173
67173
|
|
|
67174
|
-
/* -------------------------------------------------------------------------------------------------------------------------
|
|
67175
|
-
*@ [脚本管理]
|
|
67174
|
+
/* -------------------------------------------------------------------------------------------------------------------------
|
|
67175
|
+
*@ [脚本管理]
|
|
67176
67176
|
------------------------------------------------------------------------------------------------------------------------- */
|
|
67177
67177
|
//-- 添加脚本
|
|
67178
67178
|
const TaskScriptAdd = params => postAction('/sys/script/add', params);
|
|
@@ -67229,8 +67229,8 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
67229
67229
|
/* harmony import */ var _api_manage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1474);
|
|
67230
67230
|
/* harmony import */ var _validateByApiMinxins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2330);
|
|
67231
67231
|
|
|
67232
|
-
/****
|
|
67233
|
-
*widgetMixins
|
|
67232
|
+
/****
|
|
67233
|
+
*widgetMixins
|
|
67234
67234
|
*/
|
|
67235
67235
|
|
|
67236
67236
|
|
|
@@ -67494,9 +67494,9 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
67494
67494
|
this.pubsubScribe(); //订阅消息
|
|
67495
67495
|
},
|
|
67496
67496
|
|
|
67497
|
-
/**
|
|
67498
|
-
* @description 订阅消息
|
|
67499
|
-
* @return void
|
|
67497
|
+
/**
|
|
67498
|
+
* @description 订阅消息
|
|
67499
|
+
* @return void
|
|
67500
67500
|
*/
|
|
67501
67501
|
pubsubScribe() {
|
|
67502
67502
|
let subscribeKey = this.widget.options.subscribeOptions ? this.widget.options.subscribeOptions.subscribeKey : "";
|
|
@@ -67527,10 +67527,10 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
67527
67527
|
});
|
|
67528
67528
|
}
|
|
67529
67529
|
},
|
|
67530
|
-
/***
|
|
67531
|
-
* @description 更新联动方法
|
|
67532
|
-
* @params { data } 联动规则
|
|
67533
|
-
* @params { list } Array String Number 是否是用户手动触发
|
|
67530
|
+
/***
|
|
67531
|
+
* @description 更新联动方法
|
|
67532
|
+
* @params { data } 联动规则
|
|
67533
|
+
* @params { list } Array String Number 是否是用户手动触发
|
|
67534
67534
|
*/
|
|
67535
67535
|
updateModelByScript(data, list) {
|
|
67536
67536
|
var that = this;
|
|
@@ -67542,11 +67542,11 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
67542
67542
|
console.log(error);
|
|
67543
67543
|
}
|
|
67544
67544
|
},
|
|
67545
|
-
/**
|
|
67546
|
-
* @description 发布消息
|
|
67547
|
-
* @params { string/number/object } val 发布的内容
|
|
67548
|
-
* @params { bollean } isClickByUser 是否是用户手动触发
|
|
67549
|
-
* @return void
|
|
67545
|
+
/**
|
|
67546
|
+
* @description 发布消息
|
|
67547
|
+
* @params { string/number/object } val 发布的内容
|
|
67548
|
+
* @params { bollean } isClickByUser 是否是用户手动触发
|
|
67549
|
+
* @return void
|
|
67550
67550
|
*/
|
|
67551
67551
|
pulishMsg(val, isClickByUser = false) {
|
|
67552
67552
|
let relateOptions = this.widget.options.relateOptions;
|
|
@@ -67873,7 +67873,7 @@ module.exports = {
|
|
|
67873
67873
|
|
|
67874
67874
|
/***/ }),
|
|
67875
67875
|
|
|
67876
|
-
/***/
|
|
67876
|
+
/***/ 5754:
|
|
67877
67877
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
67878
67878
|
|
|
67879
67879
|
"use strict";
|
|
@@ -69422,8 +69422,8 @@ var widgetDesignvue_type_template_id_25d3bce4_scoped_true_staticRenderFns = []
|
|
|
69422
69422
|
|
|
69423
69423
|
|
|
69424
69424
|
;// CONCATENATED MODULE: ./src/form/mixins/designWidgetMixins.js
|
|
69425
|
-
/****
|
|
69426
|
-
*designWidgetMixins
|
|
69425
|
+
/****
|
|
69426
|
+
*designWidgetMixins
|
|
69427
69427
|
*/
|
|
69428
69428
|
|
|
69429
69429
|
/* harmony default export */ var designWidgetMixins = ({
|
|
@@ -69629,15 +69629,15 @@ var widgetDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
69629
69629
|
widgetSetup: widgetSetup,
|
|
69630
69630
|
widgetDesign: widgetDesign
|
|
69631
69631
|
});
|
|
69632
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/component.vue?vue&type=template&id=
|
|
69633
|
-
var
|
|
69632
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/component.vue?vue&type=template&id=d27d2972&scoped=true&
|
|
69633
|
+
var componentvue_type_template_id_d27d2972_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',background: _vm.widget.options.bgColor, })},[_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:[
|
|
69634
69634
|
_vm.config.align,
|
|
69635
69635
|
_vm.config.validate === true && _vm.widget.options.required === true
|
|
69636
69636
|
? 'is_required'
|
|
69637
69637
|
: '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 },"placeholder":_vm.widget.options.placeholder,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"showSearch":"","optionFilterProp":"label","allowClear":"","getPopupContainer":function (triggerNode) {
|
|
69638
69638
|
return triggerNode.parentNode || _vm.document.body;
|
|
69639
69639
|
},"mode":_vm.widget.options.multiple ? 'multiple' : 'default'},on:{"change":_vm.handleChange,"search":_vm.handleSearch,"popupScroll":function (e) { _vm.handleScroll(e) }},model:{value:(_vm.dataModel),callback:function ($$v) {_vm.dataModel=$$v},expression:"dataModel"}},_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)+" ")])}),1)],1)],1):_vm._e()}
|
|
69640
|
-
var
|
|
69640
|
+
var componentvue_type_template_id_d27d2972_scoped_true_staticRenderFns = []
|
|
69641
69641
|
|
|
69642
69642
|
|
|
69643
69643
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/component.vue?vue&type=script&lang=js&
|
|
@@ -69737,6 +69737,7 @@ var componentvue_type_template_id_5a350232_scoped_true_staticRenderFns = []
|
|
|
69737
69737
|
},
|
|
69738
69738
|
computed: {
|
|
69739
69739
|
filterDictOptions() {
|
|
69740
|
+
if (!this.dictOptions.length) return [];
|
|
69740
69741
|
return this.dictOptions.filter(item => {
|
|
69741
69742
|
return String(item.text).includes(this.search);
|
|
69742
69743
|
}).slice(0, 10 * (this.page + 1));
|
|
@@ -69904,10 +69905,10 @@ var componentvue_type_template_id_5a350232_scoped_true_staticRenderFns = []
|
|
|
69904
69905
|
});
|
|
69905
69906
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=script&lang=js&
|
|
69906
69907
|
/* harmony default export */ var components_Select_componentvue_type_script_lang_js_ = (Select_componentvue_type_script_lang_js_);
|
|
69907
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=
|
|
69908
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=d27d2972&prod&lang=less&scoped=true&
|
|
69908
69909
|
// extracted by mini-css-extract-plugin
|
|
69909
69910
|
|
|
69910
|
-
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=
|
|
69911
|
+
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue?vue&type=style&index=0&id=d27d2972&prod&lang=less&scoped=true&
|
|
69911
69912
|
|
|
69912
69913
|
;// CONCATENATED MODULE: ./src/form/modules/components/Select/component.vue
|
|
69913
69914
|
|
|
@@ -69920,11 +69921,11 @@ var componentvue_type_template_id_5a350232_scoped_true_staticRenderFns = []
|
|
|
69920
69921
|
|
|
69921
69922
|
var component_component = (0,componentNormalizer/* default */.Z)(
|
|
69922
69923
|
components_Select_componentvue_type_script_lang_js_,
|
|
69923
|
-
|
|
69924
|
-
|
|
69924
|
+
componentvue_type_template_id_d27d2972_scoped_true_render,
|
|
69925
|
+
componentvue_type_template_id_d27d2972_scoped_true_staticRenderFns,
|
|
69925
69926
|
false,
|
|
69926
69927
|
null,
|
|
69927
|
-
"
|
|
69928
|
+
"d27d2972",
|
|
69928
69929
|
null
|
|
69929
69930
|
|
|
69930
69931
|
)
|
|
@@ -71079,10 +71080,10 @@ const widgetFormItem = () => Promise.resolve(/* import() */).then(__webpack_requ
|
|
|
71079
71080
|
console.log(this.widget);
|
|
71080
71081
|
},
|
|
71081
71082
|
methods: {
|
|
71082
|
-
/***
|
|
71083
|
-
* @param { array } columns
|
|
71084
|
-
* @param { number } colIndex
|
|
71085
|
-
* @return { object } obj
|
|
71083
|
+
/***
|
|
71084
|
+
* @param { array } columns
|
|
71085
|
+
* @param { number } colIndex
|
|
71086
|
+
* @return { object } obj
|
|
71086
71087
|
*/
|
|
71087
71088
|
getTableColumn(columns, colIndex) {
|
|
71088
71089
|
let obj = {};
|
|
@@ -74634,12 +74635,12 @@ var Rate_widgetDesign_component = (0,componentNormalizer/* default */.Z)(
|
|
|
74634
74635
|
widgetDesign: Rate_widgetDesign
|
|
74635
74636
|
});
|
|
74636
74637
|
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Signature/component.vue?vue&type=template&id=bf35eae8&scoped=true&
|
|
74637
|
-
var componentvue_type_template_id_bf35eae8_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}},[(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
|
|
74638
|
-
_vm.config.align,
|
|
74639
|
-
_vm.config.validate === true && _vm.widget.options.required === true
|
|
74640
|
-
? 'is_required'
|
|
74641
|
-
: 'no_required' ],style:({
|
|
74642
|
-
color:_vm.config.color,
|
|
74638
|
+
var componentvue_type_template_id_bf35eae8_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}},[(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
|
|
74639
|
+
_vm.config.align,
|
|
74640
|
+
_vm.config.validate === true && _vm.widget.options.required === true
|
|
74641
|
+
? 'is_required'
|
|
74642
|
+
: 'no_required' ],style:({
|
|
74643
|
+
color:_vm.config.color,
|
|
74643
74644
|
}),attrs:{"slot":"label"},slot:"label"},[_vm._v(_vm._s(_vm.widget.name))]):_vm._e(),(_vm.widget.options.type == 'text')?_c('span',[_vm._v(" "+_vm._s(_vm.widget.options.defaultValue)+" ")]):_vm._e(),(_vm.widget.options.type == 'image')?_c('img',{attrs:{"src":_vm.widget.options.defaultValue,"alt":""}}):_vm._e()])],1):_vm._e()}
|
|
74644
74645
|
var componentvue_type_template_id_bf35eae8_scoped_true_staticRenderFns = []
|
|
74645
74646
|
|
|
@@ -74782,12 +74783,12 @@ var Signature_widgetSetup_component = (0,componentNormalizer/* default */.Z)(
|
|
|
74782
74783
|
|
|
74783
74784
|
/* harmony default export */ var Signature_widgetSetup = (Signature_widgetSetup_component.exports);
|
|
74784
74785
|
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Signature/widgetDesign.vue?vue&type=template&id=75ba3360&scoped=true&
|
|
74785
|
-
var widgetDesignvue_type_template_id_75ba3360_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}},[(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
|
|
74786
|
-
_vm.config.align,
|
|
74787
|
-
_vm.config.validate === true && _vm.widget.options.required === true
|
|
74788
|
-
? 'is_required'
|
|
74789
|
-
: 'no_required' ],style:({
|
|
74790
|
-
color:_vm.config.color,
|
|
74786
|
+
var widgetDesignvue_type_template_id_75ba3360_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}},[(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
|
|
74787
|
+
_vm.config.align,
|
|
74788
|
+
_vm.config.validate === true && _vm.widget.options.required === true
|
|
74789
|
+
? 'is_required'
|
|
74790
|
+
: 'no_required' ],style:({
|
|
74791
|
+
color:_vm.config.color,
|
|
74791
74792
|
}),attrs:{"slot":"label"},slot:"label"},[_vm._v(_vm._s(_vm.widget.name))]):_vm._e(),(_vm.widget.options.type == 'text')?_c('span',[_vm._v(" "+_vm._s(_vm.widget.options.defaultValue)+" ")]):_vm._e(),(_vm.widget.options.type == 'image')?_c('img',{attrs:{"src":_vm.widget.options.defaultValue,"alt":""}}):_vm._e()])],1):_vm._e()}
|
|
74792
74793
|
var widgetDesignvue_type_template_id_75ba3360_scoped_true_staticRenderFns = []
|
|
74793
74794
|
|
|
@@ -76533,10 +76534,10 @@ var componentvue_type_template_id_4d1476ce_scoped_true_staticRenderFns = []
|
|
|
76533
76534
|
|
|
76534
76535
|
|
|
76535
76536
|
;// CONCATENATED MODULE: ./src/utils/util.js
|
|
76536
|
-
/**
|
|
76537
|
-
* 过滤对象中为空的属性
|
|
76538
|
-
* @param obj
|
|
76539
|
-
* @returns {*}
|
|
76537
|
+
/**
|
|
76538
|
+
* 过滤对象中为空的属性
|
|
76539
|
+
* @param obj
|
|
76540
|
+
* @returns {*}
|
|
76540
76541
|
*/
|
|
76541
76542
|
function filterObj(obj) {
|
|
76542
76543
|
if (!(typeof obj == 'object')) {
|
|
@@ -76550,11 +76551,11 @@ function filterObj(obj) {
|
|
|
76550
76551
|
return obj;
|
|
76551
76552
|
}
|
|
76552
76553
|
|
|
76553
|
-
/**
|
|
76554
|
-
* 判断值是否为空
|
|
76555
|
-
* @author 徐睿
|
|
76556
|
-
* @param value
|
|
76557
|
-
* @returns {boolean}
|
|
76554
|
+
/**
|
|
76555
|
+
* 判断值是否为空
|
|
76556
|
+
* @author 徐睿
|
|
76557
|
+
* @param value
|
|
76558
|
+
* @returns {boolean}
|
|
76558
76559
|
*/
|
|
76559
76560
|
const isEmpty = value => {
|
|
76560
76561
|
if (value === undefined || value === null || value === '') {
|
|
@@ -76568,10 +76569,10 @@ const isEmpty = value => {
|
|
|
76568
76569
|
}
|
|
76569
76570
|
};
|
|
76570
76571
|
|
|
76571
|
-
/**
|
|
76572
|
-
* async...await 优雅的处理错误方法
|
|
76573
|
-
* @param promise
|
|
76574
|
-
* @returns {*}
|
|
76572
|
+
/**
|
|
76573
|
+
* async...await 优雅的处理错误方法
|
|
76574
|
+
* @param promise
|
|
76575
|
+
* @returns {*}
|
|
76575
76576
|
*/
|
|
76576
76577
|
const toAwait = promise => promise.then(res => [null, res]).catch(error => [error]);
|
|
76577
76578
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/Verify/component.vue?vue&type=script&lang=js&
|
|
@@ -80277,10 +80278,10 @@ var selectUserModalvue_type_template_id_66ebf12a_scoped_true_staticRenderFns = [
|
|
|
80277
80278
|
|
|
80278
80279
|
|
|
80279
80280
|
;// CONCATENATED MODULE: ./src/mixins/JeecgListMixin.js
|
|
80280
|
-
/**
|
|
80281
|
-
* 新增修改完成调用 modalFormOk方法 编辑弹框组件ref定义为modalForm
|
|
80282
|
-
* 高级查询按钮调用 superQuery方法 高级查询组件ref定义为superQueryModal
|
|
80283
|
-
* data中url定义 list为查询列表 delete为删除单条记录 deleteBatch为批量删除
|
|
80281
|
+
/**
|
|
80282
|
+
* 新增修改完成调用 modalFormOk方法 编辑弹框组件ref定义为modalForm
|
|
80283
|
+
* 高级查询按钮调用 superQuery方法 高级查询组件ref定义为superQueryModal
|
|
80284
|
+
* data中url定义 list为查询列表 delete为删除单条记录 deleteBatch为批量删除
|
|
80284
80285
|
*/
|
|
80285
80286
|
|
|
80286
80287
|
|
|
@@ -81861,10 +81862,10 @@ var elSelectUserByRoleModalvue_type_template_id_7eea8eda_scoped_true_staticRende
|
|
|
81861
81862
|
this.ipagination.current = 1;
|
|
81862
81863
|
this.loadData();
|
|
81863
81864
|
},
|
|
81864
|
-
/***
|
|
81865
|
-
* @param {role} Array
|
|
81866
|
-
* @param {multi} Boolean //多选 单选
|
|
81867
|
-
* @param {value} Array //默认人选
|
|
81865
|
+
/***
|
|
81866
|
+
* @param {role} Array
|
|
81867
|
+
* @param {multi} Boolean //多选 单选
|
|
81868
|
+
* @param {value} Array //默认人选
|
|
81868
81869
|
*/
|
|
81869
81870
|
init(role, multi, value, selectedUserIds = undefined) {
|
|
81870
81871
|
this.visible = true;
|
|
@@ -82756,7 +82757,7 @@ var componentvue_type_template_id_00ef80bc_scoped_true_render = function () {var
|
|
|
82756
82757
|
var componentvue_type_template_id_00ef80bc_scoped_true_staticRenderFns = []
|
|
82757
82758
|
|
|
82758
82759
|
|
|
82759
|
-
;// CONCATENATED MODULE: ./node_modules/_preact@10.14.
|
|
82760
|
+
;// CONCATENATED MODULE: ./node_modules/_preact@10.14.0@preact/dist/preact.module.js
|
|
82760
82761
|
|
|
82761
82762
|
var preact_module_n,
|
|
82762
82763
|
l,
|
|
@@ -88993,7 +88994,7 @@ function isDragDropSupported() {
|
|
|
88993
88994
|
}
|
|
88994
88995
|
return true;
|
|
88995
88996
|
}
|
|
88996
|
-
;// CONCATENATED MODULE: ./node_modules/_preact@10.14.
|
|
88997
|
+
;// CONCATENATED MODULE: ./node_modules/_preact@10.14.0@preact/hooks/dist/hooks.module.js
|
|
88997
88998
|
|
|
88998
88999
|
|
|
88999
89000
|
var hooks_module_t,
|
|
@@ -101819,12 +101820,12 @@ var SignatureWrite_widgetDesign_component = (0,componentNormalizer/* default */.
|
|
|
101819
101820
|
widgetDesign: SignatureWrite_widgetDesign
|
|
101820
101821
|
});
|
|
101821
101822
|
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/AllComponent/hnkj/NameSignature/component.vue?vue&type=template&id=70d43768&scoped=true&
|
|
101822
|
-
var componentvue_type_template_id_70d43768_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.widgetHeight })},[_c('a-form-model-item',{attrs:{"colon":false,"label-col":_vm.c_labelCol,"wrapperCol":_vm.c_wrapperCol}},[(_vm.labelWidth !== 0)?_c('div',{class:[
|
|
101823
|
-
_vm.config.align,
|
|
101824
|
-
_vm.config.validate === true && _vm.widget.options.required === true
|
|
101825
|
-
? 'is_required'
|
|
101826
|
-
: 'no_required' ],style:({
|
|
101827
|
-
color: _vm.config.color,
|
|
101823
|
+
var componentvue_type_template_id_70d43768_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.widgetHeight })},[_c('a-form-model-item',{attrs:{"colon":false,"label-col":_vm.c_labelCol,"wrapperCol":_vm.c_wrapperCol}},[(_vm.labelWidth !== 0)?_c('div',{class:[
|
|
101824
|
+
_vm.config.align,
|
|
101825
|
+
_vm.config.validate === true && _vm.widget.options.required === true
|
|
101826
|
+
? 'is_required'
|
|
101827
|
+
: 'no_required' ],style:({
|
|
101828
|
+
color: _vm.config.color,
|
|
101828
101829
|
}),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]):_vm._e(),_c('div',{staticClass:"name-sign-img",style:(_vm.imgStyle)},[(_vm.userText)?_c('span',{staticStyle:{"text-align":"left"}},[_vm._v(" "+_vm._s(_vm.userText)+" ")]):(_vm.models[_vm.widget.model])?_c('img',{staticClass:"name-sign-img",staticStyle:{"width":"100%","height":"100%"},attrs:{"src":_vm.imgUrl + _vm.models[_vm.widget.model],"alt":""},on:{"error":_vm.imgLoadError}}):_vm._e()])])],1):_vm._e()}
|
|
101829
101830
|
var componentvue_type_template_id_70d43768_scoped_true_staticRenderFns = []
|
|
101830
101831
|
|
|
@@ -104685,8 +104686,8 @@ const Bus = new (vue__WEBPACK_IMPORTED_MODULE_0___default())();
|
|
|
104685
104686
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
104686
104687
|
/* harmony export */ "N": function() { return /* binding */ getMathResult; }
|
|
104687
104688
|
/* harmony export */ });
|
|
104688
|
-
/**
|
|
104689
|
-
*策源
|
|
104689
|
+
/**
|
|
104690
|
+
*策源
|
|
104690
104691
|
* **/
|
|
104691
104692
|
const mathObject = {
|
|
104692
104693
|
$sum(arr, sub) {
|
|
@@ -104749,10 +104750,10 @@ const pxToMM = px => {
|
|
|
104749
104750
|
return Math.floor(px / window.UNITRATE * 10000) / 10000;
|
|
104750
104751
|
};
|
|
104751
104752
|
|
|
104752
|
-
/**
|
|
104753
|
-
* 深度克隆对象、数组
|
|
104754
|
-
* @param { obj } any 被克隆的对象
|
|
104755
|
-
* @return 克隆后的对象
|
|
104753
|
+
/**
|
|
104754
|
+
* 深度克隆对象、数组
|
|
104755
|
+
* @param { obj } any 被克隆的对象
|
|
104756
|
+
* @return 克隆后的对象
|
|
104756
104757
|
*/
|
|
104757
104758
|
const cloneObj = obj => {
|
|
104758
104759
|
if (obj === undefined || obj === null) {
|
|
@@ -104782,10 +104783,10 @@ const getUnitRate = () => {
|
|
|
104782
104783
|
ele.remove();
|
|
104783
104784
|
};
|
|
104784
104785
|
|
|
104785
|
-
/**
|
|
104786
|
-
* 获取文件的后缀名
|
|
104787
|
-
* @param bpmStatus
|
|
104788
|
-
* @returns {*}
|
|
104786
|
+
/**
|
|
104787
|
+
* 获取文件的后缀名
|
|
104788
|
+
* @param bpmStatus
|
|
104789
|
+
* @returns {*}
|
|
104789
104790
|
*/
|
|
104790
104791
|
function getFileExt(filename) {
|
|
104791
104792
|
if (!filename || typeof filename != 'string') {
|
|
@@ -104797,11 +104798,11 @@ function getFileExt(filename) {
|
|
|
104797
104798
|
return b;
|
|
104798
104799
|
}
|
|
104799
104800
|
|
|
104800
|
-
/**
|
|
104801
|
-
* KB 转换给合适的单位
|
|
104802
|
-
* @param fileSizeInKB{number}
|
|
104803
|
-
* @param digits{number}=2 保留小数
|
|
104804
|
-
* @returns {['KB', 'MB', 'GB', 'TB']}
|
|
104801
|
+
/**
|
|
104802
|
+
* KB 转换给合适的单位
|
|
104803
|
+
* @param fileSizeInKB{number}
|
|
104804
|
+
* @param digits{number}=2 保留小数
|
|
104805
|
+
* @returns {['KB', 'MB', 'GB', 'TB']}
|
|
104805
104806
|
*/
|
|
104806
104807
|
function convertFileSize(fileSizeInKB, digits = 2) {
|
|
104807
104808
|
if (isNaN(fileSizeInKB)) return fileSizeInKB;
|
|
@@ -104957,7 +104958,7 @@ var CorrectionItemvue_type_template_id_4d910d38_scoped_true_staticRenderFns = []
|
|
|
104957
104958
|
|
|
104958
104959
|
|
|
104959
104960
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 792 modules
|
|
104960
|
-
var components = __webpack_require__(
|
|
104961
|
+
var components = __webpack_require__(5754);
|
|
104961
104962
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js&
|
|
104962
104963
|
//
|
|
104963
104964
|
//
|
|
@@ -106243,7 +106244,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
106243
106244
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
106244
106245
|
var manage = __webpack_require__(1474);
|
|
106245
106246
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 792 modules
|
|
106246
|
-
var components = __webpack_require__(
|
|
106247
|
+
var components = __webpack_require__(5754);
|
|
106247
106248
|
// EXTERNAL MODULE: ./src/form/util/Bus.js
|
|
106248
106249
|
var Bus = __webpack_require__(767);
|
|
106249
106250
|
// EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
|
|
@@ -106851,7 +106852,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;
|
|
|
106851
106852
|
/***/ (function(module) {
|
|
106852
106853
|
|
|
106853
106854
|
"use strict";
|
|
106854
|
-
module.exports = {"i8":"1.1.
|
|
106855
|
+
module.exports = {"i8":"1.1.8"};
|
|
106855
106856
|
|
|
106856
106857
|
/***/ })
|
|
106857
106858
|
|
|
@@ -108337,7 +108338,7 @@ var es_array_push = __webpack_require__(6903);
|
|
|
108337
108338
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
108338
108339
|
var util = __webpack_require__(6955);
|
|
108339
108340
|
// EXTERNAL MODULE: ./src/form/modules/components/index.js + 792 modules
|
|
108340
|
-
var components = __webpack_require__(
|
|
108341
|
+
var components = __webpack_require__(5754);
|
|
108341
108342
|
// EXTERNAL MODULE: ./src/api/manage.js
|
|
108342
108343
|
var manage = __webpack_require__(1474);
|
|
108343
108344
|
// EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
|
|
@@ -109055,8 +109056,8 @@ var widgetDesign = __webpack_require__(1968);
|
|
|
109055
109056
|
return colIndexs.includes(colIndex);
|
|
109056
109057
|
},
|
|
109057
109058
|
//子表单自定义布局
|
|
109058
|
-
/***
|
|
109059
|
-
* params { string } mode //默认模式 和 自定义模式
|
|
109059
|
+
/***
|
|
109060
|
+
* params { string } mode //默认模式 和 自定义模式
|
|
109060
109061
|
*/
|
|
109061
109062
|
handleWidgetTableAdd($event, row, colIndex, listindex, mode) {
|
|
109062
109063
|
//判断design布局 单元里面是否存在元素
|