@leevan/jtui 2.0.5 → 2.0.6
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/assets/icon/iconfont.css +532 -7
- package/examples/assets/icon/iconfont.eot +0 -0
- package/examples/assets/icon/iconfont.svg +1083 -1230
- package/examples/assets/icon/iconfont.ttf +0 -0
- package/examples/assets/icon/iconfont.woff +0 -0
- package/examples/assets/icon/iconfont.woff2 +0 -0
- package/lib/jtui.common.js +36 -22
- package/lib/jtui.css +1 -1
- package/lib/jtui.umd.js +36 -22
- package/lib/jtui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/jt-table/index.vue +44 -27
- package/packages/jt-table-pc/data2.js +6 -4
package/lib/jtui.umd.js
CHANGED
|
@@ -231256,7 +231256,7 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
231256
231256
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
231257
231257
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
231258
231258
|
|
|
231259
|
-
// 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=
|
|
231259
|
+
// 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=7027ba3e&
|
|
231260
231260
|
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,"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":{
|
|
231261
231261
|
type: 'xlsx',
|
|
231262
231262
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
@@ -231278,13 +231278,13 @@ return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px",
|
|
|
231278
231278
|
return [_vm._t("expandContent",null,{"slotScope":row})]}}],null,true)}):_vm._e(),_c('vxe-table-column',{attrs:{"title":"操作","visible":_vm.handlerConfig.show,"align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
231279
231279
|
var row = ref.row;
|
|
231280
231280
|
var rowIndex = ref.rowIndex;
|
|
231281
|
-
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-button',{key:index,attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : '
|
|
231282
|
-
color: item.color ? item.color : '#
|
|
231281
|
+
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231282
|
+
color: item.color ? item.color : '#379FF2',
|
|
231283
231283
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231284
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231285
|
-
color: item.color ? item.color : '#
|
|
231284
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])}),_vm._l((row.inBottons),function(item,index){return _c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231285
|
+
color: item.color ? item.color : '#379FF2',
|
|
231286
231286
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231287
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231287
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1291632177)})],2):_vm._e(),(_vm.tableType === 'bigData')?_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,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"span-method":_vm.spanMethod,"scroll-x":{ gt: 20 },"scroll-y":{ gt: 40, mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
|
|
231288
231288
|
type: 'xlsx',
|
|
231289
231289
|
types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
|
|
231290
231290
|
},"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"edit-config":{
|
|
@@ -231299,24 +231299,24 @@ return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px",
|
|
|
231299
231299
|
return [_vm._t("expandContent",null,{"slotScope":row})]}}],null,true)}):_vm._e(),_c('vxe-table-column',{attrs:{"title":"操作","visible":_vm.handlerConfig.show,"align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
231300
231300
|
var row = ref.row;
|
|
231301
231301
|
var rowIndex = ref.rowIndex;
|
|
231302
|
-
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-button',{key:index,attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : '
|
|
231303
|
-
color: item.color ? item.color : '#
|
|
231302
|
+
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])}),_vm._l((row.inBottons),function(item,index){return _c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))])})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return _c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231303
|
+
color: item.color ? item.color : '#379FF2',
|
|
231304
231304
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231305
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231306
|
-
color: item.color ? item.color : '#
|
|
231305
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])}),_vm._l((row.inBottons),function(item,index){return _c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231306
|
+
color: item.color ? item.color : '#379FF2',
|
|
231307
231307
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231308
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231308
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])])})]:_vm._e()]}}],null,false,1291632177)})],2):_vm._e(),(_vm.tableType === 'group')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"size":"mini","id":_vm.id,"custom-config":{ storage: true, checkMethod: _vm.checkColumnMethod },"border":_vm.border,"show-overflow":"","show-header-overflow":"","height":"auto","max-height":_vm.maxHeight,"auto-resize":"","resizable":"","highlight-current-row":"","tree-config":_vm.groupConfig,"row-class-name":_vm.rowClassName,"cell-class-name":_vm.gcellClassName,"keyboard-config":{ isArrow: true },"highlight-current-column":"","checkbox-config":{
|
|
231309
231309
|
highlight: true,
|
|
231310
231310
|
},"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"loading":_vm.loading,"data":_vm.data.DataArray},on:{"checkbox-change":_vm.treeSelectChangeEvent,"checkbox-all":_vm.treeSelectChangeEvent,"cell-click":_vm.cellClickEvent}},[(_vm.checkbox)?_c('vxe-table-column',{attrs:{"type":"checkbox","width":"38","fixed":"left","align":"center"}}):_vm._e(),(_vm.isSeq && _vm.data)?_c('vxe-table-column',{attrs:{"type":"seq","align":"center","width":_vm.req + 'px',"title":"序号","fixed":"left"}}):_vm._e(),_vm._l((_vm.data.retjson.header),function(item,index){return [_c('vxe-table-column',{key:index,attrs:{"show-overflow":"","tree-node":item.prop == _vm.treeField,"field":item.prop,"align":item.align,"type":item.html ? 'html' : '',"title":item.label,"min-width":item.width,"visible":item.width != 0,"formatter":_vm.formatEnum}})]}),(_vm.handlerConfig.show)?_c('vxe-table-column',{attrs:{"title":"操作","align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
231311
231311
|
var row = ref.row;
|
|
231312
231312
|
var rowIndex = ref.rowIndex;
|
|
231313
|
-
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + index,attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : '
|
|
231314
|
-
color: item.color ? item.color : '#
|
|
231313
|
+
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231314
|
+
color: item.color ? item.color : '#379FF2',
|
|
231315
231315
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231316
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231317
|
-
color: item.color ? item.color : '#
|
|
231316
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231317
|
+
color: item.color ? item.color : '#379FF2',
|
|
231318
231318
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231319
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231319
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,3832603369)}):_vm._e()],2):_vm._e(),(_vm.tableType === 'tree')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"size":"mini","id":_vm.id,"stripe":_vm.stripe,"show-header":_vm.treeTypeConfig.type == 'treeTable',"max-height":_vm.maxHeight,"border":_vm.border,"show-overflow":"","show-header-overflow":"","height":"auto","auto-resize":"","cell-style":_vm.cellStyle_m,"row-style":_vm.rowStyle,"span-method":_vm.spanMethod,"resizable":"","highlight-current-row":"","tree-config":_vm.treeConfig,"row-key":true,"row-id":"pkid","radio-config":{
|
|
231320
231320
|
labelField: _vm.treeTypeConfig.type !== 'treeTable' ? 'name' : '',
|
|
231321
231321
|
checkMethod: _vm.treeRadioMethod,
|
|
231322
231322
|
},"checkbox-config":{
|
|
@@ -231346,17 +231346,17 @@ return [_c('span',{staticStyle:{"position":"relative","top":"2px","right":"6px",
|
|
|
231346
231346
|
return [_vm._t("expandContent",null,{"slotScope":row})]}}],null,true)}):_vm._e(),(_vm.handlerConfig.show)?_c('vxe-table-column',{attrs:{"title":"操作","align":_vm.handlerConfig.align,"width":_vm.handlerConfig.width,"fixed":_vm.handlerConfig.fixed,"show-overflow":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
231347
231347
|
var row = ref.row;
|
|
231348
231348
|
var rowIndex = ref.rowIndex;
|
|
231349
|
-
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + index,attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : '
|
|
231350
|
-
color: item.color ? item.color : '#
|
|
231349
|
+
return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(" 更多操作"),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:'s' + index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-dropdown-item',{key:index,nativeOn:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_vm._v(_vm._s(item.name))]):_vm._e()]})],2)],1):_vm._e(),(!_vm.handlerConfig.btnGroup)?[_vm._l((_vm.data.retjson.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:'s' + index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231350
|
+
color: item.color ? item.color : '#379FF2',
|
|
231351
231351
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231352
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231353
|
-
color: item.color ? item.color : '#
|
|
231352
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]}),_vm._l((row.inBottons),function(item,index){return [(_vm.isShowAddButton(row.path, item.name))?_c('el-button',{key:index,style:(_vm.btnHover(item.bgColor)),attrs:{"type":"text","size":"mini"},on:{"click":function($event){return _vm.handlerColClick(item.funcode, row, rowIndex)}}},[_c('i',{staticClass:"jtIcon ht-icon",class:item.icon ? item.icon : 'iconxiangqing',style:({
|
|
231353
|
+
color: item.color ? item.color : '#379FF2',
|
|
231354
231354
|
fontSize: item.size ? item.size + 'px' : '16px',
|
|
231355
|
-
})}),_c('span',{staticClass:"ht-text",
|
|
231355
|
+
})}),_c('span',{staticClass:"ht-text",style:({color:item.textColor ? item.textColor : '#379FF2'})},[_vm._v(_vm._s(item.name))])]):_vm._e()]})]:_vm._e()]}}],null,false,3832603369)}):_vm._e()],2):_vm._e()],1)}
|
|
231356
231356
|
var staticRenderFns = []
|
|
231357
231357
|
|
|
231358
231358
|
|
|
231359
|
-
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=
|
|
231359
|
+
// CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=7027ba3e&
|
|
231360
231360
|
|
|
231361
231361
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
231362
231362
|
var es_array_concat = __webpack_require__("99af");
|
|
@@ -232316,6 +232316,14 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232316
232316
|
//
|
|
232317
232317
|
//
|
|
232318
232318
|
//
|
|
232319
|
+
//
|
|
232320
|
+
//
|
|
232321
|
+
//
|
|
232322
|
+
//
|
|
232323
|
+
//
|
|
232324
|
+
//
|
|
232325
|
+
//
|
|
232326
|
+
//
|
|
232319
232327
|
|
|
232320
232328
|
/* harmony default export */ var jt_tablevue_type_script_lang_js_ = ({
|
|
232321
232329
|
name: "jt-table-pc",
|
|
@@ -232561,6 +232569,12 @@ var xe_utils_default = /*#__PURE__*/__webpack_require__.n(xe_utils);
|
|
|
232561
232569
|
};
|
|
232562
232570
|
},
|
|
232563
232571
|
methods: {
|
|
232572
|
+
btnHover: function btnHover(color) {
|
|
232573
|
+
return {
|
|
232574
|
+
backgroundColor: color ? color : '',
|
|
232575
|
+
"--background-color-hover": color ? color + 'B3' : '#EAF5FE' + 'B3'
|
|
232576
|
+
};
|
|
232577
|
+
},
|
|
232564
232578
|
//指定位置插入数据
|
|
232565
232579
|
insertAt: function insertAt(records, row) {
|
|
232566
232580
|
this.$refs[this.id].insertAt(records, row);
|