anncic-apihelper 3.7.39 → 3.7.40

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.
@@ -1 +1 @@
1
- const a10_0x85bf24=a10_0x3b48;(function(_0x168de4,_0x352005){const _0x3b1daa=a10_0x3b48,_0x35681b=_0x168de4();while(!![]){try{const _0x346555=-parseInt(_0x3b1daa(0x178))/0x1+-parseInt(_0x3b1daa(0x188))/0x2+parseInt(_0x3b1daa(0x167))/0x3*(-parseInt(_0x3b1daa(0x174))/0x4)+parseInt(_0x3b1daa(0x186))/0x5+-parseInt(_0x3b1daa(0x149))/0x6+-parseInt(_0x3b1daa(0x1bc))/0x7*(-parseInt(_0x3b1daa(0x177))/0x8)+parseInt(_0x3b1daa(0x1a4))/0x9;if(_0x346555===_0x352005)break;else _0x35681b['push'](_0x35681b['shift']());}catch(_0x5d5f9){_0x35681b['push'](_0x35681b['shift']());}}}(a10_0x1df9,0xf2140));const a10_0x39bf79=(function(){let _0x12da5e=!![];return function(_0x53025a,_0x3e5466){const _0x583390=_0x12da5e?function(){if(_0x3e5466){const _0xfc6f6b=_0x3e5466['apply'](_0x53025a,arguments);return _0x3e5466=null,_0xfc6f6b;}}:function(){};return _0x12da5e=![],_0x583390;};}()),a10_0x3353fd=a10_0x39bf79(this,function(){const _0x8a7385=a10_0x3b48;return a10_0x3353fd[_0x8a7385(0x180)]()[_0x8a7385(0x179)](_0x8a7385(0x184))[_0x8a7385(0x180)]()[_0x8a7385(0x1b5)](a10_0x3353fd)[_0x8a7385(0x179)](_0x8a7385(0x184));});function a10_0x3b48(_0x264171,_0x5ef16a){const _0x410f9f=a10_0x1df9();return a10_0x3b48=function(_0x3353fd,_0x39bf79){_0x3353fd=_0x3353fd-0x147;let _0x1df9f6=_0x410f9f[_0x3353fd];return _0x1df9f6;},a10_0x3b48(_0x264171,_0x5ef16a);}a10_0x3353fd();'use strict';Object['defineProperty'](exports,a10_0x85bf24(0x153),{'value':!![]});const fs=require('fs'),helper_1=require('../helper');async function default_1({controllers:_0x208ff0,tablestartUp:_0x29189c,tablestartUpShort:_0x135acf,basedir:_0x50a84f,Primary:_0x70412a,Fields:_0x2dcc31,Comment:_0x498378,moduleName:_0x27c14a,apporbasic:_0x334acb}){const _0x142432=a10_0x85bf24,_0x11a1b9=_0x50a84f+(_0x142432(0x15b)+_0x135acf);!fs['existsSync'](_0x11a1b9)&&fs[_0x142432(0x147)](_0x11a1b9,{'recursive':!![]}),await DTOCreate({'controllers':_0x208ff0,'tablestartUp':_0x29189c,'tablestartUpShort':_0x135acf,'basedir':_0x50a84f,'Fields':_0x2dcc31,'Comment':_0x498378,'moduleName':_0x27c14a,'apporbasic':_0x334acb}),await DTOUpdate({'controllers':_0x208ff0,'tablestartUp':_0x29189c,'tablestartUpShort':_0x135acf,'basedir':_0x50a84f,'Fields':_0x2dcc31,'Comment':_0x498378,'moduleName':_0x27c14a,'apporbasic':_0x334acb}),await DTOSearch({'controllers':_0x208ff0,'tablestartUp':_0x29189c,'tablestartUpShort':_0x135acf,'basedir':_0x50a84f,'Fields':_0x2dcc31,'Primary':_0x70412a,'Comment':_0x498378,'moduleName':_0x27c14a,'apporbasic':_0x334acb});}exports[a10_0x85bf24(0x1b9)]=default_1;function a10_0x1df9(){const _0x13a96a=['\x20\x20\x20\x20@Rule(\x27','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','DTOCreate\x20{\x0a\x0a','Enum,\x20\x27','number','\x27,\x20RuleType.string())\x0a','\x27,\x20RuleType.date())\x0a',':\x20string;\x0a\x0a','find','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','Null','%DtoColumn%','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','toLowerCase','\x27,\x20RuleType.string().valid(\x27','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','date','datetime','}\x0a\x0a','19751886KXmWMM','\x20*\x20**/\x0a','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','import\x20{\x20','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','export\x20class\x20','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x27,\x20RuleType.date()','substring','float','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',':\x20number;\x0a\x0a','\x20*\x20数据添加验证\x0a','enum','\x20\x20\x20\x20','join','DTOSearch\x20extends\x20OmitDto(','constructor','replace','\x27)))\x0a','?:\x20number;\x0a\x0a','default','\x27,\x20\x27','\x27,\x20RuleType.string()','3403463uoUnyg','mkdirSync','?:\x20string;\x0a\x0a','9808812twfOuB','/enums/','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','utf-8','Type','DTOUpdate\x20{\x0a\x0a','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','/Create.ts','DTOSearch\x20{\x0a\x0a','tinyint','__esModule','%SearchDtoColumn%','double','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','\x27))\x0a','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','\x20*\x20数据检索验证\x0a','Enum\x20}\x20from\x20\x27','/validators/','DTOCreate\x20extends\x20OmitDto(','\x20*\x20','/**\x0a','Comment','existsSync','?:\x20\x27','string','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','timestamp','decimal','\x27\x20|\x20\x27','3ABbHky','YES','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','updated_at',':\x20\x27','getEnum','?:\x20any\x20|\x20any[];\x0a\x0a','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','longtext','\x27,\x20RuleType.any())\x0a','displayorder','json','_between?:\x20string[];\x0a\x0a','2209892HIemwD','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','/Update.ts','8ELvEoy','1105519iRrdMl','search','/Search.ts','boolean','\x27,\x20RuleType.number()','created_at','@/apps/','mediumtext','toString','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','indexOf','_start?:\x20string;\x0a\x0a','(((.+)+)+)+$','deleted_at','9246035dvkVdg','toUpperCase','491448VASqrT','text','getProp','\x27;\x0a\x0a','writeFileSync','.required()','\x27;\x0a','Field'];a10_0x1df9=function(){return _0x13a96a;};return a10_0x1df9();}async function DTOCreate({controllers:_0x2c2ff6,tablestartUp:_0x17fbdc,tablestartUpShort:_0xa57d9c,basedir:_0x11521b,Fields:_0x5c0021,Comment:_0x4c2fca,moduleName:_0x443879,apporbasic:_0x1ac85c}){const _0x2d78f8=a10_0x85bf24,_0xa33802=_0x11521b+(_0x2d78f8(0x15b)+_0xa57d9c+_0x2d78f8(0x150));if(!fs[_0x2d78f8(0x160)](_0xa33802)){let _0xa88230='',_0x711b4f='',_0x4ac099=![];for(let _0x6e4a9b in _0x5c0021){let _0x54ab83=_0x5c0021[_0x6e4a9b],_0x888496=(0x0,helper_1['getProp'])(_0x54ab83['Type']);if(_0x54ab83[_0x2d78f8(0x18f)]==_0x2d78f8(0x171)||_0x54ab83['Field']=='created_at'||_0x54ab83['Field']=='updated_at'||_0x54ab83[_0x2d78f8(0x18f)]==_0x2d78f8(0x185))continue;if(['text',_0x2d78f8(0x16f),'mediumtext'][_0x2d78f8(0x182)](_0x888496)!=-0x1)_0xa88230+=_0x2d78f8(0x190)+_0x54ab83[_0x2d78f8(0x15f)]+'\x27,\x20RuleType.string())\x0a',_0xa88230+=_0x2d78f8(0x1b2)+_0x54ab83[_0x2d78f8(0x18f)]+_0x2d78f8(0x148);else{if([_0x2d78f8(0x1ad),_0x2d78f8(0x155),_0x2d78f8(0x165),_0x2d78f8(0x194)][_0x2d78f8(0x182)](_0x888496)!=-0x1)_0xa88230+='\x20\x20\x20\x20@Rule(\x27'+_0x54ab83[_0x2d78f8(0x15f)]+_0x2d78f8(0x17c)+(_0x54ab83[_0x2d78f8(0x19a)]!='YES'?_0x2d78f8(0x18d):'')+')\x0a',_0xa88230+=_0x2d78f8(0x1b2)+_0x54ab83[_0x2d78f8(0x18f)]+(_0x54ab83[_0x2d78f8(0x19a)]!=_0x2d78f8(0x168)?'?':'')+_0x2d78f8(0x1af);else{if([_0x2d78f8(0x152)][_0x2d78f8(0x182)](_0x888496)!=-0x1)_0x4ac099=!![],_0xa88230+=_0x2d78f8(0x190)+_0x54ab83[_0x2d78f8(0x15f)]+_0x2d78f8(0x158)+_0x17fbdc+'Enum,\x20\x27'+_0x54ab83[_0x2d78f8(0x18f)]+'\x27))'+(_0x54ab83[_0x2d78f8(0x19a)]!='YES'?_0x2d78f8(0x18d):'')+')\x0a',_0xa88230+=_0x2d78f8(0x1b2)+_0x54ab83[_0x2d78f8(0x18f)]+(_0x54ab83[_0x2d78f8(0x19a)]!=_0x2d78f8(0x168)?'?':'')+':\x20number;\x0a\x0a';else{if(_0x888496=='json')_0xa88230+=_0x2d78f8(0x190)+_0x54ab83[_0x2d78f8(0x15f)]+_0x2d78f8(0x170),_0xa88230+=_0x2d78f8(0x1b2)+_0x54ab83[_0x2d78f8(0x18f)]+(_0x54ab83[_0x2d78f8(0x19a)]!=_0x2d78f8(0x168)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x888496=='enum'){let _0x122efc=(0x0,helper_1[_0x2d78f8(0x16c)])(_0x54ab83[_0x2d78f8(0x14d)]);_0xa88230+=_0x2d78f8(0x190)+_0x54ab83['Comment']+_0x2d78f8(0x19e)+_0x122efc['join'](_0x2d78f8(0x1ba))+'\x27)'+(_0x54ab83['Null']!=_0x2d78f8(0x168)?_0x2d78f8(0x18d):'')+')\x0a',_0xa88230+=_0x2d78f8(0x1b2)+_0x54ab83[_0x2d78f8(0x18f)]+(_0x54ab83[_0x2d78f8(0x19a)]!=_0x2d78f8(0x168)?'?':'')+_0x2d78f8(0x16b)+_0x122efc[_0x2d78f8(0x1b3)](_0x2d78f8(0x166))+'\x27;\x0a\x0a';}else['date',_0x2d78f8(0x1a2),_0x2d78f8(0x164)][_0x2d78f8(0x182)](_0x888496)>-0x1?(_0xa88230+=_0x2d78f8(0x190)+_0x54ab83[_0x2d78f8(0x15f)]+_0x2d78f8(0x1ab)+(_0x54ab83['Null']!=_0x2d78f8(0x168)?'.required()':'')+')\x0a',_0xa88230+=_0x2d78f8(0x1b2)+_0x54ab83[_0x2d78f8(0x18f)]+(_0x54ab83[_0x2d78f8(0x19a)]!='YES'?'?':'')+_0x2d78f8(0x197)):(_0xa88230+=_0x2d78f8(0x190)+_0x54ab83[_0x2d78f8(0x15f)]+_0x2d78f8(0x1bb)+(_0x54ab83['Null']!=_0x2d78f8(0x168)?_0x2d78f8(0x18d):'')+')\x0a',_0xa88230+='\x20\x20\x20\x20'+_0x54ab83[_0x2d78f8(0x18f)]+(_0x54ab83['Null']!='YES'?'?':'')+_0x2d78f8(0x197));}}}}}_0xa88230+=_0x2d78f8(0x16e),_0xa88230+=_0x2d78f8(0x1a8);(_0x2c2ff6===null||_0x2c2ff6===void 0x0?void 0x0:_0x2c2ff6[_0x2d78f8(0x198)](_0x1b2541=>typeof _0x1b2541!=_0x2d78f8(0x17b)))?_0x711b4f+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x711b4f+=_0x2d78f8(0x1aa);_0x4ac099&&(_0x711b4f+='import\x20{\x20'+_0x17fbdc+_0x2d78f8(0x15a)+(typeof _0x443879==_0x2d78f8(0x162)?_0x2d78f8(0x17e)+_0x443879:'@/'+_0x1ac85c)+_0x2d78f8(0x14a)+_0xa57d9c+_0x2d78f8(0x18e));_0x711b4f+='\x0a',_0x711b4f+=_0x2d78f8(0x15e),_0x711b4f+='\x20*\x20'+_0x4c2fca+'\x0a',_0x711b4f+=_0x2d78f8(0x1b0),_0x711b4f+='\x20*\x20**/\x0a',_0x711b4f+='export\x20class\x20'+_0x17fbdc+_0x2d78f8(0x192),_0x711b4f+='%DtoColumn%',_0x711b4f+=_0x2d78f8(0x1a3);for(const _0x833713 of _0x2c2ff6){typeof _0x833713==_0x2d78f8(0x162)&&(_0x711b4f+='export\x20class\x20'+_0x833713['substring'](0x0,0x1)[_0x2d78f8(0x187)]()+_0x833713[_0x2d78f8(0x1ac)](0x1)['toLowerCase']()+_0x17fbdc+_0x2d78f8(0x15c)+_0x17fbdc+_0x2d78f8(0x1a6),_0x711b4f+='}\x0a\x0a');}_0x711b4f=_0x711b4f[_0x2d78f8(0x1b6)](_0x2d78f8(0x19b),_0xa88230),fs['writeFileSync'](_0xa33802,_0x711b4f,_0x2d78f8(0x14c));}}async function DTOUpdate({controllers:_0x26d335,tablestartUp:_0x44d2ae,tablestartUpShort:_0x2ae0a1,basedir:_0x33b30f,Fields:_0x5e776e,Comment:_0x3a9aeb,moduleName:_0x367939,apporbasic:_0x4b655c}){const _0x337178=a10_0x85bf24,_0x17ea9b=_0x33b30f+(_0x337178(0x15b)+_0x2ae0a1+_0x337178(0x176));if(!fs[_0x337178(0x160)](_0x17ea9b)){let _0x4ac24a='',_0x5c01ad='',_0x44e7a8=![];for(let _0xf05d9 in _0x5e776e){let _0x448061=_0x5e776e[_0xf05d9],_0x538726=(0x0,helper_1[_0x337178(0x18a)])(_0x448061['Type']);if(_0x448061[_0x337178(0x18f)]==_0x337178(0x171)||_0x448061[_0x337178(0x18f)]=='created_at'||_0x448061[_0x337178(0x18f)]==_0x337178(0x16a)||_0x448061[_0x337178(0x18f)]=='deleted_at')continue;if([_0x337178(0x189),_0x337178(0x16f),_0x337178(0x17f)][_0x337178(0x182)](_0x538726)!=-0x1)_0x4ac24a+=_0x337178(0x190)+_0x448061[_0x337178(0x15f)]+_0x337178(0x195),_0x4ac24a+=_0x337178(0x1b2)+_0x448061['Field']+_0x337178(0x148);else{if([_0x337178(0x1ad),'double',_0x337178(0x165),_0x337178(0x194)][_0x337178(0x182)](_0x538726)!=-0x1)_0x4ac24a+=_0x337178(0x190)+_0x448061['Comment']+'\x27,\x20RuleType.number())\x0a',_0x4ac24a+=_0x337178(0x1b2)+_0x448061[_0x337178(0x18f)]+_0x337178(0x1b8);else{if([_0x337178(0x152)][_0x337178(0x182)](_0x538726)!=-0x1)_0x44e7a8=!![],_0x4ac24a+='\x20\x20\x20\x20@Rule(\x27'+_0x448061[_0x337178(0x15f)]+_0x337178(0x158)+_0x44d2ae+_0x337178(0x193)+_0x448061[_0x337178(0x18f)]+'\x27)))\x0a',_0x4ac24a+='\x20\x20\x20\x20'+_0x448061[_0x337178(0x18f)]+'?:\x20number;\x0a\x0a';else{if(_0x538726==_0x337178(0x172))_0x4ac24a+='\x20\x20\x20\x20@Rule(\x27'+_0x448061['Comment']+_0x337178(0x170),_0x4ac24a+='\x20\x20\x20\x20'+_0x448061['Field']+_0x337178(0x16d);else{if(_0x538726=='enum'){let _0x58b202=(0x0,helper_1[_0x337178(0x16c)])(_0x448061['Type']);_0x4ac24a+=_0x337178(0x190)+_0x448061[_0x337178(0x15f)]+_0x337178(0x19e)+_0x58b202[_0x337178(0x1b3)](_0x337178(0x1ba))+_0x337178(0x157),_0x4ac24a+=_0x337178(0x1b2)+_0x448061[_0x337178(0x18f)]+_0x337178(0x161)+_0x58b202[_0x337178(0x1b3)](_0x337178(0x166))+'\x27;\x0a\x0a';}else[_0x337178(0x1a1),_0x337178(0x1a2),_0x337178(0x164)]['indexOf'](_0x538726)>-0x1?(_0x4ac24a+=_0x337178(0x190)+_0x448061[_0x337178(0x15f)]+_0x337178(0x196),_0x4ac24a+=_0x337178(0x1b2)+_0x448061[_0x337178(0x18f)]+_0x337178(0x148)):(_0x4ac24a+=_0x337178(0x190)+_0x448061[_0x337178(0x15f)]+'\x27,\x20RuleType.string())\x0a',_0x4ac24a+=_0x337178(0x1b2)+_0x448061[_0x337178(0x18f)]+_0x337178(0x148));}}}}}_0x4ac24a+=_0x337178(0x16e),_0x4ac24a+=_0x337178(0x1a8);(_0x26d335===null||_0x26d335===void 0x0?void 0x0:_0x26d335[_0x337178(0x198)](_0x447d7f=>typeof _0x447d7f!='boolean'))?_0x5c01ad+=_0x337178(0x199):_0x5c01ad+=_0x337178(0x1aa);_0x44e7a8&&(_0x5c01ad+=_0x337178(0x1a7)+_0x44d2ae+'Enum\x20}\x20from\x20\x27'+(typeof _0x367939==_0x337178(0x162)?'@/apps/'+_0x367939:'@/'+_0x4b655c)+'/enums/'+_0x2ae0a1+_0x337178(0x18e));_0x5c01ad+='\x0a',_0x5c01ad+=_0x337178(0x15e),_0x5c01ad+=_0x337178(0x15d)+_0x3a9aeb+'\x0a',_0x5c01ad+='\x20*\x20数据更新验证\x0a',_0x5c01ad+=_0x337178(0x1a5),_0x5c01ad+=_0x337178(0x1a9)+_0x44d2ae+_0x337178(0x14e),_0x5c01ad+=_0x337178(0x19b),_0x5c01ad+=_0x337178(0x1a3);for(const _0x233feb of _0x26d335){typeof _0x233feb==_0x337178(0x162)&&(_0x5c01ad+=_0x337178(0x1a9)+_0x233feb[_0x337178(0x1ac)](0x0,0x1)['toUpperCase']()+_0x233feb['substring'](0x1)[_0x337178(0x19d)]()+_0x44d2ae+'DTOUpdate\x20extends\x20OmitDto('+_0x44d2ae+_0x337178(0x1a0),_0x5c01ad+=_0x337178(0x1a3));}_0x5c01ad=_0x5c01ad[_0x337178(0x1b6)](_0x337178(0x19b),_0x4ac24a),fs[_0x337178(0x18c)](_0x17ea9b,_0x5c01ad,_0x337178(0x14c));}}async function DTOSearch({controllers:_0x523cca,tablestartUp:_0x3f0678,tablestartUpShort:_0x1fce3c,basedir:_0x1f2b4e,Fields:_0x2475a6,Primary:_0x47e58e,Comment:_0x1aa7c5,moduleName:_0x173f0f,apporbasic:_0x50a704}){const _0x4c58fa=a10_0x85bf24,_0xdeb844=_0x1f2b4e+(_0x4c58fa(0x15b)+_0x1fce3c+_0x4c58fa(0x17a));if(!fs[_0x4c58fa(0x160)](_0xdeb844)){let _0x1d3ef3='',_0x1ca6ce='',_0x1c0bec=![];for(let _0x1baf0f of[{[_0x47e58e['Field']]:_0x47e58e},_0x2475a6]){for(let _0x269e5c in _0x1baf0f){let _0x182a38=_0x1baf0f[_0x269e5c],_0x41fa02=(0x0,helper_1[_0x4c58fa(0x18a)])(_0x182a38[_0x4c58fa(0x14d)]);if(_0x182a38[_0x4c58fa(0x18f)]==_0x4c58fa(0x171)||_0x182a38[_0x4c58fa(0x18f)]==_0x4c58fa(0x17d)||_0x182a38[_0x4c58fa(0x18f)]==_0x4c58fa(0x16a)||_0x182a38['Field']==_0x4c58fa(0x185))continue;if([_0x4c58fa(0x189),'longtext',_0x4c58fa(0x17f)][_0x4c58fa(0x182)](_0x41fa02)!=-0x1){}else{if([_0x4c58fa(0x1ad),'double',_0x4c58fa(0x165),_0x4c58fa(0x194)][_0x4c58fa(0x182)](_0x41fa02)!=-0x1)_0x1d3ef3+=_0x4c58fa(0x190)+_0x182a38['Comment']+'\x27,\x20RuleType.number())\x0a',_0x1d3ef3+='\x20\x20\x20\x20'+_0x182a38[_0x4c58fa(0x18f)]+'?:\x20number;\x0a\x0a';else{if([_0x4c58fa(0x152)]['indexOf'](_0x41fa02)!=-0x1)_0x1c0bec=!![],_0x1d3ef3+=_0x4c58fa(0x190)+_0x182a38['Comment']+_0x4c58fa(0x158)+_0x3f0678+_0x4c58fa(0x193)+_0x182a38[_0x4c58fa(0x18f)]+_0x4c58fa(0x1b7),_0x1d3ef3+=_0x4c58fa(0x1b2)+_0x182a38[_0x4c58fa(0x18f)]+_0x4c58fa(0x1b8);else{if(_0x41fa02=='json'){}else{if(_0x41fa02==_0x4c58fa(0x1b1)){let _0x468df6=(0x0,helper_1[_0x4c58fa(0x16c)])(_0x182a38['Type']);_0x1d3ef3+='\x20\x20\x20\x20@Rule(\x27'+_0x182a38[_0x4c58fa(0x15f)]+_0x4c58fa(0x19e)+_0x468df6[_0x4c58fa(0x1b3)](_0x4c58fa(0x1ba))+_0x4c58fa(0x157),_0x1d3ef3+=_0x4c58fa(0x1b2)+_0x182a38[_0x4c58fa(0x18f)]+_0x4c58fa(0x161)+_0x468df6[_0x4c58fa(0x1b3)](_0x4c58fa(0x166))+_0x4c58fa(0x18b);}else[_0x4c58fa(0x1a1),'datetime','timestamp'][_0x4c58fa(0x182)](_0x41fa02)>-0x1?(_0x1d3ef3+='\x20\x20\x20\x20@Rule(\x27'+_0x182a38[_0x4c58fa(0x15f)]+_0x4c58fa(0x195),_0x1d3ef3+='\x20\x20\x20\x20'+_0x182a38[_0x4c58fa(0x18f)]+'?:\x20string;\x0a\x0a',_0x1d3ef3+=_0x4c58fa(0x190)+_0x182a38[_0x4c58fa(0x15f)]+_0x4c58fa(0x19c),_0x1d3ef3+=_0x4c58fa(0x1b2)+_0x182a38['Field']+_0x4c58fa(0x173),_0x1d3ef3+=_0x4c58fa(0x190)+_0x182a38['Comment']+_0x4c58fa(0x1ae),_0x1d3ef3+='\x20\x20\x20\x20'+_0x182a38[_0x4c58fa(0x18f)]+_0x4c58fa(0x183),_0x1d3ef3+=_0x4c58fa(0x190)+_0x182a38[_0x4c58fa(0x15f)]+'\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x1d3ef3+=_0x4c58fa(0x1b2)+_0x182a38[_0x4c58fa(0x18f)]+'_end?:\x20string;\x0a\x0a'):(_0x1d3ef3+=_0x4c58fa(0x190)+_0x182a38[_0x4c58fa(0x15f)]+_0x4c58fa(0x195),_0x1d3ef3+='\x20\x20\x20\x20'+_0x182a38[_0x4c58fa(0x18f)]+_0x4c58fa(0x148));}}}}}}_0x1d3ef3+=_0x4c58fa(0x16e),_0x1d3ef3+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a',_0x1d3ef3+=_0x4c58fa(0x169),_0x1d3ef3+='\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a',_0x1d3ef3+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x1d3ef3+=_0x4c58fa(0x14f),_0x1d3ef3+=_0x4c58fa(0x163),_0x1d3ef3+='\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a',_0x1d3ef3+=_0x4c58fa(0x156),_0x1d3ef3+=_0x4c58fa(0x175),_0x1d3ef3+=_0x4c58fa(0x191),_0x1d3ef3+=_0x4c58fa(0x19f),_0x1d3ef3+=_0x4c58fa(0x14b),_0x1d3ef3+='\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a';(_0x523cca===null||_0x523cca===void 0x0?void 0x0:_0x523cca[_0x4c58fa(0x198)](_0x2815da=>typeof _0x2815da!=_0x4c58fa(0x17b)))?_0x1ca6ce+=_0x4c58fa(0x199):_0x1ca6ce+=_0x4c58fa(0x1aa);_0x1c0bec&&(_0x1ca6ce+=_0x4c58fa(0x1a7)+_0x3f0678+_0x4c58fa(0x15a)+(typeof _0x173f0f==_0x4c58fa(0x162)?_0x4c58fa(0x17e)+_0x173f0f:'@/'+_0x50a704)+_0x4c58fa(0x14a)+_0x1fce3c+_0x4c58fa(0x18e));_0x1ca6ce+='\x0a',_0x1ca6ce+=_0x4c58fa(0x15e),_0x1ca6ce+='\x20*\x20'+_0x1aa7c5+'\x0a',_0x1ca6ce+=_0x4c58fa(0x159),_0x1ca6ce+=_0x4c58fa(0x1a5),_0x1ca6ce+=_0x4c58fa(0x1a9)+_0x3f0678+_0x4c58fa(0x151),_0x1ca6ce+='%SearchDtoColumn%',_0x1ca6ce+='}\x0a\x0a';for(const _0x20ad1c of _0x523cca){typeof _0x20ad1c==_0x4c58fa(0x162)&&(_0x1ca6ce+=_0x4c58fa(0x1a9)+_0x20ad1c[_0x4c58fa(0x1ac)](0x0,0x1)[_0x4c58fa(0x187)]()+_0x20ad1c['substring'](0x1)[_0x4c58fa(0x19d)]()+_0x3f0678+_0x4c58fa(0x1b4)+_0x3f0678+_0x4c58fa(0x181),_0x1ca6ce+=_0x4c58fa(0x1a3));}_0x1ca6ce=_0x1ca6ce[_0x4c58fa(0x1b6)](_0x4c58fa(0x154),_0x1d3ef3),fs[_0x4c58fa(0x18c)](_0xdeb844,_0x1ca6ce,'utf-8');}}
1
+ const a10_0x12a0c7=a10_0xbb40;(function(_0x1e8a6f,_0x3f0b1c){const _0x13abfe=a10_0xbb40,_0x4b81aa=_0x1e8a6f();while(!![]){try{const _0x23475b=-parseInt(_0x13abfe(0x219))/0x1*(parseInt(_0x13abfe(0x217))/0x2)+-parseInt(_0x13abfe(0x202))/0x3+-parseInt(_0x13abfe(0x1d7))/0x4*(-parseInt(_0x13abfe(0x1d6))/0x5)+-parseInt(_0x13abfe(0x23d))/0x6+parseInt(_0x13abfe(0x1e0))/0x7*(parseInt(_0x13abfe(0x20e))/0x8)+-parseInt(_0x13abfe(0x22a))/0x9+parseInt(_0x13abfe(0x1ca))/0xa;if(_0x23475b===_0x3f0b1c)break;else _0x4b81aa['push'](_0x4b81aa['shift']());}catch(_0x142f7c){_0x4b81aa['push'](_0x4b81aa['shift']());}}}(a10_0x175e,0x70300));function a10_0xbb40(_0x1cef61,_0x622096){const _0x52b807=a10_0x175e();return a10_0xbb40=function(_0x3df530,_0x267fe1){_0x3df530=_0x3df530-0x1c7;let _0x175e2b=_0x52b807[_0x3df530];return _0x175e2b;},a10_0xbb40(_0x1cef61,_0x622096);}const a10_0x267fe1=(function(){let _0x553403=!![];return function(_0xf954b5,_0x4e612f){const _0x8b3ddf=_0x553403?function(){if(_0x4e612f){const _0x1659aa=_0x4e612f['apply'](_0xf954b5,arguments);return _0x4e612f=null,_0x1659aa;}}:function(){};return _0x553403=![],_0x8b3ddf;};}()),a10_0x3df530=a10_0x267fe1(this,function(){const _0x269b64=a10_0xbb40;return a10_0x3df530[_0x269b64(0x1f2)]()[_0x269b64(0x210)](_0x269b64(0x1d9))[_0x269b64(0x1f2)]()[_0x269b64(0x1f6)](a10_0x3df530)[_0x269b64(0x210)](_0x269b64(0x1d9));});a10_0x3df530();'use strict';Object[a10_0x12a0c7(0x238)](exports,a10_0x12a0c7(0x204),{'value':!![]});const fs=require('fs'),helper_1=require('../helper');async function default_1({controllers:_0x382976,tablestartUp:_0x2811da,tablestartUpShort:_0x46c3d9,basedir:_0xe3db79,Primary:_0x586cd6,Fields:_0x59b92e,Comment:_0x3b4fbd,moduleName:_0x5857ae,apporbasic:_0x47a955}){const _0x299c2e=a10_0x12a0c7,_0x3c679d=_0xe3db79+('/validators/'+_0x46c3d9);!fs['existsSync'](_0x3c679d)&&fs[_0x299c2e(0x220)](_0x3c679d,{'recursive':!![]}),await DTOCreate({'controllers':_0x382976,'tablestartUp':_0x2811da,'tablestartUpShort':_0x46c3d9,'basedir':_0xe3db79,'Fields':_0x59b92e,'Comment':_0x3b4fbd,'moduleName':_0x5857ae,'apporbasic':_0x47a955}),await DTOUpdate({'controllers':_0x382976,'tablestartUp':_0x2811da,'tablestartUpShort':_0x46c3d9,'basedir':_0xe3db79,'Fields':_0x59b92e,'Comment':_0x3b4fbd,'moduleName':_0x5857ae,'apporbasic':_0x47a955}),await DTOSearch({'controllers':_0x382976,'tablestartUp':_0x2811da,'tablestartUpShort':_0x46c3d9,'basedir':_0xe3db79,'Fields':_0x59b92e,'Primary':_0x586cd6,'Comment':_0x3b4fbd,'moduleName':_0x5857ae,'apporbasic':_0x47a955});}exports[a10_0x12a0c7(0x209)]=default_1;async function DTOCreate({controllers:_0x43b9b0,tablestartUp:_0x52048d,tablestartUpShort:_0x2b9327,basedir:_0x3a9922,Fields:_0x2bd569,Comment:_0x2924c2,moduleName:_0x8c6296,apporbasic:_0x510b89}){const _0xbbb178=a10_0x12a0c7,_0x10dbd9=_0x3a9922+(_0xbbb178(0x23e)+_0x2b9327+'/Create.ts');if(!fs[_0xbbb178(0x1d0)](_0x10dbd9)){let _0x43147a='',_0x1fc185='',_0x5a857b=![];for(let _0x4d824f in _0x2bd569){let _0x4b0af0=_0x2bd569[_0x4d824f],_0x500e40=(0x0,helper_1[_0xbbb178(0x22f)])(_0x4b0af0[_0xbbb178(0x1db)]);if(_0x4b0af0[_0xbbb178(0x215)]=='displayorder'||_0x4b0af0[_0xbbb178(0x215)]=='created_at'||_0x4b0af0[_0xbbb178(0x215)]==_0xbbb178(0x233)||_0x4b0af0['Field']==_0xbbb178(0x1e6))continue;if(['text',_0xbbb178(0x1f0),_0xbbb178(0x1cb)]['indexOf'](_0x500e40)!=-0x1)_0x43147a+=_0xbbb178(0x22d)+_0x4b0af0[_0xbbb178(0x21a)]+_0xbbb178(0x1f9),_0x43147a+='\x20\x20\x20\x20'+_0x4b0af0[_0xbbb178(0x215)]+_0xbbb178(0x1ec);else{if([_0xbbb178(0x216),_0xbbb178(0x212),_0xbbb178(0x23f),'number'][_0xbbb178(0x214)](_0x500e40)!=-0x1)_0x43147a+=_0xbbb178(0x22d)+_0x4b0af0[_0xbbb178(0x21a)]+_0xbbb178(0x206)+(_0x4b0af0[_0xbbb178(0x234)]!='YES'?_0xbbb178(0x203):'')+')\x0a',_0x43147a+=_0xbbb178(0x240)+_0x4b0af0[_0xbbb178(0x215)]+(_0x4b0af0['Null']!=_0xbbb178(0x237)?'?':'')+':\x20number;\x0a\x0a';else{if([_0xbbb178(0x1e5)][_0xbbb178(0x214)](_0x500e40)!=-0x1)_0x5a857b=!![],_0x43147a+='\x20\x20\x20\x20@Rule(\x27'+_0x4b0af0['Comment']+_0xbbb178(0x200)+_0x52048d+_0xbbb178(0x1cc)+_0x4b0af0[_0xbbb178(0x215)]+_0xbbb178(0x1e9)+(_0x4b0af0[_0xbbb178(0x234)]!=_0xbbb178(0x237)?'.required()':'')+')\x0a',_0x43147a+=_0xbbb178(0x240)+_0x4b0af0[_0xbbb178(0x215)]+(_0x4b0af0[_0xbbb178(0x234)]!=_0xbbb178(0x237)?'?':'')+_0xbbb178(0x1da);else{if(_0x500e40==_0xbbb178(0x1d4))_0x43147a+=_0xbbb178(0x22d)+_0x4b0af0[_0xbbb178(0x21a)]+'\x27,\x20RuleType.any())\x0a',_0x43147a+=_0xbbb178(0x240)+_0x4b0af0[_0xbbb178(0x215)]+(_0x4b0af0[_0xbbb178(0x234)]!=_0xbbb178(0x237)?'?':'')+_0xbbb178(0x1d1);else{if(_0x500e40==_0xbbb178(0x20f)){let _0x4f8865=(0x0,helper_1[_0xbbb178(0x1ce)])(_0x4b0af0[_0xbbb178(0x1db)]);_0x43147a+='\x20\x20\x20\x20@Rule(\x27'+_0x4b0af0['Comment']+_0xbbb178(0x1fc)+_0x4f8865[_0xbbb178(0x231)](_0xbbb178(0x20c))+'\x27)'+(_0x4b0af0[_0xbbb178(0x234)]!='YES'?_0xbbb178(0x203):'')+')\x0a',_0x43147a+=_0xbbb178(0x240)+_0x4b0af0[_0xbbb178(0x215)]+(_0x4b0af0[_0xbbb178(0x234)]!=_0xbbb178(0x237)?'?':'')+_0xbbb178(0x1c7)+_0x4f8865['join'](_0xbbb178(0x1dd))+_0xbbb178(0x23a);}else[_0xbbb178(0x1e3),_0xbbb178(0x1e8),_0xbbb178(0x218)][_0xbbb178(0x214)](_0x500e40)>-0x1?(_0x43147a+=_0xbbb178(0x22d)+_0x4b0af0[_0xbbb178(0x21a)]+'\x27,\x20RuleType.date()'+(_0x4b0af0[_0xbbb178(0x234)]!='YES'?'.required()':'')+')\x0a',_0x43147a+=_0xbbb178(0x240)+_0x4b0af0[_0xbbb178(0x215)]+(_0x4b0af0[_0xbbb178(0x234)]!=_0xbbb178(0x237)?'?':'')+_0xbbb178(0x1e2)):(_0x43147a+=_0xbbb178(0x22d)+_0x4b0af0[_0xbbb178(0x21a)]+_0xbbb178(0x1cd)+(_0x4b0af0[_0xbbb178(0x234)]!=_0xbbb178(0x237)?_0xbbb178(0x203):'')+')\x0a',_0x43147a+=_0xbbb178(0x240)+_0x4b0af0[_0xbbb178(0x215)]+(_0x4b0af0[_0xbbb178(0x234)]!='YES'?'?':'')+_0xbbb178(0x1e2));}}}}}_0x43147a+=_0xbbb178(0x20a),_0x43147a+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x43b9b0===null||_0x43b9b0===void 0x0?void 0x0:_0x43b9b0[_0xbbb178(0x236)](_0x2a08f1=>typeof _0x2a08f1!=_0xbbb178(0x207)))?_0x1fc185+=_0xbbb178(0x205):_0x1fc185+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x5a857b&&(_0x1fc185+=_0xbbb178(0x1e7)+_0x52048d+_0xbbb178(0x1ed)+(typeof _0x8c6296==_0xbbb178(0x1d2)?'@/apps/'+_0x8c6296:'@/'+_0x510b89)+_0xbbb178(0x1cf)+_0x2b9327+_0xbbb178(0x1fd));_0x1fc185+='\x0a',_0x1fc185+='/**\x0a',_0x1fc185+=_0xbbb178(0x1d3)+_0x2924c2+'\x0a',_0x1fc185+=_0xbbb178(0x1ee),_0x1fc185+=_0xbbb178(0x1d5),_0x1fc185+='export\x20class\x20'+_0x52048d+_0xbbb178(0x1f5),_0x1fc185+=_0xbbb178(0x213),_0x1fc185+=_0xbbb178(0x21d);for(const _0x35cceb of _0x43b9b0){typeof _0x35cceb==_0xbbb178(0x1d2)&&(_0x1fc185+=_0xbbb178(0x1f8)+_0x35cceb['substring'](0x0,0x1)['toUpperCase']()+_0x35cceb['substring'](0x1)[_0xbbb178(0x1f4)]()+_0x52048d+'DTOCreate\x20extends\x20OmitDto('+_0x52048d+_0xbbb178(0x1de),_0x1fc185+=_0xbbb178(0x21d));}_0x1fc185=_0x1fc185['replace'](_0xbbb178(0x213),_0x43147a),fs['writeFileSync'](_0x10dbd9,_0x1fc185,_0xbbb178(0x224));}}function a10_0x175e(){const _0x58234f=['\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','@/apps/','1710969WLQrhk','.required()','__esModule','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x27,\x20RuleType.number()','boolean','substring','default','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','text','\x27,\x20\x27','DTOSearch\x20{\x0a\x0a','8CRDYVz','enum','search','?:\x20\x27','double','%DtoColumn%','indexOf','Field','float','2GMlIgh','timestamp','703259JqVkPs','Comment','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','DTOSearch\x20extends\x20OmitDto(','}\x0a\x0a','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','mkdirSync','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x20*\x20数据检索验证\x0a','\x27,\x20RuleType.any())\x0a','utf-8','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','number','\x27))\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','1381257juDZMP','created_at','?:\x20number;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27','writeFileSync','getProp','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','join','/**\x0a','updated_at','Null','DTOUpdate\x20extends\x20OmitDto(','find','YES','defineProperty','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','\x27;\x0a\x0a','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','\x27)))\x0a','1099308RutCcz','/validators/','decimal','\x20\x20\x20\x20',':\x20\x27','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','14871670JtakDX','mediumtext','Enum,\x20\x27','\x27,\x20RuleType.string()','getEnum','/enums/','existsSync',':\x20any\x20|\x20any[];\x0a\x0a','string','\x20*\x20','json','\x20*\x20**/\x0a','14465zlkpJP','516NeyZEf','toUpperCase','(((.+)+)+)+$',':\x20number;\x0a\x0a','Type','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','\x27\x20|\x20\x27','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x27,\x20RuleType.date())\x0a','1466003EDfWrx','replace',':\x20string;\x0a\x0a','date','displayorder','tinyint','deleted_at','import\x20{\x20','datetime','\x27))','_end?:\x20string;\x0a\x0a','\x27,\x20RuleType.number())\x0a','?:\x20string;\x0a\x0a','Enum\x20}\x20from\x20\x27','\x20*\x20数据添加验证\x0a','/Update.ts','longtext','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','toString','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','toLowerCase','DTOCreate\x20{\x0a\x0a','constructor','%SearchDtoColumn%','export\x20class\x20','\x27,\x20RuleType.string())\x0a','_between?:\x20string[];\x0a\x0a','/Search.ts','\x27,\x20RuleType.string().valid(\x27','\x27;\x0a','DTOUpdate\x20{\x0a\x0a'];a10_0x175e=function(){return _0x58234f;};return a10_0x175e();}async function DTOUpdate({controllers:_0x346fa1,tablestartUp:_0x1d1bc3,tablestartUpShort:_0x10f182,basedir:_0x1b6137,Fields:_0x49a58e,Comment:_0x1d2ecd,moduleName:_0x291cff,apporbasic:_0x52613e}){const _0x23cfef=a10_0x12a0c7,_0x30bdf4=_0x1b6137+(_0x23cfef(0x23e)+_0x10f182+_0x23cfef(0x1ef));if(!fs[_0x23cfef(0x1d0)](_0x30bdf4)){let _0x2db25b='',_0x4d3398='',_0x512cf8=![];for(let _0x32ad50 in _0x49a58e){let _0x59d332=_0x49a58e[_0x32ad50],_0xfafa5c=(0x0,helper_1[_0x23cfef(0x22f)])(_0x59d332[_0x23cfef(0x1db)]);if(_0x59d332[_0x23cfef(0x215)]=='displayorder'||_0x59d332['Field']=='created_at'||_0x59d332[_0x23cfef(0x215)]=='updated_at'||_0x59d332[_0x23cfef(0x215)]==_0x23cfef(0x1e6))continue;if(['text',_0x23cfef(0x1f0),_0x23cfef(0x1cb)][_0x23cfef(0x214)](_0xfafa5c)!=-0x1)_0x2db25b+=_0x23cfef(0x22d)+_0x59d332['Comment']+_0x23cfef(0x1f9),_0x2db25b+=_0x23cfef(0x240)+_0x59d332[_0x23cfef(0x215)]+'?:\x20string;\x0a\x0a';else{if([_0x23cfef(0x216),_0x23cfef(0x212),_0x23cfef(0x23f),_0x23cfef(0x226)][_0x23cfef(0x214)](_0xfafa5c)!=-0x1)_0x2db25b+='\x20\x20\x20\x20@Rule(\x27'+_0x59d332[_0x23cfef(0x21a)]+_0x23cfef(0x1eb),_0x2db25b+=_0x23cfef(0x240)+_0x59d332[_0x23cfef(0x215)]+'?:\x20number;\x0a\x0a';else{if([_0x23cfef(0x1e5)][_0x23cfef(0x214)](_0xfafa5c)!=-0x1)_0x512cf8=!![],_0x2db25b+=_0x23cfef(0x22d)+_0x59d332['Comment']+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x1d1bc3+'Enum,\x20\x27'+_0x59d332[_0x23cfef(0x215)]+_0x23cfef(0x23c),_0x2db25b+=_0x23cfef(0x240)+_0x59d332[_0x23cfef(0x215)]+_0x23cfef(0x22c);else{if(_0xfafa5c==_0x23cfef(0x1d4))_0x2db25b+=_0x23cfef(0x22d)+_0x59d332[_0x23cfef(0x21a)]+_0x23cfef(0x223),_0x2db25b+=_0x23cfef(0x240)+_0x59d332['Field']+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0xfafa5c==_0x23cfef(0x20f)){let _0x3be455=(0x0,helper_1['getEnum'])(_0x59d332[_0x23cfef(0x1db)]);_0x2db25b+=_0x23cfef(0x22d)+_0x59d332[_0x23cfef(0x21a)]+_0x23cfef(0x1fc)+_0x3be455[_0x23cfef(0x231)](_0x23cfef(0x20c))+_0x23cfef(0x227),_0x2db25b+='\x20\x20\x20\x20'+_0x59d332[_0x23cfef(0x215)]+_0x23cfef(0x211)+_0x3be455[_0x23cfef(0x231)](_0x23cfef(0x1dd))+_0x23cfef(0x23a);}else[_0x23cfef(0x1e3),'datetime','timestamp'][_0x23cfef(0x214)](_0xfafa5c)>-0x1?(_0x2db25b+=_0x23cfef(0x22d)+_0x59d332[_0x23cfef(0x21a)]+_0x23cfef(0x1df),_0x2db25b+='\x20\x20\x20\x20'+_0x59d332[_0x23cfef(0x215)]+_0x23cfef(0x1ec)):(_0x2db25b+=_0x23cfef(0x22d)+_0x59d332[_0x23cfef(0x21a)]+_0x23cfef(0x1f9),_0x2db25b+=_0x23cfef(0x240)+_0x59d332[_0x23cfef(0x215)]+'?:\x20string;\x0a\x0a');}}}}}_0x2db25b+=_0x23cfef(0x20a),_0x2db25b+=_0x23cfef(0x230);(_0x346fa1===null||_0x346fa1===void 0x0?void 0x0:_0x346fa1[_0x23cfef(0x236)](_0x3d5994=>typeof _0x3d5994!='boolean'))?_0x4d3398+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x4d3398+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x512cf8&&(_0x4d3398+=_0x23cfef(0x1e7)+_0x1d1bc3+_0x23cfef(0x1ed)+(typeof _0x291cff==_0x23cfef(0x1d2)?_0x23cfef(0x201)+_0x291cff:'@/'+_0x52613e)+_0x23cfef(0x1cf)+_0x10f182+_0x23cfef(0x1fd));_0x4d3398+='\x0a',_0x4d3398+=_0x23cfef(0x232),_0x4d3398+=_0x23cfef(0x1d3)+_0x1d2ecd+'\x0a',_0x4d3398+='\x20*\x20数据更新验证\x0a',_0x4d3398+='\x20*\x20**/\x0a',_0x4d3398+=_0x23cfef(0x1f8)+_0x1d1bc3+_0x23cfef(0x1fe),_0x4d3398+=_0x23cfef(0x213),_0x4d3398+='}\x0a\x0a';for(const _0x5d4db9 of _0x346fa1){typeof _0x5d4db9=='string'&&(_0x4d3398+=_0x23cfef(0x1f8)+_0x5d4db9[_0x23cfef(0x208)](0x0,0x1)[_0x23cfef(0x1d8)]()+_0x5d4db9[_0x23cfef(0x208)](0x1)['toLowerCase']()+_0x1d1bc3+_0x23cfef(0x235)+_0x1d1bc3+_0x23cfef(0x1c8),_0x4d3398+='}\x0a\x0a');}_0x4d3398=_0x4d3398['replace']('%DtoColumn%',_0x2db25b),fs['writeFileSync'](_0x30bdf4,_0x4d3398,_0x23cfef(0x224));}}async function DTOSearch({controllers:_0x45455d,tablestartUp:_0x5f5b0a,tablestartUpShort:_0x26fc78,basedir:_0x544f30,Fields:_0x629b7c,Primary:_0xf8ead4,Comment:_0x4d4f5c,moduleName:_0x93eb06,apporbasic:_0x5717f2}){const _0x53bf0c=a10_0x12a0c7,_0x2dd371=_0x544f30+(_0x53bf0c(0x23e)+_0x26fc78+_0x53bf0c(0x1fb));if(!fs['existsSync'](_0x2dd371)){let _0x2c5eed='',_0x5c29c5='',_0x1e5745=![];for(let _0x59f3eb of[{[_0xf8ead4[_0x53bf0c(0x215)]]:_0xf8ead4},_0x629b7c]){for(let _0x41a91b in _0x59f3eb){let _0x22d6b0=_0x59f3eb[_0x41a91b],_0x16a8cf=(0x0,helper_1[_0x53bf0c(0x22f)])(_0x22d6b0[_0x53bf0c(0x1db)]);if(_0x22d6b0[_0x53bf0c(0x215)]==_0x53bf0c(0x1e4)||_0x22d6b0[_0x53bf0c(0x215)]==_0x53bf0c(0x22b)||_0x22d6b0[_0x53bf0c(0x215)]==_0x53bf0c(0x233)||_0x22d6b0[_0x53bf0c(0x215)]==_0x53bf0c(0x1e6))continue;if([_0x53bf0c(0x20b),_0x53bf0c(0x1f0),'mediumtext'][_0x53bf0c(0x214)](_0x16a8cf)!=-0x1){}else{if([_0x53bf0c(0x216),_0x53bf0c(0x212),_0x53bf0c(0x23f),_0x53bf0c(0x226)][_0x53bf0c(0x214)](_0x16a8cf)!=-0x1)_0x2c5eed+='\x20\x20\x20\x20@Rule(\x27'+_0x22d6b0[_0x53bf0c(0x21a)]+_0x53bf0c(0x1eb),_0x2c5eed+='\x20\x20\x20\x20'+_0x22d6b0[_0x53bf0c(0x215)]+'?:\x20number;\x0a\x0a';else{if([_0x53bf0c(0x1e5)]['indexOf'](_0x16a8cf)!=-0x1)_0x1e5745=!![],_0x2c5eed+=_0x53bf0c(0x22d)+_0x22d6b0[_0x53bf0c(0x21a)]+_0x53bf0c(0x200)+_0x5f5b0a+_0x53bf0c(0x1cc)+_0x22d6b0[_0x53bf0c(0x215)]+_0x53bf0c(0x23c),_0x2c5eed+='\x20\x20\x20\x20'+_0x22d6b0[_0x53bf0c(0x215)]+_0x53bf0c(0x22c);else{if(_0x16a8cf==_0x53bf0c(0x1d4)){}else{if(_0x16a8cf==_0x53bf0c(0x20f)){let _0x9ed49d=(0x0,helper_1[_0x53bf0c(0x1ce)])(_0x22d6b0[_0x53bf0c(0x1db)]);_0x2c5eed+='\x20\x20\x20\x20@Rule(\x27'+_0x22d6b0[_0x53bf0c(0x21a)]+_0x53bf0c(0x1fc)+_0x9ed49d[_0x53bf0c(0x231)](_0x53bf0c(0x20c))+'\x27))\x0a',_0x2c5eed+=_0x53bf0c(0x240)+_0x22d6b0[_0x53bf0c(0x215)]+_0x53bf0c(0x211)+_0x9ed49d[_0x53bf0c(0x231)]('\x27\x20|\x20\x27')+_0x53bf0c(0x23a);}else['date',_0x53bf0c(0x1e8),_0x53bf0c(0x218)]['indexOf'](_0x16a8cf)>-0x1?(_0x2c5eed+=_0x53bf0c(0x22d)+_0x22d6b0['Comment']+_0x53bf0c(0x1f9),_0x2c5eed+='\x20\x20\x20\x20'+_0x22d6b0[_0x53bf0c(0x215)]+'?:\x20string;\x0a\x0a',_0x2c5eed+='\x20\x20\x20\x20@Rule(\x27'+_0x22d6b0[_0x53bf0c(0x21a)]+_0x53bf0c(0x228),_0x2c5eed+=_0x53bf0c(0x240)+_0x22d6b0[_0x53bf0c(0x215)]+_0x53bf0c(0x1fa),_0x2c5eed+=_0x53bf0c(0x22d)+_0x22d6b0['Comment']+_0x53bf0c(0x229),_0x2c5eed+=_0x53bf0c(0x240)+_0x22d6b0['Field']+'_start?:\x20string;\x0a\x0a',_0x2c5eed+=_0x53bf0c(0x22d)+_0x22d6b0[_0x53bf0c(0x21a)]+_0x53bf0c(0x1f3),_0x2c5eed+=_0x53bf0c(0x240)+_0x22d6b0[_0x53bf0c(0x215)]+_0x53bf0c(0x1ea)):(_0x2c5eed+=_0x53bf0c(0x22d)+_0x22d6b0[_0x53bf0c(0x21a)]+_0x53bf0c(0x1f9),_0x2c5eed+=_0x53bf0c(0x240)+_0x22d6b0[_0x53bf0c(0x215)]+_0x53bf0c(0x1ec));}}}}}}_0x2c5eed+=_0x53bf0c(0x20a),_0x2c5eed+=_0x53bf0c(0x230),_0x2c5eed+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x2c5eed+=_0x53bf0c(0x21e),_0x2c5eed+=_0x53bf0c(0x225),_0x2c5eed+='\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a',_0x2c5eed+=_0x53bf0c(0x239),_0x2c5eed+=_0x53bf0c(0x21b),_0x2c5eed+=_0x53bf0c(0x1dc),_0x2c5eed+=_0x53bf0c(0x1c9),_0x2c5eed+=_0x53bf0c(0x21f),_0x2c5eed+=_0x53bf0c(0x23b),_0x2c5eed+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x2c5eed+=_0x53bf0c(0x1ff);(_0x45455d===null||_0x45455d===void 0x0?void 0x0:_0x45455d[_0x53bf0c(0x236)](_0x144c7a=>typeof _0x144c7a!=_0x53bf0c(0x207)))?_0x5c29c5+=_0x53bf0c(0x205):_0x5c29c5+=_0x53bf0c(0x221);_0x1e5745&&(_0x5c29c5+=_0x53bf0c(0x1e7)+_0x5f5b0a+_0x53bf0c(0x1ed)+(typeof _0x93eb06=='string'?'@/apps/'+_0x93eb06:'@/'+_0x5717f2)+'/enums/'+_0x26fc78+'\x27;\x0a');_0x5c29c5+='\x0a',_0x5c29c5+=_0x53bf0c(0x232),_0x5c29c5+='\x20*\x20'+_0x4d4f5c+'\x0a',_0x5c29c5+=_0x53bf0c(0x222),_0x5c29c5+=_0x53bf0c(0x1d5),_0x5c29c5+='export\x20class\x20'+_0x5f5b0a+_0x53bf0c(0x20d),_0x5c29c5+=_0x53bf0c(0x1f7),_0x5c29c5+=_0x53bf0c(0x21d);for(const _0x2faf78 of _0x45455d){typeof _0x2faf78==_0x53bf0c(0x1d2)&&(_0x5c29c5+=_0x53bf0c(0x1f8)+_0x2faf78[_0x53bf0c(0x208)](0x0,0x1)[_0x53bf0c(0x1d8)]()+_0x2faf78[_0x53bf0c(0x208)](0x1)[_0x53bf0c(0x1f4)]()+_0x5f5b0a+_0x53bf0c(0x21c)+_0x5f5b0a+_0x53bf0c(0x1f1),_0x5c29c5+=_0x53bf0c(0x21d));}_0x5c29c5=_0x5c29c5[_0x53bf0c(0x1e1)](_0x53bf0c(0x1f7),_0x2c5eed),fs[_0x53bf0c(0x22e)](_0x2dd371,_0x5c29c5,_0x53bf0c(0x224));}}
@@ -1 +1 @@
1
- const a11_0x1b457b=a11_0x206e;(function(_0x3f4601,_0xcb320f){const _0x4a3b1e=a11_0x206e,_0x1e8cbc=_0x3f4601();while(!![]){try{const _0x502415=parseInt(_0x4a3b1e(0x107))/0x1*(-parseInt(_0x4a3b1e(0x10a))/0x2)+-parseInt(_0x4a3b1e(0x118))/0x3*(parseInt(_0x4a3b1e(0xfa))/0x4)+parseInt(_0x4a3b1e(0xfb))/0x5+-parseInt(_0x4a3b1e(0x105))/0x6*(-parseInt(_0x4a3b1e(0xfe))/0x7)+-parseInt(_0x4a3b1e(0x11f))/0x8*(-parseInt(_0x4a3b1e(0x10e))/0x9)+parseInt(_0x4a3b1e(0xf4))/0xa*(-parseInt(_0x4a3b1e(0x11c))/0xb)+parseInt(_0x4a3b1e(0xf6))/0xc;if(_0x502415===_0xcb320f)break;else _0x1e8cbc['push'](_0x1e8cbc['shift']());}catch(_0x460e5a){_0x1e8cbc['push'](_0x1e8cbc['shift']());}}}(a11_0x31ee,0xdc386));const a11_0x289164=(function(){let _0x2888e5=!![];return function(_0x84e220,_0x15b02c){const _0x2d8463=_0x2888e5?function(){const _0xc4bdce=a11_0x206e;if(_0x15b02c){const _0x91ec51=_0x15b02c[_0xc4bdce(0x10f)](_0x84e220,arguments);return _0x15b02c=null,_0x91ec51;}}:function(){};return _0x2888e5=![],_0x2d8463;};}()),a11_0x427900=a11_0x289164(this,function(){const _0x15cc01=a11_0x206e;return a11_0x427900[_0x15cc01(0xfd)]()[_0x15cc01(0x115)](_0x15cc01(0xf8))['toString']()['constructor'](a11_0x427900)[_0x15cc01(0x115)](_0x15cc01(0xf8));});a11_0x427900();'use strict';Object['defineProperty'](exports,a11_0x1b457b(0x11b),{'value':!![]});function a11_0x206e(_0x170dd5,_0x42d34b){const _0x1359e3=a11_0x31ee();return a11_0x206e=function(_0x427900,_0x289164){_0x427900=_0x427900-0xf2;let _0x31ee59=_0x1359e3[_0x427900];return _0x31ee59;},a11_0x206e(_0x170dd5,_0x42d34b);}const fs=require('fs'),path_1=require(a11_0x1b457b(0x11e));function a11_0x31ee(){const _0x333241=['\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','3924EPKlZw','apply','Field','//\x20','/remove','\x20\x20\x20\x20},\x0a','export\x20const\x20','search','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','@删除\x27,\x0a','309339KdbsHV','\x20\x20\x20\x20detail:{\x0a','/detail/:','__esModule','1375niXQWN','\x20\x20\x20\x20add:{\x0a','path','27392CELYWH','/pages/','/vue','writeFileSync','\x20\x20\x20\x20list:{\x0a','dirname','130940tQqeGb','@添加\x27,\x0a','15229644qseyKW','/apis/','(((.+)+)+)+$','\x20\x20\x20\x20edit:{\x0a','36tMLRpR','2908785uFLPua','/list','toString','38017LfIBHH','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','string','/add','.js','mkdirSync','cwd','150adOOxN','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','36LAJXyL','@编辑\x27,\x0a','\x20=\x20{\x0a','708aUrASi','/pages/apps/','\x20\x20\x20\x20}\x0a'];a11_0x31ee=function(){return _0x333241;};return a11_0x31ee();}async function default_1({tablestartUpShort:_0x31d432,tablestartUpShort2:_0x4310c3,moduleName:_0x450d52,controller:_0x16f9c7,Comment:_0x1248f7,apporbasic:_0x5552eb,Primary:_0x131165}){const _0xeaa311=a11_0x1b457b;let _0x480537=process[_0xeaa311(0x104)]()+_0xeaa311(0x121)+(typeof _0x16f9c7==_0xeaa311(0x100)?'/'+_0x16f9c7:'');_0x450d52?_0x480537=_0x480537+(_0xeaa311(0x10b)+_0x450d52+_0xeaa311(0xf7)+_0x31d432+_0xeaa311(0x102)):_0x480537=_0x480537+(_0xeaa311(0x120)+_0x5552eb+'/apis/'+_0x31d432+_0xeaa311(0x102));if(!fs['existsSync'](_0x480537)){const _0x59e180=''+(typeof _0x16f9c7==_0xeaa311(0x100)?_0x16f9c7+'/':'')+(_0x450d52?_0x450d52+'/':'')+_0x4310c3+_0xeaa311(0x101),_0x1d3b57=''+(typeof _0x16f9c7==_0xeaa311(0x100)?_0x16f9c7+'/':'')+(_0x450d52?_0x450d52+'/':'')+_0x4310c3+_0xeaa311(0xfc),_0x56d1d8=''+(typeof _0x16f9c7==_0xeaa311(0x100)?_0x16f9c7+'/':'')+(_0x450d52?_0x450d52+'/':'')+_0x4310c3+'/edit/:'+_0x131165[_0xeaa311(0x110)],_0x4cf047=''+(typeof _0x16f9c7==_0xeaa311(0x100)?_0x16f9c7+'/':'')+(_0x450d52?_0x450d52+'/':'')+_0x4310c3+_0xeaa311(0x11a)+_0x131165[_0xeaa311(0x110)],_0x56274a=''+(typeof _0x16f9c7==_0xeaa311(0x100)?_0x16f9c7+'/':'')+(_0x450d52?_0x450d52+'/':'')+_0x4310c3+_0xeaa311(0x112);let _0x49e243='\x0a\x0a';_0x49e243+=_0xeaa311(0x111)+_0x1248f7+'\x0a',_0x49e243+=_0xeaa311(0x114)+_0x31d432+_0xeaa311(0x109),_0x49e243+=_0xeaa311(0x11d),_0x49e243+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x49e243+=_0xeaa311(0x106)+_0x1248f7+_0xeaa311(0xf5),_0x49e243+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x59e180+'\x27\x0a',_0x49e243+=_0xeaa311(0x113),_0x49e243+=_0xeaa311(0xf9),_0x49e243+=_0xeaa311(0xff),_0x49e243+=_0xeaa311(0x106)+_0x1248f7+_0xeaa311(0x108),_0x49e243+=_0xeaa311(0x10d)+_0x56d1d8+'\x27\x0a',_0x49e243+=_0xeaa311(0x113),_0x49e243+=_0xeaa311(0xf2),_0x49e243+=_0xeaa311(0x116),_0x49e243+=_0xeaa311(0x106)+_0x1248f7+'@列表\x27,\x0a',_0x49e243+=_0xeaa311(0x10d)+_0x1d3b57+'\x27\x0a',_0x49e243+=_0xeaa311(0x113),_0x49e243+=_0xeaa311(0x119),_0x49e243+=_0xeaa311(0x116),_0x49e243+=_0xeaa311(0x106)+_0x1248f7+'@详情\x27,\x0a',_0x49e243+=_0xeaa311(0x10d)+_0x4cf047+'\x27\x0a',_0x49e243+=_0xeaa311(0x113),_0x49e243+='\x20\x20\x20\x20remove:{\x0a',_0x49e243+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x49e243+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x1248f7+_0xeaa311(0x117),_0x49e243+=_0xeaa311(0x10d)+_0x56274a+'\x27\x0a',_0x49e243+=_0xeaa311(0x10c),_0x49e243+='}\x0a',fs[_0xeaa311(0x103)]((0x0,path_1[_0xeaa311(0xf3)])(_0x480537),{'recursive':!![]}),fs[_0xeaa311(0x122)](_0x480537,_0x49e243,'utf-8');}}exports['default']=default_1;
1
+ const a11_0x58392a=a11_0x1d1e;(function(_0x2ae64f,_0x57ee69){const _0x4ca277=a11_0x1d1e,_0x30a073=_0x2ae64f();while(!![]){try{const _0x429182=parseInt(_0x4ca277(0xbf))/0x1+parseInt(_0x4ca277(0xcd))/0x2*(-parseInt(_0x4ca277(0xad))/0x3)+-parseInt(_0x4ca277(0xbb))/0x4+-parseInt(_0x4ca277(0xcb))/0x5*(-parseInt(_0x4ca277(0xbe))/0x6)+-parseInt(_0x4ca277(0xb2))/0x7+-parseInt(_0x4ca277(0xa8))/0x8*(parseInt(_0x4ca277(0xa7))/0x9)+parseInt(_0x4ca277(0xc6))/0xa;if(_0x429182===_0x57ee69)break;else _0x30a073['push'](_0x30a073['shift']());}catch(_0x57c3b7){_0x30a073['push'](_0x30a073['shift']());}}}(a11_0xaf30,0x33c04));function a11_0x1d1e(_0x4cf4ac,_0x9d6de){const _0x16b79a=a11_0xaf30();return a11_0x1d1e=function(_0x243036,_0x49faa5){_0x243036=_0x243036-0xa4;let _0xaf309b=_0x16b79a[_0x243036];return _0xaf309b;},a11_0x1d1e(_0x4cf4ac,_0x9d6de);}const a11_0x49faa5=(function(){let _0x357244=!![];return function(_0x3ba742,_0x5281a2){const _0x11874b=_0x357244?function(){if(_0x5281a2){const _0x3e4aa7=_0x5281a2['apply'](_0x3ba742,arguments);return _0x5281a2=null,_0x3e4aa7;}}:function(){};return _0x357244=![],_0x11874b;};}()),a11_0x243036=a11_0x49faa5(this,function(){const _0x262ccb=a11_0x1d1e;return a11_0x243036[_0x262ccb(0xbd)]()[_0x262ccb(0xa6)]('(((.+)+)+)+$')[_0x262ccb(0xbd)]()[_0x262ccb(0xc1)](a11_0x243036)[_0x262ccb(0xa6)](_0x262ccb(0xaf));});a11_0x243036();'use strict';Object[a11_0x58392a(0xa9)](exports,a11_0x58392a(0xb1),{'value':!![]});const fs=require('fs'),path_1=require(a11_0x58392a(0xcf));function a11_0xaf30(){const _0x1e653f=['\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','utf-8','\x20\x20\x20\x20remove:{\x0a','\x20\x20\x20\x20},\x0a','1991320UFLRyZ','/detail/:','Field','\x20=\x20{\x0a','@编辑\x27,\x0a','15amDERq','//\x20','6zZhWAQ','\x20\x20\x20\x20list:{\x0a','path','/add','@列表\x27,\x0a','.js','search','639NtHYhy','6400pDfLNQ','defineProperty','string','mkdirSync','@删除\x27,\x0a','178257pWZQOB','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','(((.+)+)+)+$','\x20\x20\x20\x20edit:{\x0a','__esModule','664902SjIeex','@添加\x27,\x0a','/apis/','/pages/apps/','\x20\x20\x20\x20}\x0a','export\x20const\x20','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','@详情\x27,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','457704NSbiKq','/edit/:','toString','612822ysOWcj','150898LgJBoQ','existsSync','constructor'];a11_0xaf30=function(){return _0x1e653f;};return a11_0xaf30();}async function default_1({tablestartUpShort:_0x2f5494,tablestartUpShort2:_0x5cba3f,moduleName:_0x30e122,controller:_0x1ee503,Comment:_0x25b88d,apporbasic:_0x285c04,Primary:_0x2daf4d}){const _0x8e72b=a11_0x58392a;let _0x387d2e=process['cwd']()+'/vue'+(typeof _0x1ee503==_0x8e72b(0xaa)?'/'+_0x1ee503:'');_0x30e122?_0x387d2e=_0x387d2e+(_0x8e72b(0xb5)+_0x30e122+_0x8e72b(0xb4)+_0x2f5494+_0x8e72b(0xa5)):_0x387d2e=_0x387d2e+('/pages/'+_0x285c04+'/apis/'+_0x2f5494+_0x8e72b(0xa5));if(!fs[_0x8e72b(0xc0)](_0x387d2e)){const _0x397459=''+(typeof _0x1ee503==_0x8e72b(0xaa)?_0x1ee503+'/':'')+(_0x30e122?_0x30e122+'/':'')+_0x5cba3f+_0x8e72b(0xd0),_0xb7921c=''+(typeof _0x1ee503=='string'?_0x1ee503+'/':'')+(_0x30e122?_0x30e122+'/':'')+_0x5cba3f+'/list',_0x202aac=''+(typeof _0x1ee503==_0x8e72b(0xaa)?_0x1ee503+'/':'')+(_0x30e122?_0x30e122+'/':'')+_0x5cba3f+_0x8e72b(0xbc)+_0x2daf4d[_0x8e72b(0xc8)],_0x35272c=''+(typeof _0x1ee503=='string'?_0x1ee503+'/':'')+(_0x30e122?_0x30e122+'/':'')+_0x5cba3f+_0x8e72b(0xc7)+_0x2daf4d[_0x8e72b(0xc8)],_0x674c0=''+(typeof _0x1ee503==_0x8e72b(0xaa)?_0x1ee503+'/':'')+(_0x30e122?_0x30e122+'/':'')+_0x5cba3f+'/remove';let _0x4228ef='\x0a\x0a';_0x4228ef+=_0x8e72b(0xcc)+_0x25b88d+'\x0a',_0x4228ef+=_0x8e72b(0xb7)+_0x2f5494+_0x8e72b(0xc9),_0x4228ef+='\x20\x20\x20\x20add:{\x0a',_0x4228ef+=_0x8e72b(0xba),_0x4228ef+=_0x8e72b(0xc2)+_0x25b88d+_0x8e72b(0xb3),_0x4228ef+=_0x8e72b(0xb8)+_0x397459+'\x27\x0a',_0x4228ef+=_0x8e72b(0xc5),_0x4228ef+=_0x8e72b(0xb0),_0x4228ef+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x4228ef+=_0x8e72b(0xc2)+_0x25b88d+_0x8e72b(0xca),_0x4228ef+=_0x8e72b(0xb8)+_0x202aac+'\x27\x0a',_0x4228ef+=_0x8e72b(0xc5),_0x4228ef+=_0x8e72b(0xce),_0x4228ef+=_0x8e72b(0xae),_0x4228ef+=_0x8e72b(0xc2)+_0x25b88d+_0x8e72b(0xa4),_0x4228ef+=_0x8e72b(0xb8)+_0xb7921c+'\x27\x0a',_0x4228ef+=_0x8e72b(0xc5),_0x4228ef+='\x20\x20\x20\x20detail:{\x0a',_0x4228ef+=_0x8e72b(0xae),_0x4228ef+=_0x8e72b(0xc2)+_0x25b88d+_0x8e72b(0xb9),_0x4228ef+=_0x8e72b(0xb8)+_0x35272c+'\x27\x0a',_0x4228ef+=_0x8e72b(0xc5),_0x4228ef+=_0x8e72b(0xc4),_0x4228ef+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x4228ef+=_0x8e72b(0xc2)+_0x25b88d+_0x8e72b(0xac),_0x4228ef+=_0x8e72b(0xb8)+_0x674c0+'\x27\x0a',_0x4228ef+=_0x8e72b(0xb6),_0x4228ef+='}\x0a',fs[_0x8e72b(0xab)]((0x0,path_1['dirname'])(_0x387d2e),{'recursive':!![]}),fs['writeFileSync'](_0x387d2e,_0x4228ef,_0x8e72b(0xc3));}}exports['default']=default_1;
@@ -1 +1 @@
1
- const a12_0x195672=a12_0x2882;function a12_0x59d5(){const _0x359479=['constructor','</template>\x0a\x0a','343pNJdxv','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','\x20\x20\x20\x20},\x0a','mkdirSync','/vue','\x20\x20\x20\x20data()\x20{\x0a','search','2336BIAENY','<script>\x0a','replace','export\x20default\x20{\x0a','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','1170762oIYYLf','1322040RBKafD','//\x20add\x20menu\x20here','cwd','existsSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','__esModule','/pages/','34068vcCsWa','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','/pages/apps/',',\x20path:\x20\x22','toString','string','/layout.vue','/apps-','126nPXYdS','</script>\x0a\x0a','padEnd','defineProperty','writeFileSync','2559KKBVsH','{title:\x20\x22','<template>\x0a','18yEOTEZ','\x20\x20\x20\x20</page-layout>\x0a','18080YqNAQR','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','readFileSync','260zCYeKQ','3890788Sqkgnm','(((.+)+)+)+$'];a12_0x59d5=function(){return _0x359479;};return a12_0x59d5();}(function(_0xb5f594,_0x4c1030){const _0x51a22f=a12_0x2882,_0x5c3f5a=_0xb5f594();while(!![]){try{const _0x47747b=parseInt(_0x51a22f(0x1f8))/0x1*(-parseInt(_0x51a22f(0x208))/0x2)+-parseInt(_0x51a22f(0x205))/0x3*(-parseInt(_0x51a22f(0x20d))/0x4)+parseInt(_0x51a22f(0x1f1))/0x5+-parseInt(_0x51a22f(0x1f0))/0x6+parseInt(_0x51a22f(0x212))/0x7*(parseInt(_0x51a22f(0x1eb))/0x8)+-parseInt(_0x51a22f(0x200))/0x9*(parseInt(_0x51a22f(0x20a))/0xa)+parseInt(_0x51a22f(0x20e))/0xb;if(_0x47747b===_0x4c1030)break;else _0x5c3f5a['push'](_0x5c3f5a['shift']());}catch(_0x7b9c74){_0x5c3f5a['push'](_0x5c3f5a['shift']());}}}(a12_0x59d5,0x27432));const a12_0x2d223e=(function(){let _0x2dfb0c=!![];return function(_0x1a0a71,_0x1833ca){const _0x3e36ae=_0x2dfb0c?function(){if(_0x1833ca){const _0x3434cf=_0x1833ca['apply'](_0x1a0a71,arguments);return _0x1833ca=null,_0x3434cf;}}:function(){};return _0x2dfb0c=![],_0x3e36ae;};}()),a12_0x1eed92=a12_0x2d223e(this,function(){const _0x5644a2=a12_0x2882;return a12_0x1eed92[_0x5644a2(0x1fc)]()[_0x5644a2(0x1ea)](_0x5644a2(0x20f))[_0x5644a2(0x1fc)]()[_0x5644a2(0x210)](a12_0x1eed92)[_0x5644a2(0x1ea)](_0x5644a2(0x20f));});a12_0x1eed92();'use strict';function a12_0x2882(_0x5f2903,_0x36fe01){const _0x3d82a0=a12_0x59d5();return a12_0x2882=function(_0x1eed92,_0x2d223e){_0x1eed92=_0x1eed92-0x1ea;let _0x59d5f9=_0x3d82a0[_0x1eed92];return _0x59d5f9;},a12_0x2882(_0x5f2903,_0x36fe01);}Object[a12_0x195672(0x203)](exports,a12_0x195672(0x1f6),{'value':!![]});const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x1b534a,controller:_0x38c73c,moduleName:_0x36d8a1,Comment:_0x58cc99,apporbasic:_0x432b8f}){const _0x5bc2e6=a12_0x195672;let _0x299636=process[_0x5bc2e6(0x1f3)]()+_0x5bc2e6(0x217)+(typeof _0x38c73c==_0x5bc2e6(0x1fd)?'/'+_0x38c73c:'');_0x36d8a1?_0x299636=_0x299636+(_0x5bc2e6(0x1fa)+_0x36d8a1+_0x5bc2e6(0x1fe)):_0x299636=_0x299636+(_0x5bc2e6(0x1f7)+_0x432b8f+'/layout.vue');await createLayout(_0x299636);const _0x16868a=fs[_0x5bc2e6(0x20c)](_0x299636,'utf-8');fs['writeFileSync'](_0x299636,_0x16868a[_0x5bc2e6(0x1ed)](_0x5bc2e6(0x1f2),_0x5bc2e6(0x206)+(_0x58cc99+'\x22')[_0x5bc2e6(0x202)](0x14)+_0x5bc2e6(0x1fb)+(''+(typeof _0x36d8a1=='string'?_0x5bc2e6(0x1ff)+_0x36d8a1+'/':'/'+_0x432b8f+'/')+_0x1b534a+'\x22')[_0x5bc2e6(0x202)](0x14)+_0x5bc2e6(0x214)));}exports['default']=default_1;async function createLayout(_0x3291ac){const _0x1d7f4f=a12_0x195672;if(!fs[_0x1d7f4f(0x1f4)](_0x3291ac)){let _0x2e189a=_0x1d7f4f(0x207);_0x2e189a+=_0x1d7f4f(0x1ef),_0x2e189a+=_0x1d7f4f(0x209),_0x2e189a+=_0x1d7f4f(0x211),_0x2e189a+=_0x1d7f4f(0x1ec),_0x2e189a+=_0x1d7f4f(0x1ee),_0x2e189a+=_0x1d7f4f(0x218),_0x2e189a+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x2e189a+=_0x1d7f4f(0x1f9),_0x2e189a+=_0x1d7f4f(0x1f5),_0x2e189a+=_0x1d7f4f(0x20b),_0x2e189a+=_0x1d7f4f(0x213),_0x2e189a+=_0x1d7f4f(0x215),_0x2e189a+='}\x0a',_0x2e189a+=_0x1d7f4f(0x201),fs[_0x1d7f4f(0x216)]((0x0,path_1['dirname'])(_0x3291ac),{'recursive':!![]}),fs[_0x1d7f4f(0x204)](_0x3291ac,_0x2e189a,'utf-8');}}
1
+ const a12_0x563125=a12_0x1ab3;(function(_0xa0c1f6,_0x557b92){const _0x1f1959=a12_0x1ab3,_0x3bc062=_0xa0c1f6();while(!![]){try{const _0xfede39=parseInt(_0x1f1959(0x105))/0x1+parseInt(_0x1f1959(0x103))/0x2+parseInt(_0x1f1959(0x10e))/0x3+-parseInt(_0x1f1959(0x101))/0x4+parseInt(_0x1f1959(0x113))/0x5+-parseInt(_0x1f1959(0xf7))/0x6+-parseInt(_0x1f1959(0x10f))/0x7;if(_0xfede39===_0x557b92)break;else _0x3bc062['push'](_0x3bc062['shift']());}catch(_0x3df3ce){_0x3bc062['push'](_0x3bc062['shift']());}}}(a12_0x25a2,0x9d1c1));function a12_0x25a2(){const _0x25f403=['toString','padEnd','mkdirSync','4454622mhnoiB','existsSync','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','dirname','utf-8','<script>\x0a','search','\x20\x20\x20\x20</page-layout>\x0a','apply','cwd','2188976aFCCDr','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','1004420QkZAUk','replace','854151RRESIg','defineProperty','/apps-','{title:\x20\x22','//\x20add\x20menu\x20here','constructor','string','\x20\x20\x20\x20data()\x20{\x0a','(((.+)+)+)+$','1769148inFjOY','3372628eqhFvR','default','writeFileSync','readFileSync','2344645LghKcT','</script>\x0a\x0a','<template>\x0a','/layout.vue'];a12_0x25a2=function(){return _0x25f403;};return a12_0x25a2();}const a12_0x472710=(function(){let _0x3e8b2c=!![];return function(_0x5ba58c,_0xa8492a){const _0x5d5300=_0x3e8b2c?function(){const _0x43693d=a12_0x1ab3;if(_0xa8492a){const _0x4ac4f0=_0xa8492a[_0x43693d(0xff)](_0x5ba58c,arguments);return _0xa8492a=null,_0x4ac4f0;}}:function(){};return _0x3e8b2c=![],_0x5d5300;};}()),a12_0x5aef2e=a12_0x472710(this,function(){const _0x310119=a12_0x1ab3;return a12_0x5aef2e[_0x310119(0xf4)]()[_0x310119(0xfd)]('(((.+)+)+)+$')[_0x310119(0xf4)]()[_0x310119(0x10a)](a12_0x5aef2e)[_0x310119(0xfd)](_0x310119(0x10d));});a12_0x5aef2e();function a12_0x1ab3(_0x53d705,_0xd37e32){const _0x753147=a12_0x25a2();return a12_0x1ab3=function(_0x5aef2e,_0x472710){_0x5aef2e=_0x5aef2e-0xf3;let _0x25a290=_0x753147[_0x5aef2e];return _0x25a290;},a12_0x1ab3(_0x53d705,_0xd37e32);}'use strict';Object[a12_0x563125(0x106)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x150076,controller:_0x2f346e,moduleName:_0x238e8c,Comment:_0x46bcb3,apporbasic:_0x5c4096}){const _0x441b2d=a12_0x563125;let _0x39db5c=process[_0x441b2d(0x100)]()+'/vue'+(typeof _0x2f346e==_0x441b2d(0x10b)?'/'+_0x2f346e:'');_0x238e8c?_0x39db5c=_0x39db5c+('/pages/apps/'+_0x238e8c+_0x441b2d(0xf3)):_0x39db5c=_0x39db5c+('/pages/'+_0x5c4096+_0x441b2d(0xf3));await createLayout(_0x39db5c);const _0x14eec6=fs[_0x441b2d(0x112)](_0x39db5c,'utf-8');fs['writeFileSync'](_0x39db5c,_0x14eec6[_0x441b2d(0x104)](_0x441b2d(0x109),_0x441b2d(0x108)+(_0x46bcb3+'\x22')[_0x441b2d(0xf5)](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x238e8c==_0x441b2d(0x10b)?_0x441b2d(0x107)+_0x238e8c+'/':'/'+_0x5c4096+'/')+_0x150076+'\x22')[_0x441b2d(0xf5)](0x14)+'},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}exports[a12_0x563125(0x110)]=default_1;async function createLayout(_0xb70189){const _0x336190=a12_0x563125;if(!fs[_0x336190(0xf8)](_0xb70189)){let _0x4fa8d9=_0x336190(0x115);_0x4fa8d9+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a',_0x4fa8d9+=_0x336190(0xfe),_0x4fa8d9+='</template>\x0a\x0a',_0x4fa8d9+=_0x336190(0xfc),_0x4fa8d9+='export\x20default\x20{\x0a',_0x4fa8d9+=_0x336190(0x10c),_0x4fa8d9+=_0x336190(0xf9),_0x4fa8d9+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a',_0x4fa8d9+=_0x336190(0x102),_0x4fa8d9+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a',_0x4fa8d9+='\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0x4fa8d9+='\x20\x20\x20\x20},\x0a',_0x4fa8d9+='}\x0a',_0x4fa8d9+=_0x336190(0x114),fs[_0x336190(0xf6)]((0x0,path_1[_0x336190(0xfa)])(_0xb70189),{'recursive':!![]}),fs[_0x336190(0x111)](_0xb70189,_0x4fa8d9,_0x336190(0xfb));}}
@@ -1 +1 @@
1
- const a13_0x28f099=a13_0xb034;(function(_0x107c46,_0x40a92c){const _0x32825f=a13_0xb034,_0x5c0e59=_0x107c46();while(!![]){try{const _0x5f340d=parseInt(_0x32825f(0xbb))/0x1*(-parseInt(_0x32825f(0xe0))/0x2)+parseInt(_0x32825f(0xcc))/0x3*(-parseInt(_0x32825f(0xfa))/0x4)+-parseInt(_0x32825f(0x110))/0x5+-parseInt(_0x32825f(0xf7))/0x6*(parseInt(_0x32825f(0xbd))/0x7)+-parseInt(_0x32825f(0x8c))/0x8*(parseInt(_0x32825f(0x118))/0x9)+-parseInt(_0x32825f(0xbc))/0xa*(parseInt(_0x32825f(0xdf))/0xb)+parseInt(_0x32825f(0x12e))/0xc;if(_0x5f340d===_0x40a92c)break;else _0x5c0e59['push'](_0x5c0e59['shift']());}catch(_0x21f0ee){_0x5c0e59['push'](_0x5c0e59['shift']());}}}(a13_0x4aa1,0xe6644));const a13_0x5a0813=(function(){let _0x2efbb8=!![];return function(_0x3f68fe,_0x197276){const _0x5e44de=_0x2efbb8?function(){const _0x5a3567=a13_0xb034;if(_0x197276){const _0x5b353e=_0x197276[_0x5a3567(0xa3)](_0x3f68fe,arguments);return _0x197276=null,_0x5b353e;}}:function(){};return _0x2efbb8=![],_0x5e44de;};}()),a13_0x4cfb1d=a13_0x5a0813(this,function(){const _0x508512=a13_0xb034;return a13_0x4cfb1d[_0x508512(0xad)]()[_0x508512(0xce)](_0x508512(0x82))[_0x508512(0xad)]()[_0x508512(0x87)](a13_0x4cfb1d)['search'](_0x508512(0x82));});a13_0x4cfb1d();function a13_0xb034(_0xddd7ec,_0x41f107){const _0x2dbe2b=a13_0x4aa1();return a13_0xb034=function(_0x4cfb1d,_0x5a0813){_0x4cfb1d=_0x4cfb1d-0x79;let _0x4aa1c3=_0x2dbe2b[_0x4cfb1d];return _0x4aa1c3;},a13_0xb034(_0xddd7ec,_0x41f107);}'use strict';Object[a13_0x28f099(0xd3)](exports,a13_0x28f099(0x10d),{'value':!![]});const fs=require('fs'),path_1=require(a13_0x28f099(0x12d)),helper_1=require('../helper');async function default_1({moduleName:_0x273847,controller:_0x59ca6e,tablestartUpShort:_0x18e768,tablestartUpShort2:_0x4f01d2,Primary:_0x3a216d,Fields:_0x5f420a,apporbasic:_0x49bcf3,Comment:_0x5e4245}){const _0x1275e2=a13_0x28f099;await createIndex({'moduleName':_0x273847,'controller':_0x59ca6e,'tablestartUpShort':_0x18e768,'tablestartUpShort2':_0x4f01d2,'Primary':_0x3a216d,'Fields':_0x5f420a,'apporbasic':_0x49bcf3}),await createSearch({'moduleName':_0x273847,'controller':_0x59ca6e,'tablestartUpShort2':_0x4f01d2,'Primary':_0x3a216d,'Fields':_0x5f420a,'apporbasic':_0x49bcf3}),await createAddOrEdit({'moduleName':_0x273847,'controller':_0x59ca6e,'tablestartUpShort':_0x18e768,'tablestartUpShort2':_0x4f01d2,'Primary':_0x3a216d,'Fields':_0x5f420a,'apporbasic':_0x49bcf3,'Comment':_0x5e4245},_0x1275e2(0xa5)),await createAddOrEdit({'moduleName':_0x273847,'controller':_0x59ca6e,'tablestartUpShort':_0x18e768,'tablestartUpShort2':_0x4f01d2,'Primary':_0x3a216d,'Fields':_0x5f420a,'apporbasic':_0x49bcf3,'Comment':_0x5e4245},'edit');}exports[a13_0x28f099(0x102)]=default_1;function a13_0x4aa1(){const _0xf06922=['<el-option\x20label=\x22','\x20\x20\x20\x20methods:\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','6LReHwp','created_at','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','4WaUBlh','<el-input-number\x20v-model=\x22formdata.','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','/template/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','img','\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','default','/list/components/search.vue','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20mounted(){\x0a','<el-select\x20v-model=\x22search.','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','.detail({\x20','date','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a','/edit?','__esModule','<el-date-picker\x20v-model=\x22formdata.','\x22\x20class=\x22block\x22>','9168850cAEBhA','.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}).then(res=>{\x0a','deleted_at','\x22\x20value=\x22','/index.vue','\x22\x20:limit=\x225\x22\x20/>','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','6102kBlvOD','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','export\x20default\x20{\x0a','_end\x22\x20placeholder=\x22选择','edit','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','.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.','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20</page-form>\x0a','</el-select>',':\x20item.','updated_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','text','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','</template>','\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\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','/edit\x27\x0a','path','80019024qDBcYK','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','Comment','/list/index.vue','EditRule,\x0a','\x22\x20placeholder=\x22请选择','$appsApi.','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','indexOf','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','import\x20{\x20','Field','endsWith','<page-editor\x20v-model=\x22formdata.','(((.+)+)+)+$','\x22\x20prop=\x22','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','}`)\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','constructor','_id','AddRule,\x0a','getEnum','_ids','7552HslIQy','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','mediumtext','mkdirSync','imgs','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','cwd','<template\x20#default=\x22scope\x22>','\x20\x20\x20\x20','</script>\x0a','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>',')\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\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','utf-8','\x20\x20\x20\x20\x20\x20\x20\x20','substr','AddRule\x20}\x20from\x20\x27@','/vue','number','/pages/apps/','apply','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','add','\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>','EditRule\x20}\x20from\x20\x27@','\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<page-form\x20ref=\x22form\x22\x20title=\x22','\x22\x20clearable>','<page-images\x20v-model=\x22formdata.','writeFileSync','toString','>=\x22>','tags','<el-table-column\x20prop=','/validators/','<el-select-tags\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>',');\x0a','\x22\x20split=\x22-\x22\x20clearable/>','<el-input\x20v-model=\x22formdata.','getProp','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','1462333gbXxid','8550INcFJe','846797TYpThF','dirname','thumb','displayorder','</el-popover>','apps-','\x22\x20placeholder=\x22选择','thumbs','timestamp','<img\x20:src=\x22scope.row.','\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','Api.','<template\x20#reference>','\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','<template>\x0a','2911911xVuYLM','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','search','existsSync','string','\x22\x20api=\x22','enum','defineProperty','<el-date-picker\x20v-model=\x22search.','\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/**\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','padEnd','Type','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','logo','\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.','</template>\x0a','_start\x22\x20placeholder=\x22选择','8965vWfSVM','2pljNan','datetime','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\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','<el-input\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','<=\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','</el-form-item>','<el-form-item\x20label=\x22','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','num','\x20\x20\x20\x20},\x0a','/pages/','\x22\x20/>','/add\x27\x0a','\x22\x20placeholder=\x22请输入'];a13_0x4aa1=function(){return _0xf06922;};return a13_0x4aa1();}async function createIndex({moduleName:_0x53a3f2,controller:_0x7c1bf9,tablestartUpShort:_0x1f0123,tablestartUpShort2:_0x530412,Primary:_0xb92366,Fields:_0x44478e,apporbasic:_0x5f4061}){const _0x26c75a=a13_0x28f099;let _0x3952e4=process['cwd']()+'/vue'+(typeof _0x7c1bf9=='string'?'/'+_0x7c1bf9:'');_0x53a3f2?_0x3952e4=_0x3952e4+(_0x26c75a(0xa2)+_0x53a3f2+_0x26c75a(0xfd)+_0x530412+_0x26c75a(0x131)):_0x3952e4=_0x3952e4+(_0x26c75a(0xf0)+_0x5f4061+'/template/'+_0x530412+_0x26c75a(0x131));if(!fs['existsSync'](_0x3952e4)){const _0x4ac5a6=(typeof _0x53a3f2=='string'?_0x26c75a(0x79)+_0x53a3f2+'.':'$'+_0x5f4061+_0x26c75a(0xc8))+(''+_0x1f0123);let _0x361dcd=_0x26c75a(0xb0)+('\x22'+_0xb92366[_0x26c75a(0x7f)]+'\x22')[_0x26c75a(0xd8)](0x14)+('\x20label=\x22'+(_0xb92366['Comment']||'编号')+'\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>');for(let _0x444825 in _0x44478e){const _0x525154=_0x44478e[_0x444825];if([_0x26c75a(0xf8),'updated_at',_0x26c75a(0x113),_0x26c75a(0xc0)]['indexOf'](_0x444825)!=-0x1)continue;if(_0x444825[_0x26c75a(0x9e)](-0x3)==_0x26c75a(0x100)||_0x444825[_0x26c75a(0x9e)](-0x5)==_0x26c75a(0xbf)||_0x444825==_0x26c75a(0xbf)||_0x444825[_0x26c75a(0x9e)](-0x4)==_0x26c75a(0xdb)||_0x444825==_0x26c75a(0xdb))_0x361dcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x26c75a(0xb0)+('\x22'+_0x444825+'\x22')['padEnd'](0x14)+(_0x26c75a(0x7a)+(_0x525154[_0x26c75a(0x130)]||_0x525154[_0x26c75a(0x7f)])+_0x26c75a(0xff)),_0x361dcd+='\x0a'+_0x26c75a(0x7b)+_0x26c75a(0x94),_0x361dcd+='\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-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0x361dcd+='\x0a'+_0x26c75a(0x101)+('<a\x20:href=\x22scope.row.'+_0x444825+'\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>'),_0x361dcd+='\x0a'+_0x26c75a(0x9b)+(_0x26c75a(0xc6)+_0x444825+'\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>'),_0x361dcd+='\x0a'+_0x26c75a(0x101)+'</a>',_0x361dcd+='\x0a'+_0x26c75a(0x101)+_0x26c75a(0xc9),_0x361dcd+='\x0a'+_0x26c75a(0x9b)+(_0x26c75a(0xc6)+_0x444825+_0x26c75a(0x117)),_0x361dcd+='\x0a'+_0x26c75a(0x101)+_0x26c75a(0x129),_0x361dcd+='\x0a'+_0x26c75a(0xf6)+_0x26c75a(0xc1),_0x361dcd+='\x0a'+_0x26c75a(0x7b)+'</template>',_0x361dcd+='\x0a'+_0x26c75a(0xb3)+'</el-table-column>';else[_0x26c75a(0x127),'longtext']['indexOf']((0x0,helper_1[_0x26c75a(0xb9)])(_0x525154[_0x26c75a(0xd9)]))==-0x1&&(_0x361dcd+='\x0a'+_0x26c75a(0xb3)+_0x26c75a(0xb0)+('\x22'+_0x444825+'\x22')[_0x26c75a(0xd8)](0x14)+('\x20label=\x22'+(_0x525154[_0x26c75a(0x130)]||_0x525154[_0x26c75a(0x7f)])+'\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>'));}fs['mkdirSync']((0x0,path_1[_0x26c75a(0xbe)])(_0x3952e4),{'recursive':!![]}),fs['writeFileSync'](_0x3952e4,'<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'+_0x4ac5a6+_0x26c75a(0x121)+(_0x53a3f2?_0x26c75a(0xc2)+_0x53a3f2+'/':_0x5f4061+'/')+_0x530412+_0x26c75a(0xe4)+_0x361dcd+_0x26c75a(0xca)+_0x4ac5a6+_0x26c75a(0xed)+(_0x53a3f2?_0x26c75a(0xc2)+_0x53a3f2+'/':_0x5f4061+'/')+_0x530412+_0x26c75a(0x10c)+_0xb92366[_0x26c75a(0x7f)]+_0x26c75a(0x104)+_0xb92366[_0x26c75a(0x7f)]+_0x26c75a(0x86)+_0x4ac5a6+_0x26c75a(0x120)+_0x4ac5a6+_0x26c75a(0x111)+_0xb92366[_0x26c75a(0x7f)]+_0x26c75a(0xdc)+_0x4ac5a6+'.remove({\x20'+_0xb92366['Field']+_0x26c75a(0x124)+_0xb92366[_0x26c75a(0x7f)]+'\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>',_0x26c75a(0x9c));}}async function createSearch({moduleName:_0x257cf2,tablestartUpShort2:_0x2240b8,controller:_0x30e7a8,Primary:_0x45b6b6,Fields:_0x286408,apporbasic:_0x4568a4}){const _0x2ac0e7=a13_0x28f099;let _0x3d6217=process['cwd']()+_0x2ac0e7(0xa0)+(typeof _0x30e7a8==_0x2ac0e7(0xd0)?'/'+_0x30e7a8:'');_0x257cf2?_0x3d6217=_0x3d6217+(_0x2ac0e7(0xa2)+_0x257cf2+_0x2ac0e7(0xfd)+_0x2240b8+_0x2ac0e7(0x103)):_0x3d6217=_0x3d6217+(_0x2ac0e7(0xf0)+_0x4568a4+'/template/'+_0x2240b8+_0x2ac0e7(0x103));if(!fs[_0x2ac0e7(0xcf)](_0x3d6217)){let _0x29390a='';_0x29390a+='\x0a'+_0x2ac0e7(0x95)+('<el-form-item\x20label=\x22'+(_0x45b6b6['Comment']||'编号')+'\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+('<el-input\x20v-model=\x22search.'+_0x45b6b6['Field']+_0x2ac0e7(0xf3)+(_0x45b6b6[_0x2ac0e7(0x130)]||'编号')+_0x2ac0e7(0x11a)),_0x29390a+='\x0a'+_0x2ac0e7(0x95)+_0x2ac0e7(0xeb);for(let _0x4a9c51 in _0x286408){const _0x4746bd=_0x286408[_0x4a9c51];if(['updated_at','deleted_at',_0x2ac0e7(0xc0)][_0x2ac0e7(0x7c)](_0x4a9c51)!=-0x1)continue;if(_0x4a9c51[_0x2ac0e7(0x9e)](-0x3)==_0x2ac0e7(0xee))_0x29390a+='\x0a'+_0x2ac0e7(0x95)+(_0x2ac0e7(0xec)+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd['Field'])+'\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+('<el-input-number\x20v-model=\x22search.'+_0x4a9c51+_0x2ac0e7(0xf3)+_0x4746bd[_0x2ac0e7(0x130)]+_0x2ac0e7(0x7d)),_0x29390a+='\x0a'+'\x20\x20\x20\x20'+_0x2ac0e7(0xeb)+'\x0a';else{if(_0x4a9c51[_0x2ac0e7(0x80)](_0x2ac0e7(0x88))){let _0x11dfb2=''+(typeof _0x30e7a8==_0x2ac0e7(0xd0)?_0x30e7a8+'/':'')+(_0x257cf2?_0x257cf2+'/':'')+_0x2240b8;_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+(_0x2ac0e7(0xec)+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd[_0x2ac0e7(0x7f)])+'\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x105)+('<el-select-search\x20v-model=\x22search.'+_0x4a9c51+_0x2ac0e7(0xd1)+_0x11dfb2+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x29390a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2ac0e7(0xeb)+'\x0a';}else switch((0x0,helper_1[_0x2ac0e7(0xb9)])(_0x4746bd[_0x2ac0e7(0xd9)])){case _0x2ac0e7(0xd2):_0x29390a+='\x0a'+_0x2ac0e7(0x95)+(_0x2ac0e7(0xec)+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd[_0x2ac0e7(0x7f)])+'\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+(_0x2ac0e7(0x107)+_0x4a9c51+_0x2ac0e7(0x133)+_0x4746bd[_0x2ac0e7(0x130)]+_0x2ac0e7(0xaa));for(let _0x1e70f3 of(0x0,helper_1[_0x2ac0e7(0x8a)])(_0x4746bd[_0x2ac0e7(0xd9)])){_0x29390a+='\x0a'+_0x2ac0e7(0x105)+(_0x2ac0e7(0xf4)+_0x1e70f3+_0x2ac0e7(0x114)+_0x1e70f3+'\x22\x20/>');}_0x29390a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-select>',_0x29390a+='\x0a'+'\x20\x20\x20\x20'+_0x2ac0e7(0xeb)+'\x0a';break;case _0x2ac0e7(0x10a):_0x29390a+='\x0a'+_0x2ac0e7(0x95)+(_0x2ac0e7(0xec)+(_0x4746bd['Comment']||_0x4746bd[_0x2ac0e7(0x7f)])+_0x2ac0e7(0xae)),_0x29390a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2ac0e7(0xd4)+_0x4a9c51+'_start\x22\x20placeholder=\x22选择'+_0x4746bd[_0x2ac0e7(0x130)]+_0x2ac0e7(0xe3)),_0x29390a+='\x0a'+'\x20\x20\x20\x20'+_0x2ac0e7(0xeb)+'\x0a',_0x29390a+='\x0a'+_0x2ac0e7(0x95)+(_0x2ac0e7(0xec)+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd[_0x2ac0e7(0x7f)])+_0x2ac0e7(0xe8)),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+(_0x2ac0e7(0xd4)+_0x4a9c51+_0x2ac0e7(0x11d)+_0x4746bd[_0x2ac0e7(0x130)]+_0x2ac0e7(0xb4)),_0x29390a+='\x0a'+_0x2ac0e7(0x95)+_0x2ac0e7(0xeb)+'\x0a';break;case _0x2ac0e7(0xe1):_0x29390a+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd[_0x2ac0e7(0x7f)])+_0x2ac0e7(0xae)),_0x29390a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2ac0e7(0xd4)+_0x4a9c51+_0x2ac0e7(0xde)+_0x4746bd['Comment']+_0x2ac0e7(0x92)),_0x29390a+='\x0a'+_0x2ac0e7(0x95)+_0x2ac0e7(0xeb)+'\x0a',_0x29390a+='\x0a'+_0x2ac0e7(0x95)+('<el-form-item\x20label=\x22'+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd[_0x2ac0e7(0x7f)])+_0x2ac0e7(0xe8)),_0x29390a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2ac0e7(0xd4)+_0x4a9c51+_0x2ac0e7(0x11d)+_0x4746bd[_0x2ac0e7(0x130)]+_0x2ac0e7(0x108)),_0x29390a+='\x0a'+'\x20\x20\x20\x20'+_0x2ac0e7(0xeb)+'\x0a';break;case _0x2ac0e7(0xc5):_0x29390a+='\x0a'+_0x2ac0e7(0x95)+(_0x2ac0e7(0xec)+(_0x4746bd['Comment']||_0x4746bd['Field'])+'>=\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+(_0x2ac0e7(0xd4)+_0x4a9c51+_0x2ac0e7(0xde)+_0x4746bd[_0x2ac0e7(0x130)]+_0x2ac0e7(0x92)),_0x29390a+='\x0a'+_0x2ac0e7(0x95)+_0x2ac0e7(0xeb)+'\x0a',_0x29390a+='\x0a'+_0x2ac0e7(0x95)+('<el-form-item\x20label=\x22'+(_0x4746bd[_0x2ac0e7(0x130)]||_0x4746bd[_0x2ac0e7(0x7f)])+'<=\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+(_0x2ac0e7(0xd4)+_0x4a9c51+_0x2ac0e7(0x11d)+_0x4746bd[_0x2ac0e7(0x130)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x29390a+='\x0a'+_0x2ac0e7(0x95)+_0x2ac0e7(0xeb)+'\x0a';break;case _0x2ac0e7(0xd0):_0x29390a+='\x0a'+_0x2ac0e7(0x95)+(_0x2ac0e7(0xec)+(_0x4746bd['Comment']||_0x4746bd[_0x2ac0e7(0x7f)])+'\x22>'),_0x29390a+='\x0a'+_0x2ac0e7(0x9d)+(_0x2ac0e7(0xe5)+_0x4a9c51+'\x22\x20placeholder=\x22请输入'+_0x4746bd['Comment']+_0x2ac0e7(0x11a)),_0x29390a+='\x0a'+_0x2ac0e7(0x95)+_0x2ac0e7(0xeb)+'\x0a';}}}fs[_0x2ac0e7(0x90)]((0x0,path_1['dirname'])(_0x3d6217),{'recursive':!![]}),fs['writeFileSync'](_0x3d6217,'<template>\x0a\x20\x20\x20\x20'+_0x29390a+_0x2ac0e7(0xa6),_0x2ac0e7(0x9c));}}async function createAddOrEdit({moduleName:_0x191c54,controller:_0x481b3f,tablestartUpShort:_0x486f0d,tablestartUpShort2:_0x508957,Primary:_0x334109,Fields:_0x10ded9,apporbasic:_0x15d5ee,Comment:_0x2a34ec},_0x199ce0=a13_0x28f099(0xa5)){const _0x189097=a13_0x28f099;let _0x4e7680=process[_0x189097(0x93)]()+_0x189097(0xa0)+(typeof _0x481b3f=='string'?'/'+_0x481b3f:'');_0x191c54?_0x4e7680=_0x4e7680+('/pages/apps/'+_0x191c54+_0x189097(0xfd)+_0x508957+'/'+_0x199ce0+_0x189097(0x115)):_0x4e7680=_0x4e7680+(_0x189097(0xf0)+_0x15d5ee+'/template/'+_0x508957+'/'+_0x199ce0+_0x189097(0x115));if(!fs['existsSync'](_0x4e7680)){const _0x54d512=(typeof _0x191c54=='string'?_0x189097(0x79)+_0x191c54+'.':'$'+_0x15d5ee+_0x189097(0xc8))+(''+_0x486f0d);let _0x133e3f='';for(let _0x587d2f in _0x10ded9){const _0x52e69c=_0x10ded9[_0x587d2f];if([_0x189097(0xf8),_0x189097(0x125),_0x189097(0x113),_0x189097(0xc0)][_0x189097(0x7c)](_0x587d2f)!=-0x1)continue;if(_0x587d2f[_0x189097(0x9e)](-0x4)==_0x189097(0x91)||_0x587d2f['substr'](-0x5)==_0x189097(0xc4))_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x52e69c['Comment']||_0x52e69c[_0x189097(0x7f)])+_0x189097(0x83)+_0x587d2f+_0x189097(0x10f)),_0x133e3f+='\x0a'+_0x189097(0x105)+(_0x189097(0xab)+_0x587d2f+_0x189097(0x116)),_0x133e3f+='\x0a'+_0x189097(0x9d)+'</el-form-item>'+'\x0a';else{if(_0x587d2f[_0x189097(0x9e)](-0x3)=='img'||_0x587d2f[_0x189097(0x9e)](-0x5)==_0x189097(0xbf)||_0x587d2f==_0x189097(0xbf)||_0x587d2f['substr'](-0x4)==_0x189097(0xdb)||_0x587d2f==_0x189097(0xdb))_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+'\x22\x20prop=\x22'+_0x587d2f+_0x189097(0x10f)),_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x189097(0xab)+_0x587d2f+'\x22\x20:limit=\x221\x22\x20/>'),_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x189097(0xeb)+'\x0a';else{if(_0x587d2f[_0x189097(0x9e)](-0x4)==_0x189097(0xaf))_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+_0x189097(0x83)+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+(_0x189097(0xb2)+_0x587d2f+'\x22\x20placeholder=\x22请输入或选择'+_0x52e69c[_0x189097(0x130)]+_0x189097(0xb7)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';else{if(_0x587d2f[_0x189097(0x9e)](-0x3)==_0x189097(0xee))_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+_0x189097(0x83)+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+('<el-input-number\x20v-model=\x22formdata.'+_0x587d2f+'\x22\x20placeholder=\x22请输入'+_0x52e69c['Comment']+_0x189097(0xe7)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';else{if(_0x587d2f['substr'](-0x4)==_0x189097(0x8b))_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+'\x22\x20prop=\x22'+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+('<el-input\x20v-model=\x22formdata.'+_0x587d2f+_0x189097(0xf3)+_0x52e69c[_0x189097(0x130)]+'\x22\x20clearable/>'),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';else{if(_0x587d2f[_0x189097(0x9e)](-0x3)==_0x189097(0x88)){let _0x178141=''+(typeof _0x481b3f=='string'?_0x481b3f+'/':'')+(_0x191c54?_0x191c54+'/':'')+_0x508957;_0x133e3f+='\x0a'+_0x189097(0x9d)+('<el-form-item\x20label=\x22'+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+_0x189097(0x83)+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+('<el-select-search\x20v-model=\x22formdata.'+_0x587d2f+_0x189097(0xd1)+_0x178141+_0x189097(0x97)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';}else switch((0x0,helper_1[_0x189097(0xb9)])(_0x52e69c[_0x189097(0xd9)])){case _0x189097(0xa1):_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+_0x189097(0x83)+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+(_0x189097(0xfb)+_0x587d2f+_0x189097(0xf3)+_0x52e69c['Comment']+_0x189097(0x98)),_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x189097(0xd2):_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c['Comment']||_0x52e69c['Field'])+'\x22\x20prop=\x22'+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+('<el-select\x20v-model=\x22formdata.'+_0x587d2f+_0x189097(0x133)+_0x52e69c[_0x189097(0x130)]+_0x189097(0xaa));for(let _0x4f645e of(0x0,helper_1[_0x189097(0x8a)])(_0x52e69c[_0x189097(0xd9)])){_0x133e3f+='\x0a'+_0x189097(0xb3)+('<el-option\x20label=\x22'+_0x4f645e+_0x189097(0x114)+_0x4f645e+_0x189097(0xf1));}_0x133e3f+='\x0a'+_0x189097(0x105)+_0x189097(0x123),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';break;case _0x189097(0x127):_0x133e3f+='\x0a'+_0x189097(0x9d)+('<el-form-item\x20label=\x22'+(_0x52e69c[_0x189097(0x130)]||_0x52e69c['Field'])+_0x189097(0x83)+_0x587d2f+'\x22\x20class=\x22block\x22>'),_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x189097(0xb8)+_0x587d2f+'\x22\x20\x20placeholder=\x22请输入'+_0x52e69c['Comment']+_0x189097(0xb5)),_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x189097(0xeb)+'\x0a';break;case'longtext':_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+_0x189097(0x83)+_0x587d2f+_0x189097(0x10f)),_0x133e3f+='\x0a'+_0x189097(0x105)+(_0x189097(0x81)+_0x587d2f+'\x22\x20/>'),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';break;case _0x189097(0x8f):_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c['Comment']||_0x52e69c['Field'])+_0x189097(0x83)+_0x587d2f+_0x189097(0x10f)),_0x133e3f+='\x0a'+_0x189097(0x105)+('<page-editor\x20v-model=\x22formdata.'+_0x587d2f+_0x189097(0xf1)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';break;case'date':_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+'\x22\x20prop=\x22'+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+(_0x189097(0x10e)+_0x587d2f+_0x189097(0xc3)+_0x52e69c['Comment']+_0x189097(0xfc)),_0x133e3f+='\x0a'+_0x189097(0x9d)+'</el-form-item>'+'\x0a';break;case _0x189097(0xe1):_0x133e3f+='\x0a'+_0x189097(0x9d)+(_0x189097(0xec)+(_0x52e69c[_0x189097(0x130)]||_0x52e69c[_0x189097(0x7f)])+'\x22\x20prop=\x22'+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+('<el-date-picker\x20v-model=\x22formdata.'+_0x587d2f+_0x189097(0xc3)+_0x52e69c[_0x189097(0x130)]+_0x189097(0x8e)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';break;case'timestamp':_0x133e3f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x189097(0xec)+(_0x52e69c['Comment']||_0x52e69c[_0x189097(0x7f)])+'\x22\x20prop=\x22'+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+(_0x189097(0x10e)+_0x587d2f+_0x189097(0xc3)+_0x52e69c['Comment']+_0x189097(0x8e)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';break;default:_0x133e3f+='\x0a'+_0x189097(0x9d)+('<el-form-item\x20label=\x22'+(_0x52e69c['Comment']||_0x52e69c['Field'])+_0x189097(0x83)+_0x587d2f+'\x22>'),_0x133e3f+='\x0a'+_0x189097(0x105)+('<el-input\x20v-model=\x22formdata.'+_0x587d2f+_0x189097(0xf3)+_0x52e69c['Comment']+_0x189097(0x11a)),_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';}}}}}}}_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0x8d),_0x133e3f+='\x0a'+_0x189097(0x105)+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x133e3f+='\x0a'+_0x189097(0x9d)+_0x189097(0xeb)+'\x0a';let _0x435baa=_0x189097(0xcb);_0x435baa+=_0x189097(0xa9)+(_0x199ce0=='add'?'添加'+_0x2a34ec:'编辑'+_0x2a34ec)+_0x189097(0xcd)+_0x54d512+'.'+(_0x199ce0==_0x189097(0xa5)?_0x189097(0xa5):_0x189097(0x11e))+'.hasPrem()\x22>\x0a',_0x435baa+=_0x189097(0x9d)+_0x133e3f+'\x0a',_0x435baa+=_0x189097(0x11b),_0x435baa+=_0x189097(0xd5)+_0x54d512+'.'+(_0x199ce0==_0x189097(0xa5)?_0x189097(0xa5):_0x189097(0x11e))+_0x189097(0xe2),_0x435baa+=_0x189097(0xe6),_0x435baa+=_0x189097(0x122),_0x435baa+=_0x189097(0xdd),_0x435baa+='<script>\x0a';if(_0x199ce0==_0x189097(0xa5))_0x435baa+=_0x189097(0x7e)+_0x486f0d+_0x189097(0x9f)+(_0x191c54?'apps/'+_0x191c54:_0x15d5ee)+_0x189097(0xb1)+_0x486f0d+_0x189097(0xf2);else _0x199ce0=='edit'&&(_0x435baa+='import\x20{\x20'+_0x486f0d+_0x189097(0xa7)+(_0x191c54?'apps/'+_0x191c54:_0x15d5ee)+_0x189097(0xb1)+_0x486f0d+_0x189097(0x12c));_0x435baa+=_0x189097(0x11c),_0x435baa+='\x20\x20\x20\x20data(){\x0a',_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x435baa+=_0x189097(0xba),_0x435baa+=_0x189097(0x12f);if(_0x199ce0==_0x189097(0xa5))_0x435baa+=_0x189097(0x126)+_0x486f0d+_0x189097(0x89);else _0x199ce0==_0x189097(0x11e)&&(_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20'+_0x486f0d+_0x189097(0x132));_0x435baa+=_0x189097(0x11f),_0x435baa+=_0x189097(0xef),_0x199ce0==_0x189097(0x11e)&&(_0x435baa+=_0x189097(0x106),_0x435baa+=_0x189097(0xf9)+_0x334109[_0x189097(0x7f)]+_0x189097(0xb6),_0x435baa+=_0x189097(0xef)),_0x435baa+=_0x189097(0xf5),_0x435baa+=_0x189097(0xd6),_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a',_0x435baa+=_0x189097(0x119),_0x435baa+=_0x189097(0x9a),_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a',_0x435baa+=_0x189097(0xa4),_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a',_0x435baa+=_0x189097(0x12a)+_0x54d512+'.'+(_0x199ce0=='add'?_0x189097(0xa5):_0x189097(0x11e))+'(item).then(res=>{\x0a',_0x435baa+='\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',_0x435baa+=_0x189097(0xda),_0x435baa+=_0x189097(0x12b),_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x435baa+=_0x189097(0xd7),_0x435baa+=_0x189097(0x84),_0x199ce0=='edit'&&(_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a',_0x435baa+=_0x189097(0x9a),_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20getDetail('+_0x334109[_0x189097(0x7f)]+')\x20{\x0a',_0x435baa+=_0x189097(0xea)+_0x334109[_0x189097(0x7f)]+_0x189097(0x99),_0x435baa+=_0x189097(0xe9),_0x435baa+=_0x189097(0x12a)+_0x54d512+_0x189097(0x109)+_0x334109[_0x189097(0x7f)]+_0x189097(0x112),_0x435baa+=_0x189097(0xc7),_0x435baa+=_0x189097(0x128),_0x435baa+=_0x189097(0xa8),_0x435baa+=_0x189097(0x10b),_0x435baa+=_0x189097(0xfe),_0x435baa+=_0x189097(0x85),_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0x435baa+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'),_0x435baa+=_0x189097(0xef),_0x435baa+='}\x0a',_0x435baa+=_0x189097(0x96),fs[_0x189097(0x90)]((0x0,path_1['dirname'])(_0x4e7680),{'recursive':!![]}),fs[_0x189097(0xac)](_0x4e7680,_0x435baa,_0x189097(0x9c));}}
1
+ const a13_0x34d911=a13_0x1bdf;(function(_0x150c6c,_0x1cce12){const _0x1b4e0f=a13_0x1bdf,_0x4d2415=_0x150c6c();while(!![]){try{const _0x32b99c=-parseInt(_0x1b4e0f(0x234))/0x1*(-parseInt(_0x1b4e0f(0x1f3))/0x2)+-parseInt(_0x1b4e0f(0x278))/0x3*(-parseInt(_0x1b4e0f(0x26c))/0x4)+parseInt(_0x1b4e0f(0x1ee))/0x5+parseInt(_0x1b4e0f(0x1e6))/0x6*(-parseInt(_0x1b4e0f(0x21e))/0x7)+parseInt(_0x1b4e0f(0x1dd))/0x8*(-parseInt(_0x1b4e0f(0x24b))/0x9)+-parseInt(_0x1b4e0f(0x1df))/0xa+parseInt(_0x1b4e0f(0x272))/0xb;if(_0x32b99c===_0x1cce12)break;else _0x4d2415['push'](_0x4d2415['shift']());}catch(_0x4c9604){_0x4d2415['push'](_0x4d2415['shift']());}}}(a13_0x143d,0xaefe7));function a13_0x143d(){const _0x8628a9=['writeFileSync','\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','indexOf','add','/pages/apps/','\x20\x20\x20\x20mounted(){\x0a','utf-8','<img\x20:src=\x22scope.row.','<el-input-number\x20v-model=\x22formdata.','\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','<template\x20#reference>','14201IAJNGx','_ids','substr','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','/list/index.vue','timestamp','import\x20{\x20','apps/','export\x20default\x20{\x0a','<el-form-item\x20label=\x22','default','<el-input\x20v-model=\x22formdata.','</a>','path','created_at','cwd','\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','/vue','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','getProp','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','3287880HwAVSU','\x20\x20\x20\x20},\x0a','string','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x22\x20value=\x22','<page-images\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','logo','search','num','\x22\x20placeholder=\x22请输入','<el-select-tags\x20v-model=\x22formdata.',');\x0a','deleted_at',')\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','_end\x22\x20placeholder=\x22选择','.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\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','../helper','(((.+)+)+)+$','</el-form-item>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',':\x20item.','displayorder','updated_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','Api.','/list/components/search.vue','\x22\x20placeholder=\x22请选择','mediumtext','padEnd','\x20label=\x22','368GTQmRO','/validators/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','\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\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','enum','25141611OtShLt','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','.remove({\x20','</script>\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\x20*\x20保存\x0a','3147vRnURl','<el-date-picker\x20v-model=\x22search.','<el-input-number\x20v-model=\x22search.','<el-table-column\x20prop=','<el-select-search\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a','EditRule\x20}\x20from\x20\x27@','thumbs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','defineProperty','</template>\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','\x22\x20prop=\x22','\x22\x20api=\x22','Type','_start\x22\x20placeholder=\x22选择','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','constructor','<el-select-search\x20v-model=\x22formdata.','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','\x22\x20split=\x22-\x22\x20clearable/>','Field','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','apps-','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','24cSeUEN','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','10011260TXvepO','mkdirSync','dirname','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','text','\x20\x20\x20\x20data(){\x0a','12afhcWH','/edit?','<el-date-picker\x20v-model=\x22formdata.','\x20}).then(res=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20methods:\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','\x22\x20placeholder=\x22选择','3692535ZfdLuA','(item).then(res=>{\x0a','existsSync','/edit\x27\x0a','AddRule\x20}\x20from\x20\x27@','114MbNoUP','$appsApi.','Comment','/pages/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','\x22\x20clearable/>','\x22\x20clearable>','_id','toString','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<template\x20#default=\x22scope\x22>','<template>\x0a\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/add\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','</el-popover>','\x22\x20class=\x22block\x22>','\x22\x20\x20placeholder=\x22请输入','.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.','<a\x20:href=\x22scope.row.','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\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','apply','longtext','<el-input\x20v-model=\x22search.','</template>','<el-option\x20label=\x22','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','</el-select>','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','/template/','<el-select\x20v-model=\x22search.','__esModule','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','<=\x22>','<page-editor\x20v-model=\x22formdata.','getEnum','<template>\x0a','/index.vue','3906742eEscyM','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','=${scope.row.','edit','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','AddRule,\x0a','thumb','<el-select\x20v-model=\x22formdata.'];a13_0x143d=function(){return _0x8628a9;};return a13_0x143d();}const a13_0x3b43c0=(function(){let _0xe1fd8=!![];return function(_0x563f27,_0x441278){const _0x293a68=_0xe1fd8?function(){const _0x18793f=a13_0x1bdf;if(_0x441278){const _0xf9a2ae=_0x441278[_0x18793f(0x20a)](_0x563f27,arguments);return _0x441278=null,_0xf9a2ae;}}:function(){};return _0xe1fd8=![],_0x293a68;};}()),a13_0x3cdd06=a13_0x3b43c0(this,function(){const _0x225d85=a13_0x1bdf;return a13_0x3cdd06[_0x225d85(0x1fb)]()[_0x225d85(0x253)](_0x225d85(0x25f))['toString']()[_0x225d85(0x28a)](a13_0x3cdd06)['search'](_0x225d85(0x25f));});a13_0x3cdd06();'use strict';Object[a13_0x34d911(0x282)](exports,a13_0x34d911(0x217),{'value':!![]});function a13_0x1bdf(_0x2b529c,_0x19b3b7){const _0x2f23d0=a13_0x143d();return a13_0x1bdf=function(_0x3cdd06,_0x3b43c0){_0x3cdd06=_0x3cdd06-0x1d9;let _0x143dc5=_0x2f23d0[_0x3cdd06];return _0x143dc5;},a13_0x1bdf(_0x2b529c,_0x19b3b7);}const fs=require('fs'),path_1=require(a13_0x34d911(0x242)),helper_1=require(a13_0x34d911(0x25e));async function default_1({moduleName:_0x5f5b18,controller:_0x5590c9,tablestartUpShort:_0x255b9f,tablestartUpShort2:_0x5c04ce,Primary:_0xf3a7d7,Fields:_0x3e6e35,apporbasic:_0x249dff,Comment:_0x4d69fa}){const _0x61d57d=a13_0x34d911;await createIndex({'moduleName':_0x5f5b18,'controller':_0x5590c9,'tablestartUpShort':_0x255b9f,'tablestartUpShort2':_0x5c04ce,'Primary':_0xf3a7d7,'Fields':_0x3e6e35,'apporbasic':_0x249dff}),await createSearch({'moduleName':_0x5f5b18,'controller':_0x5590c9,'tablestartUpShort2':_0x5c04ce,'Primary':_0xf3a7d7,'Fields':_0x3e6e35,'apporbasic':_0x249dff}),await createAddOrEdit({'moduleName':_0x5f5b18,'controller':_0x5590c9,'tablestartUpShort':_0x255b9f,'tablestartUpShort2':_0x5c04ce,'Primary':_0xf3a7d7,'Fields':_0x3e6e35,'apporbasic':_0x249dff,'Comment':_0x4d69fa},_0x61d57d(0x22c)),await createAddOrEdit({'moduleName':_0x5f5b18,'controller':_0x5590c9,'tablestartUpShort':_0x255b9f,'tablestartUpShort2':_0x5c04ce,'Primary':_0xf3a7d7,'Fields':_0x3e6e35,'apporbasic':_0x249dff,'Comment':_0x4d69fa},_0x61d57d(0x222));}exports[a13_0x34d911(0x23f)]=default_1;async function createIndex({moduleName:_0x38bec1,controller:_0x9221f9,tablestartUpShort:_0x58ec6a,tablestartUpShort2:_0x2f3137,Primary:_0x501953,Fields:_0x2da29a,apporbasic:_0xa1097c}){const _0x100e84=a13_0x34d911;let _0x39bb3e=process[_0x100e84(0x244)]()+_0x100e84(0x246)+(typeof _0x9221f9=='string'?'/'+_0x9221f9:'');_0x38bec1?_0x39bb3e=_0x39bb3e+(_0x100e84(0x22d)+_0x38bec1+_0x100e84(0x215)+_0x2f3137+_0x100e84(0x239)):_0x39bb3e=_0x39bb3e+(_0x100e84(0x1f6)+_0xa1097c+'/template/'+_0x2f3137+_0x100e84(0x239));if(!fs[_0x100e84(0x1f0)](_0x39bb3e)){const _0x3cc92a=(typeof _0x38bec1==_0x100e84(0x24d)?_0x100e84(0x1f4)+_0x38bec1+'.':'$'+_0xa1097c+_0x100e84(0x266))+(''+_0x58ec6a);let _0x4f06ce=_0x100e84(0x27b)+('\x22'+_0x501953[_0x100e84(0x28e)]+'\x22')[_0x100e84(0x26a)](0x14)+('\x20label=\x22'+(_0x501953[_0x100e84(0x1f5)]||'编号')+_0x100e84(0x1da));for(let _0x46ab5e in _0x2da29a){const _0x25f40a=_0x2da29a[_0x46ab5e];if([_0x100e84(0x243),_0x100e84(0x264),_0x100e84(0x258),_0x100e84(0x263)][_0x100e84(0x22b)](_0x46ab5e)!=-0x1)continue;if(_0x46ab5e[_0x100e84(0x236)](-0x3)=='img'||_0x46ab5e[_0x100e84(0x236)](-0x5)==_0x100e84(0x226)||_0x46ab5e=='thumb'||_0x46ab5e[_0x100e84(0x236)](-0x4)=='logo'||_0x46ab5e==_0x100e84(0x252))_0x4f06ce+='\x0a'+_0x100e84(0x1ea)+'<el-table-column\x20prop='+('\x22'+_0x46ab5e+'\x22')[_0x100e84(0x26a)](0x14)+(_0x100e84(0x26b)+(_0x25f40a[_0x100e84(0x1f5)]||_0x25f40a[_0x100e84(0x28e)])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x4f06ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x100e84(0x1fd),_0x4f06ce+='\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'+_0x100e84(0x290),_0x4f06ce+='\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'+(_0x100e84(0x207)+_0x46ab5e+_0x100e84(0x213)),_0x4f06ce+='\x0a'+_0x100e84(0x232)+(_0x100e84(0x230)+_0x46ab5e+_0x100e84(0x21f)),_0x4f06ce+='\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'+_0x100e84(0x241),_0x4f06ce+='\x0a'+_0x100e84(0x270)+_0x100e84(0x233),_0x4f06ce+='\x0a'+_0x100e84(0x232)+('<img\x20:src=\x22scope.row.'+_0x46ab5e+'\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>'),_0x4f06ce+='\x0a'+_0x100e84(0x270)+'</template>',_0x4f06ce+='\x0a'+_0x100e84(0x276)+_0x100e84(0x203),_0x4f06ce+='\x0a'+_0x100e84(0x200)+_0x100e84(0x20d),_0x4f06ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-table-column>';else['text',_0x100e84(0x20b)][_0x100e84(0x22b)]((0x0,helper_1[_0x100e84(0x248)])(_0x25f40a[_0x100e84(0x287)]))==-0x1&&(_0x4f06ce+='\x0a'+_0x100e84(0x1ea)+_0x100e84(0x27b)+('\x22'+_0x46ab5e+'\x22')[_0x100e84(0x26a)](0x14)+(_0x100e84(0x26b)+(_0x25f40a[_0x100e84(0x1f5)]||_0x25f40a['Field'])+_0x100e84(0x28f)));}fs[_0x100e84(0x1e0)]((0x0,path_1[_0x100e84(0x1e1)])(_0x39bb3e),{'recursive':!![]}),fs[_0x100e84(0x228)](_0x39bb3e,'<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'+_0x3cc92a+_0x100e84(0x273)+(_0x38bec1?_0x100e84(0x1d9)+_0x38bec1+'/':_0xa1097c+'/')+_0x2f3137+'/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'+_0x4f06ce+_0x100e84(0x26f)+_0x3cc92a+'.edit.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x38bec1?_0x100e84(0x1d9)+_0x38bec1+'/':_0xa1097c+'/')+_0x2f3137+_0x100e84(0x1e7)+_0x501953[_0x100e84(0x28e)]+_0x100e84(0x221)+_0x501953[_0x100e84(0x28e)]+'}`)\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'+_0x3cc92a+_0x100e84(0x206)+_0x3cc92a+_0x100e84(0x25c)+_0x501953[_0x100e84(0x28e)]+'\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.'+_0x3cc92a+_0x100e84(0x274)+_0x501953[_0x100e84(0x28e)]+_0x100e84(0x262)+_0x501953[_0x100e84(0x28e)]+'\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>',_0x100e84(0x22f));}}async function createSearch({moduleName:_0x18ed4e,tablestartUpShort2:_0x5ba6dd,controller:_0x2c4787,Primary:_0x1839c1,Fields:_0x472f7a,apporbasic:_0xdde7a7}){const _0xb7e63=a13_0x34d911;let _0x21dd1e=process[_0xb7e63(0x244)]()+'/vue'+(typeof _0x2c4787==_0xb7e63(0x24d)?'/'+_0x2c4787:'');_0x18ed4e?_0x21dd1e=_0x21dd1e+(_0xb7e63(0x22d)+_0x18ed4e+_0xb7e63(0x215)+_0x5ba6dd+_0xb7e63(0x267)):_0x21dd1e=_0x21dd1e+(_0xb7e63(0x1f6)+_0xdde7a7+_0xb7e63(0x215)+_0x5ba6dd+_0xb7e63(0x267));if(!fs[_0xb7e63(0x1f0)](_0x21dd1e)){let _0x288f6d='';_0x288f6d+='\x0a'+'\x20\x20\x20\x20'+(_0xb7e63(0x23e)+(_0x1839c1['Comment']||'编号')+'\x22>'),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+('<el-input\x20v-model=\x22search.'+_0x1839c1['Field']+_0xb7e63(0x255)+(_0x1839c1[_0xb7e63(0x1f5)]||'编号')+_0xb7e63(0x1f8)),_0x288f6d+='\x0a'+_0xb7e63(0x229)+_0xb7e63(0x260);for(let _0x3b8d0a in _0x472f7a){const _0x352a60=_0x472f7a[_0x3b8d0a];if(['updated_at',_0xb7e63(0x258),_0xb7e63(0x263)][_0xb7e63(0x22b)](_0x3b8d0a)!=-0x1)continue;if(_0x3b8d0a['substr'](-0x3)==_0xb7e63(0x254))_0x288f6d+='\x0a'+_0xb7e63(0x229)+(_0xb7e63(0x23e)+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60[_0xb7e63(0x28e)])+'\x22>'),_0x288f6d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xb7e63(0x27a)+_0x3b8d0a+'\x22\x20placeholder=\x22请输入'+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x28c)),_0x288f6d+='\x0a'+'\x20\x20\x20\x20'+_0xb7e63(0x260)+'\x0a';else{if(_0x3b8d0a['endsWith'](_0xb7e63(0x1fa))){let _0x1fe42c=''+(typeof _0x2c4787==_0xb7e63(0x24d)?_0x2c4787+'/':'')+(_0x18ed4e?_0x18ed4e+'/':'')+_0x5ba6dd;_0x288f6d+='\x0a'+_0xb7e63(0x27d)+(_0xb7e63(0x23e)+(_0x352a60['Comment']||_0x352a60[_0xb7e63(0x28e)])+'\x22>'),_0x288f6d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xb7e63(0x27c)+_0x3b8d0a+_0xb7e63(0x286)+_0x1fe42c+_0xb7e63(0x238)),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0xb7e63(0x248)])(_0x352a60[_0xb7e63(0x287)])){case _0xb7e63(0x271):_0x288f6d+='\x0a'+_0xb7e63(0x229)+(_0xb7e63(0x23e)+(_0x352a60['Comment']||_0x352a60['Field'])+'\x22>'),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+(_0xb7e63(0x216)+_0x3b8d0a+'\x22\x20placeholder=\x22请选择'+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x1f9));for(let _0x48106a of(0x0,helper_1[_0xb7e63(0x21b)])(_0x352a60[_0xb7e63(0x287)])){_0x288f6d+='\x0a'+_0xb7e63(0x261)+(_0xb7e63(0x20e)+_0x48106a+'\x22\x20value=\x22'+_0x48106a+_0xb7e63(0x1db));}_0x288f6d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0xb7e63(0x212),_0x288f6d+='\x0a'+_0xb7e63(0x229)+'</el-form-item>'+'\x0a';break;case'date':_0x288f6d+='\x0a'+_0xb7e63(0x229)+('<el-form-item\x20label=\x22'+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60['Field'])+'>=\x22>'),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+(_0xb7e63(0x279)+_0x3b8d0a+_0xb7e63(0x288)+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x1e3)),_0x288f6d+='\x0a'+'\x20\x20\x20\x20'+_0xb7e63(0x260)+'\x0a',_0x288f6d+='\x0a'+'\x20\x20\x20\x20'+(_0xb7e63(0x23e)+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60['Field'])+_0xb7e63(0x219)),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+(_0xb7e63(0x279)+_0x3b8d0a+'_end\x22\x20placeholder=\x22选择'+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x223)),_0x288f6d+='\x0a'+_0xb7e63(0x229)+_0xb7e63(0x260)+'\x0a';break;case'datetime':_0x288f6d+='\x0a'+_0xb7e63(0x229)+(_0xb7e63(0x23e)+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60[_0xb7e63(0x28e)])+'>=\x22>'),_0x288f6d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22search.'+_0x3b8d0a+_0xb7e63(0x288)+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x208)),_0x288f6d+='\x0a'+_0xb7e63(0x229)+_0xb7e63(0x260)+'\x0a',_0x288f6d+='\x0a'+_0xb7e63(0x229)+('<el-form-item\x20label=\x22'+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60[_0xb7e63(0x28e)])+_0xb7e63(0x219)),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+(_0xb7e63(0x279)+_0x3b8d0a+_0xb7e63(0x25b)+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x214)),_0x288f6d+='\x0a'+_0xb7e63(0x229)+_0xb7e63(0x260)+'\x0a';break;case'timestamp':_0x288f6d+='\x0a'+_0xb7e63(0x229)+(_0xb7e63(0x23e)+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60[_0xb7e63(0x28e)])+'>=\x22>'),_0x288f6d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xb7e63(0x279)+_0x3b8d0a+_0xb7e63(0x288)+_0x352a60[_0xb7e63(0x1f5)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x288f6d+='\x0a'+_0xb7e63(0x229)+'</el-form-item>'+'\x0a',_0x288f6d+='\x0a'+_0xb7e63(0x229)+(_0xb7e63(0x23e)+(_0x352a60['Comment']||_0x352a60[_0xb7e63(0x28e)])+_0xb7e63(0x219)),_0x288f6d+='\x0a'+_0xb7e63(0x27d)+(_0xb7e63(0x279)+_0x3b8d0a+_0xb7e63(0x25b)+_0x352a60['Comment']+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x288f6d+='\x0a'+_0xb7e63(0x229)+_0xb7e63(0x260)+'\x0a';break;case _0xb7e63(0x24d):_0x288f6d+='\x0a'+_0xb7e63(0x229)+(_0xb7e63(0x23e)+(_0x352a60[_0xb7e63(0x1f5)]||_0x352a60['Field'])+'\x22>'),_0x288f6d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xb7e63(0x20c)+_0x3b8d0a+'\x22\x20placeholder=\x22请输入'+_0x352a60[_0xb7e63(0x1f5)]+_0xb7e63(0x1f8)),_0x288f6d+='\x0a'+_0xb7e63(0x229)+_0xb7e63(0x260)+'\x0a';}}}fs['mkdirSync']((0x0,path_1[_0xb7e63(0x1e1)])(_0x21dd1e),{'recursive':!![]}),fs[_0xb7e63(0x228)](_0x21dd1e,_0xb7e63(0x1fe)+_0x288f6d+'\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>',_0xb7e63(0x22f));}}async function createAddOrEdit({moduleName:_0x347369,controller:_0x21025b,tablestartUpShort:_0x164ea2,tablestartUpShort2:_0x1db8aa,Primary:_0x177e8e,Fields:_0x472d06,apporbasic:_0x29cc40,Comment:_0x504162},_0x2d73e3=a13_0x34d911(0x22c)){const _0x324240=a13_0x34d911;let _0x5d166d=process[_0x324240(0x244)]()+'/vue'+(typeof _0x21025b=='string'?'/'+_0x21025b:'');_0x347369?_0x5d166d=_0x5d166d+(_0x324240(0x22d)+_0x347369+_0x324240(0x215)+_0x1db8aa+'/'+_0x2d73e3+_0x324240(0x21d)):_0x5d166d=_0x5d166d+(_0x324240(0x1f6)+_0x29cc40+_0x324240(0x215)+_0x1db8aa+'/'+_0x2d73e3+_0x324240(0x21d));if(!fs[_0x324240(0x1f0)](_0x5d166d)){const _0xe95e00=(typeof _0x347369==_0x324240(0x24d)?_0x324240(0x1f4)+_0x347369+'.':'$'+_0x29cc40+_0x324240(0x266))+(''+_0x164ea2);let _0x5279b7='';for(let _0x51277d in _0x472d06){const _0x7693db=_0x472d06[_0x51277d];if([_0x324240(0x243),_0x324240(0x264),'deleted_at',_0x324240(0x263)][_0x324240(0x22b)](_0x51277d)!=-0x1)continue;if(_0x51277d[_0x324240(0x236)](-0x4)=='imgs'||_0x51277d[_0x324240(0x236)](-0x5)==_0x324240(0x280))_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22\x20class=\x22block\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+(_0x324240(0x250)+_0x51277d+'\x22\x20:limit=\x225\x22\x20/>'),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';else{if(_0x51277d[_0x324240(0x236)](-0x3)=='img'||_0x51277d['substr'](-0x5)==_0x324240(0x226)||_0x51277d=='thumb'||_0x51277d[_0x324240(0x236)](-0x4)==_0x324240(0x252)||_0x51277d==_0x324240(0x252))_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db['Field'])+_0x324240(0x285)+_0x51277d+_0x324240(0x204)),_0x5279b7+='\x0a'+_0x324240(0x261)+('<page-images\x20v-model=\x22formdata.'+_0x51277d+'\x22\x20:limit=\x221\x22\x20/>'),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';else{if(_0x51277d[_0x324240(0x236)](-0x4)=='tags')_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+'\x22\x20prop=\x22'+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x256)+_0x51277d+'\x22\x20placeholder=\x22请输入或选择'+_0x7693db[_0x324240(0x1f5)]+_0x324240(0x28d)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';else{if(_0x51277d[_0x324240(0x236)](-0x3)=='num')_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db['Comment']||_0x7693db[_0x324240(0x28e)])+'\x22\x20prop=\x22'+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+(_0x324240(0x231)+_0x51277d+_0x324240(0x255)+_0x7693db[_0x324240(0x1f5)]+_0x324240(0x224)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';else{if(_0x51277d[_0x324240(0x236)](-0x4)==_0x324240(0x235))_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+(_0x324240(0x240)+_0x51277d+'\x22\x20placeholder=\x22请输入'+_0x7693db[_0x324240(0x1f5)]+_0x324240(0x1f8)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';else{if(_0x51277d['substr'](-0x3)==_0x324240(0x1fa)){let _0x1b7db3=''+(typeof _0x21025b=='string'?_0x21025b+'/':'')+(_0x347369?_0x347369+'/':'')+_0x1db8aa;_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+(_0x324240(0x28b)+_0x51277d+'\x22\x20api=\x22'+_0x1b7db3+_0x324240(0x238)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';}else switch((0x0,helper_1[_0x324240(0x248)])(_0x7693db[_0x324240(0x287)])){case'number':_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db['Comment']||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+('<el-input-number\x20v-model=\x22formdata.'+_0x51277d+'\x22\x20placeholder=\x22请输入'+_0x7693db['Comment']+_0x324240(0x20f)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;case _0x324240(0x271):_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x227)+_0x51277d+_0x324240(0x268)+_0x7693db[_0x324240(0x1f5)]+'\x22\x20clearable>');for(let _0x1aa99e of(0x0,helper_1[_0x324240(0x21b)])(_0x7693db['Type'])){_0x5279b7+='\x0a'+_0x324240(0x1ea)+('<el-option\x20label=\x22'+_0x1aa99e+_0x324240(0x24f)+_0x1aa99e+'\x22\x20/>');}_0x5279b7+='\x0a'+_0x324240(0x261)+_0x324240(0x212),_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x324240(0x1e4):_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db['Field'])+'\x22\x20prop=\x22'+_0x51277d+_0x324240(0x204)),_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x51277d+_0x324240(0x205)+_0x7693db['Comment']+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;case'longtext':_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22\x20class=\x22block\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+('<page-editor\x20v-model=\x22formdata.'+_0x51277d+_0x324240(0x1db)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;case _0x324240(0x269):_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+_0x324240(0x204)),_0x5279b7+='\x0a'+_0x324240(0x261)+(_0x324240(0x21a)+_0x51277d+_0x324240(0x1db)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;case'date':_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x1e8)+_0x51277d+'\x22\x20placeholder=\x22选择'+_0x7693db['Comment']+_0x324240(0x1fc)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;case'datetime':_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x324240(0x1e8)+_0x51277d+_0x324240(0x1ed)+_0x7693db['Comment']+_0x324240(0x218)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;case _0x324240(0x23a):_0x5279b7+='\x0a'+_0x324240(0x27d)+(_0x324240(0x23e)+(_0x7693db[_0x324240(0x1f5)]||_0x7693db[_0x324240(0x28e)])+'\x22\x20prop=\x22'+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+('<el-date-picker\x20v-model=\x22formdata.'+_0x51277d+_0x324240(0x1ed)+_0x7693db['Comment']+_0x324240(0x218)),_0x5279b7+='\x0a'+_0x324240(0x27d)+_0x324240(0x260)+'\x0a';break;default:_0x5279b7+='\x0a'+_0x324240(0x27d)+('<el-form-item\x20label=\x22'+(_0x7693db[_0x324240(0x1f5)]||_0x7693db['Field'])+_0x324240(0x285)+_0x51277d+'\x22>'),_0x5279b7+='\x0a'+_0x324240(0x261)+(_0x324240(0x240)+_0x51277d+_0x324240(0x255)+_0x7693db[_0x324240(0x1f5)]+_0x324240(0x1f8)),_0x5279b7+='\x0a'+_0x324240(0x27d)+'</el-form-item>'+'\x0a';}}}}}}}_0x5279b7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x324240(0x247),_0x5279b7+='\x0a'+_0x324240(0x261)+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x5279b7+='\x0a'+_0x324240(0x27d)+'</el-form-item>'+'\x0a';let _0x15f8ec=_0x324240(0x21c);_0x15f8ec+='\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22'+(_0x2d73e3==_0x324240(0x22c)?'添加'+_0x504162:'编辑'+_0x504162)+_0x324240(0x249)+_0xe95e00+'.'+(_0x2d73e3==_0x324240(0x22c)?_0x324240(0x22c):_0x324240(0x222))+'.hasPrem()\x22>\x0a',_0x15f8ec+=_0x324240(0x27d)+_0x5279b7+'\x0a',_0x15f8ec+=_0x324240(0x237),_0x15f8ec+=_0x324240(0x281)+_0xe95e00+'.'+(_0x2d73e3==_0x324240(0x22c)?'add':_0x324240(0x222))+_0x324240(0x27e),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x15f8ec+='\x20\x20\x20\x20</page-form>\x0a',_0x15f8ec+=_0x324240(0x283),_0x15f8ec+='<script>\x0a';if(_0x2d73e3==_0x324240(0x22c))_0x15f8ec+='import\x20{\x20'+_0x164ea2+_0x324240(0x1f2)+(_0x347369?_0x324240(0x23c)+_0x347369:_0x29cc40)+_0x324240(0x26d)+_0x164ea2+_0x324240(0x201);else _0x2d73e3==_0x324240(0x222)&&(_0x15f8ec+=_0x324240(0x23b)+_0x164ea2+_0x324240(0x27f)+(_0x347369?_0x324240(0x23c)+_0x347369:_0x29cc40)+_0x324240(0x26d)+_0x164ea2+_0x324240(0x1f1));_0x15f8ec+=_0x324240(0x23d),_0x15f8ec+=_0x324240(0x1e5),_0x15f8ec+=_0x324240(0x22a),_0x15f8ec+=_0x324240(0x291),_0x15f8ec+=_0x324240(0x1ff);if(_0x2d73e3==_0x324240(0x22c))_0x15f8ec+=_0x324240(0x220)+_0x164ea2+_0x324240(0x225);else _0x2d73e3==_0x324240(0x222)&&(_0x15f8ec+=_0x324240(0x220)+_0x164ea2+'EditRule,\x0a');_0x15f8ec+=_0x324240(0x25a),_0x15f8ec+=_0x324240(0x24c),_0x2d73e3==_0x324240(0x222)&&(_0x15f8ec+=_0x324240(0x22e),_0x15f8ec+=_0x324240(0x202)+_0x177e8e['Field']+_0x324240(0x257),_0x15f8ec+=_0x324240(0x24c)),_0x15f8ec+=_0x324240(0x1eb),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x15f8ec+=_0x324240(0x277),_0x15f8ec+=_0x324240(0x24a),_0x15f8ec+=_0x324240(0x1de),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a',_0x15f8ec+=_0x324240(0x26e),_0x15f8ec+=_0x324240(0x289),_0x15f8ec+=_0x324240(0x211)+_0xe95e00+'.'+(_0x2d73e3==_0x324240(0x22c)?'add':_0x324240(0x222))+_0x324240(0x1ef),_0x15f8ec+=_0x324240(0x25d),_0x15f8ec+=_0x324240(0x265),_0x15f8ec+=_0x324240(0x209),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x15f8ec+=_0x324240(0x1dc),_0x15f8ec+=_0x324240(0x1e2),_0x2d73e3==_0x324240(0x222)&&(_0x15f8ec+=_0x324240(0x24e),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a',_0x15f8ec+=_0x324240(0x1de),_0x15f8ec+=_0x324240(0x251)+_0x177e8e['Field']+_0x324240(0x259),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20('+_0x177e8e['Field']+')\x20{\x0a',_0x15f8ec+=_0x324240(0x210),_0x15f8ec+=_0x324240(0x211)+_0xe95e00+'.detail({\x20'+_0x177e8e['Field']+_0x324240(0x1e9),_0x15f8ec+=_0x324240(0x245),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a',_0x15f8ec+=_0x324240(0x284),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a',_0x15f8ec+=_0x324240(0x1ec),_0x15f8ec+=_0x324240(0x1f7),_0x15f8ec+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'),_0x15f8ec+=_0x324240(0x24c),_0x15f8ec+='}\x0a',_0x15f8ec+=_0x324240(0x275),fs[_0x324240(0x1e0)]((0x0,path_1[_0x324240(0x1e1)])(_0x5d166d),{'recursive':!![]}),fs['writeFileSync'](_0x5d166d,_0x15f8ec,'utf-8');}}
@@ -1 +1 @@
1
- const a14_0x2eb7c1=a14_0x330a;(function(_0x159472,_0x5e46d1){const _0x5192fb=a14_0x330a,_0x3ced0b=_0x159472();while(!![]){try{const _0x545e5f=-parseInt(_0x5192fb(0x12b))/0x1+parseInt(_0x5192fb(0x132))/0x2+-parseInt(_0x5192fb(0x13c))/0x3*(-parseInt(_0x5192fb(0x141))/0x4)+-parseInt(_0x5192fb(0x12f))/0x5+-parseInt(_0x5192fb(0x151))/0x6*(-parseInt(_0x5192fb(0x137))/0x7)+parseInt(_0x5192fb(0x157))/0x8+parseInt(_0x5192fb(0x13d))/0x9*(parseInt(_0x5192fb(0x156))/0xa);if(_0x545e5f===_0x5e46d1)break;else _0x3ced0b['push'](_0x3ced0b['shift']());}catch(_0x5f1a86){_0x3ced0b['push'](_0x3ced0b['shift']());}}}(a14_0x4389,0x2feea));const a14_0x5bf0c5=(function(){let _0x13e669=!![];return function(_0x44a060,_0x5739fa){const _0x3dfd8f=_0x13e669?function(){const _0x2dd518=a14_0x330a;if(_0x5739fa){const _0xaefec3=_0x5739fa[_0x2dd518(0x131)](_0x44a060,arguments);return _0x5739fa=null,_0xaefec3;}}:function(){};return _0x13e669=![],_0x3dfd8f;};}()),a14_0x15e2a6=a14_0x5bf0c5(this,function(){const _0x48a1b9=a14_0x330a;return a14_0x15e2a6[_0x48a1b9(0x152)]()[_0x48a1b9(0x146)]('(((.+)+)+)+$')[_0x48a1b9(0x152)]()['constructor'](a14_0x15e2a6)[_0x48a1b9(0x146)](_0x48a1b9(0x155));});a14_0x15e2a6();function a14_0x330a(_0x312530,_0x3f5c50){const _0x301dbd=a14_0x4389();return a14_0x330a=function(_0x15e2a6,_0x5bf0c5){_0x15e2a6=_0x15e2a6-0x12a;let _0x4389a0=_0x301dbd[_0x15e2a6];return _0x4389a0;},a14_0x330a(_0x312530,_0x3f5c50);}'use strict';function a14_0x4389(){const _0x4e3483=['writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','replace','428348SEhcxD','readFileSync','\x20\x20\x20\x20path:\x20\x22/','string',',\x20component:\x20()=>\x20import(\x27./template/','search','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','existsSync','/add\x22','//\x20add\x20route\x20here','defineProperty','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','/pages/','\x22,\x0a','path','\x20\x20\x20\x20//\x20redirect:\x20\x22/','2257404IWEbHQ','toString','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','default','(((.+)+)+)+$','4570ZyyQxE','637032dSjjly','utf-8','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','366202qZrDcF','export\x20default\x20{\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','cwd','1892500NTvggg','apps-','apply','561482stJOMc','/pages/apps/','mkdirSync','padEnd','\x20\x20\x20\x20component:\x20layout,\x0a','7FFDXSg','/routes.js','/edit\x22','{\x20path:\x20\x22','__esModule','3scYpLG','1917pNNzOw'];a14_0x4389=function(){return _0x4e3483;};return a14_0x4389();}Object[a14_0x2eb7c1(0x14b)](exports,a14_0x2eb7c1(0x13b),{'value':!![]});const fs=require('fs'),path_1=require(a14_0x2eb7c1(0x14f));async function default_1({tablestartUpShort2:_0xec056e,moduleName:_0x5d01a0,controller:_0x228586,Comment:_0x216b2f,apporbasic:_0x565529,Primary:_0x2f48dc}){await createRoutes({'tablestartUpShort2':_0xec056e,'moduleName':_0x5d01a0,'controller':_0x228586,'Comment':_0x216b2f,'apporbasic':_0x565529,'Primary':_0x2f48dc});}exports[a14_0x2eb7c1(0x154)]=default_1;async function createRoutes({tablestartUpShort2:_0x45ee98,moduleName:_0x52d254,controller:_0x305403,Comment:_0x2cc884,apporbasic:_0x278049,Primary:_0x4b0258}){const _0x5be6c7=a14_0x2eb7c1;let _0x443380=process[_0x5be6c7(0x12e)]()+'/vue'+(typeof _0x305403==_0x5be6c7(0x144)?'/'+_0x305403:'');_0x52d254?_0x443380=_0x443380+(_0x5be6c7(0x133)+_0x52d254+_0x5be6c7(0x138)):_0x443380=_0x443380+(_0x5be6c7(0x14d)+_0x278049+_0x5be6c7(0x138));if(!fs[_0x5be6c7(0x148)](_0x443380)){let _0x1e6216='import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a';_0x1e6216+=_0x5be6c7(0x12c),_0x1e6216+=_0x5be6c7(0x143)+(_0x52d254?'apps-'+_0x52d254+'/':_0x278049+'/')+_0x5be6c7(0x14e),_0x1e6216+=_0x5be6c7(0x150)+(_0x52d254?_0x5be6c7(0x130)+_0x52d254+'/':_0x278049+'/')+'\x22,\x0a',_0x1e6216+=_0x5be6c7(0x136),_0x1e6216+='\x20\x20\x20\x20children:[\x0a',_0x1e6216+=_0x5be6c7(0x13f),_0x1e6216+='\x20\x20\x20\x20]\x0a',_0x1e6216+='}\x0a',fs[_0x5be6c7(0x134)]((0x0,path_1['dirname'])(_0x443380),{'recursive':!![]}),fs[_0x5be6c7(0x13e)](_0x443380,_0x1e6216,_0x5be6c7(0x158));}const _0x28c03a=fs[_0x5be6c7(0x142)](_0x443380,_0x5be6c7(0x158));fs[_0x5be6c7(0x13e)](_0x443380,_0x28c03a['replace'](_0x5be6c7(0x14a),_0x5be6c7(0x13a)+(_0x45ee98+'\x22')['padEnd'](0x14)+(_0x5be6c7(0x145)+_0x45ee98+_0x5be6c7(0x159)+_0x2cc884+_0x5be6c7(0x153)))['replace'](_0x5be6c7(0x14a),_0x5be6c7(0x13a)+(_0x45ee98+_0x5be6c7(0x149))['padEnd'](0x14)+(_0x5be6c7(0x145)+_0x45ee98+_0x5be6c7(0x12a)+_0x2cc884+_0x5be6c7(0x12d)))[_0x5be6c7(0x140)]('//\x20add\x20route\x20here','{\x20path:\x20\x22'+(_0x45ee98+_0x5be6c7(0x139))[_0x5be6c7(0x135)](0x14)+(_0x5be6c7(0x145)+_0x45ee98+_0x5be6c7(0x14c)+_0x2cc884+_0x5be6c7(0x147))));}
1
+ const a14_0x219871=a14_0xec08;(function(_0x4cf4f3,_0x3b12a7){const _0x47ed25=a14_0xec08,_0xe3a950=_0x4cf4f3();while(!![]){try{const _0x5c6369=parseInt(_0x47ed25(0x84))/0x1+parseInt(_0x47ed25(0x87))/0x2*(parseInt(_0x47ed25(0x97))/0x3)+-parseInt(_0x47ed25(0xae))/0x4*(parseInt(_0x47ed25(0x9a))/0x5)+parseInt(_0x47ed25(0x86))/0x6*(parseInt(_0x47ed25(0x95))/0x7)+-parseInt(_0x47ed25(0x8e))/0x8+-parseInt(_0x47ed25(0x96))/0x9*(parseInt(_0x47ed25(0x9d))/0xa)+parseInt(_0x47ed25(0x90))/0xb;if(_0x5c6369===_0x3b12a7)break;else _0xe3a950['push'](_0xe3a950['shift']());}catch(_0x167f5a){_0xe3a950['push'](_0xe3a950['shift']());}}}(a14_0x20a0,0x71202));const a14_0x5895d6=(function(){let _0x35f86d=!![];return function(_0x2c166c,_0x4e678f){const _0x4d8d72=_0x35f86d?function(){const _0x1f6dda=a14_0xec08;if(_0x4e678f){const _0x18f417=_0x4e678f[_0x1f6dda(0x85)](_0x2c166c,arguments);return _0x4e678f=null,_0x18f417;}}:function(){};return _0x35f86d=![],_0x4d8d72;};}()),a14_0xdd123b=a14_0x5895d6(this,function(){const _0x5df082=a14_0xec08;return a14_0xdd123b[_0x5df082(0xa7)]()[_0x5df082(0x83)](_0x5df082(0x8f))[_0x5df082(0xa7)]()[_0x5df082(0x88)](a14_0xdd123b)[_0x5df082(0x83)](_0x5df082(0x8f));});function a14_0xec08(_0x2fef12,_0x16203a){const _0x2a3500=a14_0x20a0();return a14_0xec08=function(_0xdd123b,_0x5895d6){_0xdd123b=_0xdd123b-0x83;let _0x20a050=_0x2a3500[_0xdd123b];return _0x20a050;},a14_0xec08(_0x2fef12,_0x16203a);}a14_0xdd123b();'use strict';Object[a14_0x219871(0xb1)](exports,'__esModule',{'value':!![]});function a14_0x20a0(){const _0x419147=['string','9760LsIpsG','\x20\x20\x20\x20component:\x20layout,\x0a','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/vue','\x20\x20\x20\x20]\x0a','//\x20add\x20route\x20here','\x22,\x0a','padEnd','mkdirSync','{\x20path:\x20\x22','toString','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','/pages/apps/','utf-8','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','/pages/','existsSync','24844AFmhSw','/routes.js','dirname','defineProperty','search','733909XtUKJd','apply','247014ogkNDZ','2DsSbZO','constructor','readFileSync','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','writeFileSync','/add\x22','6780072dUnBeA','(((.+)+)+)+$','14033910IJoBoT','cwd','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','replace','export\x20default\x20{\x0a','49LWKUmt','6201pPAUtt','1031397FVhrpG','/edit\x22','apps-','530AGcOqL',',\x20component:\x20()=>\x20import(\x27./template/'];a14_0x20a0=function(){return _0x419147;};return a14_0x20a0();}const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x2d0b24,moduleName:_0x250284,controller:_0x5a31dd,Comment:_0x1566bd,apporbasic:_0x2583af,Primary:_0x4096ab}){await createRoutes({'tablestartUpShort2':_0x2d0b24,'moduleName':_0x250284,'controller':_0x5a31dd,'Comment':_0x1566bd,'apporbasic':_0x2583af,'Primary':_0x4096ab});}exports['default']=default_1;async function createRoutes({tablestartUpShort2:_0x633c96,moduleName:_0x4a8dd4,controller:_0x42b1dd,Comment:_0x17e88b,apporbasic:_0x32d301,Primary:_0x20757e}){const _0x1be47b=a14_0x219871;let _0x3114f4=process[_0x1be47b(0x91)]()+_0x1be47b(0xa0)+(typeof _0x42b1dd==_0x1be47b(0x9c)?'/'+_0x42b1dd:'');_0x4a8dd4?_0x3114f4=_0x3114f4+(_0x1be47b(0xa9)+_0x4a8dd4+_0x1be47b(0xaf)):_0x3114f4=_0x3114f4+(_0x1be47b(0xac)+_0x32d301+_0x1be47b(0xaf));if(!fs[_0x1be47b(0xad)](_0x3114f4)){let _0x111bba=_0x1be47b(0xab);_0x111bba+=_0x1be47b(0x94),_0x111bba+='\x20\x20\x20\x20path:\x20\x22/'+(_0x4a8dd4?_0x1be47b(0x99)+_0x4a8dd4+'/':_0x32d301+'/')+_0x1be47b(0xa3),_0x111bba+='\x20\x20\x20\x20//\x20redirect:\x20\x22/'+(_0x4a8dd4?'apps-'+_0x4a8dd4+'/':_0x32d301+'/')+'\x22,\x0a',_0x111bba+=_0x1be47b(0x9e),_0x111bba+='\x20\x20\x20\x20children:[\x0a',_0x111bba+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x111bba+=_0x1be47b(0xa1),_0x111bba+='}\x0a',fs[_0x1be47b(0xa5)]((0x0,path_1[_0x1be47b(0xb0)])(_0x3114f4),{'recursive':!![]}),fs['writeFileSync'](_0x3114f4,_0x111bba,_0x1be47b(0xaa));}const _0x532e88=fs[_0x1be47b(0x89)](_0x3114f4,_0x1be47b(0xaa));fs[_0x1be47b(0x8c)](_0x3114f4,_0x532e88[_0x1be47b(0x93)](_0x1be47b(0xa2),_0x1be47b(0xa6)+(_0x633c96+'\x22')[_0x1be47b(0xa4)](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0x633c96+'/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0x17e88b+_0x1be47b(0x9f)))['replace'](_0x1be47b(0xa2),_0x1be47b(0xa6)+(_0x633c96+_0x1be47b(0x8d))[_0x1be47b(0xa4)](0x14)+(_0x1be47b(0x9b)+_0x633c96+_0x1be47b(0xa8)+_0x17e88b+_0x1be47b(0x8a)))['replace']('//\x20add\x20route\x20here',_0x1be47b(0xa6)+(_0x633c96+_0x1be47b(0x98))['padEnd'](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0x633c96+_0x1be47b(0x92)+_0x17e88b+_0x1be47b(0x8b))));}
@@ -1 +1 @@
1
- const a15_0x25223b=a15_0x304d;(function(_0x2906b1,_0x45ee49){const _0x36124d=a15_0x304d,_0x29e5b8=_0x2906b1();while(!![]){try{const _0x1a5315=parseInt(_0x36124d(0xca))/0x1+parseInt(_0x36124d(0xa4))/0x2+-parseInt(_0x36124d(0x96))/0x3*(parseInt(_0x36124d(0xc2))/0x4)+parseInt(_0x36124d(0x95))/0x5*(-parseInt(_0x36124d(0xb5))/0x6)+parseInt(_0x36124d(0x93))/0x7+-parseInt(_0x36124d(0xcd))/0x8+parseInt(_0x36124d(0x8c))/0x9;if(_0x1a5315===_0x45ee49)break;else _0x29e5b8['push'](_0x29e5b8['shift']());}catch(_0x5338d3){_0x29e5b8['push'](_0x29e5b8['shift']());}}}(a15_0x5c1c,0x3854f));const a15_0x4f385b=(function(){let _0x595485=!![];return function(_0x2d0ba3,_0x7cefd1){const _0x3a0b75=_0x595485?function(){const _0x50d57e=a15_0x304d;if(_0x7cefd1){const _0x4f407f=_0x7cefd1[_0x50d57e(0x97)](_0x2d0ba3,arguments);return _0x7cefd1=null,_0x4f407f;}}:function(){};return _0x595485=![],_0x3a0b75;};}()),a15_0x15206a=a15_0x4f385b(this,function(){const _0x25c7b1=a15_0x304d;return a15_0x15206a[_0x25c7b1(0x99)]()['search'](_0x25c7b1(0xc4))[_0x25c7b1(0x99)]()[_0x25c7b1(0xa9)](a15_0x15206a)['search']('(((.+)+)+)+$');});a15_0x15206a();'use strict';Object['defineProperty'](exports,a15_0x25223b(0x83),{'value':!![]});function a15_0x304d(_0x239f55,_0x1d1c18){const _0x5e041e=a15_0x5c1c();return a15_0x304d=function(_0x15206a,_0x4f385b){_0x15206a=_0x15206a-0x82;let _0x5c1c2e=_0x5e041e[_0x15206a];return _0x5c1c2e;},a15_0x304d(_0x239f55,_0x1d1c18);}const fs=require('fs'),helper_1=require(a15_0x25223b(0xa8));async function default_1({tablestartUpShort:_0x380712,tablestartUpShort2:_0x38a3e0,moduleName:_0x15bef9,controller:_0x383152,Comment:_0x230034,apporbasic:_0x42e7f4,Primary:_0x597ccf,Fields:_0x468526}){const _0x3696be=a15_0x25223b;let _0x431273=process[_0x3696be(0xb6)]()+_0x3696be(0x90)+(typeof _0x383152==_0x3696be(0x9b)?'/'+_0x383152:'');_0x15bef9?_0x431273=_0x431273+(_0x3696be(0x84)+_0x15bef9+_0x3696be(0xb4)+_0x380712):_0x431273=_0x431273+(_0x3696be(0xa3)+_0x42e7f4+_0x3696be(0xb4)+_0x380712),!fs[_0x3696be(0x9e)](_0x431273)&&fs[_0x3696be(0xbc)](_0x431273,{'recursive':!![]}),await CreateRule(_0x431273,{'tablestartUpShort':_0x380712,'Comment':_0x230034,'Fields':_0x468526}),await updateRule(_0x431273,{'tablestartUpShort':_0x380712,'Comment':_0x230034,'Fields':_0x468526});}exports[a15_0x25223b(0xc6)]=default_1;async function CreateRule(_0x1ebef9,{tablestartUpShort:_0x5137f3,Comment:_0x22b472,Fields:_0x1b6740}){const _0x3292be=a15_0x25223b,_0x4bb2fc=_0x1ebef9+'/add.js';if(!fs[_0x3292be(0x9e)](_0x4bb2fc)){let _0x16c29b='',_0x26a0ec='';for(let _0x424528 in _0x1b6740){let _0x10a167=_0x1b6740[_0x424528],_0x3d7516=(0x0,helper_1[_0x3292be(0xc8)])(_0x10a167[_0x3292be(0x89)]);if(_0x10a167[_0x3292be(0xa0)]==_0x3292be(0x8a)||_0x10a167[_0x3292be(0xa0)]==_0x3292be(0xc1)||_0x10a167['Field']=='updated_at'||_0x10a167[_0x3292be(0xa0)]==_0x3292be(0xc9))continue;if([_0x3292be(0x9a),_0x3292be(0xab),'mediumtext'][_0x3292be(0xad)](_0x3d7516)!=-0x1)_0x16c29b+=_0x3292be(0xc7)+_0x10a167[_0x3292be(0xaf)]+'\x0a',_0x16c29b+=_0x3292be(0xa7)+_0x10a167[_0x3292be(0xa0)]+_0x3292be(0xac),_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)&&(_0x16c29b+=_0x3292be(0xb0)+_0x10a167[_0x3292be(0xaf)]+'不能为空`,\x20required:\x20'+(_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)?_0x3292be(0xba):'true')+_0x3292be(0x8b)),_0x16c29b+=_0x3292be(0x8f);else{if([_0x3292be(0x86),_0x3292be(0x9d),_0x3292be(0xbb),_0x3292be(0x87)][_0x3292be(0xad)](_0x3d7516)!=-0x1)_0x16c29b+='\x20\x20\x20\x20//\x20'+_0x10a167['Comment']+'\x0a',_0x16c29b+=_0x3292be(0xa7)+_0x10a167[_0x3292be(0xa0)]+_0x3292be(0xac),_0x16c29b+=_0x3292be(0xa1)+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0xc5),_0x10a167['Null']!=_0x3292be(0xce)&&(_0x16c29b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0xae)+(_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)?_0x3292be(0xba):_0x3292be(0x92))+'\x20},\x0a'),_0x16c29b+=_0x3292be(0x8f);else{if(['tinyint'][_0x3292be(0xad)](_0x3d7516)!=-0x1)_0x16c29b+=_0x3292be(0xc7)+_0x10a167[_0x3292be(0xaf)]+'\x0a',_0x16c29b+=_0x3292be(0xa7)+_0x10a167[_0x3292be(0xa0)]+_0x3292be(0xac),_0x16c29b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0xc5),_0x10a167['Null']!=_0x3292be(0xce)&&(_0x16c29b+=_0x3292be(0xb0)+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0xae)+(_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)?_0x3292be(0xba):_0x3292be(0x92))+_0x3292be(0x8b)),_0x16c29b+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x3d7516==_0x3292be(0xbd))_0x16c29b+=_0x3292be(0xc7)+_0x10a167[_0x3292be(0xaf)]+'\x0a',_0x16c29b+=_0x3292be(0xa7)+_0x10a167['Field']+_0x3292be(0xac),_0x10a167[_0x3292be(0x98)]!='YES'&&(_0x16c29b+=_0x3292be(0xb0)+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0xae)+(_0x10a167['Null']!='YES'?_0x3292be(0xba):_0x3292be(0x92))+'\x20},\x0a'),_0x16c29b+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x3d7516==_0x3292be(0xa6)){let _0x5b2915=(0x0,helper_1[_0x3292be(0xcb)])(_0x10a167['Type']);_0x16c29b+=_0x3292be(0xc7)+_0x10a167[_0x3292be(0xaf)]+'\x0a',_0x16c29b+='\x20\x20\x20\x20'+_0x10a167['Field']+_0x3292be(0xac),_0x16c29b+=_0x3292be(0xa1)+_0x10a167[_0x3292be(0xaf)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x5b2915['join']('\x27,\x20\x27')+'\x27]\x20},\x0a',_0x10a167['Null']!=_0x3292be(0xce)&&(_0x16c29b+=_0x3292be(0xb0)+_0x10a167[_0x3292be(0xaf)]+'不能为空`,\x20required:\x20'+(_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)?_0x3292be(0xba):'true')+_0x3292be(0x8b)),_0x16c29b+=_0x3292be(0x8f);}else[_0x3292be(0xc0),_0x3292be(0xa2),_0x3292be(0xa5)]['indexOf'](_0x3d7516)>-0x1?(_0x16c29b+=_0x3292be(0xc7)+_0x10a167[_0x3292be(0xaf)]+'\x0a',_0x16c29b+=_0x3292be(0xa7)+_0x10a167[_0x3292be(0xa0)]+_0x3292be(0xac),_0x16c29b+=_0x3292be(0xa1)+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0x85),_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)&&(_0x16c29b+=_0x3292be(0xb0)+_0x10a167['Comment']+_0x3292be(0xae)+(_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)?_0x3292be(0xba):_0x3292be(0x92))+_0x3292be(0x8b)),_0x16c29b+=_0x3292be(0x8f)):(_0x16c29b+=_0x3292be(0xc7)+_0x10a167[_0x3292be(0xaf)]+'\x0a',_0x16c29b+=_0x3292be(0xa7)+_0x10a167[_0x3292be(0xa0)]+_0x3292be(0xac),_0x16c29b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x10a167[_0x3292be(0xaf)]+_0x3292be(0xb9),_0x10a167[_0x3292be(0x98)]!='YES'&&(_0x16c29b+=_0x3292be(0xb0)+_0x10a167[_0x3292be(0xaf)]+'不能为空`,\x20required:\x20'+(_0x10a167[_0x3292be(0x98)]!=_0x3292be(0xce)?_0x3292be(0xba):_0x3292be(0x92))+_0x3292be(0x8b)),_0x16c29b+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x26a0ec+='\x0a',_0x26a0ec+=_0x3292be(0x9c),_0x26a0ec+='\x20*\x20'+_0x22b472+'\x0a',_0x26a0ec+=_0x3292be(0x9f),_0x26a0ec+='\x20*\x20**/\x0a',_0x26a0ec+=_0x3292be(0xb2)+_0x5137f3+_0x3292be(0xbe),_0x26a0ec+='%RuleColumn%',_0x26a0ec+='}\x0a\x0a',_0x26a0ec=_0x26a0ec[_0x3292be(0xcf)](_0x3292be(0x8d),_0x16c29b),fs[_0x3292be(0xb7)](_0x4bb2fc,_0x26a0ec,_0x3292be(0x91));}}async function updateRule(_0x57c7ff,{tablestartUpShort:_0x513dbb,Comment:_0x4d13cf,Fields:_0x30533e}){const _0x437f15=a15_0x25223b,_0x2910a6=_0x57c7ff+'/edit.js';if(!fs[_0x437f15(0x9e)](_0x2910a6)){let _0x49f8c7='',_0x23aa0c='';for(let _0x11a147 in _0x30533e){let _0x403cb0=_0x30533e[_0x11a147],_0x3bb5a1=(0x0,helper_1['getProp'])(_0x403cb0[_0x437f15(0x89)]);if(_0x403cb0[_0x437f15(0xa0)]==_0x437f15(0x8a)||_0x403cb0[_0x437f15(0xa0)]==_0x437f15(0xc1)||_0x403cb0[_0x437f15(0xa0)]==_0x437f15(0x8e)||_0x403cb0[_0x437f15(0xa0)]==_0x437f15(0xc9))continue;if(['text',_0x437f15(0xab),_0x437f15(0x82)]['indexOf'](_0x3bb5a1)!=-0x1)_0x49f8c7+=_0x437f15(0xc7)+_0x403cb0[_0x437f15(0xaf)]+'\x0a',_0x49f8c7+=_0x437f15(0xa7)+_0x403cb0[_0x437f15(0xa0)]+_0x437f15(0xac),_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)&&(_0x49f8c7+=_0x437f15(0xb0)+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xae)+(_0x403cb0['Null']!='YES'?_0x437f15(0xba):_0x437f15(0x92))+'\x20},\x0a'),_0x49f8c7+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x437f15(0x86),_0x437f15(0x9d),_0x437f15(0xbb),_0x437f15(0x87)]['indexOf'](_0x3bb5a1)!=-0x1)_0x49f8c7+=_0x437f15(0xc7)+_0x403cb0[_0x437f15(0xaf)]+'\x0a',_0x49f8c7+=_0x437f15(0xa7)+_0x403cb0[_0x437f15(0xa0)]+_0x437f15(0xac),_0x49f8c7+=_0x437f15(0xa1)+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xc5),_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)&&(_0x49f8c7+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xae)+(_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)?_0x437f15(0xba):_0x437f15(0x92))+_0x437f15(0x8b)),_0x49f8c7+=_0x437f15(0x8f);else{if([_0x437f15(0xc3)][_0x437f15(0xad)](_0x3bb5a1)!=-0x1)_0x49f8c7+=_0x437f15(0xc7)+_0x403cb0[_0x437f15(0xaf)]+'\x0a',_0x49f8c7+=_0x437f15(0xa7)+_0x403cb0[_0x437f15(0xa0)]+_0x437f15(0xac),_0x49f8c7+=_0x437f15(0xa1)+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xc5),_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)&&(_0x49f8c7+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x403cb0['Comment']+_0x437f15(0xae)+(_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)?'false':_0x437f15(0x92))+_0x437f15(0x8b)),_0x49f8c7+=_0x437f15(0x8f);else{if(_0x3bb5a1==_0x437f15(0xbd))_0x49f8c7+='\x20\x20\x20\x20//\x20'+_0x403cb0[_0x437f15(0xaf)]+'\x0a',_0x49f8c7+=_0x437f15(0xa7)+_0x403cb0[_0x437f15(0xa0)]+_0x437f15(0xac),_0x403cb0[_0x437f15(0x98)]!='YES'&&(_0x49f8c7+=_0x437f15(0xb0)+_0x403cb0['Comment']+_0x437f15(0xae)+(_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)?'false':_0x437f15(0x92))+_0x437f15(0x8b)),_0x49f8c7+=_0x437f15(0x8f);else{if(_0x3bb5a1==_0x437f15(0xa6)){let _0x14218a=(0x0,helper_1[_0x437f15(0xcb)])(_0x403cb0['Type']);_0x49f8c7+=_0x437f15(0xc7)+_0x403cb0['Comment']+'\x0a',_0x49f8c7+=_0x437f15(0xa7)+_0x403cb0[_0x437f15(0xa0)]+_0x437f15(0xac),_0x49f8c7+=_0x437f15(0xa1)+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xbf)+_0x14218a[_0x437f15(0xb1)]('\x27,\x20\x27')+_0x437f15(0xcc),_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)&&(_0x49f8c7+=_0x437f15(0xb0)+_0x403cb0[_0x437f15(0xaf)]+'不能为空`,\x20required:\x20'+(_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)?_0x437f15(0xba):'true')+_0x437f15(0x8b)),_0x49f8c7+=_0x437f15(0x8f);}else['date',_0x437f15(0xa2),'timestamp'][_0x437f15(0xad)](_0x3bb5a1)>-0x1?(_0x49f8c7+='\x20\x20\x20\x20//\x20'+_0x403cb0[_0x437f15(0xaf)]+'\x0a',_0x49f8c7+=_0x437f15(0xa7)+_0x403cb0['Field']+_0x437f15(0xac),_0x49f8c7+=_0x437f15(0xa1)+_0x403cb0['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x403cb0[_0x437f15(0x98)]!='YES'&&(_0x49f8c7+=_0x437f15(0xb0)+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xae)+(_0x403cb0[_0x437f15(0x98)]!=_0x437f15(0xce)?_0x437f15(0xba):_0x437f15(0x92))+_0x437f15(0x8b)),_0x49f8c7+=_0x437f15(0x8f)):(_0x49f8c7+=_0x437f15(0xc7)+_0x403cb0['Comment']+'\x0a',_0x49f8c7+='\x20\x20\x20\x20'+_0x403cb0[_0x437f15(0xa0)]+_0x437f15(0xac),_0x49f8c7+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xb9),_0x403cb0[_0x437f15(0x98)]!='YES'&&(_0x49f8c7+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x403cb0[_0x437f15(0xaf)]+_0x437f15(0xae)+(_0x403cb0['Null']!=_0x437f15(0xce)?'false':_0x437f15(0x92))+_0x437f15(0x8b)),_0x49f8c7+=_0x437f15(0x8f));}}}}}_0x23aa0c+='\x0a',_0x23aa0c+=_0x437f15(0x9c),_0x23aa0c+=_0x437f15(0xb3)+_0x4d13cf+'\x0a',_0x23aa0c+=_0x437f15(0xb8),_0x23aa0c+=_0x437f15(0xaa),_0x23aa0c+=_0x437f15(0xb2)+_0x513dbb+_0x437f15(0x88),_0x23aa0c+=_0x437f15(0x8d),_0x23aa0c+=_0x437f15(0x94),_0x23aa0c=_0x23aa0c['replace'](_0x437f15(0x8d),_0x49f8c7),fs[_0x437f15(0xb7)](_0x2910a6,_0x23aa0c,_0x437f15(0x91));}}function a15_0x5c1c(){const _0x4dd8b7=['writeFileSync','\x20*\x20数据更新验证\x0a','`,\x20type:\x20\x22string\x22\x20},\x0a','false','decimal','mkdirSync','json','AddRule\x20=\x20{\x0a','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','date','created_at','13036xDRFBL','tinyint','(((.+)+)+)+$','`,\x20type:\x20\x22number\x22\x20},\x0a','default','\x20\x20\x20\x20//\x20','getProp','deleted_at','16166kueXZV','getEnum','\x27]\x20},\x0a','57576tyYUdq','YES','replace','mediumtext','__esModule','/pages/apps/','`,\x20type:\x20\x22date\x22\x20},\x0a','float','number','EditRule\x20=\x20{\x0a','Type','displayorder','\x20},\x0a','5694642vcRLTa','%RuleColumn%','updated_at','\x20\x20\x20\x20],\x0a\x0a','/vue','utf-8','true','2145948HENlff','}\x0a\x0a','1738495UOjPCm','402tmyMtF','apply','Null','toString','text','string','/**\x0a','double','existsSync','\x20*\x20数据添加验证\x0a','Field','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','datetime','/pages/','133738KGnIMf','timestamp','enum','\x20\x20\x20\x20','../helper','constructor','\x20*\x20**/\x0a','longtext',':\x20[\x0a','indexOf','不能为空`,\x20required:\x20','Comment','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','join','export\x20const\x20','\x20*\x20','/validators/','6cUQaaU','cwd'];a15_0x5c1c=function(){return _0x4dd8b7;};return a15_0x5c1c();}
1
+ const a15_0x4d4777=a15_0x56a8;(function(_0x47d499,_0xcaecd9){const _0x59806f=a15_0x56a8,_0x5632fb=_0x47d499();while(!![]){try{const _0x3bd6bf=parseInt(_0x59806f(0x1ee))/0x1*(parseInt(_0x59806f(0x1bc))/0x2)+parseInt(_0x59806f(0x1d1))/0x3*(parseInt(_0x59806f(0x1da))/0x4)+parseInt(_0x59806f(0x1f4))/0x5+-parseInt(_0x59806f(0x1b7))/0x6*(-parseInt(_0x59806f(0x1fe))/0x7)+parseInt(_0x59806f(0x1c2))/0x8*(-parseInt(_0x59806f(0x1e0))/0x9)+-parseInt(_0x59806f(0x204))/0xa+-parseInt(_0x59806f(0x1cd))/0xb;if(_0x3bd6bf===_0xcaecd9)break;else _0x5632fb['push'](_0x5632fb['shift']());}catch(_0x4c737e){_0x5632fb['push'](_0x5632fb['shift']());}}}(a15_0x29ce,0xda747));const a15_0x568b0f=(function(){let _0x33051a=!![];return function(_0xb680ad,_0x2f178b){const _0x214d47=_0x33051a?function(){const _0x39a473=a15_0x56a8;if(_0x2f178b){const _0x5ead54=_0x2f178b[_0x39a473(0x1ff)](_0xb680ad,arguments);return _0x2f178b=null,_0x5ead54;}}:function(){};return _0x33051a=![],_0x214d47;};}()),a15_0x3ce5d6=a15_0x568b0f(this,function(){const _0xda68bf=a15_0x56a8;return a15_0x3ce5d6[_0xda68bf(0x1d2)]()[_0xda68bf(0x1e5)]('(((.+)+)+)+$')[_0xda68bf(0x1d2)]()[_0xda68bf(0x1d7)](a15_0x3ce5d6)[_0xda68bf(0x1e5)](_0xda68bf(0x1fb));});a15_0x3ce5d6();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),helper_1=require(a15_0x4d4777(0x1be));async function default_1({tablestartUpShort:_0x29d63e,tablestartUpShort2:_0x35da01,moduleName:_0x31314a,controller:_0x3cc495,Comment:_0x50cea4,apporbasic:_0xea8d2d,Primary:_0x3b76c9,Fields:_0x3a78dd}){const _0x1a2f41=a15_0x4d4777;let _0x5d7b33=process[_0x1a2f41(0x1f8)]()+_0x1a2f41(0x201)+(typeof _0x3cc495==_0x1a2f41(0x203)?'/'+_0x3cc495:'');_0x31314a?_0x5d7b33=_0x5d7b33+(_0x1a2f41(0x200)+_0x31314a+_0x1a2f41(0x1d9)+_0x29d63e):_0x5d7b33=_0x5d7b33+(_0x1a2f41(0x1f1)+_0xea8d2d+'/validators/'+_0x29d63e),!fs[_0x1a2f41(0x1e8)](_0x5d7b33)&&fs['mkdirSync'](_0x5d7b33,{'recursive':!![]}),await CreateRule(_0x5d7b33,{'tablestartUpShort':_0x29d63e,'Comment':_0x50cea4,'Fields':_0x3a78dd}),await updateRule(_0x5d7b33,{'tablestartUpShort':_0x29d63e,'Comment':_0x50cea4,'Fields':_0x3a78dd});}function a15_0x56a8(_0x19c9c6,_0x15024d){const _0x1e3835=a15_0x29ce();return a15_0x56a8=function(_0x3ce5d6,_0x568b0f){_0x3ce5d6=_0x3ce5d6-0x1b7;let _0x29ce71=_0x1e3835[_0x3ce5d6];return _0x29ce71;},a15_0x56a8(_0x19c9c6,_0x15024d);}exports['default']=default_1;async function CreateRule(_0x332dab,{tablestartUpShort:_0x255eb9,Comment:_0x258f82,Fields:_0x47db05}){const _0x429ff9=a15_0x4d4777,_0x5a53eb=_0x332dab+_0x429ff9(0x1c0);if(!fs[_0x429ff9(0x1e8)](_0x5a53eb)){let _0x36ca0f='',_0x705a6a='';for(let _0x617794 in _0x47db05){let _0x3c7bc=_0x47db05[_0x617794],_0x5de1=(0x0,helper_1[_0x429ff9(0x1fa)])(_0x3c7bc['Type']);if(_0x3c7bc[_0x429ff9(0x1e3)]==_0x429ff9(0x1c5)||_0x3c7bc[_0x429ff9(0x1e3)]==_0x429ff9(0x1c8)||_0x3c7bc[_0x429ff9(0x1e3)]=='updated_at'||_0x3c7bc[_0x429ff9(0x1e3)]==_0x429ff9(0x205))continue;if([_0x429ff9(0x1ba),_0x429ff9(0x1f3),_0x429ff9(0x1ca)][_0x429ff9(0x1f6)](_0x5de1)!=-0x1)_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc[_0x429ff9(0x1dc)]+'\x0a',_0x36ca0f+='\x20\x20\x20\x20'+_0x3c7bc['Field']+_0x429ff9(0x202),_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)&&(_0x36ca0f+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d5)+(_0x3c7bc[_0x429ff9(0x1c4)]!='YES'?_0x429ff9(0x1ea):_0x429ff9(0x1bb))+'\x20},\x0a'),_0x36ca0f+=_0x429ff9(0x1e1);else{if(['float',_0x429ff9(0x1ef),_0x429ff9(0x1c6),_0x429ff9(0x207)]['indexOf'](_0x5de1)!=-0x1)_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc[_0x429ff9(0x1dc)]+'\x0a',_0x36ca0f+=_0x429ff9(0x1db)+_0x3c7bc[_0x429ff9(0x1e3)]+':\x20[\x0a',_0x36ca0f+=_0x429ff9(0x1d6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1e7),_0x3c7bc[_0x429ff9(0x1c4)]!='YES'&&(_0x36ca0f+=_0x429ff9(0x1e6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d5)+(_0x3c7bc[_0x429ff9(0x1c4)]!='YES'?_0x429ff9(0x1ea):_0x429ff9(0x1bb))+_0x429ff9(0x1e2)),_0x36ca0f+=_0x429ff9(0x1e1);else{if([_0x429ff9(0x1f7)][_0x429ff9(0x1f6)](_0x5de1)!=-0x1)_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc[_0x429ff9(0x1dc)]+'\x0a',_0x36ca0f+=_0x429ff9(0x1db)+_0x3c7bc[_0x429ff9(0x1e3)]+_0x429ff9(0x202),_0x36ca0f+=_0x429ff9(0x1d6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1e7),_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)&&(_0x36ca0f+=_0x429ff9(0x1e6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d5)+(_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)?_0x429ff9(0x1ea):_0x429ff9(0x1bb))+'\x20},\x0a'),_0x36ca0f+=_0x429ff9(0x1e1);else{if(_0x5de1==_0x429ff9(0x1f9))_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc[_0x429ff9(0x1dc)]+'\x0a',_0x36ca0f+=_0x429ff9(0x1db)+_0x3c7bc['Field']+_0x429ff9(0x202),_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)&&(_0x36ca0f+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d5)+(_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)?'false':_0x429ff9(0x1bb))+'\x20},\x0a'),_0x36ca0f+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x5de1==_0x429ff9(0x1cb)){let _0x465e2e=(0x0,helper_1[_0x429ff9(0x1b9)])(_0x3c7bc['Type']);_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc[_0x429ff9(0x1dc)]+'\x0a',_0x36ca0f+='\x20\x20\x20\x20'+_0x3c7bc['Field']+_0x429ff9(0x202),_0x36ca0f+=_0x429ff9(0x1d6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1f0)+_0x465e2e[_0x429ff9(0x1d8)]('\x27,\x20\x27')+_0x429ff9(0x1f2),_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)&&(_0x36ca0f+=_0x429ff9(0x1e6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d5)+(_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)?_0x429ff9(0x1ea):'true')+'\x20},\x0a'),_0x36ca0f+=_0x429ff9(0x1e1);}else[_0x429ff9(0x1df),_0x429ff9(0x1cc),_0x429ff9(0x206)][_0x429ff9(0x1f6)](_0x5de1)>-0x1?(_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc[_0x429ff9(0x1dc)]+'\x0a',_0x36ca0f+='\x20\x20\x20\x20'+_0x3c7bc[_0x429ff9(0x1e3)]+_0x429ff9(0x202),_0x36ca0f+=_0x429ff9(0x1d6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d4),_0x3c7bc[_0x429ff9(0x1c4)]!=_0x429ff9(0x1cf)&&(_0x36ca0f+=_0x429ff9(0x1e6)+_0x3c7bc[_0x429ff9(0x1dc)]+'不能为空`,\x20required:\x20'+(_0x3c7bc[_0x429ff9(0x1c4)]!='YES'?_0x429ff9(0x1ea):_0x429ff9(0x1bb))+_0x429ff9(0x1e2)),_0x36ca0f+=_0x429ff9(0x1e1)):(_0x36ca0f+=_0x429ff9(0x1fc)+_0x3c7bc['Comment']+'\x0a',_0x36ca0f+=_0x429ff9(0x1db)+_0x3c7bc[_0x429ff9(0x1e3)]+_0x429ff9(0x202),_0x36ca0f+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3c7bc[_0x429ff9(0x1dc)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x3c7bc['Null']!='YES'&&(_0x36ca0f+=_0x429ff9(0x1e6)+_0x3c7bc[_0x429ff9(0x1dc)]+_0x429ff9(0x1d5)+(_0x3c7bc['Null']!='YES'?_0x429ff9(0x1ea):'true')+_0x429ff9(0x1e2)),_0x36ca0f+=_0x429ff9(0x1e1));}}}}}_0x705a6a+='\x0a',_0x705a6a+=_0x429ff9(0x1e9),_0x705a6a+=_0x429ff9(0x1d0)+_0x258f82+'\x0a',_0x705a6a+=_0x429ff9(0x1c7),_0x705a6a+=_0x429ff9(0x1e4),_0x705a6a+=_0x429ff9(0x1b8)+_0x255eb9+_0x429ff9(0x1dd),_0x705a6a+='%RuleColumn%',_0x705a6a+=_0x429ff9(0x1f5),_0x705a6a=_0x705a6a[_0x429ff9(0x1c9)]('%RuleColumn%',_0x36ca0f),fs[_0x429ff9(0x1ed)](_0x5a53eb,_0x705a6a,_0x429ff9(0x1c3));}}function a15_0x29ce(){const _0x4cf833=['/add.js','EditRule\x20=\x20{\x0a','8vQEtMP','utf-8','Null','displayorder','decimal','\x20*\x20数据添加验证\x0a','created_at','replace','mediumtext','enum','datetime','23765852tlOHXA','/edit.js','YES','\x20*\x20','33NlUgEd','toString','float','`,\x20type:\x20\x22date\x22\x20},\x0a','不能为空`,\x20required:\x20','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','constructor','join','/validators/','325396eTuWyp','\x20\x20\x20\x20','Comment','AddRule\x20=\x20{\x0a','\x20*\x20数据更新验证\x0a','date','4103037OaurFQ','\x20\x20\x20\x20],\x0a\x0a','\x20},\x0a','Field','\x20*\x20**/\x0a','search','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','`,\x20type:\x20\x22number\x22\x20},\x0a','existsSync','/**\x0a','false','%RuleColumn%','\x27,\x20\x27','writeFileSync','974447DqQuHt','double','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','/pages/','\x27]\x20},\x0a','longtext','4946780hbzATo','}\x0a\x0a','indexOf','tinyint','cwd','json','getProp','(((.+)+)+)+$','\x20\x20\x20\x20//\x20','`,\x20type:\x20\x22string\x22\x20},\x0a','4935CKcHPX','apply','/pages/apps/','/vue',':\x20[\x0a','string','10711510kUfNWs','deleted_at','timestamp','number','14670FyqLgx','export\x20const\x20','getEnum','text','true','2nsVKhr','updated_at','../helper','Type'];a15_0x29ce=function(){return _0x4cf833;};return a15_0x29ce();}async function updateRule(_0x51e94a,{tablestartUpShort:_0xdeb6a3,Comment:_0x44aa5c,Fields:_0x339782}){const _0x38597a=a15_0x4d4777,_0x5651a5=_0x51e94a+_0x38597a(0x1ce);if(!fs[_0x38597a(0x1e8)](_0x5651a5)){let _0x2ecc37='',_0x53e860='';for(let _0x39a752 in _0x339782){let _0x2ece20=_0x339782[_0x39a752],_0x105e2d=(0x0,helper_1[_0x38597a(0x1fa)])(_0x2ece20[_0x38597a(0x1bf)]);if(_0x2ece20[_0x38597a(0x1e3)]=='displayorder'||_0x2ece20[_0x38597a(0x1e3)]==_0x38597a(0x1c8)||_0x2ece20[_0x38597a(0x1e3)]==_0x38597a(0x1bd)||_0x2ece20[_0x38597a(0x1e3)]==_0x38597a(0x205))continue;if([_0x38597a(0x1ba),_0x38597a(0x1f3),_0x38597a(0x1ca)]['indexOf'](_0x105e2d)!=-0x1)_0x2ecc37+=_0x38597a(0x1fc)+_0x2ece20[_0x38597a(0x1dc)]+'\x0a',_0x2ecc37+=_0x38597a(0x1db)+_0x2ece20[_0x38597a(0x1e3)]+_0x38597a(0x202),_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)&&(_0x2ecc37+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2ece20[_0x38597a(0x1dc)]+_0x38597a(0x1d5)+(_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)?_0x38597a(0x1ea):_0x38597a(0x1bb))+_0x38597a(0x1e2)),_0x2ecc37+=_0x38597a(0x1e1);else{if([_0x38597a(0x1d3),_0x38597a(0x1ef),_0x38597a(0x1c6),_0x38597a(0x207)]['indexOf'](_0x105e2d)!=-0x1)_0x2ecc37+=_0x38597a(0x1fc)+_0x2ece20[_0x38597a(0x1dc)]+'\x0a',_0x2ecc37+='\x20\x20\x20\x20'+_0x2ece20['Field']+':\x20[\x0a',_0x2ecc37+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x2ece20[_0x38597a(0x1dc)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x2ece20['Null']!='YES'&&(_0x2ecc37+=_0x38597a(0x1e6)+_0x2ece20[_0x38597a(0x1dc)]+_0x38597a(0x1d5)+(_0x2ece20['Null']!=_0x38597a(0x1cf)?_0x38597a(0x1ea):_0x38597a(0x1bb))+'\x20},\x0a'),_0x2ecc37+=_0x38597a(0x1e1);else{if(['tinyint']['indexOf'](_0x105e2d)!=-0x1)_0x2ecc37+='\x20\x20\x20\x20//\x20'+_0x2ece20[_0x38597a(0x1dc)]+'\x0a',_0x2ecc37+=_0x38597a(0x1db)+_0x2ece20[_0x38597a(0x1e3)]+_0x38597a(0x202),_0x2ecc37+=_0x38597a(0x1d6)+_0x2ece20[_0x38597a(0x1dc)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x2ece20['Null']!=_0x38597a(0x1cf)&&(_0x2ecc37+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2ece20[_0x38597a(0x1dc)]+_0x38597a(0x1d5)+(_0x2ece20['Null']!=_0x38597a(0x1cf)?_0x38597a(0x1ea):_0x38597a(0x1bb))+'\x20},\x0a'),_0x2ecc37+=_0x38597a(0x1e1);else{if(_0x105e2d==_0x38597a(0x1f9))_0x2ecc37+=_0x38597a(0x1fc)+_0x2ece20[_0x38597a(0x1dc)]+'\x0a',_0x2ecc37+=_0x38597a(0x1db)+_0x2ece20[_0x38597a(0x1e3)]+_0x38597a(0x202),_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)&&(_0x2ecc37+=_0x38597a(0x1e6)+_0x2ece20[_0x38597a(0x1dc)]+_0x38597a(0x1d5)+(_0x2ece20['Null']!=_0x38597a(0x1cf)?'false':_0x38597a(0x1bb))+'\x20},\x0a'),_0x2ecc37+=_0x38597a(0x1e1);else{if(_0x105e2d=='enum'){let _0x313383=(0x0,helper_1[_0x38597a(0x1b9)])(_0x2ece20[_0x38597a(0x1bf)]);_0x2ecc37+=_0x38597a(0x1fc)+_0x2ece20['Comment']+'\x0a',_0x2ecc37+='\x20\x20\x20\x20'+_0x2ece20['Field']+_0x38597a(0x202),_0x2ecc37+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x2ece20[_0x38597a(0x1dc)]+_0x38597a(0x1f0)+_0x313383['join'](_0x38597a(0x1ec))+_0x38597a(0x1f2),_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)&&(_0x2ecc37+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2ece20[_0x38597a(0x1dc)]+'不能为空`,\x20required:\x20'+(_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)?_0x38597a(0x1ea):_0x38597a(0x1bb))+_0x38597a(0x1e2)),_0x2ecc37+=_0x38597a(0x1e1);}else['date',_0x38597a(0x1cc),_0x38597a(0x206)][_0x38597a(0x1f6)](_0x105e2d)>-0x1?(_0x2ecc37+='\x20\x20\x20\x20//\x20'+_0x2ece20['Comment']+'\x0a',_0x2ecc37+=_0x38597a(0x1db)+_0x2ece20[_0x38597a(0x1e3)]+_0x38597a(0x202),_0x2ecc37+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x2ece20[_0x38597a(0x1dc)]+_0x38597a(0x1d4),_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)&&(_0x2ecc37+=_0x38597a(0x1e6)+_0x2ece20['Comment']+_0x38597a(0x1d5)+(_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)?_0x38597a(0x1ea):'true')+_0x38597a(0x1e2)),_0x2ecc37+=_0x38597a(0x1e1)):(_0x2ecc37+=_0x38597a(0x1fc)+_0x2ece20[_0x38597a(0x1dc)]+'\x0a',_0x2ecc37+='\x20\x20\x20\x20'+_0x2ece20[_0x38597a(0x1e3)]+_0x38597a(0x202),_0x2ecc37+=_0x38597a(0x1d6)+_0x2ece20['Comment']+_0x38597a(0x1fd),_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)&&(_0x2ecc37+=_0x38597a(0x1e6)+_0x2ece20['Comment']+'不能为空`,\x20required:\x20'+(_0x2ece20[_0x38597a(0x1c4)]!=_0x38597a(0x1cf)?_0x38597a(0x1ea):_0x38597a(0x1bb))+'\x20},\x0a'),_0x2ecc37+=_0x38597a(0x1e1));}}}}}_0x53e860+='\x0a',_0x53e860+=_0x38597a(0x1e9),_0x53e860+=_0x38597a(0x1d0)+_0x44aa5c+'\x0a',_0x53e860+=_0x38597a(0x1de),_0x53e860+='\x20*\x20**/\x0a',_0x53e860+=_0x38597a(0x1b8)+_0xdeb6a3+_0x38597a(0x1c1),_0x53e860+=_0x38597a(0x1eb),_0x53e860+=_0x38597a(0x1f5),_0x53e860=_0x53e860[_0x38597a(0x1c9)]('%RuleColumn%',_0x2ecc37),fs[_0x38597a(0x1ed)](_0x5651a5,_0x53e860,_0x38597a(0x1c3));}}
@@ -1 +1 @@
1
- function a16_0x490f(){const _0x54e3d5=['import\x20{\x20request\x20}\x20from\x20\x27',')\x20{\x0a','737985YJaVSC','13021074XiBCIj','apply','@删除\x0a','constructor','(((.+)+)+)+$','\x20\x20\x20\x20return\x20request(`GET`,\x20`','/vue','writeFileSync','18781YOvOpd','Edit(','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','2202ZhdgWM','__esModule','/add`,\x20params)\x0a','//\x20','1455vepvXI','/detail/${','/edit/${','}\x0a\x0a','text','/apis/apps/','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','cwd',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','/remove`,\x20params)\x0a','4aGMhvq','request\x27;\x0a\x0a','utf-8','2872EfkMek','27530oXftBY','@列表\x0a','Type','toString','dirname','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','../helper','112751fwRZOl','../','indexOf','}`,\x20params)\x0a','export\x20function\x20','Detail(','path','default','}`)\x0a','.ts','search','Field','\x20\x20\x20\x20return\x20request(`POST`,\x20`','string','/list`,\x20params)\x0a','getProp','@修改\x0a','mediumtext','2157624msUxib','number','207NiiCLT'];a16_0x490f=function(){return _0x54e3d5;};return a16_0x490f();}const a16_0x26dc91=a16_0x43ef;(function(_0x1370c1,_0x219a61){const _0xb627c2=a16_0x43ef,_0x290603=_0x1370c1();while(!![]){try{const _0x378848=-parseInt(_0xb627c2(0x97))/0x1+-parseInt(_0xb627c2(0xa9))/0x2+-parseInt(_0xb627c2(0x72))/0x3*(parseInt(_0xb627c2(0x8c))/0x4)+-parseInt(_0xb627c2(0x82))/0x5*(parseInt(_0xb627c2(0x7e))/0x6)+-parseInt(_0xb627c2(0x7b))/0x7*(-parseInt(_0xb627c2(0x8f))/0x8)+-parseInt(_0xb627c2(0x6f))/0x9*(-parseInt(_0xb627c2(0x90))/0xa)+parseInt(_0xb627c2(0x73))/0xb;if(_0x378848===_0x219a61)break;else _0x290603['push'](_0x290603['shift']());}catch(_0x28bc15){_0x290603['push'](_0x290603['shift']());}}}(a16_0x490f,0xa2927));const a16_0x5f6801=(function(){let _0x406658=!![];return function(_0x6356c1,_0x2c86cb){const _0x3de851=_0x406658?function(){const _0x58fe00=a16_0x43ef;if(_0x2c86cb){const _0xb24a24=_0x2c86cb[_0x58fe00(0x74)](_0x6356c1,arguments);return _0x2c86cb=null,_0xb24a24;}}:function(){};return _0x406658=![],_0x3de851;};}()),a16_0x4a11b9=a16_0x5f6801(this,function(){const _0x501df2=a16_0x43ef;return a16_0x4a11b9['toString']()[_0x501df2(0xa1)](_0x501df2(0x77))[_0x501df2(0x93)]()[_0x501df2(0x76)](a16_0x4a11b9)[_0x501df2(0xa1)]('(((.+)+)+)+$');});function a16_0x43ef(_0xce6665,_0x52762d){const _0x348ff6=a16_0x490f();return a16_0x43ef=function(_0x4a11b9,_0x5f6801){_0x4a11b9=_0x4a11b9-0x6e;let _0x490f6f=_0x348ff6[_0x4a11b9];return _0x490f6f;},a16_0x43ef(_0xce6665,_0x52762d);}a16_0x4a11b9();'use strict';Object['defineProperty'](exports,a16_0x26dc91(0x7f),{'value':!![]});const fs=require('fs'),path_1=require(a16_0x26dc91(0x9d)),helper_1=require(a16_0x26dc91(0x96));async function default_1({tablestartUpShort:_0x3028a0,tablestartUpShort2:_0xa6f7f9,moduleName:_0x50538f,controller:_0x5c47ce,Comment:_0x5f28d3,apporbasic:_0x4f711e,Primary:_0x194433}){const _0x52a9e2=a16_0x26dc91;let _0xbe1703=process[_0x52a9e2(0x89)]()+_0x52a9e2(0x79)+(typeof _0x5c47ce==_0x52a9e2(0xa4)?'/'+_0x5c47ce:'');_0x50538f?_0xbe1703=_0xbe1703+(_0x52a9e2(0x87)+_0x50538f+'/'+_0x3028a0+_0x52a9e2(0xa0)):_0xbe1703=_0xbe1703+('/apis/'+_0x4f711e+'/'+_0x3028a0+_0x52a9e2(0xa0));if(!fs['existsSync'](_0xbe1703)){const _0x37790b=[_0x52a9e2(0x86),_0x52a9e2(0xa8),_0x52a9e2(0xa4)][_0x52a9e2(0x99)]((0x0,helper_1[_0x52a9e2(0xa6)])(_0x194433[_0x52a9e2(0x92)]))==-0x1,_0x381378=''+(typeof _0x5c47ce=='string'?_0x5c47ce+'/':'')+(_0x50538f?_0x50538f+'/':'')+_0xa6f7f9;let _0x513e05=_0x52a9e2(0x70)+(_0x50538f?'../../':_0x52a9e2(0x98))+_0x52a9e2(0x8d);_0x513e05+='//\x20'+_0x5f28d3+'@详情\x0a',_0x513e05+='export\x20function\x20'+_0x3028a0+_0x52a9e2(0x9c)+_0x194433[_0x52a9e2(0xa2)]+':\x20'+(_0x37790b?_0x52a9e2(0x6e):_0x52a9e2(0xa4))+_0x52a9e2(0x71),_0x513e05+=_0x52a9e2(0x78)+_0x381378+_0x52a9e2(0x83)+_0x194433['Field']+_0x52a9e2(0x9f),_0x513e05+=_0x52a9e2(0x85),_0x513e05+=_0x52a9e2(0x81)+_0x5f28d3+'@添加\x0a',_0x513e05+='export\x20function\x20'+_0x3028a0+_0x52a9e2(0x88),_0x513e05+=_0x52a9e2(0xa3)+_0x381378+_0x52a9e2(0x80),_0x513e05+=_0x52a9e2(0x85),_0x513e05+=_0x52a9e2(0x81)+_0x5f28d3+_0x52a9e2(0xa7),_0x513e05+='export\x20function\x20'+_0x3028a0+_0x52a9e2(0x7c)+_0x194433['Field']+':\x20'+(_0x37790b?_0x52a9e2(0x6e):_0x52a9e2(0xa4))+_0x52a9e2(0x8a),_0x513e05+=_0x52a9e2(0xa3)+_0x381378+_0x52a9e2(0x84)+_0x194433['Field']+_0x52a9e2(0x9a),_0x513e05+=_0x52a9e2(0x85),_0x513e05+=_0x52a9e2(0x81)+_0x5f28d3+_0x52a9e2(0x91),_0x513e05+=_0x52a9e2(0x9b)+_0x3028a0+_0x52a9e2(0x95),_0x513e05+=_0x52a9e2(0x78)+_0x381378+_0x52a9e2(0xa5),_0x513e05+=_0x52a9e2(0x85),_0x513e05+=_0x52a9e2(0x81)+_0x5f28d3+_0x52a9e2(0x75),_0x513e05+=_0x52a9e2(0x9b)+_0x3028a0+_0x52a9e2(0x7d),_0x513e05+=_0x52a9e2(0xa3)+_0x381378+_0x52a9e2(0x8b),_0x513e05+=_0x52a9e2(0x85),fs['mkdirSync']((0x0,path_1[_0x52a9e2(0x94)])(_0xbe1703),{'recursive':!![]}),fs[_0x52a9e2(0x7a)](_0xbe1703,_0x513e05,_0x52a9e2(0x8e));}}exports[a16_0x26dc91(0x9e)]=default_1;
1
+ const a16_0x150884=a16_0x1435;(function(_0x3ed338,_0x3919d4){const _0x36f046=a16_0x1435,_0xdd590=_0x3ed338();while(!![]){try{const _0xcea065=-parseInt(_0x36f046(0xa9))/0x1*(parseInt(_0x36f046(0xb6))/0x2)+parseInt(_0x36f046(0x91))/0x3*(parseInt(_0x36f046(0xac))/0x4)+parseInt(_0x36f046(0x93))/0x5+-parseInt(_0x36f046(0xb7))/0x6*(parseInt(_0x36f046(0xb5))/0x7)+parseInt(_0x36f046(0xa7))/0x8*(parseInt(_0x36f046(0xc7))/0x9)+parseInt(_0x36f046(0x9e))/0xa*(parseInt(_0x36f046(0xc2))/0xb)+-parseInt(_0x36f046(0xc4))/0xc;if(_0xcea065===_0x3919d4)break;else _0xdd590['push'](_0xdd590['shift']());}catch(_0x51221f){_0xdd590['push'](_0xdd590['shift']());}}}(a16_0x28c1,0x31d50));const a16_0x24af1e=(function(){let _0xe68ba0=!![];return function(_0x12d140,_0x41ae06){const _0x56229b=_0xe68ba0?function(){if(_0x41ae06){const _0x14c329=_0x41ae06['apply'](_0x12d140,arguments);return _0x41ae06=null,_0x14c329;}}:function(){};return _0xe68ba0=![],_0x56229b;};}()),a16_0x44c27c=a16_0x24af1e(this,function(){const _0x750b7=a16_0x1435;return a16_0x44c27c['toString']()['search'](_0x750b7(0xb2))[_0x750b7(0xb3)]()[_0x750b7(0xc1)](a16_0x44c27c)['search'](_0x750b7(0xb2));});a16_0x44c27c();'use strict';function a16_0x28c1(){const _0x7e1a09=['../helper','../','(((.+)+)+)+$','toString','mkdirSync','3682ekmcgB','680154AlfVbH','1878LzOnjX','@添加\x0a','/vue','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','defineProperty','/list`,\x20params)\x0a','writeFileSync','Type','\x20\x20\x20\x20return\x20request(`POST`,\x20`','/detail/${','constructor','4213LASini','}\x0a\x0a','2497440KucZaS','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','existsSync','230895fUJpqd','@删除\x0a','267kNzlWf','import\x20{\x20request\x20}\x20from\x20\x27','1788980CXVNBc','indexOf','default','utf-8','Field','\x20\x20\x20\x20return\x20request(`GET`,\x20`','string','/remove`,\x20params)\x0a','/apis/apps/',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','__esModule','6190nIXtna','export\x20function\x20','Detail(','number','Edit(','@修改\x0a','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','path','.ts','56FoEtKm','}`)\x0a','1jhQKdI','/apis/','//\x20','6404HJwzML','mediumtext','../../','/edit/${'];a16_0x28c1=function(){return _0x7e1a09;};return a16_0x28c1();}Object[a16_0x150884(0xbb)](exports,a16_0x150884(0x9d),{'value':!![]});const fs=require('fs'),path_1=require(a16_0x150884(0xa5)),helper_1=require(a16_0x150884(0xb0));async function default_1({tablestartUpShort:_0x17c876,tablestartUpShort2:_0x29cfe2,moduleName:_0x3deafc,controller:_0x12849d,Comment:_0x3bb837,apporbasic:_0x17dfe4,Primary:_0x489384}){const _0x25b0fb=a16_0x150884;let _0x3d82f0=process['cwd']()+_0x25b0fb(0xb9)+(typeof _0x12849d=='string'?'/'+_0x12849d:'');_0x3deafc?_0x3d82f0=_0x3d82f0+(_0x25b0fb(0x9b)+_0x3deafc+'/'+_0x17c876+_0x25b0fb(0xa6)):_0x3d82f0=_0x3d82f0+(_0x25b0fb(0xaa)+_0x17dfe4+'/'+_0x17c876+_0x25b0fb(0xa6));if(!fs[_0x25b0fb(0xc6)](_0x3d82f0)){const _0x35df7e=['text',_0x25b0fb(0xad),'string'][_0x25b0fb(0x94)]((0x0,helper_1['getProp'])(_0x489384[_0x25b0fb(0xbe)]))==-0x1,_0x329f14=''+(typeof _0x12849d==_0x25b0fb(0x99)?_0x12849d+'/':'')+(_0x3deafc?_0x3deafc+'/':'')+_0x29cfe2;let _0x3389a3=_0x25b0fb(0x92)+(_0x3deafc?_0x25b0fb(0xae):_0x25b0fb(0xb1))+'request\x27;\x0a\x0a';_0x3389a3+=_0x25b0fb(0xab)+_0x3bb837+'@详情\x0a',_0x3389a3+=_0x25b0fb(0x9f)+_0x17c876+_0x25b0fb(0xa0)+_0x489384['Field']+':\x20'+(_0x35df7e?_0x25b0fb(0xa1):_0x25b0fb(0x99))+')\x20{\x0a',_0x3389a3+=_0x25b0fb(0x98)+_0x329f14+_0x25b0fb(0xc0)+_0x489384[_0x25b0fb(0x97)]+_0x25b0fb(0xa8),_0x3389a3+=_0x25b0fb(0xc3),_0x3389a3+=_0x25b0fb(0xab)+_0x3bb837+_0x25b0fb(0xb8),_0x3389a3+='export\x20function\x20'+_0x17c876+_0x25b0fb(0xc5),_0x3389a3+=_0x25b0fb(0xbf)+_0x329f14+'/add`,\x20params)\x0a',_0x3389a3+=_0x25b0fb(0xc3),_0x3389a3+=_0x25b0fb(0xab)+_0x3bb837+_0x25b0fb(0xa3),_0x3389a3+=_0x25b0fb(0x9f)+_0x17c876+_0x25b0fb(0xa2)+_0x489384[_0x25b0fb(0x97)]+':\x20'+(_0x35df7e?'number':_0x25b0fb(0x99))+_0x25b0fb(0x9c),_0x3389a3+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x329f14+_0x25b0fb(0xaf)+_0x489384[_0x25b0fb(0x97)]+'}`,\x20params)\x0a',_0x3389a3+='}\x0a\x0a',_0x3389a3+=_0x25b0fb(0xab)+_0x3bb837+'@列表\x0a',_0x3389a3+=_0x25b0fb(0x9f)+_0x17c876+_0x25b0fb(0xa4),_0x3389a3+=_0x25b0fb(0x98)+_0x329f14+_0x25b0fb(0xbc),_0x3389a3+='}\x0a\x0a',_0x3389a3+='//\x20'+_0x3bb837+_0x25b0fb(0xc8),_0x3389a3+='export\x20function\x20'+_0x17c876+_0x25b0fb(0xba),_0x3389a3+=_0x25b0fb(0xbf)+_0x329f14+_0x25b0fb(0x9a),_0x3389a3+=_0x25b0fb(0xc3),fs[_0x25b0fb(0xb4)]((0x0,path_1['dirname'])(_0x3d82f0),{'recursive':!![]}),fs[_0x25b0fb(0xbd)](_0x3d82f0,_0x3389a3,_0x25b0fb(0x96));}}function a16_0x1435(_0x248a7e,_0x40672a){const _0x4c4d0d=a16_0x28c1();return a16_0x1435=function(_0x44c27c,_0x24af1e){_0x44c27c=_0x44c27c-0x91;let _0x28c140=_0x4c4d0d[_0x44c27c];return _0x28c140;},a16_0x1435(_0x248a7e,_0x40672a);}exports[a16_0x150884(0x95)]=default_1;
@@ -1 +1 @@
1
- const a17_0xd54a5e=a17_0x5055;(function(_0x59ef86,_0x1d7778){const _0x183de7=a17_0x5055,_0xe9dd51=_0x59ef86();while(!![]){try{const _0x787215=-parseInt(_0x183de7(0x1ed))/0x1*(-parseInt(_0x183de7(0x1e9))/0x2)+parseInt(_0x183de7(0x1e1))/0x3*(parseInt(_0x183de7(0x1d5))/0x4)+parseInt(_0x183de7(0x1de))/0x5*(-parseInt(_0x183de7(0x1f0))/0x6)+parseInt(_0x183de7(0x1f2))/0x7+-parseInt(_0x183de7(0x1e6))/0x8*(parseInt(_0x183de7(0x1da))/0x9)+-parseInt(_0x183de7(0x1fb))/0xa*(-parseInt(_0x183de7(0x1fc))/0xb)+parseInt(_0x183de7(0x1ee))/0xc*(parseInt(_0x183de7(0x1f3))/0xd);if(_0x787215===_0x1d7778)break;else _0xe9dd51['push'](_0xe9dd51['shift']());}catch(_0x37a8d1){_0xe9dd51['push'](_0xe9dd51['shift']());}}}(a17_0x53a1,0xcbf1c));const a17_0x52f62c=(function(){let _0x3fcf2b=!![];return function(_0x3984a5,_0x21109f){const _0x4efd97=_0x3fcf2b?function(){const _0x37e3c8=a17_0x5055;if(_0x21109f){const _0xf972f8=_0x21109f[_0x37e3c8(0x1d6)](_0x3984a5,arguments);return _0x21109f=null,_0xf972f8;}}:function(){};return _0x3fcf2b=![],_0x4efd97;};}()),a17_0x4cf821=a17_0x52f62c(this,function(){const _0x394e16=a17_0x5055;return a17_0x4cf821['toString']()['search'](_0x394e16(0x1dd))[_0x394e16(0x1db)]()[_0x394e16(0x1d2)](a17_0x4cf821)['search'](_0x394e16(0x1dd));});a17_0x4cf821();'use strict';Object[a17_0xd54a5e(0x1fe)](exports,a17_0xd54a5e(0x1f4),{'value':!![]});const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x499cb4,controller:_0x4d231c,moduleName:_0x33048f,Comment:_0x307c5f,apporbasic:_0x264e18}){const _0x44118f=a17_0xd54a5e;let _0x2fb354=process[_0x44118f(0x1f1)]()+_0x44118f(0x1eb)+(typeof _0x4d231c=='string'?'/'+_0x4d231c:'');_0x33048f?_0x2fb354=_0x2fb354+(_0x44118f(0x1e3)+_0x33048f+_0x44118f(0x1dc)):_0x2fb354=_0x2fb354+('/pages/'+_0x264e18+_0x44118f(0x1dc));await createLayout(_0x2fb354,{'moduleName':_0x33048f});const _0x4d12db=fs[_0x44118f(0x1e4)](_0x2fb354,'utf-8'),_0x22656d=_0x44118f(0x1f6)+(_0x307c5f+'\x22')[_0x44118f(0x1d7)](0x14)+_0x44118f(0x1ec)+(''+(typeof _0x33048f==_0x44118f(0x1f8)?_0x44118f(0x1fd)+_0x33048f+'/':'/'+_0x264e18+'/')+_0x499cb4+_0x44118f(0x1ef))[_0x44118f(0x1d7)](0x14)+'}';_0x4d12db[_0x44118f(0x1f5)](_0x22656d)==-0x1&&fs[_0x44118f(0x1e0)](_0x2fb354,_0x4d12db[_0x44118f(0x1f7)](_0x44118f(0x1d9),_0x22656d+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}function a17_0x53a1(){const _0x23b9f7=['(((.+)+)+)+$','10YKubht','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','writeFileSync','27759jMOlHM','<template>\x0a','/pages/apps/','readFileSync','<script\x20lang=\x22ts\x22\x20setup>\x0a','10371736PpJUJA','default','dirname','2eGgGKz','existsSync','/vue',',\x20path:\x20\x22','209887QejfvZ','24cqPEnQ','/list\x22','3433524ytFvDr','cwd','1255695yqHMoE','12639341ATWBYW','__esModule','indexOf','{title:\x20\x22','replace','string','utf-8','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','360MOGsEq','2442VfSJNi','/apps-','defineProperty','constructor','mkdirSync','</template>\x0a\x0a','404TbiCDF','apply','padEnd','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','//\x20add\x20menu\x20here','9gzURwK','toString','/layout.vue'];a17_0x53a1=function(){return _0x23b9f7;};return a17_0x53a1();}exports[a17_0xd54a5e(0x1e7)]=default_1;function a17_0x5055(_0x3389c4,_0x528610){const _0x4efcbc=a17_0x53a1();return a17_0x5055=function(_0x4cf821,_0x52f62c){_0x4cf821=_0x4cf821-0x1d2;let _0x53a15a=_0x4efcbc[_0x4cf821];return _0x53a15a;},a17_0x5055(_0x3389c4,_0x528610);}async function createLayout(_0x2c071e,{moduleName:_0x1c2fb9}){const _0x3c9d7d=a17_0xd54a5e;if(!fs[_0x3c9d7d(0x1ea)](_0x2c071e)){let _0x726e5=_0x3c9d7d(0x1e2);_0x726e5+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-'+_0x1c2fb9+_0x3c9d7d(0x1d8),_0x726e5+='\x20\x20\x20\x20</page-layout>\x0a',_0x726e5+=_0x3c9d7d(0x1d4),_0x726e5+=_0x3c9d7d(0x1e5),_0x726e5+=_0x3c9d7d(0x1df),_0x726e5+=_0x3c9d7d(0x1fa),_0x726e5+='\x20\x20\x20\x20])\x0a',_0x726e5+='</script>\x0a\x0a',fs[_0x3c9d7d(0x1d3)]((0x0,path_1[_0x3c9d7d(0x1e8)])(_0x2c071e),{'recursive':!![]}),fs[_0x3c9d7d(0x1e0)](_0x2c071e,_0x726e5,_0x3c9d7d(0x1f9));}}
1
+ const a17_0x29ee04=a17_0x49e0;function a17_0x49e0(_0x3bd034,_0x18d1d3){const _0x2ec6e=a17_0x8e4a();return a17_0x49e0=function(_0x2625ab,_0x5b11b8){_0x2625ab=_0x2625ab-0x1c2;let _0x8e4a1b=_0x2ec6e[_0x2625ab];return _0x8e4a1b;},a17_0x49e0(_0x3bd034,_0x18d1d3);}(function(_0x483900,_0x2a7dd9){const _0x2ba8d3=a17_0x49e0,_0x5f46ec=_0x483900();while(!![]){try{const _0x246bcc=parseInt(_0x2ba8d3(0x1d6))/0x1+-parseInt(_0x2ba8d3(0x1c7))/0x2*(-parseInt(_0x2ba8d3(0x1de))/0x3)+parseInt(_0x2ba8d3(0x1eb))/0x4+-parseInt(_0x2ba8d3(0x1ef))/0x5*(parseInt(_0x2ba8d3(0x1cc))/0x6)+-parseInt(_0x2ba8d3(0x1cd))/0x7+-parseInt(_0x2ba8d3(0x1e9))/0x8*(-parseInt(_0x2ba8d3(0x1c3))/0x9)+-parseInt(_0x2ba8d3(0x1ed))/0xa;if(_0x246bcc===_0x2a7dd9)break;else _0x5f46ec['push'](_0x5f46ec['shift']());}catch(_0x109831){_0x5f46ec['push'](_0x5f46ec['shift']());}}}(a17_0x8e4a,0x7c08f));const a17_0x5b11b8=(function(){let _0x291a40=!![];return function(_0x14ba04,_0x4e1674){const _0x4283e3=_0x291a40?function(){const _0x2b613=a17_0x49e0;if(_0x4e1674){const _0x57512f=_0x4e1674[_0x2b613(0x1dd)](_0x14ba04,arguments);return _0x4e1674=null,_0x57512f;}}:function(){};return _0x291a40=![],_0x4283e3;};}()),a17_0x2625ab=a17_0x5b11b8(this,function(){const _0x122c20=a17_0x49e0;return a17_0x2625ab[_0x122c20(0x1c5)]()[_0x122c20(0x1d9)](_0x122c20(0x1d5))[_0x122c20(0x1c5)]()[_0x122c20(0x1e0)](a17_0x2625ab)['search']('(((.+)+)+)+$');});a17_0x2625ab();'use strict';Object[a17_0x29ee04(0x1d3)](exports,a17_0x29ee04(0x1e1),{'value':!![]});const fs=require('fs'),path_1=require(a17_0x29ee04(0x1e4));async function default_1({tablestartUpShort2:_0x52e714,controller:_0x2f77ca,moduleName:_0x27901b,Comment:_0x54b51e,apporbasic:_0x49aa06}){const _0x5d1170=a17_0x29ee04;let _0x445ee4=process[_0x5d1170(0x1d4)]()+_0x5d1170(0x1cb)+(typeof _0x2f77ca==_0x5d1170(0x1d7)?'/'+_0x2f77ca:'');_0x27901b?_0x445ee4=_0x445ee4+(_0x5d1170(0x1d8)+_0x27901b+_0x5d1170(0x1c2)):_0x445ee4=_0x445ee4+(_0x5d1170(0x1ee)+_0x49aa06+_0x5d1170(0x1c2));await createLayout(_0x445ee4,{'moduleName':_0x27901b});const _0x3ffff2=fs[_0x5d1170(0x1e2)](_0x445ee4,'utf-8'),_0x3ff076=_0x5d1170(0x1db)+(_0x54b51e+'\x22')[_0x5d1170(0x1ce)](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x27901b==_0x5d1170(0x1d7)?_0x5d1170(0x1c8)+_0x27901b+'/':'/'+_0x49aa06+'/')+_0x52e714+_0x5d1170(0x1d2))['padEnd'](0x14)+'}';_0x3ffff2[_0x5d1170(0x1da)](_0x3ff076)==-0x1&&fs[_0x5d1170(0x1e7)](_0x445ee4,_0x3ffff2[_0x5d1170(0x1dc)](_0x5d1170(0x1e5),_0x3ff076+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}exports['default']=default_1;async function createLayout(_0x28b590,{moduleName:_0x1fbfb4}){const _0x3c6fa3=a17_0x29ee04;if(!fs[_0x3c6fa3(0x1c9)](_0x28b590)){let _0x483cb9=_0x3c6fa3(0x1c6);_0x483cb9+=_0x3c6fa3(0x1c4)+_0x1fbfb4+_0x3c6fa3(0x1d0),_0x483cb9+=_0x3c6fa3(0x1df),_0x483cb9+=_0x3c6fa3(0x1cf),_0x483cb9+='<script\x20lang=\x22ts\x22\x20setup>\x0a',_0x483cb9+=_0x3c6fa3(0x1ca),_0x483cb9+=_0x3c6fa3(0x1ea),_0x483cb9+=_0x3c6fa3(0x1e8),_0x483cb9+=_0x3c6fa3(0x1d1),fs[_0x3c6fa3(0x1e3)]((0x0,path_1[_0x3c6fa3(0x1e6)])(_0x28b590),{'recursive':!![]}),fs['writeFileSync'](_0x28b590,_0x483cb9,_0x3c6fa3(0x1ec));}}function a17_0x8e4a(){const _0x496350=['replace','apply','7008VSUsCg','\x20\x20\x20\x20</page-layout>\x0a','constructor','__esModule','readFileSync','mkdirSync','path','//\x20add\x20menu\x20here','dirname','writeFileSync','\x20\x20\x20\x20])\x0a','8GkSInl','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','1774560ofwgWg','utf-8','9177550Wxkmkp','/pages/','125XPJbAl','/layout.vue','2669211XvJprJ','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','toString','<template>\x0a','862LSLGSL','/apps-','existsSync','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','/vue','7230ntgwcb','4693633Damwlu','padEnd','</template>\x0a\x0a','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','</script>\x0a\x0a','/list\x22','defineProperty','cwd','(((.+)+)+)+$','379411TISkEj','string','/pages/apps/','search','indexOf','{title:\x20\x22'];a17_0x8e4a=function(){return _0x496350;};return a17_0x8e4a();}