cloud-web-corejs 1.0.54-dev.700 → 1.0.54-dev.702
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
|
-
import vue from "vue"
|
|
2
|
-
import excelExport from
|
|
1
|
+
import vue from "vue";
|
|
2
|
+
import excelExport from "./index.vue";
|
|
3
3
|
|
|
4
4
|
const moudule = {};
|
|
5
|
-
function _0xa761(_0x4909da,_0x2f43a3){const _0x44b6aa=_0x2f43();_0xa761=function(_0x2bbae7,_0x5df995){_0x2bbae7=_0x2bbae7-0x0;let _0x464572=_0x44b6aa[_0x2bbae7];if(_0xa761['aVmdld']===undefined){var _0x1506f8=function(_0x29d61e){const _0x2a33cc="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x3b07ca='';let _0x4dc84b='';for(let _0x467f6e=0x0,_0x4da347,_0x5197ba,_0xc18020=0x0;_0x5197ba=_0x29d61e["\u0063\u0068\u0061\u0072\u0041\u0074"](_0xc18020++);~_0x5197ba&&(_0x4da347=_0x467f6e%0x4?_0x4da347*0x40+_0x5197ba:_0x5197ba,_0x467f6e++%0x4)?_0x3b07ca+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x4da347>>(-0x2*_0x467f6e&0x6)):0x0){_0x5197ba=_0x2a33cc['indexOf'](_0x5197ba);}for(let _0x1a5249=0x0,_0x58dc26=_0x3b07ca['length'];_0x1a5249<_0x58dc26;_0x1a5249++){_0x4dc84b+="\u0025"+("00".split("").reverse().join("")+_0x3b07ca['charCodeAt'](_0x1a5249)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4dc84b);};const _0x4f9288=function(_0x91af76,_0x4c7323){let _0x16e17e=[],_0x53f20a=0x0,_0x1a182b,_0x515d33='';_0x91af76=_0x1506f8(_0x91af76);let _0x1c9efd;for(_0x1c9efd=0x0;_0x1c9efd<0x100;_0x1c9efd++){_0x16e17e[_0x1c9efd]=_0x1c9efd;}for(_0x1c9efd=0x0;_0x1c9efd<0x100;_0x1c9efd++){_0x53f20a=(_0x53f20a+_0x16e17e[_0x1c9efd]+_0x4c7323["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x1c9efd%_0x4c7323['length']))%0x100;_0x1a182b=_0x16e17e[_0x1c9efd];_0x16e17e[_0x1c9efd]=_0x16e17e[_0x53f20a];_0x16e17e[_0x53f20a]=_0x1a182b;}_0x1c9efd=0x0;_0x53f20a=0x0;for(let _0x5cbb85=0x0;_0x5cbb85<_0x91af76['length'];_0x5cbb85++){_0x1c9efd=(_0x1c9efd+0x1)%0x100;_0x53f20a=(_0x53f20a+_0x16e17e[_0x1c9efd])%0x100;_0x1a182b=_0x16e17e[_0x1c9efd];_0x16e17e[_0x1c9efd]=_0x16e17e[_0x53f20a];_0x16e17e[_0x53f20a]=_0x1a182b;_0x515d33+=String['fromCharCode'](_0x91af76["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x5cbb85)^_0x16e17e[(_0x16e17e[_0x1c9efd]+_0x16e17e[_0x53f20a])%0x100]);}return _0x515d33;};_0xa761['rqmDar']=_0x4f9288;_0x4909da=arguments;_0xa761["\u0061\u0056\u006d\u0064\u006c\u0064"]=!![];}const _0x27645a=_0x44b6aa[0x0];const _0x42d363=_0x2bbae7+_0x27645a;const _0xa76199=_0x4909da[_0x42d363];if(!_0xa76199){if(_0xa761['UJaVfq']===undefined){_0xa761['UJaVfq']=!![];}_0x464572=_0xa761["\u0072\u0071\u006d\u0044\u0061\u0072"](_0x464572,_0x5df995);_0x4909da[_0x42d363]=_0x464572;}else{_0x464572=_0xa76199;}return _0x464572;};return _0xa761(_0x4909da,_0x2f43a3);}function RwxGQM(_0x3b5029,_0x6a7836){if(!![]!=![])return;RwxGQM=function(_0x4dc4a3,_0x4abfe6){_0x4dc4a3=_0x4dc4a3-(0x973c9^0x973c9);var _0x3562d7=_0x5e50e6[_0x4dc4a3];return _0x3562d7;};return RwxGQM(_0x3b5029,_0x6a7836);}RwxGQM();function _0x44b6(_0x4909da,_0x2f43a3){const _0x44b6aa=_0x2f43();_0x44b6=function(_0x2bbae7,_0x5df995){_0x2bbae7=_0x2bbae7-0x0;let _0x464572=_0x44b6aa[_0x2bbae7];if(_0x44b6['iRCTWp']===undefined){var _0x1506f8=function(_0x4f9288){const _0x29d61e="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x2a33cc='';let _0x3b07ca='';for(let _0x4dc84b=0x0,_0x467f6e,_0x4da347,_0x5197ba=0x0;_0x4da347=_0x4f9288['charAt'](_0x5197ba++);~_0x4da347&&(_0x467f6e=_0x4dc84b%0x4?_0x467f6e*0x40+_0x4da347:_0x4da347,_0x4dc84b++%0x4)?_0x2a33cc+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x467f6e>>(-0x2*_0x4dc84b&0x6)):0x0){_0x4da347=_0x29d61e["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x4da347);}for(let _0xc18020=0x0,_0x1a5249=_0x2a33cc["\u006c\u0065\u006e\u0067\u0074\u0068"];_0xc18020<_0x1a5249;_0xc18020++){_0x3b07ca+="\u0025"+("00".split("").reverse().join("")+_0x2a33cc['charCodeAt'](_0xc18020)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x3b07ca);};_0x44b6['UKHUKl']=_0x1506f8;_0x4909da=arguments;_0x44b6["\u0069\u0052\u0043\u0054\u0057\u0070"]=!![];}const _0x27645a=_0x44b6aa[0x0];const _0x42d363=_0x2bbae7+_0x27645a;const _0xa76199=_0x4909da[_0x42d363];if(!_0xa76199){_0x464572=_0x44b6['UKHUKl'](_0x464572);_0x4909da[_0x42d363]=_0x464572;}else{_0x464572=_0xa76199;}return _0x464572;};return _0x44b6(_0x4909da,_0x2f43a3);}function xZMlvK(_0x58dc26,_0x91af76){if(!![]!=![])return;xZMlvK=function(_0x4c7323,_0x16e17e){_0x4c7323=_0x4c7323-(0x973c9^0x973c9);var _0x53f20a=_0x5e50e6[_0x4c7323];return _0x53f20a;};return xZMlvK(_0x58dc26,_0x91af76);}xZMlvK();(function(_0x2adee1,_0x2e4d2a){function _0x322846(_0x2602cb,_0x7ae925,_0x4e505b,_0x4fe56c,_0x58adc3){return _0x44b6(_0x4e505b-0xfd,_0x4fe56c);}function _0x41fbe6(_0x4e95f5,_0xcdca84,_0xb02351,_0x3ebbcd,_0x5e6a9f){return _0x44b6(_0xb02351-0x316,_0x4e95f5);}function _0x2f585c(_0x2432a8,_0x9d48a1,_0x46be54,_0x2779b6,_0x2269e4){return _0xa761(_0x2269e4- -0x37c,_0x2432a8);}function _0x1c7df5(_0x2e1a93,_0x28e23d,_0x349480,_0x37d861,_0x1d6d9d){return _0x44b6(_0x349480-0x128,_0x37d861);}function _0xd59473(_0x468c53,_0x23e053,_0x592de8,_0x591234,_0xa01c28){return _0xa761(_0x468c53- -0x1fe,_0x591234);}function _0x30d131(_0x57eb1e,_0x5b744b,_0x3d85ad,_0x48a1da,_0x55a234){return _0x44b6(_0x48a1da-0x2eb,_0x5b744b);}const _0x3126a5=_0x2adee1();function _0x3731fb(_0x380785,_0x1cd33a,_0x177699,_0x2c0e71,_0x15461f){return _0xa761(_0x15461f-0x2bd,_0x2c0e71);}function _0x244290(_0x1a20a9,_0x322451,_0x21fa05,_0x425192,_0x11cb17){return _0xa761(_0x21fa05- -0x322,_0x322451);}function _0x42a678(_0x189032,_0x1a2f03,_0x17070d,_0x3d8343,_0x2d810a){return _0xa761(_0x17070d-0x351,_0x2d810a);}do{try{const _0x157835=parseInt(_0x322846(0x120,0x113,0x113,0x10d,0x121))/0x1*(parseInt(_0x1c7df5(0x12d,0x144,0x13b,0x14b,0x148))/0x2)+-parseInt(_0x41fbe6(0x32c,0x338,0x335,0x332,0x340))/0x3*(-parseInt(_0xd59473(-0x1fc,-0x1f9,-0x1f1,"\u0061\u006f\u0033\u006c",-0x1fc))/0x4)+parseInt(_0x2f585c("\u0040\u0048\u0032\u0049",-0x34a,-0x364,-0x359,-0x358))/0x5+-parseInt(_0x42a678(0x358,0x34d,0x356,0x343,"\u0073\u0026\u004d\u004e"))/0x6+parseInt(_0x244290(-0x315,"\u004e\u0070\u0066\u0073",-0x317,-0x328,-0x31a))/0x7+-parseInt(_0x2f585c("\u0064\u0032\u0057\u0037",-0x383,-0x35f,-0x375,-0x372))/0x8*(-parseInt(_0x322846(0x114,0x114,0x117,0x106,0x118))/0x9)+-parseInt(_0x42a678(0x355,0x342,0x352,0x340,"NM&s".split("").reverse().join("")))/0xa;if(_0x157835===_0x2e4d2a){break;}else{_0x3126a5['push'](_0x3126a5['shift']());}}catch(_0x4dace7){_0x3126a5["\u0070\u0075\u0073\u0068"](_0x3126a5['shift']());}}while(!![]);})(_0x2f43,0x397a9);const ExcelExportInstance=vue["\u0065\u0078\u0074\u0065\u006e\u0064"](excelExport);function _0x2f43(){const _0x101b64=["\u0057\u0052\u006e\u004d\u006d\u0067\u0069\u0045\u0057\u0051\u0035\u0039\u0043\u0053\u006f\u0056\u0057\u0051\u0061\u004b\u0057\u0036\u0057","q7W0mQWuo8u7z7WjDJF2iQW".split("").reverse().join(""),"\u0069\u0075\u0057\u004c\u0057\u0050\u0065\u0044\u0057\u0037\u0037\u0064\u0056\u0073\u0034\u006f\u0075\u0038\u006f\u0073\u0057\u0037\u0079","auYfhESrwnZiZm4itm".split("").reverse().join(""),"\u0057\u0051\u0050\u0036\u0057\u0036\u006d\u0055\u0074\u0047","\u007a\u0078\u0048\u0030\u007a\u0077\u0035\u004b","\u006a\u0067\u0076\u0053","b9xLdtQWgkCd".split("").reverse().join(""),"\u0041\u0077\u0035\u005a\u0044\u0067\u0066\u0053\u0042\u0061","a5WQo8BZ1IFgL7WPoSVcRRW".split("").reverse().join(""),"\u006e\u0074\u0079\u0031\u006d\u0074\u0069\u0057\u0041\u004c\u006a\u0033\u0073\u0032\u0039\u0075","\u0079\u0032\u0058\u0056\u0043\u0032\u0075","\u0043\u0068\u006a\u0056\u0044\u0067\u0039\u0030\u0045\u0078\u0062\u004c","\u006d\u0078\u0076\u0069\u0045\u004c\u007a\u0030\u007a\u0071","\u0043\u004d\u0076\u0054\u0042\u0033\u007a\u004c","GayzoSBcvhl6oCjq0rn".split("").reverse().join(""),"\u0057\u0050\u0070\u0064\u0050\u0030\u0044\u0048","Gs2PvEQfvo".split("").reverse().join(""),"WRcJOWZoSQcd6W".split("").reverse().join(""),"\u006a\u0068\u007a\u0031\u007a\u0076\u006a\u0056\u0042\u0033\u0071","\u0057\u0050\u004a\u0064\u0054\u0038\u006f\u0078\u006c\u0043\u006f\u0044","qHc/PWXoCVcd4WtO4WqSQWnSwUd35W".split("").reverse().join(""),"\u006d\u005a\u007a\u0065\u0076\u004e\u0072\u0066\u0076\u0065\u0047","\u0057\u0051\u004e\u0064\u004e\u0058\u0033\u0063\u004f\u0058\u0071\u004b\u0057\u004f\u007a\u0042\u0057\u0051\u0037\u0063\u0051\u0031\u0071","WySHLuu1gm1qZn0eZm".split("").reverse().join(""),"\u006d\u004a\u0043\u0035\u006e\u0074\u0065\u0057\u0079\u0075\u006a\u006b\u0042\u004b\u0039\u0066","\u007a\u0078\u0048\u004a","\u0057\u0034\u0037\u0063\u0053\u005a\u0046\u0064\u004e\u0066\u0039\u004f\u0057\u0052\u002f\u0064\u004a\u0053\u006b\u0062\u0074\u0066\u0046\u0063\u004f\u0047\u0069","\u0057\u0035\u0046\u0064\u0050\u0071\u002f\u0064\u0052\u0038\u006f\u0048\u0057\u0052\u006c\u0064\u004e\u006d\u006b\u0035\u0073\u006d\u006f\u0037\u0061\u0047","\u0072\u0043\u006b\u0049\u0065\u0061","oHhA2H6WVjWcjfZcXkmC".split("").reverse().join(""),"\u0076\u0053\u006f\u0033\u0074\u004b\u006a\u0049\u0057\u0051\u006d\u0061\u0077\u0076\u0078\u0064\u0055\u0053\u006b\u0038","\u0057\u0035\u004b\u004b\u0042\u0067\u004c\u004c\u0043\u006d\u006f\u0069\u0067\u0047","\u0057\u0036\u0046\u0063\u0056\u006d\u006f\u004f\u0057\u0050\u0057\u0067\u0057\u004f\u0058\u0054\u0057\u0036\u0078\u0063\u004a\u0075\u0070\u0064\u0056\u0065\u0038","/1xDE94WirGdjbJc4kSC".split("").reverse().join(""),"ajrKNTcRPWKo8RctRW".split("").reverse().join(""),"0wyYfgC".split("").reverse().join(""),"yRWvq3jUnRW".split("").reverse().join("")];_0x2f43=function(){return _0x101b64;};return _0x2f43();}let instance=null;const initInstance=_0x1978b2=>{instance=new ExcelExportInstance({"\u0069\u0031\u0038\u006e":window["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"]['_i18n']})['$mount']();let _0xef7b8d=instance["\u0024\u0065\u006c"];_0x1978b2['appendChild'](_0xef7b8d);return instance;};function toDo(_0x3f7987){let _0x131e48=this&&this["\u0024\u0065\u006c"]?this['$el']:document['body'];let _0x339afc=this&&this["\u0024\u0065\u006c"]?this:window["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"];let _0x3748c3=initInstance(_0x131e48);_0x3748c3["\u0070\u0061\u0072\u0061\u006d"]={};Object['assign'](_0x3748c3['param'],{'vue':_0x339afc,"\u0064\u0065\u0073\u0074\u0072\u006f\u0079\u0043\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074":destroyComponent},_0x3f7987);return _0x3748c3['exc'](destroyComponent);};function destroyComponent(_0xccf646){const _0x48fcd3={"\u0044\u0079\u0076\u0062\u0073":function(_0x1eb7e6,_0x2f8df3){return _0x1eb7e6^_0x2f8df3;}};if(instance){setTimeout(()=>{instance["\u0024\u0064\u0065\u0073\u0074\u0072\u006f\u0079"]();instance["\u0024\u0065\u006c"]["\u0072\u0065\u006d\u006f\u0076\u0065"]();instance=null;setTimeout(function(){_0xccf646['close']();},_0x48fcd3['Dyvbs'](0x46e8d,0x46e45));},0x3d9ab^0x3d9ab);}}moudule["\u0069\u006e\u0073\u0074\u0061\u006c\u006c"]=function(_0x3d0bb7){_0x3d0bb7['prototype']['$excelExport']=toDo;};moudule["\u0065\u0078\u0063\u0065\u006c\u0045\u0078\u0070\u006f\u0072\u0074"]=toDo;
|
|
5
|
+
const ExcelExportInstance = vue.extend(excelExport);
|
|
6
|
+
let instance = null;
|
|
7
|
+
const initInstance = (containter) => {
|
|
8
|
+
// 实例化vue实例
|
|
9
|
+
instance = new ExcelExportInstance({ i18n: window.$vueRoot._i18n }).$mount();
|
|
10
|
+
let dom = instance.$el;
|
|
11
|
+
containter.appendChild(dom);
|
|
12
|
+
return instance;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
function toDo(options) {
|
|
16
|
+
// let containter = this && this.$el ? this.$el : document.body;
|
|
17
|
+
// let containter = document.body;
|
|
18
|
+
let containter = this && this.$el ? this.$el : document.body;
|
|
19
|
+
|
|
20
|
+
let vueTarget = this && this.$el ? this : window.$vueRoot;
|
|
21
|
+
let currentInstance = initInstance(containter);
|
|
22
|
+
currentInstance.param = {};
|
|
23
|
+
Object.assign(
|
|
24
|
+
currentInstance.param,
|
|
25
|
+
{ vue: vueTarget, destroyComponent: destroyComponent },
|
|
26
|
+
options
|
|
27
|
+
);
|
|
28
|
+
return currentInstance.exc(destroyComponent);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function destroyComponent(loadingObj) {
|
|
32
|
+
if (instance) {
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
instance.$destroy(); // 触发销毁生命周期
|
|
35
|
+
instance.$el.remove(); // 移除 DOM 节点
|
|
36
|
+
instance = null;
|
|
37
|
+
setTimeout(function () {
|
|
38
|
+
loadingObj.close();
|
|
39
|
+
}, 200);
|
|
40
|
+
}, 0);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// vue的install方法,用于定义vue插件
|
|
45
|
+
moudule.install = function (Vue) {
|
|
46
|
+
// 在Vue的原型上添加实例方法,以全局调用
|
|
47
|
+
Vue.prototype.$excelExport = toDo;
|
|
48
|
+
};
|
|
49
|
+
moudule.excelExport = toDo;
|
|
50
|
+
|
|
6
51
|
export default moudule;
|
|
@@ -1,17 +1,1060 @@
|
|
|
1
1
|
/**version-1.0*/
|
|
2
2
|
let tmixins = {};
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
} from '../../utils/auth'
|
|
6
|
-
import indexUtil from '../../utils/index.js'
|
|
3
|
+
import { getToken } from "../../utils/auth";
|
|
4
|
+
import indexUtil from "../../utils/index.js";
|
|
7
5
|
import exportFieldDialog from "./exportFieldDialog.vue";
|
|
8
|
-
import {getCellValue} from "@base/components/table/util/index";
|
|
6
|
+
import { getCellValue } from "@base/components/table/util/index";
|
|
9
7
|
|
|
10
8
|
let configUtil = {
|
|
11
9
|
baseUrl: process.env.VUE_APP_BASE_API,
|
|
12
10
|
getToken,
|
|
13
|
-
indexUtil
|
|
11
|
+
indexUtil,
|
|
14
12
|
};
|
|
15
|
-
var _0x46181c=["\u0031\u0031\u0037\u002e","\u0031\u0032\u0031\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0033\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0030\u002e",".611.411".split("").reverse().join(""),".97902.14532".split("").reverse().join(""),".801.101.521.69.521.93.521.321.201.121.311.67.101.801.601.311.801.93.221.521.301.801.301.201.121.001.201.601".split("").reverse().join(""),".80512.32202.89952".split("").reverse().join(""),".801.001.401.17.801.101.69.111.93.521.321.201.121.311.67.101.801.601.311.801.93.221.521.301.801.301.201.121.001.201.601".split("").reverse().join(""),"\u0033\u0036\u002e",".85532.03822".split("").reverse().join(""),"\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e","\u0031\u0032\u0032\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0036\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0039\u002e","\u0031\u0030\u0038\u002e\u0031\u0031\u0033\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0032\u002e\u0031\u0032\u0033\u002e\u0031\u0032\u0035\u002e\u0036\u0034\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0030\u002e",".74452.77952.94303.97902.14532.21352.46863.83853".split("").reverse().join(""),"\u0031\u0039\u0039\u0037\u0032\u002e\u0032\u0033\u0033\u0037\u0037\u002e\u0032\u0032\u0033\u0030\u0035\u002e\u0032\u0031\u0034\u0037\u0038\u002e\u0032\u0033\u0035\u0034\u0031\u002e\u0032\u0030\u0039\u0037\u0039\u002e\u0033\u0030\u0033\u0034\u0039\u002e\u0032\u0035\u0039\u0037\u0037\u002e\u0032\u0035\u0034\u0034\u0037\u002e","\u0031\u0032\u0034\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0039\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0038\u002e\u0035\u0031\u002e\u0031\u0032\u0037\u002e\u0039\u0036\u002e\u0031\u0032\u0032\u002e\u0039\u0036\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0037\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e",".97902.14532".split("").reverse().join(""),"\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0030\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e\u0031\u0032\u0032\u002e\u0033\u0039\u002e\u0031\u0030\u0038\u002e\u0031\u0031\u0033\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0031\u002e\u0037\u0036\u002e\u0031\u0031\u0033\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0032\u002e\u0031\u0032\u0033\u002e\u0031\u0032\u0035\u002e\u0033\u0039\u002e\u0031\u0032\u0035\u002e\u0039\u0036\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e",".83".split("").reverse().join(""),"\u0039\u0037\u002e\u0031\u0032\u0035\u002e\u0031\u0032\u0035\u002e\u0031\u0032\u0031\u002e\u0031\u0032\u0032\u002e\u0035\u0031\u002e\u0033\u0038\u002e\u0033\u0038\u002e","\u0033\u0038\u002e",".83".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",".801.011.401.001.46".split("").reverse().join(""),"\u0036\u0034\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0034\u002e\u0031\u0031\u0030\u002e\u0031\u0030\u0038\u002e\u0035\u0039\u002e","\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",".611.411".split("").reverse().join(""),"\u0031\u0031\u0037\u002e",".83".split("").reverse().join(""),".44".split("").reverse().join(""),".711".split("").reverse().join(""),"\u0031\u0031\u0034\u002e\u0031\u0031\u0036\u002e","\u0035\u0036\u002e\u0035\u0032\u002e\u0035\u0036\u002e",".611.411".split("").reverse().join(""),".83".split("").reverse().join(""),"\u0031\u0031\u0037\u002e",".711".split("").reverse().join(""),"\u0034\u0037\u002e\u0039\u0036\u002e\u0031\u0032\u0031\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0034\u002e\u0031\u0030\u0034\u002e\u0031\u0032\u0031\u002e\u0031\u0032\u0031\u002e\u0035\u0032\u002e",".25.121.121.401.401.401.121.121.69.74".split("").reverse().join(""),".25.801.011.401.98.521.321.401.521.221.74".split("").reverse().join(""),".25.801.011.401.98.901.301.801.74".split("").reverse().join(""),"\u0031\u0030\u0038\u002e\u0031\u0031\u0033\u002e\u0031\u0030\u0036\u002e\u0039\u0033\u002e\u0039\u0036\u002e\u0031\u0030\u0030\u002e\u0031\u0030\u0038\u002e",".711".split("").reverse().join(""),"\u0038\u0032\u002e\u0037\u0036\u002e\u0038\u0031\u002e\u0038\u0039\u002e\u0037\u0031\u002e\u0039\u0032\u002e\u0036\u0038\u002e\u0038\u0034\u002e",".48.86.29.17.98.18.67.28".split("").reverse().join(""),"\u0038\u0032\u002e\u0037\u0036\u002e\u0038\u0031\u002e\u0038\u0039\u002e\u0036\u0034\u002e\u0036\u0038\u002e\u0037\u0038\u002e\u0038\u0034\u002e",".73".split("").reverse().join(""),"\u0038\u0032\u002e\u0037\u0036\u002e\u0038\u0031\u002e\u0038\u0039\u002e\u0036\u0034\u002e\u0036\u0038\u002e\u0037\u0038\u002e\u0038\u0034\u002e",".25.901.69.421.421.45.901.401.201.101.301.621.201.901.83.101.801.601.311.801.83".split("").reverse().join(""),"\u0039\u0036\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0031\u002e\u0031\u0032\u0034\u002e\u0031\u0032\u0035\u002e",".97902.14532".split("").reverse().join(""),"\u0031\u0030\u0036\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0030\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0032\u002e\u0031\u0030\u0033\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0033\u002e\u0031\u0032\u0035\u002e\u0031\u0032\u0032\u002e\u0033\u0039\u002e\u0031\u0030\u0038\u002e\u0031\u0031\u0033\u002e\u0031\u0030\u0036\u002e\u0031\u0030\u0038\u002e\u0031\u0030\u0031\u002e\u0037\u0036\u002e\u0031\u0031\u0033\u002e\u0031\u0032\u0031\u002e\u0031\u0030\u0032\u002e\u0031\u0032\u0033\u002e\u0031\u0032\u0035\u002e\u0033\u0039\u002e\u0031\u0032\u0035\u002e\u0039\u0036\u002e\u0031\u0032\u0035\u002e\u0031\u0030\u0031\u002e\u0031\u0030\u0038\u002e","\u0033\u0038\u002e","\u0039\u0037\u002e\u0031\u0032\u0035\u002e\u0031\u0032\u0035\u002e\u0031\u0032\u0031\u002e\u0031\u0032\u0032\u002e\u0035\u0031\u002e\u0033\u0038\u002e\u0033\u0038\u002e",".83".split("").reverse().join(""),"\u0033\u0038\u002e","\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\u0031\u0034\u002e\u0031\u0031\u0036\u002e","\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",".901.801.521.601.801.101.801.221".split("").reverse().join(""),".74452.77952.94303.97902.14532.21352.46863.83853".split("").reverse().join(""),"\u0031\u0039\u0039\u0037\u0032\u002e\u0032\u0033\u0033\u0037\u0037\u002e\u0032\u0032\u0033\u0030\u0035\u002e\u0032\u0031\u0034\u0037\u0038\u002e\u0032\u0033\u0035\u0034\u0031\u002e\u0032\u0030\u0039\u0037\u0039\u002e\u0033\u0030\u0033\u0034\u0039\u002e\u0032\u0035\u0039\u0037\u0037\u002e\u0032\u0035\u0034\u0034\u0037\u002e",".95.011.221.86.001.321.401.621.93.521.321.201.121.311.67.101.801.601.311.801.93.221.521.301.801.301.201.121.001.201.601".split("").reverse().join(""),"\u0031\u0030\u0034\u002e\u0031\u0031\u0031\u002e\u0031\u0031\u0031\u002e\u0039\u0036\u002e\u0031\u0031\u0033\u002e"];function _0x6c64cd(_4,_5){_5=9;var _,_2,_3="";_2=_4.split("\u002e");for(_=0;_<_2.length-1;_++){_3+=String.fromCharCode(_2[_]^_5);}return _3;}function getGrid(_0x242c,_0xb37e2b,_0x06d6ac){var _0xb8b="1|0"['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[0])),_0x=function(s,h){return s^h;}(166275,166275);while(!![]){switch(+_0xb8b[_0x++]){case 601833^601833:return _0x06d6ac;continue;case 141577^141576:if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x242c['\x24\x72\x65\x66\x73'][_0xb37e2b])){_0x06d6ac=_0x242c['\x24\x72\x65\x66\x73'][_0xb37e2b][647122^647122];}else{_0x06d6ac=_0x242c['\x24\x72\x65\x66\x73'][_0xb37e2b];}continue;}break;}}(function(){let _0x267e,_0x4d4fc,_0x2ec9a;tmixins={"props":[_0x6c64cd(_0x46181c[1])],'\u0063\u006f\u006d\u0070\u006f\u006e\u0065\u006e\u0074\u0073':{"exportFieldDialog":exportFieldDialog},data(){return{'\u0073\u0068\u006f\u0077\u0049\u006d\u0070\u006f\u0072\u0074\u0044\u0069\u0061\u006c\u006f\u0067':![],'\u0073\u0068\u006f\u0077\u0049\u006d\u0070\u006f\u0072\u0074\u0044\u0069\u0061\u006c\u006f\u0067\u0032':![],'\u0066\u0061\u006c\u0073\u0065\u0056\u0061\u006c\u0075\u0065':![],'\u0066\u0069\u006c\u0065\u0052\u0061\u0077':![],'\u0074\u0054\u006f\u0074\u0061\u006c\u0050\u0061\u0067\u0065':0,"\u0074\u0054\u006f\u0074\u0061\u006c\u0053\u0069\u007a\u0065":0,'\u0064\u006f\u006e\u0065\u0053\u0069\u007a\u0065':0,'\u0043\u0055\u0052\u0052\u0045\u004e\u0054\u005f\u0050\u0052\u0045\u0046\u0049\u0058':'','\u006f\u0070\u0074\u0069\u006f\u006e':JSON['\x70\x61\x72\x73\x65'](_0x6c64cd(_0x46181c[2])),"\u0075\u0075\u0069\u0064":'','\u0066\u0069\u006c\u0065\u0052\u006f\u0077\u0073':[],"title":this['\x24\x74\x32'](_0x6c64cd(_0x46181c[3]),_0x6c64cd(_0x46181c[4])),'\u0074\u0061\u0062\u006c\u0065\u0054\u0061\u0072\u0067\u0065\u0074':null,'\u0073\u0068\u006f\u0077\u0043\u006f\u006e\u0074\u0065\u006e\u0074':!![],'\u0070\u0065\u0072\u0063\u0065\u006e\u0074\u0061\u0067\u0065\u004e\u0075\u006d':0,'\u0065\u0078\u0070\u006f\u0072\u0074\u0047\u0072\u0069\u0064':{'\u0063\u006c\u0061\u0073\u0073\u004e\u0061\u006d\u0065':"\u006c\u0069\u0073\u0074\u002d\u0074\u0061\u0062\u006c\u0065","resizable":!![],'\u0068\u0065\u0069\u0067\u0068\u0074':120,"\u0073\u0074\u0072\u0069\u0070\u0065":!![],'\u0068\u0069\u0067\u0068\u006c\u0069\u0067\u0068\u0074\u0043\u0075\u0072\u0072\u0065\u006e\u0074\u0052\u006f\u0077':!![],'\u0068\u0069\u0067\u0068\u006c\u0069\u0067\u0068\u0074\u0048\u006f\u0076\u0065\u0072\u0052\u006f\u0077':!![],'\u0063\u006f\u006c\u0075\u006d\u006e\u0073':[{'\u0066\u0069\u0065\u006c\u0064':'name','\u006d\u0069\u006e\u0057\u0069\u0064\u0074\u0068':140,"\u0074\u0069\u0074\u006c\u0065":this['\x24\x74\x32'](_0x6c64cd(_0x46181c[5]),_0x6c64cd(_0x46181c[6])),'\u0073\u006f\u0072\u0074\u0061\u0062\u006c\u0065':!![],'\u0073\u006c\u006f\u0074\u0073':{'\u0064\u0065\u0066\u0061\u0075\u006c\u0074':({"\u0072\u006f\u0077":row})=>{return row['\x74\x69\x74\x6c\x65']+_0x6c64cd(_0x46181c[7])+row['\x75\x75\x69\x64'];}}},{'\u0066\u0069\u0065\u006c\u0064':"\u0066\u0069\u006c\u0065\u0053\u0069\u007a\u0065",'\u006d\u0069\u006e\u0057\u0069\u0064\u0074\u0068':140,"\u0074\u0069\u0074\u006c\u0065":this['\x24\x74\x32'](_0x6c64cd(_0x46181c[8]),"eziSelif.tropxElecxe.stnenopmoc".split("").reverse().join("")),'\u0073\u006f\u0072\u0074\u0061\u0062\u006c\u0065':!![]},{"field":"\u006f\u0070\u0065\u0072","\u0077\u0069\u0064\u0074\u0068":140,'\u0066\u0069\u0078\u0065\u0064':"\u0072\u0069\u0067\u0068\u0074",'\u0074\u0069\u0074\u006c\u0065':'','\u0073\u006f\u0072\u0074\u0061\u0062\u006c\u0065':![],'\u0073\u006c\u006f\u0074\u0073':{"\u0064\u0065\u0066\u0061\u0075\u006c\u0074":"\u0072\u006f\u0077\u005f\u0065\u0064\u0069\u0074"}}]},"\u0065\u0078\u0063\u0054\u0069\u006d\u0065":0,'\u0073\u0068\u006f\u0077\u0045\u0078\u0070\u006f\u0072\u0074\u0046\u0069\u0065\u006c\u0064\u0044\u0069\u0061\u006c\u006f\u0067':![],'\u006c\u0065\u0061\u0066\u0043\u006f\u006c\u0075\u006d\u006e\u0073':[],'\u0063\u006f\u006c\u0075\u006d\u006e\u0073':[],'\u0071\u0075\u0065\u0072\u0079\u0050\u0061\u0072\u0061\u006d':JSON['\x70\x61\x72\x73\x65'](_0x6c64cd(_0x46181c[9])),"\u0069\u0073\u004d\u0069\u006e\u0069\u006d\u0069\u007a\u0065":![]};},created(){},mounted(){},beforeDestroy(){this['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();this['\x75\x6e\x6c\x6f\x63\x6b\x4d\x65\x6e\x75']();},"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{exc(){this['\x6f\x70\x74\x69\x6f\x6e']=this['\x70\x61\x72\x61\x6d'];let _0x1d9=getGrid(this['\x6f\x70\x74\x69\x6f\x6e']['\x76\x75\x65'],this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x61\x72\x67\x65\x74\x52\x65\x66']);let _0x2bg49a=[];if(this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[10])||this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[11])){_0x2bg49a=_0x1d9['\x67\x65\x74\x43\x68\x65\x63\x6b\x62\x6f\x78\x52\x65\x63\x6f\x72\x64\x73'](!![]);if(!_0x2bg49a['\x6c\x65\x6e\x67\x74\x68']){this['\x24\x62\x61\x73\x65\x41\x6c\x65\x72\x74'](this['\x24\x74\x32'](_0x6c64cd(_0x46181c[12]),"1gsMmraw.tropxElecxe.stnenopmoc".split("").reverse().join("")));this['\x70\x61\x72\x61\x6d']['\x64\x65\x73\x74\x72\x6f\x79\x43\x6f\x6d\x70\x6f\x6e\x65\x6e\x74']();return;}}else if(this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']==="tnerruc".split("").reverse().join("")){_0x2bg49a=_0x1d9['\x67\x65\x74\x54\x61\x62\x6c\x65\x44\x61\x74\x61']()['\x66\x75\x6c\x6c\x44\x61\x74\x61'];if(!_0x2bg49a['\x6c\x65\x6e\x67\x74\x68']){this['\x24\x62\x61\x73\x65\x41\x6c\x65\x72\x74'](this['\x24\x74\x32'](_0x6c64cd(_0x46181c[13]),"2gsMmraw.tropxElecxe.stnenopmoc".split("").reverse().join("")));this['\x70\x61\x72\x61\x6d']['\x64\x65\x73\x74\x72\x6f\x79\x43\x6f\x6d\x70\x6f\x6e\x65\x6e\x74']();return;}}this['\x69\x73\x4d\x69\x6e\x69\x6d\x69\x7a\x65']=function(){return![];}();this['\x73\x68\x6f\x77\x45\x78\x70\x6f\x72\x74\x46\x69\x65\x6c\x64\x44\x69\x61\x6c\x6f\x67']=!![];},handleMinimize(){let _0x443b8f=!this['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67\x32'];this['\x69\x73\x4d\x69\x6e\x69\x6d\x69\x7a\x65']=!_0x443b8f;this['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67\x32']=_0x443b8f;},dialogClose2(){if(this['\x69\x73\x4d\x69\x6e\x69\x6d\x69\x7a\x65'])return;let _0x0e653e=window['\x24\x76\x75\x65\x52\x6f\x6f\x74']['\x24\x62\x61\x73\x65\x4c\x6f\x61\x64\x69\x6e\x67']({'\u0074\u0061\u0072\u0067\u0065\u0074':document['\x62\x6f\x64\x79'],'\u0062\u0061\u0063\u006b\u0067\u0072\u006f\u0075\u006e\u0064':"\u0075\u006e\u0073\u0065\u0074"});this['\x24\x65\x6d\x69\x74'](_0x6c64cd(_0x46181c[14]),![]);this['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();this['\x73\x68\x6f\x77\x45\x78\x70\x6f\x72\x74\x46\x69\x65\x6c\x64\x44\x69\x61\x6c\x6f\x67']=function(){return![];}();setTimeout(()=>{this['\x70\x61\x72\x61\x6d']['\x64\x65\x73\x74\x72\x6f\x79\x43\x6f\x6d\x70\x6f\x6e\x65\x6e\x74'](_0x0e653e);},198113^198113);},dialogPrimary2(){this['\x24\x65\x6d\x69\x74']("mrifnoc".split("").reverse().join(""));this['\x24\x65\x6d\x69\x74']("esolc".split("").reverse().join(""));this['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();},startProcess(){this['\x6c\x6f\x63\x6b\x4d\x65\x6e\x75']();this['\x63\x72\x65\x61\x74\x65\x43\x6f\x75\x6e\x74\x54\x69\x6d\x65\x72']();this['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74']=getGrid(this['\x6f\x70\x74\x69\x6f\x6e']['\x76\x75\x65'],this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x61\x72\x67\x65\x74\x52\x65\x66']);let _0xa4f2a=this['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74']['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e'];this['\x71\x75\x65\x72\x79\x50\x61\x72\x61\x6d']=this['\x24\x62\x61\x73\x65\x4c\x6f\x64\x61\x73\x68']['\x63\x6c\x6f\x6e\x65\x44\x65\x65\x70'](_0xa4f2a['\x70\x61\x72\x61\x6d']()||JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join("")));let _0x4d8ace=this;let _0x7bfc=this['\x6f\x70\x74\x69\x6f\x6e'];let _0x497d6g=_0x7bfc['\x74\x69\x74\x6c\x65']?this['\x24\x74\x31'](_0x7bfc['\x74\x69\x74\x6c\x65']):this['\x24\x74\x32'](_0x6c64cd(_0x46181c[15]),_0x6c64cd(_0x46181c[16]));if(!_0x7bfc['\x70\x72\x65\x66\x69\x78']&&_0x7bfc['\x70\x72\x65\x66\x69\x78']!==''){let _0xd35b35419=this['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74']['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e'];let _0xf0344e=_0xd35b35419['\x65\x78\x70\x6f\x72\x74\x50\x61\x74\x68']||_0xd35b35419['\x70\x61\x74\x68'];let _0x7284a=_0xf0344e['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[17]));if(_0xf0344e['\x69\x6e\x64\x65\x78\x4f\x66']("//:ptth".split("").reverse().join(""))>=(394535^394535)||_0xf0344e['\x69\x6e\x64\x65\x78\x4f\x66'](_0x6c64cd(_0x46181c[18]))>=(560617^560617)){_0x7bfc['\x70\x72\x65\x66\x69\x78']=_0x6c64cd(_0x46181c[19])+_0x7284a[762259^762256];}else{_0x7bfc['\x70\x72\x65\x66\x69\x78']=_0x6c64cd(_0x46181c[20])+_0x7284a[293358^293359];}}this['\x43\x55\x52\x52\x45\x4e\x54\x5f\x50\x52\x45\x46\x49\x58']=_0x7bfc['\x70\x72\x65\x66\x69\x78'];this['\x74\x69\x74\x6c\x65']=_0x497d6g;_0x4d8ace['\x74\x54\x6f\x74\x61\x6c\x50\x61\x67\x65']=637074^637074;_0x4d8ace['\x74\x54\x6f\x74\x61\x6c\x53\x69\x7a\x65']=526410^526410;_0x4d8ace['\x63\x72\x65\x61\x74\x65\x45\x78\x63\x65\x6c\x46\x69\x6c\x65']()['\x74\x68\x65\x6e'](resultMsg=>{if(resultMsg['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[21])){let _0x8c3fc=resultMsg['\x6f\x62\x6a\x78'];_0x4d8ace['\x75\x75\x69\x64']=_0x8c3fc['\x75\x75\x69\x64'];_0x4d8ace['\x6e\x6f\x77\x44\x61\x74\x65']=_0x8c3fc['\x6e\x6f\x77\x44\x61\x74\x65'];_0x4d8ace['\x69\x70\x70\x61\x61\x61\x70\x70']=_0x8c3fc['\x69\x70\x70\x61\x61\x61\x70\x70'];setTimeout(function(){_0x4d8ace['\x68\x61\x6e\x64\x6c\x65\x4c\x6f\x6f\x70\x54\x6f\x44\x6f']();},657174^656954);}else{_0x4d8ace['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67']=function(){return false;}();_0x4d8ace['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67\x32']=function(){return false;}();}})['\x63\x61\x74\x63\x68'](error=>{console['\x65\x72\x72\x6f\x72'](error);_0x4d8ace['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67']=function(){return false;}();_0x4d8ace['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67\x32']=function(){return![];}();});},getExportPageSize(){let _0x1ac=Math['\x6d\x69\x6e'](this['\x6f\x70\x74\x69\x6f\x6e']['\x70\x61\x67\x65\x53\x69\x7a\x65']||252777^252033,814325^814877);let _0x1f4ef=this['\x6f\x70\x74\x69\x6f\x6e']['\x73\x68\x6f\x77\x49\x6d\x61\x67\x65\x41\x74\x54\x61\x62\x6c\x65']||![];let _0x48f2c=!!this['\x6c\x65\x61\x66\x43\x6f\x6c\x75\x6d\x6e\x73']['\x66\x69\x6e\x64'](item=>{let _0xe38f7a=item?.params?.exportType;return _0xe38f7a===_0x6c64cd(_0x46181c[22]);});let _0xd62bdf=!!this['\x6c\x65\x61\x66\x43\x6f\x6c\x75\x6d\x6e\x73']['\x66\x69\x6e\x64'](item=>{let _0x2554e8419=item?.params?.exportType;return _0x2554e8419===_0x6c64cd(_0x46181c[23]);});if(_0x48f2c||_0xd62bdf&&_0x1f4ef){_0x1ac=Math['\x6d\x69\x6e'](_0x1ac,856425^856575);}return _0x1ac;},hadleMergeExcel(pPageSize){let _0x3fe5b4419=this;let _0xae91ca419=this['\x74\x69\x74\x6c\x65'];let _0xf4gg44419=this['\x6f\x70\x74\x69\x6f\x6e'];let _0x250=_0xf4gg44419['\x6c\x69\x6d\x69\x74\x46\x69\x6c\x65\x53\x69\x7a\x65']||100000;let _0x823cb=_0xf4gg44419['\x6c\x69\x6d\x69\x74\x54\x68\x72\x65\x61\x64\x4e\x75\x6d']||171995^171998;let _0x34472c=this['\x74\x54\x6f\x74\x61\x6c\x50\x61\x67\x65']||318313^318312;let _0x3de=parseInt(_0x250/pPageSize);let _0xb5bd=parseInt(_0x34472c/_0x3de);if(_0x34472c%_0x3de!==(688350^688350)){_0xb5bd=_0xb5bd+(232729^232728);}let _0x74f8ce=function(s,h){return s^h;}(231782,231782);let _0xbf6e=function(s,h){return s^h;}(291713,291713);let _0x84b22d=function(s,h){return s^h;}(954717,954717);const _0xf58=()=>{let _0xea7da=function(s,h){return s+h;}(_0x74f8ce,973980^973981);if(_0xbf6e<_0xb5bd){_0xbf6e++;let _0x6ga06g=function(s,h){return s+h;}(_0x74f8ce,_0x3de);if(_0x6ga06g>_0x34472c){_0x6ga06g=_0x34472c;}if(_0xea7da>_0x6ga06g){_0x3fe5b4419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}_0x74f8ce=_0x6ga06g;_0x3fe5b4419['\x6d\x65\x72\x67\x65\x45\x78\x63\x65\x6c'](_0xea7da,_0x6ga06g)['\x74\x68\x65\x6e'](function(_0xd1cb){if(_0xd1cb['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[24])){_0x84b22d++;let _0x1befde=_0xd1cb['\x6f\x62\x6a\x78'];let _0xf76b=_0x1befde['\x66\x69\x6c\x65\x4e\x61\x6d\x65'];let _0x0ca1e=_0x1befde['\x66\x69\x6c\x65\x53\x69\x7a\x65'];let _0xa67be=JSON['\x70\x61\x72\x73\x65'](_0x6c64cd(_0x46181c[25]));_0xa67be["\u0073\u0074\u0061\u0072\u0074\u0050\u0061\u0067\u0065"]=_0xea7da;_0xa67be["\u0065\u006e\u0064\u0050\u0061\u0067\u0065"]=_0x6ga06g;_0xa67be["\u0074\u0069\u0074\u006c\u0065"]=_0xae91ca419;_0xa67be["uuid"]=_0xf76b;_0xa67be["\u0066\u0069\u006c\u0065\u0053\u0069\u007a\u0065"]=_0x0ca1e;_0x3fe5b4419['\x24\x72\x65\x66\x73']["\u0065\u0078\u0070\u006f\u0072\u0074\u0054\u0061\u0062\u006c\u0065"]['\x69\x6e\x73\x65\x72\x74\x41\x74'](_0xa67be,-(620821^620820));let _0xfc8=_0x0ca1e;if(_0xbf6e<_0xb5bd){_0xf58();}else if(_0xbf6e>=_0xb5bd&&_0x84b22d>=_0xb5bd){setTimeout(function(){_0x3fe5b4419['\x70\x65\x72\x63\x65\x6e\x74\x61\x67\x65\x4e\x75\x6d']=parseInt(109567^109467);},206521^206557);_0x3fe5b4419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}else if(_0x84b22d>=_0xb5bd){setTimeout(function(){_0x3fe5b4419['\x70\x65\x72\x63\x65\x6e\x74\x61\x67\x65\x4e\x75\x6d']=parseInt(998188^998216);},763201^763173);_0x3fe5b4419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}}else{_0x3fe5b4419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}})['\x63\x61\x74\x63\x68'](function(_0x811ced){var _0x49c2d='\u0031\u007c\u0030'['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[26])),_0xd13ega=function(s,h){return s^h;}(685498,685498);while(!![]){switch(+_0x49c2d[_0xd13ega++]){case 680818^680818:_0x3fe5b4419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();continue;case 694523^694522:console['\x65\x72\x72\x6f\x72'](_0x811ced);continue;}break;}});_0x3fe5b4419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}};_0xf58();},handleLoopToDo(){let _0xb6e738419=this;let _0xacc;let _0xf7203e=function(s,h){return s^h;}(569409,569409);let _0xaee918419=this['\x74\x69\x74\x6c\x65'];let _0x7d4ag7419=this['\x6f\x70\x74\x69\x6f\x6e'];let _0xc269cf=this['\x67\x65\x74\x45\x78\x70\x6f\x72\x74\x50\x61\x67\x65\x53\x69\x7a\x65']();let _0x4884d2419=_0x7d4ag7419['\x6c\x69\x6d\x69\x74\x46\x69\x6c\x65\x53\x69\x7a\x65']||100000;let _0x21b59e419=_0x7d4ag7419['\x6c\x69\x6d\x69\x74\x54\x68\x72\x65\x61\x64\x4e\x75\x6d']||280476^280473;this['\x64\x6f\x6e\x65\x53\x69\x7a\x65']=124272^124272;let _0x29dgf=function(s,h){return s^h;}(122851,122851);let _0xe1b=this['\x64\x6f\x6e\x65\x53\x69\x7a\x65'];let _0x6b134a=function(_0xabgdc){let _0x2b41e=_0xabgdc['\x6f\x62\x6a\x78']['\x70\x61\x67\x65\x4e\x75\x6d\x62\x65\x72']||267855^267854;_0xb6e738419['\x61\x64\x64\x45\x78\x63\x65\x6c\x44\x61\x74\x61']({"rows":_0xabgdc['\x6f\x62\x6a\x78']['\x72\x65\x63\x6f\x72\x64\x73'],'\u0070\u0061\u0067\u0065\u004e\u0075\u006d\u0062\u0065\u0072':_0x2b41e})['\x74\x68\x65\x6e'](function(_0xceb8d){let _0x03988f=_0xabgdc['\x6f\x62\x6a\x78'];let _0x62eecb=_0x03988f['\x74\x6f\x74\x61\x6c'];let _0xab452b419=_0x03988f['\x70\x61\x67\x65\x4e\x75\x6d\x62\x65\x72']||451985^451984;let _0xedd6ed419=_0xb6e738419['\x74\x54\x6f\x74\x61\x6c\x50\x61\x67\x65']||704240^704241;if(_0xceb8d['\x74\x79\x70\x65']==="sseccus".split("").reverse().join("")){_0x29dgf++;let _0x1bf9be419=_0x03988f['\x70\x61\x67\x65\x4e\x75\x6d\x62\x65\x72']||428260^428261;let _0xd1b2bb=function(s,h){return s/h;}(_0x29dgf*(297695^297659),_0xedd6ed419);if(_0xd1b2bb>(432635^432635)&&_0xd1b2bb<(159911^159910)){_0xd1b2bb=523113^523112;}if(_0xd1b2bb>(309601^309509))_0xd1b2bb=169102^169194;let _0x7d88a=_0xb6e738419['\x74\x54\x6f\x74\x61\x6c\x53\x69\x7a\x65'];let _0xad7717419=_0x03988f['\x70\x61\x67\x65\x53\x69\x7a\x65'];let _0x0e69e=_0x03988f['\x72\x65\x63\x6f\x72\x64\x73']['\x6c\x65\x6e\x67\x74\x68'];_0xe1b=_0xe1b+_0x0e69e;let _0x19e78g=function(s,h){return s+h;}(_0xe1b+_0x6c64cd(_0x46181c[27]),_0x7d88a);let _0x5e25f=function(s,h){return s+h;}(parseInt(_0xd1b2bb),_0x6c64cd(_0x46181c[28]));let _0x361=_0xd1b2bb;if(_0x361>=(636612^636576)){_0x361=328912^328883;}_0xb6e738419['\x64\x6f\x6e\x65\x53\x69\x7a\x65']=parseInt(_0xe1b);_0xb6e738419['\x70\x65\x72\x63\x65\x6e\x74\x61\x67\x65\x4e\x75\x6d']=parseInt(_0x361);if(_0xedd6ed419===(989599^989599)||_0x29dgf>=_0xedd6ed419){_0xb6e738419['\x68\x61\x64\x6c\x65\x4d\x65\x72\x67\x65\x45\x78\x63\x65\x6c'](_0x03988f['\x70\x61\x67\x65\x53\x69\x7a\x65']);return;return false;}}else{_0xb6e738419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}})['\x63\x61\x74\x63\x68'](function(_0xea416d){var _0xd2egf='\u0030\u007c\u0031'['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[29])),_0xf1e72f=function(s,h){return s^h;}(188295,188295);while(!![]){switch(+_0xd2egf[_0xf1e72f++]){case 609876^609876:console['\x65\x72\x72\x6f\x72'](_0xea416d);continue;case 778069^778068:_0xb6e738419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();continue;}break;}});};let _0x45cbed=483478^483478;let _0xg33a6c;let _0x008d=function(_0x456bcf,_0x46g03c,_0x266e8d){let _0x27acc=_0x21b59e419;let _0xbfcfa=_0x7d4ag7419['\x6e\x6f\x77\x44\x61\x74\x65'];if(_0x456bcf===(219825^219824)){}else{_0x45cbed=160301^160301;}let _0x63e9ac=_0xb6e738419['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74'];let _0xa229a3419=_0x63e9ac['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e'];let _0x0dfef=_0xa229a3419['\x65\x78\x70\x6f\x72\x74\x50\x61\x74\x68']||_0xa229a3419['\x70\x61\x74\x68'];let _0xe1g53e=_0xb6e738419['\x71\x75\x65\x72\x79\x50\x61\x72\x61\x6d'];let _0x176b={'\u0063\u0075\u0072\u0072\u0065\u006e\u0074':_0x46g03c,'\u0073\u0069\u007a\u0065':_0xc269cf,"nowDate":_0xbfcfa,'\u0073\u0065\u0061\u0072\u0063\u0068\u0043\u006f\u0075\u006e\u0074':_0x456bcf!==(252318^252319)};if(_0xa229a3419['\x76\x66\x6f\x72\x6d']===!![]){_0xe1g53e['\x63\x6f\x6e\x64\x69\x74\x69\x6f\x6e\x73']=_0xe1g53e['\x63\x6f\x6e\x64\x69\x74\x69\x6f\x6e\x73']||JSON['\x70\x61\x72\x73\x65'](_0x6c64cd(_0x46181c[30]));_0x266e8d=_0xe1g53e['\x63\x6f\x6e\x64\x69\x74\x69\x6f\x6e\x73'];}else{_0x266e8d=_0xe1g53e;}Object['\x61\x73\x73\x69\x67\x6e'](_0x266e8d,_0x176b);if(!_0xa229a3419['\x65\x78\x70\x6f\x72\x74\x41\x6a\x61\x78']){let _0x8ffcad=_0x0dfef['\x72\x65\x70\x6c\x61\x63\x65']("eslaf=tnuoChcraes".split("").reverse().join(""),_0x6c64cd(_0x46181c[31]));let _0x5b22a=_0xe1g53e;if(_0xa229a3419['\x70\x61\x72\x61\x6d\x48\x61\x6e\x64\x6c\x65']){_0x5b22a=_0xa229a3419['\x70\x61\x72\x61\x6d\x48\x61\x6e\x64\x6c\x65']?_0xa229a3419['\x70\x61\x72\x61\x6d\x48\x61\x6e\x64\x6c\x65'](_0xe1g53e)||JSON['\x70\x61\x72\x73\x65'](_0x6c64cd(_0x46181c[32])):JSON['\x70\x61\x72\x73\x65']("}{".split("").reverse().join(""));}_0xg33a6c=_0xb6e738419['\x24\x63\x6f\x6d\x6d\x6f\x6e\x48\x74\x74\x70']({"aes":_0xa229a3419['\x61\x65\x73']||![],'\u0075\u0072\u006c':_0x8ffcad,"\u006d\u0065\u0074\u0068\u006f\u0064":"\u0070\u006f\u0073\u0074","\u0064\u0061\u0074\u0061":_0x5b22a,'\u006d\u006f\u0064\u0061\u006c':![],'\u0071\u0075\u0065\u0072\u0079\u0043\u0072\u0065\u0061\u0074\u0065\u0049\u006e\u0066\u006f':_0xa229a3419['\x71\x75\x65\x72\x79\x43\x72\x65\x61\x74\x65\x49\x6e\x66\x6f'],"addCreateInfo":_0xa229a3419['\x61\x64\x64\x43\x72\x65\x61\x74\x65\x49\x6e\x66\x6f']});}else{_0xg33a6c=_0xa229a3419['\x65\x78\x70\x6f\x72\x74\x41\x6a\x61\x78'](_0x176b,_0x7d4ag7419);}_0xg33a6c['\x74\x68\x65\x6e'](function(_0x2bdgcc){if(_0x2bdgcc['\x74\x79\x70\x65']==="sseccus".split("").reverse().join("")){let _0x7d6=_0x2bdgcc['\x6f\x62\x6a\x78'];_0x7d6['\x70\x61\x67\x65\x4e\x75\x6d\x62\x65\x72']=_0x7d6['\x63\x75\x72\x72\x65\x6e\x74']||239616^239617;_0x7d6['\x74\x6f\x74\x61\x6c\x50\x61\x67\x65\x73']=_0x7d6['\x70\x61\x67\x65\x73']||693218^693219;_0x7d6['\x70\x61\x67\x65\x53\x69\x7a\x65']=_0x7d6['\x73\x69\x7a\x65'];let _0x3dd86f419=_0x7d6['\x72\x65\x63\x6f\x72\x64\x73']['\x6c\x65\x6e\x67\x74\x68'];if(_0x456bcf===(354742^354742)){_0xb6e738419['\x74\x54\x6f\x74\x61\x6c\x50\x61\x67\x65']=_0x7d6['\x70\x61\x67\x65\x73'];setTimeout(function(){_0xb6e738419['\x24\x73\x65\x74'](_0xb6e738419,"eziSlatoTt".split("").reverse().join(""),_0x7d6['\x74\x6f\x74\x61\x6c']);},585715^585715);let _0x8aaad=_0x7d6['\x70\x61\x67\x65\x73'];let _0xa1ccff=_0x7d6['\x74\x6f\x74\x61\x6c'];let _0xb7fd92419=function(s,h){return s+h;}((206291^206291)+_0x6c64cd(_0x46181c[33]),_0x7d6['\x74\x6f\x74\x61\x6c']);let _0x79321d=_0x4884d2419;let _0xda482a419=parseInt(_0x79321d/_0x7d6['\x73\x69\x7a\x65']);let _0x6a84b5419=parseInt(_0x8aaad/_0xda482a419);if(_0x8aaad%_0xda482a419!==(428940^428940)){_0x6a84b5419=_0x6a84b5419+(117175^117174);}if(_0x3dd86f419>(755961^755961)||_0x7d6['\x74\x6f\x74\x61\x6c\x50\x61\x67\x65\x73']>(796199^796199)||_0x7d6['\x70\x61\x67\x65\x4e\x75\x6d\x62\x65\x72']<_0x7d6['\x74\x6f\x74\x61\x6c\x50\x61\x67\x65\x73']){_0x267e=setInterval(function(){var _0xa9e="0|1"['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[34])),_0x21c=354615^354615;while(!![]){switch(+_0xa9e[_0x21c++]){case 956927^956927:if(_0x45cbed<_0x27acc&&_0xf7203e<_0x8aaad){_0x45cbed++;_0xf7203e++;let _0x7f431c419=_0xf7203e;_0x008d(897428^897429,_0x7f431c419);}continue;case 578541^578540:if(_0xf7203e>=_0x8aaad){clearInterval(_0x008d);}continue;}break;}},443671^443763);}else{clearInterval(_0x267e);_0x267e=null;}}else{if(_0x45cbed>(800690^800690))_0x45cbed--;}setTimeout(function(){_0x6b134a(_0x2bdgcc,_0x456bcf);},698963^698962);}else{_0xb6e738419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();}})['\x63\x61\x74\x63\x68'](function(_0x3bc){var _0xb4436e='\u0030\u007c\u0031'['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[35])),_0xe9ef=340862^340862;while(!![]){switch(+_0xb4436e[_0xe9ef++]){case 369653^369653:console['\x65\x72\x72\x6f\x72'](_0x3bc);continue;case 789001^789000:_0xb6e738419['\x63\x6c\x65\x61\x72\x45\x78\x70\x6f\x72\x74\x54\x69\x6d\x65\x72']();continue;}break;}});};_0xf7203e=636386^636387;_0x008d(908391^908391,_0xf7203e);},createExcelFile(loading){let _0xd0b33e=this['\x43\x55\x52\x52\x45\x4e\x54\x5f\x50\x52\x45\x46\x49\x58']+"etalpmeTlecxEetaerc/lecxe/".split("").reverse().join("");let _0xa6c594419=this['\x67\x65\x74\x48\x65\x61\x64\x54\x69\x74\x6c\x65\x4a\x73\x6f\x6e']();return this['\x24\x68\x74\x74\x70']({'\u0075\u0072\u006c':_0xd0b33e,'\u006d\u0065\u0074\u0068\u006f\u0064':"\u0070\u006f\u0073\u0074",'\u0068\u0065\u0061\u0064\u0065\u0072\u0073':{"\u0043\u006f\u006e\u0074\u0065\u006e\u0074\u002d\u0054\u0079\u0070\u0065":"\u0061\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u002f\u006a\u0073\u006f\u006e\u003b\u0063\u0068\u0061\u0072\u0073\u0065\u0074\u003d\u0075\u0074\u0066\u002d\u0038"},'\u0064\u0061\u0074\u0061':_0xa6c594419,'\u006d\u006f\u0064\u0061\u006c':loading||false,'\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067':loading});},computeRealColSpan(columns){function traverse(_0x40866e){if(!_0x40866e['\x63\x68\x69\x6c\x64\x72\x65\x6e']||_0x40866e['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']===(204096^204096)){_0x40866e['\x72\x65\x61\x6c\x43\x6f\x6c\x53\x70\x61\x6e']=_0x40866e['\x63\x6f\x6c\x53\x70\x61\x6e']||427420^427421;}else{let _0x242bag=function(s,h){return s^h;}(654693,654693);for(const _0x78eec of _0x40866e['\x63\x68\x69\x6c\x64\x72\x65\x6e']){traverse(_0x78eec);_0x242bag+=_0x78eec['\x72\x65\x61\x6c\x43\x6f\x6c\x53\x70\x61\x6e'];}_0x40866e['\x72\x65\x61\x6c\x43\x6f\x6c\x53\x70\x61\x6e']=_0x242bag;}}for(const _0x4c50c of columns){traverse(_0x4c50c);}return columns;},getHeadTitleJson(){let _0x64b846419=this;let _0x7c4fd6419=this['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74'];let _0x2261c=this['\x63\x6f\x6c\x75\x6d\x6e\x73'];this['\x63\x6f\x6d\x70\x75\x74\x65\x52\x65\x61\x6c\x43\x6f\x6c\x53\x70\x61\x6e'](_0x2261c);let _0x88d3aa=function(s,h){return s^h;}(667231,667231);let _0xe2395g=function(_0x6g,_0x4b2eg){if(_0x6g['\x63\x68\x69\x6c\x64\x72\x65\x6e']&&_0x6g['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x6c\x65\x6e\x67\x74\x68']>(646394^646394)){let _0x3fcfd8419=function(s,h){return s+h;}(_0x4b2eg,524839^524838);_0x6g['\x63\x68\x69\x6c\x64\x72\x65\x6e']['\x66\x6f\x72\x45\x61\x63\x68'](child=>{return _0xe2395g(child,_0x3fcfd8419);});}else{let _0x3851cb419=_0x4b2eg;if(_0x3851cb419>_0x88d3aa)_0x88d3aa=_0x3851cb419;}};_0x2261c['\x66\x6f\x72\x45\x61\x63\x68'](column=>{if(column['\x74\x69\x74\x6c\x65']){_0xe2395g(column,381958^381958);}});_0x88d3aa=_0x88d3aa+(602690^602691);let _0x4382bb=[];let _0x76e63c=[_0x2261c];for(let _0x9aded=818922^818922;_0x9aded<_0x88d3aa;_0x9aded++){let _0xfc88f=[];let _0x0090d=_0x76e63c[_0x9aded];let _0xc7e=[];let _0x5dc20d=function(s,h){return s^h;}(145334,145335);let _0xcab4f=function(s,h){return s^h;}(628607,628606);_0x0090d['\x66\x6f\x72\x45\x61\x63\x68']((column,index)=>{if(column['\x74\x69\x74\x6c\x65']){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']>(803477^803477)){_0xc7e=_0xc7e['\x63\x6f\x6e\x63\x61\x74'](column['\x63\x68\x69\x6c\x64\x72\x65\x6e']);}_0xfc88f['\x70\x75\x73\x68']({"\u0063\u006f\u006c\u0073\u0070\u0061\u006e":column['\x72\x65\x61\x6c\x43\x6f\x6c\x53\x70\x61\x6e'],"rowspan":column['\x72\x6f\x77\x53\x70\x61\x6e'],'\u0074\u0069\u0074\u006c\u0065':column['\x74\x69\x74\x6c\x65']!==null&&column['\x74\x69\x74\x6c\x65']!==undefined?column['\x74\x69\x74\x6c\x65']:''});}});_0x4382bb['\x70\x75\x73\x68'](_0xfc88f);if(_0xc7e['\x6c\x65\x6e\x67\x74\x68']>(874374^874374))_0x76e63c['\x70\x75\x73\x68'](_0xc7e);}return _0x4382bb;},addExcelData(opts,loading){let _0x110ff3419=opts['\x74\x61\x72\x67\x65\x74'];let _0xab4g53419=opts['\x70\x61\x67\x65\x4e\x75\x6d\x62\x65\x72']||172162^172163;let _0xd76c5a=opts['\x63\x61\x6c\x6c\x62\x61\x63\x6b'];let _0xe9ce90419=this['\x67\x65\x74\x45\x78\x63\x65\x6c\x44\x61\x74\x61'](opts['\x72\x6f\x77\x73']);let _0xeea25a=this['\x75\x75\x69\x64'];let _0xcf66b=this['\x69\x70\x70\x61\x61\x61\x70\x70'];let _0x95c89f419=this['\x43\x55\x52\x52\x45\x4e\x54\x5f\x50\x52\x45\x46\x49\x58']+"=diuu?ataDlecxEdneppa/lecxe/".split("").reverse().join("")+_0xeea25a+_0x6c64cd(_0x46181c[36])+_0xcf66b+"=rebmuNegap&".split("").reverse().join("")+_0xab4g53419;return this['\x24\x68\x74\x74\x70']({'\u0075\u0072\u006c':_0x95c89f419,'\u006d\u0065\u0074\u0068\u006f\u0064':"\u0070\u006f\u0073\u0074","headers":{"\u0043\u006f\u006e\u0074\u0065\u006e\u0074\u002d\u0054\u0079\u0070\u0065":"\u0061\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u002f\u006a\u0073\u006f\u006e\u003b\u0063\u0068\u0061\u0072\u0073\u0065\u0074\u003d\u0075\u0074\u0066\u002d\u0038"},"\u0064\u0061\u0074\u0061":_0xe9ce90419,"modal":loading||![],'\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067':loading||false});},mergeExcel(startPage,endPage,loading){let _0x729b32419=function(s,h){return s+h;}(this['\x43\x55\x52\x52\x45\x4e\x54\x5f\x50\x52\x45\x46\x49\x58']+"=diuu?lecxEegrem/lecxe/".split("").reverse().join("")+this['\x75\x75\x69\x64']+_0x6c64cd(_0x46181c[37]),this['\x69\x70\x70\x61\x61\x61\x70\x70']);return this['\x24\x68\x74\x74\x70']({"\u0075\u0072\u006c":_0x729b32419+_0x6c64cd(_0x46181c[38])+startPage+_0x6c64cd(_0x46181c[39])+endPage,'\u006d\u0065\u0074\u0068\u006f\u0064':"\u0070\u006f\u0073\u0074",'\u006d\u006f\u0064\u0061\u006c':loading||false,"isLoading":loading||false});},createCountTimer(){this['\x65\x78\x63\x54\x69\x6d\x65']=856259^856259;let _0x6fagbf=new Date()['\x67\x65\x74\x54\x69\x6d\x65']();_0x2ec9a=setInterval(()=>{let _0xcfb=new Date()['\x67\x65\x74\x54\x69\x6d\x65']();let _0xfeb6ad=(_0xcfb-_0x6fagbf)/(501280^501192);this['\x24\x73\x65\x74'](this,_0x6c64cd(_0x46181c[40]),this['\x24\x62\x61\x73\x65\x4c\x6f\x64\x61\x73\x68']['\x72\x6f\x75\x6e\x64'](_0xfeb6ad,315788^315790));},445066^445166);},clearExportTimer(){if(_0x267e)clearInterval(_0x267e);if(_0x4d4fc)clearInterval(_0x4d4fc);if(_0x2ec9a)clearInterval(_0x2ec9a);_0x267e=null;_0x4d4fc=null;_0x2ec9a=null;},"\u0069\u0073\u0050\u0069\u0063\u0074\u0075\u0072\u0065":function(_0x9){if(!_0x9||_0x9===''){return false;}_0x9=_0x9['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73\x65']();let _0x1d4d={"\u006a\u0070\u0067":!![],'\u006a\u0070\u0065\u0067':!![],'\u0070\u006e\u0067':!![],"\u0062\u006d\u0070":!![],'\u006d\u0070\u0067':!![]};let _0xca686c=_0x1d4d[_0x9];if(undefined===_0xca686c){return false;}return!![];},getExcelData(rows){let _0x412cf3419=this;let _0xf5e95d419=this['\x6f\x70\x74\x69\x6f\x6e']['\x73\x68\x6f\x77\x49\x6d\x61\x67\x65\x41\x74\x54\x61\x62\x6c\x65']||![];let _0xd11aed419=getGrid(this['\x6f\x70\x74\x69\x6f\x6e']['\x76\x75\x65'],this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x61\x72\x67\x65\x74\x52\x65\x66']);let _0xf33c9c=_0xd11aed419['\x24\x72\x65\x66\x73']['\x78\x54\x61\x62\x6c\x65'];let _0x832870419=this['\x6c\x65\x61\x66\x43\x6f\x6c\x75\x6d\x6e\x73'];let _0xcc750f=[];let _0xf941bd419;let _0x23f98d419;let _0xbbc7g;rows['\x66\x6f\x72\x45\x61\x63\x68'](function(_0xd7d5cb,_0xb){var _0xff80e='\u0031\u007c\u0032\u007c\u0030'['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[41])),_0xa=335255^335255;while(!![]){switch(+_0xff80e[_0xa++]){case 841245^841245:_0xcc750f['\x70\x75\x73\x68'](_0xf941bd419);continue;case 316395^316394:_0xf941bd419=[];continue;case 734188^734190:_0x832870419['\x66\x6f\x72\x45\x61\x63\x68'](column=>{if(column['\x74\x69\x74\x6c\x65']){_0x23f98d419={"\u0024\u0074\u0061\u0062\u006c\u0065":_0xf33c9c,'\u0072\u006f\u0077':_0xd7d5cb,'\u0072\u006f\u0077\u0049\u006e\u0064\u0065\u0078':_0xb,"\u0024\u0072\u006f\u0077\u0049\u006e\u0064\u0065\u0078":_0xb,"\u0063\u006f\u006c\u0075\u006d\u006e":column};let _0x95b14b419=column['\x70\x61\x72\x61\x6d\x73']?.exportType;let _0x1796f=column['\x70\x61\x72\x61\x6d\x73']&&column['\x70\x61\x72\x61\x6d\x73']['\x65\x78\x70\x6f\x72\x74\x56\x61\x6c']?column['\x70\x61\x72\x61\x6d\x73']['\x65\x78\x70\x6f\x72\x74\x56\x61\x6c']:null;if(_0x1796f){_0xbbc7g=_0x1796f(_0x23f98d419);}else if(_0x95b14b419==="rebmuN".split("").reverse().join("")){_0xbbc7g=getCellValue(_0x23f98d419);if(_0xbbc7g!==null&&_0xbbc7g!==undefined&&_0xbbc7g!==""&&!(_0xbbc7g+"")['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x6c64cd(_0x46181c[42]))){_0xbbc7g=_0x6c64cd(_0x46181c[43])+_0xbbc7g;}}else if(_0x95b14b419==="egamI".split("").reverse().join("")||_0xf5e95d419&&_0x95b14b419==="2egamI".split("").reverse().join("")){_0xbbc7g=getCellValue(_0x23f98d419);let _0x5f89g=_0xd7d5cb[column['\x66\x69\x65\x6c\x64']];if(_0x5f89g){if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x5f89g)){let _0xec4b3f419=_0x5f89g['\x66\x69\x6c\x74\x65\x72'](item=>_0x412cf3419['\x69\x73\x50\x69\x63\x74\x75\x72\x65'](item['\x65\x78\x74\x65\x6e\x73\x69\x6f\x6e']));if(_0xec4b3f419['\x6c\x65\x6e\x67\x74\x68']>(686102^686102)){_0xbbc7g=_0x6c64cd(_0x46181c[44])+_0xec4b3f419['\x6d\x61\x70'](item=>{let _0xf4aed1419=item['\x6c\x61\x72\x67\x65']||item['\x6d\x65\x64\x69\x75\x6d'];return item['\x64\x6f\x6d\x61\x69\x6e']+_0xf4aed1419;})['\x6a\x6f\x69\x6e'](_0x6c64cd(_0x46181c[45]));}else{_0xbbc7g=null;}}else{if(_0x412cf3419['\x69\x73\x50\x69\x63\x74\x75\x72\x65'](_0x412cf3419['\x24\x63\x6f\x6d\x6d\x6f\x6e\x46\x69\x6c\x65\x55\x74\x69\x6c']['\x67\x65\x74\x46\x69\x6c\x65\x53\x75\x66\x66\x69\x78'](_0xbbc7g))){if(_0xbbc7g!==null&&_0xbbc7g!==undefined&&_0xbbc7g!==""&&!(_0xbbc7g+"")['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68']("]GMIPXE[".split("").reverse().join(""))){_0xbbc7g=_0x6c64cd(_0x46181c[46])+_0xbbc7g;}}else{_0xbbc7g=null;}}}else{_0xbbc7g=null;}}else{_0xbbc7g=getCellValue(_0x23f98d419);}_0xf941bd419['\x70\x75\x73\x68'](_0xbbc7g);_0xbbc7g=null;}});continue;}break;}});return _0xcc750f;},exportAll(row){let _0x59a8b0419=encodeURIComponent(row['\x75\x75\x69\x64']);let _0x95d2ca419=row['\x74\x69\x74\x6c\x65'];let _0x2a8c=configUtil['\x62\x61\x73\x65\x55\x72\x6c']+this['\x43\x55\x52\x52\x45\x4e\x54\x5f\x50\x52\x45\x46\x49\x58']+_0x6c64cd(_0x46181c[47])+_0x59a8b0419;function downLoadFile2(){let _0x8dbd2a419={'\u006e':_0x95d2ca419};_0x8dbd2a419["\u0061\u0063\u0063\u0065\u0073\u0073\u005f\u0074\u006f\u006b\u0065\u006e"]=configUtil['\x67\x65\x74\x54\x6f\x6b\x65\x6e']();let _0xea9=document['\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74']("mrof".split("").reverse().join(""));let _0xbb0c7c=new Date()['\x76\x61\x6c\x75\x65\x4f\x66']()+Math['\x66\x6c\x6f\x6f\x72'](Math['\x72\x61\x6e\x64\x6f\x6d']()*1000000);let _0x5f4eae="-dImrof".split("").reverse().join("")+_0xbb0c7c;let _0x7b7d=function(s,h){return s+h;}("-emaNmrof".split("").reverse().join(""),_0xbb0c7c);_0xea9['\x69\x64']=_0x5f4eae;_0xea9['\x6e\x61\x6d\x65']=_0x7b7d;_0xea9['\x74\x61\x72\x67\x65\x74']=function(){return"knalb_".split("").reverse().join("");}();document['\x62\x6f\x64\x79']['\x61\x70\x70\x65\x6e\x64\x43\x68\x69\x6c\x64'](_0xea9);for(let _0x29a89e in _0x8dbd2a419){if(_0x8dbd2a419['\x68\x61\x73\x4f\x77\x6e\x50\x72\x6f\x70\x65\x72\x74\x79'](_0x29a89e)){let _0xd2f=document['\x63\x72\x65\x61\x74\x65\x45\x6c\x65\x6d\x65\x6e\x74'](_0x6c64cd(_0x46181c[48]));_0xd2f['\x74\x70\x79\x65']=function(){return"neddih".split("").reverse().join("");}();_0xd2f['\x6e\x61\x6d\x65']=_0x29a89e;_0xd2f['\x76\x61\x6c\x75\x65']=_0x8dbd2a419[_0x29a89e];_0xea9['\x61\x70\x70\x65\x6e\x64\x43\x68\x69\x6c\x64'](_0xd2f);}}_0xea9['\x6d\x65\x74\x68\x6f\x64']=function(){return"tsop".split("").reverse().join("");}();_0xea9['\x61\x63\x74\x69\x6f\x6e']=_0x2a8c;_0xea9['\x73\x75\x62\x6d\x69\x74']();document['\x62\x6f\x64\x79']['\x72\x65\x6d\x6f\x76\x65\x43\x68\x69\x6c\x64'](_0xea9);}downLoadFile2();},startProcess2(datas){this['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74']=getGrid(this['\x6f\x70\x74\x69\x6f\x6e']['\x76\x75\x65'],this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x61\x72\x67\x65\x74\x52\x65\x66']);let _0xc32378419=this;let _0xa4ec14419=this['\x6f\x70\x74\x69\x6f\x6e'];let _0xe139b9419=_0xa4ec14419['\x74\x69\x74\x6c\x65']||this['\x24\x74\x32'](_0x6c64cd(_0x46181c[49]),_0x6c64cd(_0x46181c[50]));if(!_0xa4ec14419['\x70\x72\x65\x66\x69\x78']&&_0xa4ec14419['\x70\x72\x65\x66\x69\x78']!==''){let _0xa2c943419=this['\x74\x61\x62\x6c\x65\x54\x61\x72\x67\x65\x74']['\x70\x61\x72\x61\x6d\x73']['\x6f\x72\x69\x67\x69\x6e\x4f\x70\x74\x69\x6f\x6e'];let _0xcf4672419=_0xa2c943419['\x65\x78\x70\x6f\x72\x74\x50\x61\x74\x68']||_0xa2c943419['\x70\x61\x74\x68'];if(_0xcf4672419){let _0x628fgf419=_0xcf4672419['\x73\x70\x6c\x69\x74'](_0x6c64cd(_0x46181c[51]));if(_0xcf4672419['\x69\x6e\x64\x65\x78\x4f\x66']("//:ptth".split("").reverse().join(""))>=(930763^930763)||_0xcf4672419['\x69\x6e\x64\x65\x78\x4f\x66'](_0x6c64cd(_0x46181c[52]))>=(311959^311959)){_0xa4ec14419['\x70\x72\x65\x66\x69\x78']=_0x6c64cd(_0x46181c[53])+_0x628fgf419[829333^829334];}else{_0xa4ec14419['\x70\x72\x65\x66\x69\x78']=_0x6c64cd(_0x46181c[54])+_0x628fgf419[735589^735588];}}}if(!_0xa4ec14419['\x70\x72\x65\x66\x69\x78']){return;}this['\x43\x55\x52\x52\x45\x4e\x54\x5f\x50\x52\x45\x46\x49\x58']=_0xa4ec14419['\x70\x72\x65\x66\x69\x78'];let _0x19cd2f419=function(){let _0x77a44g=datas['\x6c\x65\x6e\x67\x74\x68'];_0xc32378419['\x61\x64\x64\x45\x78\x63\x65\x6c\x44\x61\x74\x61']({"\u0072\u006f\u0077\u0073":datas,'\u0070\u0061\u0067\u0065\u004e\u0075\u006d\u0062\u0065\u0072':1},!![])['\x74\x68\x65\x6e'](resultMsg2=>{if(resultMsg2['\x74\x79\x70\x65']==="sseccus".split("").reverse().join("")){setTimeout(()=>{_0xc32378419['\x6d\x65\x72\x67\x65\x45\x78\x63\x65\x6c'](356526^356527,199883^199882,!![])['\x74\x68\x65\x6e'](resultMsg3=>{if(resultMsg3['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[55])){let _0x97bdd=resultMsg3['\x6f\x62\x6a\x78'];let _0xb5156f=_0x97bdd['\x66\x69\x6c\x65\x4e\x61\x6d\x65'];let _0xd1b=_0x97bdd['\x66\x69\x6c\x65\x53\x69\x7a\x65'];let _0xf1842b=JSON['\x70\x61\x72\x73\x65'](_0x6c64cd(_0x46181c[56]));_0xf1842b["\u0073\u0074\u0061\u0072\u0074\u0050\u0061\u0067\u0065"]=967411^967410;_0xf1842b["\u0065\u006e\u0064\u0050\u0061\u0067\u0065"]=224858^224859;_0xf1842b["title"]=_0xe139b9419;_0xf1842b["\u0075\u0075\u0069\u0064"]=_0xb5156f;_0xf1842b["\u0066\u0069\u006c\u0065\u0053\u0069\u007a\u0065"]=_0xd1b;_0xc32378419['\x65\x78\x70\x6f\x72\x74\x41\x6c\x6c'](_0xf1842b);}});},274642^274642);}});};_0xc32378419['\x63\x72\x65\x61\x74\x65\x45\x78\x63\x65\x6c\x46\x69\x6c\x65'](!![])['\x74\x68\x65\x6e'](resultMsg=>{if(resultMsg['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[57])){let _0xa3a5ef419=resultMsg['\x6f\x62\x6a\x78'];_0xc32378419['\x75\x75\x69\x64']=_0xa3a5ef419['\x75\x75\x69\x64'];_0xc32378419['\x6e\x6f\x77\x44\x61\x74\x65']=_0xa3a5ef419['\x6e\x6f\x77\x44\x61\x74\x65'];_0xc32378419['\x69\x70\x70\x61\x61\x61\x70\x70']=_0xa3a5ef419['\x69\x70\x70\x61\x61\x61\x70\x70'];setTimeout(()=>{_0x19cd2f419();},914148^914148);}});},closeExportFieldDialog(){this['\x64\x69\x61\x6c\x6f\x67\x43\x6c\x6f\x73\x65\x32']();},confirmExportFieldDialog({"\u0063\u006f\u006c\u0075\u006d\u006e\u0073":columns,"\u006c\u0065\u0061\u0066\u0043\u006f\u006c\u0075\u006d\u006e\u0073":leafColumns}){this['\x63\x6f\x6c\x75\x6d\x6e\x73']=columns;this['\x6c\x65\x61\x66\x43\x6f\x6c\x75\x6d\x6e\x73']=leafColumns;let _0xd61ec=this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']==="detceles".split("").reverse().join("")||this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']==="tnerruc".split("").reverse().join("");if(!_0xd61ec){this['\x73\x68\x6f\x77\x49\x6d\x70\x6f\x72\x74\x44\x69\x61\x6c\x6f\x67\x32']=!![];}this['\x24\x6e\x65\x78\x74\x54\x69\x63\x6b'](()=>{if(_0xd61ec){let _0xdbbc0b419=getGrid(this['\x6f\x70\x74\x69\x6f\x6e']['\x76\x75\x65'],this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x61\x72\x67\x65\x74\x52\x65\x66']);let _0x8acceg419=[];if(this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']===_0x6c64cd(_0x46181c[58])){_0x8acceg419=_0xdbbc0b419['\x67\x65\x74\x43\x68\x65\x63\x6b\x62\x6f\x78\x52\x65\x63\x6f\x72\x64\x73'](!![]);if(!_0x8acceg419['\x6c\x65\x6e\x67\x74\x68']){this['\x24\x62\x61\x73\x65\x41\x6c\x65\x72\x74'](this['\x24\x74\x32'](_0x6c64cd(_0x46181c[59]),"1gsMmraw.tropxElecxe.stnenopmoc".split("").reverse().join("")));return;}}else if(this['\x6f\x70\x74\x69\x6f\x6e']['\x74\x79\x70\x65']==="tnerruc".split("").reverse().join("")){_0x8acceg419=_0xdbbc0b419['\x67\x65\x74\x54\x61\x62\x6c\x65\x44\x61\x74\x61']()['\x66\x75\x6c\x6c\x44\x61\x74\x61'];if(!_0x8acceg419['\x6c\x65\x6e\x67\x74\x68']){this['\x24\x62\x61\x73\x65\x41\x6c\x65\x72\x74'](this['\x24\x74\x32'](_0x6c64cd(_0x46181c[60]),_0x6c64cd(_0x46181c[61])));return;}}this['\x73\x74\x61\x72\x74\x50\x72\x6f\x63\x65\x73\x73\x32'](_0x8acceg419);}else{this['\x73\x74\x61\x72\x74\x50\x72\x6f\x63\x65\x73\x73']();}});},lockMenu(){let _0xe95g3a=window['\x24\x76\x75\x65\x52\x6f\x6f\x74'];let _0xbfccfb419=_0xe95g3a['\x24\x72\x6f\x75\x74\x65']['\x70\x61\x74\x68'];let _0xfb2f=_0xe95g3a['\x24\x73\x74\x6f\x72\x65']['\x73\x74\x61\x74\x65']['\x74\x61\x67\x73\x56\x69\x65\x77']['\x76\x69\x73\x69\x74\x65\x64\x56\x69\x65\x77\x73'];if(_0xfb2f){let _0x7d632a=_0xfb2f['\x66\x69\x6e\x64'](item=>item['\x70\x61\x74\x68']===_0xbfccfb419);if(_0x7d632a&&!_0x7d632a['\x6d\x65\x74\x61']['\x61\x66\x66\x69\x78']){this['\x24\x73\x65\x74'](_0x7d632a['\x6d\x65\x74\x61'],_0x6c64cd(_0x46181c[62]),!![]);this['\x24\x73\x65\x74'](_0x7d632a['\x6d\x65\x74\x61'],"xiffa_resu".split("").reverse().join(""),!![]);}}},unlockMenu(){let _0x34d202419=window['\x24\x76\x75\x65\x52\x6f\x6f\x74'];let _0xe5b545419=_0x34d202419['\x24\x72\x6f\x75\x74\x65']['\x70\x61\x74\x68'];let _0x663bec419=_0x34d202419['\x24\x73\x74\x6f\x72\x65']['\x73\x74\x61\x74\x65']['\x74\x61\x67\x73\x56\x69\x65\x77']['\x76\x69\x73\x69\x74\x65\x64\x56\x69\x65\x77\x73'];if(_0x663bec419){let _0xa3d8fa419=_0x663bec419['\x66\x69\x6e\x64'](item=>item['\x70\x61\x74\x68']===_0xe5b545419);if(_0xa3d8fa419&&_0xa3d8fa419['\x6d\x65\x74\x61']['\x75\x73\x65\x72\x5f\x61\x66\x66\x69\x78']){_0xa3d8fa419['\x6d\x65\x74\x61']['\x61\x66\x66\x69\x78']=function(){return false;}();_0xa3d8fa419['\x6d\x65\x74\x61']['\x75\x73\x65\x72\x5f\x61\x66\x66\x69\x78']=function(){return false;}();}}}}};})();
|
|
16
|
-
export const mixins = tmixins
|
|
17
13
|
|
|
14
|
+
function getGrid(that, tableRef) {
|
|
15
|
+
let $grid;
|
|
16
|
+
if (Array.isArray(that.$refs[tableRef])) {
|
|
17
|
+
$grid = that.$refs[tableRef][0];
|
|
18
|
+
} else {
|
|
19
|
+
$grid = that.$refs[tableRef];
|
|
20
|
+
}
|
|
21
|
+
return $grid;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
(function () {
|
|
25
|
+
let exportTimer, exportMtTimer, countTimer;
|
|
26
|
+
tmixins = {
|
|
27
|
+
props: ["param"],
|
|
28
|
+
components: {
|
|
29
|
+
exportFieldDialog,
|
|
30
|
+
},
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
showImportDialog: false,
|
|
34
|
+
showImportDialog2: false,
|
|
35
|
+
falseValue: false,
|
|
36
|
+
fileRaw: false,
|
|
37
|
+
tTotalPage: 0,
|
|
38
|
+
tTotalSize: 0,
|
|
39
|
+
doneSize: 0,
|
|
40
|
+
CURRENT_PREFIX: "",
|
|
41
|
+
option: {},
|
|
42
|
+
uuid: "",
|
|
43
|
+
fileRows: [],
|
|
44
|
+
title: this.$t2("导出", "components.excelExport.title"),
|
|
45
|
+
tableTarget: null,
|
|
46
|
+
showContent: true,
|
|
47
|
+
percentageNum: 0,
|
|
48
|
+
exportGrid: {
|
|
49
|
+
className: "list-table",
|
|
50
|
+
resizable: true,
|
|
51
|
+
height: 120,
|
|
52
|
+
stripe: true,
|
|
53
|
+
highlightCurrentRow: true,
|
|
54
|
+
highlightHoverRow: true,
|
|
55
|
+
columns: [
|
|
56
|
+
{
|
|
57
|
+
field: "name",
|
|
58
|
+
minWidth: 140,
|
|
59
|
+
title: this.$t2("文件名", "components.excelExport.fileName"),
|
|
60
|
+
sortable: true,
|
|
61
|
+
slots: {
|
|
62
|
+
default: ({ row }) => {
|
|
63
|
+
return row.title + "-" + row.uuid;
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
field: "fileSize",
|
|
69
|
+
minWidth: 140,
|
|
70
|
+
title: this.$t2("大小", "components.excelExport.fileSize"),
|
|
71
|
+
sortable: true,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
field: "oper",
|
|
75
|
+
width: 140,
|
|
76
|
+
fixed: "right",
|
|
77
|
+
title: "",
|
|
78
|
+
sortable: false,
|
|
79
|
+
slots: {
|
|
80
|
+
default: "row_edit",
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
excTime: 0,
|
|
86
|
+
showExportFieldDialog: false,
|
|
87
|
+
leafColumns: [],
|
|
88
|
+
columns: [],
|
|
89
|
+
queryParam: {},
|
|
90
|
+
isMinimize: false,
|
|
91
|
+
};
|
|
92
|
+
},
|
|
93
|
+
created() {},
|
|
94
|
+
mounted() {
|
|
95
|
+
// this.exc();
|
|
96
|
+
},
|
|
97
|
+
beforeDestroy() {
|
|
98
|
+
this.clearExportTimer();
|
|
99
|
+
this.unlockMenu();
|
|
100
|
+
},
|
|
101
|
+
methods: {
|
|
102
|
+
exc() {
|
|
103
|
+
this.option = this.param;
|
|
104
|
+
let $grid = getGrid(this.option.vue, this.option.targetRef);
|
|
105
|
+
let datas = [];
|
|
106
|
+
if (
|
|
107
|
+
this.option.type === "selected" ||
|
|
108
|
+
this.option.type === "exportItem"
|
|
109
|
+
) {
|
|
110
|
+
datas = $grid.getCheckboxRecords(true);
|
|
111
|
+
if (!datas.length) {
|
|
112
|
+
this.$baseAlert(
|
|
113
|
+
this.$t2("请选择导出的数据", "components.excelExport.warmMsg1")
|
|
114
|
+
);
|
|
115
|
+
this.param.destroyComponent();
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
} else if (this.option.type === "current") {
|
|
119
|
+
datas = $grid.getTableData().fullData;
|
|
120
|
+
if (!datas.length) {
|
|
121
|
+
this.$baseAlert(
|
|
122
|
+
this.$t2("不存在可导出的数据", "components.excelExport.warmMsg2")
|
|
123
|
+
);
|
|
124
|
+
this.param.destroyComponent();
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
this.isMinimize = false;
|
|
130
|
+
this.showExportFieldDialog = true;
|
|
131
|
+
},
|
|
132
|
+
handleMinimize() {
|
|
133
|
+
let result = !this.showImportDialog2;
|
|
134
|
+
this.isMinimize = !result;
|
|
135
|
+
this.showImportDialog2 = result;
|
|
136
|
+
},
|
|
137
|
+
dialogClose2() {
|
|
138
|
+
if (this.isMinimize) return;
|
|
139
|
+
let loadingObj = window.$vueRoot.$baseLoading({
|
|
140
|
+
target: document.body,
|
|
141
|
+
background: "unset",
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
this.$emit("update:visiable", false);
|
|
145
|
+
this.clearExportTimer();
|
|
146
|
+
// this.showImportDialog2 = false;
|
|
147
|
+
this.showExportFieldDialog = false;
|
|
148
|
+
// this.showContent = false;
|
|
149
|
+
setTimeout(() => {
|
|
150
|
+
this.param.destroyComponent(loadingObj);
|
|
151
|
+
}, 0);
|
|
152
|
+
},
|
|
153
|
+
dialogPrimary2() {
|
|
154
|
+
// this.showUserDialog=false
|
|
155
|
+
this.$emit("confirm");
|
|
156
|
+
this.$emit("close");
|
|
157
|
+
this.clearExportTimer();
|
|
158
|
+
},
|
|
159
|
+
startProcess() {
|
|
160
|
+
this.lockMenu();
|
|
161
|
+
this.createCountTimer();
|
|
162
|
+
this.tableTarget = getGrid(this.option.vue, this.option.targetRef);
|
|
163
|
+
|
|
164
|
+
//获取查询条件
|
|
165
|
+
let originOption = this.tableTarget.params.originOption;
|
|
166
|
+
this.queryParam = this.$baseLodash.cloneDeep(
|
|
167
|
+
originOption.param() || {}
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
let that = this;
|
|
171
|
+
let options = this.option;
|
|
172
|
+
let title = options.title
|
|
173
|
+
? this.$t1(options.title)
|
|
174
|
+
: this.$t2("导出", "components.excelExport.title");
|
|
175
|
+
if (!options.prefix && options.prefix !== "") {
|
|
176
|
+
let originOption = this.tableTarget.params.originOption;
|
|
177
|
+
let path = originOption.exportPath || originOption.path;
|
|
178
|
+
let os = path.split("/");
|
|
179
|
+
if (path.indexOf("http://") >= 0 || path.indexOf("https://") >= 0) {
|
|
180
|
+
options.prefix = "/" + os[3];
|
|
181
|
+
} else {
|
|
182
|
+
options.prefix = "/" + os[1];
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
this.CURRENT_PREFIX = options.prefix;
|
|
186
|
+
|
|
187
|
+
this.title = title;
|
|
188
|
+
that.tTotalPage = 0;
|
|
189
|
+
that.tTotalSize = 0;
|
|
190
|
+
that
|
|
191
|
+
.createExcelFile()
|
|
192
|
+
.then((resultMsg) => {
|
|
193
|
+
if (resultMsg.type === "success") {
|
|
194
|
+
let aObj = resultMsg.objx;
|
|
195
|
+
that.uuid = aObj.uuid;
|
|
196
|
+
that.nowDate = aObj.nowDate;
|
|
197
|
+
that.ippaaapp = aObj.ippaaapp;
|
|
198
|
+
setTimeout(function () {
|
|
199
|
+
/*num = 1;
|
|
200
|
+
loopToDo(0, num);*/
|
|
201
|
+
that.handleLoopToDo();
|
|
202
|
+
}, 300);
|
|
203
|
+
} else {
|
|
204
|
+
that.showImportDialog = false;
|
|
205
|
+
that.showImportDialog2 = false;
|
|
206
|
+
}
|
|
207
|
+
})
|
|
208
|
+
.catch((error) => {
|
|
209
|
+
console.error(error);
|
|
210
|
+
that.showImportDialog = false;
|
|
211
|
+
that.showImportDialog2 = false;
|
|
212
|
+
});
|
|
213
|
+
},
|
|
214
|
+
getExportPageSize() {
|
|
215
|
+
let pageSize = Math.min(this.option.pageSize || 1000, 1000);
|
|
216
|
+
let showImageAtTable = this.option.showImageAtTable || false;
|
|
217
|
+
let hasExportImage = !!this.leafColumns.find((item) => {
|
|
218
|
+
let exportType = item?.params?.exportType;
|
|
219
|
+
return exportType === "Image";
|
|
220
|
+
});
|
|
221
|
+
let hasExportImage2 = !!this.leafColumns.find((item) => {
|
|
222
|
+
let exportType = item?.params?.exportType;
|
|
223
|
+
return exportType === "Image2";
|
|
224
|
+
});
|
|
225
|
+
if (hasExportImage || (hasExportImage2 && showImageAtTable)) {
|
|
226
|
+
pageSize = Math.min(pageSize, 150);
|
|
227
|
+
}
|
|
228
|
+
return pageSize;
|
|
229
|
+
},
|
|
230
|
+
hadleMergeExcel(pPageSize) {
|
|
231
|
+
let that = this;
|
|
232
|
+
let title = this.title;
|
|
233
|
+
let options = this.option;
|
|
234
|
+
// let pPageSize = this.getExportPageSize();
|
|
235
|
+
let limitFileSize = options.limitFileSize || 100000;
|
|
236
|
+
let limitThreadNum = options.limitThreadNum || 5;
|
|
237
|
+
let totalPages = this.tTotalPage || 1;
|
|
238
|
+
|
|
239
|
+
let kTotalPages = parseInt(limitFileSize / pPageSize);
|
|
240
|
+
|
|
241
|
+
let fileNum = parseInt(totalPages / kTotalPages);
|
|
242
|
+
if (totalPages % kTotalPages !== 0) {
|
|
243
|
+
fileNum = fileNum + 1;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
let currentIndex = 0;
|
|
247
|
+
let mtExcedNum = 0;
|
|
248
|
+
let mtExcedSuccessNum = 0;
|
|
249
|
+
const loopDo = () => {
|
|
250
|
+
let startPage = currentIndex + 1;
|
|
251
|
+
if (mtExcedNum < fileNum) {
|
|
252
|
+
mtExcedNum++;
|
|
253
|
+
|
|
254
|
+
let endPage = currentIndex + kTotalPages;
|
|
255
|
+
if (endPage > totalPages) {
|
|
256
|
+
endPage = totalPages;
|
|
257
|
+
}
|
|
258
|
+
if (startPage > endPage) {
|
|
259
|
+
that.clearExportTimer();
|
|
260
|
+
}
|
|
261
|
+
currentIndex = endPage;
|
|
262
|
+
|
|
263
|
+
that
|
|
264
|
+
.mergeExcel(startPage, endPage)
|
|
265
|
+
.then(function (resultMsg3) {
|
|
266
|
+
if (resultMsg3.type === "success") {
|
|
267
|
+
mtExcedSuccessNum++;
|
|
268
|
+
let fileInfo = resultMsg3.objx;
|
|
269
|
+
let fileName = fileInfo.fileName;
|
|
270
|
+
let fileSize = fileInfo.fileSize;
|
|
271
|
+
|
|
272
|
+
let dataMap = {};
|
|
273
|
+
dataMap["startPage"] = startPage;
|
|
274
|
+
dataMap["endPage"] = endPage;
|
|
275
|
+
dataMap["title"] = title;
|
|
276
|
+
dataMap["uuid"] = fileName;
|
|
277
|
+
dataMap["fileSize"] = fileSize;
|
|
278
|
+
// fileRows.push(dataMap);
|
|
279
|
+
|
|
280
|
+
that.$refs["exportTable"].insertAt(dataMap, -1);
|
|
281
|
+
|
|
282
|
+
let fileSizeStr = fileSize;
|
|
283
|
+
|
|
284
|
+
// that.fileRows.push(dataMap);
|
|
285
|
+
if (mtExcedNum < fileNum) {
|
|
286
|
+
loopDo();
|
|
287
|
+
} else if (
|
|
288
|
+
mtExcedNum >= fileNum &&
|
|
289
|
+
mtExcedSuccessNum >= fileNum
|
|
290
|
+
) {
|
|
291
|
+
setTimeout(function () {
|
|
292
|
+
that.percentageNum = parseInt(100);
|
|
293
|
+
}, 100);
|
|
294
|
+
that.clearExportTimer();
|
|
295
|
+
} else if (mtExcedSuccessNum >= fileNum) {
|
|
296
|
+
setTimeout(function () {
|
|
297
|
+
that.percentageNum = parseInt(100);
|
|
298
|
+
}, 100);
|
|
299
|
+
that.clearExportTimer();
|
|
300
|
+
}
|
|
301
|
+
} else {
|
|
302
|
+
that.clearExportTimer();
|
|
303
|
+
}
|
|
304
|
+
})
|
|
305
|
+
.catch(function (e) {
|
|
306
|
+
console.error(e);
|
|
307
|
+
that.clearExportTimer();
|
|
308
|
+
});
|
|
309
|
+
that.clearExportTimer();
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
loopDo();
|
|
313
|
+
},
|
|
314
|
+
handleLoopToDo() {
|
|
315
|
+
let that = this;
|
|
316
|
+
let uuid;
|
|
317
|
+
let num = 0;
|
|
318
|
+
let title = this.title;
|
|
319
|
+
|
|
320
|
+
let options = this.option;
|
|
321
|
+
|
|
322
|
+
let pPageSize = this.getExportPageSize();
|
|
323
|
+
let limitFileSize = options.limitFileSize || 100000;
|
|
324
|
+
let limitThreadNum = options.limitThreadNum || 5;
|
|
325
|
+
|
|
326
|
+
/**处理返回值*/
|
|
327
|
+
this.doneSize = 0;
|
|
328
|
+
let excedNum = 0;
|
|
329
|
+
let cSize = this.doneSize;
|
|
330
|
+
|
|
331
|
+
let handleData = function (resultMsg) {
|
|
332
|
+
let pageNumber = resultMsg.objx.pageNumber || 1;
|
|
333
|
+
that
|
|
334
|
+
.addExcelData({
|
|
335
|
+
rows: resultMsg.objx.records,
|
|
336
|
+
pageNumber: pageNumber,
|
|
337
|
+
})
|
|
338
|
+
.then(function (resultMsg2) {
|
|
339
|
+
let data = resultMsg.objx;
|
|
340
|
+
let total = data.total;
|
|
341
|
+
|
|
342
|
+
let pageNumber = data.pageNumber || 1;
|
|
343
|
+
let totalPages = that.tTotalPage || 1;
|
|
344
|
+
if (resultMsg2.type === "success") {
|
|
345
|
+
excedNum++;
|
|
346
|
+
let pageNumber = data.pageNumber || 1;
|
|
347
|
+
let k = (excedNum * 100) / totalPages;
|
|
348
|
+
if (k > 0 && k < 1) {
|
|
349
|
+
k = 1;
|
|
350
|
+
}
|
|
351
|
+
if (k > 100) k = 100;
|
|
352
|
+
let cTotal = that.tTotalSize;
|
|
353
|
+
let pageSize = data.pageSize;
|
|
354
|
+
// let datas = data.records;
|
|
355
|
+
let size = data.records.length;
|
|
356
|
+
cSize = cSize + size;
|
|
357
|
+
|
|
358
|
+
let ttNum = cSize + "/" + cTotal;
|
|
359
|
+
let percentageStr = parseInt(k) + "%";
|
|
360
|
+
|
|
361
|
+
let percentageNum = k;
|
|
362
|
+
if (percentageNum >= 100) {
|
|
363
|
+
percentageNum = 99;
|
|
364
|
+
}
|
|
365
|
+
// that.$set(that, "doneSize", parseInt(cSize));
|
|
366
|
+
// that.$set(that, "percentageNum", parseInt(percentageNum));
|
|
367
|
+
|
|
368
|
+
that.doneSize = parseInt(cSize);
|
|
369
|
+
that.percentageNum = parseInt(percentageNum);
|
|
370
|
+
|
|
371
|
+
if (totalPages === 0 || excedNum >= totalPages) {
|
|
372
|
+
that.hadleMergeExcel(data.pageSize);
|
|
373
|
+
return;
|
|
374
|
+
|
|
375
|
+
/*let kTotalPages = parseInt(limitFileSize / data.pageSize);
|
|
376
|
+
|
|
377
|
+
let fileNum = parseInt(totalPages / kTotalPages);
|
|
378
|
+
if (totalPages % kTotalPages !== 0) {
|
|
379
|
+
fileNum = fileNum + 1;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
let currentIndex = 0;
|
|
383
|
+
let excingNum = 0;
|
|
384
|
+
let mtExcedNum = 0;
|
|
385
|
+
let mtExcedSuccessNum = 0;
|
|
386
|
+
|
|
387
|
+
let fileRows = [];
|
|
388
|
+
|
|
389
|
+
setTimeout(function () {
|
|
390
|
+
let startPage = currentIndex + 1;
|
|
391
|
+
if (mtExcedNum < fileNum) {
|
|
392
|
+
if (excingNum >= limitThreadNum) return false;
|
|
393
|
+
excingNum++;
|
|
394
|
+
mtExcedNum++;
|
|
395
|
+
|
|
396
|
+
let endPage = currentIndex + kTotalPages;
|
|
397
|
+
if (endPage > totalPages) {
|
|
398
|
+
endPage = totalPages;
|
|
399
|
+
}
|
|
400
|
+
if (startPage > endPage) {
|
|
401
|
+
that.clearExportTimer();
|
|
402
|
+
}
|
|
403
|
+
currentIndex = endPage;
|
|
404
|
+
|
|
405
|
+
that.mergeExcel(startPage, endPage).then(function (resultMsg3) {
|
|
406
|
+
if (resultMsg3.type === "success") {
|
|
407
|
+
excingNum--;
|
|
408
|
+
mtExcedSuccessNum++;
|
|
409
|
+
let fileInfo = resultMsg3.objx;
|
|
410
|
+
let fileName = fileInfo.fileName;
|
|
411
|
+
let fileSize = fileInfo.fileSize;
|
|
412
|
+
|
|
413
|
+
let dataMap = {};
|
|
414
|
+
dataMap["startPage"] = startPage;
|
|
415
|
+
dataMap["endPage"] = endPage;
|
|
416
|
+
dataMap["title"] = title;
|
|
417
|
+
dataMap["uuid"] = fileName;
|
|
418
|
+
dataMap["fileSize"] = fileSize;
|
|
419
|
+
// fileRows.push(dataMap);
|
|
420
|
+
|
|
421
|
+
that.$refs["exportTable"].insertAt(
|
|
422
|
+
dataMap, -1);
|
|
423
|
+
|
|
424
|
+
let fileSizeStr = fileSize;
|
|
425
|
+
|
|
426
|
+
// that.fileRows.push(dataMap);
|
|
427
|
+
|
|
428
|
+
if (mtExcedNum >= fileNum && mtExcedSuccessNum >= fileNum) {
|
|
429
|
+
setTimeout(function () {
|
|
430
|
+
that.percentageNum =
|
|
431
|
+
parseInt(100);
|
|
432
|
+
}, 100);
|
|
433
|
+
that.clearExportTimer();
|
|
434
|
+
} else if (mtExcedSuccessNum >= fileNum) {
|
|
435
|
+
setTimeout(function () {
|
|
436
|
+
that.percentageNum = parseInt(100);
|
|
437
|
+
}, 100);
|
|
438
|
+
that.clearExportTimer();
|
|
439
|
+
}
|
|
440
|
+
} else {
|
|
441
|
+
that.clearExportTimer();
|
|
442
|
+
}
|
|
443
|
+
}).catch(function (e) {
|
|
444
|
+
console.error(e);
|
|
445
|
+
that.clearExportTimer();
|
|
446
|
+
});
|
|
447
|
+
that.clearExportTimer();
|
|
448
|
+
}
|
|
449
|
+
}, 100);*/
|
|
450
|
+
return false;
|
|
451
|
+
}
|
|
452
|
+
} else {
|
|
453
|
+
that.clearExportTimer();
|
|
454
|
+
}
|
|
455
|
+
})
|
|
456
|
+
.catch(function (e) {
|
|
457
|
+
console.error(e);
|
|
458
|
+
that.clearExportTimer();
|
|
459
|
+
});
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
let waitReqNum = 0;
|
|
463
|
+
let promise;
|
|
464
|
+
let loopToDo = function (flag, pageNumber) {
|
|
465
|
+
let maxWaitNum = limitThreadNum;
|
|
466
|
+
let nowDate = options.nowDate;
|
|
467
|
+
if (flag === 1) {
|
|
468
|
+
/*if (num > that.tTotalPage) {
|
|
469
|
+
let size = page.records.length;
|
|
470
|
+
if (size === 0 || page.totalPages === 0 || (page.pageNumber >= page.totalPages)) {
|
|
471
|
+
that.clearExportTimer();
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
}*/
|
|
475
|
+
} else {
|
|
476
|
+
waitReqNum = 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
let target = that.tableTarget;
|
|
480
|
+
let originOption = target.params.originOption;
|
|
481
|
+
let url = originOption.exportPath || originOption.path;
|
|
482
|
+
|
|
483
|
+
// let params = originOption.param() || {};
|
|
484
|
+
let params = that.queryParam;
|
|
485
|
+
let aParam = {
|
|
486
|
+
current: pageNumber,
|
|
487
|
+
size: pPageSize,
|
|
488
|
+
nowDate: nowDate,
|
|
489
|
+
searchCount: flag !== 1,
|
|
490
|
+
};
|
|
491
|
+
let cpParam;
|
|
492
|
+
if (originOption.vform === true) {
|
|
493
|
+
params.conditions = params.conditions || {};
|
|
494
|
+
cpParam = params.conditions;
|
|
495
|
+
} else {
|
|
496
|
+
cpParam = params;
|
|
497
|
+
}
|
|
498
|
+
Object.assign(cpParam, aParam);
|
|
499
|
+
|
|
500
|
+
if (!originOption.exportAjax) {
|
|
501
|
+
let turl = url.replace("searchCount=false", "1=1");
|
|
502
|
+
let finaParams = params;
|
|
503
|
+
if (originOption.paramHandle) {
|
|
504
|
+
finaParams = originOption.paramHandle
|
|
505
|
+
? originOption.paramHandle(params) || {}
|
|
506
|
+
: {};
|
|
507
|
+
}
|
|
508
|
+
promise = that.$commonHttp({
|
|
509
|
+
aes: originOption.aes || false,
|
|
510
|
+
url: turl,
|
|
511
|
+
method: "post",
|
|
512
|
+
data: finaParams,
|
|
513
|
+
modal: false,
|
|
514
|
+
queryCreateInfo: originOption.queryCreateInfo,
|
|
515
|
+
addCreateInfo: originOption.addCreateInfo,
|
|
516
|
+
});
|
|
517
|
+
} else {
|
|
518
|
+
promise = originOption.exportAjax(aParam, options);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
promise
|
|
522
|
+
.then(function (resultMsg) {
|
|
523
|
+
if (resultMsg.type === "success") {
|
|
524
|
+
let objx = resultMsg.objx;
|
|
525
|
+
objx.pageNumber = objx.current || 1;
|
|
526
|
+
objx.totalPages = objx.pages || 1;
|
|
527
|
+
objx.pageSize = objx.size;
|
|
528
|
+
let size = objx.records.length;
|
|
529
|
+
if (flag === 0) {
|
|
530
|
+
that.tTotalPage = objx.pages;
|
|
531
|
+
// that.tTotalSize = objx.total;
|
|
532
|
+
setTimeout(function () {
|
|
533
|
+
that.$set(that, "tTotalSize", objx.total);
|
|
534
|
+
}, 0);
|
|
535
|
+
let tTotalPage = objx.pages;
|
|
536
|
+
let tTotalSize = objx.total;
|
|
537
|
+
let ttNum = 0 + "/" + objx.total;
|
|
538
|
+
|
|
539
|
+
let opNum = limitFileSize;
|
|
540
|
+
let kTotalPages = parseInt(opNum / objx.size);
|
|
541
|
+
|
|
542
|
+
let fileNum = parseInt(tTotalPage / kTotalPages);
|
|
543
|
+
if (tTotalPage % kTotalPages !== 0) {
|
|
544
|
+
fileNum = fileNum + 1;
|
|
545
|
+
}
|
|
546
|
+
if (
|
|
547
|
+
size > 0 ||
|
|
548
|
+
objx.totalPages > 0 ||
|
|
549
|
+
objx.pageNumber < objx.totalPages
|
|
550
|
+
) {
|
|
551
|
+
exportTimer = setInterval(function () {
|
|
552
|
+
if (waitReqNum < maxWaitNum && num < tTotalPage) {
|
|
553
|
+
waitReqNum++;
|
|
554
|
+
num++;
|
|
555
|
+
let pageNumber = num;
|
|
556
|
+
loopToDo(1, pageNumber);
|
|
557
|
+
}
|
|
558
|
+
if (num >= tTotalPage) {
|
|
559
|
+
clearInterval(loopToDo);
|
|
560
|
+
}
|
|
561
|
+
}, 100);
|
|
562
|
+
} else {
|
|
563
|
+
clearInterval(exportTimer);
|
|
564
|
+
exportTimer = null;
|
|
565
|
+
}
|
|
566
|
+
} else {
|
|
567
|
+
if (waitReqNum > 0) waitReqNum--;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
setTimeout(function () {
|
|
571
|
+
handleData(resultMsg, flag);
|
|
572
|
+
}, 1);
|
|
573
|
+
} else {
|
|
574
|
+
that.clearExportTimer();
|
|
575
|
+
}
|
|
576
|
+
})
|
|
577
|
+
.catch(function (e) {
|
|
578
|
+
console.error(e);
|
|
579
|
+
that.clearExportTimer();
|
|
580
|
+
});
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
num = 1;
|
|
584
|
+
loopToDo(0, num);
|
|
585
|
+
},
|
|
586
|
+
createExcelFile(loading) {
|
|
587
|
+
let url1 = this.CURRENT_PREFIX + "/excel/createExcelTemplate";
|
|
588
|
+
let datas = this.getHeadTitleJson();
|
|
589
|
+
return this.$http({
|
|
590
|
+
url: url1,
|
|
591
|
+
method: "post",
|
|
592
|
+
headers: {
|
|
593
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
594
|
+
},
|
|
595
|
+
data: datas,
|
|
596
|
+
modal: loading || false,
|
|
597
|
+
isLoading: loading,
|
|
598
|
+
});
|
|
599
|
+
},
|
|
600
|
+
/*getExportTitleJson() {
|
|
601
|
+
let target = this.tableTarget;
|
|
602
|
+
// let columns = target.getColumns();
|
|
603
|
+
let columns = this.columns;
|
|
604
|
+
let titles = [];
|
|
605
|
+
columns.forEach(column => {
|
|
606
|
+
if (column.title) {
|
|
607
|
+
// titles.push(column.title)
|
|
608
|
+
titles.push({
|
|
609
|
+
colspan: 1,
|
|
610
|
+
rowspan: 1,
|
|
611
|
+
title: column.title
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
return [titles];
|
|
616
|
+
},*/
|
|
617
|
+
computeRealColSpan(columns) {
|
|
618
|
+
// 深拷贝避免修改原数据(可选)
|
|
619
|
+
// const result = JSON.parse(JSON.stringify(columns));
|
|
620
|
+
|
|
621
|
+
function traverse(node) {
|
|
622
|
+
if (!node.children || node.children.length === 0) {
|
|
623
|
+
// 叶子节点:realColSpan = 原始 colSpan
|
|
624
|
+
node.realColSpan = node.colSpan || 1;
|
|
625
|
+
} else {
|
|
626
|
+
// 非叶子节点:递归处理子节点,然后求和
|
|
627
|
+
let sum = 0;
|
|
628
|
+
for (const child of node.children) {
|
|
629
|
+
traverse(child);
|
|
630
|
+
sum += child.realColSpan;
|
|
631
|
+
}
|
|
632
|
+
node.realColSpan = sum;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
for (const col of columns) {
|
|
637
|
+
traverse(col);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
return columns;
|
|
641
|
+
},
|
|
642
|
+
getHeadTitleJson() {
|
|
643
|
+
let that = this;
|
|
644
|
+
let target = this.tableTarget;
|
|
645
|
+
// let columns = target.getTableColumn().collectColumn;
|
|
646
|
+
let columns = this.columns;
|
|
647
|
+
|
|
648
|
+
this.computeRealColSpan(columns);
|
|
649
|
+
|
|
650
|
+
let maxRowNum = 0;
|
|
651
|
+
let loop = function (column, n) {
|
|
652
|
+
if (column.children && column.children.length > 0) {
|
|
653
|
+
let num = n + 1;
|
|
654
|
+
column.children.forEach((child) => {
|
|
655
|
+
return loop(child, num);
|
|
656
|
+
});
|
|
657
|
+
} else {
|
|
658
|
+
let num = n;
|
|
659
|
+
if (num > maxRowNum) maxRowNum = num;
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
columns.forEach((column) => {
|
|
664
|
+
if (column.title) {
|
|
665
|
+
loop(column, 0);
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
maxRowNum = maxRowNum + 1;
|
|
669
|
+
|
|
670
|
+
let titleArr = [];
|
|
671
|
+
let columnsArr = [columns];
|
|
672
|
+
for (let i = 0; i < maxRowNum; i++) {
|
|
673
|
+
let contents = [];
|
|
674
|
+
let items = columnsArr[i];
|
|
675
|
+
let nextArr = [];
|
|
676
|
+
let colspan = 1;
|
|
677
|
+
let rowspan = 1;
|
|
678
|
+
items.forEach((column, index) => {
|
|
679
|
+
if (column.title) {
|
|
680
|
+
if (column.children && column.children.length > 0) {
|
|
681
|
+
nextArr = nextArr.concat(column.children);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
contents.push({
|
|
685
|
+
colspan: column.realColSpan,
|
|
686
|
+
rowspan: column.rowSpan,
|
|
687
|
+
title:
|
|
688
|
+
column.title !== null && column.title !== undefined
|
|
689
|
+
? column.title
|
|
690
|
+
: "",
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
titleArr.push(contents);
|
|
695
|
+
if (nextArr.length > 0) columnsArr.push(nextArr);
|
|
696
|
+
}
|
|
697
|
+
return titleArr;
|
|
698
|
+
},
|
|
699
|
+
addExcelData(opts, loading) {
|
|
700
|
+
let target = opts.target;
|
|
701
|
+
let pageNumber = opts.pageNumber || 1;
|
|
702
|
+
let callback = opts.callback;
|
|
703
|
+
let datas = this.getExcelData(opts.rows);
|
|
704
|
+
let cUUid = this.uuid;
|
|
705
|
+
let ippaaapp = this.ippaaapp;
|
|
706
|
+
let url1 =
|
|
707
|
+
this.CURRENT_PREFIX +
|
|
708
|
+
"/excel/appendExcelData?uuid=" +
|
|
709
|
+
cUUid +
|
|
710
|
+
"&ippaaapp=" +
|
|
711
|
+
ippaaapp +
|
|
712
|
+
"&pageNumber=" +
|
|
713
|
+
pageNumber;
|
|
714
|
+
return this.$http({
|
|
715
|
+
url: url1,
|
|
716
|
+
method: "post",
|
|
717
|
+
headers: {
|
|
718
|
+
"Content-Type": "application/json;charset=utf-8",
|
|
719
|
+
},
|
|
720
|
+
data: datas,
|
|
721
|
+
modal: loading || false,
|
|
722
|
+
isLoading: loading || false,
|
|
723
|
+
});
|
|
724
|
+
},
|
|
725
|
+
mergeExcel(startPage, endPage, loading) {
|
|
726
|
+
let url1 =
|
|
727
|
+
this.CURRENT_PREFIX +
|
|
728
|
+
"/excel/mergeExcel?uuid=" +
|
|
729
|
+
this.uuid +
|
|
730
|
+
"&ippaaapp=" +
|
|
731
|
+
this.ippaaapp;
|
|
732
|
+
return this.$http({
|
|
733
|
+
url: url1 + "&startPage=" + startPage + "&endPage=" + endPage,
|
|
734
|
+
method: "post",
|
|
735
|
+
modal: loading || false,
|
|
736
|
+
isLoading: loading || false,
|
|
737
|
+
});
|
|
738
|
+
},
|
|
739
|
+
createCountTimer() {
|
|
740
|
+
this.excTime = 0;
|
|
741
|
+
let beginTime = new Date().getTime();
|
|
742
|
+
countTimer = setInterval(() => {
|
|
743
|
+
let nowTime = new Date().getTime();
|
|
744
|
+
let diffTime = (nowTime - beginTime) / 1000;
|
|
745
|
+
this.$set(this, "excTime", this.$baseLodash.round(diffTime, 2));
|
|
746
|
+
}, 100);
|
|
747
|
+
},
|
|
748
|
+
clearExportTimer() {
|
|
749
|
+
if (exportTimer) clearInterval(exportTimer);
|
|
750
|
+
if (exportMtTimer) clearInterval(exportMtTimer);
|
|
751
|
+
if (countTimer) clearInterval(countTimer);
|
|
752
|
+
exportTimer = null;
|
|
753
|
+
exportMtTimer = null;
|
|
754
|
+
countTimer = null;
|
|
755
|
+
},
|
|
756
|
+
isPicture: function (suffix) {
|
|
757
|
+
if (!suffix || suffix === "") {
|
|
758
|
+
return false;
|
|
759
|
+
}
|
|
760
|
+
suffix = suffix.toLowerCase();
|
|
761
|
+
let fileTypeMap = {
|
|
762
|
+
jpg: true,
|
|
763
|
+
jpeg: true,
|
|
764
|
+
png: true,
|
|
765
|
+
// gif: true,
|
|
766
|
+
bmp: true,
|
|
767
|
+
mpg: true,
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
let type = fileTypeMap[suffix];
|
|
771
|
+
if (undefined === type) {
|
|
772
|
+
return false;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
return true;
|
|
776
|
+
},
|
|
777
|
+
getExcelData(rows) {
|
|
778
|
+
let that = this;
|
|
779
|
+
|
|
780
|
+
let showImageAtTable = this.option.showImageAtTable || false;
|
|
781
|
+
// let target = this.option.vue.$refs[this.option.targetRef];
|
|
782
|
+
let target = getGrid(this.option.vue, this.option.targetRef);
|
|
783
|
+
let $table = target.$refs.xTable;
|
|
784
|
+
|
|
785
|
+
// let columns = target.getColumns();
|
|
786
|
+
let columns = this.leafColumns;
|
|
787
|
+
|
|
788
|
+
let arr = [];
|
|
789
|
+
let contents;
|
|
790
|
+
let params;
|
|
791
|
+
let resultStr;
|
|
792
|
+
rows.forEach(function (row, index) {
|
|
793
|
+
contents = [];
|
|
794
|
+
columns.forEach((column) => {
|
|
795
|
+
if (column.title) {
|
|
796
|
+
params = {
|
|
797
|
+
$table: $table,
|
|
798
|
+
row: row,
|
|
799
|
+
rowIndex: index,
|
|
800
|
+
$rowIndex: index,
|
|
801
|
+
column: column,
|
|
802
|
+
// columnIndex: 0,
|
|
803
|
+
// $columnIndex: 0,
|
|
804
|
+
// _columnIndex
|
|
805
|
+
};
|
|
806
|
+
let exportType = column.params?.exportType;
|
|
807
|
+
let exportVal =
|
|
808
|
+
column.params && column.params.exportVal
|
|
809
|
+
? column.params.exportVal
|
|
810
|
+
: null;
|
|
811
|
+
if (exportVal) {
|
|
812
|
+
resultStr = exportVal(params);
|
|
813
|
+
} else if (exportType === "Number") {
|
|
814
|
+
resultStr = getCellValue(params);
|
|
815
|
+
if (
|
|
816
|
+
resultStr !== null &&
|
|
817
|
+
resultStr !== undefined &&
|
|
818
|
+
resultStr !== "" &&
|
|
819
|
+
!(resultStr + "").startsWith("[EXPNUM]")
|
|
820
|
+
) {
|
|
821
|
+
resultStr = "[EXPNUM]" + resultStr;
|
|
822
|
+
}
|
|
823
|
+
} else if (
|
|
824
|
+
exportType === "Image" ||
|
|
825
|
+
(showImageAtTable && exportType === "Image2")
|
|
826
|
+
) {
|
|
827
|
+
resultStr = getCellValue(params);
|
|
828
|
+
let attachments = row[column.field];
|
|
829
|
+
if (attachments) {
|
|
830
|
+
if (Array.isArray(attachments)) {
|
|
831
|
+
let items = attachments.filter((item) =>
|
|
832
|
+
that.isPicture(item.extension)
|
|
833
|
+
);
|
|
834
|
+
if (items.length > 0) {
|
|
835
|
+
resultStr =
|
|
836
|
+
"[EXPIMG]" +
|
|
837
|
+
items
|
|
838
|
+
.map((item) => {
|
|
839
|
+
let url = item.large || item.medium;
|
|
840
|
+
return item.domain + url;
|
|
841
|
+
})
|
|
842
|
+
.join(",");
|
|
843
|
+
} else {
|
|
844
|
+
resultStr = null;
|
|
845
|
+
}
|
|
846
|
+
} else {
|
|
847
|
+
if (
|
|
848
|
+
that.isPicture(
|
|
849
|
+
that.$commonFileUtil.getFileSuffix(resultStr)
|
|
850
|
+
)
|
|
851
|
+
) {
|
|
852
|
+
if (
|
|
853
|
+
resultStr !== null &&
|
|
854
|
+
resultStr !== undefined &&
|
|
855
|
+
resultStr !== "" &&
|
|
856
|
+
!(resultStr + "").startsWith("[EXPIMG]")
|
|
857
|
+
) {
|
|
858
|
+
resultStr = "[EXPIMG]" + resultStr;
|
|
859
|
+
}
|
|
860
|
+
} else {
|
|
861
|
+
resultStr = null;
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
} else {
|
|
865
|
+
resultStr = null;
|
|
866
|
+
}
|
|
867
|
+
} else {
|
|
868
|
+
resultStr = getCellValue(params);
|
|
869
|
+
}
|
|
870
|
+
contents.push(resultStr);
|
|
871
|
+
resultStr = null;
|
|
872
|
+
}
|
|
873
|
+
});
|
|
874
|
+
arr.push(contents);
|
|
875
|
+
});
|
|
876
|
+
return arr;
|
|
877
|
+
},
|
|
878
|
+
exportAll(row) {
|
|
879
|
+
let cUUid = encodeURIComponent(row.uuid);
|
|
880
|
+
let fileName = row.title;
|
|
881
|
+
let fileUrl =
|
|
882
|
+
configUtil.baseUrl +
|
|
883
|
+
this.CURRENT_PREFIX +
|
|
884
|
+
"/excel/download?uuid=" +
|
|
885
|
+
cUUid;
|
|
886
|
+
|
|
887
|
+
function downLoadFile2() {
|
|
888
|
+
let params = {
|
|
889
|
+
n: fileName,
|
|
890
|
+
};
|
|
891
|
+
params["access_token"] = configUtil.getToken();
|
|
892
|
+
|
|
893
|
+
let form = document.createElement("form");
|
|
894
|
+
|
|
895
|
+
let randomNum =
|
|
896
|
+
new Date().valueOf() + Math.floor(Math.random() * 1000000);
|
|
897
|
+
let formId = "formId-" + randomNum;
|
|
898
|
+
let formName = "formName-" + randomNum;
|
|
899
|
+
|
|
900
|
+
form.id = formId;
|
|
901
|
+
form.name = formName;
|
|
902
|
+
form.target = "_blank";
|
|
903
|
+
document.body.appendChild(form);
|
|
904
|
+
for (let obj in params) {
|
|
905
|
+
if (params.hasOwnProperty(obj)) {
|
|
906
|
+
let input = document.createElement("input");
|
|
907
|
+
input.tpye = "hidden";
|
|
908
|
+
input.name = obj;
|
|
909
|
+
input.value = params[obj];
|
|
910
|
+
form.appendChild(input);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
form.method = "post"; //请求方式
|
|
914
|
+
form.action = fileUrl;
|
|
915
|
+
form.submit();
|
|
916
|
+
document.body.removeChild(form);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
downLoadFile2();
|
|
920
|
+
},
|
|
921
|
+
startProcess2(datas) {
|
|
922
|
+
this.tableTarget = getGrid(this.option.vue, this.option.targetRef);
|
|
923
|
+
let that = this;
|
|
924
|
+
let options = this.option;
|
|
925
|
+
let title =
|
|
926
|
+
options.title || this.$t2("导出", "components.excelExport.title");
|
|
927
|
+
if (!options.prefix && options.prefix !== "") {
|
|
928
|
+
let originOption = this.tableTarget.params.originOption;
|
|
929
|
+
let path = originOption.exportPath || originOption.path;
|
|
930
|
+
if (path) {
|
|
931
|
+
let os = path.split("/");
|
|
932
|
+
if (path.indexOf("http://") >= 0 || path.indexOf("https://") >= 0) {
|
|
933
|
+
options.prefix = "/" + os[3];
|
|
934
|
+
} else {
|
|
935
|
+
options.prefix = "/" + os[1];
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
if (!options.prefix) {
|
|
940
|
+
return;
|
|
941
|
+
}
|
|
942
|
+
this.CURRENT_PREFIX = options.prefix;
|
|
943
|
+
|
|
944
|
+
let handleData = function () {
|
|
945
|
+
let total = datas.length;
|
|
946
|
+
that
|
|
947
|
+
.addExcelData(
|
|
948
|
+
{
|
|
949
|
+
rows: datas,
|
|
950
|
+
pageNumber: 1,
|
|
951
|
+
},
|
|
952
|
+
true
|
|
953
|
+
)
|
|
954
|
+
.then((resultMsg2) => {
|
|
955
|
+
if (resultMsg2.type === "success") {
|
|
956
|
+
setTimeout(() => {
|
|
957
|
+
that.mergeExcel(1, 1, true).then((resultMsg3) => {
|
|
958
|
+
if (resultMsg3.type === "success") {
|
|
959
|
+
let fileInfo = resultMsg3.objx;
|
|
960
|
+
let fileName = fileInfo.fileName;
|
|
961
|
+
let fileSize = fileInfo.fileSize;
|
|
962
|
+
|
|
963
|
+
let dataMap = {};
|
|
964
|
+
dataMap["startPage"] = 1;
|
|
965
|
+
dataMap["endPage"] = 1;
|
|
966
|
+
dataMap["title"] = title;
|
|
967
|
+
dataMap["uuid"] = fileName;
|
|
968
|
+
dataMap["fileSize"] = fileSize;
|
|
969
|
+
that.exportAll(dataMap);
|
|
970
|
+
}
|
|
971
|
+
});
|
|
972
|
+
}, 0);
|
|
973
|
+
}
|
|
974
|
+
});
|
|
975
|
+
};
|
|
976
|
+
that.createExcelFile(true).then((resultMsg) => {
|
|
977
|
+
if (resultMsg.type === "success") {
|
|
978
|
+
let aObj = resultMsg.objx;
|
|
979
|
+
that.uuid = aObj.uuid;
|
|
980
|
+
that.nowDate = aObj.nowDate;
|
|
981
|
+
that.ippaaapp = aObj.ippaaapp;
|
|
982
|
+
setTimeout(() => {
|
|
983
|
+
handleData();
|
|
984
|
+
}, 0);
|
|
985
|
+
}
|
|
986
|
+
});
|
|
987
|
+
},
|
|
988
|
+
closeExportFieldDialog() {
|
|
989
|
+
this.dialogClose2();
|
|
990
|
+
},
|
|
991
|
+
confirmExportFieldDialog({ columns, leafColumns }) {
|
|
992
|
+
this.columns = columns;
|
|
993
|
+
this.leafColumns = leafColumns;
|
|
994
|
+
let flag =
|
|
995
|
+
this.option.type === "selected" || this.option.type === "current";
|
|
996
|
+
if (!flag) {
|
|
997
|
+
this.showImportDialog2 = true;
|
|
998
|
+
}
|
|
999
|
+
this.$nextTick(() => {
|
|
1000
|
+
if (flag) {
|
|
1001
|
+
let $grid = getGrid(this.option.vue, this.option.targetRef);
|
|
1002
|
+
let datas = [];
|
|
1003
|
+
if (this.option.type === "selected") {
|
|
1004
|
+
datas = $grid.getCheckboxRecords(true);
|
|
1005
|
+
if (!datas.length) {
|
|
1006
|
+
this.$baseAlert(
|
|
1007
|
+
this.$t2(
|
|
1008
|
+
"请选择导出的数据",
|
|
1009
|
+
"components.excelExport.warmMsg1"
|
|
1010
|
+
)
|
|
1011
|
+
);
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
} else if (this.option.type === "current") {
|
|
1015
|
+
datas = $grid.getTableData().fullData;
|
|
1016
|
+
if (!datas.length) {
|
|
1017
|
+
this.$baseAlert(
|
|
1018
|
+
this.$t2(
|
|
1019
|
+
"不存在可导出的数据",
|
|
1020
|
+
"components.excelExport.warmMsg2"
|
|
1021
|
+
)
|
|
1022
|
+
);
|
|
1023
|
+
return;
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
this.startProcess2(datas);
|
|
1027
|
+
} else {
|
|
1028
|
+
this.startProcess();
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
},
|
|
1032
|
+
lockMenu() {
|
|
1033
|
+
let vueTarget = window.$vueRoot;
|
|
1034
|
+
let path = vueTarget.$route.path;
|
|
1035
|
+
let visitedViews = vueTarget.$store.state.tagsView.visitedViews;
|
|
1036
|
+
if (visitedViews) {
|
|
1037
|
+
let currentItem = visitedViews.find((item) => item.path === path);
|
|
1038
|
+
if (currentItem && !currentItem.meta.affix) {
|
|
1039
|
+
this.$set(currentItem.meta, "affix", true);
|
|
1040
|
+
this.$set(currentItem.meta, "user_affix", true);
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
unlockMenu() {
|
|
1045
|
+
let vueTarget = window.$vueRoot;
|
|
1046
|
+
let path = vueTarget.$route.path;
|
|
1047
|
+
let visitedViews = vueTarget.$store.state.tagsView.visitedViews;
|
|
1048
|
+
if (visitedViews) {
|
|
1049
|
+
let currentItem = visitedViews.find((item) => item.path === path);
|
|
1050
|
+
if (currentItem && currentItem.meta.user_affix) {
|
|
1051
|
+
currentItem.meta.affix = false;
|
|
1052
|
+
currentItem.meta.user_affix = false;
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
},
|
|
1057
|
+
};
|
|
1058
|
+
})();
|
|
1059
|
+
|
|
1060
|
+
export const mixins = tmixins;
|
|
@@ -1510,11 +1510,7 @@ modules = {
|
|
|
1510
1510
|
} else if ("radio" === widgetType) {
|
|
1511
1511
|
return this.getOptionLabel(fieldWidget, value);
|
|
1512
1512
|
} else if ("status" === widgetType) {
|
|
1513
|
-
|
|
1514
|
-
let statusItem = statusParam.find(
|
|
1515
|
-
(item) => item.value === value
|
|
1516
|
-
);
|
|
1517
|
-
return statusItem ? this.$t1(statusItem.label) : null;
|
|
1513
|
+
return this.getStatusOptionLabel(fieldWidget, value);
|
|
1518
1514
|
} else if ("vabsearch" === widgetType) {
|
|
1519
1515
|
let result = null;
|
|
1520
1516
|
let currentData = obj.row;
|
|
@@ -1629,6 +1625,18 @@ modules = {
|
|
|
1629
1625
|
return resultList.join(",");
|
|
1630
1626
|
}
|
|
1631
1627
|
},
|
|
1628
|
+
getStatusOptionLabel(fieldWidget, fieldModel) {
|
|
1629
|
+
if (fieldModel === null || fieldModel === undefined) {
|
|
1630
|
+
return null;
|
|
1631
|
+
}
|
|
1632
|
+
let statusParam = fieldWidget.options.statusParam || [];
|
|
1633
|
+
let valueField = this.getOptionItemValueKey(fieldWidget);
|
|
1634
|
+
let labelField = this.getOptionItemLabelKey(fieldWidget);
|
|
1635
|
+
let statusItem = statusParam.find(
|
|
1636
|
+
(item) => item[valueField] === fieldModel
|
|
1637
|
+
);
|
|
1638
|
+
return statusItem ? this.$t1(statusItem[labelField]) : null;
|
|
1639
|
+
},
|
|
1632
1640
|
findInArray: function (e, t) {
|
|
1633
1641
|
if (!Array.isArray(e)) return -1;
|
|
1634
1642
|
var i = -1;
|