@leevan/jtui 2.0.23 → 2.0.25
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/examples/tableTest/table-ptbg.vue +2 -2
- package/lib/jtui.common.js +64 -60
- package/lib/jtui.umd.js +64 -60
- package/lib/jtui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/jt-form-pc/JtFormPc.vue +3 -3
- package/packages/jt-table/index.vue +10 -7
- package/packages/jt-table-pc/data2.js +1 -1
|
@@ -131,11 +131,11 @@ import { data1 } from '../data2';
|
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
created(){
|
|
134
|
-
const res =
|
|
134
|
+
const res = data23();
|
|
135
135
|
this.tableData[0].retjson = res[0].retjson;
|
|
136
136
|
},
|
|
137
137
|
mounted(){
|
|
138
|
-
const res =
|
|
138
|
+
const res = data23();
|
|
139
139
|
let timeId = setTimeout(()=>{
|
|
140
140
|
this.$refs.tablePtbg.loadData(res[0].DataArray);
|
|
141
141
|
clearTimeout(timeId);
|
package/lib/jtui.common.js
CHANGED
|
@@ -231258,7 +231258,7 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
231258
231258
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
231259
231259
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
231260
231260
|
|
|
231261
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=
|
|
231261
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=bf10b30e&
|
|
231262
231262
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
|
|
231263
231263
|
type: 'xlsx',
|
|
231264
231264
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
@@ -231358,7 +231358,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231358
231358
|
var staticRenderFns = []
|
|
231359
231359
|
|
|
231360
231360
|
|
|
231361
|
-
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=
|
|
231361
|
+
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=bf10b30e&
|
|
231362
231362
|
|
|
231363
231363
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
231364
231364
|
var es_array_concat = __webpack_require__("99af");
|
|
@@ -231453,21 +231453,6 @@ function _defineProperty(obj, key, value) {
|
|
|
231453
231453
|
|
|
231454
231454
|
return obj;
|
|
231455
231455
|
}
|
|
231456
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
231457
|
-
function _arrayLikeToArray(arr, len) {
|
|
231458
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
231459
|
-
|
|
231460
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
231461
|
-
arr2[i] = arr[i];
|
|
231462
|
-
}
|
|
231463
|
-
|
|
231464
|
-
return arr2;
|
|
231465
|
-
}
|
|
231466
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
231467
|
-
|
|
231468
|
-
function _arrayWithoutHoles(arr) {
|
|
231469
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
231470
|
-
}
|
|
231471
231456
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
231472
231457
|
var es_symbol = __webpack_require__("a4d3");
|
|
231473
231458
|
|
|
@@ -231477,9 +231462,6 @@ var es_symbol_description = __webpack_require__("e01a");
|
|
|
231477
231462
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
231478
231463
|
var es_symbol_iterator = __webpack_require__("d28b");
|
|
231479
231464
|
|
|
231480
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
231481
|
-
var es_array_from = __webpack_require__("a630");
|
|
231482
|
-
|
|
231483
231465
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
231484
231466
|
var es_array_iterator = __webpack_require__("e260");
|
|
231485
231467
|
|
|
@@ -231489,6 +231471,47 @@ var es_string_iterator = __webpack_require__("3ca3");
|
|
|
231489
231471
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
231490
231472
|
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
231491
231473
|
|
|
231474
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
231475
|
+
|
|
231476
|
+
|
|
231477
|
+
|
|
231478
|
+
|
|
231479
|
+
|
|
231480
|
+
|
|
231481
|
+
|
|
231482
|
+
function _typeof(obj) {
|
|
231483
|
+
"@babel/helpers - typeof";
|
|
231484
|
+
|
|
231485
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
231486
|
+
_typeof = function _typeof(obj) {
|
|
231487
|
+
return typeof obj;
|
|
231488
|
+
};
|
|
231489
|
+
} else {
|
|
231490
|
+
_typeof = function _typeof(obj) {
|
|
231491
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
231492
|
+
};
|
|
231493
|
+
}
|
|
231494
|
+
|
|
231495
|
+
return _typeof(obj);
|
|
231496
|
+
}
|
|
231497
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
231498
|
+
function _arrayLikeToArray(arr, len) {
|
|
231499
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
231500
|
+
|
|
231501
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
231502
|
+
arr2[i] = arr[i];
|
|
231503
|
+
}
|
|
231504
|
+
|
|
231505
|
+
return arr2;
|
|
231506
|
+
}
|
|
231507
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
231508
|
+
|
|
231509
|
+
function _arrayWithoutHoles(arr) {
|
|
231510
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
231511
|
+
}
|
|
231512
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
231513
|
+
var es_array_from = __webpack_require__("a630");
|
|
231514
|
+
|
|
231492
231515
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
231493
231516
|
|
|
231494
231517
|
|
|
@@ -231797,6 +231820,7 @@ var component = normalizeComponent(
|
|
|
231797
231820
|
|
|
231798
231821
|
|
|
231799
231822
|
|
|
231823
|
+
|
|
231800
231824
|
//
|
|
231801
231825
|
//
|
|
231802
231826
|
//
|
|
@@ -232885,6 +232909,9 @@ var component = normalizeComponent(
|
|
|
232885
232909
|
};
|
|
232886
232910
|
}
|
|
232887
232911
|
},
|
|
232912
|
+
objectTxt: function objectTxt(cellValue) {
|
|
232913
|
+
return _typeof(cellValue) == 'object' ? JSON.stringify(cellValue) : cellValue;
|
|
232914
|
+
},
|
|
232888
232915
|
//枚举转换
|
|
232889
232916
|
formatEnum: function formatEnum(_ref) {
|
|
232890
232917
|
var column = _ref.column,
|
|
@@ -232908,38 +232935,38 @@ var component = normalizeComponent(
|
|
|
232908
232935
|
str += "<span \n class=\"jtIcon ".concat(item.icon, "\" style=\"\n color:").concat(item.color, ";\n font-size:").concat(item.size, "px;\n margin-right:").concat(item.margin || "8", "px\"\n onclick=\"iconItem(").concat(i, ")\"\n ></span>");
|
|
232909
232936
|
}
|
|
232910
232937
|
});
|
|
232911
|
-
return str ? str : cellValue;
|
|
232938
|
+
return str ? str : this.objectTxt(cellValue);
|
|
232912
232939
|
} else {
|
|
232913
232940
|
var item = data.html.find(function (item) {
|
|
232914
232941
|
return item.value == cellValue;
|
|
232915
232942
|
});
|
|
232916
|
-
return item ? "<span class=\"jtIcon ".concat(item.icon, "\" style=\"color:").concat(item.color, ";font-size:").concat(item.size, "px\"></span>") : cellValue;
|
|
232943
|
+
return item ? "<span class=\"jtIcon ".concat(item.icon, "\" style=\"color:").concat(item.color, ";font-size:").concat(item.size, "px\"></span>") : this.objectTxt(cellValue);
|
|
232917
232944
|
}
|
|
232918
232945
|
} else if (data.htmlType == "a") {
|
|
232919
232946
|
var _item = data.html.find(function (item) {
|
|
232920
232947
|
return item.value == cellValue;
|
|
232921
232948
|
});
|
|
232922
232949
|
|
|
232923
|
-
return _item ? "<a href=\"javascript:\">".concat(cellValue, "</a>") : cellValue;
|
|
232950
|
+
return _item ? "<a href=\"javascript:\">".concat(cellValue, "</a>") : this.objectTxt(cellValue);
|
|
232924
232951
|
} else if (data.htmlType == 'tag') {
|
|
232925
232952
|
var _item2 = data.html.find(function (item) {
|
|
232926
232953
|
return item.value == cellValue;
|
|
232927
232954
|
});
|
|
232928
232955
|
|
|
232929
|
-
return _item2 ? "<span style=\"\n display:inline-block;\n background-color: #fdf6ec;\n height: 26px;\n padding: 0 10px;\n line-height: 26px;\n font-size: 12px;\n color: #e6a23c;\n border: 1px solid #d9ecff;\n border-radius: 4px;\n box-sizing: border-box;\n white-space: nowrap;\n \">".concat(_item2.label, "</span>") : cellValue;
|
|
232956
|
+
return _item2 ? "<span style=\"\n display:inline-block;\n background-color: #fdf6ec;\n height: 26px;\n padding: 0 10px;\n line-height: 26px;\n font-size: 12px;\n color: #e6a23c;\n border: 1px solid #d9ecff;\n border-radius: 4px;\n box-sizing: border-box;\n white-space: nowrap;\n \">".concat(_item2.label, "</span>") : this.objectTxt(cellValue);
|
|
232930
232957
|
}
|
|
232931
232958
|
} else if (data && "enum" in data) {
|
|
232932
232959
|
var _item3 = data.enum.find(function (item) {
|
|
232933
232960
|
return item.value == cellValue;
|
|
232934
232961
|
});
|
|
232935
232962
|
|
|
232936
|
-
return _item3 ? _item3.label : cellValue;
|
|
232963
|
+
return _item3 ? _item3.label : this.objectTxt(cellValue);
|
|
232937
232964
|
} else {
|
|
232938
|
-
return cellValue;
|
|
232965
|
+
return this.objectTxt(cellValue);
|
|
232939
232966
|
}
|
|
232940
232967
|
} catch (error) {
|
|
232941
232968
|
console.log(error);
|
|
232942
|
-
return cellValue;
|
|
232969
|
+
return this.objectTxt(cellValue);
|
|
232943
232970
|
}
|
|
232944
232971
|
},
|
|
232945
232972
|
//全局排序自定义排序方法
|
|
@@ -233592,8 +233619,8 @@ jt_table.install = function (Vue) {
|
|
|
233592
233619
|
|
|
233593
233620
|
|
|
233594
233621
|
/* harmony default export */ var packages_jt_table = (jt_table);
|
|
233595
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=
|
|
233596
|
-
var
|
|
233622
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=420f9044&
|
|
233623
|
+
var JtFormPcvue_type_template_id_420f9044_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"jt-form-class-only",style:(_vm.style)},[_c('el-form',{ref:_vm.id,attrs:{"model":_vm.model,"label-width":_vm.labelWidth === 'auto' ? _vm.labelWidth : _vm.labelWidth+'px',"label-position":_vm.labelPosition,"rules":_vm.rules,"size":_vm.size,"inline":_vm.inline}},_vm._l((_vm.formConfig),function(item,index){return _c('el-form-item',{key:index,attrs:{"prop":item.modelKey,"label":item.label}},[(item.type === 'empty')?_c('div',{style:({width:item.width ? item.width === 'auto' ?
|
|
233597
233624
|
item.width : item.width + 'px' : '200px',height:_vm.type2size(_vm.size)})}):_vm._e(),(item.type === 'upload')?_vm._t(item.slotName ? item.slotName :'upload'):_vm._e(),(item.type === 'custom')?_c('el-tooltip',{attrs:{"popper-class":"jt-form-popper","placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._t(item.slotName)],2),_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}})],1):_vm._e(),(item.type === 'text')?_c('span',{staticClass:"ht-text"},[_vm._v(_vm._s(_vm.model[item.modelKey]))]):_vm._e(),(item.type === 'input')?_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : '',"type":item.iType ? item.iType : 'text',"disabled":item.disabled ? item.disabled : false},on:{"focus":function($event){return _vm.focus(item.modelKey,$event)},"blur":function($event){return _vm.blur(item.modelKey,$event)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},[('isPwd' in item)?_c('i',{staticClass:"jtIcon",class:item.isPwd ? 'iconyincangmima' : 'iconxianshimima',attrs:{"slot":"suffix"},on:{"click":function($event){$event.stopPropagation();return _vm.eyeClick(item)}},slot:"suffix"}):_vm._e()]):_vm._e(),(item.type === 'iNumber')?_c('el-input-number',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"min":item.min!=undefined ? item.min : -1.7976931348623157E+10308,"max":item.max!=undefined ? item.max : 1.7976931348623157E+10308,"controls-position":"right"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'select')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"default-first-option":"","disabled":item.disabled ? item.disabled : false,"filterable":item.isCreate ? true : false,"allow-create":item.isCreate ? true : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'select_r')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"filterable":"","remote":"","remote-method":item.path ? _vm.selectRemoteData({
|
|
233598
233625
|
path: item.path,
|
|
233599
233626
|
childPath: item.childPath,
|
|
@@ -233604,10 +233631,10 @@ var JtFormPcvue_type_template_id_68352a90_render = function () {var _vm=this;var
|
|
|
233604
233631
|
params:item.params,
|
|
233605
233632
|
checkStrictly:item.checkStrictly,
|
|
233606
233633
|
multiple:item.multiple})},on:{"change":function($event){return _vm.casChange(item.refName? item.refName : 'elCascader',item.modelKey)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'date')?_c('el-date-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"type":item.dType,"value-format":item.valFormat,"unlink-panels":"","start-placeholder":"开始日期","end-placeholder":"结束日期","placeholder":"选择日期"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'time')?_c('el-time-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"value-format":"HH:mm:ss","disabled":item.disabled ? item.disabled : false,"placeholder":item.placeholder ? item.placeholder : '请选择时间'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-right":"5px"}},[_vm._v(_vm._s(item.bText))]):_vm._e(),(item.type === 'switch')?_c('el-switch',{attrs:{"disabled":item.disabled ? item.disabled : false,"active-text":item.rt ? item.rt : '',"inactive-text":item.lt ? item.lt : '',"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-left":"5px"}},[_vm._v(_vm._s(item.fText))]):_vm._e(),(item.type === 'checkbox')?_c('el-checkbox-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-checkbox',{key:index,attrs:{"label":i.value,"disabled":i.disabled ? i.disabled : false}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'radio')?_c('el-radio-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-radio',{key:index,attrs:{"disabled":i.disabled ? i.disabled : false,"label":i.value}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'monthDay')?_c('monthDay',{attrs:{"width":item.width ? item.width : '100'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.button)?_c('el-button',{staticClass:"jt-form-item-button",on:{"click":function($event){return _vm.itemClick(item.button.value,index)}}},[_vm._v(" "+_vm._s(item.button.label)+" ")]):_vm._e(),(item.type === 'autocomplete')?_c('el-autocomplete',{staticClass:"inline-input",style:({width:item.width ? item.width + 'px' : '100px'}),attrs:{"fetch-suggestions":item.querySearch,"placeholder":item.placeholder ? item.placeholder : '请输入'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e()],2)}),1)],1)}
|
|
233607
|
-
var
|
|
233634
|
+
var JtFormPcvue_type_template_id_420f9044_staticRenderFns = []
|
|
233608
233635
|
|
|
233609
233636
|
|
|
233610
|
-
// CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=
|
|
233637
|
+
// CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=420f9044&
|
|
233611
233638
|
|
|
233612
233639
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
233613
233640
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -234400,8 +234427,8 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
|
234400
234427
|
var _this = this;
|
|
234401
234428
|
|
|
234402
234429
|
var path = config.path,
|
|
234403
|
-
childPath = config.childPath;
|
|
234404
|
-
|
|
234430
|
+
childPath = config.childPath; // let param = config.params || {};
|
|
234431
|
+
|
|
234405
234432
|
var multiple = config.multiple || false;
|
|
234406
234433
|
var checkStrictly = config.checkStrictly || false;
|
|
234407
234434
|
return {
|
|
@@ -234426,7 +234453,7 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
|
234426
234453
|
}
|
|
234427
234454
|
|
|
234428
234455
|
_context.next = 4;
|
|
234429
|
-
return _this.$axios.post(path + childPath,
|
|
234456
|
+
return _this.$axios.post(path + childPath, _this3.lazyLoadParams);
|
|
234430
234457
|
|
|
234431
234458
|
case 4:
|
|
234432
234459
|
_yield$_this$$axios$p = _context.sent;
|
|
@@ -234457,7 +234484,7 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
|
234457
234484
|
|
|
234458
234485
|
case 11:
|
|
234459
234486
|
_context.next = 13;
|
|
234460
|
-
return _this.$axios.post(path + res.path,
|
|
234487
|
+
return _this.$axios.post(path + res.path, _this3.lazyLoadParams);
|
|
234461
234488
|
|
|
234462
234489
|
case 13:
|
|
234463
234490
|
_yield$_this$$axios$p2 = _context.sent;
|
|
@@ -234550,8 +234577,8 @@ var JtFormPcvue_type_style_index_0_lang_css_ = __webpack_require__("2e7d");
|
|
|
234550
234577
|
|
|
234551
234578
|
var JtFormPc_component = normalizeComponent(
|
|
234552
234579
|
jt_form_pc_JtFormPcvue_type_script_lang_js_,
|
|
234553
|
-
|
|
234554
|
-
|
|
234580
|
+
JtFormPcvue_type_template_id_420f9044_render,
|
|
234581
|
+
JtFormPcvue_type_template_id_420f9044_staticRenderFns,
|
|
234555
234582
|
false,
|
|
234556
234583
|
null,
|
|
234557
234584
|
null,
|
|
@@ -237727,29 +237754,6 @@ var tabsBtnvue_type_template_id_07d1e8aa_scoped_true_staticRenderFns = []
|
|
|
237727
237754
|
|
|
237728
237755
|
// CONCATENATED MODULE: ./packages/jt-table/components/tabsBtn.vue?vue&type=template&id=07d1e8aa&scoped=true&
|
|
237729
237756
|
|
|
237730
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
237731
|
-
|
|
237732
|
-
|
|
237733
|
-
|
|
237734
|
-
|
|
237735
|
-
|
|
237736
|
-
|
|
237737
|
-
|
|
237738
|
-
function _typeof(obj) {
|
|
237739
|
-
"@babel/helpers - typeof";
|
|
237740
|
-
|
|
237741
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
237742
|
-
_typeof = function _typeof(obj) {
|
|
237743
|
-
return typeof obj;
|
|
237744
|
-
};
|
|
237745
|
-
} else {
|
|
237746
|
-
_typeof = function _typeof(obj) {
|
|
237747
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
237748
|
-
};
|
|
237749
|
-
}
|
|
237750
|
-
|
|
237751
|
-
return _typeof(obj);
|
|
237752
|
-
}
|
|
237753
237757
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/components/tabsBtn.vue?vue&type=script&lang=js&
|
|
237754
237758
|
|
|
237755
237759
|
|
package/lib/jtui.umd.js
CHANGED
|
@@ -231267,7 +231267,7 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
231267
231267
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
231268
231268
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
231269
231269
|
|
|
231270
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=
|
|
231270
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=bf10b30e&
|
|
231271
231271
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
|
|
231272
231272
|
type: 'xlsx',
|
|
231273
231273
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
@@ -231367,7 +231367,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
|
|
|
231367
231367
|
var staticRenderFns = []
|
|
231368
231368
|
|
|
231369
231369
|
|
|
231370
|
-
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=
|
|
231370
|
+
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=bf10b30e&
|
|
231371
231371
|
|
|
231372
231372
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
231373
231373
|
var es_array_concat = __webpack_require__("99af");
|
|
@@ -231462,21 +231462,6 @@ function _defineProperty(obj, key, value) {
|
|
|
231462
231462
|
|
|
231463
231463
|
return obj;
|
|
231464
231464
|
}
|
|
231465
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
231466
|
-
function _arrayLikeToArray(arr, len) {
|
|
231467
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
231468
|
-
|
|
231469
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
231470
|
-
arr2[i] = arr[i];
|
|
231471
|
-
}
|
|
231472
|
-
|
|
231473
|
-
return arr2;
|
|
231474
|
-
}
|
|
231475
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
231476
|
-
|
|
231477
|
-
function _arrayWithoutHoles(arr) {
|
|
231478
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
231479
|
-
}
|
|
231480
231465
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
231481
231466
|
var es_symbol = __webpack_require__("a4d3");
|
|
231482
231467
|
|
|
@@ -231486,9 +231471,6 @@ var es_symbol_description = __webpack_require__("e01a");
|
|
|
231486
231471
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
231487
231472
|
var es_symbol_iterator = __webpack_require__("d28b");
|
|
231488
231473
|
|
|
231489
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
231490
|
-
var es_array_from = __webpack_require__("a630");
|
|
231491
|
-
|
|
231492
231474
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
231493
231475
|
var es_array_iterator = __webpack_require__("e260");
|
|
231494
231476
|
|
|
@@ -231498,6 +231480,47 @@ var es_string_iterator = __webpack_require__("3ca3");
|
|
|
231498
231480
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
231499
231481
|
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
231500
231482
|
|
|
231483
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
231484
|
+
|
|
231485
|
+
|
|
231486
|
+
|
|
231487
|
+
|
|
231488
|
+
|
|
231489
|
+
|
|
231490
|
+
|
|
231491
|
+
function _typeof(obj) {
|
|
231492
|
+
"@babel/helpers - typeof";
|
|
231493
|
+
|
|
231494
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
231495
|
+
_typeof = function _typeof(obj) {
|
|
231496
|
+
return typeof obj;
|
|
231497
|
+
};
|
|
231498
|
+
} else {
|
|
231499
|
+
_typeof = function _typeof(obj) {
|
|
231500
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
231501
|
+
};
|
|
231502
|
+
}
|
|
231503
|
+
|
|
231504
|
+
return _typeof(obj);
|
|
231505
|
+
}
|
|
231506
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
231507
|
+
function _arrayLikeToArray(arr, len) {
|
|
231508
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
231509
|
+
|
|
231510
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
231511
|
+
arr2[i] = arr[i];
|
|
231512
|
+
}
|
|
231513
|
+
|
|
231514
|
+
return arr2;
|
|
231515
|
+
}
|
|
231516
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
231517
|
+
|
|
231518
|
+
function _arrayWithoutHoles(arr) {
|
|
231519
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
231520
|
+
}
|
|
231521
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
231522
|
+
var es_array_from = __webpack_require__("a630");
|
|
231523
|
+
|
|
231501
231524
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
231502
231525
|
|
|
231503
231526
|
|
|
@@ -231806,6 +231829,7 @@ var component = normalizeComponent(
|
|
|
231806
231829
|
|
|
231807
231830
|
|
|
231808
231831
|
|
|
231832
|
+
|
|
231809
231833
|
//
|
|
231810
231834
|
//
|
|
231811
231835
|
//
|
|
@@ -232894,6 +232918,9 @@ var component = normalizeComponent(
|
|
|
232894
232918
|
};
|
|
232895
232919
|
}
|
|
232896
232920
|
},
|
|
232921
|
+
objectTxt: function objectTxt(cellValue) {
|
|
232922
|
+
return _typeof(cellValue) == 'object' ? JSON.stringify(cellValue) : cellValue;
|
|
232923
|
+
},
|
|
232897
232924
|
//枚举转换
|
|
232898
232925
|
formatEnum: function formatEnum(_ref) {
|
|
232899
232926
|
var column = _ref.column,
|
|
@@ -232917,38 +232944,38 @@ var component = normalizeComponent(
|
|
|
232917
232944
|
str += "<span \n class=\"jtIcon ".concat(item.icon, "\" style=\"\n color:").concat(item.color, ";\n font-size:").concat(item.size, "px;\n margin-right:").concat(item.margin || "8", "px\"\n onclick=\"iconItem(").concat(i, ")\"\n ></span>");
|
|
232918
232945
|
}
|
|
232919
232946
|
});
|
|
232920
|
-
return str ? str : cellValue;
|
|
232947
|
+
return str ? str : this.objectTxt(cellValue);
|
|
232921
232948
|
} else {
|
|
232922
232949
|
var item = data.html.find(function (item) {
|
|
232923
232950
|
return item.value == cellValue;
|
|
232924
232951
|
});
|
|
232925
|
-
return item ? "<span class=\"jtIcon ".concat(item.icon, "\" style=\"color:").concat(item.color, ";font-size:").concat(item.size, "px\"></span>") : cellValue;
|
|
232952
|
+
return item ? "<span class=\"jtIcon ".concat(item.icon, "\" style=\"color:").concat(item.color, ";font-size:").concat(item.size, "px\"></span>") : this.objectTxt(cellValue);
|
|
232926
232953
|
}
|
|
232927
232954
|
} else if (data.htmlType == "a") {
|
|
232928
232955
|
var _item = data.html.find(function (item) {
|
|
232929
232956
|
return item.value == cellValue;
|
|
232930
232957
|
});
|
|
232931
232958
|
|
|
232932
|
-
return _item ? "<a href=\"javascript:\">".concat(cellValue, "</a>") : cellValue;
|
|
232959
|
+
return _item ? "<a href=\"javascript:\">".concat(cellValue, "</a>") : this.objectTxt(cellValue);
|
|
232933
232960
|
} else if (data.htmlType == 'tag') {
|
|
232934
232961
|
var _item2 = data.html.find(function (item) {
|
|
232935
232962
|
return item.value == cellValue;
|
|
232936
232963
|
});
|
|
232937
232964
|
|
|
232938
|
-
return _item2 ? "<span style=\"\n display:inline-block;\n background-color: #fdf6ec;\n height: 26px;\n padding: 0 10px;\n line-height: 26px;\n font-size: 12px;\n color: #e6a23c;\n border: 1px solid #d9ecff;\n border-radius: 4px;\n box-sizing: border-box;\n white-space: nowrap;\n \">".concat(_item2.label, "</span>") : cellValue;
|
|
232965
|
+
return _item2 ? "<span style=\"\n display:inline-block;\n background-color: #fdf6ec;\n height: 26px;\n padding: 0 10px;\n line-height: 26px;\n font-size: 12px;\n color: #e6a23c;\n border: 1px solid #d9ecff;\n border-radius: 4px;\n box-sizing: border-box;\n white-space: nowrap;\n \">".concat(_item2.label, "</span>") : this.objectTxt(cellValue);
|
|
232939
232966
|
}
|
|
232940
232967
|
} else if (data && "enum" in data) {
|
|
232941
232968
|
var _item3 = data.enum.find(function (item) {
|
|
232942
232969
|
return item.value == cellValue;
|
|
232943
232970
|
});
|
|
232944
232971
|
|
|
232945
|
-
return _item3 ? _item3.label : cellValue;
|
|
232972
|
+
return _item3 ? _item3.label : this.objectTxt(cellValue);
|
|
232946
232973
|
} else {
|
|
232947
|
-
return cellValue;
|
|
232974
|
+
return this.objectTxt(cellValue);
|
|
232948
232975
|
}
|
|
232949
232976
|
} catch (error) {
|
|
232950
232977
|
console.log(error);
|
|
232951
|
-
return cellValue;
|
|
232978
|
+
return this.objectTxt(cellValue);
|
|
232952
232979
|
}
|
|
232953
232980
|
},
|
|
232954
232981
|
//全局排序自定义排序方法
|
|
@@ -233601,8 +233628,8 @@ jt_table.install = function (Vue) {
|
|
|
233601
233628
|
|
|
233602
233629
|
|
|
233603
233630
|
/* harmony default export */ var packages_jt_table = (jt_table);
|
|
233604
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=
|
|
233605
|
-
var
|
|
233631
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=420f9044&
|
|
233632
|
+
var JtFormPcvue_type_template_id_420f9044_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"jt-form-class-only",style:(_vm.style)},[_c('el-form',{ref:_vm.id,attrs:{"model":_vm.model,"label-width":_vm.labelWidth === 'auto' ? _vm.labelWidth : _vm.labelWidth+'px',"label-position":_vm.labelPosition,"rules":_vm.rules,"size":_vm.size,"inline":_vm.inline}},_vm._l((_vm.formConfig),function(item,index){return _c('el-form-item',{key:index,attrs:{"prop":item.modelKey,"label":item.label}},[(item.type === 'empty')?_c('div',{style:({width:item.width ? item.width === 'auto' ?
|
|
233606
233633
|
item.width : item.width + 'px' : '200px',height:_vm.type2size(_vm.size)})}):_vm._e(),(item.type === 'upload')?_vm._t(item.slotName ? item.slotName :'upload'):_vm._e(),(item.type === 'custom')?_c('el-tooltip',{attrs:{"popper-class":"jt-form-popper","placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._t(item.slotName)],2),_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}})],1):_vm._e(),(item.type === 'text')?_c('span',{staticClass:"ht-text"},[_vm._v(_vm._s(_vm.model[item.modelKey]))]):_vm._e(),(item.type === 'input')?_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : '',"type":item.iType ? item.iType : 'text',"disabled":item.disabled ? item.disabled : false},on:{"focus":function($event){return _vm.focus(item.modelKey,$event)},"blur":function($event){return _vm.blur(item.modelKey,$event)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},[('isPwd' in item)?_c('i',{staticClass:"jtIcon",class:item.isPwd ? 'iconyincangmima' : 'iconxianshimima',attrs:{"slot":"suffix"},on:{"click":function($event){$event.stopPropagation();return _vm.eyeClick(item)}},slot:"suffix"}):_vm._e()]):_vm._e(),(item.type === 'iNumber')?_c('el-input-number',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"min":item.min!=undefined ? item.min : -1.7976931348623157E+10308,"max":item.max!=undefined ? item.max : 1.7976931348623157E+10308,"controls-position":"right"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'select')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"default-first-option":"","disabled":item.disabled ? item.disabled : false,"filterable":item.isCreate ? true : false,"allow-create":item.isCreate ? true : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'select_r')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"filterable":"","remote":"","remote-method":item.path ? _vm.selectRemoteData({
|
|
233607
233634
|
path: item.path,
|
|
233608
233635
|
childPath: item.childPath,
|
|
@@ -233613,10 +233640,10 @@ var JtFormPcvue_type_template_id_68352a90_render = function () {var _vm=this;var
|
|
|
233613
233640
|
params:item.params,
|
|
233614
233641
|
checkStrictly:item.checkStrictly,
|
|
233615
233642
|
multiple:item.multiple})},on:{"change":function($event){return _vm.casChange(item.refName? item.refName : 'elCascader',item.modelKey)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'date')?_c('el-date-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"type":item.dType,"value-format":item.valFormat,"unlink-panels":"","start-placeholder":"开始日期","end-placeholder":"结束日期","placeholder":"选择日期"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'time')?_c('el-time-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"value-format":"HH:mm:ss","disabled":item.disabled ? item.disabled : false,"placeholder":item.placeholder ? item.placeholder : '请选择时间'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-right":"5px"}},[_vm._v(_vm._s(item.bText))]):_vm._e(),(item.type === 'switch')?_c('el-switch',{attrs:{"disabled":item.disabled ? item.disabled : false,"active-text":item.rt ? item.rt : '',"inactive-text":item.lt ? item.lt : '',"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-left":"5px"}},[_vm._v(_vm._s(item.fText))]):_vm._e(),(item.type === 'checkbox')?_c('el-checkbox-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-checkbox',{key:index,attrs:{"label":i.value,"disabled":i.disabled ? i.disabled : false}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'radio')?_c('el-radio-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-radio',{key:index,attrs:{"disabled":i.disabled ? i.disabled : false,"label":i.value}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'monthDay')?_c('monthDay',{attrs:{"width":item.width ? item.width : '100'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.button)?_c('el-button',{staticClass:"jt-form-item-button",on:{"click":function($event){return _vm.itemClick(item.button.value,index)}}},[_vm._v(" "+_vm._s(item.button.label)+" ")]):_vm._e(),(item.type === 'autocomplete')?_c('el-autocomplete',{staticClass:"inline-input",style:({width:item.width ? item.width + 'px' : '100px'}),attrs:{"fetch-suggestions":item.querySearch,"placeholder":item.placeholder ? item.placeholder : '请输入'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e()],2)}),1)],1)}
|
|
233616
|
-
var
|
|
233643
|
+
var JtFormPcvue_type_template_id_420f9044_staticRenderFns = []
|
|
233617
233644
|
|
|
233618
233645
|
|
|
233619
|
-
// CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=
|
|
233646
|
+
// CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=420f9044&
|
|
233620
233647
|
|
|
233621
233648
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
233622
233649
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -234409,8 +234436,8 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
|
234409
234436
|
var _this = this;
|
|
234410
234437
|
|
|
234411
234438
|
var path = config.path,
|
|
234412
|
-
childPath = config.childPath;
|
|
234413
|
-
|
|
234439
|
+
childPath = config.childPath; // let param = config.params || {};
|
|
234440
|
+
|
|
234414
234441
|
var multiple = config.multiple || false;
|
|
234415
234442
|
var checkStrictly = config.checkStrictly || false;
|
|
234416
234443
|
return {
|
|
@@ -234435,7 +234462,7 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
|
234435
234462
|
}
|
|
234436
234463
|
|
|
234437
234464
|
_context.next = 4;
|
|
234438
|
-
return _this.$axios.post(path + childPath,
|
|
234465
|
+
return _this.$axios.post(path + childPath, _this3.lazyLoadParams);
|
|
234439
234466
|
|
|
234440
234467
|
case 4:
|
|
234441
234468
|
_yield$_this$$axios$p = _context.sent;
|
|
@@ -234466,7 +234493,7 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
|
234466
234493
|
|
|
234467
234494
|
case 11:
|
|
234468
234495
|
_context.next = 13;
|
|
234469
|
-
return _this.$axios.post(path + res.path,
|
|
234496
|
+
return _this.$axios.post(path + res.path, _this3.lazyLoadParams);
|
|
234470
234497
|
|
|
234471
234498
|
case 13:
|
|
234472
234499
|
_yield$_this$$axios$p2 = _context.sent;
|
|
@@ -234559,8 +234586,8 @@ var JtFormPcvue_type_style_index_0_lang_css_ = __webpack_require__("2e7d");
|
|
|
234559
234586
|
|
|
234560
234587
|
var JtFormPc_component = normalizeComponent(
|
|
234561
234588
|
jt_form_pc_JtFormPcvue_type_script_lang_js_,
|
|
234562
|
-
|
|
234563
|
-
|
|
234589
|
+
JtFormPcvue_type_template_id_420f9044_render,
|
|
234590
|
+
JtFormPcvue_type_template_id_420f9044_staticRenderFns,
|
|
234564
234591
|
false,
|
|
234565
234592
|
null,
|
|
234566
234593
|
null,
|
|
@@ -237736,29 +237763,6 @@ var tabsBtnvue_type_template_id_07d1e8aa_scoped_true_staticRenderFns = []
|
|
|
237736
237763
|
|
|
237737
237764
|
// CONCATENATED MODULE: ./packages/jt-table/components/tabsBtn.vue?vue&type=template&id=07d1e8aa&scoped=true&
|
|
237738
237765
|
|
|
237739
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
237740
|
-
|
|
237741
|
-
|
|
237742
|
-
|
|
237743
|
-
|
|
237744
|
-
|
|
237745
|
-
|
|
237746
|
-
|
|
237747
|
-
function _typeof(obj) {
|
|
237748
|
-
"@babel/helpers - typeof";
|
|
237749
|
-
|
|
237750
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
237751
|
-
_typeof = function _typeof(obj) {
|
|
237752
|
-
return typeof obj;
|
|
237753
|
-
};
|
|
237754
|
-
} else {
|
|
237755
|
-
_typeof = function _typeof(obj) {
|
|
237756
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
237757
|
-
};
|
|
237758
|
-
}
|
|
237759
|
-
|
|
237760
|
-
return _typeof(obj);
|
|
237761
|
-
}
|
|
237762
237766
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/components/tabsBtn.vue?vue&type=script&lang=js&
|
|
237763
237767
|
|
|
237764
237768
|
|