cloud-web-corejs 1.0.54-dev.677 → 1.0.54-dev.678

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.
@@ -8,5 +8,1184 @@ import { extendDeeply } from "../../utils/index.js";
8
8
  import corejsConfig from "@/corejsConfig";
9
9
  import settingConfig from "@/settings.js";
10
10
  import { getCellValue, createParams } from "./util/index";
11
- var _0x84623c=["\u0031\u0031\u0037\u002e",".711".split("").reverse().join(""),".711".split("").reverse().join(""),"\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e",".321.401.701.101.201.201.39.801.311.59".split("").reverse().join(""),"\u0031\u0030\u0036\u002e\u0039\u0037\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0036\u002e\u0039\u0038\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0032\u002e\u0031\u0031\u0033\u002e","\u0031\u0032\u0033\u002e\u0039\u0036\u002e\u0031\u0031\u0030\u002e\u0039\u0037\u002e\u0031\u0032\u0035\u002e","\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0031\u0031\u0031\u002e\u0031\u0032\u0035\u002e","\u0033\u0039\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0039\u002e\u0031\u0031\u0032\u002e\u0033\u0036\u002e\u0033\u0036\u002e\u0031\u0032\u0036\u002e\u0031\u0032\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0031\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e\u0035\u0035\u002e\u0033\u0039\u002e\u0031\u0032\u0037\u002e\u0031\u0031\u0033\u002e\u0031\u0030\u0038\u002e\u0033\u0036\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0033\u0036\u002e\u0033\u0036\u002e\u0039\u0037\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0039\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e\u0034\u0031\u002e\u0033\u0039\u002e\u0031\u0032\u0037\u002e\u0031\u0031\u0033\u002e\u0031\u0030\u0038\u002e\u0033\u0036\u002e\u0039\u0037\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0039\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e\u0033\u0036\u002e\u0033\u0036\u002e\u0031\u0032\u0033\u002e\u0031\u0030\u0032\u002e\u0031\u0032\u0036\u002e","\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0031\u002e\u0039\u0036\u002e\u0031\u0030\u0039\u002e","\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e","\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e",".521.301.801.521.301.201.47.321.801.521.101.69.111".split("").reverse().join(""),"\u0031\u0031\u0031\u002e\u0039\u0036\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e\u0037\u0034\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e","\u0031\u0031\u0034\u002e\u0033\u002e\u0034\u0031\u002e\u0034\u0031\u002e\u0034\u0033\u002e\u0031\u0030\u0039\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e\u0034\u0033\u002e\u0035\u0031\u002e\u0034\u0031\u002e\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e\u0033\u002e\u0031\u0031\u0036\u002e","\u0031\u0031\u0034\u002e\u0033\u002e\u0034\u0031\u002e\u0034\u0031\u002e\u0034\u0033\u002e\u0031\u0030\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0038\u002e\u0034\u0033\u002e\u0035\u0031\u002e\u0034\u0031\u002e\u0034\u0033\u002e\u0037\u0039\u002e\u0039\u0036\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e\u0037\u0034\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e\u0034\u0033\u002e\u0033\u002e\u0031\u0031\u0036\u002e","\u0031\u0030\u0036\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e","\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e",".301.401.121.221".split("").reverse().join(""),"\u0032\u0036\u0034\u0030\u0035\u002e\u0033\u0039\u0030\u0033\u0036\u002e\u0033\u0035\u0037\u0036\u0039\u002e\u0032\u0034\u0034\u0031\u0032\u002e\u0032\u0035\u0039\u0037\u0037\u002e","\u0034\u0031\u002e","\u0034\u0031\u002e","\u0031\u0032\u0032\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0033\u002e","\u0036\u0035\u0032\u0038\u0035\u002e",".301.401.121.221".split("").reverse().join(""),".611.3.611.14.14.3.34.901.801.321.63.111.34.14.15.34.221.221.401.101.601.34.14.14.14.14.3.411.14.15.34.221.321.521.521.401.34.14.14.3.411".split("").reverse().join(""),".14".split("").reverse().join(""),".14".split("").reverse().join(""),"\u0031\u0032\u0032\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0033\u002e",".611.3.75.65.14.15.34.521.011.34.14.14.3.411".split("").reverse().join(""),".611.411".split("").reverse().join(""),"\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e","\u0033\u0037\u002e",".301.201.69.521.601.301.421.111".split("").reverse().join(""),"\u0031\u0032\u0032\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0032\u002e\u0031\u0032\u0032\u002e","\u0031\u0030\u0038\u002e\u0031\u0030\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0039\u002e","\u0036\u0030\u002e\u0035\u0039\u002e\u0034\u0039\u002e\u0031\u0032\u0031\u002e\u0031\u0031\u0033\u002e","\u0031\u0031\u0034\u002e\u0033\u002e\u0034\u0031\u002e\u0034\u0031\u002e\u0034\u0033\u002e\u0031\u0031\u0030\u002e\u0031\u0032\u0035\u002e\u0034\u0033\u002e\u0035\u0031\u002e\u0034\u0031\u002e\u0035\u0039\u002e\u0035\u0037\u002e\u0033\u0037\u002e\u0033\u002e\u0034\u0031\u002e\u0034\u0031\u002e\u0034\u0033\u002e\u0031\u0030\u0032\u002e\u0039\u0030\u002e\u0039\u0036\u002e\u0031\u0031\u0035\u002e\u0031\u0030\u0038\u002e\u0034\u0033\u002e\u0035\u0031\u002e\u0034\u0031\u002e\u0035\u0039\u002e\u0035\u0037\u002e\u0033\u002e\u0031\u0031\u0036\u002e",".611.411".split("").reverse().join(""),"\u0031\u0032\u0032\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0032\u002e\u0031\u0032\u0032\u002e","\u0033\u0038\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0038\u0036\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0033\u002e\u0033\u0038\u002e\u0031\u0031\u0030\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0035\u002e\u0039\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0036\u0037\u002e\u0031\u0032\u0032\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e","\u0039\u0039\u002e\u0031\u0032\u0032\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e\u0037\u0037\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e","\u0033\u0038\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0038\u0036\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0033\u002e\u0033\u0038\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0039\u002e\u0031\u0030\u0039\u002e\u0039\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0036\u0037\u002e\u0031\u0032\u0032\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e","\u0031\u0031\u0037\u002e","\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e",".611.411".split("").reverse().join(""),"\u0031\u0032\u0032\u002e\u0031\u0030\u0032\u002e\u0031\u0032\u0033\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0039\u002e\u0037\u0034\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0032\u002e",".001.321.69.111.301.201.601".split("").reverse().join(""),"\u0031\u0032\u0033\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0032\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0035\u002e","\u0033\u0038\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0038\u0036\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0033\u002e\u0033\u0038\u002e\u0031\u0031\u0030\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0035\u002e\u0039\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0037\u0037\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e","\u0033\u0038\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0038\u0036\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0033\u002e\u0033\u0038\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0039\u002e\u0031\u0030\u0039\u002e\u0039\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0037\u0037\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0034\u002e","\u0036\u0037\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0032\u0031\u002e\u0037\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0038\u002e\u0031\u0032\u0033\u002e","\u0037\u0031\u002e\u0031\u0030\u0038\u002e\u0031\u0031\u0033\u002e\u0031\u0032\u0035\u002e\u0038\u0039\u002e\u0031\u0030\u0034\u002e\u0031\u0031\u0030\u002e\u0031\u0030\u0038\u002e",".321.801.701.001.421.17.121.001.421.76".split("").reverse().join(""),"\u0037\u0031\u002e\u0031\u0030\u0038\u002e\u0031\u0031\u0033\u002e\u0031\u0032\u0035\u002e\u0038\u0039\u002e\u0031\u0030\u0034\u002e\u0031\u0031\u0030\u002e\u0031\u0030\u0038\u002e"];function _0x989(_4,_5){_5=9;var _,_2,_3="";_2=_4.split("\u002e");for(_=0;_<_2.length-1;_++){_3+=String.fromCharCode(_2[_]^_5);}return _3;}let configUtil={'\u0053\u006f\u0072\u0074\u0061\u0062\u006c\u0065':Sortable,"extendDeeply":extendDeeply,'\u0074\u0061\u0062\u006c\u0065\u0043\u006f\u006e\u0066\u0069\u0067':tableConfig,'\u0056\u0075\u0065':Vue};function getGrid(_0xfa,_0x8b,_0x11cdeg){var _0x222a6a='\u0030\u007c\u0031'['\x73\x70\x6c\x69\x74'](_0x989(_0x84623c[0])),_0xb94ad=function(s,h){return s^h;}(888197,888197);while(!![]){switch(+_0x222a6a[_0xb94ad++]){case 308866^308866:if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0xfa['\x24\x72\x65\x66\x73'][_0x8b])){_0x11cdeg=_0xfa['\x24\x72\x65\x66\x73'][_0x8b][203918^203918];}else{_0x11cdeg=_0xfa['\x24\x72\x65\x66\x73'][_0x8b];}continue;case 660729^660728:return _0x11cdeg;continue;}break;}}function columnSubtreeContainsLeaf(_0xbcb44e,_0x90b5c){var _0xc902ff='\u0030\u007c\u0034\u007c\u0033\u007c\u0032\u007c\u0031'['\x73\x70\x6c\x69\x74'](_0x989(_0x84623c[1])),_0x6d449c=function(s,h){return s^h;}(648694,648694);while(!![]){switch(+_0xc902ff[_0x6d449c++]){case 601799^601799:if(!_0xbcb44e||!_0x90b5c)return![];continue;case 268040^268041:return![];continue;case 813443^813441:if(_0xbcb44e['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0xbcb44e['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']){return _0xbcb44e['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x73\x6f\x6d\x65'](child=>columnSubtreeContainsLeaf(child,_0x90b5c));}continue;case 107534^107533:if(_0x90b5c['\x69\x64']&&_0xbcb44e['\x69\x64']&&String(_0xbcb44e['\x69\x64'])===String(_0x90b5c['\x69\x64']))return!![];continue;case 565585^565589:if(_0xbcb44e===_0x90b5c)return!![];continue;}break;}}function collectTopRootIndex(_0x9ge,_0xbe6bc){var _0xg1625d="\u0030\u007c\u0031"['\x73\x70\x6c\x69\x74'](_0x989(_0x84623c[2])),_0xd5596a=function(s,h){return s^h;}(331661,331661);while(!![]){switch(+_0xg1625d[_0xd5596a++]){case 585075^585075:if(!_0x9ge||!_0x9ge['\x6c\x65\x6e\x67\x74\x68']||!_0xbe6bc)return-(931226^931227);continue;case 277726^277727:return _0x9ge['\x66\x69\x6e\x64\x49\x6e\x64\x65\x78'](root=>columnSubtreeContainsLeaf(root,_0xbe6bc));continue;}break;}}async function initVxeTable(_0xbdaf){let _0x8a4d9c=_0xbdaf['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65'];if(!configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']['\x64\x69\x73\x61\x62\x6c\x65\x54\x61\x62\x6c\x65\x4e\x61\x6d\x65']&&_0xbdaf['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65\x52\x65\x71\x75\x69\x72\x65\x64']!==![]&&!_0x8a4d9c&&settingConfig['\x74\x61\x62\x6c\x65\x53\x74\x6f\x72\x61\x67\x65\x44\x69\x73\x61\x62\x6c\x65\x64']!==!![]){return![];}let _0x9344c=_0xbdaf['\x76\x75\x65'];if(!_0x9344c['\x24\x72\x65\x66\x73'][_0xbdaf['\x74\x61\x62\x6c\x65\x52\x65\x66']]){await _0x9344c['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b']();}let _0x378eff=getGrid(_0x9344c,_0xbdaf['\x74\x61\x62\x6c\x65\x52\x65\x66']);if(!_0x378eff){return![];}delete _0xbdaf['\x76\x75\x65'];handleCustomAlign(_0xbdaf);initColumnIndex(_0xbdaf['\x63\x6f\x6c\x75\x6d\x6e\x73']);let _0x27a28b=_0x9344c['\x24\x62\x61\x73\x65\x4c\x6f\x64\x61\x73\x68']['\x63\x6c\x6f\x6e\x65\x44\x65\x65\x70'](_0xbdaf);_0x27a28b['\x76\x75\x65']=_0x9344c;_0x378eff['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e']=_0x27a28b;_0xbdaf['\x76\x75\x65']=_0x9344c;let _0x5feg=!![];if(_0xbdaf['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65']!==null&&_0xbdaf['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65']!==undefined){_0x5feg=_0xbdaf['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65'];}let _0x8be7da=null;if(_0x8a4d9c){_0x378eff['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65']=_0x8a4d9c;if(_0xbdaf['\x70\x61\x74\x68']){await getTableData(_0x9344c,_0xbdaf['\x74\x61\x62\x6c\x65\x52\x65\x66'],"egaPllAyreuQsi".split("").reverse().join(""),res1=>{let _0xe77=res1['\x6f\x62\x6a\x78']?res1['\x6f\x62\x6a\x78']['\x64\x61\x74\x61']:null;if(_0xe77!==null&&_0xe77!==undefined){if(_0xe77==="eslaf".split("").reverse().join("")||_0xe77===![]){_0x5feg=function(){return![];}();}else{_0x5feg=!![];}}});}await getTableJson(_0x8a4d9c,_0x9344c,resultMsg=>{let _0x2a95e=resultMsg['\x6f\x62\x6a\x78'];if(_0x2a95e!==null&&_0x2a95e!==undefined){let _0x1cc1d=_0x2a95e['\x64\x61\x74\x61'];if(_0x1cc1d){let _0xdfeca=JSON['\x70\x61\x72\x73\x65'](decodeURIComponent(_0x1cc1d));let _0x3f84f=_0xdfeca['\x63\x6f\x6c\x75\x6d\x6e\x73']?_0xdfeca['\x63\x6f\x6c\x75\x6d\x6e\x73']:_0xdfeca;if(_0x3f84f){_0xbdaf['\x63\x6f\x6c\x75\x6d\x6e\x73']=initColumn(_0xbdaf,_0x3f84f);}_0x8be7da=initSearchColumns(_0xbdaf['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73'],_0xdfeca['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']);_0x378eff['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']=_0x8be7da;initExportColumns(_0x378eff,_0xdfeca);}}if(!_0x8be7da||!_0x8be7da['\x6c\x65\x6e\x67\x74\x68']){_0x8be7da=initSearchColumns(_0xbdaf['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']);_0x378eff['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']=_0x8be7da;}});}else{_0x8be7da=initSearchColumns(_0xbdaf['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']);_0x378eff['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']=_0x8be7da;}if(!!_0x378eff?.$refs?.xTable){_0x378eff['\x24\x72\x65\x66\x73']['\x78\x54\x61\x62\x6c\x65']['\x67\x65\x74\x43\x65\x6c\x6c\x56\x61\x6c\x75\x65']=getCellValue;_0x378eff['\x24\x72\x65\x66\x73']['\x78\x54\x61\x62\x6c\x65']['\x63\x72\x65\x61\x74\x65\x50\x61\x72\x61\x6d\x73']=createParams;}_0xbdaf['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65']=_0x5feg;let _0xb9529f=initOption(_0xbdaf);if(_0x8a4d9c){_0xb9529f['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65']=_0x8a4d9c;}_0xb9529f['\x76\x75\x65']=_0x9344c;columnDrop(_0x9344c,_0x8a4d9c,_0xbdaf['\x74\x61\x62\x6c\x65\x52\x65\x66']);handleToolbar(_0x378eff,_0xbdaf);let _0xaf44ge={'\u006f\u0072\u0069\u0067\u0069\u006e\u004f\u0070\u0074\u0069\u006f\u006e':_0x27a28b,"\u0067\u0065\u0074\u0043\u0065\u006c\u006c\u0056\u0061\u006c\u0075\u0065":getCellValue,"\u0063\u0072\u0065\u0061\u0074\u0065\u0050\u0061\u0072\u0061\u006d\u0073":createParams,"isQueryAllPage":_0x5feg,'\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073':_0x8be7da};if(!_0xb9529f['\x70\x61\x72\x61\x6d\x73'])_0xb9529f['\x70\x61\x72\x61\x6d\x73']=JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[3]));Object['\x61\x73\x73\x69\x67\x6e'](_0xb9529f['\x70\x61\x72\x61\x6d\x73'],_0xaf44ge);return _0xb9529f;}function handleToolbar(_0x64bg9d,_0xg19c){let _0x32304a=getSelfConfig();if(_0xg19c['\x62\x69\x6e\x64\x54\x6f\x6f\x6c\x62\x61\x72']||_0xg19c['\x62\x69\x6e\x64\x54\x6f\x6f\x6c\x62\x61\x72']!==![]&&_0x32304a['\x62\x69\x6e\x64\x54\x6f\x6f\x6c\x62\x61\x72']){let _0xbfeae=function(_0xddfe){if(_0xddfe&&_0xddfe['\x6c\x65\x6e\x67\x74\x68']){_0xddfe['\x66\x6f\x72\x45\x61\x63\x68'](item=>{if(item['\x24\x6f\x70\x74\x69\x6f\x6e\x73']['\x6e\x61\x6d\x65']===_0x989(_0x84623c[4])){_0x64bg9d['\x63\x6f\x6e\x6e\x65\x63\x74'](item);}else{_0xbfeae(item['\x24\x63\x68\x69\x6c\x64\x72\x65\x6e']);}});}};that['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b'](()=>{_0xbfeae(_0x64bg9d['\x24\x63\x68\x69\x6c\x64\x72\x65\x6e']);});}}function handleCustomAlign(_0xa1ac){let _0x52f26c=getSelfConfig();let _0x3dec=_0x52f26c['\x63\x75\x73\x74\x6f\x6d\x41\x6c\x69\x67\x6e']===![]?![]:_0x52f26c['\x63\x75\x73\x74\x6f\x6d\x41\x6c\x69\x67\x6e']||"thgir".split("").reverse().join("");_0x3dec=_0xa1ac['\x63\x75\x73\x74\x6f\x6d\x41\x6c\x69\x67\x6e']===![]?![]:_0xa1ac['\x63\x75\x73\x74\x6f\x6d\x41\x6c\x69\x67\x6e']||_0x3dec;let _0xb1108f=_0xa1ac['\x63\x75\x73\x74\x6f\x6d\x43\x6f\x6c\x75\x6d\x6e\x57\x69\x64\x74\x68']||_0x52f26c['\x63\x75\x73\x74\x6f\x6d\x43\x6f\x6c\x75\x6d\x6e\x57\x69\x64\x74\x68']||853245^853202;let _0x78b8fa=_0xa1ac['\x63\x68\x65\x63\x6b\x42\x6f\x78\x43\x6f\x6c\x75\x6d\x6e\x57\x69\x64\x74\x68']||_0x52f26c['\x63\x68\x65\x63\x6b\x42\x6f\x78\x43\x6f\x6c\x75\x6d\x6e\x57\x69\x64\x74\x68']||513225^513273;let _0x325b=function(s,h){return s!==h;}(_0x52f26c['\x63\x68\x65\x63\x6b\x42\x6f\x78\x52\x65\x71\x75\x69\x72\x65\x64'],false);if(_0xa1ac['\x63\x68\x65\x63\x6b\x42\x6f\x78\x52\x65\x71\x75\x69\x72\x65\x64']===false){_0x325b=function(){return false;}();}let _0xgf3=_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x6c\x65\x6e\x67\x74\x68'];if(_0xgf3>(778528^778528)){if(_0x325b){let _0x98f40b=_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73'][350980^350980];if(_0x98f40b['\x74\x79\x70\x65']!==_0x989(_0x84623c[5])){_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x73\x70\x6c\x69\x63\x65'](712587^712587,815506^815506,{"type":"\u0063\u0068\u0065\u0063\u006b\u0062\u006f\u0078","width":_0x78b8fa,"\u0072\u0065\u0073\u0069\u007a\u0061\u0062\u006c\u0065":![],'\u0066\u0069\u0078\u0065\u0064':"\u006c\u0065\u0066\u0074"});}}if(_0x3dec!==false){let _0xbe3=_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73'][_0xgf3-(659798^659799)];if(_0x3dec==="tfel".split("").reverse().join("")){if(!_0xbe3['\x66\x69\x65\x6c\x64']&&_0xbe3['\x66\x69\x78\x65\x64']==="thgir".split("").reverse().join("")){_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x73\x70\x6c\x69\x63\x65'](_0xgf3-(275837^275836),198625^198624);_0xbe3['\x66\x69\x78\x65\x64']=function(){return"tfel".split("").reverse().join("");}();_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x73\x70\x6c\x69\x63\x65'](840613^840612,277972^277972,_0xbe3);}else if(_0xgf3>(823963^823962)){if(_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73'][963712^963713]['\x66\x69\x65\x6c\x64']){_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x73\x70\x6c\x69\x63\x65'](268632^268633,497816^497816,{"width":_0xb1108f,'\u0066\u0069\u0078\u0065\u0064':"\u006c\u0065\u0066\u0074",'\u0074\u0069\u0074\u006c\u0065':"",'\u0073\u006f\u0072\u0074\u0061\u0062\u006c\u0065':![]});}}}else if(_0x3dec===_0x989(_0x84623c[6])){let _0xa84=_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73'][737122^737123];if(!_0xa84['\x66\x69\x65\x6c\x64']&&_0xa84['\x66\x69\x78\x65\x64']===_0x989(_0x84623c[7])){_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x73\x70\x6c\x69\x63\x65'](858957^858956,114545^114544);_0xa84['\x66\x69\x78\x65\x64']=function(){return"thgir".split("").reverse().join("");}();_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x70\x75\x73\x68'](_0xa84);}else if(_0xbe3['\x66\x69\x65\x6c\x64']||_0xbe3['\x66\x69\x78\x65\x64']!=="thgir".split("").reverse().join("")){_0xa1ac['\x63\x6f\x6c\x75\x6d\x6e\x73']['\x70\x75\x73\x68']({'\u0077\u0069\u0064\u0074\u0068':_0xb1108f,"\u0066\u0069\u0078\u0065\u0064":"\u0072\u0069\u0067\u0068\u0074","\u0074\u0069\u0074\u006c\u0065":"",'\u0073\u006f\u0072\u0074\u0061\u0062\u006c\u0065':![]});}}}}}function columnDrop(_0xdgg,_0xa3e,_0x22cdf){let _0xf23f=_0xdgg;const _0x23c7bb=getGrid(_0xf23f,_0x22cdf);if(!_0x23c7bb){return;}if(_0x23c7bb['\x73\x6f\x72\x74\x61\x62\x6c\x65']){_0x23c7bb['\x73\x6f\x72\x74\x61\x62\x6c\x65']['\x64\x65\x73\x74\x72\x6f\x79']();_0x23c7bb['\x73\x6f\x72\x74\x61\x62\x6c\x65']=null;}let _0x532a3a=-(679019^679018);let _0x3cf=-(727263^727262);_0x23c7bb['\x73\x6f\x72\x74\x61\x62\x6c\x65']=configUtil['\x53\x6f\x72\x74\x61\x62\x6c\x65']['\x63\x72\x65\x61\x74\x65'](_0x23c7bb['\x24\x65\x6c']['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63\x74\x6f\x72'](_0x989(_0x84623c[8])),{"\u0068\u0061\u006e\u0064\u006c\u0065":"\u002e\u0076\u0078\u0065\u002d\u0068\u0065\u0061\u0064\u0065\u0072\u002d\u002d\u0063\u006f\u006c\u0075\u006d\u006e\u003a\u006e\u006f\u0074\u0028\u002e\u0063\u006f\u006c\u002d\u002d\u0066\u0069\u0078\u0065\u0064\u0029",'\u006f\u006e\u004d\u006f\u0076\u0065':(a,b,c)=>{let{'\u0064\u0072\u0061\u0067\u0067\u0065\u0064':dragged,'\u0072\u0065\u006c\u0061\u0074\u0065\u0064':related}=a;let _0x9cd9f=_0x23c7bb['\x67\x65\x74\x54\x61\x62\x6c\x65\x43\x6f\x6c\x75\x6d\x6e']()['\x74\x61\x62\x6c\x65\x43\x6f\x6c\x75\x6d\x6e'];let _0x2c7e=dragged['\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65']("diloc".split("").reverse().join(""));let _0x3641a=related['\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65'](_0x989(_0x84623c[9]));_0x532a3a=_0x9cd9f['\x66\x69\x6e\x64\x49\x6e\x64\x65\x78'](item=>item['\x69\x64']===_0x2c7e);_0x3cf=_0x9cd9f['\x66\x69\x6e\x64\x49\x6e\x64\x65\x78'](item=>item['\x69\x64']===_0x3641a);},'\u006f\u006e\u0045\u006e\u0064':dropParam=>{let{"item":item}=dropParam;let _0xf498ef=_0x532a3a;let _0x7g047d=_0x3cf;if(_0x7g047d<(949408^949408))_0x7g047d=dropParam['\x6e\x65\x77\x49\x6e\x64\x65\x78'];const{'\u0066\u0075\u006c\u006c\u0043\u006f\u006c\u0075\u006d\u006e':fullColumn,"\u0074\u0061\u0062\u006c\u0065\u0043\u006f\u006c\u0075\u006d\u006e":tableColumn,'\u0063\u006f\u006c\u006c\u0065\u0063\u0074\u0043\u006f\u006c\u0075\u006d\u006e':collectColumn}=_0x23c7bb['\x67\x65\x74\x54\x61\x62\x6c\x65\x43\x6f\x6c\x75\x6d\x6e']();const _0x6c37ad=item;const _0xbbd2d=_0x6c37ad['\x70\x61\x72\x65\x6e\x74\x4e\x6f\x64\x65'];let _0x0bdc=tableColumn[_0xf498ef];let _0xd91=_0x0bdc['\x74\x69\x74\x6c\x65'];const _0x291=tableColumn[_0x7g047d];if(!_0x291)return;let _0xa435cd=_0x291['\x74\x69\x74\x6c\x65'];if(_0x291['\x66\x69\x78\x65\x64']){if(_0x7g047d>_0xf498ef){_0xbbd2d['\x69\x6e\x73\x65\x72\x74\x42\x65\x66\x6f\x72\x65'](_0x6c37ad,_0xbbd2d['\x63\x68\x69\x6c\x64\x72\x65\x6e'][_0xf498ef]);}else{_0xbbd2d['\x69\x6e\x73\x65\x72\x74\x42\x65\x66\x6f\x72\x65'](_0xbbd2d['\x63\x68\x69\x6c\x64\x72\x65\x6e'][_0xf498ef],_0x6c37ad);}return;}const _0xbe3b8b=fullColumn['\x66\x69\x6e\x64\x49\x6e\x64\x65\x78'](item=>item['\x69\x64']===_0x0bdc['\x69\x64']);const _0xafe1c=fullColumn['\x66\x69\x6e\x64\x49\x6e\x64\x65\x78'](item=>item['\x69\x64']===_0x291['\x69\x64']);const _0xb4f1d=fullColumn[_0xbe3b8b];const _0xbd7ae=fullColumn[_0xafe1c];let _0x1672ab=_0xb4f1d['\x74\x69\x74\x6c\x65'];let _0x9cged=_0xbd7ae['\x74\x69\x74\x6c\x65'];if(_0xbe3b8b===_0xafe1c){return;}const _0x1c1=collectTopRootIndex(collectColumn,_0xb4f1d);const _0xc22f6c=collectTopRootIndex(collectColumn,_0xbd7ae);if(_0x1c1===-(122365^122364)||_0xc22f6c===-(307494^307495)){return;}if(_0x1c1!==_0xc22f6c){let _0xf7ae2c=collectColumn[_0x1c1];let _0x6d192f=collectColumn[_0xc22f6c];let _0x86a=_0xf7ae2c['\x74\x69\x74\x6c\x65'];let _0x668f=_0x6d192f['\x74\x69\x74\x6c\x65'];const _0xf8e=collectColumn['\x73\x70\x6c\x69\x63\x65'](_0x1c1,825519^825518)[847933^847933];collectColumn['\x73\x70\x6c\x69\x63\x65'](_0xc22f6c,144695^144695,_0xf8e);_0x23c7bb['\x6c\x6f\x61\x64\x43\x6f\x6c\x75\x6d\x6e'](collectColumn);addTableJson(_0xf23f,_0x23c7bb,_0xa3e,collectColumn);}}});}function getSelfConfig(_0x36d80a,_0xd9ae3a){return _0xd9ae3a=(_0x36d80a=configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']||JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[10])),_0x36d80a['\x73\x65\x6c\x66\x43\x6f\x6e\x66\x69\x67']||JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[11]))),_0xd9ae3a;}function initColumnDefaulAttrs(_0xf1de,_0x48c){let _0x117f5d=configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']||JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join(""));let _0x84caa=getSelfConfig();let _0x6f091a=_0x48c['\x6c\x6f\x63\x6b\x43\x68\x65\x63\x6b\x62\x6f\x78\x57\x69\x64\x74\x68']!==![]?_0x48c['\x6c\x6f\x63\x6b\x43\x68\x65\x63\x6b\x62\x6f\x78\x57\x69\x64\x74\x68']||_0x84caa['\x6c\x6f\x63\x6b\x43\x68\x65\x63\x6b\x62\x6f\x78\x57\x69\x64\x74\x68']:null;let _0xggb=_0x48c['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']!==false&&!_0x48c['\x74\x72\x65\x65\x4e\x6f\x64\x65\x55\x72\x6c']?_0x48c['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']||_0x84caa['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']||"tnetnoCretlif".split("").reverse().join(""):null;let _0xad71eb=_0x48c['\x73\x6f\x72\x74\x41\x6c\x6c']===!![]||_0x48c['\x73\x6f\x72\x74\x41\x6c\x6c']!==false&&!_0x48c['\x74\x72\x65\x65\x4e\x6f\x64\x65\x55\x72\x6c'];_0xf1de['\x66\x6f\x72\x45\x61\x63\x68'](column=>{if(!column['\x63\x68\x69\x6c\x64\x72\x65\x6e']||column['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']===(616802^616802)){if(_0xad71eb&&column['\x74\x69\x74\x6c\x65']&&(column['\x73\x6f\x72\x74\x61\x62\x6c\x65']===null||column['\x73\x6f\x72\x74\x61\x62\x6c\x65']===undefined)){column['\x73\x6f\x72\x74\x61\x62\x6c\x65']=!![];}if(_0xggb&&column['\x74\x69\x74\x6c\x65']&&column['\x66\x69\x65\x6c\x64']){if(column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']===_0x989(_0x84623c[12])||(column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']===null||column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']===undefined)&&_0xggb===_0x989(_0x84623c[13])){if(!column['\x66\x69\x6c\x74\x65\x72\x73']){column['\x66\x69\x6c\x74\x65\x72\x73']=[JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[14]))];}if(!column['\x66\x69\x6c\x74\x65\x72\x52\x65\x6e\x64\x65\x72']){column['\x66\x69\x6c\x74\x65\x72\x52\x65\x6e\x64\x65\x72']=JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[15]));}}else if(column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']==="tupnIretlif".split("").reverse().join("")||(column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']===null||column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']===undefined)&&_0xggb==="tupnIretlif".split("").reverse().join("")){if(!column['\x66\x69\x6c\x74\x65\x72\x73']){column['\x66\x69\x6c\x74\x65\x72\x73']=[JSON['\x70\x61\x72\x73\x65']("}\n\"\" :\"atad\" \n{".split("").reverse().join(""))];}if(!column['\x66\x69\x6c\x74\x65\x72\x52\x65\x6e\x64\x65\x72']){column['\x66\x69\x6c\x74\x65\x72\x52\x65\x6e\x64\x65\x72']=JSON['\x70\x61\x72\x73\x65']("}\n\"tupnIretliF\" :\"eman\" \n{".split("").reverse().join(""));}}}if(_0x6f091a&&column['\x74\x79\x70\x65']==="xobkcehc".split("").reverse().join("")){column['\x77\x69\x64\x74\x68']=_0x6f091a;}}else{column['\x73\x6f\x72\x74\x61\x62\x6c\x65']=function(){return![];}();column['\x66\x69\x6c\x74\x65\x72\x54\x79\x70\x65']=function(){return![];}();column['\x61\x6c\x69\x67\x6e']=function(){return _0x989(_0x84623c[16]);}();column['\x72\x65\x73\x69\x7a\x61\x62\x6c\x65']=function(){return false;}();initColumnDefaulAttrs(column['\x63\x68\x69\x6c\x64\x72\x65\x6e'],_0x48c);}});}function initOption(_0xbb11fc){let _0x6b0e=JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join(""));let _0x95a8gg=_0xbb11fc['\x76\x75\x65'];let _0xb08=getGrid(_0x95a8gg,_0xbb11fc['\x74\x61\x62\x6c\x65\x52\x65\x66']);let _0x58c7b=_0xbb11fc['\x70\x61\x74\x68']||"";let _0xf08=_0xbb11fc['\x63\x6f\x6c\x75\x6d\x6e\x73']||[];let _0x308=_0xbb11fc['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65'];let _0xd997da=getPagerConfigLayouts(_0xbb11fc);let _0xaf3fec=_0xbb11fc['\x63\x6f\x6e\x66\x69\x67']||JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[17]));initColumnDefaulAttrs(_0xf08,_0xbb11fc);let _0xgcfda={'\u0063\u006f\u006c\u0075\u006d\u006e\u004b\u0065\u0079':!![],'\u0072\u0065\u0073\u0069\u007a\u0061\u0062\u006c\u0065':!![],'\u0073\u0068\u006f\u0077\u004f\u0076\u0065\u0072\u0066\u006c\u006f\u0077':!![],"\u0073\u0068\u006f\u0077\u0048\u0065\u0061\u0064\u0065\u0072\u004f\u0076\u0065\u0072\u0066\u006c\u006f\u0077":!![],"\u0073\u0068\u006f\u0077\u0046\u006f\u006f\u0074\u0065\u0072\u004f\u0076\u0065\u0072\u0066\u006c\u006f\u0077":!![],'\u0068\u0069\u0067\u0068\u006c\u0069\u0067\u0068\u0074\u0048\u006f\u0076\u0065\u0072\u0052\u006f\u0077':!![],'\u0062\u006f\u0072\u0064\u0065\u0072':"\u0069\u006e\u006e\u0065\u0072",'\u0068\u0065\u0069\u0067\u0068\u0074':"\u0061\u0075\u0074\u006f","\u0065\u006d\u0070\u0074\u0079\u0054\u0065\u0078\u0074":"\u0020",'\u0073\u006f\u0072\u0074\u0043\u006f\u006e\u0066\u0069\u0067':JSON['\x70\x61\x72\x73\x65']("}\neslaf :\"etomer\" \n,\"llec\" :\"reggirt\" \n{".split("").reverse().join("")),"\u0066\u0069\u006c\u0074\u0065\u0072\u0043\u006f\u006e\u0066\u0069\u0067":JSON['\x70\x61\x72\x73\x65']("}\neslaf :\"etomer\" \n{".split("").reverse().join("")),'\u0070\u0061\u0067\u0065\u0072\u0043\u006f\u006e\u0066\u0069\u0067':{"\u0061\u0075\u0074\u006f\u0048\u0069\u0064\u0064\u0065\u006e":!![],"perfect":!![],'\u0070\u0061\u0067\u0065\u0053\u0069\u007a\u0065':200,'\u0070\u0061\u0067\u0065\u0053\u0069\u007a\u0065\u0073':[254309^254295,300357^300321,375594^375778,410606^410138],"layouts":_0xd997da,"\u0073\u006c\u006f\u0074\u0073":{'\u006c\u0065\u0066\u0074':(obj,b,c)=>{let _0xggd095419=obj['\x24\x67\x72\x69\x64'];let _0x56a9gd=_0xggd095419['\x24\x64\x61\x74\x61'];let _0x9c9=_0xggd095419['\x67\x65\x74\x54\x61\x62\x6c\x65\x44\x61\x74\x61']();let _0xac5bb=_0x9c9['\x66\x75\x6c\x6c\x44\x61\x74\x61'];let _0x410=_0xggd095419['\x24\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74'];let _0xe22d=_0xggd095419['\x67\x65\x74\x50\x72\x6f\x78\x79\x49\x6e\x66\x6f']();let _0xc78fdd=_0xe22d?_0xe22d['\x70\x61\x67\x65\x72']:null;let _0x3566eb=[_0x410(_0x989(_0x84623c[18]),_0xggd095419['\x24\x74\x32'](_0x989(_0x84623c[19]),"muNtnerruc.elbat.stnenopmoc".split("").reverse().join(""))),_0x410("naps".split("").reverse().join(""),JSON['\x70\x61\x72\x73\x65']("}\n} \n\"der-f\" :\"ssalc\" \n{ :\"srtta\" \n{".split("").reverse().join("")),_0x989(_0x84623c[20])+_0x9c9['\x76\x69\x73\x69\x62\x6c\x65\x44\x61\x74\x61']['\x6c\x65\x6e\x67\x74\x68']+_0x989(_0x84623c[21]))];if(_0xc78fdd&&_0xggd095419['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65']){_0x3566eb['\x70\x75\x73\x68'](_0x410(_0x989(_0x84623c[22]),_0x989(_0x84623c[23])+_0xggd095419['\x24\x74\x32']("\u6570\u5F55\u8BB0\u603B".split("").reverse().join(""),"muNlatot.elbat.stnenopmoc".split("").reverse().join(""))));_0x3566eb['\x70\x75\x73\x68'](_0x410(_0x989(_0x84623c[24]),JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[25])),_0x989(_0x84623c[26])+_0xc78fdd['\x74\x6f\x74\x61\x6c']+_0x989(_0x84623c[27])));}let _0x7210bc=_0x410(_0x989(_0x84623c[28]),JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join("")),_0x3566eb);return[_0x7210bc];}}},"\u0065\u0078\u0070\u006f\u0072\u0074\u0043\u006f\u006e\u0066\u0069\u0067":JSON['\x70\x61\x72\x73\x65']("}\n]\"lla\" ,\"tnerruc\"[ :\"sedom\" \n,]\"txt\" ,\"lmx\" ,\"lmth\" ,\"vsc\" ,\"xslx\"[ :\"sepyt\" \n,\"xslx\" :\"epyt\" \n{".split("").reverse().join("")),'\u0072\u0061\u0064\u0069\u006f\u0043\u006f\u006e\u0066\u0069\u0067':{'\u006c\u0061\u0062\u0065\u006c\u0046\u0069\u0065\u006c\u0064':"\u0069\u0064",'\u0072\u0065\u0073\u0065\u0072\u0076\u0065':!![],'\u0068\u0069\u0067\u0068\u006c\u0069\u0067\u0068\u0074':!![]},'\u0063\u0068\u0065\u0063\u006b\u0062\u006f\u0078\u0043\u006f\u006e\u0066\u0069\u0067':{"\u0068\u0069\u0067\u0068\u006c\u0069\u0067\u0068\u0074":!![]},'\u0063\u0075\u0073\u0074\u006f\u006d\u0043\u006f\u006e\u0066\u0069\u0067':JSON['\x70\x61\x72\x73\x65']("}\neslaf :\"egarots\" \n{".split("").reverse().join("")),'\u0073\u0063\u0072\u006f\u006c\u006c\u0058':JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[29])),'\u0063\u006f\u006c\u0075\u006d\u006e\u0073':_0xf08};let _0xe7101c=corejsConfig?.componentConfig?.table?.defaultConfig||JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join(""));_0xgcfda=configUtil['\x65\x78\x74\x65\x6e\x64\x44\x65\x65\x70\x6c\x79'](_0xgcfda,tableConfig);_0xgcfda=configUtil['\x65\x78\x74\x65\x6e\x64\x44\x65\x65\x70\x6c\x79'](_0xgcfda,customConfig);_0xgcfda=configUtil['\x65\x78\x74\x65\x6e\x64\x44\x65\x65\x70\x6c\x79'](_0xgcfda,_0xe7101c);if(_0xbb11fc['\x70\x61\x74\x68']){_0xgcfda['\x70\x61\x67\x65\x72\x43\x6f\x6e\x66\x69\x67']['\x61\x75\x74\x6f\x48\x69\x64\x64\x65\x6e']=function(){return![];}();_0xgcfda['\x70\x72\x6f\x78\x79\x43\x6f\x6e\x66\x69\x67']={"\u0073\u0065\u0071":!![],"\u0073\u006f\u0072\u0074":!![],"filter":!![],"\u0070\u0072\u006f\u0070\u0073":JSON['\x70\x61\x72\x73\x65']("}\n\"latot.xjbo\" :\"latot\" \n,\"sdrocer.xjbo\" :\"tluser\" \n{".split("").reverse().join("")),"ajax":{'\u0071\u0075\u0065\u0072\u0079':({'\u0070\u0061\u0067\u0065':page,"\u0073\u006f\u0072\u0074\u0073":sorts,'\u0066\u0069\u006c\u0074\u0065\u0072\u0073':filters,"\u0066\u006f\u0072\u006d":form})=>{if(!_0xbb11fc['\x70\x61\x74\x68']){return;}return new Promise((resolve,reject)=>{let _0x59g9d=()=>{let _0x1aca2c=_0xbb11fc['\x70\x61\x72\x61\x6d']?_0xbb11fc['\x70\x61\x72\x61\x6d']()||JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[30])):JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join(""));const _0x60b5f=Object['\x61\x73\x73\x69\x67\x6e'](JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[31])),_0x1aca2c);filters['\x66\x6f\x72\x45\x61\x63\x68'](({'\u0070\u0072\u006f\u0070\u0065\u0072\u0074\u0079':property,"values":values})=>{_0x60b5f[property]=values['\x6a\x6f\x69\x6e'](_0x989(_0x84623c[32]));});if(page['\x70\x61\x67\x65\x53\x69\x7a\x65']!==undefined){_0x60b5f["\u0073\u0069\u007a\u0065"]=page['\x70\x61\x67\x65\x53\x69\x7a\x65'];_0x60b5f["current"]=page['\x63\x75\x72\x72\x65\x6e\x74\x50\x61\x67\x65'];}let _0x568f12419=getGrid(_0x95a8gg,_0xbb11fc['\x74\x61\x62\x6c\x65\x52\x65\x66']);let _0x654db3419=_0x568f12419['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65'];let _0x512="";if(_0x654db3419===false){_0x60b5f['\x73\x65\x61\x72\x63\x68\x43\x6f\x75\x6e\x74']=function(){return false;}();}let _0x3b9dcd=typeof _0x58c7b===_0x989(_0x84623c[33])?_0x58c7b():_0x58c7b;let _0x6c4cf=function(s,h){return s!==h;}(settingConfig['\x61\x64\x64\x55\x73\x65\x72\x46\x6f\x72\x54\x61\x62\x6c\x65\x44\x69\x73\x61\x62\x6c\x65\x64'],!![]);let _0xb2ac=_0xbb11fc['\x61\x64\x64\x43\x72\x65\x61\x74\x65\x49\x6e\x66\x6f']===!![]||_0x6c4cf;let _0x45176b=_0xbb11fc['\x71\x75\x65\x72\x79\x43\x72\x65\x61\x74\x65\x49\x6e\x66\x6f']===!![]||_0x6c4cf;let _0xdb83gc=_0x60b5f;if(_0xbb11fc['\x70\x61\x72\x61\x6d\x48\x61\x6e\x64\x6c\x65']){_0xdb83gc=_0xbb11fc['\x70\x61\x72\x61\x6d\x48\x61\x6e\x64\x6c\x65']?_0xbb11fc['\x70\x61\x72\x61\x6d\x48\x61\x6e\x64\x6c\x65'](_0x60b5f)||JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join("")):JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join(""));}_0x95a8gg['\x24\x63\x6f\x6d\x6d\x6f\x6e\x48\x74\x74\x70']({"aes":_0xbb11fc['\x61\x65\x73']||false,"\u0075\u0072\u006c":_0x3b9dcd,'\u006d\u0065\u0074\u0068\u006f\u0064':"\u0070\u006f\u0073\u0074",'\u0064\u0061\u0074\u0061':_0xdb83gc,'\u0061\u0064\u0064\u0043\u0072\u0065\u0061\u0074\u0065\u0049\u006e\u0066\u006f':_0xb2ac,'\u0071\u0075\u0065\u0072\u0079\u0043\u0072\u0065\u0061\u0074\u0065\u0049\u006e\u0066\u006f':_0x45176b,"\u0063\u0061\u006c\u006c\u0062\u0061\u0063\u006b":res=>{resolve(res);if(res['\x74\x79\x70\x65']===_0x989(_0x84623c[34])){let _0x8a9d=res['\x6f\x62\x6a\x78']?res['\x6f\x62\x6a\x78']['\x72\x65\x63\x6f\x72\x64\x73']||res['\x6f\x62\x6a\x78']||[]:[];if(_0xbb11fc['\x74\x72\x65\x65\x4e\x6f\x64\x65\x55\x72\x6c']){if(_0x8a9d['\x6c\x65\x6e\x67\x74\x68']>(431692^431692)){let _0x88d8fd=getGrid(_0x95a8gg,_0xbb11fc['\x74\x61\x62\x6c\x65\x52\x65\x66']);let _0x38fa1d=_0x88d8fd['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e']['\x74\x72\x65\x65\x43\x6f\x6e\x64\x69\x74\x69\x6f\x6e\x73']||[_0x989(_0x84623c[35])];let _0xf5137d=Object['\x6b\x65\x79\x73'](_0x1aca2c)['\x73\x6f\x6d\x65'](key=>{return!_0x38fa1d['\x69\x6e\x63\x6c\x75\x64\x65\x73'](key)&&_0x1aca2c[key]!==null&&_0x1aca2c[key]!==undefined&&_0x1aca2c[key]!=="";});if(_0xf5137d){_0x95a8gg['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b'](()=>{setTimeout(function(){let _0x5de7g=_0x88d8fd['\x74\x72\x65\x65\x43\x6f\x6e\x66\x69\x67']['\x6c\x61\x7a\x79'];_0x88d8fd['\x74\x72\x65\x65\x43\x6f\x6e\x66\x69\x67']['\x6c\x61\x7a\x79']=function(){return false;}();_0x88d8fd['\x73\x65\x74\x41\x6c\x6c\x54\x72\x65\x65\x45\x78\x70\x61\x6e\x64'](!![])['\x74\x68\x65\x6e'](()=>{let _0xd3ff5d=_0x88d8fd['\x24\x72\x65\x66\x73']['\x78\x54\x61\x62\x6c\x65']['\x66\x75\x6c\x6c\x41\x6c\x6c\x44\x61\x74\x61\x52\x6f\x77\x4d\x61\x70'];let _0x09cf7a=_0x88d8fd['\x67\x65\x74\x54\x61\x62\x6c\x65\x44\x61\x74\x61']()['\x66\x75\x6c\x6c\x44\x61\x74\x61'];_0x09cf7a['\x66\x6f\x72\x45\x61\x63\x68'](lineData=>{if(_0x88d8fd['\x24\x72\x65\x66\x73']['\x78\x54\x61\x62\x6c\x65']['\x69\x73\x54\x72\x65\x65\x45\x78\x70\x61\x6e\x64\x42\x79\x52\x6f\x77'](lineData)){let _0xfgb26c=_0xd3ff5d['\x67\x65\x74'](lineData);_0xfgb26c['\x74\x72\x65\x65\x4c\x6f\x61\x64\x65\x64']=!![];}});_0x88d8fd['\x74\x72\x65\x65\x43\x6f\x6e\x66\x69\x67']['\x6c\x61\x7a\x79']=_0x5de7g;});},613678^613678);});}else{let _0x967ab=_0x8a9d[504177^504177];if(_0x967ab[_0x6b0e['\x74\x72\x65\x65\x43\x6f\x6e\x66\x69\x67']['\x68\x61\x73\x43\x68\x69\x6c\x64']]){_0x95a8gg['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b'](()=>{setTimeout(function(){_0x88d8fd['\x73\x65\x74\x54\x72\x65\x65\x45\x78\x70\x61\x6e\x64'](_0x967ab,!![]);},606254^606254);});}}}}if(_0xbb11fc['\x63\x61\x6c\x6c\x62\x61\x63\x6b']){_0x95a8gg['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b'](()=>{setTimeout(function(){_0xbb11fc['\x63\x61\x6c\x6c\x62\x61\x63\x6b'](_0x8a9d,res);},552772^552772);});}}},'\u0065\u0072\u0072\u006f\u0072':error=>{reject(error);}});};let _0x97d=function(s,h){return s^h;}(137291,137291);let _0xf5e=()=>{if(_0x97d<(943269^943441)&&_0xb08['\x74\x61\x62\x6c\x65\x46\x6f\x72\x6d\x53\x74\x6f\x70']===!![]){_0x97d++;setTimeout(()=>{_0xf5e();},190470^190476);}else{if(_0xb08['\x74\x61\x62\x6c\x65\x46\x6f\x72\x6d\x53\x74\x6f\x70'])_0xb08['\x74\x61\x62\x6c\x65\x46\x6f\x72\x6d\x53\x74\x6f\x70']=function(){return![];}();_0x59g9d();}};_0xf5e();});},'\u0071\u0075\u0065\u0072\u0079\u0041\u006c\u006c':()=>fetch(_0x58c7b||"")['\x74\x68\x65\x6e'](response=>response['\x6a\x73\x6f\x6e']())}};_0xgcfda['\x73\x63\x72\x6f\x6c\x6c\x59']=JSON['\x70\x61\x72\x73\x65']("}\n02 :\"eziSo\" \n,02 :\"tg\" \n{".split("").reverse().join(""));}else{if(!_0xb08['\x68\x65\x69\x67\x68\x74']&&(!_0xbb11fc['\x63\x6f\x6e\x66\x69\x67']||!_0xbb11fc['\x63\x6f\x6e\x66\x69\x67']['\x68\x65\x69\x67\x68\x74'])){_0xgcfda['\x6d\x61\x78\x48\x65\x69\x67\x68\x74']=function(){return _0x989(_0x84623c[36]);}();}_0xgcfda['\x73\x63\x72\x6f\x6c\x6c\x59']=JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[37]));}if(_0xbb11fc['\x65\x64\x69\x74\x53\x61\x76\x65\x55\x72\x6c']){_0xgcfda['\x6b\x65\x65\x70\x53\x6f\x75\x72\x63\x65']=!![],_0xgcfda['\x65\x64\x69\x74\x43\x6f\x6e\x66\x69\x67']={'\u0074\u0072\u0069\u0067\u0067\u0065\u0072':"\u006d\u0061\u006e\u0075\u0061\u006c",'\u006d\u006f\u0064\u0065':"\u0072\u006f\u0077",'\u0073\u0068\u006f\u0077\u0053\u0074\u0061\u0074\u0075\u0073':!![],"\u0061\u0075\u0074\u006f\u0043\u006c\u0065\u0061\u0072":false};}if(_0xbb11fc['\x74\x72\x65\x65\x4e\x6f\x64\x65\x55\x72\x6c']){_0xgcfda['\x70\x72\x6f\x78\x79\x43\x6f\x6e\x66\x69\x67']['\x70\x72\x6f\x70\x73']['\x72\x65\x73\x75\x6c\x74']=function(){return"xjbo".split("").reverse().join("");}();_0xgcfda['\x70\x61\x67\x65\x72\x43\x6f\x6e\x66\x69\x67']['\x61\x75\x74\x6f\x48\x69\x64\x64\x65\x6e']=!![];_0xgcfda['\x74\x72\x65\x65\x43\x6f\x6e\x66\x69\x67']={'\u006c\u0061\u007a\u0079':!![],"\u0063\u0068\u0069\u006c\u0064\u0072\u0065\u006e":"children",'\u0068\u0061\u0073\u0043\u0068\u0069\u006c\u0064':"hasChild","\u0070\u0061\u0072\u0065\u006e\u0074\u0046\u0069\u0065\u006c\u0064":"parent",'\u0074\u0072\u0061\u006e\u0073\u0066\u006f\u0072\u006d':!![],loadMethod({'\u0024\u0074\u0061\u0062\u006c\u0065':$table,"\u0072\u006f\u0077":row}){return new Promise((resolve,reject)=>{let _0xg13=_0xbb11fc['\x74\x72\x65\x65\x4e\x6f\x64\x65\x50\x61\x72\x61\x6d']?_0xbb11fc['\x74\x72\x65\x65\x4e\x6f\x64\x65\x50\x61\x72\x61\x6d'](row)||JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[38])):{"\u0070\u0061\u0072\u0065\u006e\u0074":row['\x69\x64']};_0x95a8gg['\x24\x68\x74\x74\x70']({'\u0061\u0065\u0073':_0xbb11fc['\x61\x65\x73']||![],'\u0075\u0072\u006c':_0xbb11fc['\x74\x72\x65\x65\x4e\x6f\x64\x65\x55\x72\x6c'],"method":"\u0070\u006f\u0073\u0074",'\u0064\u0061\u0074\u0061':_0xg13,'\u0063\u0061\u006c\u006c\u0062\u0061\u0063\u006b':res=>{if(res['\x74\x79\x70\x65']===_0x989(_0x84623c[39])){let _0xc5ec53419=res['\x6f\x62\x6a\x78']?res['\x6f\x62\x6a\x78']['\x72\x65\x63\x6f\x72\x64\x73']||res['\x6f\x62\x6a\x78']||[]:[];let _0x26e=_0xb08['\x74\x72\x65\x65\x43\x6f\x6e\x66\x69\x67']['\x68\x61\x73\x43\x68\x69\x6c\x64'];if(row[_0x26e]&&!_0xc5ec53419['\x6c\x65\x6e\x67\x74\x68']){row[_0x26e]=function(){return![];}();}resolve(_0xc5ec53419);if(_0xbb11fc['\x74\x72\x65\x65\x43\x61\x6c\x6c\x62\x61\x63\x6b']){_0x95a8gg['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b'](()=>{setTimeout(function(){_0xbb11fc['\x74\x72\x65\x65\x43\x61\x6c\x6c\x62\x61\x63\x6b'](_0xc5ec53419,res);},911411^911411);});}}else{reject(res);}}});});}};}_0x6b0e=configUtil['\x65\x78\x74\x65\x6e\x64\x44\x65\x65\x70\x6c\x79'](_0xgcfda,_0xaf3fec);let _0xa23=_0x6b0e['\x70\x61\x67\x65\x72\x43\x6f\x6e\x66\x69\x67']['\x70\x61\x67\x65\x53\x69\x7a\x65'];let _0x93b90g=_0x6b0e['\x70\x61\x67\x65\x72\x43\x6f\x6e\x66\x69\x67']['\x70\x61\x67\x65\x53\x69\x7a\x65\x73'];if(_0x93b90g&&!_0x93b90g['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0xa23)){for(let _0x9g3=function(s,h){return s^h;}(773223,773223);_0x9g3<_0x93b90g['\x6c\x65\x6e\x67\x74\x68'];_0x9g3++){let _0x3f3=_0x93b90g[_0x9g3];if(_0x3f3>_0xa23){_0x93b90g['\x73\x70\x6c\x69\x63\x65'](_0x9g3,820861^820861,_0xa23);break;}}}return _0x6b0e;}function getTableJson(_0x55dffe,_0xfbafce,_0xff329c){if(configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']['\x64\x69\x73\x61\x62\x6c\x65\x54\x61\x62\x6c\x65\x4e\x61\x6d\x65']||settingConfig['\x74\x61\x62\x6c\x65\x53\x74\x6f\x72\x61\x67\x65\x44\x69\x73\x61\x62\x6c\x65\x64'])return false;if(!_0x55dffe)return;let _0x5ff2af=function(s,h){return s+h;}(USER_PREFIX,_0x989(_0x84623c[40]));let _0xfgb={"\u0074\u0061\u0062\u006c\u0065\u004e\u0061\u006d\u0065":_0x55dffe};let _0x809c=null;return _0xfbafce['\x24\x68\x74\x74\x70']({"url":_0x5ff2af,'\u006d\u0065\u0074\u0068\u006f\u0064':"\u0070\u006f\u0073\u0074",'\u0064\u0061\u0074\u0061':_0xfgb,'\u0073\u0075\u0063\u0063\u0065\u0073\u0073':_0xff329c});}function addTableExportJson(){}function addTableJson(_0x5d48d,_0x5d6ef,_0x41c5c,_0xa27ab,_0x4e6c0b){if(configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']['\x64\x69\x73\x61\x62\x6c\x65\x54\x61\x62\x6c\x65\x4e\x61\x6d\x65']||settingConfig['\x74\x61\x62\x6c\x65\x53\x74\x6f\x72\x61\x67\x65\x44\x69\x73\x61\x62\x6c\x65\x64'])return![];if(!_0x41c5c)return;if(!_0xa27ab){_0xa27ab=_0x5d6ef['\x67\x65\x74\x54\x61\x62\x6c\x65\x43\x6f\x6c\x75\x6d\x6e']()['\x63\x6f\x6c\x6c\x65\x63\x74\x43\x6f\x6c\x75\x6d\x6e'];}let _0xa3759c=[];_0xa27ab['\x66\x6f\x72\x45\x61\x63\x68'](function(_0x9g2,_0x32b){let _0xf3f9e={'\u0066\u0069\u0065\u006c\u0064':_0x9g2['\x66\x69\x65\x6c\x64']||_0x9g2['\x70\x72\x6f\x70\x65\x72\x74\x79'],"\u0074\u0069\u0074\u006c\u0065":_0x9g2['\x74\x69\x74\x6c\x65'],'\u0076\u0069\u0073\u0069\u0062\u006c\u0065':_0x9g2['\x76\x69\x73\x69\x62\x6c\x65'],"\u0077\u0069\u0064\u0074\u0068":_0x9g2['\x72\x65\x6e\x64\x65\x72\x57\x69\x64\x74\x68']||_0x9g2['\x77\x69\x64\x74\x68']};if(_0x9g2['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0x9g2['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(179709^179709)){_0xf3f9e['\x63\x68\x69\x6c\x64\x72\x65\x6e']=processChildren(_0x9g2['\x63\x68\x69\x6c\x64\x72\x65\x6e']);}_0xa3759c['\x70\x75\x73\x68'](_0xf3f9e);});function processChildren(_0xe2){let _0xa75g=[];_0xe2['\x66\x6f\x72\x45\x61\x63\x68'](function(_0xa7f){let _0x9e8b={"\u0066\u0069\u0065\u006c\u0064":_0xa7f['\x66\x69\x65\x6c\x64']||_0xa7f['\x70\x72\x6f\x70\x65\x72\x74\x79'],'\u0074\u0069\u0074\u006c\u0065':_0xa7f['\x74\x69\x74\x6c\x65'],'\u0076\u0069\u0073\u0069\u0062\u006c\u0065':_0xa7f['\x76\x69\x73\x69\x62\x6c\x65'],"\u0077\u0069\u0064\u0074\u0068":_0xa7f['\x72\x65\x6e\x64\x65\x72\x57\x69\x64\x74\x68']||_0xa7f['\x77\x69\x64\x74\x68']};if(_0xa7f['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0xa7f['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(157531^157531)){_0x9e8b['\x63\x68\x69\x6c\x64\x72\x65\x6e']=processChildren(_0xa7f['\x63\x68\x69\x6c\x64\x72\x65\x6e']);}_0xa75g['\x70\x75\x73\x68'](_0x9e8b);});return _0xa75g;}let _0x622=_0x5d6ef['\x70\x61\x72\x61\x6d\x73']['\x73\x65\x61\x72\x63\x68\x43\x6f\x6c\x75\x6d\x6e\x73']||[];let _0x84793d={'\u0063\u006f\u006c\u0075\u006d\u006e\u0073':_0xa3759c,'\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u006c\u0075\u006d\u006e\u0073':_0x622};if(_0x5d6ef['\x65\x78\x70\x6f\x72\x74\x43\x6f\x6c\x75\x6d\x6e\x73']&&_0x5d6ef['\x65\x78\x70\x6f\x72\x74\x43\x6f\x6c\x75\x6d\x6e\x73']['\x6c\x65\x6e\x67\x74\x68']){_0x84793d['\x65\x78\x70\x6f\x72\x74\x43\x6f\x6c\x75\x6d\x6e\x73']=_0x5d6ef['\x65\x78\x70\x6f\x72\x74\x43\x6f\x6c\x75\x6d\x6e\x73'];}if(_0x5d6ef['\x65\x78\x70\x6f\x72\x74\x49\x74\x65\x6d\x43\x6f\x6c\x75\x6d\x6e\x73']&&_0x5d6ef['\x65\x78\x70\x6f\x72\x74\x49\x74\x65\x6d\x43\x6f\x6c\x75\x6d\x6e\x73']['\x6c\x65\x6e\x67\x74\x68']){_0x84793d['\x65\x78\x70\x6f\x72\x74\x49\x74\x65\x6d\x43\x6f\x6c\x75\x6d\x6e\x73']=_0x5d6ef['\x65\x78\x70\x6f\x72\x74\x49\x74\x65\x6d\x43\x6f\x6c\x75\x6d\x6e\x73'];}console['\x6c\x6f\x67'](_0x989(_0x84623c[41]),_0x84793d);let _0xdc29ge=encodeURIComponent(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x84793d));let _0xc7c9ae=function(s,h){return s+h;}(USER_PREFIX,_0x989(_0x84623c[42]));let _0x3a4bg={'\u0074\u0061\u0062\u006c\u0065\u004e\u0061\u006d\u0065':_0x41c5c,'\u006a\u0073\u006f\u006e':_0xdc29ge};_0x5d48d['\x24\x68\x74\x74\x70']({'\u0075\u0072\u006c':_0xc7c9ae,"\u006d\u0065\u0074\u0068\u006f\u0064":"\u0070\u006f\u0073\u0074","data":_0x3a4bg,'\u0073\u0075\u0063\u0063\u0065\u0073\u0073':_0x4e6c0b});}function initColumnIndex(_0x2473bb){_0x2473bb['\x66\x6f\x72\x45\x61\x63\x68'](function(_0xc1fecc,_0x34gbbc){var _0x='\u0032\u007c\u0031\u007c\u0030'['\x73\x70\x6c\x69\x74'](_0x989(_0x84623c[43])),_0x41d63f=function(s,h){return s^h;}(509014,509014);while(!![]){switch(+_0x[_0x41d63f++]){case 887103^887103:if(_0xc1fecc['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0xc1fecc['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(159096^159096)){initColumnIndex(_0xc1fecc['\x63\x68\x69\x6c\x64\x72\x65\x6e']);}continue;case 751218^751219:if(_0xc1fecc['\x70\x61\x72\x61\x6d\x73']){_0xc1fecc['\x70\x61\x72\x61\x6d\x73']['\x5f\x69\x6e\x64\x65\x78']=_0x34gbbc;_0xc1fecc['\x70\x61\x72\x61\x6d\x73']['\x5f\x76\x69\x73\x69\x62\x6c\x65']=_0xc1fecc['\x76\x69\x73\x69\x62\x6c\x65']??!![];}continue;case 309602^309600:if(!_0xc1fecc['\x70\x61\x72\x61\x6d\x73'])_0xc1fecc['\x70\x61\x72\x61\x6d\x73']=JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[44]));continue;}break;}});}function initColumn(_0x97216d,_0xg657bf){let _0x3f673f=_0x97216d['\x63\x6f\x6c\x75\x6d\x6e\x73'];let _0x649bbb=[];if(_0xg657bf){const _0x34f3f=new Set();_0xg657bf['\x66\x6f\x72\x45\x61\x63\x68'](function(_0xb583b){const _0xegc=_0xb583b['\x66\x69\x65\x6c\x64'];if(!_0xegc)return;const _0x90b=_0x3f673f['\x66\x69\x6e\x64'](function(_0x1d322a){return _0x1d322a['\x66\x69\x65\x6c\x64']===_0xegc&&!_0x34f3f['\x68\x61\x73'](_0x1d322a);});if(!_0x90b)return;_0x34f3f['\x61\x64\x64'](_0x90b);if(!_0x90b['\x70\x61\x72\x61\x6d\x73'])_0x90b['\x70\x61\x72\x61\x6d\x73']=JSON['\x70\x61\x72\x73\x65'](_0x989(_0x84623c[45]));const _0x956fd=_0x97216d['\x76\x69\x73\x69\x62\x6c\x65\x53\x79\x6e\x63']!==false&&_0x90b['\x76\x69\x73\x69\x62\x6c\x65\x53\x79\x6e\x63']!==![];if(_0x956fd){_0x90b['\x76\x69\x73\x69\x62\x6c\x65']=_0xb583b['\x76\x69\x73\x69\x62\x6c\x65'];}if(_0x90b['\x77\x69\x64\x74\x68']!==undefined){_0x90b['\x70\x61\x72\x61\x6d\x73']['\x5f\x77\x69\x64\x74\x68']=_0x90b['\x77\x69\x64\x74\x68'];}if(_0xb583b['\x77\x69\x64\x74\x68'])_0x90b['\x77\x69\x64\x74\x68']=_0xb583b['\x77\x69\x64\x74\x68'];_0x649bbb['\x70\x75\x73\x68'](_0x90b);});_0x3f673f['\x66\x6f\x72\x45\x61\x63\x68'](function(_0xaca0b,_0x63c8fd){if(_0x34f3f['\x68\x61\x73'](_0xaca0b))return;_0x649bbb['\x73\x70\x6c\x69\x63\x65'](_0x63c8fd,303329^303329,_0xaca0b);});if(_0xg657bf['\x6c\x65\x6e\x67\x74\x68']>(884788^884788)){_0x649bbb['\x66\x6f\x72\x45\x61\x63\x68'](function(_0x3bd){if(_0x3bd['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0x3bd['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(764342^764342)){let _0x7a76g=_0xg657bf['\x66\x69\x6e\x64'](function(_0x0e24fd){return _0x0e24fd['\x66\x69\x65\x6c\x64']===_0x3bd['\x66\x69\x65\x6c\x64'];});if(_0x7a76g&&_0x7a76g['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0x7a76g['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(147193^147193)){_0x3bd['\x63\x68\x69\x6c\x64\x72\x65\x6e']=initColumn({'\u0063\u006f\u006c\u0075\u006d\u006e\u0073':_0x3bd['\x63\x68\x69\x6c\x64\x72\x65\x6e']},_0x7a76g['\x63\x68\x69\x6c\x64\x72\x65\x6e']);}}});}}else{_0x649bbb=_0x3f673f;}return _0x649bbb;}function initExportColumns(_0xe7fffc,_0xb261f){if(_0xb261f?.exportColumns?.length){_0xe7fffc['\x65\x78\x70\x6f\x72\x74\x43\x6f\x6c\x75\x6d\x6e\x73']=_0xb261f['\x65\x78\x70\x6f\x72\x74\x43\x6f\x6c\x75\x6d\x6e\x73'];}if(_0xb261f?.exportItemColumns?.length){_0xe7fffc['\x65\x78\x70\x6f\x72\x74\x49\x74\x65\x6d\x43\x6f\x6c\x75\x6d\x6e\x73']=_0xb261f['\x65\x78\x70\x6f\x72\x74\x49\x74\x65\x6d\x43\x6f\x6c\x75\x6d\x6e\x73'];}}function initSearchColumns(_0x8f417a,_0x2e85e){let _0x4f5e1e=_0x8f417a||[];let _0x8c8g=[];if(_0x2e85e){const _0xdbge1g=new Set();_0x2e85e['\x66\x6f\x72\x45\x61\x63\x68'](function(_0x22baba){const _0x5a2d=_0x22baba['\x66\x69\x65\x6c\x64'];if(!_0x5a2d)return;const _0x3b18df=_0x4f5e1e['\x66\x69\x6e\x64'](function(_0x908b){return _0x908b['\x66\x69\x65\x6c\x64']===_0x5a2d&&!_0x908b['\x66\x69\x78\x65\x64']&&!_0xdbge1g['\x68\x61\x73'](_0x908b);});if(!_0x3b18df)return;_0xdbge1g['\x61\x64\x64'](_0x3b18df);_0x3b18df['\x63\x6f\x6d\x6d\x6f\x6e']=_0x22baba['\x63\x6f\x6d\x6d\x6f\x6e']||false;if(_0x22baba['\x64\x65\x66\x61\x75\x6c\x74\x56\x61\x6c\x75\x65']!==undefined){_0x3b18df['\x64\x65\x66\x61\x75\x6c\x74\x56\x61\x6c\x75\x65']=_0x22baba['\x64\x65\x66\x61\x75\x6c\x74\x56\x61\x6c\x75\x65'];}_0x8c8g['\x70\x75\x73\x68'](_0x3b18df);});_0x4f5e1e['\x66\x6f\x72\x45\x61\x63\x68'](function(_0x3e981f,_0x2330f){if(_0x3e981f['\x66\x69\x78\x65\x64']){_0x8c8g['\x73\x70\x6c\x69\x63\x65'](_0x2330f,656053^656053,_0x3e981f);return;}if(_0xdbge1g['\x68\x61\x73'](_0x3e981f))return;_0x8c8g['\x73\x70\x6c\x69\x63\x65'](_0x2330f,211181^211181,_0x3e981f);});}else{_0x8c8g=_0x4f5e1e;}return _0x8c8g['\x6c\x65\x6e\x67\x74\x68']?_0x8c8g:_0x4f5e1e;}function onColumnWitchChange(_0x7){let _0x75ee=_0x7['\x24\x67\x72\x69\x64']['\x24\x70\x61\x72\x65\x6e\x74'];let _0xd14b=_0x7['\x24\x67\x72\x69\x64'];let _0x9b5fd=_0xd14b['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e'];let _0x3939ec=_0x9b5fd['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65'];if(_0x3939ec){const{'\u0066\u0075\u006c\u006c\u0043\u006f\u006c\u0075\u006d\u006e':fullColumn,'\u0074\u0061\u0062\u006c\u0065\u0043\u006f\u006c\u0075\u006d\u006e':tableColumn}=_0xd14b['\x67\x65\x74\x54\x61\x62\x6c\x65\x43\x6f\x6c\x75\x6d\x6e']();addTableJson(_0x75ee,_0xd14b,_0x3939ec);}}function restoreColumnPosition(_0x26ba){let _0xaea62a=[..._0x26ba]['\x73\x6f\x72\x74']((a,b)=>{let _0xdaa=a['\x70\x61\x72\x61\x6d\x73']?._index??560879^560879;let _0xcgede=b['\x70\x61\x72\x61\x6d\x73']?._index??422749^422749;return _0xdaa-_0xcgede;});console['\x6c\x6f\x67'](_0x989(_0x84623c[46]),_0xaea62a);_0xaea62a['\x66\x6f\x72\x45\x61\x63\x68'](column=>{if(column['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&column['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(583566^583566)){column['\x63\x68\x69\x6c\x64\x72\x65\x6e']=restoreColumnPosition(column['\x63\x68\x69\x6c\x64\x72\x65\x6e']);}else{column['\x76\x69\x73\x69\x62\x6c\x65']=column['\x70\x61\x72\x61\x6d\x73']?._visible??!![];if(column['\x70\x61\x72\x61\x6d\x73']?._width!==undefined){column['\x77\x69\x64\x74\x68']=column['\x70\x61\x72\x61\x6d\x73']?._width;}else{}}});return _0xaea62a;}function customHandle(_0x1d5b6c){let _0x6c8c=_0x1d5b6c['\x24\x67\x72\x69\x64']['\x24\x70\x61\x72\x65\x6e\x74'];let _0xac257b=_0x1d5b6c['\x24\x67\x72\x69\x64'];let _0xa0ea2c=_0xac257b['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e'];if(_0x1d5b6c['\x74\x79\x70\x65']===_0x989(_0x84623c[47])||_0x1d5b6c['\x74\x79\x70\x65']===_0x989(_0x84623c[48])){let _0xbb1c=_0xa0ea2c['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65'];if(_0x1d5b6c['\x74\x79\x70\x65']==="teser".split("").reverse().join("")){const{"\u0063\u006f\u006c\u006c\u0065\u0063\u0074\u0043\u006f\u006c\u0075\u006d\u006e":collectColumn}=_0xac257b['\x67\x65\x74\x54\x61\x62\x6c\x65\x43\x6f\x6c\x75\x6d\x6e']();let _0x3b583a=_0xa0ea2c['\x63\x6f\x6c\x75\x6d\x6e\x73']||[];if(_0x3b583a['\x6c\x65\x6e\x67\x74\x68']>(920139^920139)){const _0xa38=restoreColumnPosition(collectColumn);console['\x6c\x6f\x67']("snmuloCderotser".split("").reverse().join(""),_0xa38);_0xac257b['\x6c\x6f\x61\x64\x43\x6f\x6c\x75\x6d\x6e'](_0xa38);}else{_0xac257b['\x6c\x6f\x61\x64\x43\x6f\x6c\x75\x6d\x6e'](collectColumn);}}if(_0xbb1c){setTimeout(()=>{addTableJson(_0x6c8c,_0xac257b,_0xbb1c);},168290^168362);}if(_0x1d5b6c&&_0x1d5b6c['\x24\x65\x76\x65\x6e\x74']&&_0x1d5b6c['\x24\x65\x76\x65\x6e\x74']['\x70\x72\x65\x76\x65\x6e\x74\x44\x65\x66\x61\x75\x6c\x74']){_0x1d5b6c['\x24\x65\x76\x65\x6e\x74']['\x70\x72\x65\x76\x65\x6e\x74\x44\x65\x66\x61\x75\x6c\x74']();}}_0xa0ea2c['\x63\x75\x73\x74\x6f\x6d\x43\x61\x6c\x6c\x62\x61\x63\x6b']&&_0xa0ea2c['\x63\x75\x73\x74\x6f\x6d\x43\x61\x6c\x6c\x62\x61\x63\x6b'](_0x1d5b6c);}function changeSelectCount(_0x698f){let _0x6d84a=_0x698f['\x72\x65\x63\x6f\x72\x64\x73']['\x6c\x65\x6e\x67\x74\x68'];}function getTableData(_0x8,_0x59gg,_0x9dfbcg,_0xe918cc){if(configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']['\x64\x69\x73\x61\x62\x6c\x65\x54\x61\x62\x6c\x65\x4e\x61\x6d\x65']||settingConfig['\x74\x61\x62\x6c\x65\x53\x74\x6f\x72\x61\x67\x65\x44\x69\x73\x61\x62\x6c\x65\x64'])return![];let _0xg23fee=getGrid(_0x8,_0x59gg);let _0xfc694f=_0xg23fee['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65'];let _0x13d2de=USER_PREFIX+_0x989(_0x84623c[49]);let _0x23cc={'\u0074\u0061\u0062\u006c\u0065\u004e\u0061\u006d\u0065':_0xfc694f,"\u0074\u0079\u0070\u0065":_0x9dfbcg};let _0x8543g=null;return _0x8['\x24\x68\x74\x74\x70']({'\u0061\u0073\u0079\u006e\u0063':![],"url":_0x13d2de,'\u006d\u0065\u0074\u0068\u006f\u0064':"post","\u0064\u0061\u0074\u0061":_0x23cc,'\u0073\u0075\u0063\u0063\u0065\u0073\u0073':_0xe918cc});}function addTableData(_0x92f8d,_0x79efa,_0x1fc,_0x60e4a){if(configUtil['\x74\x61\x62\x6c\x65\x43\x6f\x6e\x66\x69\x67']['\x64\x69\x73\x61\x62\x6c\x65\x54\x61\x62\x6c\x65\x4e\x61\x6d\x65']||settingConfig['\x74\x61\x62\x6c\x65\x53\x74\x6f\x72\x61\x67\x65\x44\x69\x73\x61\x62\x6c\x65\x64'])return false;let _0xe2be=getGrid(_0x92f8d,_0x79efa);let _0x517db=_0xe2be['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65'];if(_0x517db){_0x92f8d['\x24\x68\x74\x74\x70']({"\u006d\u0065\u0074\u0068\u006f\u0064":"\u0070\u006f\u0073\u0074",'\u0075\u0072\u006c':USER_PREFIX+_0x989(_0x84623c[50]),"\u0064\u0061\u0074\u0061":{'\u0074\u0061\u0062\u006c\u0065\u004e\u0061\u006d\u0065':_0x517db,'\u0074\u0079\u0070\u0065':"\u0069\u0073\u0051\u0075\u0065\u0072\u0079\u0041\u006c\u006c\u0050\u0061\u0067\u0065",'\u0064\u0061\u0074\u0061':_0x1fc,'\u0073\u0075\u0063\u0063\u0065\u0073\u0073':_0x60e4a}});}}function checkQueryTotal(_0x7b,_0xd47c9a,_0xcc4gc){let _0x9be=getGrid(_0x7b,_0xd47c9a);_0x9be['\x69\x73\x51\x75\x65\x72\x79\x41\x6c\x6c\x50\x61\x67\x65']=_0xcc4gc;let _0xf002d=_0x9be['\x74\x61\x62\x6c\x65\x4e\x61\x6d\x65'];let _0x62e53e=_0x9be['\x67\x65\x74\x50\x72\x6f\x78\x79\x49\x6e\x66\x6f']();let _0x65b86d=_0x9be['\x70\x61\x67\x65\x72\x43\x6f\x6e\x66\x69\x67'];_0x9be['\x70\x61\x67\x65\x72\x43\x6f\x6e\x66\x69\x67']['\x6c\x61\x79\x6f\x75\x74\x73']=_0x65b86d['\x6c\x61\x79\x6f\x75\x74\x73']||[];addTableData(_0x7b,_0xd47c9a,_0xcc4gc);_0x9be['\x63\x6f\x6d\x6d\x69\x74\x50\x72\x6f\x78\x79']("yreuq".split("").reverse().join(""));}function getPagerConfigLayouts(_0xd1173a){if(_0xd1173a['\x73\x68\x6f\x77\x50\x61\x67\x65\x53\x69\x7a\x65\x73']!==![]){return["seziS".split("").reverse().join(""),"egaPverP".split("").reverse().join(""),_0x989(_0x84623c[51]),_0x989(_0x84623c[52])];}else{return["egaPverP".split("").reverse().join(""),_0x989(_0x84623c[53]),_0x989(_0x84623c[54])];}}modules={'\u0069\u006e\u0069\u0074\u0056\u0078\u0065\u0054\u0061\u0062\u006c\u0065':initVxeTable,'\u0063\u006f\u006c\u0075\u006d\u006e\u0044\u0072\u006f\u0070':columnDrop,'\u0069\u006e\u0069\u0074\u004f\u0070\u0074\u0069\u006f\u006e':initOption,"getTableJson":getTableJson,'\u0061\u0064\u0064\u0054\u0061\u0062\u006c\u0065\u004a\u0073\u006f\u006e':addTableJson,'\u006f\u006e\u0043\u006f\u006c\u0075\u006d\u006e\u0057\u0069\u0074\u0063\u0068\u0043\u0068\u0061\u006e\u0067\u0065':onColumnWitchChange,'\u0063\u0075\u0073\u0074\u006f\u006d\u0048\u0061\u006e\u0064\u006c\u0065':customHandle,"changeSelectCount":changeSelectCount,"\u0067\u0065\u0074\u0054\u0061\u0062\u006c\u0065\u0044\u0061\u0074\u0061":getTableData,"\u0061\u0064\u0064\u0054\u0061\u0062\u006c\u0065\u0044\u0061\u0074\u0061":addTableData,'\u0063\u0068\u0065\u0063\u006b\u0051\u0075\u0065\u0072\u0079\u0054\u006f\u0074\u0061\u006c':checkQueryTotal,'\u0067\u0065\u0074\u0043\u0065\u006c\u006c\u0056\u0061\u006c\u0075\u0065':getCellValue,'\u0063\u0072\u0065\u0061\u0074\u0065\u0050\u0061\u0072\u0061\u006d\u0073':createParams};if(!configUtil['\x56\x75\x65']['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x24\x76\x78\x65\x54\x61\x62\x6c\x65\x55\x74\x69\x6c'])configUtil['\x56\x75\x65']['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x24\x76\x78\x65\x54\x61\x62\x6c\x65\x55\x74\x69\x6c']=modules;
11
+
12
+ let configUtil = {
13
+ Sortable,
14
+ extendDeeply,
15
+ tableConfig,
16
+ Vue,
17
+ };
18
+
19
+ function getGrid(that, tableRef) {
20
+ let $grid;
21
+ if (Array.isArray(that.$refs[tableRef])) {
22
+ $grid = that.$refs[tableRef][0];
23
+ } else {
24
+ $grid = that.$refs[tableRef];
25
+ }
26
+ return $grid;
27
+ }
28
+
29
+ /** 是否在列子树中包含目标叶子列(同级 ref 优先,兜底 id) */
30
+ function columnSubtreeContainsLeaf(node, leaf) {
31
+ if (!node || !leaf) return false;
32
+ if (node === leaf) return true;
33
+ if (leaf.id && node.id && String(node.id) === String(leaf.id)) return true;
34
+ if (node.children && node.children.length) {
35
+ return node.children.some((child) =>
36
+ columnSubtreeContainsLeaf(child, leaf)
37
+ );
38
+ }
39
+ return false;
40
+ }
41
+
42
+ /** leaf 所属的 collectColumn 最顶层节点的下标(-1 表示未找到) */
43
+ function collectTopRootIndex(collectColumn, leaf) {
44
+ if (!collectColumn || !collectColumn.length || !leaf) return -1;
45
+ return collectColumn.findIndex((root) =>
46
+ columnSubtreeContainsLeaf(root, leaf)
47
+ );
48
+ }
49
+
50
+ async function initVxeTable(option) {
51
+ let tableName = option.tableName;
52
+ if (
53
+ !configUtil.tableConfig.disableTableName &&
54
+ option.tableNameRequired !== false &&
55
+ !tableName &&
56
+ settingConfig.tableStorageDisabled !== true
57
+ ) {
58
+ return false;
59
+ }
60
+
61
+ let that = option.vue;
62
+ if (!that.$refs[option.tableRef]) {
63
+ await that.$nextTick();
64
+ }
65
+ let $grid = getGrid(that, option.tableRef);
66
+ if (!$grid) {
67
+ return false;
68
+ }
69
+ delete option.vue;
70
+
71
+ //操作列自动补全
72
+ handleCustomAlign(option);
73
+
74
+ initColumnIndex(option.columns);
75
+
76
+ let originOption = that.$baseLodash.cloneDeep(option);
77
+ originOption.vue = that;
78
+ $grid.originOption = originOption;
79
+ option.vue = that;
80
+
81
+ let isQueryAllPage = true;
82
+ if (option.isQueryAllPage !== null && option.isQueryAllPage !== undefined) {
83
+ isQueryAllPage = option.isQueryAllPage;
84
+ }
85
+
86
+ let searchColumns = null;
87
+ if (tableName) {
88
+ $grid.tableName = tableName;
89
+ if (option.path) {
90
+ await getTableData(that, option.tableRef, "isQueryAllPage", (res1) => {
91
+ let result = res1.objx ? res1.objx.data : null;
92
+ if (result !== null && result !== undefined) {
93
+ if (result === "false" || result === false) {
94
+ isQueryAllPage = false;
95
+ } else {
96
+ isQueryAllPage = true;
97
+ }
98
+ }
99
+ });
100
+ }
101
+ await getTableJson(tableName, that, (resultMsg) => {
102
+ let objx = resultMsg.objx;
103
+ if (objx !== null && objx !== undefined) {
104
+ let jsonStr = objx.data;
105
+ if (jsonStr) {
106
+ let json = JSON.parse(decodeURIComponent(jsonStr));
107
+ let columnData = json.columns ? json.columns : json;
108
+ if (columnData) {
109
+ option.columns = initColumn(option, columnData);
110
+ }
111
+ searchColumns = initSearchColumns(
112
+ option.searchColumns,
113
+ json.searchColumns
114
+ );
115
+ $grid.searchColumns = searchColumns;
116
+ initExportColumns($grid, json);
117
+ }
118
+ }
119
+ if (!searchColumns || !searchColumns.length) {
120
+ searchColumns = initSearchColumns(option.searchColumns);
121
+ $grid.searchColumns = searchColumns;
122
+ }
123
+ });
124
+ } else {
125
+ searchColumns = initSearchColumns(option.searchColumns);
126
+ $grid.searchColumns = searchColumns;
127
+ }
128
+
129
+ if (!!$grid?.$refs?.xTable) {
130
+ $grid.$refs.xTable.getCellValue = getCellValue;
131
+ $grid.$refs.xTable.createParams = createParams;
132
+ }
133
+
134
+ // $grid.getCellValue = getCellValue;
135
+ // $grid.createParams = createParams;
136
+
137
+ option.isQueryAllPage = isQueryAllPage;
138
+ let nOption = initOption(option);
139
+
140
+ // $grid.isQueryAllPage = isQueryAllPage;
141
+
142
+ if (tableName) {
143
+ nOption.tableName = tableName;
144
+ }
145
+
146
+ nOption.vue = that;
147
+ //绑定列位置拖拽
148
+ columnDrop(that, tableName, option.tableRef);
149
+
150
+ //自动绑定toobar
151
+ handleToolbar($grid, option);
152
+
153
+ // nOption.originOption = originOption;
154
+ // nOption.getCellValue = getCellValue;
155
+ // nOption.createParams = createParams;
156
+ // nOption.isQueryAllPage = isQueryAllPage;
157
+ // nOption.searchColumns = searchColumns;
158
+ let params = {
159
+ originOption,
160
+ getCellValue,
161
+ createParams,
162
+ isQueryAllPage,
163
+ searchColumns,
164
+ };
165
+ if (!nOption.params) nOption.params = {};
166
+ Object.assign(nOption.params, params);
167
+ return nOption;
168
+ }
169
+
170
+ //自动绑定toobar
171
+ function handleToolbar($grid, option) {
172
+ let selfConfig = getSelfConfig();
173
+ if (
174
+ option.bindToolbar ||
175
+ (option.bindToolbar !== false && selfConfig.bindToolbar)
176
+ ) {
177
+ let loopDo = function (children) {
178
+ if (children && children.length) {
179
+ children.forEach((item) => {
180
+ if (item.$options.name === "VxeToolbar") {
181
+ $grid.connect(item);
182
+ } else {
183
+ loopDo(item.$children);
184
+ }
185
+ });
186
+ }
187
+ };
188
+ that.$nextTick(() => {
189
+ loopDo($grid.$children);
190
+ });
191
+ }
192
+ }
193
+
194
+ //操作列自动补全
195
+ function handleCustomAlign(option) {
196
+ let selfConfig = getSelfConfig();
197
+ // let customAlign = option.customAlign || selfConfig.customAlign || "right";
198
+ let customAlign =
199
+ selfConfig.customAlign === false
200
+ ? false
201
+ : selfConfig.customAlign || "right";
202
+ customAlign =
203
+ option.customAlign === false ? false : option.customAlign || customAlign;
204
+
205
+ let customColumnWidth =
206
+ option.customColumnWidth || selfConfig.customColumnWidth || 47;
207
+ let checkBoxColumnWidth =
208
+ option.checkBoxColumnWidth || selfConfig.checkBoxColumnWidth || 48;
209
+
210
+ let checkBoxRequired = selfConfig.checkBoxRequired !== false;
211
+ if (option.checkBoxRequired === false) {
212
+ checkBoxRequired = false;
213
+ }
214
+
215
+ let columnSize = option.columns.length;
216
+ if (columnSize > 0) {
217
+ if (checkBoxRequired) {
218
+ let firstColumn = option.columns[0];
219
+ if (firstColumn.type !== "checkbox") {
220
+ option.columns.splice(0, 0, {
221
+ type: "checkbox",
222
+ width: checkBoxColumnWidth,
223
+ resizable: false,
224
+ fixed: "left",
225
+ });
226
+ }
227
+ }
228
+ if (customAlign !== false) {
229
+ let lastColumn = option.columns[columnSize - 1];
230
+ if (customAlign === "left") {
231
+ if (!lastColumn.field && lastColumn.fixed === "right") {
232
+ option.columns.splice(columnSize - 1, 1);
233
+ lastColumn.fixed = "left";
234
+ option.columns.splice(1, 0, lastColumn);
235
+ } else if (columnSize > 1) {
236
+ if (option.columns[1].field) {
237
+ option.columns.splice(1, 0, {
238
+ width: customColumnWidth,
239
+ fixed: "left",
240
+ title: "",
241
+ sortable: false,
242
+ });
243
+ }
244
+ }
245
+ } else if (customAlign === "right") {
246
+ let column1 = option.columns[1];
247
+ if (!column1.field && column1.fixed === "left") {
248
+ option.columns.splice(1, 1);
249
+ column1.fixed = "right";
250
+ option.columns.push(column1);
251
+ } else if (lastColumn.field || lastColumn.fixed !== "right") {
252
+ option.columns.push({
253
+ width: customColumnWidth,
254
+ fixed: "right",
255
+ title: "",
256
+ sortable: false,
257
+ });
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+
264
+ //列位置拖拽
265
+ function columnDrop(t, tableName, tableRef) {
266
+ let that = t;
267
+ const $table = getGrid(that, tableRef);
268
+ if (!$table) {
269
+ return;
270
+ }
271
+ // if (!$table.params) $table.params = {};
272
+ if ($table.sortable) {
273
+ $table.sortable.destroy();
274
+ $table.sortable = null;
275
+ }
276
+ let dragStartIndex = -1;
277
+ let dragEndIndex = -1;
278
+ $table.sortable = configUtil.Sortable.create(
279
+ $table.$el.querySelector(
280
+ ".body--wrapper>.vxe-table--header .vxe-header--row"
281
+ ),
282
+ {
283
+ handle: ".vxe-header--column:not(.col--fixed)",
284
+ onMove: (a, b, c) => {
285
+ let { dragged, related } = a;
286
+ // dragStartIndex = getElementIndex(dragged);
287
+ // dragEndIndex = getElementIndex(related);
288
+
289
+ let tableColumn = $table.getTableColumn().tableColumn;
290
+ let draggedColId = dragged.getAttribute("colid");
291
+ let relatedColId = related.getAttribute("colid");
292
+ dragStartIndex = tableColumn.findIndex(
293
+ (item) => item.id === draggedColId
294
+ );
295
+ dragEndIndex = tableColumn.findIndex(
296
+ (item) => item.id === relatedColId
297
+ );
298
+ },
299
+ onEnd: (dropParam) => {
300
+ let { item } = dropParam;
301
+ let oldIndex = dragStartIndex;
302
+ let newIndex = dragEndIndex;
303
+
304
+ if (newIndex < 0) newIndex = dropParam.newIndex;
305
+ const { fullColumn, tableColumn, collectColumn } =
306
+ $table.getTableColumn();
307
+ const targetThElem = item;
308
+ const wrapperElem = targetThElem.parentNode;
309
+ let oldColumn = tableColumn[oldIndex];
310
+ let oldTitle = oldColumn.title;
311
+
312
+ const newColumn = tableColumn[newIndex];
313
+ if (!newColumn) return;
314
+ let newTitle = newColumn.title;
315
+ if (newColumn.fixed) {
316
+ // 错误的移动
317
+ if (newIndex > oldIndex) {
318
+ wrapperElem.insertBefore(
319
+ targetThElem,
320
+ wrapperElem.children[oldIndex]
321
+ );
322
+ } else {
323
+ wrapperElem.insertBefore(
324
+ wrapperElem.children[oldIndex],
325
+ targetThElem
326
+ );
327
+ }
328
+ return;
329
+ /* return that.$XModal.message({
330
+ content: '固定列不允许拖动!',
331
+ status: 'error'
332
+ }) */
333
+ }
334
+ // 叶子在 fullColumn 中的下标,与 collectColumn 顶层结构的下标不能直接混用
335
+ const oldColumnIndex = fullColumn.findIndex(
336
+ (item) => item.id === oldColumn.id
337
+ );
338
+ const newColumnIndex = fullColumn.findIndex(
339
+ (item) => item.id === newColumn.id
340
+ );
341
+ const oldLeafColumn = fullColumn[oldColumnIndex];
342
+ const newLeafColumn = fullColumn[newColumnIndex];
343
+ let oldLeafTitle = oldLeafColumn.title;
344
+ let newLeafTitle = newLeafColumn.title;
345
+ if (oldColumnIndex === newColumnIndex) {
346
+ return;
347
+ }
348
+ const oldTopIdx = collectTopRootIndex(collectColumn, oldLeafColumn);
349
+ const newTopIdx = collectTopRootIndex(collectColumn, newLeafColumn);
350
+ if (oldTopIdx === -1 || newTopIdx === -1) {
351
+ return;
352
+ }
353
+ if (oldTopIdx !== newTopIdx) {
354
+ let oldTopColumn = collectColumn[oldTopIdx];
355
+ let newTopColumn = collectColumn[newTopIdx];
356
+ let oldTopTitle = oldTopColumn.title;
357
+ let newTopTitle = newTopColumn.title;
358
+ const currRow = collectColumn.splice(oldTopIdx, 1)[0];
359
+ collectColumn.splice(newTopIdx, 0, currRow);
360
+ $table.loadColumn(collectColumn);
361
+ addTableJson(that, $table, tableName, collectColumn);
362
+ }
363
+ },
364
+ }
365
+ );
366
+ }
367
+
368
+ function getSelfConfig() {
369
+ let tableConfig = configUtil.tableConfig || {};
370
+ let selfConfig = tableConfig.selfConfig || {};
371
+ return selfConfig;
372
+ }
373
+
374
+ function initColumnDefaulAttrs(columns, opts) {
375
+ let tableConfig = configUtil.tableConfig || {};
376
+ let selfConfig = getSelfConfig();
377
+ let lockCheckboxWidth =
378
+ opts.lockCheckboxWidth !== false
379
+ ? opts.lockCheckboxWidth || selfConfig.lockCheckboxWidth
380
+ : null;
381
+ let filterType =
382
+ opts.filterType !== false && !opts.treeNodeUrl
383
+ ? opts.filterType || selfConfig.filterType || "filterContent"
384
+ : null;
385
+ let sortAll =
386
+ opts.sortAll === true || (opts.sortAll !== false && !opts.treeNodeUrl);
387
+
388
+ columns.forEach((column) => {
389
+ // 只有最底层的列(没有 children)才设置默认属性
390
+ if (!column.children || column.children.length === 0) {
391
+ // 设置 sortable
392
+ if (
393
+ sortAll &&
394
+ column.title &&
395
+ (column.sortable === null || column.sortable === undefined)
396
+ ) {
397
+ column.sortable = true;
398
+ }
399
+
400
+ // 设置过滤器
401
+ if (filterType && column.title && column.field) {
402
+ if (
403
+ column.filterType === "filterContent" ||
404
+ ((column.filterType === null || column.filterType === undefined) &&
405
+ filterType === "filterContent")
406
+ ) {
407
+ if (!column.filters) {
408
+ column.filters = [
409
+ {
410
+ data: {},
411
+ },
412
+ ];
413
+ }
414
+ if (!column.filterRender) {
415
+ column.filterRender = {
416
+ name: "FilterContent",
417
+ };
418
+ }
419
+ } else if (
420
+ column.filterType === "filterInput" ||
421
+ ((column.filterType === null || column.filterType === undefined) &&
422
+ filterType === "filterInput")
423
+ ) {
424
+ if (!column.filters) {
425
+ column.filters = [
426
+ {
427
+ data: "",
428
+ },
429
+ ];
430
+ }
431
+ if (!column.filterRender) {
432
+ column.filterRender = {
433
+ name: "FilterInput",
434
+ };
435
+ }
436
+ }
437
+ }
438
+
439
+ // 设置复选框列宽度
440
+ if (lockCheckboxWidth && column.type === "checkbox") {
441
+ column.width = lockCheckboxWidth;
442
+ }
443
+ } else {
444
+ column.sortable = false;
445
+ column.filterType = false;
446
+ column.align = "center";
447
+ column.resizable = false;
448
+ // 递归处理 children
449
+ initColumnDefaulAttrs(column.children, opts);
450
+ }
451
+ });
452
+ }
453
+
454
+ function initOption(opts) {
455
+ let result = {};
456
+ let that = opts.vue;
457
+ let $grid = getGrid(that, opts.tableRef);
458
+
459
+ let path = opts.path || "";
460
+ // let columns = JSON.parse(JSON.stringify(opts.columns || []));
461
+ let columns = opts.columns || [];
462
+ let isQueryAllPage = opts.isQueryAllPage;
463
+ let pagerLayouts = getPagerConfigLayouts(opts);
464
+
465
+ let config = opts.config || {};
466
+
467
+ initColumnDefaulAttrs(columns, opts);
468
+
469
+ let defaultOptions = {
470
+ columnKey: true,
471
+ resizable: true,
472
+ showOverflow: true,
473
+ showHeaderOverflow: true,
474
+ showFooterOverflow: true,
475
+ highlightHoverRow: true,
476
+ border: "inner",
477
+ height: "auto",
478
+ // maxHeight:"1000px",
479
+ // rowId: 'id',
480
+ emptyText: " ",
481
+ sortConfig: {
482
+ trigger: "cell",
483
+ remote: false,
484
+ },
485
+ filterConfig: {
486
+ remote: false,
487
+ },
488
+ pagerConfig: {
489
+ autoHidden: true,
490
+ perfect: true,
491
+ pageSize: 200,
492
+ pageSizes: [50, 100, 200, 500],
493
+ layouts: pagerLayouts,
494
+ slots: {
495
+ left: (obj, b, c) => {
496
+ let $grid = obj.$grid;
497
+ let k = $grid.$data;
498
+ let tableDataInfo = $grid.getTableData();
499
+ let data = tableDataInfo.fullData;
500
+ let h = $grid.$createElement;
501
+
502
+ let proxyInfo = $grid.getProxyInfo();
503
+ let pager = proxyInfo ? proxyInfo.pager : null;
504
+
505
+ let celems = [
506
+ h("span", $grid.$t2("本页记录数", "components.table.currentNum")),
507
+ h(
508
+ "span",
509
+ {
510
+ attrs: {
511
+ class: "f-red",
512
+ },
513
+ },
514
+ " " + tableDataInfo.visibleData.length + " "
515
+ ),
516
+ ];
517
+ if (pager && $grid.isQueryAllPage) {
518
+ celems.push(
519
+ h(
520
+ "span",
521
+ "," + $grid.$t2("总记录数", "components.table.totalNum")
522
+ )
523
+ );
524
+ celems.push(
525
+ h(
526
+ "span",
527
+ {
528
+ attrs: {
529
+ class: "f-red",
530
+ },
531
+ },
532
+ " " + pager.total + " "
533
+ )
534
+ );
535
+ }
536
+ let elem = h("span", {}, celems);
537
+ return [elem];
538
+ },
539
+ },
540
+ },
541
+ exportConfig: {
542
+ // 默认选中类型
543
+ type: "xlsx",
544
+ // 局部自定义类型
545
+ types: ["xlsx", "csv", "html", "xml", "txt"],
546
+ // 自定义数据量列表
547
+ modes: ["current", "all"],
548
+ },
549
+ radioConfig: {
550
+ labelField: "id",
551
+ reserve: true,
552
+ highlight: true,
553
+ },
554
+ checkboxConfig: {
555
+ highlight: true,
556
+ },
557
+ customConfig: {
558
+ storage: false,
559
+ },
560
+ scrollX: {
561
+ // enabled: true,
562
+ gt: 10,
563
+ // oSize: 5
564
+ },
565
+ /*loadingConfig: {
566
+ icon: "vxe-loading--spinner",
567
+ text: ' '
568
+ },*/
569
+ columns: columns,
570
+ };
571
+ let tableDefaultConfig =
572
+ corejsConfig?.componentConfig?.table?.defaultConfig || {};
573
+ defaultOptions = configUtil.extendDeeply(defaultOptions, tableConfig);
574
+ defaultOptions = configUtil.extendDeeply(defaultOptions, customConfig);
575
+ defaultOptions = configUtil.extendDeeply(defaultOptions, tableDefaultConfig);
576
+
577
+ if (opts.path) {
578
+ // defaultOptions.filterInput = true;
579
+ defaultOptions.pagerConfig.autoHidden = false;
580
+ defaultOptions.proxyConfig = {
581
+ seq: true, // 启用动态序号代理
582
+ sort: true, // 启用排序代理
583
+ filter: true, // 启用筛选代理
584
+ props: {
585
+ result: "objx.records", // 配置响应结果列表字段
586
+ total: "objx.total", // 配置响应结果总页数字段
587
+ },
588
+ ajax: {
589
+ // 接收 Promise 对象
590
+ query: ({ page, sorts, filters, form }) => {
591
+ if (!opts.path) {
592
+ return;
593
+ }
594
+ return new Promise((resolve, reject) => {
595
+ let toDo = () => {
596
+ let formData = opts.param ? opts.param() || {} : {};
597
+ const queryParams = Object.assign({}, formData);
598
+
599
+ // 处理排序条件
600
+ /*const firstSort = sorts[0];
601
+ if (firstSort) {
602
+ queryParams.sort = firstSort.property;
603
+ queryParams.order = firstSort.order;
604
+ }*/
605
+ // 处理筛选条件
606
+ filters.forEach(({ property, values }) => {
607
+ queryParams[property] = values.join(",");
608
+ });
609
+ if (page.pageSize !== undefined) {
610
+ queryParams["size"] = page.pageSize;
611
+ queryParams["current"] = page.currentPage;
612
+ }
613
+
614
+ let $grid = getGrid(that, opts.tableRef);
615
+ let isQueryAllPage = $grid.isQueryAllPage;
616
+ let pathStr1 = "";
617
+ if (isQueryAllPage === false) {
618
+ queryParams.searchCount = false;
619
+ }
620
+
621
+ let reqPath = typeof path === "function" ? path() : path;
622
+ let addUserForTableEnabled =
623
+ settingConfig.addUserForTableDisabled !== true;
624
+ let addCreateInfo =
625
+ opts.addCreateInfo === true || addUserForTableEnabled;
626
+ let queryCreateInfo =
627
+ opts.queryCreateInfo === true || addUserForTableEnabled;
628
+ let reqData = queryParams;
629
+ if (opts.paramHandle) {
630
+ reqData = opts.paramHandle
631
+ ? opts.paramHandle(queryParams) || {}
632
+ : {};
633
+ }
634
+ that.$commonHttp({
635
+ aes: opts.aes || false,
636
+ url: reqPath,
637
+ method: "post",
638
+ data: reqData,
639
+ addCreateInfo: addCreateInfo,
640
+ queryCreateInfo: queryCreateInfo,
641
+ callback: (res) => {
642
+ resolve(res);
643
+ if (res.type === "success") {
644
+ let rows = res.objx
645
+ ? res.objx.records || res.objx || []
646
+ : [];
647
+ if (opts.treeNodeUrl) {
648
+ if (rows.length > 0) {
649
+ let $t = getGrid(that, opts.tableRef);
650
+ let treeConditions = $t.params.originOption
651
+ .treeConditions || ["enabled"];
652
+ let treeFiled = Object.keys(formData).some((key) => {
653
+ return (
654
+ !treeConditions.includes(key) &&
655
+ formData[key] !== null &&
656
+ formData[key] !== undefined &&
657
+ formData[key] !== ""
658
+ );
659
+ });
660
+ if (treeFiled) {
661
+ that.$nextTick(() => {
662
+ setTimeout(function () {
663
+ let isLazy = $t.treeConfig.lazy;
664
+ $t.treeConfig.lazy = false;
665
+ $t.setAllTreeExpand(true).then(() => {
666
+ let fullAllDataRowMap =
667
+ $t.$refs.xTable.fullAllDataRowMap;
668
+ let fullData = $t.getTableData().fullData;
669
+ fullData.forEach((lineData) => {
670
+ if (
671
+ $t.$refs.xTable.isTreeExpandByRow(lineData)
672
+ ) {
673
+ let rest = fullAllDataRowMap.get(lineData);
674
+ rest.treeLoaded = true;
675
+ }
676
+ });
677
+ $t.treeConfig.lazy = isLazy;
678
+ });
679
+ }, 0);
680
+ });
681
+ } else {
682
+ let row = rows[0];
683
+ if (row[result.treeConfig.hasChild]) {
684
+ that.$nextTick(() => {
685
+ setTimeout(function () {
686
+ $t.setTreeExpand(row, true);
687
+ }, 0);
688
+ });
689
+ }
690
+ }
691
+ }
692
+ }
693
+ if (opts.callback) {
694
+ that.$nextTick(() => {
695
+ setTimeout(function () {
696
+ opts.callback(rows, res);
697
+ }, 0);
698
+ });
699
+ }
700
+ }
701
+ },
702
+ error: (error) => {
703
+ reject(error);
704
+ },
705
+ });
706
+ };
707
+ let index = 0;
708
+ let loopHandle = () => {
709
+ if (index < 500 && $grid.tableFormStop === true) {
710
+ //阻塞列表查询,或者次数达到500时,自动释放
711
+ index++;
712
+ setTimeout(() => {
713
+ loopHandle();
714
+ }, 10);
715
+ } else {
716
+ if ($grid.tableFormStop) $grid.tableFormStop = false;
717
+ toDo();
718
+ }
719
+ };
720
+ loopHandle();
721
+ });
722
+ },
723
+ // 被某些特殊功能所触发,例如:导出数据 mode=all 时,会触发该方法并对返回的数据进行导出
724
+ queryAll: () => fetch(path || "").then((response) => response.json()),
725
+ },
726
+ };
727
+ /*defaultOptions.scrollX = {
728
+ enabled: true,
729
+ gt: 20
730
+ };*/
731
+ defaultOptions.scrollY = {
732
+ // enabled: false,
733
+ gt: 20,
734
+ oSize: 20,
735
+ };
736
+ } else {
737
+ if (!$grid.height && (!opts.config || !opts.config.height)) {
738
+ defaultOptions.maxHeight = "528px";
739
+ }
740
+ defaultOptions.scrollY = {
741
+ // enabled: false,
742
+ gt: 20,
743
+ oSize: 20,
744
+ };
745
+ }
746
+
747
+ if (opts.editSaveUrl) {
748
+ (defaultOptions.keepSource = true),
749
+ (defaultOptions.editConfig = {
750
+ trigger: "manual",
751
+ mode: "row",
752
+ showStatus: true,
753
+ autoClear: false,
754
+ });
755
+ }
756
+ if (opts.treeNodeUrl) {
757
+ defaultOptions.proxyConfig.props.result = "objx";
758
+ defaultOptions.pagerConfig.autoHidden = true;
759
+ defaultOptions.treeConfig = {
760
+ lazy: true,
761
+ children: "children",
762
+ hasChild: "hasChild", // 设置是否有子节点标识
763
+ parentField: "parent",
764
+ transform: true,
765
+ loadMethod({ $table, row }) {
766
+ // 模拟后台接口
767
+ return new Promise((resolve, reject) => {
768
+ let treeNodeParam = opts.treeNodeParam
769
+ ? opts.treeNodeParam(row) || {}
770
+ : {
771
+ parent: row.id,
772
+ };
773
+ that.$http({
774
+ aes: opts.aes || false,
775
+ url: opts.treeNodeUrl,
776
+ method: "post",
777
+ data: treeNodeParam,
778
+ callback: (res) => {
779
+ if (res.type === "success") {
780
+ // let rows = res.objx || [];
781
+ let rows = res.objx ? res.objx.records || res.objx || [] : [];
782
+ let hasChildField = $grid.treeConfig.hasChild;
783
+ if (row[hasChildField] && !rows.length) {
784
+ row[hasChildField] = false;
785
+ }
786
+ resolve(rows);
787
+ if (opts.treeCallback) {
788
+ that.$nextTick(() => {
789
+ setTimeout(function () {
790
+ opts.treeCallback(rows, res);
791
+ }, 0);
792
+ });
793
+ }
794
+ } else {
795
+ reject(res);
796
+ }
797
+ },
798
+ });
799
+ });
800
+ },
801
+ };
802
+ }
803
+
804
+ result = configUtil.extendDeeply(defaultOptions, config);
805
+
806
+ let pageSize = result.pagerConfig.pageSize;
807
+ let pageSizes = result.pagerConfig.pageSizes;
808
+ if (pageSizes && !pageSizes.includes(pageSize)) {
809
+ for (let i = 0; i < pageSizes.length; i++) {
810
+ let item = pageSizes[i];
811
+ if (item > pageSize) {
812
+ pageSizes.splice(i, 0, pageSize);
813
+ break;
814
+ }
815
+ }
816
+ }
817
+
818
+ return result;
819
+ }
820
+
821
+ function getTableJson(tableName, that, success) {
822
+ if (
823
+ configUtil.tableConfig.disableTableName ||
824
+ settingConfig.tableStorageDisabled
825
+ )
826
+ return false;
827
+ if (!tableName) return;
828
+ let url = USER_PREFIX + "/table_column/getTableJson";
829
+ let data = {
830
+ tableName: tableName,
831
+ };
832
+ let json = null;
833
+ return that.$http({
834
+ url: url,
835
+ method: "post",
836
+ data: data,
837
+ success: success,
838
+ });
839
+ }
840
+
841
+ function addTableExportJson() {}
842
+
843
+ function addTableJson(that, $grid, tableName, columns, success) {
844
+ if (
845
+ configUtil.tableConfig.disableTableName ||
846
+ settingConfig.tableStorageDisabled
847
+ )
848
+ return false;
849
+ if (!tableName) return;
850
+ if (!columns) {
851
+ columns = $grid.getTableColumn().collectColumn;
852
+ }
853
+ let saveColumn = [];
854
+ columns.forEach(function (item, index) {
855
+ let columnData = {
856
+ field: item.field || item.property,
857
+ title: item.title,
858
+ visible: item.visible,
859
+ width: item.renderWidth || item.width,
860
+ };
861
+
862
+ // 如果有 children,递归处理
863
+ if (item.children && item.children.length > 0) {
864
+ columnData.children = processChildren(item.children);
865
+ }
866
+
867
+ saveColumn.push(columnData);
868
+ });
869
+
870
+ // 处理 children 的递归函数
871
+ function processChildren(children) {
872
+ let result = [];
873
+ children.forEach(function (childItem) {
874
+ let childData = {
875
+ field: childItem.field || childItem.property,
876
+ title: childItem.title,
877
+ visible: childItem.visible,
878
+ width: childItem.renderWidth || childItem.width,
879
+ };
880
+
881
+ // 递归处理嵌套的 children
882
+ if (childItem.children && childItem.children.length > 0) {
883
+ childData.children = processChildren(childItem.children);
884
+ }
885
+
886
+ result.push(childData);
887
+ });
888
+ return result;
889
+ }
890
+
891
+ let searchColumns = $grid.params.searchColumns || [];
892
+ let jsonData = {
893
+ columns: saveColumn,
894
+ searchColumns: searchColumns,
895
+ };
896
+ if ($grid.exportColumns && $grid.exportColumns.length) {
897
+ jsonData.exportColumns = $grid.exportColumns;
898
+ }
899
+ if ($grid.exportItemColumns && $grid.exportItemColumns.length) {
900
+ jsonData.exportItemColumns = $grid.exportItemColumns;
901
+ }
902
+ console.log("jsonData", jsonData);
903
+ let json = encodeURIComponent(JSON.stringify(jsonData));
904
+
905
+ let url = USER_PREFIX + "/table_column/addTableJson";
906
+ let data = {
907
+ tableName: tableName,
908
+ // json: encodeURIComponent(JSON.stringify(saveColumn)),
909
+ json: json,
910
+ };
911
+ that.$http({
912
+ url: url,
913
+ method: "post",
914
+ data: data,
915
+ success: success,
916
+ });
917
+ }
918
+
919
+ function initColumnIndex(columns) {
920
+ columns.forEach(function (column, index) {
921
+ if (!column.params) column.params = {};
922
+ if (column.params) {
923
+ column.params._index = index;
924
+ column.params._visible = column.visible ?? true;
925
+ }
926
+ if (column.children && column.children.length > 0) {
927
+ initColumnIndex(column.children);
928
+ }
929
+ });
930
+ }
931
+
932
+ function initColumn(option, syncColumns) {
933
+ let oldColumns = option.columns;
934
+ let newColumns = [];
935
+ if (syncColumns) {
936
+ // 按列对象配对:DB 里同 field 多行时不得反复匹配同一 oldColumn;old 删了重复列时多余 sync 行应丢弃
937
+ const matchedOld = new Set();
938
+ syncColumns.forEach(function (syncColumn) {
939
+ const field = syncColumn.field;
940
+ if (!field) return;
941
+ const oldColumn = oldColumns.find(function (oc) {
942
+ return oc.field === field && !matchedOld.has(oc);
943
+ });
944
+ if (!oldColumn) return;
945
+ matchedOld.add(oldColumn);
946
+ if (!oldColumn.params) oldColumn.params = {};
947
+ const visibleSync =
948
+ option.visibleSync !== false && oldColumn.visibleSync !== false;
949
+ if (visibleSync) {
950
+ oldColumn.visible = syncColumn.visible;
951
+ }
952
+ if (oldColumn.width !== undefined) {
953
+ oldColumn.params._width = oldColumn.width;
954
+ }
955
+ if (syncColumn.width) oldColumn.width = syncColumn.width;
956
+ newColumns.push(oldColumn);
957
+ });
958
+ oldColumns.forEach(function (oldColumn, index) {
959
+ if (matchedOld.has(oldColumn)) return;
960
+ newColumns.splice(index, 0, oldColumn);
961
+ });
962
+
963
+ // 处理 children 中的列
964
+ if (syncColumns.length > 0) {
965
+ newColumns.forEach(function (newColumn) {
966
+ if (newColumn.children && newColumn.children.length > 0) {
967
+ // 在 syncColumns 中查找对应的父列
968
+ let syncParentColumn = syncColumns.find(function (syncCol) {
969
+ return syncCol.field === newColumn.field;
970
+ });
971
+ if (
972
+ syncParentColumn &&
973
+ syncParentColumn.children &&
974
+ syncParentColumn.children.length > 0
975
+ ) {
976
+ // 递归处理 children
977
+ newColumn.children = initColumn(
978
+ { columns: newColumn.children },
979
+ syncParentColumn.children
980
+ );
981
+ }
982
+ }
983
+ });
984
+ }
985
+ } else {
986
+ newColumns = oldColumns;
987
+ }
988
+ return newColumns;
989
+ }
990
+
991
+ function initExportColumns($grid, json) {
992
+ if (json?.exportColumns?.length) {
993
+ $grid.exportColumns = json.exportColumns;
994
+ }
995
+ if (json?.exportItemColumns?.length) {
996
+ $grid.exportItemColumns = json.exportItemColumns;
997
+ }
998
+ }
999
+
1000
+ function initSearchColumns(oriColumns, syncColumns) {
1001
+ let oldColumns = oriColumns || [];
1002
+ let newColumns = [];
1003
+ if (syncColumns) {
1004
+ const matchedOld = new Set();
1005
+ syncColumns.forEach(function (syncColumn) {
1006
+ const field = syncColumn.field;
1007
+ if (!field) return;
1008
+ const oldColumn = oldColumns.find(function (oc) {
1009
+ return oc.field === field && !oc.fixed && !matchedOld.has(oc);
1010
+ });
1011
+ if (!oldColumn) return;
1012
+ matchedOld.add(oldColumn);
1013
+ oldColumn.common = syncColumn.common || false;
1014
+ if (syncColumn.defaultValue !== undefined) {
1015
+ oldColumn.defaultValue = syncColumn.defaultValue;
1016
+ }
1017
+ newColumns.push(oldColumn);
1018
+ });
1019
+ oldColumns.forEach(function (oldColumn, index) {
1020
+ if (oldColumn.fixed) {
1021
+ newColumns.splice(index, 0, oldColumn);
1022
+ return;
1023
+ }
1024
+ if (matchedOld.has(oldColumn)) return;
1025
+ newColumns.splice(index, 0, oldColumn);
1026
+ });
1027
+ } else {
1028
+ newColumns = oldColumns;
1029
+ }
1030
+ return newColumns.length ? newColumns : oldColumns;
1031
+ }
1032
+
1033
+ function onColumnWitchChange(option) {
1034
+ let that = option.$grid.$parent;
1035
+ let $grid = option.$grid;
1036
+ let originOption = $grid.params.originOption;
1037
+ let tableName = originOption.tableName;
1038
+ if (tableName) {
1039
+ // let columns = $grid.columns;
1040
+ const { fullColumn, tableColumn } = $grid.getTableColumn();
1041
+ addTableJson(that, $grid, tableName);
1042
+ }
1043
+ }
1044
+
1045
+ function restoreColumnPosition(currentColumns) {
1046
+ // 根据 params._index 排序 currentColumns
1047
+ let sortedColumns = [...currentColumns].sort((a, b) => {
1048
+ let indexA = a.params?._index ?? 0;
1049
+ let indexB = b.params?._index ?? 0;
1050
+ return indexA - indexB;
1051
+ });
1052
+ console.log("sortedColumns", sortedColumns);
1053
+
1054
+ // 递归处理 children
1055
+ sortedColumns.forEach((column) => {
1056
+ if (column.children && column.children.length > 0) {
1057
+ column.children = restoreColumnPosition(column.children);
1058
+ } else {
1059
+ column.visible = column.params?._visible ?? true;
1060
+ if (column.params?._width !== undefined) {
1061
+ column.width = column.params?._width;
1062
+ } else {
1063
+ // delete column.width;
1064
+ }
1065
+ }
1066
+ });
1067
+
1068
+ return sortedColumns;
1069
+ }
1070
+
1071
+ function customHandle(option) {
1072
+ let that = option.$grid.$parent;
1073
+ let $grid = option.$grid;
1074
+ let originOption = $grid.params.originOption;
1075
+ if (option.type === "confirm" || option.type === "reset") {
1076
+ let tableName = originOption.tableName;
1077
+ if (option.type === "reset") {
1078
+ const { collectColumn } = $grid.getTableColumn();
1079
+
1080
+ // 还原列的位置
1081
+ let oldColumns = originOption.columns || [];
1082
+ if (oldColumns.length > 0) {
1083
+ const restoredColumns = restoreColumnPosition(collectColumn);
1084
+ console.log("restoredColumns", restoredColumns);
1085
+ $grid.loadColumn(restoredColumns);
1086
+ } else {
1087
+ $grid.loadColumn(collectColumn);
1088
+ }
1089
+ }
1090
+ if (tableName) {
1091
+ setTimeout(() => {
1092
+ addTableJson(that, $grid, tableName);
1093
+ }, 200);
1094
+ }
1095
+
1096
+ if (option && option.$event && option.$event.preventDefault) {
1097
+ option.$event.preventDefault(); // 取消事件的默认行为
1098
+ }
1099
+ }
1100
+ originOption.customCallback && originOption.customCallback(option);
1101
+ }
1102
+
1103
+ function changeSelectCount(checked) {
1104
+ let checkedLength = checked.records.length;
1105
+ }
1106
+
1107
+ function getTableData(that, tableRef, type, success) {
1108
+ if (
1109
+ configUtil.tableConfig.disableTableName ||
1110
+ settingConfig.tableStorageDisabled
1111
+ )
1112
+ return false;
1113
+ let $grid = getGrid(that, tableRef);
1114
+ let tableName = $grid.tableName;
1115
+ let url = USER_PREFIX + "/table_column/getTableData";
1116
+ let param = {
1117
+ tableName: tableName,
1118
+ type: type,
1119
+ };
1120
+ let data = null;
1121
+ return that.$http({
1122
+ async: false,
1123
+ url: url,
1124
+ method: "post",
1125
+ data: param,
1126
+ success: success,
1127
+ });
1128
+ }
1129
+
1130
+ function addTableData(that, tableRef, value, success) {
1131
+ if (
1132
+ configUtil.tableConfig.disableTableName ||
1133
+ settingConfig.tableStorageDisabled
1134
+ )
1135
+ return false;
1136
+ let $grid = getGrid(that, tableRef);
1137
+ let tableName = $grid.tableName;
1138
+ if (tableName) {
1139
+ that.$http({
1140
+ method: "post",
1141
+ url: USER_PREFIX + "/table_column/addTableData",
1142
+ data: {
1143
+ tableName: tableName,
1144
+ type: "isQueryAllPage",
1145
+ data: value,
1146
+ success: success,
1147
+ },
1148
+ });
1149
+ }
1150
+ }
1151
+
1152
+ function checkQueryTotal(that, tableRef, value) {
1153
+ let $grid = getGrid(that, tableRef);
1154
+ $grid.isQueryAllPage = value;
1155
+ let tableName = $grid.tableName;
1156
+ let option = $grid.getProxyInfo();
1157
+ let pagerConfig = $grid.pagerConfig;
1158
+
1159
+ $grid.pagerConfig.layouts = pagerConfig.layouts || [];
1160
+ addTableData(that, tableRef, value);
1161
+ $grid.commitProxy("query");
1162
+ }
1163
+
1164
+ function getPagerConfigLayouts(opts) {
1165
+ if (opts.showPageSizes !== false) {
1166
+ return ["Sizes", "PrevPage", "JumpNumber", "NextPage"];
1167
+ } else {
1168
+ return ["PrevPage", "JumpNumber", "NextPage"];
1169
+ }
1170
+ }
1171
+
1172
+ modules = {
1173
+ initVxeTable,
1174
+ columnDrop,
1175
+ initOption,
1176
+ getTableJson,
1177
+ addTableJson,
1178
+ onColumnWitchChange,
1179
+ customHandle,
1180
+ changeSelectCount,
1181
+ getTableData,
1182
+ addTableData,
1183
+ checkQueryTotal,
1184
+ getCellValue,
1185
+ createParams,
1186
+ };
1187
+
1188
+ if (!configUtil.Vue.prototype.$vxeTableUtil)
1189
+ configUtil.Vue.prototype.$vxeTableUtil = modules;
1190
+
12
1191
  export default modules;