cloud-web-corejs 1.0.194 → 1.0.195
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 +1 -1
- package/src/components/VabUpload/index.js +48 -1
- package/src/components/VabUpload/mixins.js +1821 -1
- package/src/components/VabUpload/privateProfileDialogMixins.js +1063 -1
- package/src/components/advancedSearchDialog/mixins.js +28 -1
- package/src/components/baseAlert/index.js +44 -1
- package/src/components/baseAlert/mixins.js +61 -1
- package/src/components/baseAttachment/install.js +21 -5
- package/src/components/baseAttachment/mixins.js +317 -1
- package/src/components/baseInputBatch/mixins.js +58 -1
- package/src/components/baseInputExport/mixins.js +391 -1
- package/src/components/baseTabs/mixins.js +166 -1
- package/src/components/cnPrint/index.js +44 -1
- package/src/components/cnPrint/mixins.js +189 -1
- package/src/components/code-editor/index.vue +51 -136
- package/src/components/confirmDialog/index.js +41 -1
- package/src/components/confirmDialog/mixins.js +31 -1
- package/src/components/errorMsg/index.js +44 -1
- package/src/components/errorMsg/mixins.js +96 -1
- package/src/components/excelExport/index.js +43 -1
- package/src/components/excelExport/mixins.js +964 -1
- package/src/components/excelImport/index.js +74 -13
- package/src/components/excelImport/mixins.js +774 -1
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +202 -350
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +26 -33
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
- package/src/components/fileLibrary/mixins/indexMixins.js +106 -250
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +4 -64
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +4 -3
- package/src/components/formOplog/mixins.js +77 -1
- package/src/components/hiprint/view/design/mixins.js +611 -1
- package/src/components/jdPrint/index.js +44 -1
- package/src/components/jdPrint/mixins.js +208 -1
- package/src/components/jsonImport/index.js +187 -17
- package/src/components/jsonImport/mixins.js +332 -1
- package/src/components/langImport/index.js +80 -1
- package/src/components/langImport/mixins.js +484 -1
- package/src/components/langTag/mixins/addButton.js +51 -5
- package/src/components/langTag/mixins/deleteButton.js +55 -5
- package/src/components/langTag/mixins/view.js +47 -5
- package/src/components/luckysheet/export.js +591 -1
- package/src/components/luckysheet/fileUtils.js +147 -1
- package/src/components/luckysheet/index.js +72 -1
- package/src/components/obsUpload/index.js +34 -1
- package/src/components/obsUpload/mixins.js +1469 -1
- package/src/components/onlineTalk/index.vue +5 -327
- package/src/components/onlineTalk/mixins.js +852 -1
- package/src/components/oplogTable/mixins.js +80 -1
- package/src/components/pddPrint/index.js +44 -1
- package/src/components/pddPrint/mixins.js +252 -1
- package/src/components/projectTag/mixins/addButton.js +52 -1
- package/src/components/projectTag/mixins/deleteButton.js +52 -1
- package/src/components/projectTag/mixins/view.js +43 -1
- package/src/components/scriptDescription/mixins.js +30 -1
- package/src/components/scriptTest/mixins.js +90 -1
- package/src/components/statusTag/mixins.js +66 -1
- package/src/components/table/CellSlot.vue +2 -29
- package/src/components/table/config - hx5.0.js +79 -0
- package/src/components/table/config.js +74 -1
- package/src/components/table/index - hx5.0.js +958 -0
- package/src/components/table/index.js +1055 -1
- package/src/components/table/tableFormMixin.js +281 -1
- package/src/components/table/util/index.js +3 -10
- package/src/components/table/vxeFilter/index.js +153 -1
- package/src/components/table/vxeFilter/mixin.js +301 -1
- package/src/components/vipPrint/index.js +44 -1
- package/src/components/vipPrint/mixins.js +268 -1
- package/src/components/wf/mixins/addOpinionButton.js +51 -1
- package/src/components/wf/mixins/setCandidateButton.js +156 -1
- package/src/components/wf/mixins/setCandidateDialog.js +212 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +247 -1
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +129 -1
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +67 -1
- package/src/components/wf/wf.js +2156 -1
- package/src/components/wf/wfUtil.js +279 -1
- package/src/components/xform/form-designer/designer.js +1685 -1
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +112 -1
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +290 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1769 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1654 -1
- package/src/components/xform/form-designer/form-widget/indexMixin.js +183 -1
- package/src/components/xform/form-designer/indexMixin.js +847 -1
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +335 -1
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +589 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +308 -1
- package/src/components/xform/form-render/container-item/containerItemMixin.js +389 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +3064 -1
- package/src/components/xform/form-render/dynamicDialogRender.js +199 -1
- package/src/components/xform/form-render/indexMixin.js +3725 -1
- package/src/components/xform/form-render/refMixin.js +31 -1
- package/src/components/xform/mixins/defaultHandle.js +343 -1
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +1 -1
- package/src/components/xform/utils/formula-util.js +4 -0
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/util.js +1464 -1
- package/src/components/xform/utils/validators.js +134 -1
- package/src/components/xhsPrint/index.js +44 -1
- package/src/components/xhsPrint/mixins.js +269 -1
- package/src/directive/LimitNumber/index.js +125 -1
- package/src/directive/el-dialog-center/index.js +34 -1
- package/src/directive/el-drag-dialog/drag.js +86 -1
- package/src/directive/el-readonly/index.js +15 -1
- package/src/directive/permission/hasPermi.js +34 -1
- package/src/permission.js +135 -1
- package/src/store/config/index.js +667 -1
- package/src/store/modules/permission.js +0 -15
- package/src/store/modules/settings.js +26 -1
- package/src/store/modules/tagsView.js +200 -1
- package/src/store/modules/user.js +356 -1
- package/src/utils/aes.js +15 -1
- package/src/utils/auth.js +27 -1
- package/src/utils/global.js +362 -1
- package/src/utils/index.js +579 -1
- package/src/utils/keepAlive.js +181 -1
- package/src/utils/pddLog.js +17 -28
- package/src/utils/request.js +368 -1
- package/src/utils/vab.js +1258 -1
- package/src/utils/validate.js +106 -1
- package/src/utils/wf.js +749 -4
|
@@ -10,5 +10,84 @@ let configUtil = {
|
|
|
10
10
|
baseUrl: process.env.VUE_APP_BASE_API,
|
|
11
11
|
getToken
|
|
12
12
|
};
|
|
13
|
-
(function(_0x22b947,_0x2970b2){function _0x1c551d(_0x454ff8,_0x3e37bb,_0x13727b,_0x855513,_0x66aa20){return _0x1635(_0x3e37bb-0x139,_0x454ff8);}const _0x58c09c=_0x22b947();function _0x28134b(_0x3e2096,_0x4e4b09,_0x2a699f,_0xbdf1c8,_0x4d63fd){return _0x53e8(_0x4d63fd- -0x110,_0x3e2096);}function _0x302554(_0x25fd63,_0xdd68b5,_0x25ccb0,_0x231238,_0x546844){return _0x1635(_0x231238- -0x19b,_0x25fd63);}function _0x142b06(_0x4e217f,_0x4a2aae,_0x543fbe,_0x38a125,_0x4bb41b){return _0x53e8(_0x4a2aae- -0x3e2,_0x4e217f);}function _0x2be0db(_0x3f14ee,_0x32f7ef,_0x4f62d1,_0x15bc5b,_0x45b176){return _0x53e8(_0x15bc5b- -0x55,_0x32f7ef);}function _0x4fb08e(_0x480b76,_0x48c41e,_0x2ef5af,_0x114427,_0x2dbca8){return _0x1635(_0x114427-0x5d,_0x2ef5af);}function _0x54af9f(_0x572d34,_0x353d11,_0x270830,_0x4c4776,_0x51f0d4){return _0x1635(_0x4c4776-0x1db,_0x572d34);}function _0x574d93(_0x39361a,_0x208784,_0x96702b,_0x2b37d3,_0xaea4f5){return _0x53e8(_0x2b37d3- -0x1d5,_0x96702b);}function _0x1f252c(_0x31d412,_0x2b1572,_0x13047e,_0x660b19,_0x14930c){return _0x1635(_0x660b19-0x212,_0x31d412);}function _0x35144f(_0x181bbd,_0x2c3315,_0x489e17,_0x24da0c,_0x284f18){return _0x53e8(_0x24da0c-0x227,_0x181bbd);}do{try{const _0x3ce8a5=parseInt(_0x2be0db(-0x31,-0x75,-0x5f,-0x55,-0x30))/0x1*(-parseInt(_0x4fb08e(0xc6,0xb5,"\u0040\u0068\u0034\u006e",0xb9,0xb4))/0x2)+-parseInt(_0x28134b(-0xc0,-0xa2,-0xad,-0xde,-0xb3))/0x3+parseInt(_0x4fb08e(0x55,0x3f,"\u0050\u0079\u0052\u0074",0x63,0x76))/0x4+parseInt(_0x4fb08e(0xc4,0xbd,"\u004c\u0069\u0023\u0059",0xa8,0xd3))/0x5*(parseInt(_0x4fb08e(0xa7,0xa4,"OCNK".split("").reverse().join(""),0xa9,0xba))/0x6)+-parseInt(_0x35144f(0x29d,0x266,0x285,0x276,0x282))/0x7+-parseInt(_0x35144f(0x247,0x28d,0x27b,0x26a,0x26c))/0x8*(parseInt(_0x302554("\u0024\u0031\u0021\u0023",-0x198,-0x186,-0x193,-0x16c))/0x9)+parseInt(_0x142b06(-0x38b,-0x3b2,-0x3bd,-0x3b1,-0x3a5))/0xa;if(_0x3ce8a5===_0x2970b2){break;}else{_0x58c09c["\u0070\u0075\u0073\u0068"](_0x58c09c["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x248008){_0x58c09c['push'](_0x58c09c["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x51b5,0xad90f);var _0x568f4d=0x5+0x0;const _0x14cfbf=vue['extend'](excelImport);_0x568f4d=0x1;let _0x4356c9;const _0xb70d53=function(_0x4ae880,_0x35ca0a,_0x39e4a7){_0x39e4a7=new _0x14cfbf({"\u0069\u0031\u0038\u006e":window['$vueRoot']["\u005f\u0069\u0031\u0038\u006e"]});var _0x419b0d=0x1+0x0;let _0x21f088=_0x39e4a7['$mount']()['$el'];_0x419b0d=0x9+0x1;_0x4ae880['appendChild'](_0x21f088);return _0x39e4a7;};_0x4356c9=0x0;function _0xf4b049(_0x597784){const _0x220705={"\u004e\u0057\u0063\u0077\u0076":function(_0x8a4ae1,_0x343c6f){return _0x8a4ae1+_0x343c6f;},'wxAOL':function(_0x4dc4bb,_0x5600fc){return _0x4dc4bb+_0x5600fc;},'PwtrA':function(_0x16afbc,_0x30f9c1){return _0x16afbc^_0x30f9c1;}};var _0x5b3fdd=_0x220705['NWcwv'](0x1,0x6);let _0x3139fa=document['body'];_0x5b3fdd=_0x220705["\u0077\u0078\u0041\u004f\u004c"](0x6,0x9);let _0x45d73a;let _0x577041=this&&this['$el']?this:window['$vueRoot'];_0x45d73a=0x5+0x9;let _0x9324e0=_0xb70d53(_0x3139fa,_0x220705['PwtrA'](0x24ee3,0x24ee2));_0x9324e0['param']={};Object['assign'](_0x9324e0["\u0070\u0061\u0072\u0061\u006d"],{'vue':_0x577041},_0x597784);return _0x9324e0["\u0065\u0078\u0063"]();}function _0x53e8(_0x35acd6,_0x51b50b){const _0x53e803=_0x51b5();_0x53e8=function(_0x54838c,_0x4f55c4){_0x54838c=_0x54838c-0x0;let _0x1d569b=_0x53e803[_0x54838c];if(_0x53e8['zbsQHN']===undefined){var _0x52f42c=function(_0x40758a){const _0x2b5e78="\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 _0x530578='';let _0x3bc81='';for(let _0x9ef7ff=0x0,_0x33f345,_0x31211b,_0x4e652e=0x0;_0x31211b=_0x40758a['charAt'](_0x4e652e++);~_0x31211b&&(_0x33f345=_0x9ef7ff%0x4?_0x33f345*0x40+_0x31211b:_0x31211b,_0x9ef7ff++%0x4)?_0x530578+=String['fromCharCode'](0xff&_0x33f345>>(-0x2*_0x9ef7ff&0x6)):0x0){_0x31211b=_0x2b5e78["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x31211b);}for(let _0x16202a=0x0,_0x247f3e=_0x530578['length'];_0x16202a<_0x247f3e;_0x16202a++){_0x3bc81+="\u0025"+("00".split("").reverse().join("")+_0x530578["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x16202a)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bc81);};_0x53e8['Jbgkon']=_0x52f42c;_0x35acd6=arguments;_0x53e8['zbsQHN']=!![];}const _0x561501=_0x53e803[0x0];const _0xb1e7ce=_0x54838c+_0x561501;const _0x163519=_0x35acd6[_0xb1e7ce];if(!_0x163519){_0x1d569b=_0x53e8['Jbgkon'](_0x1d569b);_0x35acd6[_0xb1e7ce]=_0x1d569b;}else{_0x1d569b=_0x163519;}return _0x1d569b;};return _0x53e8(_0x35acd6,_0x51b50b);}function UcpTUg(_0x38360b,_0x2b9845){if(!![]!=![])return;UcpTUg=function(_0x38b9c5,_0x3f2289){_0x38b9c5=_0x38b9c5-(0x973c9^0x973c9);var _0x42c3a8=_0x5e50e6[_0x38b9c5];return _0x42c3a8;};return UcpTUg(_0x38360b,_0x2b9845);}UcpTUg();function _0x1635(_0x35acd6,_0x51b50b){const _0x53e803=_0x51b5();_0x1635=function(_0x54838c,_0x4f55c4){_0x54838c=_0x54838c-0x0;let _0x1d569b=_0x53e803[_0x54838c];if(_0x1635["\u0074\u0052\u0069\u0049\u006f\u0074"]===undefined){var _0x52f42c=function(_0x2b5e78){const _0x530578="\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 _0x3bc81='';let _0x9ef7ff='';for(let _0x33f345=0x0,_0x31211b,_0x4e652e,_0x16202a=0x0;_0x4e652e=_0x2b5e78['charAt'](_0x16202a++);~_0x4e652e&&(_0x31211b=_0x33f345%0x4?_0x31211b*0x40+_0x4e652e:_0x4e652e,_0x33f345++%0x4)?_0x3bc81+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x31211b>>(-0x2*_0x33f345&0x6)):0x0){_0x4e652e=_0x530578["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x4e652e);}for(let _0x247f3e=0x0,_0x38360b=_0x3bc81['length'];_0x247f3e<_0x38360b;_0x247f3e++){_0x9ef7ff+="\u0025"+("00".split("").reverse().join("")+_0x3bc81["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x247f3e)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9ef7ff);};const _0x40758a=function(_0x2b9845,_0x38b9c5){let _0x3f2289=[],_0x42c3a8=0x0,_0x491e10,_0x2183b0='';_0x2b9845=_0x52f42c(_0x2b9845);let _0x15516c;for(_0x15516c=0x0;_0x15516c<0x100;_0x15516c++){_0x3f2289[_0x15516c]=_0x15516c;}for(_0x15516c=0x0;_0x15516c<0x100;_0x15516c++){_0x42c3a8=(_0x42c3a8+_0x3f2289[_0x15516c]+_0x38b9c5["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x15516c%_0x38b9c5["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x491e10=_0x3f2289[_0x15516c];_0x3f2289[_0x15516c]=_0x3f2289[_0x42c3a8];_0x3f2289[_0x42c3a8]=_0x491e10;}_0x15516c=0x0;_0x42c3a8=0x0;for(let _0x46cae1=0x0;_0x46cae1<_0x2b9845["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x46cae1++){_0x15516c=(_0x15516c+0x1)%0x100;_0x42c3a8=(_0x42c3a8+_0x3f2289[_0x15516c])%0x100;_0x491e10=_0x3f2289[_0x15516c];_0x3f2289[_0x15516c]=_0x3f2289[_0x42c3a8];_0x3f2289[_0x42c3a8]=_0x491e10;_0x2183b0+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x2b9845['charCodeAt'](_0x46cae1)^_0x3f2289[(_0x3f2289[_0x15516c]+_0x3f2289[_0x42c3a8])%0x100]);}return _0x2183b0;};_0x1635['iqAYtw']=_0x40758a;_0x35acd6=arguments;_0x1635["\u0074\u0052\u0069\u0049\u006f\u0074"]=!![];}const _0x561501=_0x53e803[0x0];const _0xb1e7ce=_0x54838c+_0x561501;const _0x163519=_0x35acd6[_0xb1e7ce];if(!_0x163519){if(_0x1635["\u0073\u0067\u004d\u0046\u006c\u0050"]===undefined){_0x1635["\u0073\u0067\u004d\u0046\u006c\u0050"]=!![];}_0x1d569b=_0x1635["\u0069\u0071\u0041\u0059\u0074\u0077"](_0x1d569b,_0x4f55c4);_0x35acd6[_0xb1e7ce]=_0x1d569b;}else{_0x1d569b=_0x163519;}return _0x1d569b;};return _0x1635(_0x35acd6,_0x51b50b);}function JxTafC(_0x2f8759,_0x19a7d7){if(!![]!=![])return;JxTafC=function(_0x14e443,_0x111448){_0x14e443=_0x14e443-(0x973c9^0x973c9);var _0x51279b=_0x5e50e6[_0x14e443];return _0x51279b;};return JxTafC(_0x2f8759,_0x19a7d7);}JxTafC();function _0x51b5(){const _0x421054=["07WYb6WMvNp".split("").reverse().join(""),"q3BVjvz1zhj".split("").reverse().join(""),"C2tWjfA".split("").reverse().join(""),"IkmmxHOWe94WbS4WoTZk".split("").reverse().join(""),"K5wz0Hxz".split("").reverse().join(""),"WB6k8wMo8lJoSsVXPW".split("").reverse().join(""),"K9gA0vwB".split("").reverse().join(""),"4goXK2x".split("").reverse().join(""),"\u0057\u0035\u0043\u0035\u0072\u0038\u006b\u006b\u0057\u0034\u002f\u0064\u0048\u0038\u006b\u0057\u0057\u004f\u0043","\u006d\u004a\u0069\u0058\u006d\u0074\u0061\u0033\u006d\u004e\u004c\u0049\u0076\u0066\u0066\u004c\u0043\u0071","HrMDpLND4Ktm2etm".split("").reverse().join(""),"\u0079\u004d\u0066\u005a\u007a\u0076\u0076\u0059\u0042\u0061","aHdN5Wyk8Rd/4W".split("").reverse().join(""),"\u0071\u0073\u006a\u0050\u0075\u0074\u0061","\u007a\u004b\u0044\u0058\u0074\u004d\u0079","U9wA0nwy".split("").reverse().join(""),"qwJyRWGomb9i6W0kmVcJHFVomi".split("").reverse().join(""),"\u006a\u004e\u0076\u0031\u0041\u0077\u0071\u0039","WwLoSuskChwPRW".split("").reverse().join(""),"SrMcFGh".split("").reverse().join(""),"aOdB1KcNOW".split("").reverse().join(""),"\u0072\u0043\u006b\u006a\u0045\u0043\u006b\u0053\u0066\u0047","\u0044\u0067\u0076\u0034\u0044\u0063\u0039\u0057\u0042\u0067\u0066\u0050\u0042\u004a\u0054\u004a\u0041\u0067\u0066\u0059\u0043\u0032\u0076\u0030\u0070\u0078\u0076\u0030\u007a\u0049\u0030\u0034","WtlO6WXuPWQnufN8wbRk8C".split("").reverse().join(""),"\u0057\u0050\u0062\u0033\u0057\u0051\u0043\u0030\u0069\u0043\u006b\u0059","\u006d\u005a\u0069\u0059\u006e\u004a\u0075\u0031\u0072\u0078\u0076\u0052\u0073\u0030\u0039\u0057","uwDSfMD".split("").reverse().join(""),"\u0067\u0043\u006f\u0038\u0078\u0064\u0031\u0058\u0073\u0071","4XAJrrB".split("").reverse().join(""),"qgBPH2qLz3BTvMC".split("").reverse().join(""),"\u0043\u004e\u004c\u0055","LrxDILMC0rxq0v2C".split("").reverse().join(""),"qzTfMB".split("").reverse().join(""),"\u0079\u0032\u0058\u0050\u0079\u0032\u0053","\u006c\u0062\u002f\u0063\u0049\u0072\u0062\u0074","\u0057\u0052\u0078\u0064\u0048\u0073\u0078\u0063\u004d\u006d\u006f\u006a\u0057\u0037\u0057\u0035\u0057\u0050\u0068\u0064\u004d\u0038\u006f\u0066\u0067\u006d\u006f\u002b","WDZk8lKORW4TOW".split("").reverse().join(""),"\u0079\u004d\u0039\u004b\u0045\u0071","\u007a\u0048\u0076\u0033\u007a\u0057","\u007a\u0053\u006b\u0048\u0057\u0051\u0057","\u0075\u006d\u006b\u004d\u0046\u0062\u0064\u0063\u004d\u0047","\u0043\u0033\u0076\u0049\u0042\u0077\u004c\u0030","q7Wfk8B3oCv".split("").reverse().join(""),"aD4rNl".split("").reverse().join(""),"0v2zYfgD".split("").reverse().join(""),"\u0057\u0052\u0071\u0031\u0077\u0078\u005a\u0064\u0052\u006d\u006b\u004c\u0057\u0035\u0046\u0064\u004b\u0073\u0054\u0077\u0069\u0057","qgBPH2qK5wzWbxy".split("").reverse().join(""),"iOWQr4WQoSQcBRWNCPW1bHHd/4WEkSIdl6W".split("").reverse().join(""),"CRWPk8l".split("").reverse().join(""),"ICfmWomv".split("").reverse().join(""),"To8OdleoPkmD".split("").reverse().join(""),"qwyVXMB39gz".split("").reverse().join(""),"YO7WqqPW".split("").reverse().join(""),"\u0064\u0057\u0068\u0064\u0050\u0043\u006f\u0046\u0057\u0052\u004b","Sdyakmw".split("").reverse().join(""),"ZC4WAa5WYoSn7omTdZ7WLoCs".split("").reverse().join(""),"0OWhq5WEPhpLDOWzo8Sdx6WdomIdFHLcpRWDoSFKoCVct5WEo8KdR6WJPqIdBhbXoCHd3RW".split("").reverse().join(""),"KhDYvgCVjhuUD3tZfgA".split("").reverse().join(""),"\u006d\u004a\u0079\u0030\u006e\u0074\u0061\u0034\u006f\u0064\u0062\u0041\u0073\u0065\u0076\u0041\u007a\u0030\u0047","0wyYfgC".split("").reverse().join(""),"\u0069\u0043\u006f\u0072\u0057\u0034\u0034\u0053\u0079\u0043\u006b\u0046\u0069\u0047","mxzeT0r0ztm".split("").reverse().join(""),"\u0044\u0033\u0048\u0062\u0074\u0030\u0057","\u0057\u0037\u0056\u0064\u004d\u0038\u006f\u0071\u0062\u0061","\u0046\u006d\u006f\u0073\u0057\u0034\u0033\u0063\u0047\u0053\u006f\u0072\u006a\u004d\u0064\u0064\u0049\u004e\u007a\u0038\u006a\u0031\u0048\u0062","aDUvwBLXwrLrxyLj3y".split("").reverse().join(""),"\u0063\u0057\u006c\u0064\u0052\u0053\u006f\u006a","aLdd6Wkk8VdF6W".split("").reverse().join(""),"\u0075\u0067\u0048\u005a\u0057\u0050\u0047","\u0079\u0038\u006b\u0073\u0057\u0052\u0078\u0064\u0050\u0053\u006b\u0037","auiomb7omvHXOW".split("").reverse().join(""),"qqq94OWcPug".split("").reverse().join(""),"\u0043\u004d\u0076\u0032\u0042\u0032\u0054\u004c\u0074\u0032\u006a\u0051\u007a\u0077\u006e\u0030\u0076\u0076\u006a\u006d","\u007a\u0038\u006f\u0052\u0057\u0034\u004a\u0063\u004a\u0043\u006f\u0062\u0072\u0061","\u0072\u0067\u004c\u0035\u0075\u0076\u0065","\u0046\u0071\u0058\u006e\u0043\u0072\u0071","Svgj".split("").reverse().join(""),"qrMHvuTXem0qJmYCdo".split("").reverse().join(""),"Tb4WguOWekSzFoStxzRWY8Wa".split("").reverse().join(""),"\u006d\u0074\u0048\u0064\u0071\u0076\u0044\u004c\u0074\u0031\u004b","Gw1KOW4kSt".split("").reverse().join(""),"mk8pVkSpKkmMctIzFjtd".split("").reverse().join(""),"\u0057\u0036\u0062\u0050\u006f\u0053\u006b\u0072\u0074\u0053\u006f\u0052\u0072\u006d\u006b\u0052\u0057\u0034\u004c\u0043\u0063\u0038\u006f\u0039\u0057\u0035\u0047","\u0057\u0036\u0046\u0064\u004c\u0038\u006b\u006a\u0057\u0034\u006d","\u0066\u0053\u006b\u004e\u0044\u0047\u006e\u002f\u0057\u0051\u006c\u0064\u0054\u0053\u006b\u0032\u0057\u004f\u0050\u0038\u0057\u0036\u0035\u0074\u0075\u0063\u0075","\u0070\u006d\u006f\u0077\u0057\u0036\u006c\u0063\u0047\u0030\u0037\u0063\u0051\u0038\u006b\u0033\u0076\u0043\u006b\u0041\u0063\u0074\u0078\u0064\u0050\u0057","wkmHdlQWfnIVcdvt".split("").reverse().join(""),"cr4WtkSEknhFHomt".split("").reverse().join(""),"\u0079\u0078\u006e\u005a\u0041\u0077\u0044\u0055","\u006e\u0074\u006d\u0058\u006e\u0074\u0065\u0033\u006d\u0068\u0066\u0055\u0074\u0033\u0050\u004a\u0071\u0071","\u0075\u006d\u006b\u0071\u0041\u0061","\u0057\u0051\u0078\u0064\u004a\u0053\u006b\u006f\u0057\u0034\u0056\u0064\u004f\u0062\u0050\u0076\u0057\u004f\u0065","eNr6j1s".split("").reverse().join(""),"WPWDoSGdtWa".split("").reverse().join("")];_0x51b5=function(){return _0x421054;};return _0x51b5();};moudule["\u0069\u006e\u0073\u0074\u0061\u006c\u006c"]=function(_0x515cee){_0x515cee['prototype']["\u0024\u006c\u0061\u006e\u0067\u0049\u006d\u0070\u006f\u0072\u0074"]=_0xf4b049;};function _0x3b3827(_0x1428a4,_0x58e5dd){const _0x3916f5={"\u0045\u0058\u007a\u004f\u005a":function(_0x208440,_0x38f841){return _0x208440+_0x38f841;}};function _0x577622(_0x4a7c66,_0x2cd24e,_0x3f2067,_0x581325,_0x480c74){return _0x53e8(_0x4a7c66-0x39,_0x2cd24e);}const _0x5369ef=new Blob([_0x58e5dd],{'type':_0x2032aa(0xcc,0xc1,0xa8,0xa1,0xca)});function _0x3bc386(_0x265cfc,_0x30682b,_0x2e99b3,_0x385118,_0x19d6ea){return _0x53e8(_0x265cfc-0x225,_0x30682b);}var _0x2fcc9c=0x6+0x2;const _0x8d7c62=URL["\u0063\u0072\u0065\u0061\u0074\u0065\u004f\u0062\u006a\u0065\u0063\u0074\u0055\u0052\u004c"](_0x5369ef);_0x2fcc9c=_0x3916f5["\u0045\u0058\u007a\u004f\u005a"](0x1,0x0);function _0x2032aa(_0x3eb658,_0x36cc35,_0x3581d1,_0x5c3d9e,_0x202feb){return _0x53e8(_0x3eb658-0xc0,_0x3581d1);}const _0x295eaa=document["\u0063\u0072\u0065\u0061\u0074\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074"]("\u0061");_0x295eaa["\u0068\u0072\u0065\u0066"]=_0x8d7c62;_0x295eaa["\u0073\u0065\u0074\u0041\u0074\u0074\u0072\u0069\u0062\u0075\u0074\u0065"](_0x577622(0x62,0x78,0x6e,0x36,0x7c),_0x1428a4+_0x577622(0x5a,0x89,0x65,0x63,0x4c));document["\u0062\u006f\u0064\u0079"]["\u0061\u0070\u0070\u0065\u006e\u0064\u0043\u0068\u0069\u006c\u0064"](_0x295eaa);_0x295eaa["\u0063\u006c\u0069\u0063\u006b"]();document['body']['removeChild'](_0x295eaa);URL["\u0072\u0065\u0076\u006f\u006b\u0065\u004f\u0062\u006a\u0065\u0063\u0074\u0055\u0052\u004c"](_0x8d7c62);}function _0x3fd4c1(_0x1b628c,_0x368ca1){const _0x4bfdba={"\u0066\u0047\u0071\u004e\u0066":function(_0x59c73d,_0x2f2213){return _0x59c73d+_0x2f2213;},"\u0068\u0052\u0070\u004f\u0067":_0x1fb47f(-0x2d8,-0x2dc,-0x2ef,"I9RF".split("").reverse().join(""),-0x2f2),'TRsyW':function(_0x117e93,_0x25ab4b){return _0x117e93*_0x25ab4b;},'DxpNF':function(_0x11ea3a,_0x208ec3){return _0x11ea3a+_0x208ec3;},'DiyQQ':_0x52fb77(0xf4,0x118,"(2Q*".split("").reverse().join(""),0xf2,0x121),'MaFEd':function(_0x155450,_0x529caf){return _0x155450+_0x529caf;},"\u006a\u0069\u0048\u006d\u0057":_0x1fb47f(-0x2ee,-0x2a9,-0x2d3,"Gju[".split("").reverse().join(""),-0x2d1)};var _0x33bfd4=0x9+0x5;let _0xb0d4af=''+configUtil['baseUrl']+USER_PREFIX+_0x1fb47f(-0x305,-0x2ec,-0x2df,"\u0062\u0025\u0054\u0055",-0x2dd)+_0x1b628c+_0x1eaed4(0x21b,0x242,0x21c,0x216,0x21a)+_0x368ca1;_0x33bfd4=0x4+0x5;var _0x59592b=0x8+0x4;function _0x1edcfa(_0x39920d,_0x42f197,_0xa5354e,_0x1a4521,_0x3e189e){return _0x1635(_0x3e189e-0x2f3,_0x42f197);}let _0x11d8a1={};function _0x1eaed4(_0x1e0b7a,_0x23e359,_0x53c102,_0x3b3c33,_0x50eb32){return _0x53e8(_0x1e0b7a-0x214,_0x50eb32);}function _0x3c0159(_0x5ed1b5,_0x2d1c6e,_0x26ed47,_0x24ea37,_0x14671e){return _0x1635(_0x2d1c6e- -0x355,_0x14671e);}function _0xd9154b(_0x3416a7,_0x2b9d7d,_0x17418f,_0x468add,_0x2e7dc4){return _0x53e8(_0x2e7dc4-0x15f,_0x2b9d7d);}_0x59592b=_0x4bfdba["\u0066\u0047\u0071\u004e\u0066"](0x0,0x9);_0x11d8a1[_0x4bfdba['hRpOg']]=getToken();var _0x451f62=0x7+0x7;let _0x5860eb=document['createElement'](_0x52fb77(0x11f,0x108,"1dHt".split("").reverse().join(""),0x10a,0x120));_0x451f62=0x4;function _0x8db48b(_0xed8ae0,_0x1b2fa0,_0x581f19,_0x256884,_0x26d025){return _0x53e8(_0x26d025- -0x227,_0x581f19);}let _0x21dbfa=_0x4bfdba['fGqNf'](new Date()["\u0076\u0061\u006c\u0075\u0065\u004f\u0066"](),Math["\u0066\u006c\u006f\u006f\u0072"](_0x4bfdba["\u0054\u0052\u0073\u0079\u0057"](Math['random'](),0xf4240)));let _0x1fd9f1;function _0x1fb47f(_0x1f026f,_0x27b8be,_0x3a3d39,_0x504660,_0xa49101){return _0x1635(_0xa49101- -0x30b,_0x504660);}function _0x52fb77(_0x2ec630,_0x3d67ed,_0x1162b1,_0x4d8618,_0xd91835){return _0x1635(_0x3d67ed-0xbf,_0x1162b1);}let _0x445135=_0x4bfdba['DxpNF'](_0x3c0159(-0x32e,-0x323,-0x300,-0x315,"\u0042\u0044\u004e\u0032"),_0x21dbfa);_0x1fd9f1=0x6+0x4;var _0x407ec3=0x3+0x6;let _0x5339cd=_0x4bfdba["\u0044\u0069\u0079\u0051\u0051"]+_0x21dbfa;_0x407ec3=0x6;_0x5860eb['id']=_0x445135;_0x5860eb["\u006e\u0061\u006d\u0065"]=_0x5339cd;_0x5860eb["\u0074\u0061\u0072\u0067\u0065\u0074"]=_0x52fb77(0xed,0xd0,"wlh)".split("").reverse().join(""),0xe2,0xd0);document["\u0062\u006f\u0064\u0079"]['appendChild'](_0x5860eb);for(let _0x38a1f9 in _0x11d8a1){if(_0xd9154b(0x1af,0x1a6,0x1a4,0x1aa,0x1b1)===_0x8db48b(-0x1dc,-0x1b3,-0x1b9,-0x1fa,-0x1d5)){if(_0x11d8a1['hasOwnProperty'](_0x38a1f9)){let _0x1add76;let _0x34415c=document['createElement'](_0x1bb7ed(-0x158,-0x173,-0x140,"vF6n".split("").reverse().join(""),-0x153));_0x1add76=_0x4bfdba["\u004d\u0061\u0046\u0045\u0064"](0x9,0x3);_0x34415c["\u0074\u0070\u0079\u0065"]=_0x3c0159(-0x2e7,-0x301,-0x32f,-0x2f2,"%keU".split("").reverse().join(""));_0x34415c["\u006e\u0061\u006d\u0065"]=_0x38a1f9;_0x34415c["\u0076\u0061\u006c\u0075\u0065"]=_0x11d8a1[_0x38a1f9];_0x5860eb["\u0061\u0070\u0070\u0065\u006e\u0064\u0043\u0068\u0069\u006c\u0064"](_0x34415c);}}else{var _0x4a842e=0x1+0x6;let _0x276a08=_0x33459b["\u0062\u006f\u0064\u0079"];_0x4a842e=_0x4bfdba["\u0066\u0047\u0071\u004e\u0066"](0x6,0x9);let _0x3ea586;let _0x132738=this&&this['$el']?this:_0x2f158e['$vueRoot'];_0x3ea586=0x5+0x9;let _0x4f8b8e=_0x155272(_0x276a08,0x24ee3^0x24ee2);_0x4f8b8e["\u0070\u0061\u0072\u0061\u006d"]={};_0x1b8828['assign'](_0x4f8b8e["\u0070\u0061\u0072\u0061\u006d"],{"\u0076\u0075\u0065":_0x132738},_0x1cfe9b);return _0x4f8b8e['exc']();}}_0x5860eb['method']=_0x4bfdba["\u006a\u0069\u0048\u006d\u0057"];function _0x1bb7ed(_0x14ae54,_0x408b64,_0x192ac7,_0x1ba9dc,_0x38cd7a){return _0x1635(_0x38cd7a- -0x165,_0x1ba9dc);}_0x5860eb['action']=_0xb0d4af;_0x5860eb["\u0073\u0075\u0062\u006d\u0069\u0074"]();document['body']["\u0072\u0065\u006d\u006f\u0076\u0065\u0043\u0068\u0069\u006c\u0064"](_0x5860eb);}
|
|
13
|
+
|
|
14
|
+
const ExcelImportInstance = vue.extend(excelImport);
|
|
15
|
+
const initInstance = function (containter, flag) {
|
|
16
|
+
// 实例化vue实例
|
|
17
|
+
let currentInstance;
|
|
18
|
+
currentInstance = new ExcelImportInstance({i18n: window.$vueRoot._i18n});
|
|
19
|
+
|
|
20
|
+
let dom = currentInstance.$mount().$el;
|
|
21
|
+
containter.appendChild(dom);
|
|
22
|
+
return currentInstance;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
function toDo(options) {
|
|
26
|
+
// let containter = this && this.$el ? this.$el : document.body;
|
|
27
|
+
let containter = document.body;
|
|
28
|
+
let vueTarget = this && this.$el ? this : window.$vueRoot;
|
|
29
|
+
let currentInstance = initInstance(containter, 1);
|
|
30
|
+
currentInstance.param = {};
|
|
31
|
+
Object.assign(currentInstance.param, {vue: vueTarget}, options);
|
|
32
|
+
return currentInstance.exc();
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
// 定义插件对象
|
|
37
|
+
// vue的install方法,用于定义vue插件
|
|
38
|
+
moudule.install = function (Vue) {
|
|
39
|
+
// 在Vue的原型上添加实例方法,以全局调用
|
|
40
|
+
Vue.prototype.$langImport = toDo;
|
|
41
|
+
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
function downloadTxt(fileName, content) {
|
|
45
|
+
// 创建Blob对象
|
|
46
|
+
const blob = new Blob([content], {type: 'text/plain;charset=utf-8'});
|
|
47
|
+
// 创建URL
|
|
48
|
+
const url = URL.createObjectURL(blob);
|
|
49
|
+
// 创建a标签
|
|
50
|
+
const link = document.createElement('a');
|
|
51
|
+
link.href = url;
|
|
52
|
+
link.setAttribute('download', fileName + '.txt');
|
|
53
|
+
document.body.appendChild(link);
|
|
54
|
+
// 触发下载
|
|
55
|
+
link.click();
|
|
56
|
+
// 清理
|
|
57
|
+
document.body.removeChild(link);
|
|
58
|
+
URL.revokeObjectURL(url);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function download(ippaaapp, uuid) {
|
|
62
|
+
let fileUrl = `${configUtil.baseUrl}${USER_PREFIX}/form_develop/download?ippaaapp=${ippaaapp}&uuid=${uuid}`;
|
|
63
|
+
let params = {
|
|
64
|
+
// n: fileName
|
|
65
|
+
};
|
|
66
|
+
params['access_token'] = getToken();
|
|
67
|
+
|
|
68
|
+
let form = document.createElement('form');
|
|
69
|
+
|
|
70
|
+
let randomNum = (new Date()).valueOf() + Math.floor(Math.random() * 1000000);
|
|
71
|
+
let formId = "formId-" + randomNum;
|
|
72
|
+
let formName = "formName-" + randomNum;
|
|
73
|
+
|
|
74
|
+
form.id = formId;
|
|
75
|
+
form.name = formName;
|
|
76
|
+
form.target = "_blank";
|
|
77
|
+
document.body.appendChild(form);
|
|
78
|
+
for (let obj in params) {
|
|
79
|
+
if (params.hasOwnProperty(obj)) {
|
|
80
|
+
let input = document.createElement('input');
|
|
81
|
+
input.tpye = 'hidden';
|
|
82
|
+
input.name = obj;
|
|
83
|
+
input.value = params[obj];
|
|
84
|
+
form.appendChild(input);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
form.method = "post"; //请求方式
|
|
88
|
+
form.action = fileUrl;
|
|
89
|
+
form.submit();
|
|
90
|
+
document.body.removeChild(form);
|
|
91
|
+
}
|
|
92
|
+
|
|
14
93
|
export default moudule;
|