@zscreate/form-component 1.1.221-test.52 → 1.1.221-test.54
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.umd.js +38 -22
- package/package.json +1 -1
|
@@ -76923,7 +76923,7 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
76923
76923
|
m_subscribe(key, val) {
|
|
76924
76924
|
if (!(pubsub_js__WEBPACK_IMPORTED_MODULE_5___default().calc_record)) (pubsub_js__WEBPACK_IMPORTED_MODULE_5___default().calc_record) = {};
|
|
76925
76925
|
},
|
|
76926
|
-
calc_run(isFirstRun) {
|
|
76926
|
+
calc_run(isFirstRun, msgData) {
|
|
76927
76927
|
let invalids = false;
|
|
76928
76928
|
let {
|
|
76929
76929
|
formula,
|
|
@@ -76932,6 +76932,7 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
76932
76932
|
relyWidgets.forEach(item => {
|
|
76933
76933
|
formula = formula.replaceAll(`\$${item}\#`, item);
|
|
76934
76934
|
});
|
|
76935
|
+
if (msgData.tableKey && msgData.tableKey === this.widget.tableKey && this.tableIndex != msgData.tableIndex) return;
|
|
76935
76936
|
const tableArr = relyWidgets.filter(item => item.includes(".")).map(item => item.split("."));
|
|
76936
76937
|
const models = this.models;
|
|
76937
76938
|
const keys = Object.keys(models);
|
|
@@ -76942,6 +76943,9 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
76942
76943
|
if (tableData && Array.isArray(models[curr])) {
|
|
76943
76944
|
prev[key] = JSON.parse(JSON.stringify(models[curr]));
|
|
76944
76945
|
prev[key][tableData[1]] = prev[key].map(item => item[tableData[1]]);
|
|
76946
|
+
if ([msgData.tableKey, curr].every(item => this.widget.tableKey === item)) {
|
|
76947
|
+
prev[key][tableData[1]] = prev[key][tableData[1]][msgData.tableIndex];
|
|
76948
|
+
}
|
|
76945
76949
|
}
|
|
76946
76950
|
if (relyWidgets.includes(key) && isFirstRun && models[curr] === '') {
|
|
76947
76951
|
invalids = true;
|
|
@@ -76978,7 +76982,7 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
76978
76982
|
if (item.includes('.')) item = item.split('.').slice(-1)[0];
|
|
76979
76983
|
pubsub_js__WEBPACK_IMPORTED_MODULE_5___default().subscribe('calc_' + item.replace('_widget_', ''), (key, data) => {
|
|
76980
76984
|
setTimeout(() => {
|
|
76981
|
-
this.calc_run();
|
|
76985
|
+
this.calc_run(false, data);
|
|
76982
76986
|
console.log(this, key, data);
|
|
76983
76987
|
}, 100);
|
|
76984
76988
|
});
|
|
@@ -147362,7 +147366,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
147362
147366
|
/***/ ((module) => {
|
|
147363
147367
|
|
|
147364
147368
|
"use strict";
|
|
147365
|
-
module.exports = JSON.parse('{"i8":"1.1.221-test.
|
|
147369
|
+
module.exports = JSON.parse('{"i8":"1.1.221-test.54"}');
|
|
147366
147370
|
|
|
147367
147371
|
/***/ })
|
|
147368
147372
|
|
|
@@ -158322,13 +158326,13 @@ const watermark = __webpack_require__(2206);
|
|
|
158322
158326
|
};
|
|
158323
158327
|
}
|
|
158324
158328
|
});
|
|
158325
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/warpFormulaEdit.vue?vue&type=template&id=
|
|
158326
|
-
var
|
|
158327
|
-
var
|
|
158329
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/warpFormulaEdit.vue?vue&type=template&id=0f3f9aa6&
|
|
158330
|
+
var warpFormulaEditvue_type_template_id_0f3f9aa6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-button',{attrs:{"type":_vm.hasInValid ? '': 'primary'},on:{"click":function($event){return _vm.init(_vm.widget)}}},[_c('span',{style:({ color: _vm.hasInValid ? 'red': 'inherit'})},[_vm._v(" "+_vm._s(_vm.hasInValid ? '存在已删除字段,请重新设置' : '公式编辑')+" ")])]),_c('formula-edit',{attrs:{"visible":_vm.visible,"widget":_vm.widget,"widgetName":_vm.widget.name,"bo-data":_vm.widgetsData,"data":_vm.formula},on:{"update:data":function($event){_vm.formula=$event},"callback":_vm.setFormulaValue,"debug":_vm.handleDebug,"close":function (_visible) { return _vm.visible = false; }}}),_c('a-modal',{attrs:{"title":"公式调试","footer":null,"width":"900px"},model:{value:(_vm.debugVisible),callback:function ($$v) {_vm.debugVisible=$$v},expression:"debugVisible"}},[_c('div',{staticStyle:{"display":"flex","justify-content":"center","overflow":"auto"}},[(_vm.debugVisible)?_c('layout-for-paper',{ref:"layoutForPaper",staticStyle:{"min-height":"initial!important"},attrs:{"insite":"true","data":_vm.warpDebugForm,"value":{}}}):_vm._e()],1)])],1)}
|
|
158331
|
+
var warpFormulaEditvue_type_template_id_0f3f9aa6_staticRenderFns = []
|
|
158328
158332
|
|
|
158329
158333
|
|
|
158330
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=template&id=
|
|
158331
|
-
var
|
|
158334
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=template&id=6c857bee&
|
|
158335
|
+
var formula_editvue_type_template_id_6c857bee_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{staticClass:"form-formula-dialog",attrs:{"visible":_vm.dialogVisible,"width":"800px","append-to-body":""},on:{"update:visible":function($event){_vm.dialogVisible=$event},"cancel":_vm.closeDialog}},[_c('template',{slot:"title"},[_c('div',{staticStyle:{"display":"flex"}},[_vm._v(" 公式编辑 "),_c('div',{staticStyle:{"color":"#838892","margin-left":"10px","font-size":"12px"}},[_vm._v("使用数学运算符编辑公式")])])]),(_vm.dialogVisible)?_c('div',{on:{"click":function($event){_vm.replaceVisible && (_vm.replaceVisible = false)}}},[_c('div',{staticClass:"formula-head-title"},[_c('div',{staticClass:"CodeMirror-wrap",staticStyle:{"line-height":"18px"}},[_c('div',{staticClass:"head-options"},[_c('div',{staticStyle:{"overflow":"hidden","line-break":"anywhere","text-overflow":"ellipsis","white-space":"nowrap"},attrs:{"title":_vm.widgetName}},[_vm._v(" "+_vm._s(_vm.widgetName)+" ")]),_c('span',{staticStyle:{"margin-right":"auto"}},[_vm._v(" =")]),_c('div',{staticClass:"head-opt-btns"},[_c('button',{on:{"click":function($event){return _vm.handleClick('copy')}}},[_c('form-iconfont',{staticStyle:{"font-size":"15px"},attrs:{"type":"icon-Copy"}}),_vm._v("复制")],1),_c('a-popconfirm',{attrs:{"visible":_vm.replaceVisible,"placement":"bottomRight","ok-text":"确认","icon":[],"cancel-text":"取消"},on:{"cancel":function($event){_vm.replaceVisible = false},"confirm":_vm.replaceConfirm}},[_c('template',{slot:"title"},[_c('div',{staticClass:"replace-param-content",staticStyle:{"width":"200px","margin-left":"-20px"}},[_c('div',{staticClass:"tip"},[_vm._v(" 仅支持替换引用的当前表单字段 ")]),_c('a-form',{attrs:{"form":_vm.replaceForm}},[_c('a-form-item',{staticStyle:{"margin-bottom":"0"},attrs:{"label":"1. 选择要替换的变量"}},[_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:([
|
|
158332
158336
|
'curr',
|
|
158333
158337
|
{
|
|
158334
158338
|
rules: [{ required: true, message: '此内容必填' }],
|
|
@@ -158337,7 +158341,7 @@ var formula_editvue_type_template_id_23a01ed0_render = function () {var _vm=this
|
|
|
158337
158341
|
{
|
|
158338
158342
|
rules: [{ required: true, message: '此内容必填' }],
|
|
158339
158343
|
} ]),expression:"[\n 'replace',\n {\n rules: [{ required: true, message: '此内容必填' }],\n },\n ]"}],staticClass:"param-combo",staticStyle:{"width":"100%"},attrs:{"show-search":"","filterOption":_vm.replaceFilterOption}},_vm._l((Object.keys(_vm.f_dataObj)),function(item){return _c('a-select-option',{key:item,attrs:{"title":_vm.f_dataObj[item]}},[_vm._v(_vm._s(_vm.f_dataObj[item]))])}),1)],1):_vm._e()],1)],1)]),_c('button',{on:{"click":function($event){return _vm.handleClick('replace')}}},[_c('form-iconfont',{staticStyle:{"font-size":"14px"},attrs:{"type":"icon-replace"}}),_vm._v("替换变量")],1)],2),_c('a-popconfirm',{attrs:{"placement":"bottomRight","icon":[],"ok-text":"确认","cancel-text":"取消"},on:{"confirm":function($event){_vm.form.remark = _vm.remark}}},[_c('template',{slot:"title"},[_c('div',{staticStyle:{"margin-left":"-20px","width":"200px"}},[_c('a-textarea',{staticStyle:{"height":"100px","resize":"none"},attrs:{"auto-size":false,"placeholder":"请输入备注"},model:{value:(_vm.remark),callback:function ($$v) {_vm.remark=$$v},expression:"remark"}})],1)]),_c('button',{on:{"click":function($event){return _vm.handleClick('remark')}}},[_c('form-iconfont',{staticStyle:{"font-size":"12px"},attrs:{"type":"icon-beizhu"}}),_vm._v("备注")],1)],2),_c('button',{on:{"click":function($event){return _vm.handleClick('debug')}}},[_c('form-iconfont',{staticStyle:{"font-size":"14px"},attrs:{"type":"icon-tiaoshi"}}),_vm._v("调试")],1)],1)]),_c('div',{staticStyle:{"padding":"0 5px"}},[_c('textarea',{ref:"formula",staticClass:"cm-s-default",staticStyle:{"height":"180px","font-size":"14px"}})])]),(_vm.err_msg)?_c('div',{staticClass:"formula-error"},[_vm._v(" "+_vm._s(_vm.err_msg)+" ")]):_vm._e()]),_c('a-row',[_c('a-col',{attrs:{"span":8}},[_c('div',{staticClass:"formula-info-main"},[_c('div',{staticClass:"head",staticStyle:{"height":"35px"}},[_c('a-input',{attrs:{"allow-clear":"","placeholder":"搜索变量"},model:{value:(_vm.search_variable),callback:function ($$v) {_vm.search_variable=$$v},expression:"search_variable"}},[_c('a-icon',{attrs:{"slot":"prefix","type":"search"},slot:"prefix"})],1)],1),_c('div',{staticClass:"formula-container"},[(_vm.boData.length === 0)?_c('div',{staticClass:"empty-tip"},[_vm._v("无可用变量,请添加或保存表单后重试")]):(_vm.filter_boData.length === 0)?_c('div',{staticClass:"empty-tip"},[_vm._v("无搜索结果")]):_vm._e(),_vm._l((_vm.filter_boData),function(item,idx){return _c('div',{key:item.id,on:{"click":function($event){return _vm.clickBoNode(item)}}},[_c('div',{staticClass:"variable-list"},[_c('div',{attrs:{"title":item.name}},[_vm._v(_vm._s(item.name))]),_c('div',{class:("style-" + (item.type))},[_vm._v(_vm._s(_vm.TypesName[item.type]))])])])})],2)])]),_c('a-col',{attrs:{"span":6}},[_c('div',{staticClass:"formula-info-main ",staticStyle:{"border-left":"none","border-right":"none"}},[_c('div',{staticClass:"head",staticStyle:{"height":"35px"}},[_c('a-input',{attrs:{"allow-clear":"","placeholder":"搜索函数"},model:{value:(_vm.search_methods),callback:function ($$v) {_vm.search_methods=$$v},expression:"search_methods"}},[_c('a-icon',{attrs:{"slot":"prefix","type":"search"},slot:"prefix"})],1)],1),_c('div',{staticStyle:{"height":"100%","overflow-y":"auto"},on:{"mouseleave":_vm.handleMouseLeave}},[(_vm.filter_treeData.length === 0)?_c('div',{staticClass:"empty-tip"},[_vm._v("没有对应的函数")]):_vm._e(),_c('div',{staticClass:"formula-menu"},[_c('div',{staticClass:"formula-list"},_vm._l((_vm.filter_treeData),function(tree,idx){return _c('div',{key:tree.key,class:("formula-category " + (_vm.expandIndex[idx] ? 'expand': ''))},[_c('div',{staticClass:"title",on:{"click":function($event){return _vm.$set(_vm.expandIndex,idx, !_vm.expandIndex[idx])}}},[_c('form-iconfont',{staticClass:"arrow-icon",staticStyle:{"font-size":"13px"},attrs:{"type":"icon-rightyou"}}),_vm._v(" "+_vm._s(tree.title)+" ")],1),_c('div',{staticClass:"children"},_vm._l((tree.children),function(child){return _c('div',{key:child.title,class:("formula-item " + (_vm.formulaIntro.title === child.title ? 'select': '')),on:{"click":function($event){return _vm.clickFunctionNode(child)},"mouseenter":function($event){return _vm.handleFunctionHover(child)}}},[_c('span',{staticClass:"formula-item-name"},[_vm._v(_vm._s(child.title))]),_c('span',{staticClass:"formula-item-subName"},[_vm._v(_vm._s(child.subName))])])}),0)])}),0)])])])]),_c('a-col',{attrs:{"span":10}},[_c('div',{staticClass:"formula-info-main "},[(_vm.formulaIntro)?_c('div',{staticClass:"formula-intro"},[_c('div',{staticClass:"formula-title head"},[_vm._v(_vm._s(_vm.formulaIntro.name))]),_c('div',{staticStyle:{"padding":"0 10px"}},[_c('div',{staticStyle:{"line-height":"22px"}},[_c('div',{staticClass:"intro",staticStyle:{"margin":"5px 0"}},[_vm._v(" "+_vm._s(_vm.formulaIntro.intro)+" ")]),_c('div',{staticClass:"usage",staticStyle:{"margin-bottom":"5px","line-break":"anywhere"}},[_vm._v("用法:"),_c('span',{staticClass:"formula-name"},[_vm._v(_vm._s(_vm.formulaIntro.name))]),_vm._v(_vm._s(_vm.formulaIntro.usage.replace(_vm.formulaIntro.name, '')))]),_c('div',{staticClass:"example",staticStyle:{"margin-bottom":"5px","line-break":"anywhere"}},[_vm._v("示例:"),_c('span',{domProps:{"innerHTML":_vm._s(_vm.formulaIntro.example)}})])])])]):_vm._e(),_c('div',{staticClass:"formula-container"},[(!_vm.formulaIntro)?_c('ul',{staticStyle:{"padding-left":"20px"}},[_c('li',{staticStyle:{"list-style":"initial","margin-bottom":"20px"}},[_vm._v(" 从左侧面板选择字段名和函数,或输入函数 ")]),_c('li',{staticStyle:{"list-style":"initial"}},[_vm._v("公式编辑样式举例:"),_c('span',{staticClass:"formula-name"},[_vm._v(" AVERAGE")]),_vm._v("("),_c('span',{staticClass:"formula-field"},[_vm._v("基本工资")]),_vm._v(","),_c('span',{staticClass:"formula-field"},[_vm._v("加班工资")]),_vm._v(") ")])]):_vm._e()])])])],1)],1):_vm._e(),_c('div',{attrs:{"slot":"footer"},slot:"footer"},[_c('a-button',{on:{"click":_vm.closeDialog}},[_vm._v("取消")]),_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleConfirm}},[_vm._v("确定")])],1)],2)}
|
|
158340
|
-
var
|
|
158344
|
+
var formula_editvue_type_template_id_6c857bee_staticRenderFns = []
|
|
158341
158345
|
|
|
158342
158346
|
|
|
158343
158347
|
// EXTERNAL MODULE: ./node_modules/_core-js@3.32.1@core-js/modules/es.string.replace-all.js
|
|
@@ -159279,6 +159283,9 @@ list_2.forEach(item => {
|
|
|
159279
159283
|
data: {
|
|
159280
159284
|
type: [Object]
|
|
159281
159285
|
},
|
|
159286
|
+
widget: {
|
|
159287
|
+
type: [Object]
|
|
159288
|
+
},
|
|
159282
159289
|
boData: {
|
|
159283
159290
|
type: Array
|
|
159284
159291
|
},
|
|
@@ -159382,6 +159389,9 @@ list_2.forEach(item => {
|
|
|
159382
159389
|
dataTypes() {
|
|
159383
159390
|
return this.boData.reduce((prev, curr) => {
|
|
159384
159391
|
prev[`${curr.key}`] = curr.type;
|
|
159392
|
+
if (this.widget.tableKey && curr.key.includes(this.widget.tableKey + '.')) {
|
|
159393
|
+
prev[`${curr.key}`] = curr.currType;
|
|
159394
|
+
}
|
|
159385
159395
|
return prev;
|
|
159386
159396
|
}, {});
|
|
159387
159397
|
}
|
|
@@ -159601,8 +159611,10 @@ list_2.forEach(item => {
|
|
|
159601
159611
|
|
|
159602
159612
|
check: (0,lodash.debounce)(function () {
|
|
159603
159613
|
const {
|
|
159604
|
-
formula = ''
|
|
159614
|
+
formula = '',
|
|
159615
|
+
relyWidgets
|
|
159605
159616
|
} = this._getValue();
|
|
159617
|
+
console.log('relyWidgets:', relyWidgets);
|
|
159606
159618
|
this.form.formula = formula;
|
|
159607
159619
|
if (!formula) return this.err_msg = '';
|
|
159608
159620
|
try {
|
|
@@ -159990,25 +160002,25 @@ list_2.forEach(item => {
|
|
|
159990
160002
|
});
|
|
159991
160003
|
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=script&lang=js&
|
|
159992
160004
|
/* harmony default export */ const formula_formula_editvue_type_script_lang_js_ = (formula_editvue_type_script_lang_js_);
|
|
159993
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=0&id=
|
|
160005
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=0&id=6c857bee&prod&lang=less&
|
|
159994
160006
|
// extracted by mini-css-extract-plugin
|
|
159995
160007
|
|
|
159996
|
-
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=0&id=
|
|
160008
|
+
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=0&id=6c857bee&prod&lang=less&
|
|
159997
160009
|
|
|
159998
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=1&id=
|
|
160010
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=1&id=6c857bee&prod&lang=css&
|
|
159999
160011
|
// extracted by mini-css-extract-plugin
|
|
160000
160012
|
|
|
160001
|
-
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=1&id=
|
|
160013
|
+
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=1&id=6c857bee&prod&lang=css&
|
|
160002
160014
|
|
|
160003
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=2&id=
|
|
160015
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=2&id=6c857bee&prod&lang=css&
|
|
160004
160016
|
// extracted by mini-css-extract-plugin
|
|
160005
160017
|
|
|
160006
|
-
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=2&id=
|
|
160018
|
+
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=2&id=6c857bee&prod&lang=css&
|
|
160007
160019
|
|
|
160008
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=3&id=
|
|
160020
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.2@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.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=style&index=3&id=6c857bee&prod&lang=less&
|
|
160009
160021
|
// extracted by mini-css-extract-plugin
|
|
160010
160022
|
|
|
160011
|
-
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=3&id=
|
|
160023
|
+
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue?vue&type=style&index=3&id=6c857bee&prod&lang=less&
|
|
160012
160024
|
|
|
160013
160025
|
;// CONCATENATED MODULE: ./src/form/formula/formula-edit.vue
|
|
160014
160026
|
|
|
@@ -160024,8 +160036,8 @@ list_2.forEach(item => {
|
|
|
160024
160036
|
|
|
160025
160037
|
var formula_edit_component = (0,componentNormalizer/* default */.Z)(
|
|
160026
160038
|
formula_formula_editvue_type_script_lang_js_,
|
|
160027
|
-
|
|
160028
|
-
|
|
160039
|
+
formula_editvue_type_template_id_6c857bee_render,
|
|
160040
|
+
formula_editvue_type_template_id_6c857bee_staticRenderFns,
|
|
160029
160041
|
false,
|
|
160030
160042
|
null,
|
|
160031
160043
|
null,
|
|
@@ -160117,12 +160129,16 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
|
|
|
160117
160129
|
const tableArr = [];
|
|
160118
160130
|
const formulaComponents = this.widgetList.filter(item => {
|
|
160119
160131
|
if (item.model === this.widget.model) return false;
|
|
160132
|
+
// if (this.widget.tableKey) {
|
|
160133
|
+
// return item.tableKey !== this.widget.tableKey
|
|
160134
|
+
// }
|
|
160120
160135
|
return ['input', 'textarea', 'number', 'date'].includes(item.type);
|
|
160121
160136
|
});
|
|
160122
160137
|
return formulaComponents.map(item => {
|
|
160123
160138
|
return {
|
|
160124
160139
|
name: (item.parentType === 'table' ? '子表单.' : '') + item.name,
|
|
160125
160140
|
key: `_widget_${item.parentType === 'table' ? `${item.parentModel}.` : ''}` + item.model,
|
|
160141
|
+
currType: formula_utils/* componentTypes */.y[item.type],
|
|
160126
160142
|
type: formula_utils/* componentTypes */.y[item.parentType === 'table' ? 'array' : item.type]
|
|
160127
160143
|
};
|
|
160128
160144
|
});
|
|
@@ -160170,8 +160186,8 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
|
|
|
160170
160186
|
;
|
|
160171
160187
|
var warpFormulaEdit_component = (0,componentNormalizer/* default */.Z)(
|
|
160172
160188
|
formula_warpFormulaEditvue_type_script_lang_js_,
|
|
160173
|
-
|
|
160174
|
-
|
|
160189
|
+
warpFormulaEditvue_type_template_id_0f3f9aa6_render,
|
|
160190
|
+
warpFormulaEditvue_type_template_id_0f3f9aa6_staticRenderFns,
|
|
160175
160191
|
false,
|
|
160176
160192
|
null,
|
|
160177
160193
|
null,
|