anncic-apihelper 3.7.25 → 3.7.27
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/dist/configuration.js +1 -1
- package/dist/helper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/service/ApicreateService.js +1 -1
- package/dist/templateFun/Action.js +1 -1
- package/dist/templateFun/Common.js +1 -1
- package/dist/templateFun/Entities.js +1 -1
- package/dist/templateFun/Event.js +1 -1
- package/dist/templateFun/Handler.js +1 -1
- package/dist/templateFun/Search.js +1 -1
- package/dist/templateFun/Validator.js +1 -1
- package/dist/templateVue/Api.js +1 -1
- package/dist/templateVue/Layout.js +1 -1
- package/dist/templateVue/LayoutVue.js +1 -1
- package/dist/templateVue/Router.js +1 -1
- package/dist/templateVue/Validator.js +1 -1
- package/dist/templateVueV2/Api.js +1 -1
- package/dist/templateVueV2/Layout.js +1 -1
- package/dist/templateVueV2/LayoutVue.js +1 -1
- package/dist/templateVueV2/Router.js +1 -1
- package/dist/templateVueV2/Validator.js +1 -1
- package/dist/templateVueV3/Api.js +1 -1
- package/dist/templateVueV3/Layout.js +1 -1
- package/dist/templateVueV3/LayoutVue.js +1 -1
- package/dist/templateVueV3/Router.js +1 -1
- package/dist/templateVueV3/Validator.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10_0x382fb7=a10_0x853d;(function(_0x47e118,_0x4ff1a){const _0x1cde6f=a10_0x853d,_0x3a6ece=_0x47e118();while(!![]){try{const _0xd1a51f=-parseInt(_0x1cde6f(0x19c))/0x1+-parseInt(_0x1cde6f(0x1af))/0x2+-parseInt(_0x1cde6f(0x205))/0x3+parseInt(_0x1cde6f(0x1e4))/0x4*(-parseInt(_0x1cde6f(0x1cc))/0x5)+parseInt(_0x1cde6f(0x1a7))/0x6*(-parseInt(_0x1cde6f(0x1e2))/0x7)+parseInt(_0x1cde6f(0x1ff))/0x8*(parseInt(_0x1cde6f(0x1b8))/0x9)+-parseInt(_0x1cde6f(0x1e0))/0xa*(-parseInt(_0x1cde6f(0x1c4))/0xb);if(_0xd1a51f===_0x4ff1a)break;else _0x3a6ece['push'](_0x3a6ece['shift']());}catch(_0x103b1b){_0x3a6ece['push'](_0x3a6ece['shift']());}}}(a10_0x519f,0x8a327));const a10_0x383af0=(function(){let _0x199363=!![];return function(_0x3df3d1,_0xa93c3c){const _0x40f476=_0x199363?function(){const _0x5e192b=a10_0x853d;if(_0xa93c3c){const _0x2fc4fe=_0xa93c3c[_0x5e192b(0x1ae)](_0x3df3d1,arguments);return _0xa93c3c=null,_0x2fc4fe;}}:function(){};return _0x199363=![],_0x40f476;};}()),a10_0x5ddf94=a10_0x383af0(this,function(){const _0x154d96=a10_0x853d;return a10_0x5ddf94[_0x154d96(0x19e)]()['search'](_0x154d96(0x1d5))[_0x154d96(0x19e)]()[_0x154d96(0x1f3)](a10_0x5ddf94)[_0x154d96(0x1b1)](_0x154d96(0x1d5));});a10_0x5ddf94();'use strict';Object[a10_0x382fb7(0x1df)](exports,a10_0x382fb7(0x1bf),{'value':!![]});const fs=require('fs'),helper_1=require(a10_0x382fb7(0x1b5));function a10_0x853d(_0x4722ed,_0x4dfc5a){const _0x28c7e0=a10_0x519f();return a10_0x853d=function(_0x5ddf94,_0x383af0){_0x5ddf94=_0x5ddf94-0x19b;let _0x519f56=_0x28c7e0[_0x5ddf94];return _0x519f56;},a10_0x853d(_0x4722ed,_0x4dfc5a);}async function default_1({controllers:_0x49dcb6,tablestartUp:_0x5cc645,tablestartUpShort:_0x5251be,basedir:_0x40744e,Primary:_0x858f6e,Fields:_0x3f7b54,Comment:_0x2b5c59,moduleName:_0x55337a,apporbasic:_0xb15479}){const _0x59ae2c=a10_0x382fb7,_0xb899c0=_0x40744e+('/validators/'+_0x5251be);!fs[_0x59ae2c(0x1a9)](_0xb899c0)&&fs['mkdirSync'](_0xb899c0,{'recursive':!![]}),await DTOCreate({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479}),await DTOUpdate({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479}),await DTOSearch({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Primary':_0x858f6e,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479});}exports[a10_0x382fb7(0x1f8)]=default_1;async function DTOCreate({controllers:_0x34bc95,tablestartUp:_0x476dd1,tablestartUpShort:_0x7a3d6b,basedir:_0x163de0,Fields:_0x5afc41,Comment:_0x556c2a,moduleName:_0x2e2a20,apporbasic:_0x3be03d}){const _0xe5662c=a10_0x382fb7,_0x2993df=_0x163de0+('/validators/'+_0x7a3d6b+_0xe5662c(0x1c6));if(!fs[_0xe5662c(0x1a9)](_0x2993df)){let _0x3d4152='',_0x2cac3f='',_0x254a20=![];for(let _0x4b5355 in _0x5afc41){let _0x3d276d=_0x5afc41[_0x4b5355],_0x4c6d7f=(0x0,helper_1[_0xe5662c(0x1d6)])(_0x3d276d[_0xe5662c(0x201)]);if(_0x3d276d[_0xe5662c(0x1c9)]=='displayorder'||_0x3d276d[_0xe5662c(0x1c9)]=='created_at'||_0x3d276d[_0xe5662c(0x1c9)]==_0xe5662c(0x1dc)||_0x3d276d[_0xe5662c(0x1c9)]==_0xe5662c(0x19b))continue;if([_0xe5662c(0x1b0),'longtext','mediumtext'][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+'\x27,\x20RuleType.string())\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+'?:\x20string;\x0a\x0a';else{if([_0xe5662c(0x1a3),'double',_0xe5662c(0x1ef),_0xe5662c(0x1fb)][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x20a)+(_0x3d276d[_0xe5662c(0x1bc)]!='YES'?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1a5);else{if([_0xe5662c(0x1b3)][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x254a20=!![],_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+_0xe5662c(0x216)+_0x476dd1+'Enum,\x20\x27'+_0x3d276d[_0xe5662c(0x1c9)]+_0xe5662c(0x208)+(_0x3d276d['Null']!=_0xe5662c(0x1e7)?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+='\x20\x20\x20\x20'+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1a5);else{if(_0x4c6d7f==_0xe5662c(0x1a4))_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+_0xe5662c(0x1cf),_0x3d4152+='\x20\x20\x20\x20'+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x212);else{if(_0x4c6d7f==_0xe5662c(0x1ab)){let _0x19a200=(0x0,helper_1[_0xe5662c(0x1d0)])(_0x3d276d[_0xe5662c(0x201)]);_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x1be)+_0x19a200[_0xe5662c(0x1f0)](_0xe5662c(0x1c7))+'\x27)'+(_0x3d276d[_0xe5662c(0x1bc)]!='YES'?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1f7)+_0x19a200['join'](_0xe5662c(0x215))+_0xe5662c(0x1b4);}else['date','datetime',_0xe5662c(0x1e8)][_0xe5662c(0x1a2)](_0x4c6d7f)>-0x1?(_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x1aa)+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1c3)):(_0x3d4152+='\x20\x20\x20\x20@Rule(\x27'+_0x3d276d[_0xe5662c(0x1f6)]+'\x27,\x20RuleType.string()'+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'.required()':'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d['Null']!=_0xe5662c(0x1e7)?'?':'')+':\x20string;\x0a\x0a');}}}}}_0x3d4152+=_0xe5662c(0x209),_0x3d4152+=_0xe5662c(0x1cb);(_0x34bc95===null||_0x34bc95===void 0x0?void 0x0:_0x34bc95[_0xe5662c(0x1fe)](_0x45e08b=>typeof _0x45e08b!='boolean'))?_0x2cac3f+=_0xe5662c(0x1ee):_0x2cac3f+=_0xe5662c(0x1ec);_0x254a20&&(_0x2cac3f+=_0xe5662c(0x1e1)+_0x476dd1+_0xe5662c(0x1cd)+(typeof _0x2e2a20=='string'?'@/apps/'+_0x2e2a20:'@/'+_0x3be03d)+_0xe5662c(0x203)+_0x7a3d6b+_0xe5662c(0x1d7));_0x2cac3f+='\x0a',_0x2cac3f+=_0xe5662c(0x1e9),_0x2cac3f+=_0xe5662c(0x1d2)+_0x556c2a+'\x0a',_0x2cac3f+=_0xe5662c(0x1b9),_0x2cac3f+=_0xe5662c(0x1a0),_0x2cac3f+=_0xe5662c(0x207)+_0x476dd1+'DTOCreate\x20{\x0a\x0a',_0x2cac3f+=_0xe5662c(0x206),_0x2cac3f+=_0xe5662c(0x20f);for(const _0x142ad2 of _0x34bc95){typeof _0x142ad2==_0xe5662c(0x1e6)&&(_0x2cac3f+=_0xe5662c(0x207)+_0x142ad2[_0xe5662c(0x1b2)](0x0,0x1)[_0xe5662c(0x20d)]()+_0x142ad2[_0xe5662c(0x1b2)](0x1)[_0xe5662c(0x1f1)]()+_0x476dd1+'DTOCreate\x20extends\x20OmitDto('+_0x476dd1+_0xe5662c(0x1e3),_0x2cac3f+='}\x0a\x0a');}_0x2cac3f=_0x2cac3f['replace']('%DtoColumn%',_0x3d4152),fs[_0xe5662c(0x19f)](_0x2993df,_0x2cac3f,_0xe5662c(0x1f9));}}async function DTOUpdate({controllers:_0xa4face,tablestartUp:_0x2b022,tablestartUpShort:_0x5240cd,basedir:_0x4088ea,Fields:_0x1a975c,Comment:_0x34a5c4,moduleName:_0x68d4be,apporbasic:_0x2c94c6}){const _0x4d8326=a10_0x382fb7,_0x3f4c48=_0x4088ea+(_0x4d8326(0x1d4)+_0x5240cd+_0x4d8326(0x211));if(!fs[_0x4d8326(0x1a9)](_0x3f4c48)){let _0x39d0a4='',_0x119d77='',_0x3b00a2=![];for(let _0x5072c7 in _0x1a975c){let _0x33483b=_0x1a975c[_0x5072c7],_0x52a923=(0x0,helper_1[_0x4d8326(0x1d6)])(_0x33483b['Type']);if(_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x1a1)||_0x33483b[_0x4d8326(0x1c9)]=='created_at'||_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x1dc)||_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x19b))continue;if([_0x4d8326(0x1b0),_0x4d8326(0x1bb),_0x4d8326(0x1c5)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1c1),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x200);else{if([_0x4d8326(0x1a3),_0x4d8326(0x1fd),_0x4d8326(0x1ef),_0x4d8326(0x1fb)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b[_0x4d8326(0x1f6)]+'\x27,\x20RuleType.number())\x0a',_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+'?:\x20number;\x0a\x0a';else{if([_0x4d8326(0x1b3)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x3b00a2=!![],_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b['Comment']+_0x4d8326(0x216)+_0x2b022+_0x4d8326(0x1c0)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x213),_0x39d0a4+='\x20\x20\x20\x20'+_0x33483b['Field']+_0x4d8326(0x1d1);else{if(_0x52a923=='json')_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b['Comment']+_0x4d8326(0x1cf),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x52a923=='enum'){let _0x1dfcba=(0x0,helper_1['getEnum'])(_0x33483b[_0x4d8326(0x201)]);_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b['Comment']+_0x4d8326(0x1be)+_0x1dfcba[_0x4d8326(0x1f0)](_0x4d8326(0x1c7))+'\x27))\x0a',_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b['Field']+_0x4d8326(0x1b7)+_0x1dfcba['join']('\x27\x20|\x20\x27')+'\x27;\x0a\x0a';}else[_0x4d8326(0x20e),_0x4d8326(0x1fa),'timestamp'][_0x4d8326(0x1a2)](_0x52a923)>-0x1?(_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1da),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x200)):(_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1c1),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b['Field']+_0x4d8326(0x200));}}}}}_0x39d0a4+=_0x4d8326(0x209),_0x39d0a4+=_0x4d8326(0x1cb);(_0xa4face===null||_0xa4face===void 0x0?void 0x0:_0xa4face[_0x4d8326(0x1fe)](_0x451dce=>typeof _0x451dce!=_0x4d8326(0x1a8)))?_0x119d77+=_0x4d8326(0x1ee):_0x119d77+=_0x4d8326(0x1ec);_0x3b00a2&&(_0x119d77+=_0x4d8326(0x1e1)+_0x2b022+_0x4d8326(0x1cd)+(typeof _0x68d4be==_0x4d8326(0x1e6)?_0x4d8326(0x1ac)+_0x68d4be:'@/'+_0x2c94c6)+'/enums/'+_0x5240cd+'\x27;\x0a');_0x119d77+='\x0a',_0x119d77+=_0x4d8326(0x1e9),_0x119d77+=_0x4d8326(0x1d2)+_0x34a5c4+'\x0a',_0x119d77+=_0x4d8326(0x1d3),_0x119d77+=_0x4d8326(0x1a0),_0x119d77+=_0x4d8326(0x207)+_0x2b022+_0x4d8326(0x1fc),_0x119d77+=_0x4d8326(0x206),_0x119d77+=_0x4d8326(0x20f);for(const _0x7de860 of _0xa4face){typeof _0x7de860==_0x4d8326(0x1e6)&&(_0x119d77+=_0x4d8326(0x207)+_0x7de860[_0x4d8326(0x1b2)](0x0,0x1)[_0x4d8326(0x20d)]()+_0x7de860[_0x4d8326(0x1b2)](0x1)[_0x4d8326(0x1f1)]()+_0x2b022+_0x4d8326(0x1f5)+_0x2b022+_0x4d8326(0x1b6),_0x119d77+='}\x0a\x0a');}_0x119d77=_0x119d77['replace']('%DtoColumn%',_0x39d0a4),fs[_0x4d8326(0x19f)](_0x3f4c48,_0x119d77,_0x4d8326(0x1f9));}}async function DTOSearch({controllers:_0x33834d,tablestartUp:_0x205fd9,tablestartUpShort:_0x3120ed,basedir:_0x5abbc2,Fields:_0x1641bf,Primary:_0x135ec6,Comment:_0x53bc22,moduleName:_0x15e64a,apporbasic:_0x2fab81}){const _0x10f2e2=a10_0x382fb7,_0x5b4a34=_0x5abbc2+('/validators/'+_0x3120ed+_0x10f2e2(0x1db));if(!fs[_0x10f2e2(0x1a9)](_0x5b4a34)){let _0x683a1='',_0x33d35b='',_0x4a1d59=![];for(let _0x2c3f62 of[{[_0x135ec6[_0x10f2e2(0x1c9)]]:_0x135ec6},_0x1641bf]){for(let _0x45b8e1 in _0x2c3f62){let _0x14acc4=_0x2c3f62[_0x45b8e1],_0x5af2bb=(0x0,helper_1[_0x10f2e2(0x1d6)])(_0x14acc4[_0x10f2e2(0x201)]);if(_0x14acc4[_0x10f2e2(0x1c9)]=='displayorder'||_0x14acc4[_0x10f2e2(0x1c9)]==_0x10f2e2(0x1eb)||_0x14acc4['Field']=='updated_at'||_0x14acc4[_0x10f2e2(0x1c9)]==_0x10f2e2(0x19b))continue;if(['text',_0x10f2e2(0x1bb),_0x10f2e2(0x1c5)][_0x10f2e2(0x1a2)](_0x5af2bb)!=-0x1){}else{if(['float',_0x10f2e2(0x1fd),'decimal',_0x10f2e2(0x1fb)]['indexOf'](_0x5af2bb)!=-0x1)_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4['Comment']+_0x10f2e2(0x20c),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1d1);else{if([_0x10f2e2(0x1b3)][_0x10f2e2(0x1a2)](_0x5af2bb)!=-0x1)_0x4a1d59=!![],_0x683a1+='\x20\x20\x20\x20@Rule(\x27'+_0x14acc4['Comment']+_0x10f2e2(0x216)+_0x205fd9+'Enum,\x20\x27'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x213),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1d1);else{if(_0x5af2bb=='json'){}else{if(_0x5af2bb=='enum'){let _0x4d2423=(0x0,helper_1[_0x10f2e2(0x1d0)])(_0x14acc4[_0x10f2e2(0x201)]);_0x683a1+='\x20\x20\x20\x20@Rule(\x27'+_0x14acc4[_0x10f2e2(0x1f6)]+'\x27,\x20RuleType.string().valid(\x27'+_0x4d2423[_0x10f2e2(0x1f0)]('\x27,\x20\x27')+_0x10f2e2(0x214),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x1b7)+_0x4d2423[_0x10f2e2(0x1f0)]('\x27\x20|\x20\x27')+_0x10f2e2(0x1b4);}else[_0x10f2e2(0x20e),_0x10f2e2(0x1fa),'timestamp'][_0x10f2e2(0x1a2)](_0x5af2bb)>-0x1?(_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4['Comment']+_0x10f2e2(0x1c1),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4[_0x10f2e2(0x1c9)]+'?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1de),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1ce),_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1c2),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4['Field']+'_start?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+'\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x683a1+='\x20\x20\x20\x20'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x1c8)):(_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1c1),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4[_0x10f2e2(0x1c9)]+'?:\x20string;\x0a\x0a');}}}}}}_0x683a1+='\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a',_0x683a1+=_0x10f2e2(0x1cb),_0x683a1+=_0x10f2e2(0x1ed),_0x683a1+=_0x10f2e2(0x19d),_0x683a1+=_0x10f2e2(0x1ad),_0x683a1+='\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1e5),_0x683a1+=_0x10f2e2(0x1dd),_0x683a1+=_0x10f2e2(0x204),_0x683a1+=_0x10f2e2(0x1d8),_0x683a1+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x683a1+=_0x10f2e2(0x202),_0x683a1+=_0x10f2e2(0x1ba),_0x683a1+=_0x10f2e2(0x1f4);(_0x33834d===null||_0x33834d===void 0x0?void 0x0:_0x33834d[_0x10f2e2(0x1fe)](_0x56591b=>typeof _0x56591b!=_0x10f2e2(0x1a8)))?_0x33d35b+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x33d35b+=_0x10f2e2(0x1ec);_0x4a1d59&&(_0x33d35b+=_0x10f2e2(0x1e1)+_0x205fd9+_0x10f2e2(0x1cd)+(typeof _0x15e64a=='string'?'@/apps/'+_0x15e64a:'@/'+_0x2fab81)+_0x10f2e2(0x203)+_0x3120ed+_0x10f2e2(0x1d7));_0x33d35b+='\x0a',_0x33d35b+='/**\x0a',_0x33d35b+='\x20*\x20'+_0x53bc22+'\x0a',_0x33d35b+=_0x10f2e2(0x210),_0x33d35b+='\x20*\x20**/\x0a',_0x33d35b+=_0x10f2e2(0x207)+_0x205fd9+_0x10f2e2(0x20b),_0x33d35b+=_0x10f2e2(0x1a6),_0x33d35b+=_0x10f2e2(0x20f);for(const _0x34cc75 of _0x33834d){typeof _0x34cc75==_0x10f2e2(0x1e6)&&(_0x33d35b+='export\x20class\x20'+_0x34cc75[_0x10f2e2(0x1b2)](0x0,0x1)[_0x10f2e2(0x20d)]()+_0x34cc75[_0x10f2e2(0x1b2)](0x1)[_0x10f2e2(0x1f1)]()+_0x205fd9+_0x10f2e2(0x1bd)+_0x205fd9+_0x10f2e2(0x1d9),_0x33d35b+='}\x0a\x0a');}_0x33d35b=_0x33d35b['replace'](_0x10f2e2(0x1a6),_0x683a1),fs[_0x10f2e2(0x19f)](_0x5b4a34,_0x33d35b,_0x10f2e2(0x1f9));}}function a10_0x519f(){const _0x2068c0=['__esModule','Enum,\x20\x27','\x27,\x20RuleType.string())\x0a','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',':\x20string;\x0a\x0a','363aSVkDu','mediumtext','/Create.ts','\x27,\x20\x27','_end?:\x20string;\x0a\x0a','Field','\x20\x20\x20\x20','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','538060RawBRe','Enum\x20}\x20from\x20\x27','_between?:\x20string[];\x0a\x0a','\x27,\x20RuleType.any())\x0a','getEnum','?:\x20number;\x0a\x0a','\x20*\x20','\x20*\x20数据更新验证\x0a','/validators/','(((.+)+)+)+$','getProp','\x27;\x0a','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x27,\x20RuleType.date())\x0a','/Search.ts','updated_at','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','defineProperty','1261660joPMmo','import\x20{\x20','7tGmfmQ','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','32mtkbuP','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','string','YES','timestamp','/**\x0a','.required()','created_at','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','decimal','join','toLowerCase','\x20\x20\x20\x20@Rule(\x27','constructor','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','DTOUpdate\x20extends\x20OmitDto(','Comment',':\x20\x27','default','utf-8','datetime','number','DTOUpdate\x20{\x0a\x0a','double','find','152BRXJQn','?:\x20string;\x0a\x0a','Type','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','/enums/','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','3090951blhFKM','%DtoColumn%','export\x20class\x20','\x27))','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','\x27,\x20RuleType.number()','DTOSearch\x20{\x0a\x0a','\x27,\x20RuleType.number())\x0a','toUpperCase','date','}\x0a\x0a','\x20*\x20数据检索验证\x0a','/Update.ts',':\x20any\x20|\x20any[];\x0a\x0a','\x27)))\x0a','\x27))\x0a','\x27\x20|\x20\x27','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','deleted_at','1011231bgEexS','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','toString','writeFileSync','\x20*\x20**/\x0a','displayorder','indexOf','float','json',':\x20number;\x0a\x0a','%SearchDtoColumn%','1771296vmXUAA','boolean','existsSync','\x27,\x20RuleType.date()','enum','@/apps/','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','apply','835664xsRWeC','text','search','substring','tinyint','\x27;\x0a\x0a','../helper','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','?:\x20\x27','8559bkvtVB','\x20*\x20数据添加验证\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','longtext','Null','DTOSearch\x20extends\x20OmitDto(','\x27,\x20RuleType.string().valid(\x27'];a10_0x519f=function(){return _0x2068c0;};return a10_0x519f();}
|
|
1
|
+
const a10_0x3e0aa9=a10_0xade9;(function(_0x5cb1ab,_0x38d7cf){const _0x428075=a10_0xade9,_0x3c14df=_0x5cb1ab();while(!![]){try{const _0x3729ed=parseInt(_0x428075(0x158))/0x1*(-parseInt(_0x428075(0x193))/0x2)+parseInt(_0x428075(0x185))/0x3+-parseInt(_0x428075(0x1a6))/0x4*(-parseInt(_0x428075(0x15b))/0x5)+parseInt(_0x428075(0x187))/0x6+parseInt(_0x428075(0x189))/0x7*(parseInt(_0x428075(0x15d))/0x8)+parseInt(_0x428075(0x169))/0x9*(-parseInt(_0x428075(0x14c))/0xa)+-parseInt(_0x428075(0x162))/0xb;if(_0x3729ed===_0x38d7cf)break;else _0x3c14df['push'](_0x3c14df['shift']());}catch(_0x283b57){_0x3c14df['push'](_0x3c14df['shift']());}}}(a10_0xd47d,0xb84c1));const a10_0x130b4b=(function(){let _0x3d8f55=!![];return function(_0x3dee67,_0x1f83cf){const _0x58cd24=_0x3d8f55?function(){if(_0x1f83cf){const _0x4f3db2=_0x1f83cf['apply'](_0x3dee67,arguments);return _0x1f83cf=null,_0x4f3db2;}}:function(){};return _0x3d8f55=![],_0x58cd24;};}()),a10_0x74c344=a10_0x130b4b(this,function(){const _0x58ae01=a10_0xade9;return a10_0x74c344[_0x58ae01(0x195)]()['search'](_0x58ae01(0x18a))[_0x58ae01(0x195)]()[_0x58ae01(0x14a)](a10_0x74c344)['search'](_0x58ae01(0x18a));});a10_0x74c344();'use strict';function a10_0xd47d(){const _0x4fd6d5=['default','mkdirSync','string','date','?:\x20any\x20|\x20any[];\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','import\x20{\x20','}\x0a\x0a','\x27\x20|\x20\x27','/validators/','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','__esModule','float','tinyint','existsSync','\x20*\x20','Null','DTOSearch\x20extends\x20OmitDto(','\x27,\x20RuleType.string().valid(\x27','getEnum','Type','boolean','?:\x20string;\x0a\x0a','2225931NUpRNc','enum','5612196GERWUH','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','3975181czDNIO','(((.+)+)+)+$','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','Enum\x20}\x20from\x20\x27','/**\x0a','\x27,\x20RuleType.number())\x0a','indexOf','/Create.ts','\x20*\x20数据添加验证\x0a','%DtoColumn%','272054PWCNcU','datetime','toString','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27','YES','replace','\x20*\x20**/\x0a','?:\x20\x27','/Search.ts','utf-8','_end?:\x20string;\x0a\x0a','number','@/apps/','longtext','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x27,\x20RuleType.number().valid(...getAnnEnumArray(',':\x20number;\x0a\x0a','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','32aUBxOY','toLowerCase','getProp','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','export\x20class\x20','/enums/','displayorder','DTOCreate\x20{\x0a\x0a','/Update.ts','find','DTOUpdate\x20{\x0a\x0a','\x27;\x0a\x0a','\x27,\x20\x27','\x27))\x0a','json','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','join','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','_start?:\x20string;\x0a\x0a','Enum,\x20\x27','.required()','Comment','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','updated_at','\x27,\x20RuleType.number()','\x27;\x0a','\x27)))\x0a','constructor','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','12646910pWldYb','%SearchDtoColumn%','toUpperCase','timestamp','text','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','defineProperty','double','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','deleted_at','\x27,\x20RuleType.date()','\x27,\x20RuleType.string())\x0a','2ioJcMk','_between?:\x20string[];\x0a\x0a','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','557855fGEeIR','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','8TGsUCk','decimal','mediumtext','Field','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','9307848FlikwM','\x20*\x20数据更新验证\x0a','created_at','DTOSearch\x20{\x0a\x0a','\x20\x20\x20\x20','substring','?:\x20number;\x0a\x0a','9HiuOhB','writeFileSync','\x27,\x20RuleType.date())\x0a','\x27,\x20RuleType.any())\x0a'];a10_0xd47d=function(){return _0x4fd6d5;};return a10_0xd47d();}function a10_0xade9(_0x2ce1f9,_0x3175b2){const _0x305b90=a10_0xd47d();return a10_0xade9=function(_0x74c344,_0x130b4b){_0x74c344=_0x74c344-0x14a;let _0xd47d=_0x305b90[_0x74c344];return _0xd47d;},a10_0xade9(_0x2ce1f9,_0x3175b2);}Object[a10_0x3e0aa9(0x152)](exports,a10_0x3e0aa9(0x179),{'value':!![]});const fs=require('fs'),helper_1=require('../helper');async function default_1({controllers:_0x4eaf05,tablestartUp:_0xe75e36,tablestartUpShort:_0x5e3425,basedir:_0x3f755d,Primary:_0x1f1c3e,Fields:_0x1e98b3,Comment:_0x4f0971,moduleName:_0x29a3e9,apporbasic:_0x43c49b}){const _0x4f6b03=a10_0x3e0aa9,_0x1c148c=_0x3f755d+(_0x4f6b03(0x177)+_0x5e3425);!fs[_0x4f6b03(0x17c)](_0x1c148c)&&fs[_0x4f6b03(0x16e)](_0x1c148c,{'recursive':!![]}),await DTOCreate({'controllers':_0x4eaf05,'tablestartUp':_0xe75e36,'tablestartUpShort':_0x5e3425,'basedir':_0x3f755d,'Fields':_0x1e98b3,'Comment':_0x4f0971,'moduleName':_0x29a3e9,'apporbasic':_0x43c49b}),await DTOUpdate({'controllers':_0x4eaf05,'tablestartUp':_0xe75e36,'tablestartUpShort':_0x5e3425,'basedir':_0x3f755d,'Fields':_0x1e98b3,'Comment':_0x4f0971,'moduleName':_0x29a3e9,'apporbasic':_0x43c49b}),await DTOSearch({'controllers':_0x4eaf05,'tablestartUp':_0xe75e36,'tablestartUpShort':_0x5e3425,'basedir':_0x3f755d,'Fields':_0x1e98b3,'Primary':_0x1f1c3e,'Comment':_0x4f0971,'moduleName':_0x29a3e9,'apporbasic':_0x43c49b});}exports[a10_0x3e0aa9(0x16d)]=default_1;async function DTOCreate({controllers:_0x237348,tablestartUp:_0x197ab8,tablestartUpShort:_0x57189a,basedir:_0x2036f3,Fields:_0x11d46b,Comment:_0x4f92bd,moduleName:_0x3dc1cb,apporbasic:_0x145d0b}){const _0xd084f7=a10_0x3e0aa9,_0x175f55=_0x2036f3+(_0xd084f7(0x177)+_0x57189a+_0xd084f7(0x190));if(!fs[_0xd084f7(0x17c)](_0x175f55)){let _0x4ea140='',_0x10a84b='',_0x33032c=![];for(let _0x3cf012 in _0x11d46b){let _0x2f908c=_0x11d46b[_0x3cf012],_0x2a00e3=(0x0,helper_1[_0xd084f7(0x1a8)])(_0x2f908c[_0xd084f7(0x182)]);if(_0x2f908c['Field']==_0xd084f7(0x1ac)||_0x2f908c[_0xd084f7(0x160)]=='created_at'||_0x2f908c['Field']==_0xd084f7(0x1be)||_0x2f908c['Field']=='deleted_at')continue;if([_0xd084f7(0x150),_0xd084f7(0x1a1),_0xd084f7(0x15f)][_0xd084f7(0x18f)](_0x2a00e3)!=-0x1)_0x4ea140+='\x20\x20\x20\x20@Rule(\x27'+_0x2f908c[_0xd084f7(0x1bc)]+_0xd084f7(0x157),_0x4ea140+=_0xd084f7(0x166)+_0x2f908c['Field']+_0xd084f7(0x184);else{if(['float','double',_0xd084f7(0x15e),'number'][_0xd084f7(0x18f)](_0x2a00e3)!=-0x1)_0x4ea140+=_0xd084f7(0x197)+_0x2f908c['Comment']+_0xd084f7(0x1bf)+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?_0xd084f7(0x1bb):'')+')\x0a',_0x4ea140+=_0xd084f7(0x166)+_0x2f908c[_0xd084f7(0x160)]+(_0x2f908c[_0xd084f7(0x17e)]!='YES'?'?':'')+_0xd084f7(0x1a4);else{if([_0xd084f7(0x17b)][_0xd084f7(0x18f)](_0x2a00e3)!=-0x1)_0x33032c=!![],_0x4ea140+='\x20\x20\x20\x20@Rule(\x27'+_0x2f908c[_0xd084f7(0x1bc)]+_0xd084f7(0x1a3)+_0x197ab8+_0xd084f7(0x1ba)+_0x2f908c[_0xd084f7(0x160)]+'\x27))'+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?_0xd084f7(0x1bb):'')+')\x0a',_0x4ea140+=_0xd084f7(0x166)+_0x2f908c[_0xd084f7(0x160)]+(_0x2f908c[_0xd084f7(0x17e)]!='YES'?'?':'')+':\x20number;\x0a\x0a';else{if(_0x2a00e3==_0xd084f7(0x1b4))_0x4ea140+=_0xd084f7(0x197)+_0x2f908c[_0xd084f7(0x1bc)]+_0xd084f7(0x16c),_0x4ea140+=_0xd084f7(0x166)+_0x2f908c[_0xd084f7(0x160)]+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x2a00e3==_0xd084f7(0x186)){let _0x488852=(0x0,helper_1[_0xd084f7(0x181)])(_0x2f908c[_0xd084f7(0x182)]);_0x4ea140+=_0xd084f7(0x197)+_0x2f908c['Comment']+'\x27,\x20RuleType.string().valid(\x27'+_0x488852[_0xd084f7(0x1b6)]('\x27,\x20\x27')+'\x27)'+(_0x2f908c['Null']!=_0xd084f7(0x198)?'.required()':'')+')\x0a',_0x4ea140+=_0xd084f7(0x166)+_0x2f908c[_0xd084f7(0x160)]+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?'?':'')+':\x20\x27'+_0x488852[_0xd084f7(0x1b6)](_0xd084f7(0x176))+_0xd084f7(0x1b1);}else[_0xd084f7(0x170),_0xd084f7(0x194),_0xd084f7(0x14f)][_0xd084f7(0x18f)](_0x2a00e3)>-0x1?(_0x4ea140+=_0xd084f7(0x197)+_0x2f908c[_0xd084f7(0x1bc)]+_0xd084f7(0x156)+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?_0xd084f7(0x1bb):'')+')\x0a',_0x4ea140+='\x20\x20\x20\x20'+_0x2f908c[_0xd084f7(0x160)]+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?'?':'')+':\x20string;\x0a\x0a'):(_0x4ea140+=_0xd084f7(0x197)+_0x2f908c[_0xd084f7(0x1bc)]+'\x27,\x20RuleType.string()'+(_0x2f908c['Null']!=_0xd084f7(0x198)?'.required()':'')+')\x0a',_0x4ea140+=_0xd084f7(0x166)+_0x2f908c[_0xd084f7(0x160)]+(_0x2f908c[_0xd084f7(0x17e)]!=_0xd084f7(0x198)?'?':'')+':\x20string;\x0a\x0a');}}}}}_0x4ea140+=_0xd084f7(0x1bd),_0x4ea140+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x237348===null||_0x237348===void 0x0?void 0x0:_0x237348[_0xd084f7(0x1af)](_0x2c7c5=>typeof _0x2c7c5!='boolean'))?_0x10a84b+=_0xd084f7(0x161):_0x10a84b+=_0xd084f7(0x188);_0x33032c&&(_0x10a84b+=_0xd084f7(0x174)+_0x197ab8+_0xd084f7(0x18c)+(typeof _0x3dc1cb=='string'?'@/apps/'+_0x3dc1cb:'@/'+_0x145d0b)+'/enums/'+_0x57189a+_0xd084f7(0x1c0));_0x10a84b+='\x0a',_0x10a84b+=_0xd084f7(0x18d),_0x10a84b+='\x20*\x20'+_0x4f92bd+'\x0a',_0x10a84b+=_0xd084f7(0x191),_0x10a84b+=_0xd084f7(0x19a),_0x10a84b+='export\x20class\x20'+_0x197ab8+_0xd084f7(0x1ad),_0x10a84b+=_0xd084f7(0x192),_0x10a84b+=_0xd084f7(0x175);for(const _0x3f4119 of _0x237348){typeof _0x3f4119==_0xd084f7(0x16f)&&(_0x10a84b+=_0xd084f7(0x1aa)+_0x3f4119[_0xd084f7(0x167)](0x0,0x1)[_0xd084f7(0x14e)]()+_0x3f4119[_0xd084f7(0x167)](0x1)[_0xd084f7(0x1a7)]()+_0x197ab8+'DTOCreate\x20extends\x20OmitDto('+_0x197ab8+_0xd084f7(0x1a2),_0x10a84b+=_0xd084f7(0x175));}_0x10a84b=_0x10a84b[_0xd084f7(0x199)](_0xd084f7(0x192),_0x4ea140),fs[_0xd084f7(0x16a)](_0x175f55,_0x10a84b,'utf-8');}}async function DTOUpdate({controllers:_0x4d2186,tablestartUp:_0x3e70e9,tablestartUpShort:_0x2a4d4a,basedir:_0x258804,Fields:_0x3980f7,Comment:_0x2d3bb6,moduleName:_0x501f9d,apporbasic:_0x16dafb}){const _0x16f4f0=a10_0x3e0aa9,_0xbf37c8=_0x258804+('/validators/'+_0x2a4d4a+_0x16f4f0(0x1ae));if(!fs[_0x16f4f0(0x17c)](_0xbf37c8)){let _0x1ad405='',_0x5ba474='',_0x4b7816=![];for(let _0xfbf2b4 in _0x3980f7){let _0x3294c=_0x3980f7[_0xfbf2b4],_0x39494e=(0x0,helper_1['getProp'])(_0x3294c[_0x16f4f0(0x182)]);if(_0x3294c[_0x16f4f0(0x160)]==_0x16f4f0(0x1ac)||_0x3294c[_0x16f4f0(0x160)]==_0x16f4f0(0x164)||_0x3294c[_0x16f4f0(0x160)]=='updated_at'||_0x3294c[_0x16f4f0(0x160)]=='deleted_at')continue;if([_0x16f4f0(0x150),_0x16f4f0(0x1a1),_0x16f4f0(0x15f)][_0x16f4f0(0x18f)](_0x39494e)!=-0x1)_0x1ad405+=_0x16f4f0(0x197)+_0x3294c['Comment']+_0x16f4f0(0x157),_0x1ad405+=_0x16f4f0(0x166)+_0x3294c['Field']+_0x16f4f0(0x184);else{if([_0x16f4f0(0x17a),_0x16f4f0(0x153),_0x16f4f0(0x15e),_0x16f4f0(0x19f)][_0x16f4f0(0x18f)](_0x39494e)!=-0x1)_0x1ad405+=_0x16f4f0(0x197)+_0x3294c['Comment']+'\x27,\x20RuleType.number())\x0a',_0x1ad405+='\x20\x20\x20\x20'+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x168);else{if([_0x16f4f0(0x17b)][_0x16f4f0(0x18f)](_0x39494e)!=-0x1)_0x4b7816=!![],_0x1ad405+='\x20\x20\x20\x20@Rule(\x27'+_0x3294c[_0x16f4f0(0x1bc)]+_0x16f4f0(0x1a3)+_0x3e70e9+_0x16f4f0(0x1ba)+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x1c1),_0x1ad405+=_0x16f4f0(0x166)+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x168);else{if(_0x39494e=='json')_0x1ad405+='\x20\x20\x20\x20@Rule(\x27'+_0x3294c[_0x16f4f0(0x1bc)]+_0x16f4f0(0x16c),_0x1ad405+=_0x16f4f0(0x166)+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x171);else{if(_0x39494e=='enum'){let _0x181416=(0x0,helper_1['getEnum'])(_0x3294c[_0x16f4f0(0x182)]);_0x1ad405+=_0x16f4f0(0x197)+_0x3294c['Comment']+_0x16f4f0(0x180)+_0x181416[_0x16f4f0(0x1b6)](_0x16f4f0(0x1b2))+_0x16f4f0(0x1b3),_0x1ad405+=_0x16f4f0(0x166)+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x19b)+_0x181416[_0x16f4f0(0x1b6)](_0x16f4f0(0x176))+'\x27;\x0a\x0a';}else['date',_0x16f4f0(0x194),_0x16f4f0(0x14f)][_0x16f4f0(0x18f)](_0x39494e)>-0x1?(_0x1ad405+=_0x16f4f0(0x197)+_0x3294c[_0x16f4f0(0x1bc)]+_0x16f4f0(0x16b),_0x1ad405+=_0x16f4f0(0x166)+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x184)):(_0x1ad405+=_0x16f4f0(0x197)+_0x3294c[_0x16f4f0(0x1bc)]+_0x16f4f0(0x157),_0x1ad405+='\x20\x20\x20\x20'+_0x3294c[_0x16f4f0(0x160)]+_0x16f4f0(0x184));}}}}}_0x1ad405+=_0x16f4f0(0x1bd),_0x1ad405+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x4d2186===null||_0x4d2186===void 0x0?void 0x0:_0x4d2186[_0x16f4f0(0x1af)](_0x206a2f=>typeof _0x206a2f!=_0x16f4f0(0x183)))?_0x5ba474+=_0x16f4f0(0x161):_0x5ba474+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x4b7816&&(_0x5ba474+='import\x20{\x20'+_0x3e70e9+_0x16f4f0(0x18c)+(typeof _0x501f9d=='string'?_0x16f4f0(0x1a0)+_0x501f9d:'@/'+_0x16dafb)+_0x16f4f0(0x1ab)+_0x2a4d4a+_0x16f4f0(0x1c0));_0x5ba474+='\x0a',_0x5ba474+=_0x16f4f0(0x18d),_0x5ba474+=_0x16f4f0(0x17d)+_0x2d3bb6+'\x0a',_0x5ba474+=_0x16f4f0(0x163),_0x5ba474+='\x20*\x20**/\x0a',_0x5ba474+='export\x20class\x20'+_0x3e70e9+_0x16f4f0(0x1b0),_0x5ba474+=_0x16f4f0(0x192),_0x5ba474+=_0x16f4f0(0x175);for(const _0x48d019 of _0x4d2186){typeof _0x48d019=='string'&&(_0x5ba474+=_0x16f4f0(0x1aa)+_0x48d019[_0x16f4f0(0x167)](0x0,0x1)[_0x16f4f0(0x14e)]()+_0x48d019[_0x16f4f0(0x167)](0x1)[_0x16f4f0(0x1a7)]()+_0x3e70e9+'DTOUpdate\x20extends\x20OmitDto('+_0x3e70e9+_0x16f4f0(0x154),_0x5ba474+='}\x0a\x0a');}_0x5ba474=_0x5ba474[_0x16f4f0(0x199)]('%DtoColumn%',_0x1ad405),fs['writeFileSync'](_0xbf37c8,_0x5ba474,_0x16f4f0(0x19d));}}async function DTOSearch({controllers:_0x54be16,tablestartUp:_0x18ac43,tablestartUpShort:_0x5a026e,basedir:_0x5763be,Fields:_0x414ad8,Primary:_0x3e891d,Comment:_0x197a56,moduleName:_0x343ec4,apporbasic:_0x244ea2}){const _0x5769a2=a10_0x3e0aa9,_0x5a4322=_0x5763be+(_0x5769a2(0x177)+_0x5a026e+_0x5769a2(0x19c));if(!fs[_0x5769a2(0x17c)](_0x5a4322)){let _0x174b88='',_0x1cd13e='',_0x22c119=![];for(let _0x101dde of[{[_0x3e891d[_0x5769a2(0x160)]]:_0x3e891d},_0x414ad8]){for(let _0x2bb3c4 in _0x101dde){let _0x5a6d56=_0x101dde[_0x2bb3c4],_0x2dc6b7=(0x0,helper_1['getProp'])(_0x5a6d56[_0x5769a2(0x182)]);if(_0x5a6d56[_0x5769a2(0x160)]==_0x5769a2(0x1ac)||_0x5a6d56['Field']==_0x5769a2(0x164)||_0x5a6d56[_0x5769a2(0x160)]==_0x5769a2(0x1be)||_0x5a6d56[_0x5769a2(0x160)]==_0x5769a2(0x155))continue;if([_0x5769a2(0x150),_0x5769a2(0x1a1),_0x5769a2(0x15f)][_0x5769a2(0x18f)](_0x2dc6b7)!=-0x1){}else{if([_0x5769a2(0x17a),'double',_0x5769a2(0x15e),_0x5769a2(0x19f)][_0x5769a2(0x18f)](_0x2dc6b7)!=-0x1)_0x174b88+=_0x5769a2(0x197)+_0x5a6d56[_0x5769a2(0x1bc)]+_0x5769a2(0x18e),_0x174b88+=_0x5769a2(0x166)+_0x5a6d56['Field']+_0x5769a2(0x168);else{if([_0x5769a2(0x17b)][_0x5769a2(0x18f)](_0x2dc6b7)!=-0x1)_0x22c119=!![],_0x174b88+=_0x5769a2(0x197)+_0x5a6d56[_0x5769a2(0x1bc)]+_0x5769a2(0x1a3)+_0x18ac43+_0x5769a2(0x1ba)+_0x5a6d56[_0x5769a2(0x160)]+'\x27)))\x0a',_0x174b88+='\x20\x20\x20\x20'+_0x5a6d56[_0x5769a2(0x160)]+_0x5769a2(0x168);else{if(_0x2dc6b7==_0x5769a2(0x1b4)){}else{if(_0x2dc6b7=='enum'){let _0x2cfa80=(0x0,helper_1[_0x5769a2(0x181)])(_0x5a6d56[_0x5769a2(0x182)]);_0x174b88+=_0x5769a2(0x197)+_0x5a6d56['Comment']+'\x27,\x20RuleType.string().valid(\x27'+_0x2cfa80['join'](_0x5769a2(0x1b2))+_0x5769a2(0x1b3),_0x174b88+=_0x5769a2(0x166)+_0x5a6d56[_0x5769a2(0x160)]+_0x5769a2(0x19b)+_0x2cfa80['join'](_0x5769a2(0x176))+_0x5769a2(0x1b1);}else[_0x5769a2(0x170),_0x5769a2(0x194),_0x5769a2(0x14f)][_0x5769a2(0x18f)](_0x2dc6b7)>-0x1?(_0x174b88+=_0x5769a2(0x197)+_0x5a6d56[_0x5769a2(0x1bc)]+'\x27,\x20RuleType.string())\x0a',_0x174b88+=_0x5769a2(0x166)+_0x5a6d56[_0x5769a2(0x160)]+_0x5769a2(0x184),_0x174b88+='\x20\x20\x20\x20@Rule(\x27'+_0x5a6d56[_0x5769a2(0x1bc)]+_0x5769a2(0x151),_0x174b88+=_0x5769a2(0x166)+_0x5a6d56['Field']+_0x5769a2(0x159),_0x174b88+=_0x5769a2(0x197)+_0x5a6d56[_0x5769a2(0x1bc)]+'\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x174b88+='\x20\x20\x20\x20'+_0x5a6d56['Field']+_0x5769a2(0x1b9),_0x174b88+=_0x5769a2(0x197)+_0x5a6d56[_0x5769a2(0x1bc)]+_0x5769a2(0x1a9),_0x174b88+=_0x5769a2(0x166)+_0x5a6d56[_0x5769a2(0x160)]+_0x5769a2(0x19e)):(_0x174b88+=_0x5769a2(0x197)+_0x5a6d56[_0x5769a2(0x1bc)]+'\x27,\x20RuleType.string())\x0a',_0x174b88+=_0x5769a2(0x166)+_0x5a6d56['Field']+_0x5769a2(0x184));}}}}}}_0x174b88+='\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a',_0x174b88+=_0x5769a2(0x15a),_0x174b88+=_0x5769a2(0x14b),_0x174b88+='\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a',_0x174b88+=_0x5769a2(0x18b),_0x174b88+=_0x5769a2(0x173),_0x174b88+=_0x5769a2(0x172),_0x174b88+='\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a',_0x174b88+=_0x5769a2(0x1b5),_0x174b88+=_0x5769a2(0x1b7),_0x174b88+=_0x5769a2(0x15c),_0x174b88+=_0x5769a2(0x1a5),_0x174b88+=_0x5769a2(0x178),_0x174b88+=_0x5769a2(0x196);(_0x54be16===null||_0x54be16===void 0x0?void 0x0:_0x54be16[_0x5769a2(0x1af)](_0x2b42d9=>typeof _0x2b42d9!=_0x5769a2(0x183)))?_0x1cd13e+=_0x5769a2(0x161):_0x1cd13e+=_0x5769a2(0x188);_0x22c119&&(_0x1cd13e+=_0x5769a2(0x174)+_0x18ac43+_0x5769a2(0x18c)+(typeof _0x343ec4=='string'?'@/apps/'+_0x343ec4:'@/'+_0x244ea2)+_0x5769a2(0x1ab)+_0x5a026e+_0x5769a2(0x1c0));_0x1cd13e+='\x0a',_0x1cd13e+=_0x5769a2(0x18d),_0x1cd13e+=_0x5769a2(0x17d)+_0x197a56+'\x0a',_0x1cd13e+='\x20*\x20数据检索验证\x0a',_0x1cd13e+=_0x5769a2(0x19a),_0x1cd13e+='export\x20class\x20'+_0x18ac43+_0x5769a2(0x165),_0x1cd13e+=_0x5769a2(0x14d),_0x1cd13e+=_0x5769a2(0x175);for(const _0x51c3b0 of _0x54be16){typeof _0x51c3b0=='string'&&(_0x1cd13e+=_0x5769a2(0x1aa)+_0x51c3b0[_0x5769a2(0x167)](0x0,0x1)['toUpperCase']()+_0x51c3b0[_0x5769a2(0x167)](0x1)[_0x5769a2(0x1a7)]()+_0x18ac43+_0x5769a2(0x17f)+_0x18ac43+_0x5769a2(0x1b8),_0x1cd13e+=_0x5769a2(0x175));}_0x1cd13e=_0x1cd13e[_0x5769a2(0x199)](_0x5769a2(0x14d),_0x174b88),fs[_0x5769a2(0x16a)](_0x5a4322,_0x1cd13e,_0x5769a2(0x19d));}}
|
package/dist/templateVue/Api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x323658=a11_0x34b7;(function(_0x291875,_0x1b0b7f){const _0x51a114=a11_0x34b7,_0x12c98b=_0x291875();while(!![]){try{const _0x1d3c05=parseInt(_0x51a114(0x162))/0x1+-parseInt(_0x51a114(0x156))/0x2*(-parseInt(_0x51a114(0x151))/0x3)+parseInt(_0x51a114(0x152))/0x4*(-parseInt(_0x51a114(0x172))/0x5)+-parseInt(_0x51a114(0x159))/0x6*(-parseInt(_0x51a114(0x170))/0x7)+-parseInt(_0x51a114(0x160))/0x8*(parseInt(_0x51a114(0x153))/0x9)+parseInt(_0x51a114(0x164))/0xa+-parseInt(_0x51a114(0x175))/0xb*(parseInt(_0x51a114(0x16c))/0xc);if(_0x1d3c05===_0x1b0b7f)break;else _0x12c98b['push'](_0x12c98b['shift']());}catch(_0x175498){_0x12c98b['push'](_0x12c98b['shift']());}}}(a11_0x5820,0x3c06a));const a11_0x5bc26d=(function(){let _0x39fd12=!![];return function(_0x11f7bf,_0x598693){const _0x37df0b=_0x39fd12?function(){const _0x3663cb=a11_0x34b7;if(_0x598693){const _0x1c6966=_0x598693[_0x3663cb(0x163)](_0x11f7bf,arguments);return _0x598693=null,_0x1c6966;}}:function(){};return _0x39fd12=![],_0x37df0b;};}()),a11_0x190888=a11_0x5bc26d(this,function(){const _0x16c89d=a11_0x34b7;return a11_0x190888[_0x16c89d(0x17d)]()['search']('(((.+)+)+)+$')['toString']()[_0x16c89d(0x178)](a11_0x190888)[_0x16c89d(0x179)](_0x16c89d(0x161));});function a11_0x5820(){const _0x5b4561=['search','@添加\x27,\x0a','/pages/','\x20\x20\x20\x20list:{\x0a','toString','/edit/:','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','path','default','3xpMOrQ','8dMGXYQ','719433pxvgiO','\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','250774vQLHSo','__esModule','//\x20','2053410LCSruM','existsSync','/add','/apis/','string','@列表\x27,\x0a','utf-8','40ZmlBAy','(((.+)+)+)+$','77801BSgdWF','apply','2187380APPWnv','mkdirSync','/detail/:','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','.js','@编辑\x27,\x0a','\x20\x20\x20\x20add:{\x0a','export\x20const\x20','24DjCtTy','/pages/apps/','Field','\x20\x20\x20\x20},\x0a','7heYpQi','cwd','287135OVapEv','/remove','\x20=\x20{\x0a','20658HXPMky','\x20\x20\x20\x20remove:{\x0a','@详情\x27,\x0a','constructor'];a11_0x5820=function(){return _0x5b4561;};return a11_0x5820();}a11_0x190888();function a11_0x34b7(_0x874215,_0x13e9dc){const _0x44b8ac=a11_0x5820();return a11_0x34b7=function(_0x190888,_0x5bc26d){_0x190888=_0x190888-0x151;let _0x58201a=_0x44b8ac[_0x190888];return _0x58201a;},a11_0x34b7(_0x874215,_0x13e9dc);}'use strict';Object['defineProperty'](exports,a11_0x323658(0x157),{'value':!![]});const fs=require('fs'),path_1=require(a11_0x323658(0x180));async function default_1({tablestartUpShort:_0xdbfb30,tablestartUpShort2:_0x25fd69,moduleName:_0x17ab4d,controller:_0x4217f8,Comment:_0x3b1848,apporbasic:_0x1810cf,Primary:_0x1e901d}){const _0x1380fa=a11_0x323658;let _0x3a398a=process[_0x1380fa(0x171)]()+'/vue'+(typeof _0x4217f8==_0x1380fa(0x15d)?'/'+_0x4217f8:'');_0x17ab4d?_0x3a398a=_0x3a398a+(_0x1380fa(0x16d)+_0x17ab4d+_0x1380fa(0x15c)+_0xdbfb30+_0x1380fa(0x168)):_0x3a398a=_0x3a398a+(_0x1380fa(0x17b)+_0x1810cf+_0x1380fa(0x15c)+_0xdbfb30+_0x1380fa(0x168));if(!fs[_0x1380fa(0x15a)](_0x3a398a)){const _0xed00a=''+(typeof _0x4217f8==_0x1380fa(0x15d)?_0x4217f8+'/':'')+(_0x17ab4d?_0x17ab4d+'/':'')+_0x25fd69+_0x1380fa(0x15b),_0x5cb4ed=''+(typeof _0x4217f8==_0x1380fa(0x15d)?_0x4217f8+'/':'')+(_0x17ab4d?_0x17ab4d+'/':'')+_0x25fd69+'/list',_0x4e849c=''+(typeof _0x4217f8==_0x1380fa(0x15d)?_0x4217f8+'/':'')+(_0x17ab4d?_0x17ab4d+'/':'')+_0x25fd69+_0x1380fa(0x17e)+_0x1e901d[_0x1380fa(0x16e)],_0x1835a1=''+(typeof _0x4217f8=='string'?_0x4217f8+'/':'')+(_0x17ab4d?_0x17ab4d+'/':'')+_0x25fd69+_0x1380fa(0x166)+_0x1e901d[_0x1380fa(0x16e)],_0x38c097=''+(typeof _0x4217f8==_0x1380fa(0x15d)?_0x4217f8+'/':'')+(_0x17ab4d?_0x17ab4d+'/':'')+_0x25fd69+_0x1380fa(0x173);let _0x5b076e='\x0a\x0a';_0x5b076e+=_0x1380fa(0x158)+_0x3b1848+'\x0a',_0x5b076e+=_0x1380fa(0x16b)+_0xdbfb30+_0x1380fa(0x174),_0x5b076e+=_0x1380fa(0x16a),_0x5b076e+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x5b076e+=_0x1380fa(0x155)+_0x3b1848+_0x1380fa(0x17a),_0x5b076e+=_0x1380fa(0x167)+_0xed00a+'\x27\x0a',_0x5b076e+=_0x1380fa(0x16f),_0x5b076e+='\x20\x20\x20\x20edit:{\x0a',_0x5b076e+=_0x1380fa(0x17f),_0x5b076e+=_0x1380fa(0x155)+_0x3b1848+_0x1380fa(0x169),_0x5b076e+=_0x1380fa(0x167)+_0x4e849c+'\x27\x0a',_0x5b076e+='\x20\x20\x20\x20},\x0a',_0x5b076e+=_0x1380fa(0x17c),_0x5b076e+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a',_0x5b076e+=_0x1380fa(0x155)+_0x3b1848+_0x1380fa(0x15e),_0x5b076e+=_0x1380fa(0x167)+_0x5cb4ed+'\x27\x0a',_0x5b076e+=_0x1380fa(0x16f),_0x5b076e+='\x20\x20\x20\x20detail:{\x0a',_0x5b076e+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a',_0x5b076e+=_0x1380fa(0x155)+_0x3b1848+_0x1380fa(0x177),_0x5b076e+=_0x1380fa(0x167)+_0x1835a1+'\x27\x0a',_0x5b076e+=_0x1380fa(0x16f),_0x5b076e+=_0x1380fa(0x176),_0x5b076e+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x5b076e+=_0x1380fa(0x155)+_0x3b1848+'@删除\x27,\x0a',_0x5b076e+=_0x1380fa(0x167)+_0x38c097+'\x27\x0a',_0x5b076e+=_0x1380fa(0x154),_0x5b076e+='}\x0a',fs[_0x1380fa(0x165)]((0x0,path_1['dirname'])(_0x3a398a),{'recursive':!![]}),fs['writeFileSync'](_0x3a398a,_0x5b076e,_0x1380fa(0x15f));}}exports[a11_0x323658(0x181)]=default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a12_0x24c987=a12_0xb9cc;function a12_0x1976(){const _0x31971f=['constructor','673655rBTMqG','writeFileSync','padEnd','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','38725742pOKexi','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','\x20\x20\x20\x20},\x0a','</template>\x0a\x0a','/apps-','cwd','6uxyQoC','toString','apply','utf-8','950528XOVOKl','existsSync','default',',\x20path:\x20\x22','<template>\x0a','261331hsYcsj','readFileSync','248LCGXdJ','path','dirname','/pages/apps/','<script>\x0a','export\x20default\x20{\x0a','761430xQtNwf','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','/pages/','replace','/vue','\x20\x20\x20\x20</page-layout>\x0a','string','2kTXkeD','63LZoVcf','mkdirSync','(((.+)+)+)+$','2332107qvRxDi','__esModule','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','478079YqANQw','search'];a12_0x1976=function(){return _0x31971f;};return a12_0x1976();}(function(_0x2fe759,_0x2efbde){const _0x3efbc3=a12_0xb9cc,_0x22f725=_0x2fe759();while(!![]){try{const _0x103d86=-parseInt(_0x3efbc3(0x1bd))/0x1+-parseInt(_0x3efbc3(0x1e2))/0x2*(parseInt(_0x3efbc3(0x1e6))/0x3)+parseInt(_0x3efbc3(0x1ce))/0x4+-parseInt(_0x3efbc3(0x1c0))/0x5*(parseInt(_0x3efbc3(0x1ca))/0x6)+parseInt(_0x3efbc3(0x1d3))/0x7*(-parseInt(_0x3efbc3(0x1d5))/0x8)+-parseInt(_0x3efbc3(0x1e3))/0x9*(parseInt(_0x3efbc3(0x1db))/0xa)+parseInt(_0x3efbc3(0x1c4))/0xb;if(_0x103d86===_0x2efbde)break;else _0x22f725['push'](_0x22f725['shift']());}catch(_0x271bdb){_0x22f725['push'](_0x22f725['shift']());}}}(a12_0x1976,0xa5713));const a12_0x48450c=(function(){let _0x502fcb=!![];return function(_0x194215,_0x456a8c){const _0x3c9dd2=_0x502fcb?function(){const _0x4f59e6=a12_0xb9cc;if(_0x456a8c){const _0x1de331=_0x456a8c[_0x4f59e6(0x1cc)](_0x194215,arguments);return _0x456a8c=null,_0x1de331;}}:function(){};return _0x502fcb=![],_0x3c9dd2;};}()),a12_0x5003b6=a12_0x48450c(this,function(){const _0x408e02=a12_0xb9cc;return a12_0x5003b6[_0x408e02(0x1cb)]()[_0x408e02(0x1be)]('(((.+)+)+)+$')[_0x408e02(0x1cb)]()[_0x408e02(0x1bf)](a12_0x5003b6)[_0x408e02(0x1be)](_0x408e02(0x1e5));});a12_0x5003b6();'use strict';Object['defineProperty'](exports,a12_0x24c987(0x1bb),{'value':!![]});const fs=require('fs'),path_1=require(a12_0x24c987(0x1d6));function a12_0xb9cc(_0x5aad93,_0x2ff185){const _0x11430b=a12_0x1976();return a12_0xb9cc=function(_0x5003b6,_0x48450c){_0x5003b6=_0x5003b6-0x1bb;let _0x1976bf=_0x11430b[_0x5003b6];return _0x1976bf;},a12_0xb9cc(_0x5aad93,_0x2ff185);}async function default_1({tablestartUpShort2:_0xc8d81d,controller:_0x8fd60b,moduleName:_0x2735de,Comment:_0x57e0b0,apporbasic:_0x201c27}){const _0x49b5ce=a12_0x24c987;let _0xd3cb14=process[_0x49b5ce(0x1c9)]()+_0x49b5ce(0x1df)+(typeof _0x8fd60b=='string'?'/'+_0x8fd60b:'');_0x2735de?_0xd3cb14=_0xd3cb14+(_0x49b5ce(0x1d8)+_0x2735de+'/layout.vue'):_0xd3cb14=_0xd3cb14+(_0x49b5ce(0x1dd)+_0x201c27+'/layout.vue');await createLayout(_0xd3cb14);const _0x5ed69b=fs[_0x49b5ce(0x1d4)](_0xd3cb14,'utf-8');fs[_0x49b5ce(0x1c1)](_0xd3cb14,_0x5ed69b[_0x49b5ce(0x1de)]('//\x20add\x20menu\x20here','{title:\x20\x22'+(_0x57e0b0+'\x22')['padEnd'](0x14)+_0x49b5ce(0x1d1)+(''+(typeof _0x2735de==_0x49b5ce(0x1e1)?_0x49b5ce(0x1c8)+_0x2735de+'/':'/'+_0x201c27+'/')+_0xc8d81d+'\x22')[_0x49b5ce(0x1c2)](0x14)+'},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}exports[a12_0x24c987(0x1d0)]=default_1;async function createLayout(_0x5c8dc5){const _0x50a800=a12_0x24c987;if(!fs[_0x50a800(0x1cf)](_0x5c8dc5)){let _0x4a7771=_0x50a800(0x1d2);_0x4a7771+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a',_0x4a7771+=_0x50a800(0x1e0),_0x4a7771+=_0x50a800(0x1c7),_0x4a7771+=_0x50a800(0x1d9),_0x4a7771+=_0x50a800(0x1da),_0x4a7771+='\x20\x20\x20\x20data()\x20{\x0a',_0x4a7771+=_0x50a800(0x1c5),_0x4a7771+=_0x50a800(0x1dc),_0x4a7771+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x4a7771+=_0x50a800(0x1bc),_0x4a7771+=_0x50a800(0x1c3),_0x4a7771+=_0x50a800(0x1c6),_0x4a7771+='}\x0a',_0x4a7771+='</script>\x0a\x0a',fs[_0x50a800(0x1e4)]((0x0,path_1[_0x50a800(0x1d7)])(_0x5c8dc5),{'recursive':!![]}),fs['writeFileSync'](_0x5c8dc5,_0x4a7771,_0x50a800(0x1cd));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13_0x1c40f8=a13_0x2665;function a13_0x2665(_0x1d55fe,_0x54fc32){const _0x3f7dce=a13_0x2399();return a13_0x2665=function(_0x36825f,_0x52a5b7){_0x36825f=_0x36825f-0x1d1;let _0x2399c8=_0x3f7dce[_0x36825f];return _0x2399c8;},a13_0x2665(_0x1d55fe,_0x54fc32);}(function(_0x39f08b,_0x27cfa8){const _0x1e19f7=a13_0x2665,_0xe1d2bb=_0x39f08b();while(!![]){try{const _0x38593a=-parseInt(_0x1e19f7(0x24d))/0x1+parseInt(_0x1e19f7(0x225))/0x2+-parseInt(_0x1e19f7(0x253))/0x3*(-parseInt(_0x1e19f7(0x270))/0x4)+parseInt(_0x1e19f7(0x28c))/0x5*(parseInt(_0x1e19f7(0x21a))/0x6)+parseInt(_0x1e19f7(0x1f5))/0x7*(parseInt(_0x1e19f7(0x251))/0x8)+-parseInt(_0x1e19f7(0x22e))/0x9+-parseInt(_0x1e19f7(0x21e))/0xa*(parseInt(_0x1e19f7(0x27a))/0xb);if(_0x38593a===_0x27cfa8)break;else _0xe1d2bb['push'](_0xe1d2bb['shift']());}catch(_0x37e18e){_0xe1d2bb['push'](_0xe1d2bb['shift']());}}}(a13_0x2399,0xe9841));const a13_0x52a5b7=(function(){let _0x496ace=!![];return function(_0x512201,_0x345345){const _0x24ba43=_0x496ace?function(){const _0x1d11ee=a13_0x2665;if(_0x345345){const _0x590694=_0x345345[_0x1d11ee(0x1d4)](_0x512201,arguments);return _0x345345=null,_0x590694;}}:function(){};return _0x496ace=![],_0x24ba43;};}()),a13_0x36825f=a13_0x52a5b7(this,function(){const _0x46645c=a13_0x2665;return a13_0x36825f[_0x46645c(0x28d)]()[_0x46645c(0x239)](_0x46645c(0x250))[_0x46645c(0x28d)]()['constructor'](a13_0x36825f)[_0x46645c(0x239)](_0x46645c(0x250));});a13_0x36825f();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a13_0x1c40f8(0x1ee)),helper_1=require('../helper');async function default_1({moduleName:_0x21cced,controller:_0x335b92,tablestartUpShort:_0x338174,tablestartUpShort2:_0x2cf744,Primary:_0x19e5d5,Fields:_0x16da04,apporbasic:_0x1b9e6a,Comment:_0x378b87}){const _0x3f3c60=a13_0x1c40f8;await createIndex({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a}),await createSearch({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a}),await createAddOrEdit({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a,'Comment':_0x378b87},'add'),await createAddOrEdit({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a,'Comment':_0x378b87},_0x3f3c60(0x26d));}exports[a13_0x1c40f8(0x241)]=default_1;async function createIndex({moduleName:_0x26e721,controller:_0x365ff9,tablestartUpShort:_0x3773e6,tablestartUpShort2:_0x509e15,Primary:_0x4f1733,Fields:_0x16171c,apporbasic:_0x2857cc}){const _0x4c24a8=a13_0x1c40f8;let _0x3baa81=process[_0x4c24a8(0x27e)]()+_0x4c24a8(0x28a)+(typeof _0x365ff9==_0x4c24a8(0x22c)?'/'+_0x365ff9:'');_0x26e721?_0x3baa81=_0x3baa81+(_0x4c24a8(0x1d7)+_0x26e721+'/template/'+_0x509e15+_0x4c24a8(0x1e5)):_0x3baa81=_0x3baa81+(_0x4c24a8(0x221)+_0x2857cc+_0x4c24a8(0x1d9)+_0x509e15+_0x4c24a8(0x1e5));if(!fs['existsSync'](_0x3baa81)){const _0x3cf226=(typeof _0x26e721==_0x4c24a8(0x22c)?_0x4c24a8(0x258)+_0x26e721+'.':'$'+_0x2857cc+'Api.')+(''+_0x3773e6);let _0xe603a9=_0x4c24a8(0x20d)+('\x22'+_0x4f1733['Field']+'\x22')[_0x4c24a8(0x26f)](0x14)+(_0x4c24a8(0x206)+(_0x4f1733[_0x4c24a8(0x215)]||'编号')+_0x4c24a8(0x1db));for(let _0x2cc4f5 in _0x16171c){const _0x38b365=_0x16171c[_0x2cc4f5];if(['created_at',_0x4c24a8(0x1f0),_0x4c24a8(0x235),'displayorder'][_0x4c24a8(0x27d)](_0x2cc4f5)!=-0x1)continue;if(_0x2cc4f5['substr'](-0x3)==_0x4c24a8(0x220)||_0x2cc4f5[_0x4c24a8(0x1d3)](-0x5)==_0x4c24a8(0x261)||_0x2cc4f5=='thumb'||_0x2cc4f5[_0x4c24a8(0x1d3)](-0x4)=='logo'||_0x2cc4f5==_0x4c24a8(0x1df))_0xe603a9+='\x0a'+_0x4c24a8(0x219)+_0x4c24a8(0x20d)+('\x22'+_0x2cc4f5+'\x22')['padEnd'](0x14)+(_0x4c24a8(0x206)+(_0x38b365['Comment']||_0x38b365['Field'])+_0x4c24a8(0x25c)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<template\x20#default=\x22scope\x22>',_0xe603a9+='\x0a'+_0x4c24a8(0x20a)+'<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0xe603a9+='\x0a'+_0x4c24a8(0x269)+(_0x4c24a8(0x26c)+_0x2cc4f5+_0x4c24a8(0x1ea)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4c24a8(0x256)+_0x2cc4f5+_0x4c24a8(0x22b)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4c24a8(0x1fc),_0xe603a9+='\x0a'+_0x4c24a8(0x269)+_0x4c24a8(0x27b),_0xe603a9+='\x0a'+_0x4c24a8(0x23a)+(_0x4c24a8(0x256)+_0x2cc4f5+_0x4c24a8(0x260)),_0xe603a9+='\x0a'+_0x4c24a8(0x269)+_0x4c24a8(0x22a),_0xe603a9+='\x0a'+_0x4c24a8(0x20a)+_0x4c24a8(0x1fd),_0xe603a9+='\x0a'+_0x4c24a8(0x288)+_0x4c24a8(0x22a),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-table-column>';else[_0x4c24a8(0x1f7),_0x4c24a8(0x1e4)][_0x4c24a8(0x27d)]((0x0,helper_1[_0x4c24a8(0x209)])(_0x38b365['Type']))==-0x1&&(_0xe603a9+='\x0a'+_0x4c24a8(0x219)+_0x4c24a8(0x20d)+('\x22'+_0x2cc4f5+'\x22')[_0x4c24a8(0x26f)](0x14)+(_0x4c24a8(0x206)+(_0x38b365[_0x4c24a8(0x215)]||_0x38b365[_0x4c24a8(0x273)])+_0x4c24a8(0x280)));}fs[_0x4c24a8(0x24b)]((0x0,path_1[_0x4c24a8(0x25d)])(_0x3baa81),{'recursive':!![]}),fs[_0x4c24a8(0x203)](_0x3baa81,_0x4c24a8(0x231)+_0x3cf226+_0x4c24a8(0x271)+(_0x26e721?_0x4c24a8(0x1e7)+_0x26e721+'/':_0x2857cc+'/')+_0x509e15+'/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xe603a9+_0x4c24a8(0x1d1)+_0x3cf226+'.edit.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x26e721?'apps-'+_0x26e721+'/':_0x2857cc+'/')+_0x509e15+_0x4c24a8(0x200)+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x264)+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x26b)+_0x3cf226+_0x4c24a8(0x1e6)+_0x3cf226+_0x4c24a8(0x217)+_0x4f1733['Field']+_0x4c24a8(0x1f1)+_0x3cf226+_0x4c24a8(0x1e2)+_0x4f1733['Field']+':\x20item.'+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x21c),_0x4c24a8(0x1e0));}}function a13_0x2399(){const _0x29b938=['apps/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','<el-input-number\x20v-model=\x22formdata.','AddRule,\x0a','timestamp','Comment','\x20\x20\x20\x20','.list(Object.assign({},\x20this.table.search,\x20sortable)).then(res=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.table.data\x20=\x20res.data\x20||\x20[],\x20this.table.search\x20=\x20{\x20...this.table.search,\x20...res.extra.pageinfo,\x20_count:\x20res.extra.pagetotal\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要删除的数据\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20handlerRemove(item){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20item.','\x20\x20\x20\x20methods:\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','12ApnuGY','\x22\x20:limit=\x221\x22\x20/>','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','30zpSpAs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','img','/pages/','_id','<el-input\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','2455706RjvZyM','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<page-editor\x20v-model=\x22formdata.','Api.','</template>','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','string','<el-select-tags\x20v-model=\x22formdata.','85581JteidV','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','\x22\x20clearable/>','<template>\x0a\x20\x20\x20\x20<page\x20:loading=\x22loading\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<page-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20@transform=\x22LoadDatas\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#search>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<search\x20v-model:search=\x22table.search\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#header>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\x22\x20placeholder=\x22选择','deleted_at','\x22\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','displayorder','search','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','thumbs','</el-form-item>',');\x0a','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x22\x20placeholder=\x22请选择','</script>\x0a','default','\x20}).then(res=>{\x0a','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','<el-input\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','\x22\x20placeholder=\x22请输入','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','1304554SpeGsL','<el-date-picker\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.formdata\x20=\x20res.data,\x20this.loading\x20=\x20false;\x0a','(((.+)+)+)+$','82872tFTZKd','<el-select\x20v-model=\x22formdata.','2565mpjRnb','number','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','<img\x20:src=\x22scope.row.','existsSync','$appsApi.','.hasPrem()\x22>\x0a','\x22\x20value=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20this.$router.back();\x0a','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','dirname','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','\x20\x20\x20\x20mounted(){\x0a','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','thumb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','<el-form-item\x20label=\x22','import\x20{\x20','\x20\x20\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AddRule\x20}\x20from\x20\x27@','}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','<a\x20:href=\x22scope.row.','edit','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','padEnd','708KFPQTY','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Field','add','datetime','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',')\x20{\x0a','enum','2175074HZeyXN','<template\x20#reference>','_start\x22\x20placeholder=\x22选择','indexOf','cwd','num','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x22\x20class=\x22block\x22>','export\x20default\x20{\x0a','endsWith','\x22\x20split=\x22-\x22\x20clearable/>','\x22\x20placeholder=\x22请输入或选择','<page-images\x20v-model=\x22formdata.','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-date-picker\x20v-model=\x22formdata.','/vue','getEnum','500105IOeGlE','toString','\x22\x20\x20placeholder=\x22请输入','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','substr','apply','>=\x22>','/index.vue','/pages/apps/','<el-select\x20v-model=\x22search.','/template/','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','<script>\x0a','</el-select>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','logo','utf-8','Type','.remove({\x20','<template>\x0a','longtext','/list/index.vue','.remove.hasPrem()\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</page-table>\x0a\x20\x20\x20\x20</page>\x0a</template>\x0a<script>\x0aimport\x20search\x20from\x20\x22./components/search.vue\x22\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20components:\x20{\x20search\x20},\x0a\x20\x20\x20\x20data(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20table:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data:[],\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_page:1,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_size:20,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_count:0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20mounted()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20Object.assign(this.table.search,this.$route.params,this.$route.query),this.LoadDatas();\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20methods:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取数据列表\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20page\x20分页-当前页\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20LoadDatas(page\x20,\x20size,\x20sortable\x20=\x20{}){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page\x20&&\x20(this.table.search._page\x20=\x20page),size\x20&&\x20(this.table.search._size\x20=\x20size),this.loading\x20=\x20true;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','apps-','</template>\x0a','\x20\x20\x20\x20data(){\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','/add\x27\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','path','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','updated_at','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','date','_end\x22\x20placeholder=\x22选择','868EBcdLO','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','text','<el-select-search\x20v-model=\x22search.','(item).then(res=>{\x0a','created_at','<template>\x0a\x20\x20\x20\x20','</a>','</el-popover>','_ids','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','/edit?','<=\x22>','\x22\x20prop=\x22','writeFileSync','/list/components/search.vue','EditRule,\x0a','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','\x20\x20\x20\x20</page-form>\x0a','getProp','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<el-table-column\x20prop=','/edit\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'];a13_0x2399=function(){return _0x29b938;};return a13_0x2399();}async function createSearch({moduleName:_0x5abe7b,tablestartUpShort2:_0x596c8d,controller:_0x1ede59,Primary:_0x3a93ff,Fields:_0x18e3a2,apporbasic:_0xd22620}){const _0x4d0f85=a13_0x1c40f8;let _0x122d8f=process[_0x4d0f85(0x27e)]()+_0x4d0f85(0x28a)+(typeof _0x1ede59==_0x4d0f85(0x22c)?'/'+_0x1ede59:'');_0x5abe7b?_0x122d8f=_0x122d8f+(_0x4d0f85(0x1d7)+_0x5abe7b+'/template/'+_0x596c8d+'/list/components/search.vue'):_0x122d8f=_0x122d8f+(_0x4d0f85(0x221)+_0xd22620+_0x4d0f85(0x1d9)+_0x596c8d+_0x4d0f85(0x204));if(!fs[_0x4d0f85(0x257)](_0x122d8f)){let _0x25433f='';_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x3a93ff['Comment']||'编号')+'\x22>'),_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22search.'+_0x3a93ff[_0x4d0f85(0x273)]+_0x4d0f85(0x24a)+(_0x3a93ff[_0x4d0f85(0x215)]||'编号')+_0x4d0f85(0x230)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c);for(let _0xae12a in _0x18e3a2){const _0x5960d6=_0x18e3a2[_0xae12a];if([_0x4d0f85(0x1f0),_0x4d0f85(0x235),'displayorder'][_0x4d0f85(0x27d)](_0xae12a)!=-0x1)continue;if(_0xae12a['substr'](-0x3)==_0x4d0f85(0x27f))_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-input-number\x20v-model=\x22search.'+_0xae12a+'\x22\x20placeholder=\x22请输入'+_0x5960d6['Comment']+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>'),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';else{if(_0xae12a[_0x4d0f85(0x283)](_0x4d0f85(0x222))){let _0x1e0d70=''+(typeof _0x1ede59=='string'?_0x1ede59+'/':'')+(_0x5abe7b?_0x5abe7b+'/':'')+_0x596c8d;_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x272)+(_0x4d0f85(0x1f8)+_0xae12a+'\x22\x20api=\x22'+_0x1e0d70+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+_0x4d0f85(0x23c)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x5960d6[_0x4d0f85(0x1e1)])){case _0x4d0f85(0x279):_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x1d8)+_0xae12a+_0x4d0f85(0x23f)+_0x5960d6['Comment']+'\x22\x20clearable>');for(let _0x121865 of(0x0,helper_1[_0x4d0f85(0x28b)])(_0x5960d6[_0x4d0f85(0x1e1)])){_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-option\x20label=\x22'+_0x121865+'\x22\x20value=\x22'+_0x121865+'\x22\x20/>');}_0x25433f+='\x0a'+_0x4d0f85(0x263)+_0x4d0f85(0x1dd),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case'date':_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x20c)),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6['Field'])+_0x4d0f85(0x201)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x1f4)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x287)),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+_0x4d0f85(0x23c)+'\x0a';break;case _0x4d0f85(0x275):_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x1f6)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a',_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x201)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-date-picker\x20v-model=\x22search.'+_0xae12a+_0x4d0f85(0x1f4)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x21d)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case'timestamp':_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-date-picker\x20v-model=\x22search.'+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x25433f+='\x0a'+_0x4d0f85(0x216)+('<el-form-item\x20label=\x22'+(_0x5960d6['Comment']||_0x5960d6['Field'])+'<=\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+'_end\x22\x20placeholder=\x22选择'+_0x5960d6[_0x4d0f85(0x215)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case _0x4d0f85(0x22c):_0x25433f+='\x0a'+_0x4d0f85(0x216)+('<el-form-item\x20label=\x22'+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x248)+_0xae12a+'\x22\x20placeholder=\x22请输入'+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x230)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';}}}fs['mkdirSync']((0x0,path_1[_0x4d0f85(0x25d)])(_0x122d8f),{'recursive':!![]}),fs['writeFileSync'](_0x122d8f,_0x4d0f85(0x1fb)+_0x25433f+_0x4d0f85(0x22f),_0x4d0f85(0x1e0));}}async function createAddOrEdit({moduleName:_0x5c92e9,controller:_0x364f22,tablestartUpShort:_0x3c723a,tablestartUpShort2:_0x39b4b9,Primary:_0x3798fa,Fields:_0x2aa2af,apporbasic:_0x27c06a,Comment:_0x844a5b},_0x1f9aaa=a13_0x1c40f8(0x274)){const _0x110f5f=a13_0x1c40f8;let _0x336809=process[_0x110f5f(0x27e)]()+_0x110f5f(0x28a)+(typeof _0x364f22=='string'?'/'+_0x364f22:'');_0x5c92e9?_0x336809=_0x336809+('/pages/apps/'+_0x5c92e9+_0x110f5f(0x1d9)+_0x39b4b9+'/'+_0x1f9aaa+'/index.vue'):_0x336809=_0x336809+('/pages/'+_0x27c06a+'/template/'+_0x39b4b9+'/'+_0x1f9aaa+_0x110f5f(0x1d6));if(!fs[_0x110f5f(0x257)](_0x336809)){const _0x128895=(typeof _0x5c92e9==_0x110f5f(0x22c)?_0x110f5f(0x258)+_0x5c92e9+'.':'$'+_0x27c06a+_0x110f5f(0x229))+(''+_0x3c723a);let _0x41315f='';for(let _0x339cd8 in _0x2aa2af){const _0x41cd39=_0x2aa2af[_0x339cd8];if([_0x110f5f(0x1fa),_0x110f5f(0x1f0),_0x110f5f(0x235),_0x110f5f(0x238)][_0x110f5f(0x27d)](_0x339cd8)!=-0x1)continue;if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)=='imgs'||_0x339cd8[_0x110f5f(0x1d3)](-0x5)==_0x110f5f(0x23b))_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22\x20class=\x22block\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x286)+_0x339cd8+'\x22\x20:limit=\x225\x22\x20/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';else{if(_0x339cd8['substr'](-0x3)==_0x110f5f(0x220)||_0x339cd8[_0x110f5f(0x1d3)](-0x5)==_0x110f5f(0x261)||_0x339cd8==_0x110f5f(0x261)||_0x339cd8[_0x110f5f(0x1d3)](-0x4)==_0x110f5f(0x1df)||_0x339cd8==_0x110f5f(0x1df))_0x41315f+='\x0a'+_0x110f5f(0x263)+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22\x20class=\x22block\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x286)+_0x339cd8+_0x110f5f(0x21b)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)=='tags')_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x22d)+_0x339cd8+_0x110f5f(0x285)+_0x41cd39['Comment']+_0x110f5f(0x284)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8['substr'](-0x3)=='num')_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x212)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1ec)),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)==_0x110f5f(0x1fe))_0x41315f+='\x0a'+_0x110f5f(0x263)+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x223)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20clearable/>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x3)==_0x110f5f(0x222)){let _0x166556=''+(typeof _0x364f22==_0x110f5f(0x22c)?_0x364f22+'/':'')+(_0x5c92e9?_0x5c92e9+'/':'')+_0x39b4b9;_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-search\x20v-model=\x22formdata.'+_0x339cd8+'\x22\x20api=\x22'+_0x166556+_0x110f5f(0x227)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';}else switch((0x0,helper_1[_0x110f5f(0x209)])(_0x41cd39[_0x110f5f(0x1e1)])){case _0x110f5f(0x254):_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x212)+_0x339cd8+'\x22\x20placeholder=\x22请输入'+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case _0x110f5f(0x279):_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x252)+_0x339cd8+'\x22\x20placeholder=\x22请选择'+_0x41cd39['Comment']+_0x110f5f(0x236));for(let _0x16d231 of(0x0,helper_1['getEnum'])(_0x41cd39[_0x110f5f(0x1e1)])){_0x41315f+='\x0a'+_0x110f5f(0x219)+('<el-option\x20label=\x22'+_0x16d231+_0x110f5f(0x25a)+_0x16d231+_0x110f5f(0x245));}_0x41315f+='\x0a'+_0x110f5f(0x272)+'</el-select>',_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case'text':_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+_0x110f5f(0x272)+('<el-input\x20v-model=\x22formdata.'+_0x339cd8+_0x110f5f(0x28e)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x243)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x1e4):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+_0x110f5f(0x272)+('<page-editor\x20v-model=\x22formdata.'+_0x339cd8+'\x22\x20/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case'mediumtext':_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x228)+_0x339cd8+_0x110f5f(0x245)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x1f3):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x289)+_0x339cd8+_0x110f5f(0x234)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case _0x110f5f(0x275):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x289)+_0x339cd8+'\x22\x20placeholder=\x22选择'+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1de)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x214):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x289)+_0x339cd8+_0x110f5f(0x234)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1de)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;default:_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x223)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20clearable/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';}}}}}}}_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x226),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';let _0x5e251f=_0x110f5f(0x1e3);_0x5e251f+='\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22'+(_0x1f9aaa==_0x110f5f(0x274)?'添加'+_0x844a5b:'编辑'+_0x844a5b)+_0x110f5f(0x25e)+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?'add':_0x110f5f(0x26d))+_0x110f5f(0x259),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x41315f+'\x0a',_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x5e251f+=_0x110f5f(0x262)+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?_0x110f5f(0x274):_0x110f5f(0x26d))+_0x110f5f(0x277),_0x5e251f+=_0x110f5f(0x1ef),_0x5e251f+=_0x110f5f(0x208),_0x5e251f+=_0x110f5f(0x1e8),_0x5e251f+=_0x110f5f(0x1dc);if(_0x1f9aaa==_0x110f5f(0x274))_0x5e251f+=_0x110f5f(0x267)+_0x3c723a+_0x110f5f(0x26a)+(_0x5c92e9?_0x110f5f(0x210)+_0x5c92e9:_0x27c06a)+'/validators/'+_0x3c723a+_0x110f5f(0x1eb);else _0x1f9aaa=='edit'&&(_0x5e251f+=_0x110f5f(0x267)+_0x3c723a+'EditRule\x20}\x20from\x20\x27@'+(_0x5c92e9?'apps/'+_0x5c92e9:_0x27c06a)+'/validators/'+_0x3c723a+_0x110f5f(0x20e));_0x5e251f+=_0x110f5f(0x282),_0x5e251f+=_0x110f5f(0x1e9),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a',_0x5e251f+=_0x110f5f(0x237);if(_0x1f9aaa=='add')_0x5e251f+=_0x110f5f(0x265)+_0x3c723a+_0x110f5f(0x213);else _0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x265)+_0x3c723a+_0x110f5f(0x205));_0x5e251f+=_0x110f5f(0x20b),_0x5e251f+=_0x110f5f(0x268),_0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x25f),_0x5e251f+=_0x110f5f(0x224)+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x23d),_0x5e251f+=_0x110f5f(0x268)),_0x5e251f+=_0x110f5f(0x218),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x5e251f+=_0x110f5f(0x26e),_0x5e251f+=_0x110f5f(0x1da),_0x5e251f+=_0x110f5f(0x244),_0x5e251f+=_0x110f5f(0x24c),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a',_0x5e251f+=_0x110f5f(0x232),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.'+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?_0x110f5f(0x274):_0x110f5f(0x26d))+_0x110f5f(0x1f9),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20this.$router.back();\x0a',_0x5e251f+=_0x110f5f(0x246),_0x5e251f+=_0x110f5f(0x249),_0x5e251f+=_0x110f5f(0x1ff),_0x5e251f+=_0x110f5f(0x1ed),_0x5e251f+=_0x110f5f(0x20f),_0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x23e),_0x5e251f+=_0x110f5f(0x247),_0x5e251f+=_0x110f5f(0x244),_0x5e251f+=_0x110f5f(0x207)+_0x3798fa['Field']+_0x110f5f(0x278),_0x5e251f+=_0x110f5f(0x1d2)+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x278),_0x5e251f+=_0x110f5f(0x233),_0x5e251f+=_0x110f5f(0x1f2)+_0x128895+'.detail({\x20'+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x242),_0x5e251f+=_0x110f5f(0x24f),_0x5e251f+=_0x110f5f(0x276),_0x5e251f+=_0x110f5f(0x25b),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x5e251f+=_0x110f5f(0x211),_0x5e251f+=_0x110f5f(0x21f),_0x5e251f+=_0x110f5f(0x255),_0x5e251f+=_0x110f5f(0x20f)),_0x5e251f+='\x20\x20\x20\x20},\x0a',_0x5e251f+='}\x0a',_0x5e251f+=_0x110f5f(0x240),fs['mkdirSync']((0x0,path_1[_0x110f5f(0x25d)])(_0x336809),{'recursive':!![]}),fs['writeFileSync'](_0x336809,_0x5e251f,_0x110f5f(0x1e0));}}
|
|
1
|
+
function a13_0x3a59(_0x124122,_0x8d01d3){const _0x3fbe6c=a13_0x23e2();return a13_0x3a59=function(_0x3ca945,_0x371a34){_0x3ca945=_0x3ca945-0x1d5;let _0x23e202=_0x3fbe6c[_0x3ca945];return _0x23e202;},a13_0x3a59(_0x124122,_0x8d01d3);}const a13_0x546e5d=a13_0x3a59;(function(_0x3c618f,_0x38c036){const _0x68c1a8=a13_0x3a59,_0x35875e=_0x3c618f();while(!![]){try{const _0x294cb0=-parseInt(_0x68c1a8(0x233))/0x1*(-parseInt(_0x68c1a8(0x270))/0x2)+-parseInt(_0x68c1a8(0x230))/0x3*(-parseInt(_0x68c1a8(0x260))/0x4)+parseInt(_0x68c1a8(0x1fe))/0x5+parseInt(_0x68c1a8(0x28e))/0x6*(parseInt(_0x68c1a8(0x1f4))/0x7)+-parseInt(_0x68c1a8(0x1fb))/0x8*(-parseInt(_0x68c1a8(0x255))/0x9)+parseInt(_0x68c1a8(0x1ef))/0xa+-parseInt(_0x68c1a8(0x226))/0xb;if(_0x294cb0===_0x38c036)break;else _0x35875e['push'](_0x35875e['shift']());}catch(_0x12678f){_0x35875e['push'](_0x35875e['shift']());}}}(a13_0x23e2,0xb3ba5));const a13_0x371a34=(function(){let _0x340e39=!![];return function(_0x5b5713,_0x47a81b){const _0x2dfe26=_0x340e39?function(){const _0x369a09=a13_0x3a59;if(_0x47a81b){const _0x2af30e=_0x47a81b[_0x369a09(0x24d)](_0x5b5713,arguments);return _0x47a81b=null,_0x2af30e;}}:function(){};return _0x340e39=![],_0x2dfe26;};}()),a13_0x3ca945=a13_0x371a34(this,function(){const _0xbf1d21=a13_0x3a59;return a13_0x3ca945[_0xbf1d21(0x22a)]()[_0xbf1d21(0x242)](_0xbf1d21(0x21d))[_0xbf1d21(0x22a)]()[_0xbf1d21(0x286)](a13_0x3ca945)[_0xbf1d21(0x242)](_0xbf1d21(0x21d));});a13_0x3ca945();'use strict';Object[a13_0x546e5d(0x1d6)](exports,a13_0x546e5d(0x26f),{'value':!![]});const fs=require('fs'),path_1=require(a13_0x546e5d(0x21b)),helper_1=require('../helper');async function default_1({moduleName:_0x454679,controller:_0x1227e5,tablestartUpShort:_0x151734,tablestartUpShort2:_0x536327,Primary:_0x42d20d,Fields:_0x4983b0,apporbasic:_0x1fa19e,Comment:_0x64613d}){const _0x95c23e=a13_0x546e5d;await createIndex({'moduleName':_0x454679,'controller':_0x1227e5,'tablestartUpShort':_0x151734,'tablestartUpShort2':_0x536327,'Primary':_0x42d20d,'Fields':_0x4983b0,'apporbasic':_0x1fa19e}),await createSearch({'moduleName':_0x454679,'controller':_0x1227e5,'tablestartUpShort2':_0x536327,'Primary':_0x42d20d,'Fields':_0x4983b0,'apporbasic':_0x1fa19e}),await createAddOrEdit({'moduleName':_0x454679,'controller':_0x1227e5,'tablestartUpShort':_0x151734,'tablestartUpShort2':_0x536327,'Primary':_0x42d20d,'Fields':_0x4983b0,'apporbasic':_0x1fa19e,'Comment':_0x64613d},_0x95c23e(0x248)),await createAddOrEdit({'moduleName':_0x454679,'controller':_0x1227e5,'tablestartUpShort':_0x151734,'tablestartUpShort2':_0x536327,'Primary':_0x42d20d,'Fields':_0x4983b0,'apporbasic':_0x1fa19e,'Comment':_0x64613d},_0x95c23e(0x1e7));}exports[a13_0x546e5d(0x200)]=default_1;async function createIndex({moduleName:_0x2d03a9,controller:_0x5afc78,tablestartUpShort:_0x199dc2,tablestartUpShort2:_0x372d71,Primary:_0xee899a,Fields:_0x511a2f,apporbasic:_0x5bb216}){const _0x348f83=a13_0x546e5d;let _0x15076e=process[_0x348f83(0x211)]()+_0x348f83(0x27d)+(typeof _0x5afc78=='string'?'/'+_0x5afc78:'');_0x2d03a9?_0x15076e=_0x15076e+('/pages/apps/'+_0x2d03a9+_0x348f83(0x223)+_0x372d71+_0x348f83(0x229)):_0x15076e=_0x15076e+(_0x348f83(0x27e)+_0x5bb216+_0x348f83(0x223)+_0x372d71+'/list/index.vue');if(!fs[_0x348f83(0x231)](_0x15076e)){const _0x45bd11=(typeof _0x2d03a9==_0x348f83(0x271)?'$appsApi.'+_0x2d03a9+'.':'$'+_0x5bb216+_0x348f83(0x1dc))+(''+_0x199dc2);let _0x5dcdab=_0x348f83(0x265)+('\x22'+_0xee899a[_0x348f83(0x275)]+'\x22')[_0x348f83(0x22b)](0x14)+(_0x348f83(0x214)+(_0xee899a[_0x348f83(0x213)]||'编号')+_0x348f83(0x26d));for(let _0x2218a2 in _0x511a2f){const _0x279f3e=_0x511a2f[_0x2218a2];if([_0x348f83(0x238),_0x348f83(0x20f),_0x348f83(0x279),_0x348f83(0x1e1)][_0x348f83(0x23d)](_0x2218a2)!=-0x1)continue;if(_0x2218a2[_0x348f83(0x256)](-0x3)==_0x348f83(0x227)||_0x2218a2['substr'](-0x5)=='thumb'||_0x2218a2==_0x348f83(0x1f2)||_0x2218a2[_0x348f83(0x256)](-0x4)==_0x348f83(0x219)||_0x2218a2==_0x348f83(0x219))_0x5dcdab+='\x0a'+_0x348f83(0x1f3)+'<el-table-column\x20prop='+('\x22'+_0x2218a2+'\x22')[_0x348f83(0x22b)](0x14)+(_0x348f83(0x214)+(_0x279f3e[_0x348f83(0x213)]||_0x279f3e[_0x348f83(0x275)])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x5dcdab+='\x0a'+_0x348f83(0x1f0)+_0x348f83(0x1e2),_0x5dcdab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x348f83(0x1e3),_0x5dcdab+='\x0a'+_0x348f83(0x1fc)+('<a\x20:href=\x22scope.row.'+_0x2218a2+'\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>'),_0x5dcdab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x348f83(0x20e)+_0x2218a2+_0x348f83(0x1e6)),_0x5dcdab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x348f83(0x224),_0x5dcdab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x348f83(0x1eb),_0x5dcdab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x348f83(0x20e)+_0x2218a2+_0x348f83(0x22f)),_0x5dcdab+='\x0a'+_0x348f83(0x1fc)+'</template>',_0x5dcdab+='\x0a'+_0x348f83(0x28b)+'</el-popover>',_0x5dcdab+='\x0a'+_0x348f83(0x1f0)+_0x348f83(0x240),_0x5dcdab+='\x0a'+_0x348f83(0x1f3)+_0x348f83(0x243);else[_0x348f83(0x262),_0x348f83(0x1f1)][_0x348f83(0x23d)]((0x0,helper_1['getProp'])(_0x279f3e[_0x348f83(0x236)]))==-0x1&&(_0x5dcdab+='\x0a'+_0x348f83(0x1f3)+_0x348f83(0x265)+('\x22'+_0x2218a2+'\x22')[_0x348f83(0x22b)](0x14)+(_0x348f83(0x214)+(_0x279f3e['Comment']||_0x279f3e[_0x348f83(0x275)])+_0x348f83(0x23f)));}fs['mkdirSync']((0x0,path_1[_0x348f83(0x206)])(_0x15076e),{'recursive':!![]}),fs[_0x348f83(0x1e0)](_0x15076e,'<template>\x0a\x20\x20\x20\x20<page\x20:loading=\x22loading\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<page-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20@transform=\x22LoadDatas\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#search>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<search\x20v-model:search=\x22table.search\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#header>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22'+_0x45bd11+_0x348f83(0x288)+(_0x2d03a9?'apps-'+_0x2d03a9+'/':_0x5bb216+'/')+_0x372d71+_0x348f83(0x252)+_0x5dcdab+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22'+_0x45bd11+_0x348f83(0x234)+(_0x2d03a9?_0x348f83(0x212)+_0x2d03a9+'/':_0x5bb216+'/')+_0x372d71+_0x348f83(0x24f)+_0xee899a[_0x348f83(0x275)]+'=${scope.row.'+_0xee899a[_0x348f83(0x275)]+'}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22'+_0x45bd11+_0x348f83(0x277)+_0x45bd11+_0x348f83(0x204)+_0xee899a[_0x348f83(0x275)]+_0x348f83(0x1de)+_0x45bd11+'.remove({\x20'+_0xee899a[_0x348f83(0x275)]+_0x348f83(0x210)+_0xee899a['Field']+'\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>',_0x348f83(0x235));}}async function createSearch({moduleName:_0x2873a7,tablestartUpShort2:_0x2b4a37,controller:_0x2e1149,Primary:_0x5cf465,Fields:_0x367949,apporbasic:_0x5371c9}){const _0x2f1a3f=a13_0x546e5d;let _0x196fed=process[_0x2f1a3f(0x211)]()+_0x2f1a3f(0x27d)+(typeof _0x2e1149=='string'?'/'+_0x2e1149:'');_0x2873a7?_0x196fed=_0x196fed+(_0x2f1a3f(0x26b)+_0x2873a7+_0x2f1a3f(0x223)+_0x2b4a37+_0x2f1a3f(0x20c)):_0x196fed=_0x196fed+('/pages/'+_0x5371c9+_0x2f1a3f(0x223)+_0x2b4a37+_0x2f1a3f(0x20c));if(!fs[_0x2f1a3f(0x231)](_0x196fed)){let _0x51152c='';_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+('<el-form-item\x20label=\x22'+(_0x5cf465[_0x2f1a3f(0x213)]||'编号')+'\x22>'),_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+(_0x2f1a3f(0x25b)+_0x5cf465[_0x2f1a3f(0x275)]+_0x2f1a3f(0x278)+(_0x5cf465['Comment']||'编号')+_0x2f1a3f(0x24c)),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+_0x2f1a3f(0x228);for(let _0x185fac in _0x367949){const _0x25f6fe=_0x367949[_0x185fac];if([_0x2f1a3f(0x20f),_0x2f1a3f(0x279),_0x2f1a3f(0x1e1)]['indexOf'](_0x185fac)!=-0x1)continue;if(_0x185fac['substr'](-0x3)==_0x2f1a3f(0x1ff))_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+('<el-form-item\x20label=\x22'+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe['Field'])+'\x22>'),_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+('<el-input-number\x20v-model=\x22search.'+_0x185fac+_0x2f1a3f(0x278)+_0x25f6fe['Comment']+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>'),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+'</el-form-item>'+'\x0a';else{if(_0x185fac[_0x2f1a3f(0x218)](_0x2f1a3f(0x258))){let _0x3558dd=''+(typeof _0x2e1149==_0x2f1a3f(0x271)?_0x2e1149+'/':'')+(_0x2873a7?_0x2873a7+'/':'')+_0x2b4a37;_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe['Field'])+'\x22>'),_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x1e8)+_0x185fac+_0x2f1a3f(0x21c)+_0x3558dd+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+_0x2f1a3f(0x228)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x25f6fe['Type'])){case'enum':_0x51152c+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe['Field'])+'\x22>'),_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+(_0x2f1a3f(0x221)+_0x185fac+_0x2f1a3f(0x1dd)+_0x25f6fe[_0x2f1a3f(0x213)]+_0x2f1a3f(0x216));for(let _0x153c09 of(0x0,helper_1[_0x2f1a3f(0x247)])(_0x25f6fe[_0x2f1a3f(0x236)])){_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x20b)+_0x153c09+_0x2f1a3f(0x27b)+_0x153c09+_0x2f1a3f(0x250));}_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+_0x2f1a3f(0x201),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+_0x2f1a3f(0x228)+'\x0a';break;case'date':_0x51152c+='\x0a'+'\x20\x20\x20\x20'+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe['Field'])+_0x2f1a3f(0x274)),_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x27c)+_0x185fac+_0x2f1a3f(0x209)+_0x25f6fe['Comment']+_0x2f1a3f(0x217)),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+_0x2f1a3f(0x228)+'\x0a',_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe[_0x2f1a3f(0x275)])+_0x2f1a3f(0x1d8)),_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+(_0x2f1a3f(0x27c)+_0x185fac+_0x2f1a3f(0x254)+_0x25f6fe[_0x2f1a3f(0x213)]+_0x2f1a3f(0x244)),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+'</el-form-item>'+'\x0a';break;case _0x2f1a3f(0x24e):_0x51152c+='\x0a'+'\x20\x20\x20\x20'+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe['Field'])+_0x2f1a3f(0x274)),_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x27c)+_0x185fac+'_start\x22\x20placeholder=\x22选择'+_0x25f6fe[_0x2f1a3f(0x213)]+_0x2f1a3f(0x21e)),_0x51152c+='\x0a'+'\x20\x20\x20\x20'+_0x2f1a3f(0x228)+'\x0a',_0x51152c+='\x0a'+'\x20\x20\x20\x20'+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe[_0x2f1a3f(0x275)])+_0x2f1a3f(0x1d8)),_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x27c)+_0x185fac+_0x2f1a3f(0x254)+_0x25f6fe[_0x2f1a3f(0x213)]+_0x2f1a3f(0x205)),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+_0x2f1a3f(0x228)+'\x0a';break;case _0x2f1a3f(0x249):_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe['Field'])+_0x2f1a3f(0x274)),_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x27c)+_0x185fac+_0x2f1a3f(0x209)+_0x25f6fe['Comment']+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+_0x2f1a3f(0x228)+'\x0a',_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+('<el-form-item\x20label=\x22'+(_0x25f6fe['Comment']||_0x25f6fe[_0x2f1a3f(0x275)])+_0x2f1a3f(0x1d8)),_0x51152c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2f1a3f(0x27c)+_0x185fac+_0x2f1a3f(0x254)+_0x25f6fe['Comment']+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+_0x2f1a3f(0x228)+'\x0a';break;case _0x2f1a3f(0x271):_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+(_0x2f1a3f(0x23a)+(_0x25f6fe[_0x2f1a3f(0x213)]||_0x25f6fe[_0x2f1a3f(0x275)])+'\x22>'),_0x51152c+='\x0a'+_0x2f1a3f(0x20a)+(_0x2f1a3f(0x25b)+_0x185fac+_0x2f1a3f(0x278)+_0x25f6fe['Comment']+_0x2f1a3f(0x24c)),_0x51152c+='\x0a'+_0x2f1a3f(0x21a)+'</el-form-item>'+'\x0a';}}}fs[_0x2f1a3f(0x1f9)]((0x0,path_1[_0x2f1a3f(0x206)])(_0x196fed),{'recursive':!![]}),fs['writeFileSync'](_0x196fed,_0x2f1a3f(0x1e5)+_0x51152c+_0x2f1a3f(0x28a),_0x2f1a3f(0x235));}}function a13_0x23e2(){const _0x5dd469=['\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','319689UzwHtB','existsSync','/index.vue','6216WRRXUS','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','utf-8','Type','.hasPrem()\x22>\x0a','created_at','<script>\x0a','<el-form-item\x20label=\x22','</script>\x0a','getProp','indexOf','EditRule\x20}\x20from\x20\x27@','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','</template>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','search','</el-table-column>','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20data(){\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','getEnum','add','timestamp','imgs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a','\x22\x20clearable/>','apply','datetime','/edit?','\x22\x20/>','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>','_end\x22\x20placeholder=\x22选择','306bDrmkg','substr','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','_id','\x20\x20\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.formdata\x20=\x20res.data,\x20this.loading\x20=\x20false;\x0a','<el-input\x20v-model=\x22search.','<template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','\x22\x20:limit=\x221\x22\x20/>','12VuErJC','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','text','<page-editor\x20v-model=\x22formdata.',');\x0a','<el-table-column\x20prop=','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','enum','</template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','.detail({\x20','/pages/apps/','<el-input\x20v-model=\x22formdata.','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','__esModule','222NFaIbv','string','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20}).then(res=>{\x0a','>=\x22>','Field','<page-images\x20v-model=\x22formdata.','.remove.hasPrem()\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</page-table>\x0a\x20\x20\x20\x20</page>\x0a</template>\x0a<script>\x0aimport\x20search\x20from\x20\x22./components/search.vue\x22\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20components:\x20{\x20search\x20},\x0a\x20\x20\x20\x20data(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20table:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data:[],\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_page:1,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_size:20,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_count:0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20mounted()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20Object.assign(this.table.search,this.$route.params,this.$route.query),this.LoadDatas();\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20methods:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取数据列表\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20page\x20分页-当前页\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20LoadDatas(page\x20,\x20size,\x20sortable\x20=\x20{}){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page\x20&&\x20(this.table.search._page\x20=\x20page),size\x20&&\x20(this.table.search._size\x20=\x20size),this.loading\x20=\x20true;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x22\x20placeholder=\x22请输入','deleted_at','import\x20{\x20','\x22\x20value=\x22','<el-date-picker\x20v-model=\x22search.','/vue','/pages/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','AddRule,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20placeholder=\x22选择','thumbs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','constructor','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','.add.hasPrem()\x22\x20@click=\x22$router.push(`/',')\x20{\x0a','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20this.$router.back();\x0a','<el-select-search\x20v-model=\x22formdata.','320328bOKFhK','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20this.$router.back();\x0a','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','<el-input-number\x20v-model=\x22formdata.','defineProperty','\x22\x20:limit=\x225\x22\x20/>','<=\x22>','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','/edit\x27\x0a','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a','Api.','\x22\x20placeholder=\x22请选择','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x22\x20class=\x22block\x22>','writeFileSync','displayorder','<template\x20#default=\x22scope\x22>','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','apps/','<template>\x0a\x20\x20\x20\x20','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','edit','<el-select-search\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','<template\x20#reference>','number','/validators/','\x22\x20prop=\x22','1790770zpSwmW','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','longtext','thumb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','175jqfcXV','mediumtext','AddRule\x20}\x20from\x20\x27@','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20methods:\x20{\x0a','mkdirSync','EditRule,\x0a','313760pXpUzg','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20mounted(){\x0a','3202260bGzLsv','num','default','</el-select>','<el-date-picker\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','.list(Object.assign({},\x20this.table.search,\x20sortable)).then(res=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.table.data\x20=\x20res.data\x20||\x20[],\x20this.table.search\x20=\x20{\x20...this.table.search,\x20...res.extra.pageinfo,\x20_count:\x20res.extra.pagetotal\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要删除的数据\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20handlerRemove(item){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20item.','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','dirname','export\x20default\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','_start\x22\x20placeholder=\x22选择','\x20\x20\x20\x20\x20\x20\x20\x20','<el-option\x20label=\x22','/list/components/search.vue','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','<img\x20:src=\x22scope.row.','updated_at',':\x20item.','cwd','apps-','Comment','\x20label=\x22','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','\x22\x20clearable>','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','endsWith','logo','\x20\x20\x20\x20','path','\x22\x20api=\x22','(((.+)+)+)+$','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','<el-select\x20v-model=\x22formdata.','<el-select\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','/template/','</a>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','41373299JDbGsv','img','</el-form-item>','/list/index.vue','toString','padEnd'];a13_0x23e2=function(){return _0x5dd469;};return a13_0x23e2();}async function createAddOrEdit({moduleName:_0x88ec29,controller:_0x32c36d,tablestartUpShort:_0x2aca0a,tablestartUpShort2:_0x2441ca,Primary:_0x3cbcf5,Fields:_0x144b75,apporbasic:_0x492a22,Comment:_0x1399f6},_0x1d662c=a13_0x546e5d(0x248)){const _0x4bc5d8=a13_0x546e5d;let _0x2c6cf4=process['cwd']()+_0x4bc5d8(0x27d)+(typeof _0x32c36d=='string'?'/'+_0x32c36d:'');_0x88ec29?_0x2c6cf4=_0x2c6cf4+(_0x4bc5d8(0x26b)+_0x88ec29+_0x4bc5d8(0x223)+_0x2441ca+'/'+_0x1d662c+'/index.vue'):_0x2c6cf4=_0x2c6cf4+(_0x4bc5d8(0x27e)+_0x492a22+_0x4bc5d8(0x223)+_0x2441ca+'/'+_0x1d662c+_0x4bc5d8(0x232));if(!fs[_0x4bc5d8(0x231)](_0x2c6cf4)){const _0x1ea166=(typeof _0x88ec29==_0x4bc5d8(0x271)?'$appsApi.'+_0x88ec29+'.':'$'+_0x492a22+_0x4bc5d8(0x1dc))+(''+_0x2aca0a);let _0xa3c1ca='';for(let _0x59924a in _0x144b75){const _0x516a7a=_0x144b75[_0x59924a];if([_0x4bc5d8(0x238),_0x4bc5d8(0x20f),_0x4bc5d8(0x279),_0x4bc5d8(0x1e1)]['indexOf'](_0x59924a)!=-0x1)continue;if(_0x59924a[_0x4bc5d8(0x256)](-0x4)==_0x4bc5d8(0x24a)||_0x59924a[_0x4bc5d8(0x256)](-0x5)==_0x4bc5d8(0x284))_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a['Comment']||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+_0x4bc5d8(0x1df)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x276)+_0x59924a+_0x4bc5d8(0x1d7)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';else{if(_0x59924a[_0x4bc5d8(0x256)](-0x3)=='img'||_0x59924a['substr'](-0x5)==_0x4bc5d8(0x1f2)||_0x59924a=='thumb'||_0x59924a[_0x4bc5d8(0x256)](-0x4)==_0x4bc5d8(0x219)||_0x59924a=='logo')_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a['Comment']||_0x516a7a[_0x4bc5d8(0x275)])+'\x22\x20prop=\x22'+_0x59924a+'\x22\x20class=\x22block\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+('<page-images\x20v-model=\x22formdata.'+_0x59924a+_0x4bc5d8(0x25f)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';else{if(_0x59924a[_0x4bc5d8(0x256)](-0x4)=='tags')_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a['Comment']||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-tags\x20v-model=\x22formdata.'+_0x59924a+'\x22\x20placeholder=\x22请输入或选择'+_0x516a7a[_0x4bc5d8(0x213)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';else{if(_0x59924a[_0x4bc5d8(0x256)](-0x3)=='num')_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a['Field'])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x1d5)+_0x59924a+_0x4bc5d8(0x278)+_0x516a7a[_0x4bc5d8(0x213)]+_0x4bc5d8(0x272)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';else{if(_0x59924a[_0x4bc5d8(0x256)](-0x4)=='_ids')_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+('<el-form-item\x20label=\x22'+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x26c)+_0x59924a+_0x4bc5d8(0x278)+_0x516a7a[_0x4bc5d8(0x213)]+'\x22\x20clearable/>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+'</el-form-item>'+'\x0a';else{if(_0x59924a[_0x4bc5d8(0x256)](-0x3)=='_id'){let _0x27cd2f=''+(typeof _0x32c36d==_0x4bc5d8(0x271)?_0x32c36d+'/':'')+(_0x88ec29?_0x88ec29+'/':'')+_0x2441ca;_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+('<el-form-item\x20label=\x22'+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a['Field'])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x28d)+_0x59924a+_0x4bc5d8(0x21c)+_0x27cd2f+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0x4bc5d8(0x23c)])(_0x516a7a['Type'])){case _0x4bc5d8(0x1ec):_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a[_0x4bc5d8(0x275)])+'\x22\x20prop=\x22'+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x1d5)+_0x59924a+_0x4bc5d8(0x278)+_0x516a7a[_0x4bc5d8(0x213)]+_0x4bc5d8(0x253)),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4bc5d8(0x228)+'\x0a';break;case _0x4bc5d8(0x267):_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x220)+_0x59924a+_0x4bc5d8(0x1dd)+_0x516a7a[_0x4bc5d8(0x213)]+'\x22\x20clearable>');for(let _0x165752 of(0x0,helper_1[_0x4bc5d8(0x247)])(_0x516a7a[_0x4bc5d8(0x236)])){_0xa3c1ca+='\x0a'+_0x4bc5d8(0x1f3)+('<el-option\x20label=\x22'+_0x165752+_0x4bc5d8(0x27b)+_0x165752+'\x22\x20/>');}_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+_0x4bc5d8(0x201),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';break;case _0x4bc5d8(0x262):_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22\x20class=\x22block\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+('<el-input\x20v-model=\x22formdata.'+_0x59924a+'\x22\x20\x20placeholder=\x22请输入'+_0x516a7a['Comment']+_0x4bc5d8(0x1f7)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';break;case _0x4bc5d8(0x1f1):_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+_0x4bc5d8(0x1df)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x263)+_0x59924a+_0x4bc5d8(0x250)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';break;case _0x4bc5d8(0x1f5):_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+('<el-form-item\x20label=\x22'+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a['Field'])+_0x4bc5d8(0x1ee)+_0x59924a+_0x4bc5d8(0x1df)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x263)+_0x59924a+'\x22\x20/>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+'</el-form-item>'+'\x0a';break;case'date':_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+(_0x4bc5d8(0x23a)+(_0x516a7a['Comment']||_0x516a7a[_0x4bc5d8(0x275)])+_0x4bc5d8(0x1ee)+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x202)+_0x59924a+'\x22\x20placeholder=\x22选择'+_0x516a7a[_0x4bc5d8(0x213)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';break;case _0x4bc5d8(0x24e):_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a['Field'])+'\x22\x20prop=\x22'+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x202)+_0x59924a+_0x4bc5d8(0x283)+_0x516a7a['Comment']+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';break;case _0x4bc5d8(0x249):_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a['Field'])+'\x22\x20prop=\x22'+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22formdata.'+_0x59924a+_0x4bc5d8(0x283)+_0x516a7a[_0x4bc5d8(0x213)]+_0x4bc5d8(0x282)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';break;default:_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bc5d8(0x23a)+(_0x516a7a[_0x4bc5d8(0x213)]||_0x516a7a[_0x4bc5d8(0x275)])+'\x22\x20prop=\x22'+_0x59924a+'\x22>'),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+(_0x4bc5d8(0x26c)+_0x59924a+_0x4bc5d8(0x278)+_0x516a7a[_0x4bc5d8(0x213)]+_0x4bc5d8(0x24c)),_0xa3c1ca+='\x0a'+_0x4bc5d8(0x20a)+_0x4bc5d8(0x228)+'\x0a';}}}}}}}_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0xa3c1ca+='\x0a'+_0x4bc5d8(0x266)+_0x4bc5d8(0x287),_0xa3c1ca+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4bc5d8(0x228)+'\x0a';let _0x27f6b3=_0x4bc5d8(0x25c);_0x27f6b3+=_0x4bc5d8(0x215)+(_0x1d662c==_0x4bc5d8(0x248)?'添加'+_0x1399f6:'编辑'+_0x1399f6)+_0x4bc5d8(0x251)+_0x1ea166+'.'+(_0x1d662c==_0x4bc5d8(0x248)?_0x4bc5d8(0x248):_0x4bc5d8(0x1e7))+_0x4bc5d8(0x237),_0x27f6b3+=_0x4bc5d8(0x20a)+_0xa3c1ca+'\x0a',_0x27f6b3+=_0x4bc5d8(0x203),_0x27f6b3+=_0x4bc5d8(0x257)+_0x1ea166+'.'+(_0x1d662c=='add'?_0x4bc5d8(0x248):_0x4bc5d8(0x1e7))+_0x4bc5d8(0x1db),_0x27f6b3+=_0x4bc5d8(0x1d9),_0x27f6b3+='\x20\x20\x20\x20</page-form>\x0a',_0x27f6b3+=_0x4bc5d8(0x268),_0x27f6b3+=_0x4bc5d8(0x239);if(_0x1d662c==_0x4bc5d8(0x248))_0x27f6b3+='import\x20{\x20'+_0x2aca0a+_0x4bc5d8(0x1f6)+(_0x88ec29?_0x4bc5d8(0x1e4)+_0x88ec29:_0x492a22)+_0x4bc5d8(0x1ed)+_0x2aca0a+'/add\x27\x0a';else _0x1d662c==_0x4bc5d8(0x1e7)&&(_0x27f6b3+=_0x4bc5d8(0x27a)+_0x2aca0a+_0x4bc5d8(0x23e)+(_0x88ec29?_0x4bc5d8(0x1e4)+_0x88ec29:_0x492a22)+_0x4bc5d8(0x1ed)+_0x2aca0a+_0x4bc5d8(0x1da));_0x27f6b3+=_0x4bc5d8(0x207),_0x27f6b3+=_0x4bc5d8(0x245),_0x27f6b3+=_0x4bc5d8(0x25d),_0x27f6b3+=_0x4bc5d8(0x241),_0x27f6b3+=_0x4bc5d8(0x27f);if(_0x1d662c==_0x4bc5d8(0x248))_0x27f6b3+=_0x4bc5d8(0x20d)+_0x2aca0a+_0x4bc5d8(0x280);else _0x1d662c==_0x4bc5d8(0x1e7)&&(_0x27f6b3+=_0x4bc5d8(0x20d)+_0x2aca0a+_0x4bc5d8(0x1fa));_0x27f6b3+=_0x4bc5d8(0x222),_0x27f6b3+=_0x4bc5d8(0x259),_0x1d662c==_0x4bc5d8(0x1e7)&&(_0x27f6b3+=_0x4bc5d8(0x1fd),_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.'+_0x3cbcf5[_0x4bc5d8(0x275)]+_0x4bc5d8(0x264),_0x27f6b3+=_0x4bc5d8(0x259)),_0x27f6b3+=_0x4bc5d8(0x1f8),_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a',_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a',_0x27f6b3+=_0x4bc5d8(0x22d),_0x27f6b3+=_0x4bc5d8(0x291),_0x27f6b3+=_0x4bc5d8(0x28f),_0x27f6b3+=_0x4bc5d8(0x22e),_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.'+_0x1ea166+'.'+(_0x1d662c=='add'?_0x4bc5d8(0x248):_0x4bc5d8(0x1e7))+'(item).then(res=>{\x0a',_0x27f6b3+=_0x4bc5d8(0x28c),_0x27f6b3+=_0x4bc5d8(0x1e9),_0x27f6b3+=_0x4bc5d8(0x1ea),_0x27f6b3+=_0x4bc5d8(0x26e),_0x27f6b3+=_0x4bc5d8(0x281),_0x27f6b3+=_0x4bc5d8(0x269),_0x1d662c==_0x4bc5d8(0x1e7)&&(_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x27f6b3+=_0x4bc5d8(0x22c),_0x27f6b3+=_0x4bc5d8(0x22d),_0x27f6b3+=_0x4bc5d8(0x21f)+_0x3cbcf5[_0x4bc5d8(0x275)]+')\x20{\x0a',_0x27f6b3+=_0x4bc5d8(0x25e)+_0x3cbcf5[_0x4bc5d8(0x275)]+_0x4bc5d8(0x289),_0x27f6b3+=_0x4bc5d8(0x208),_0x27f6b3+=_0x4bc5d8(0x246)+_0x1ea166+_0x4bc5d8(0x26a)+_0x3cbcf5['Field']+_0x4bc5d8(0x273),_0x27f6b3+=_0x4bc5d8(0x25a),_0x27f6b3+=_0x4bc5d8(0x285),_0x27f6b3+=_0x4bc5d8(0x290),_0x27f6b3+=_0x4bc5d8(0x24b),_0x27f6b3+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a',_0x27f6b3+=_0x4bc5d8(0x225),_0x27f6b3+=_0x4bc5d8(0x261),_0x27f6b3+=_0x4bc5d8(0x269)),_0x27f6b3+=_0x4bc5d8(0x259),_0x27f6b3+='}\x0a',_0x27f6b3+=_0x4bc5d8(0x23b),fs[_0x4bc5d8(0x1f9)]((0x0,path_1['dirname'])(_0x2c6cf4),{'recursive':!![]}),fs[_0x4bc5d8(0x1e0)](_0x2c6cf4,_0x27f6b3,_0x4bc5d8(0x235));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x44a22b=a14_0x20b6;(function(_0x448027,_0x1d3c60){const _0x346429=a14_0x20b6,_0x5dd209=_0x448027();while(!![]){try{const _0x58cf6b=parseInt(_0x346429(0x10a))/0x1+-parseInt(_0x346429(0x10e))/0x2+parseInt(_0x346429(0x100))/0x3+parseInt(_0x346429(0x124))/0x4*(-parseInt(_0x346429(0x101))/0x5)+-parseInt(_0x346429(0x115))/0x6*(-parseInt(_0x346429(0x112))/0x7)+-parseInt(_0x346429(0xfe))/0x8*(parseInt(_0x346429(0x12a))/0x9)+parseInt(_0x346429(0x120))/0xa;if(_0x58cf6b===_0x1d3c60)break;else _0x5dd209['push'](_0x5dd209['shift']());}catch(_0xe08dd2){_0x5dd209['push'](_0x5dd209['shift']());}}}(a14_0x3631,0xed9a3));const a14_0x1c9b45=(function(){let _0x53b88d=!![];return function(_0x38b2e4,_0x29d299){const _0x3c44db=_0x53b88d?function(){const _0x4dba35=a14_0x20b6;if(_0x29d299){const _0x36c591=_0x29d299[_0x4dba35(0x116)](_0x38b2e4,arguments);return _0x29d299=null,_0x36c591;}}:function(){};return _0x53b88d=![],_0x3c44db;};}()),a14_0x3fd2ce=a14_0x1c9b45(this,function(){const _0x5c06cf=a14_0x20b6;return a14_0x3fd2ce[_0x5c06cf(0x121)]()[_0x5c06cf(0x109)]('(((.+)+)+)+$')[_0x5c06cf(0x121)]()[_0x5c06cf(0x104)](a14_0x3fd2ce)[_0x5c06cf(0x109)](_0x5c06cf(0x11a));});a14_0x3fd2ce();function a14_0x20b6(_0x29c37d,_0x974bf){const _0x4964b1=a14_0x3631();return a14_0x20b6=function(_0x3fd2ce,_0x1c9b45){_0x3fd2ce=_0x3fd2ce-0xfc;let _0x36317a=_0x4964b1[_0x3fd2ce];return _0x36317a;},a14_0x20b6(_0x29c37d,_0x974bf);}'use strict';Object[a14_0x44a22b(0x114)](exports,a14_0x44a22b(0x108),{'value':!![]});const fs=require('fs'),path_1=require(a14_0x44a22b(0x10b));async function default_1({tablestartUpShort2:_0xc72aa4,moduleName:_0x3ee7a0,controller:_0x3748a3,Comment:_0x3b3d27,apporbasic:_0x4d2887,Primary:_0xf18d1c}){await createRoutes({'tablestartUpShort2':_0xc72aa4,'moduleName':_0x3ee7a0,'controller':_0x3748a3,'Comment':_0x3b3d27,'apporbasic':_0x4d2887,'Primary':_0xf18d1c});}exports[a14_0x44a22b(0x119)]=default_1;function a14_0x3631(){const _0x32edd6=['17535890cqQPGi','toString','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','utf-8','352yEjuPs','cwd','apps-','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','mkdirSync','\x20\x20\x20\x20path:\x20\x22/','2025yAXKmT',',\x20component:\x20()=>\x20import(\x27./template/','replace','28872dLSyZo','/pages/','3114111iOHtPp','48115xlqACw','string','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','constructor','existsSync','writeFileSync','{\x20path:\x20\x22','__esModule','search','779777UkUcWJ','path','/routes.js','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','3884402KaiAWJ','/pages/apps/','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','//\x20add\x20route\x20here','132454MDRJFC','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','defineProperty','318JvpCWx','apply','export\x20default\x20{\x0a','/edit\x22','default','(((.+)+)+)+$','\x22,\x0a','/add\x22','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','readFileSync','padEnd'];a14_0x3631=function(){return _0x32edd6;};return a14_0x3631();}async function createRoutes({tablestartUpShort2:_0x201c27,moduleName:_0x4cb331,controller:_0x5a7986,Comment:_0x3f3d10,apporbasic:_0x4af803,Primary:_0x38e032}){const _0x437ba6=a14_0x44a22b;let _0x18e460=process[_0x437ba6(0x125)]()+'/vue'+(typeof _0x5a7986==_0x437ba6(0x102)?'/'+_0x5a7986:'');_0x4cb331?_0x18e460=_0x18e460+(_0x437ba6(0x10f)+_0x4cb331+'/routes.js'):_0x18e460=_0x18e460+(_0x437ba6(0xff)+_0x4af803+_0x437ba6(0x10c));if(!fs[_0x437ba6(0x105)](_0x18e460)){let _0x1915ae=_0x437ba6(0x122);_0x1915ae+=_0x437ba6(0x117),_0x1915ae+=_0x437ba6(0x129)+(_0x4cb331?_0x437ba6(0x126)+_0x4cb331+'/':_0x4af803+'/')+_0x437ba6(0x11b),_0x1915ae+='\x20\x20\x20\x20//\x20redirect:\x20\x22/'+(_0x4cb331?_0x437ba6(0x126)+_0x4cb331+'/':_0x4af803+'/')+_0x437ba6(0x11b),_0x1915ae+='\x20\x20\x20\x20component:\x20layout,\x0a',_0x1915ae+='\x20\x20\x20\x20children:[\x0a',_0x1915ae+=_0x437ba6(0x127),_0x1915ae+='\x20\x20\x20\x20]\x0a',_0x1915ae+='}\x0a',fs[_0x437ba6(0x128)]((0x0,path_1['dirname'])(_0x18e460),{'recursive':!![]}),fs['writeFileSync'](_0x18e460,_0x1915ae,_0x437ba6(0x123));}const _0x51e304=fs[_0x437ba6(0x11e)](_0x18e460,'utf-8');fs[_0x437ba6(0x106)](_0x18e460,_0x51e304['replace'](_0x437ba6(0x111),_0x437ba6(0x107)+(_0x201c27+'\x22')[_0x437ba6(0x11f)](0x14)+(_0x437ba6(0xfc)+_0x201c27+_0x437ba6(0x10d)+_0x3f3d10+_0x437ba6(0x103)))[_0x437ba6(0xfd)](_0x437ba6(0x111),_0x437ba6(0x107)+(_0x201c27+_0x437ba6(0x11c))['padEnd'](0x14)+(_0x437ba6(0xfc)+_0x201c27+'/add/index.vue\x27),meta:\x20{\x20name:\x20\x22'+_0x3f3d10+_0x437ba6(0x110)))[_0x437ba6(0xfd)]('//\x20add\x20route\x20here',_0x437ba6(0x107)+(_0x201c27+_0x437ba6(0x118))['padEnd'](0x14)+(_0x437ba6(0xfc)+_0x201c27+_0x437ba6(0x113)+_0x3f3d10+_0x437ba6(0x11d))));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15_0x232988=a15_0x544a;(function(_0x56b3d1,_0x317490){const _0x5426e8=a15_0x544a,_0x4aa60f=_0x56b3d1();while(!![]){try{const _0x3a9305=parseInt(_0x5426e8(0x1af))/0x1*(-parseInt(_0x5426e8(0x1b3))/0x2)+-parseInt(_0x5426e8(0x1c8))/0x3*(parseInt(_0x5426e8(0x1a5))/0x4)+parseInt(_0x5426e8(0x185))/0x5+parseInt(_0x5426e8(0x1bd))/0x6*(-parseInt(_0x5426e8(0x1a4))/0x7)+-parseInt(_0x5426e8(0x1c2))/0x8+parseInt(_0x5426e8(0x199))/0x9*(parseInt(_0x5426e8(0x1ca))/0xa)+parseInt(_0x5426e8(0x1cb))/0xb;if(_0x3a9305===_0x317490)break;else _0x4aa60f['push'](_0x4aa60f['shift']());}catch(_0x8e83f){_0x4aa60f['push'](_0x4aa60f['shift']());}}}(a15_0x5ed6,0x835ba));const a15_0x4f2a07=(function(){let _0x114bb7=!![];return function(_0x9f96e,_0x331496){const _0x6705eb=_0x114bb7?function(){const _0x502f42=a15_0x544a;if(_0x331496){const _0x1bd60e=_0x331496[_0x502f42(0x1c9)](_0x9f96e,arguments);return _0x331496=null,_0x1bd60e;}}:function(){};return _0x114bb7=![],_0x6705eb;};}()),a15_0x430831=a15_0x4f2a07(this,function(){const _0x3f7452=a15_0x544a;return a15_0x430831[_0x3f7452(0x18b)]()[_0x3f7452(0x190)](_0x3f7452(0x1c6))[_0x3f7452(0x18b)]()[_0x3f7452(0x19d)](a15_0x430831)['search']('(((.+)+)+)+$');});a15_0x430831();'use strict';Object[a15_0x232988(0x1a2)](exports,a15_0x232988(0x1bb),{'value':!![]});function a15_0x544a(_0x33aed1,_0x3ff735){const _0xb5995f=a15_0x5ed6();return a15_0x544a=function(_0x430831,_0x4f2a07){_0x430831=_0x430831-0x17c;let _0x5ed694=_0xb5995f[_0x430831];return _0x5ed694;},a15_0x544a(_0x33aed1,_0x3ff735);}const fs=require('fs'),helper_1=require(a15_0x232988(0x197));async function default_1({tablestartUpShort:_0x3e8f64,tablestartUpShort2:_0x18e483,moduleName:_0x2a6623,controller:_0x13778c,Comment:_0x552ed3,apporbasic:_0x7ed0d9,Primary:_0x19bda7,Fields:_0x424f7b}){const _0x44a4b7=a15_0x232988;let _0x233e7b=process[_0x44a4b7(0x17d)]()+_0x44a4b7(0x184)+(typeof _0x13778c=='string'?'/'+_0x13778c:'');_0x2a6623?_0x233e7b=_0x233e7b+(_0x44a4b7(0x19c)+_0x2a6623+_0x44a4b7(0x1be)+_0x3e8f64):_0x233e7b=_0x233e7b+(_0x44a4b7(0x1b9)+_0x7ed0d9+_0x44a4b7(0x1be)+_0x3e8f64),!fs[_0x44a4b7(0x182)](_0x233e7b)&&fs[_0x44a4b7(0x1c7)](_0x233e7b,{'recursive':!![]}),await CreateRule(_0x233e7b,{'tablestartUpShort':_0x3e8f64,'Comment':_0x552ed3,'Fields':_0x424f7b}),await updateRule(_0x233e7b,{'tablestartUpShort':_0x3e8f64,'Comment':_0x552ed3,'Fields':_0x424f7b});}exports[a15_0x232988(0x1a0)]=default_1;async function CreateRule(_0x31abf7,{tablestartUpShort:_0x8aa4f2,Comment:_0x266de4,Fields:_0x255b3e}){const _0x64ff57=a15_0x232988,_0x3b676c=_0x31abf7+_0x64ff57(0x1b2);if(!fs[_0x64ff57(0x182)](_0x3b676c)){let _0x3e1824='',_0x2d07b9='';for(let _0x396b46 in _0x255b3e){let _0xcb8dcb=_0x255b3e[_0x396b46],_0x81f984=(0x0,helper_1[_0x64ff57(0x193)])(_0xcb8dcb[_0x64ff57(0x1b8)]);if(_0xcb8dcb['Field']==_0x64ff57(0x1a8)||_0xcb8dcb['Field']=='created_at'||_0xcb8dcb[_0x64ff57(0x1b6)]==_0x64ff57(0x1b7)||_0xcb8dcb[_0x64ff57(0x1b6)]=='deleted_at')continue;if([_0x64ff57(0x188),_0x64ff57(0x196),_0x64ff57(0x187)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb['Field']+_0x64ff57(0x1b4),_0xcb8dcb['Null']!=_0x64ff57(0x1ab)&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if(['float',_0x64ff57(0x180),'decimal',_0x64ff57(0x192)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+='\x20\x20\x20\x20//\x20'+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0xcb8dcb['Null']!='YES'&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if([_0x64ff57(0x17f)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+':\x20[\x0a',_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb['Comment']+_0x64ff57(0x19e),_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if(_0x81f984==_0x64ff57(0x1ae))_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+':\x20[\x0a',_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb['Comment']+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!='YES'?_0x64ff57(0x1c3):_0x64ff57(0x181))+'\x20},\x0a'),_0x3e1824+=_0x64ff57(0x1c5);else{if(_0x81f984=='enum'){let _0x1948d6=(0x0,helper_1[_0x64ff57(0x1c4)])(_0xcb8dcb[_0x64ff57(0x1b8)]);_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb['Comment']+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x18a)+_0x1948d6[_0x64ff57(0x1ba)](_0x64ff57(0x1a6))+_0x64ff57(0x183),_0xcb8dcb['Null']!=_0x64ff57(0x1ab)&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):'true')+'\x20},\x0a'),_0x3e1824+=_0x64ff57(0x1c5);}else['date',_0x64ff57(0x195),_0x64ff57(0x1c1)][_0x64ff57(0x1aa)](_0x81f984)>-0x1?(_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb['Comment']+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0xcb8dcb['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?'false':_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5)):(_0x3e1824+='\x20\x20\x20\x20//\x20'+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1a9),_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):'true')+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5));}}}}}_0x2d07b9+='\x0a',_0x2d07b9+=_0x64ff57(0x189),_0x2d07b9+='\x20*\x20'+_0x266de4+'\x0a',_0x2d07b9+=_0x64ff57(0x198),_0x2d07b9+=_0x64ff57(0x1a3),_0x2d07b9+='export\x20const\x20'+_0x8aa4f2+_0x64ff57(0x1bc),_0x2d07b9+='%RuleColumn%',_0x2d07b9+=_0x64ff57(0x1b5),_0x2d07b9=_0x2d07b9['replace'](_0x64ff57(0x18d),_0x3e1824),fs[_0x64ff57(0x1c0)](_0x3b676c,_0x2d07b9,'utf-8');}}function a15_0x5ed6(){const _0x1fe47d=['\x20*\x20数据添加验证\x0a','1768887RcVOua','`,\x20type:\x20\x22date\x22\x20},\x0a','\x20\x20\x20\x20','/pages/apps/','constructor','`,\x20type:\x20\x22number\x22\x20},\x0a','Comment','default','deleted_at','defineProperty','\x20*\x20**/\x0a','7FXBVRx','85764qLJpNK','\x27,\x20\x27','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','displayorder','`,\x20type:\x20\x22string\x22\x20},\x0a','indexOf','YES','enum','Null','json','1685andQFv','utf-8','不能为空`,\x20required:\x20','/add.js','1124YpcKfr',':\x20[\x0a','}\x0a\x0a','Field','updated_at','Type','/pages/','join','__esModule','AddRule\x20=\x20{\x0a','4838334sOXAEn','/validators/','\x20},\x0a','writeFileSync','timestamp','3346440npikEf','false','getEnum','\x20\x20\x20\x20],\x0a\x0a','(((.+)+)+)+$','mkdirSync','147HnxJZB','apply','30qRiKSe','30368173heRBsW','EditRule\x20=\x20{\x0a','/edit.js','cwd','decimal','tinyint','double','true','existsSync','\x27]\x20},\x0a','/vue','2049715SByTrY','replace','mediumtext','text','/**\x0a','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','toString','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','%RuleColumn%','\x20*\x20数据更新验证\x0a','date','search','float','number','getProp','\x20\x20\x20\x20//\x20','datetime','longtext','../helper'];a15_0x5ed6=function(){return _0x1fe47d;};return a15_0x5ed6();}async function updateRule(_0x5e32b8,{tablestartUpShort:_0x58dbf9,Comment:_0x4df99f,Fields:_0x511928}){const _0x5abe1c=a15_0x232988,_0x414dd0=_0x5e32b8+_0x5abe1c(0x17c);if(!fs[_0x5abe1c(0x182)](_0x414dd0)){let _0x119b53='',_0x33c473='';for(let _0x5e8757 in _0x511928){let _0x376500=_0x511928[_0x5e8757],_0xa00418=(0x0,helper_1[_0x5abe1c(0x193)])(_0x376500[_0x5abe1c(0x1b8)]);if(_0x376500['Field']=='displayorder'||_0x376500[_0x5abe1c(0x1b6)]=='created_at'||_0x376500[_0x5abe1c(0x1b6)]==_0x5abe1c(0x1b7)||_0x376500[_0x5abe1c(0x1b6)]==_0x5abe1c(0x1a1))continue;if([_0x5abe1c(0x188),'longtext',_0x5abe1c(0x187)][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x376500[_0x5abe1c(0x1ad)]!='YES'&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+'不能为空`,\x20required:\x20'+(_0x376500['Null']!='YES'?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x5abe1c(0x191),'double',_0x5abe1c(0x17e),'number'][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x19e),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x376500['Comment']+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if([_0x5abe1c(0x17f)][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+':\x20[\x0a',_0x119b53+=_0x5abe1c(0x1a7)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x19e),_0x376500[_0x5abe1c(0x1ad)]!='YES'&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500['Comment']+'不能为空`,\x20required:\x20'+(_0x376500[_0x5abe1c(0x1ad)]!='YES'?'false':'true')+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if(_0xa00418==_0x5abe1c(0x1ae))_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500['Field']+':\x20[\x0a',_0x376500['Null']!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x1b1)+(_0x376500['Null']!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):'true')+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if(_0xa00418==_0x5abe1c(0x1ac)){let _0x5d1ae0=(0x0,helper_1[_0x5abe1c(0x1c4)])(_0x376500[_0x5abe1c(0x1b8)]);_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x18a)+_0x5d1ae0['join'](_0x5abe1c(0x1a6))+_0x5abe1c(0x183),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+'不能为空`,\x20required:\x20'+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+'\x20},\x0a'),_0x119b53+=_0x5abe1c(0x1c5);}else[_0x5abe1c(0x18f),_0x5abe1c(0x195),'timestamp'][_0x5abe1c(0x1aa)](_0xa00418)>-0x1?(_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+='\x20\x20\x20\x20'+_0x376500[_0x5abe1c(0x1b6)]+':\x20[\x0a',_0x119b53+=_0x5abe1c(0x1a7)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x19a),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+'\x20},\x0a'),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a'):(_0x119b53+=_0x5abe1c(0x194)+_0x376500['Comment']+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500['Field']+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x1a9),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500['Comment']+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?'false':_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x33c473+='\x0a',_0x33c473+=_0x5abe1c(0x189),_0x33c473+='\x20*\x20'+_0x4df99f+'\x0a',_0x33c473+=_0x5abe1c(0x18e),_0x33c473+=_0x5abe1c(0x1a3),_0x33c473+='export\x20const\x20'+_0x58dbf9+_0x5abe1c(0x1cc),_0x33c473+=_0x5abe1c(0x18d),_0x33c473+=_0x5abe1c(0x1b5),_0x33c473=_0x33c473[_0x5abe1c(0x186)](_0x5abe1c(0x18d),_0x119b53),fs['writeFileSync'](_0x414dd0,_0x33c473,_0x5abe1c(0x1b0));}}
|
|
1
|
+
function a15_0x5a5a(_0x5dfb10,_0x5f2ad9){const _0x496706=a15_0x38db();return a15_0x5a5a=function(_0xf3288,_0x170dc4){_0xf3288=_0xf3288-0xd0;let _0x38dbbf=_0x496706[_0xf3288];return _0x38dbbf;},a15_0x5a5a(_0x5dfb10,_0x5f2ad9);}const a15_0x1725ca=a15_0x5a5a;(function(_0x3c630d,_0xa737c5){const _0x3283a2=a15_0x5a5a,_0x337245=_0x3c630d();while(!![]){try{const _0x1fa79d=-parseInt(_0x3283a2(0xec))/0x1*(parseInt(_0x3283a2(0xf1))/0x2)+-parseInt(_0x3283a2(0xf9))/0x3+parseInt(_0x3283a2(0x11a))/0x4*(-parseInt(_0x3283a2(0x107))/0x5)+-parseInt(_0x3283a2(0xf7))/0x6*(-parseInt(_0x3283a2(0xeb))/0x7)+parseInt(_0x3283a2(0x10f))/0x8*(-parseInt(_0x3283a2(0xd7))/0x9)+-parseInt(_0x3283a2(0xf5))/0xa*(-parseInt(_0x3283a2(0x104))/0xb)+parseInt(_0x3283a2(0xe3))/0xc*(parseInt(_0x3283a2(0xdc))/0xd);if(_0x1fa79d===_0xa737c5)break;else _0x337245['push'](_0x337245['shift']());}catch(_0x1184fe){_0x337245['push'](_0x337245['shift']());}}}(a15_0x38db,0x4dc20));const a15_0x170dc4=(function(){let _0x1278d9=!![];return function(_0x30f06a,_0x43d0e5){const _0x1e35e4=_0x1278d9?function(){const _0xfb7b50=a15_0x5a5a;if(_0x43d0e5){const _0x59f06d=_0x43d0e5[_0xfb7b50(0x102)](_0x30f06a,arguments);return _0x43d0e5=null,_0x59f06d;}}:function(){};return _0x1278d9=![],_0x1e35e4;};}()),a15_0xf3288=a15_0x170dc4(this,function(){const _0x43d8e6=a15_0x5a5a;return a15_0xf3288[_0x43d8e6(0xd5)]()[_0x43d8e6(0xe5)](_0x43d8e6(0xfc))[_0x43d8e6(0xd5)]()[_0x43d8e6(0xfb)](a15_0xf3288)['search'](_0x43d8e6(0xfc));});a15_0xf3288();function a15_0x38db(){const _0x5c52e0=['\x20*\x20数据更新验证\x0a','text','6960JIblqa','__esModule','/vue','tinyint','mediumtext','\x20},\x0a','/pages/apps/','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','`,\x20type:\x20\x22string\x22\x20},\x0a','getProp','\x20\x20\x20\x20//\x20','4bvRrHb','\x27,\x20\x27',':\x20[\x0a','/validators/','created_at','deleted_at','Null','writeFileSync','\x20\x20\x20\x20],\x0a\x0a','Comment','\x27]\x20},\x0a','updated_at','toString','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','9YjvNOF','\x20*\x20','YES','timestamp','Type','1651PRauPl','number','/edit.js','不能为空`,\x20required:\x20','export\x20const\x20','replace','indexOf','72948sTKzeL','getEnum','search','date','utf-8','string','displayorder','../helper','4362939AYJQCp','324641URAoBz','true','json','longtext','false','2XEDMkr','float','/pages/','AddRule\x20=\x20{\x0a','421480bMLskk','cwd','6AFEBFA','\x20*\x20**/\x0a','1840800hETzLK','`,\x20type:\x20\x22date\x22\x20},\x0a','constructor','(((.+)+)+)+$','enum','`,\x20type:\x20\x22number\x22\x20},\x0a','existsSync','%RuleColumn%','datetime','apply','\x20\x20\x20\x20','22opzDCw','/add.js','\x20*\x20数据添加验证\x0a','1109995CVeIbQ','double','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','decimal','Field','join'];a15_0x38db=function(){return _0x5c52e0;};return a15_0x38db();}'use strict';Object['defineProperty'](exports,a15_0x1725ca(0x110),{'value':!![]});const fs=require('fs'),helper_1=require(a15_0x1725ca(0xea));async function default_1({tablestartUpShort:_0x1b993e,tablestartUpShort2:_0x1e01e7,moduleName:_0x116f8b,controller:_0x677b29,Comment:_0x2edf00,apporbasic:_0x2da818,Primary:_0x14048d,Fields:_0x37a617}){const _0x3d2b30=a15_0x1725ca;let _0x568202=process[_0x3d2b30(0xf6)]()+_0x3d2b30(0x111)+(typeof _0x677b29==_0x3d2b30(0xe8)?'/'+_0x677b29:'');_0x116f8b?_0x568202=_0x568202+(_0x3d2b30(0x115)+_0x116f8b+_0x3d2b30(0x11d)+_0x1b993e):_0x568202=_0x568202+(_0x3d2b30(0xf3)+_0x2da818+_0x3d2b30(0x11d)+_0x1b993e),!fs['existsSync'](_0x568202)&&fs['mkdirSync'](_0x568202,{'recursive':!![]}),await CreateRule(_0x568202,{'tablestartUpShort':_0x1b993e,'Comment':_0x2edf00,'Fields':_0x37a617}),await updateRule(_0x568202,{'tablestartUpShort':_0x1b993e,'Comment':_0x2edf00,'Fields':_0x37a617});}exports['default']=default_1;async function CreateRule(_0x1a692f,{tablestartUpShort:_0x5e72d0,Comment:_0x223db2,Fields:_0x364211}){const _0x46938f=a15_0x1725ca,_0x2fb6aa=_0x1a692f+_0x46938f(0x105);if(!fs[_0x46938f(0xff)](_0x2fb6aa)){let _0x253501='',_0xba53ff='';for(let _0x1ed18c in _0x364211){let _0x2da638=_0x364211[_0x1ed18c],_0x56798b=(0x0,helper_1[_0x46938f(0x118)])(_0x2da638[_0x46938f(0xdb)]);if(_0x2da638[_0x46938f(0x10b)]==_0x46938f(0xe9)||_0x2da638[_0x46938f(0x10b)]==_0x46938f(0x11e)||_0x2da638['Field']==_0x46938f(0xd4)||_0x2da638[_0x46938f(0x10b)]==_0x46938f(0x11f))continue;if([_0x46938f(0x10e),_0x46938f(0xef),_0x46938f(0x113)][_0x46938f(0xe2)](_0x56798b)!=-0x1)_0x253501+=_0x46938f(0x119)+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+=_0x46938f(0x103)+_0x2da638['Field']+_0x46938f(0x11c),_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)&&(_0x253501+=_0x46938f(0x109)+_0x2da638[_0x46938f(0xd2)]+'不能为空`,\x20required:\x20'+(_0x2da638[_0x46938f(0x120)]!='YES'?'false':_0x46938f(0xed))+_0x46938f(0x114)),_0x253501+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x46938f(0xf2),_0x46938f(0x108),_0x46938f(0x10a),_0x46938f(0xdd)][_0x46938f(0xe2)](_0x56798b)!=-0x1)_0x253501+=_0x46938f(0x119)+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+=_0x46938f(0x103)+_0x2da638[_0x46938f(0x10b)]+_0x46938f(0x11c),_0x253501+=_0x46938f(0x116)+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xfe),_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)&&(_0x253501+=_0x46938f(0x109)+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xdf)+(_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)?_0x46938f(0xf0):_0x46938f(0xed))+_0x46938f(0x114)),_0x253501+=_0x46938f(0xd1);else{if(['tinyint'][_0x46938f(0xe2)](_0x56798b)!=-0x1)_0x253501+=_0x46938f(0x119)+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+=_0x46938f(0x103)+_0x2da638[_0x46938f(0x10b)]+_0x46938f(0x11c),_0x253501+=_0x46938f(0x116)+_0x2da638['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)&&(_0x253501+=_0x46938f(0x109)+_0x2da638['Comment']+_0x46938f(0xdf)+(_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)?'false':_0x46938f(0xed))+_0x46938f(0x114)),_0x253501+=_0x46938f(0xd1);else{if(_0x56798b=='json')_0x253501+=_0x46938f(0x119)+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+=_0x46938f(0x103)+_0x2da638[_0x46938f(0x10b)]+':\x20[\x0a',_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)&&(_0x253501+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xdf)+(_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)?_0x46938f(0xf0):'true')+'\x20},\x0a'),_0x253501+=_0x46938f(0xd1);else{if(_0x56798b==_0x46938f(0xfd)){let _0x55697d=(0x0,helper_1[_0x46938f(0xe4)])(_0x2da638[_0x46938f(0xdb)]);_0x253501+=_0x46938f(0x119)+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+='\x20\x20\x20\x20'+_0x2da638[_0x46938f(0x10b)]+_0x46938f(0x11c),_0x253501+=_0x46938f(0x116)+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xd6)+_0x55697d[_0x46938f(0x10c)](_0x46938f(0x11b))+_0x46938f(0xd3),_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)&&(_0x253501+=_0x46938f(0x109)+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xdf)+(_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)?_0x46938f(0xf0):'true')+_0x46938f(0x114)),_0x253501+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x46938f(0xe6),_0x46938f(0x101),_0x46938f(0xda)][_0x46938f(0xe2)](_0x56798b)>-0x1?(_0x253501+='\x20\x20\x20\x20//\x20'+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+=_0x46938f(0x103)+_0x2da638['Field']+_0x46938f(0x11c),_0x253501+=_0x46938f(0x116)+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xfa),_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)&&(_0x253501+=_0x46938f(0x109)+_0x2da638['Comment']+'不能为空`,\x20required:\x20'+(_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)?_0x46938f(0xf0):_0x46938f(0xed))+_0x46938f(0x114)),_0x253501+=_0x46938f(0xd1)):(_0x253501+=_0x46938f(0x119)+_0x2da638[_0x46938f(0xd2)]+'\x0a',_0x253501+='\x20\x20\x20\x20'+_0x2da638[_0x46938f(0x10b)]+_0x46938f(0x11c),_0x253501+=_0x46938f(0x116)+_0x2da638[_0x46938f(0xd2)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x2da638[_0x46938f(0x120)]!='YES'&&(_0x253501+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2da638[_0x46938f(0xd2)]+_0x46938f(0xdf)+(_0x2da638[_0x46938f(0x120)]!=_0x46938f(0xd9)?_0x46938f(0xf0):_0x46938f(0xed))+'\x20},\x0a'),_0x253501+=_0x46938f(0xd1));}}}}}_0xba53ff+='\x0a',_0xba53ff+='/**\x0a',_0xba53ff+=_0x46938f(0xd8)+_0x223db2+'\x0a',_0xba53ff+=_0x46938f(0x106),_0xba53ff+='\x20*\x20**/\x0a',_0xba53ff+=_0x46938f(0xe0)+_0x5e72d0+_0x46938f(0xf4),_0xba53ff+=_0x46938f(0x100),_0xba53ff+='}\x0a\x0a',_0xba53ff=_0xba53ff[_0x46938f(0xe1)](_0x46938f(0x100),_0x253501),fs[_0x46938f(0xd0)](_0x2fb6aa,_0xba53ff,_0x46938f(0xe7));}}async function updateRule(_0x1f020c,{tablestartUpShort:_0x23c6e4,Comment:_0x597275,Fields:_0x200199}){const _0x3a991b=a15_0x1725ca,_0x7e7630=_0x1f020c+_0x3a991b(0xde);if(!fs['existsSync'](_0x7e7630)){let _0x1fa243='',_0x29bb61='';for(let _0x2d0351 in _0x200199){let _0x4c2168=_0x200199[_0x2d0351],_0x583e03=(0x0,helper_1[_0x3a991b(0x118)])(_0x4c2168[_0x3a991b(0xdb)]);if(_0x4c2168[_0x3a991b(0x10b)]==_0x3a991b(0xe9)||_0x4c2168['Field']==_0x3a991b(0x11e)||_0x4c2168['Field']==_0x3a991b(0xd4)||_0x4c2168[_0x3a991b(0x10b)]==_0x3a991b(0x11f))continue;if([_0x3a991b(0x10e),_0x3a991b(0xef),_0x3a991b(0x113)]['indexOf'](_0x583e03)!=-0x1)_0x1fa243+='\x20\x20\x20\x20//\x20'+_0x4c2168[_0x3a991b(0xd2)]+'\x0a',_0x1fa243+=_0x3a991b(0x103)+_0x4c2168[_0x3a991b(0x10b)]+_0x3a991b(0x11c),_0x4c2168[_0x3a991b(0x120)]!='YES'&&(_0x1fa243+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xdf)+(_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)?_0x3a991b(0xf0):_0x3a991b(0xed))+_0x3a991b(0x114)),_0x1fa243+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x3a991b(0xf2),_0x3a991b(0x108),_0x3a991b(0x10a),_0x3a991b(0xdd)][_0x3a991b(0xe2)](_0x583e03)!=-0x1)_0x1fa243+=_0x3a991b(0x119)+_0x4c2168[_0x3a991b(0xd2)]+'\x0a',_0x1fa243+=_0x3a991b(0x103)+_0x4c2168[_0x3a991b(0x10b)]+_0x3a991b(0x11c),_0x1fa243+=_0x3a991b(0x116)+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xfe),_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)&&(_0x1fa243+=_0x3a991b(0x109)+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xdf)+(_0x4c2168['Null']!=_0x3a991b(0xd9)?'false':'true')+_0x3a991b(0x114)),_0x1fa243+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x3a991b(0x112)][_0x3a991b(0xe2)](_0x583e03)!=-0x1)_0x1fa243+=_0x3a991b(0x119)+_0x4c2168[_0x3a991b(0xd2)]+'\x0a',_0x1fa243+=_0x3a991b(0x103)+_0x4c2168[_0x3a991b(0x10b)]+':\x20[\x0a',_0x1fa243+=_0x3a991b(0x116)+_0x4c2168['Comment']+_0x3a991b(0xfe),_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)&&(_0x1fa243+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xdf)+(_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)?'false':_0x3a991b(0xed))+_0x3a991b(0x114)),_0x1fa243+=_0x3a991b(0xd1);else{if(_0x583e03==_0x3a991b(0xee))_0x1fa243+=_0x3a991b(0x119)+_0x4c2168[_0x3a991b(0xd2)]+'\x0a',_0x1fa243+=_0x3a991b(0x103)+_0x4c2168[_0x3a991b(0x10b)]+_0x3a991b(0x11c),_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)&&(_0x1fa243+=_0x3a991b(0x109)+_0x4c2168['Comment']+_0x3a991b(0xdf)+(_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)?'false':'true')+_0x3a991b(0x114)),_0x1fa243+=_0x3a991b(0xd1);else{if(_0x583e03==_0x3a991b(0xfd)){let _0x1c95bf=(0x0,helper_1['getEnum'])(_0x4c2168[_0x3a991b(0xdb)]);_0x1fa243+=_0x3a991b(0x119)+_0x4c2168[_0x3a991b(0xd2)]+'\x0a',_0x1fa243+='\x20\x20\x20\x20'+_0x4c2168[_0x3a991b(0x10b)]+_0x3a991b(0x11c),_0x1fa243+=_0x3a991b(0x116)+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xd6)+_0x1c95bf[_0x3a991b(0x10c)](_0x3a991b(0x11b))+'\x27]\x20},\x0a',_0x4c2168[_0x3a991b(0x120)]!='YES'&&(_0x1fa243+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xdf)+(_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)?_0x3a991b(0xf0):_0x3a991b(0xed))+_0x3a991b(0x114)),_0x1fa243+=_0x3a991b(0xd1);}else[_0x3a991b(0xe6),'datetime',_0x3a991b(0xda)][_0x3a991b(0xe2)](_0x583e03)>-0x1?(_0x1fa243+=_0x3a991b(0x119)+_0x4c2168['Comment']+'\x0a',_0x1fa243+=_0x3a991b(0x103)+_0x4c2168['Field']+_0x3a991b(0x11c),_0x1fa243+=_0x3a991b(0x116)+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xfa),_0x4c2168['Null']!=_0x3a991b(0xd9)&&(_0x1fa243+=_0x3a991b(0x109)+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0xdf)+(_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)?_0x3a991b(0xf0):_0x3a991b(0xed))+_0x3a991b(0x114)),_0x1fa243+=_0x3a991b(0xd1)):(_0x1fa243+=_0x3a991b(0x119)+_0x4c2168[_0x3a991b(0xd2)]+'\x0a',_0x1fa243+=_0x3a991b(0x103)+_0x4c2168[_0x3a991b(0x10b)]+_0x3a991b(0x11c),_0x1fa243+=_0x3a991b(0x116)+_0x4c2168[_0x3a991b(0xd2)]+_0x3a991b(0x117),_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)&&(_0x1fa243+=_0x3a991b(0x109)+_0x4c2168[_0x3a991b(0xd2)]+'不能为空`,\x20required:\x20'+(_0x4c2168[_0x3a991b(0x120)]!=_0x3a991b(0xd9)?_0x3a991b(0xf0):_0x3a991b(0xed))+_0x3a991b(0x114)),_0x1fa243+=_0x3a991b(0xd1));}}}}}_0x29bb61+='\x0a',_0x29bb61+='/**\x0a',_0x29bb61+=_0x3a991b(0xd8)+_0x597275+'\x0a',_0x29bb61+=_0x3a991b(0x10d),_0x29bb61+=_0x3a991b(0xf8),_0x29bb61+='export\x20const\x20'+_0x23c6e4+'EditRule\x20=\x20{\x0a',_0x29bb61+='%RuleColumn%',_0x29bb61+='}\x0a\x0a',_0x29bb61=_0x29bb61[_0x3a991b(0xe1)](_0x3a991b(0x100),_0x1fa243),fs[_0x3a991b(0xd0)](_0x7e7630,_0x29bb61,_0x3a991b(0xe7));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16_0x13b7(){const _0x3aeb87=['search','cwd','141qKXqzj','@修改\x0a','text','Field','8XtdphJ','4690255ojsYFX','9224256smttQP','apply','/apis/','utf-8','\x20\x20\x20\x20return\x20request(`POST`,\x20`','/detail/${','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','7471521evwCNO','@详情\x0a','}`,\x20params)\x0a','../../','defineProperty','../helper','/list`,\x20params)\x0a','(((.+)+)+)+$','/apis/apps/','10438827LbGdJF',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','toString','Edit(','\x20\x20\x20\x20return\x20request(`GET`,\x20`','.ts','Type','constructor','}\x0a\x0a','default','47792TPtsnO','}`)\x0a','writeFileSync','/vue','/remove`,\x20params)\x0a','string','export\x20function\x20','449304LtktVe','getProp','mediumtext','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','//\x20','Detail(','number','1518192kAiNFq','import\x20{\x20request\x20}\x20from\x20\x27','/add`,\x20params)\x0a','request\x27;\x0a\x0a','dirname'];a16_0x13b7=function(){return _0x3aeb87;};return a16_0x13b7();}const a16_0x2b20c4=a16_0x2b96;(function(_0x2afe8f,_0x277a11){const _0x557f74=a16_0x2b96,_0x54196f=_0x2afe8f();while(!![]){try{const _0x163711=-parseInt(_0x557f74(0x1b7))/0x1+-parseInt(_0x557f74(0x1b0))/0x2*(-parseInt(_0x557f74(0x18f))/0x3)+parseInt(_0x557f74(0x1be))/0x4+-parseInt(_0x557f74(0x194))/0x5+-parseInt(_0x557f74(0x195))/0x6+parseInt(_0x557f74(0x1a5))/0x7+parseInt(_0x557f74(0x193))/0x8*(parseInt(_0x557f74(0x19c))/0x9);if(_0x163711===_0x277a11)break;else _0x54196f['push'](_0x54196f['shift']());}catch(_0x12d74d){_0x54196f['push'](_0x54196f['shift']());}}}(a16_0x13b7,0xdb91f));const a16_0x310bd1=(function(){let _0x4b260e=!![];return function(_0x3d878b,_0x187fc0){const _0x4cd2e7=_0x4b260e?function(){const _0x7317a9=a16_0x2b96;if(_0x187fc0){const _0x30997a=_0x187fc0[_0x7317a9(0x196)](_0x3d878b,arguments);return _0x187fc0=null,_0x30997a;}}:function(){};return _0x4b260e=![],_0x4cd2e7;};}()),a16_0x77f62b=a16_0x310bd1(this,function(){const _0x4017da=a16_0x2b96;return a16_0x77f62b[_0x4017da(0x1a8)]()[_0x4017da(0x18d)](_0x4017da(0x1a3))[_0x4017da(0x1a8)]()[_0x4017da(0x1ad)](a16_0x77f62b)[_0x4017da(0x18d)]('(((.+)+)+)+$');});a16_0x77f62b();function a16_0x2b96(_0x422b9a,_0x3eae88){const _0x21e8d2=a16_0x13b7();return a16_0x2b96=function(_0x77f62b,_0x310bd1){_0x77f62b=_0x77f62b-0x18b;let _0x13b7e2=_0x21e8d2[_0x77f62b];return _0x13b7e2;},a16_0x2b96(_0x422b9a,_0x3eae88);}'use strict';Object[a16_0x2b20c4(0x1a0)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require('path'),helper_1=require(a16_0x2b20c4(0x1a1));async function default_1({tablestartUpShort:_0x1e3cac,tablestartUpShort2:_0x18209e,moduleName:_0x34e7a2,controller:_0x3565a2,Comment:_0x3c5878,apporbasic:_0x3c404e,Primary:_0x5e8e29}){const _0x36031d=a16_0x2b20c4;let _0x3876d8=process[_0x36031d(0x18e)]()+_0x36031d(0x1b3)+(typeof _0x3565a2==_0x36031d(0x1b5)?'/'+_0x3565a2:'');_0x34e7a2?_0x3876d8=_0x3876d8+(_0x36031d(0x1a4)+_0x34e7a2+'/'+_0x1e3cac+_0x36031d(0x1ab)):_0x3876d8=_0x3876d8+(_0x36031d(0x197)+_0x3c404e+'/'+_0x1e3cac+_0x36031d(0x1ab));if(!fs['existsSync'](_0x3876d8)){const _0x5f3f35=[_0x36031d(0x191),_0x36031d(0x1b9),_0x36031d(0x1b5)]['indexOf']((0x0,helper_1[_0x36031d(0x1b8)])(_0x5e8e29[_0x36031d(0x1ac)]))==-0x1,_0x331532=''+(typeof _0x3565a2=='string'?_0x3565a2+'/':'')+(_0x34e7a2?_0x34e7a2+'/':'')+_0x18209e;let _0x2729ba=_0x36031d(0x1bf)+(_0x34e7a2?_0x36031d(0x19f):'../')+_0x36031d(0x18b);_0x2729ba+=_0x36031d(0x1bb)+_0x3c5878+_0x36031d(0x19d),_0x2729ba+=_0x36031d(0x1b6)+_0x1e3cac+_0x36031d(0x1bc)+_0x5e8e29[_0x36031d(0x192)]+':\x20'+(_0x5f3f35?_0x36031d(0x1bd):_0x36031d(0x1b5))+')\x20{\x0a',_0x2729ba+=_0x36031d(0x1aa)+_0x331532+_0x36031d(0x19a)+_0x5e8e29[_0x36031d(0x192)]+_0x36031d(0x1b1),_0x2729ba+=_0x36031d(0x1ae),_0x2729ba+=_0x36031d(0x1bb)+_0x3c5878+'@添加\x0a',_0x2729ba+=_0x36031d(0x1b6)+_0x1e3cac+_0x36031d(0x1ba),_0x2729ba+=_0x36031d(0x199)+_0x331532+_0x36031d(0x1c0),_0x2729ba+=_0x36031d(0x1ae),_0x2729ba+=_0x36031d(0x1bb)+_0x3c5878+_0x36031d(0x190),_0x2729ba+=_0x36031d(0x1b6)+_0x1e3cac+_0x36031d(0x1a9)+_0x5e8e29[_0x36031d(0x192)]+':\x20'+(_0x5f3f35?_0x36031d(0x1bd):'string')+_0x36031d(0x1a6),_0x2729ba+=_0x36031d(0x199)+_0x331532+'/edit/${'+_0x5e8e29[_0x36031d(0x192)]+_0x36031d(0x19e),_0x2729ba+=_0x36031d(0x1ae),_0x2729ba+=_0x36031d(0x1bb)+_0x3c5878+'@列表\x0a',_0x2729ba+='export\x20function\x20'+_0x1e3cac+_0x36031d(0x1a7),_0x2729ba+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x331532+_0x36031d(0x1a2),_0x2729ba+=_0x36031d(0x1ae),_0x2729ba+='//\x20'+_0x3c5878+'@删除\x0a',_0x2729ba+='export\x20function\x20'+_0x1e3cac+_0x36031d(0x19b),_0x2729ba+=_0x36031d(0x199)+_0x331532+_0x36031d(0x1b4),_0x2729ba+='}\x0a\x0a',fs['mkdirSync']((0x0,path_1[_0x36031d(0x18c)])(_0x3876d8),{'recursive':!![]}),fs[_0x36031d(0x1b2)](_0x3876d8,_0x2729ba,_0x36031d(0x198));}}exports[a16_0x2b20c4(0x1af)]=default_1;
|