anncic-apihelper 3.4.73 → 3.4.75

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_0x4b8b6c=a10_0x1f2f;(function(_0x37950e,_0x6d84aa){const _0x3e47f7=a10_0x1f2f,_0x4fc1eb=_0x37950e();while(!![]){try{const _0x340444=-parseInt(_0x3e47f7(0x1bf))/0x1+-parseInt(_0x3e47f7(0x1af))/0x2*(parseInt(_0x3e47f7(0x192))/0x3)+parseInt(_0x3e47f7(0x179))/0x4+parseInt(_0x3e47f7(0x186))/0x5*(-parseInt(_0x3e47f7(0x17d))/0x6)+-parseInt(_0x3e47f7(0x1a5))/0x7*(-parseInt(_0x3e47f7(0x16b))/0x8)+parseInt(_0x3e47f7(0x1a2))/0x9+parseInt(_0x3e47f7(0x1bc))/0xa;if(_0x340444===_0x6d84aa)break;else _0x4fc1eb['push'](_0x4fc1eb['shift']());}catch(_0x3d268d){_0x4fc1eb['push'](_0x4fc1eb['shift']());}}}(a10_0x2b9e,0xecbeb));const a10_0x363cbb=(function(){let _0xe02de8=!![];return function(_0x2bdd48,_0x6ea7b1){const _0x116394=_0xe02de8?function(){if(_0x6ea7b1){const _0x34c0bc=_0x6ea7b1['apply'](_0x2bdd48,arguments);return _0x6ea7b1=null,_0x34c0bc;}}:function(){};return _0xe02de8=![],_0x116394;};}()),a10_0x190ce1=a10_0x363cbb(this,function(){const _0xb246d3=a10_0x1f2f;return a10_0x190ce1[_0xb246d3(0x167)]()['search'](_0xb246d3(0x16f))[_0xb246d3(0x167)]()[_0xb246d3(0x193)](a10_0x190ce1)[_0xb246d3(0x1aa)](_0xb246d3(0x16f));});function a10_0x2b9e(){const _0x20f2c1=['../helper','21217aPPUBm','DTOUpdate\x20extends\x20OmitDto(','\x27\x20|\x20\x27','float','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','search','updated_at','mkdirSync','\x27))\x0a','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','74NXSpRO','YES','\x20*\x20数据检索验证\x0a','?:\x20number;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','\x20*\x20**/\x0a',':\x20\x27','/validators/','utf-8','?:\x20\x27','substring','_between?:\x20string[];\x0a\x0a','6817830tLnujL','\x27,\x20RuleType.number()','join','843790ZHvurN','\x27,\x20RuleType.any())\x0a','\x27;\x0a\x0a','tinyint','%SearchDtoColumn%',':\x20string;\x0a\x0a','?:\x20any\x20|\x20any[];\x0a\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x20\x20\x20\x20','\x27)))\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','replace','\x20*\x20','toLowerCase','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','json','\x20\x20\x20\x20@Rule(\x27','%DtoColumn%',':\x20number;\x0a\x0a','\x27,\x20RuleType.number())\x0a','mediumtext','double','getProp','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','boolean','text','__esModule','toString','number','}\x0a\x0a','enum','2056YJFnJX','find','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','string','(((.+)+)+)+$','Comment','\x27,\x20RuleType.string().valid(\x27','deleted_at','Enum,\x20\x27','/Update.ts','datetime','/Create.ts','DTOSearch\x20{\x0a\x0a','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','2303408afUhbP','defineProperty','\x20*\x20数据更新验证\x0a','existsSync','36VVQyXt','decimal','displayorder','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','_start?:\x20string;\x0a\x0a','\x27;\x0a','\x27,\x20RuleType.string())\x0a','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','1535360BMHZtp','Null','\x27,\x20RuleType.date()','DTOCreate\x20extends\x20OmitDto(','export\x20class\x20','import\x20{\x20','date','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','?:\x20string;\x0a\x0a','longtext','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','17091QJOogF','constructor','/**\x0a','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','indexOf','created_at','getEnum','\x27,\x20\x27','Type','.required()','/Search.ts','/enums/','writeFileSync','\x20*\x20数据添加验证\x0a','default','timestamp','16471044WuDXer','Field'];a10_0x2b9e=function(){return _0x20f2c1;};return a10_0x2b9e();}a10_0x190ce1();'use strict';function a10_0x1f2f(_0x18ba70,_0x4dc086){const _0x22d570=a10_0x2b9e();return a10_0x1f2f=function(_0x190ce1,_0x363cbb){_0x190ce1=_0x190ce1-0x14d;let _0x2b9e0a=_0x22d570[_0x190ce1];return _0x2b9e0a;},a10_0x1f2f(_0x18ba70,_0x4dc086);}Object[a10_0x4b8b6c(0x17a)](exports,a10_0x4b8b6c(0x166),{'value':!![]}),exports[a10_0x4b8b6c(0x1a0)]=default_1;const fs=require('fs'),helper_1=require(a10_0x4b8b6c(0x1a4));async function default_1({controllers:_0x2dc55c,tablestartUp:_0x4a528b,tablestartUpShort:_0x5d22c2,basedir:_0x12d5e1,Primary:_0x46ad18,Fields:_0x4723b8,Comment:_0x43446c,moduleName:_0xb8aa26,apporbasic:_0x589ab9}){const _0x52df5d=a10_0x4b8b6c,_0x1d0e30=_0x12d5e1+(_0x52df5d(0x1b7)+_0x5d22c2);!fs[_0x52df5d(0x17c)](_0x1d0e30)&&fs[_0x52df5d(0x1ac)](_0x1d0e30,{'recursive':!![]}),await DTOCreate({'controllers':_0x2dc55c,'tablestartUp':_0x4a528b,'tablestartUpShort':_0x5d22c2,'basedir':_0x12d5e1,'Fields':_0x4723b8,'Comment':_0x43446c,'moduleName':_0xb8aa26,'apporbasic':_0x589ab9}),await DTOUpdate({'controllers':_0x2dc55c,'tablestartUp':_0x4a528b,'tablestartUpShort':_0x5d22c2,'basedir':_0x12d5e1,'Fields':_0x4723b8,'Comment':_0x43446c,'moduleName':_0xb8aa26,'apporbasic':_0x589ab9}),await DTOSearch({'controllers':_0x2dc55c,'tablestartUp':_0x4a528b,'tablestartUpShort':_0x5d22c2,'basedir':_0x12d5e1,'Fields':_0x4723b8,'Primary':_0x46ad18,'Comment':_0x43446c,'moduleName':_0xb8aa26,'apporbasic':_0x589ab9});}async function DTOCreate({controllers:_0x36b007,tablestartUp:_0x24907b,tablestartUpShort:_0x23bd96,basedir:_0x1b3229,Fields:_0x1543f2,Comment:_0x21013c,moduleName:_0x1c123b,apporbasic:_0x588bc7}){const _0x5f2cf3=a10_0x4b8b6c,_0x43224f=_0x1b3229+('/validators/'+_0x23bd96+_0x5f2cf3(0x176));if(!fs['existsSync'](_0x43224f)){let _0x56a6e3='',_0x3c8685='',_0x345b0a=![];for(let _0x29d3ee in _0x1543f2){let _0x174ec5=_0x1543f2[_0x29d3ee],_0x55d0ad=(0x0,helper_1['getProp'])(_0x174ec5[_0x5f2cf3(0x19a)]);if(_0x174ec5[_0x5f2cf3(0x1a3)]==_0x5f2cf3(0x17f)||_0x174ec5[_0x5f2cf3(0x1a3)]==_0x5f2cf3(0x197)||_0x174ec5[_0x5f2cf3(0x1a3)]=='updated_at'||_0x174ec5['Field']=='deleted_at')continue;if(['text',_0x5f2cf3(0x18f),_0x5f2cf3(0x160)][_0x5f2cf3(0x196)](_0x55d0ad)!=-0x1)_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5['Comment']+'\x27,\x20RuleType.string())\x0a',_0x56a6e3+=_0x5f2cf3(0x154)+_0x174ec5['Field']+_0x5f2cf3(0x18e);else{if([_0x5f2cf3(0x1a8),_0x5f2cf3(0x161),'decimal',_0x5f2cf3(0x168)][_0x5f2cf3(0x196)](_0x55d0ad)!=-0x1)_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5['Comment']+_0x5f2cf3(0x1bd)+(_0x174ec5['Null']!='YES'?'.required()':'')+')\x0a',_0x56a6e3+='\x20\x20\x20\x20'+_0x174ec5['Field']+(_0x174ec5['Null']!=_0x5f2cf3(0x1b0)?'?':'')+_0x5f2cf3(0x15e);else{if([_0x5f2cf3(0x14f)][_0x5f2cf3(0x196)](_0x55d0ad)!=-0x1)_0x345b0a=!![],_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5[_0x5f2cf3(0x170)]+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x24907b+_0x5f2cf3(0x173)+_0x174ec5['Field']+'\x27))'+(_0x174ec5[_0x5f2cf3(0x187)]!='YES'?_0x5f2cf3(0x19b):'')+')\x0a',_0x56a6e3+='\x20\x20\x20\x20'+_0x174ec5[_0x5f2cf3(0x1a3)]+(_0x174ec5[_0x5f2cf3(0x187)]!='YES'?'?':'')+_0x5f2cf3(0x15e);else{if(_0x55d0ad==_0x5f2cf3(0x15b))_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5['Comment']+'\x27,\x20RuleType.any())\x0a',_0x56a6e3+=_0x5f2cf3(0x154)+_0x174ec5[_0x5f2cf3(0x1a3)]+(_0x174ec5[_0x5f2cf3(0x187)]!=_0x5f2cf3(0x1b0)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x55d0ad==_0x5f2cf3(0x16a)){let _0x5cc05b=(0x0,helper_1['getEnum'])(_0x174ec5[_0x5f2cf3(0x19a)]);_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5[_0x5f2cf3(0x170)]+_0x5f2cf3(0x171)+_0x5cc05b['join'](_0x5f2cf3(0x199))+'\x27)'+(_0x174ec5[_0x5f2cf3(0x187)]!='YES'?'.required()':'')+')\x0a',_0x56a6e3+='\x20\x20\x20\x20'+_0x174ec5[_0x5f2cf3(0x1a3)]+(_0x174ec5[_0x5f2cf3(0x187)]!=_0x5f2cf3(0x1b0)?'?':'')+_0x5f2cf3(0x1b6)+_0x5cc05b['join'](_0x5f2cf3(0x1a7))+_0x5f2cf3(0x14e);}else[_0x5f2cf3(0x18c),_0x5f2cf3(0x175),_0x5f2cf3(0x1a1)][_0x5f2cf3(0x196)](_0x55d0ad)>-0x1?(_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5['Comment']+_0x5f2cf3(0x188)+(_0x174ec5[_0x5f2cf3(0x187)]!=_0x5f2cf3(0x1b0)?'.required()':'')+')\x0a',_0x56a6e3+=_0x5f2cf3(0x154)+_0x174ec5['Field']+(_0x174ec5[_0x5f2cf3(0x187)]!=_0x5f2cf3(0x1b0)?'?':'')+':\x20string;\x0a\x0a'):(_0x56a6e3+=_0x5f2cf3(0x15c)+_0x174ec5['Comment']+'\x27,\x20RuleType.string()'+(_0x174ec5['Null']!=_0x5f2cf3(0x1b0)?_0x5f2cf3(0x19b):'')+')\x0a',_0x56a6e3+=_0x5f2cf3(0x154)+_0x174ec5['Field']+(_0x174ec5[_0x5f2cf3(0x187)]!=_0x5f2cf3(0x1b0)?'?':'')+_0x5f2cf3(0x151));}}}}}_0x56a6e3+=_0x5f2cf3(0x1b4),_0x56a6e3+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x36b007===null||_0x36b007===void 0x0?void 0x0:_0x36b007[_0x5f2cf3(0x16c)](_0x52614e=>typeof _0x52614e!=_0x5f2cf3(0x164)))?_0x3c8685+=_0x5f2cf3(0x153):_0x3c8685+=_0x5f2cf3(0x1ae);_0x345b0a&&(_0x3c8685+=_0x5f2cf3(0x18b)+_0x24907b+'Enum\x20}\x20from\x20\x27'+(typeof _0x1c123b=='string'?'@/apps/'+_0x1c123b:'@/'+_0x588bc7)+'/enums/'+_0x23bd96+_0x5f2cf3(0x182));_0x3c8685+='\x0a',_0x3c8685+='/**\x0a',_0x3c8685+=_0x5f2cf3(0x158)+_0x21013c+'\x0a',_0x3c8685+=_0x5f2cf3(0x19f),_0x3c8685+=_0x5f2cf3(0x1b5),_0x3c8685+=_0x5f2cf3(0x18a)+_0x24907b+'DTOCreate\x20{\x0a\x0a',_0x3c8685+=_0x5f2cf3(0x15d),_0x3c8685+='}\x0a\x0a';for(const _0xdce0ef of _0x36b007){typeof _0xdce0ef==_0x5f2cf3(0x16e)&&(_0x3c8685+='export\x20class\x20'+_0xdce0ef[_0x5f2cf3(0x1ba)](0x0,0x1)['toUpperCase']()+_0xdce0ef[_0x5f2cf3(0x1ba)](0x1)[_0x5f2cf3(0x159)]()+_0x24907b+_0x5f2cf3(0x189)+_0x24907b+_0x5f2cf3(0x18d),_0x3c8685+=_0x5f2cf3(0x169));}_0x3c8685=_0x3c8685[_0x5f2cf3(0x157)](_0x5f2cf3(0x15d),_0x56a6e3),fs[_0x5f2cf3(0x19e)](_0x43224f,_0x3c8685,_0x5f2cf3(0x1b8));}}async function DTOUpdate({controllers:_0x560eb7,tablestartUp:_0x15f1a8,tablestartUpShort:_0x5d45ff,basedir:_0x16a8ac,Fields:_0x4ce65a,Comment:_0xfac270,moduleName:_0xf4c8d3,apporbasic:_0x1dfb3c}){const _0x257318=a10_0x4b8b6c,_0x33f1f5=_0x16a8ac+(_0x257318(0x1b7)+_0x5d45ff+_0x257318(0x174));if(!fs['existsSync'](_0x33f1f5)){let _0xd78bb2='',_0x1faaa7='',_0x37b855=![];for(let _0x1c40a2 in _0x4ce65a){let _0x487b1d=_0x4ce65a[_0x1c40a2],_0x159975=(0x0,helper_1[_0x257318(0x162)])(_0x487b1d[_0x257318(0x19a)]);if(_0x487b1d['Field']=='displayorder'||_0x487b1d['Field']==_0x257318(0x197)||_0x487b1d['Field']==_0x257318(0x1ab)||_0x487b1d[_0x257318(0x1a3)]==_0x257318(0x172))continue;if([_0x257318(0x165),'longtext',_0x257318(0x160)][_0x257318(0x196)](_0x159975)!=-0x1)_0xd78bb2+=_0x257318(0x15c)+_0x487b1d[_0x257318(0x170)]+_0x257318(0x183),_0xd78bb2+='\x20\x20\x20\x20'+_0x487b1d[_0x257318(0x1a3)]+'?:\x20string;\x0a\x0a';else{if([_0x257318(0x1a8),'double',_0x257318(0x17e),_0x257318(0x168)][_0x257318(0x196)](_0x159975)!=-0x1)_0xd78bb2+='\x20\x20\x20\x20@Rule(\x27'+_0x487b1d[_0x257318(0x170)]+_0x257318(0x15f),_0xd78bb2+=_0x257318(0x154)+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x1b2);else{if([_0x257318(0x14f)][_0x257318(0x196)](_0x159975)!=-0x1)_0x37b855=!![],_0xd78bb2+=_0x257318(0x15c)+_0x487b1d[_0x257318(0x170)]+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x15f1a8+_0x257318(0x173)+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x155),_0xd78bb2+=_0x257318(0x154)+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x1b2);else{if(_0x159975==_0x257318(0x15b))_0xd78bb2+=_0x257318(0x15c)+_0x487b1d[_0x257318(0x170)]+_0x257318(0x14d),_0xd78bb2+=_0x257318(0x154)+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x152);else{if(_0x159975==_0x257318(0x16a)){let _0x39d117=(0x0,helper_1[_0x257318(0x198)])(_0x487b1d['Type']);_0xd78bb2+=_0x257318(0x15c)+_0x487b1d[_0x257318(0x170)]+_0x257318(0x171)+_0x39d117[_0x257318(0x1be)]('\x27,\x20\x27')+'\x27))\x0a',_0xd78bb2+=_0x257318(0x154)+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x1b9)+_0x39d117[_0x257318(0x1be)](_0x257318(0x1a7))+_0x257318(0x14e);}else['date','datetime','timestamp']['indexOf'](_0x159975)>-0x1?(_0xd78bb2+=_0x257318(0x15c)+_0x487b1d[_0x257318(0x170)]+'\x27,\x20RuleType.date())\x0a',_0xd78bb2+=_0x257318(0x154)+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x18e)):(_0xd78bb2+=_0x257318(0x15c)+_0x487b1d['Comment']+'\x27,\x20RuleType.string())\x0a',_0xd78bb2+='\x20\x20\x20\x20'+_0x487b1d[_0x257318(0x1a3)]+_0x257318(0x18e));}}}}}_0xd78bb2+=_0x257318(0x1b4),_0xd78bb2+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x560eb7===null||_0x560eb7===void 0x0?void 0x0:_0x560eb7[_0x257318(0x16c)](_0x5eae33=>typeof _0x5eae33!=_0x257318(0x164)))?_0x1faaa7+=_0x257318(0x153):_0x1faaa7+=_0x257318(0x1ae);_0x37b855&&(_0x1faaa7+=_0x257318(0x18b)+_0x15f1a8+'Enum\x20}\x20from\x20\x27'+(typeof _0xf4c8d3==_0x257318(0x16e)?'@/apps/'+_0xf4c8d3:'@/'+_0x1dfb3c)+'/enums/'+_0x5d45ff+_0x257318(0x182));_0x1faaa7+='\x0a',_0x1faaa7+=_0x257318(0x194),_0x1faaa7+=_0x257318(0x158)+_0xfac270+'\x0a',_0x1faaa7+=_0x257318(0x17b),_0x1faaa7+=_0x257318(0x1b5),_0x1faaa7+=_0x257318(0x18a)+_0x15f1a8+'DTOUpdate\x20{\x0a\x0a',_0x1faaa7+=_0x257318(0x15d),_0x1faaa7+=_0x257318(0x169);for(const _0x4f1b85 of _0x560eb7){typeof _0x4f1b85==_0x257318(0x16e)&&(_0x1faaa7+=_0x257318(0x18a)+_0x4f1b85[_0x257318(0x1ba)](0x0,0x1)['toUpperCase']()+_0x4f1b85[_0x257318(0x1ba)](0x1)[_0x257318(0x159)]()+_0x15f1a8+_0x257318(0x1a6)+_0x15f1a8+_0x257318(0x195),_0x1faaa7+='}\x0a\x0a');}_0x1faaa7=_0x1faaa7[_0x257318(0x157)](_0x257318(0x15d),_0xd78bb2),fs[_0x257318(0x19e)](_0x33f1f5,_0x1faaa7,'utf-8');}}async function DTOSearch({controllers:_0x4b7002,tablestartUp:_0x104518,tablestartUpShort:_0x16ff46,basedir:_0x4d6b83,Fields:_0x2a23b4,Primary:_0xbecf2f,Comment:_0x154265,moduleName:_0x24e8a6,apporbasic:_0xc54c57}){const _0x47ad5a=a10_0x4b8b6c,_0x47ab79=_0x4d6b83+(_0x47ad5a(0x1b7)+_0x16ff46+_0x47ad5a(0x19c));if(!fs[_0x47ad5a(0x17c)](_0x47ab79)){let _0x8318f3='',_0x503bb4='',_0x434e66=![];for(let _0x464620 of[{[_0xbecf2f[_0x47ad5a(0x1a3)]]:_0xbecf2f},_0x2a23b4]){for(let _0x3e5621 in _0x464620){let _0x23509c=_0x464620[_0x3e5621],_0x42238b=(0x0,helper_1['getProp'])(_0x23509c['Type']);if(_0x23509c[_0x47ad5a(0x1a3)]==_0x47ad5a(0x17f)||_0x23509c[_0x47ad5a(0x1a3)]==_0x47ad5a(0x197)||_0x23509c[_0x47ad5a(0x1a3)]==_0x47ad5a(0x1ab)||_0x23509c['Field']=='deleted_at')continue;if([_0x47ad5a(0x165),_0x47ad5a(0x18f),_0x47ad5a(0x160)][_0x47ad5a(0x196)](_0x42238b)!=-0x1){}else{if([_0x47ad5a(0x1a8),_0x47ad5a(0x161),_0x47ad5a(0x17e),'number'][_0x47ad5a(0x196)](_0x42238b)!=-0x1)_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c[_0x47ad5a(0x170)]+_0x47ad5a(0x15f),_0x8318f3+=_0x47ad5a(0x154)+_0x23509c[_0x47ad5a(0x1a3)]+_0x47ad5a(0x1b2);else{if(['tinyint'][_0x47ad5a(0x196)](_0x42238b)!=-0x1)_0x434e66=!![],_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c[_0x47ad5a(0x170)]+_0x47ad5a(0x180)+_0x104518+_0x47ad5a(0x173)+_0x23509c[_0x47ad5a(0x1a3)]+_0x47ad5a(0x155),_0x8318f3+='\x20\x20\x20\x20'+_0x23509c[_0x47ad5a(0x1a3)]+'?:\x20number;\x0a\x0a';else{if(_0x42238b=='json'){}else{if(_0x42238b==_0x47ad5a(0x16a)){let _0x2a5c7c=(0x0,helper_1['getEnum'])(_0x23509c['Type']);_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c[_0x47ad5a(0x170)]+'\x27,\x20RuleType.string().valid(\x27'+_0x2a5c7c[_0x47ad5a(0x1be)](_0x47ad5a(0x199))+_0x47ad5a(0x1ad),_0x8318f3+=_0x47ad5a(0x154)+_0x23509c[_0x47ad5a(0x1a3)]+'?:\x20\x27'+_0x2a5c7c[_0x47ad5a(0x1be)]('\x27\x20|\x20\x27')+'\x27;\x0a\x0a';}else['date',_0x47ad5a(0x175),_0x47ad5a(0x1a1)][_0x47ad5a(0x196)](_0x42238b)>-0x1?(_0x8318f3+='\x20\x20\x20\x20@Rule(\x27'+_0x23509c['Comment']+_0x47ad5a(0x183),_0x8318f3+='\x20\x20\x20\x20'+_0x23509c[_0x47ad5a(0x1a3)]+_0x47ad5a(0x18e),_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c['Comment']+_0x47ad5a(0x185),_0x8318f3+=_0x47ad5a(0x154)+_0x23509c[_0x47ad5a(0x1a3)]+_0x47ad5a(0x1bb),_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c[_0x47ad5a(0x170)]+_0x47ad5a(0x16d),_0x8318f3+=_0x47ad5a(0x154)+_0x23509c[_0x47ad5a(0x1a3)]+_0x47ad5a(0x181),_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c[_0x47ad5a(0x170)]+'\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x8318f3+=_0x47ad5a(0x154)+_0x23509c[_0x47ad5a(0x1a3)]+'_end?:\x20string;\x0a\x0a'):(_0x8318f3+=_0x47ad5a(0x15c)+_0x23509c[_0x47ad5a(0x170)]+_0x47ad5a(0x183),_0x8318f3+=_0x47ad5a(0x154)+_0x23509c[_0x47ad5a(0x1a3)]+_0x47ad5a(0x18e));}}}}}}_0x8318f3+=_0x47ad5a(0x1b4),_0x8318f3+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a',_0x8318f3+=_0x47ad5a(0x156),_0x8318f3+=_0x47ad5a(0x1a9),_0x8318f3+=_0x47ad5a(0x15a),_0x8318f3+=_0x47ad5a(0x184),_0x8318f3+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x8318f3+=_0x47ad5a(0x178),_0x8318f3+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x8318f3+=_0x47ad5a(0x191),_0x8318f3+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x8318f3+='\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a',_0x8318f3+=_0x47ad5a(0x1b3),_0x8318f3+=_0x47ad5a(0x190);(_0x4b7002===null||_0x4b7002===void 0x0?void 0x0:_0x4b7002['find'](_0xa6fbb8=>typeof _0xa6fbb8!=_0x47ad5a(0x164)))?_0x503bb4+=_0x47ad5a(0x153):_0x503bb4+=_0x47ad5a(0x1ae);_0x434e66&&(_0x503bb4+='import\x20{\x20'+_0x104518+'Enum\x20}\x20from\x20\x27'+(typeof _0x24e8a6==_0x47ad5a(0x16e)?'@/apps/'+_0x24e8a6:'@/'+_0xc54c57)+_0x47ad5a(0x19d)+_0x16ff46+_0x47ad5a(0x182));_0x503bb4+='\x0a',_0x503bb4+=_0x47ad5a(0x194),_0x503bb4+='\x20*\x20'+_0x154265+'\x0a',_0x503bb4+=_0x47ad5a(0x1b1),_0x503bb4+='\x20*\x20**/\x0a',_0x503bb4+='export\x20class\x20'+_0x104518+_0x47ad5a(0x177),_0x503bb4+=_0x47ad5a(0x150),_0x503bb4+=_0x47ad5a(0x169);for(const _0x2e32ab of _0x4b7002){typeof _0x2e32ab=='string'&&(_0x503bb4+=_0x47ad5a(0x18a)+_0x2e32ab[_0x47ad5a(0x1ba)](0x0,0x1)['toUpperCase']()+_0x2e32ab['substring'](0x1)['toLowerCase']()+_0x104518+'DTOSearch\x20extends\x20OmitDto('+_0x104518+_0x47ad5a(0x163),_0x503bb4+='}\x0a\x0a');}_0x503bb4=_0x503bb4[_0x47ad5a(0x157)](_0x47ad5a(0x150),_0x8318f3),fs['writeFileSync'](_0x47ab79,_0x503bb4,'utf-8');}}
1
+ const a10_0x3576f5=a10_0x46bf;(function(_0x51fb45,_0x115725){const _0x47ca76=a10_0x46bf,_0x52ec20=_0x51fb45();while(!![]){try{const _0x598cd4=-parseInt(_0x47ca76(0x1c0))/0x1*(parseInt(_0x47ca76(0x17b))/0x2)+-parseInt(_0x47ca76(0x16b))/0x3+parseInt(_0x47ca76(0x18e))/0x4*(-parseInt(_0x47ca76(0x176))/0x5)+parseInt(_0x47ca76(0x188))/0x6*(-parseInt(_0x47ca76(0x19c))/0x7)+parseInt(_0x47ca76(0x1ca))/0x8+parseInt(_0x47ca76(0x185))/0x9*(parseInt(_0x47ca76(0x1c6))/0xa)+parseInt(_0x47ca76(0x16a))/0xb;if(_0x598cd4===_0x115725)break;else _0x52ec20['push'](_0x52ec20['shift']());}catch(_0x107327){_0x52ec20['push'](_0x52ec20['shift']());}}}(a10_0x1910,0xc37f6));const a10_0xa9e35b=(function(){let _0x3b1762=!![];return function(_0x9a7877,_0x2beb05){const _0x4e39c4=_0x3b1762?function(){const _0x4a44ee=a10_0x46bf;if(_0x2beb05){const _0x10a4bb=_0x2beb05[_0x4a44ee(0x196)](_0x9a7877,arguments);return _0x2beb05=null,_0x10a4bb;}}:function(){};return _0x3b1762=![],_0x4e39c4;};}()),a10_0x2f0be5=a10_0xa9e35b(this,function(){const _0x251b6d=a10_0x46bf;return a10_0x2f0be5[_0x251b6d(0x1bd)]()[_0x251b6d(0x1c3)](_0x251b6d(0x193))[_0x251b6d(0x1bd)]()['constructor'](a10_0x2f0be5)[_0x251b6d(0x1c3)](_0x251b6d(0x193));});a10_0x2f0be5();'use strict';Object[a10_0x3576f5(0x1b1)](exports,a10_0x3576f5(0x18c),{'value':!![]}),exports[a10_0x3576f5(0x1b0)]=default_1;function a10_0x46bf(_0x52f966,_0x41d329){const _0xb62e2a=a10_0x1910();return a10_0x46bf=function(_0x2f0be5,_0xa9e35b){_0x2f0be5=_0x2f0be5-0x15e;let _0x1910e0=_0xb62e2a[_0x2f0be5];return _0x1910e0;},a10_0x46bf(_0x52f966,_0x41d329);}function a10_0x1910(){const _0x3b2a65=['apply','float','double','.required()','longtext','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','7DoTCPw',':\x20number;\x0a\x0a','?:\x20string;\x0a\x0a','\x27,\x20RuleType.number())\x0a',':\x20string;\x0a\x0a','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','export\x20class\x20','\x20\x20\x20\x20','\x27))\x0a','\x27))','substring','getEnum','/Create.ts','created_at','YES','join','boolean','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','\x27)))\x0a','string','default','defineProperty','\x20*\x20数据添加验证\x0a','Enum,\x20\x27','deleted_at','toLowerCase','}\x0a\x0a','utf-8','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x20*\x20','\x27,\x20RuleType.string()','_between?:\x20string[];\x0a\x0a','\x20\x20\x20\x20@Rule(\x27','toString','@/apps/','DTOCreate\x20extends\x20OmitDto(','21UnrqBX','?:\x20\x27','Field','search','replace','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','119440mdbylu','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x27,\x20RuleType.string())\x0a','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','1670536WeeSLF','DTOUpdate\x20extends\x20OmitDto(','\x27,\x20RuleType.string().valid(\x27','_start?:\x20string;\x0a\x0a','tinyint','datetime','\x27,\x20RuleType.date())\x0a','\x20*\x20**/\x0a','\x27,\x20\x27','Comment','?:\x20number;\x0a\x0a','mediumtext','toUpperCase','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','32291413KREgrd','226614TGFdCr','writeFileSync','decimal','\x27;\x0a','%DtoColumn%','json','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','\x27;\x0a\x0a','Enum\x20}\x20from\x20\x27','/validators/','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','95sjdhEO','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','/Update.ts','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','/enums/','88238ZNmryN','\x27\x20|\x20\x27','timestamp','existsSync','import\x20{\x20','text','enum','/**\x0a','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','displayorder','162XnShMu','updated_at','indexOf','3998226ruWLDc','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x20*\x20数据检索验证\x0a','Null','__esModule','DTOCreate\x20{\x0a\x0a','187416bmBUsY','getProp','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','number','\x27,\x20RuleType.any())\x0a','(((.+)+)+)+$','Type','date'];a10_0x1910=function(){return _0x3b2a65;};return a10_0x1910();}const fs=require('fs'),helper_1=require('../helper');async function default_1({controllers:_0x248293,tablestartUp:_0x27d539,tablestartUpShort:_0x110f19,basedir:_0x34e9d6,Primary:_0xd4e6af,Fields:_0xf80712,Comment:_0x5a8860,moduleName:_0x6afd6c,apporbasic:_0x5682b7}){const _0x52a339=a10_0x3576f5,_0xea247=_0x34e9d6+(_0x52a339(0x174)+_0x110f19);!fs[_0x52a339(0x17e)](_0xea247)&&fs['mkdirSync'](_0xea247,{'recursive':!![]}),await DTOCreate({'controllers':_0x248293,'tablestartUp':_0x27d539,'tablestartUpShort':_0x110f19,'basedir':_0x34e9d6,'Fields':_0xf80712,'Comment':_0x5a8860,'moduleName':_0x6afd6c,'apporbasic':_0x5682b7}),await DTOUpdate({'controllers':_0x248293,'tablestartUp':_0x27d539,'tablestartUpShort':_0x110f19,'basedir':_0x34e9d6,'Fields':_0xf80712,'Comment':_0x5a8860,'moduleName':_0x6afd6c,'apporbasic':_0x5682b7}),await DTOSearch({'controllers':_0x248293,'tablestartUp':_0x27d539,'tablestartUpShort':_0x110f19,'basedir':_0x34e9d6,'Fields':_0xf80712,'Primary':_0xd4e6af,'Comment':_0x5a8860,'moduleName':_0x6afd6c,'apporbasic':_0x5682b7});}async function DTOCreate({controllers:_0x59effd,tablestartUp:_0x265dbc,tablestartUpShort:_0x17d5c8,basedir:_0x350cf8,Fields:_0x142e1e,Comment:_0x5de5a6,moduleName:_0x209cda,apporbasic:_0x1fa718}){const _0x6b5d5d=a10_0x3576f5,_0x5cb54d=_0x350cf8+('/validators/'+_0x17d5c8+_0x6b5d5d(0x1a8));if(!fs[_0x6b5d5d(0x17e)](_0x5cb54d)){let _0x1b0d18='',_0x1a8eed='',_0xf3b3b7=![];for(let _0x321f17 in _0x142e1e){let _0x128b34=_0x142e1e[_0x321f17],_0x36317f=(0x0,helper_1[_0x6b5d5d(0x18f)])(_0x128b34[_0x6b5d5d(0x194)]);if(_0x128b34['Field']==_0x6b5d5d(0x184)||_0x128b34[_0x6b5d5d(0x1c2)]==_0x6b5d5d(0x1a9)||_0x128b34[_0x6b5d5d(0x1c2)]==_0x6b5d5d(0x186)||_0x128b34[_0x6b5d5d(0x1c2)]=='deleted_at')continue;if(['text',_0x6b5d5d(0x19a),'mediumtext']['indexOf'](_0x36317f)!=-0x1)_0x1b0d18+=_0x6b5d5d(0x1bc)+_0x128b34[_0x6b5d5d(0x165)]+_0x6b5d5d(0x1c8),_0x1b0d18+=_0x6b5d5d(0x1a3)+_0x128b34['Field']+'?:\x20string;\x0a\x0a';else{if(['float',_0x6b5d5d(0x198),_0x6b5d5d(0x16d),_0x6b5d5d(0x191)][_0x6b5d5d(0x187)](_0x36317f)!=-0x1)_0x1b0d18+='\x20\x20\x20\x20@Rule(\x27'+_0x128b34[_0x6b5d5d(0x165)]+'\x27,\x20RuleType.number()'+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?'.required()':'')+')\x0a',_0x1b0d18+=_0x6b5d5d(0x1a3)+_0x128b34[_0x6b5d5d(0x1c2)]+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?'?':'')+_0x6b5d5d(0x19d);else{if([_0x6b5d5d(0x160)][_0x6b5d5d(0x187)](_0x36317f)!=-0x1)_0xf3b3b7=!![],_0x1b0d18+=_0x6b5d5d(0x1bc)+_0x128b34[_0x6b5d5d(0x165)]+_0x6b5d5d(0x19b)+_0x265dbc+_0x6b5d5d(0x1b3)+_0x128b34['Field']+_0x6b5d5d(0x1a5)+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?_0x6b5d5d(0x199):'')+')\x0a',_0x1b0d18+=_0x6b5d5d(0x1a3)+_0x128b34[_0x6b5d5d(0x1c2)]+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?'?':'')+_0x6b5d5d(0x19d);else{if(_0x36317f==_0x6b5d5d(0x170))_0x1b0d18+='\x20\x20\x20\x20@Rule(\x27'+_0x128b34[_0x6b5d5d(0x165)]+_0x6b5d5d(0x192),_0x1b0d18+=_0x6b5d5d(0x1a3)+_0x128b34[_0x6b5d5d(0x1c2)]+(_0x128b34['Null']!=_0x6b5d5d(0x1aa)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x36317f=='enum'){let _0x488001=(0x0,helper_1[_0x6b5d5d(0x1a7)])(_0x128b34[_0x6b5d5d(0x194)]);_0x1b0d18+=_0x6b5d5d(0x1bc)+_0x128b34[_0x6b5d5d(0x165)]+_0x6b5d5d(0x15e)+_0x488001[_0x6b5d5d(0x1ab)]('\x27,\x20\x27')+'\x27)'+(_0x128b34[_0x6b5d5d(0x18b)]!='YES'?_0x6b5d5d(0x199):'')+')\x0a',_0x1b0d18+=_0x6b5d5d(0x1a3)+_0x128b34[_0x6b5d5d(0x1c2)]+(_0x128b34['Null']!=_0x6b5d5d(0x1aa)?'?':'')+':\x20\x27'+_0x488001[_0x6b5d5d(0x1ab)](_0x6b5d5d(0x17c))+_0x6b5d5d(0x172);}else['date','datetime',_0x6b5d5d(0x17d)]['indexOf'](_0x36317f)>-0x1?(_0x1b0d18+=_0x6b5d5d(0x1bc)+_0x128b34[_0x6b5d5d(0x165)]+'\x27,\x20RuleType.date()'+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?_0x6b5d5d(0x199):'')+')\x0a',_0x1b0d18+='\x20\x20\x20\x20'+_0x128b34[_0x6b5d5d(0x1c2)]+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?'?':'')+_0x6b5d5d(0x1a0)):(_0x1b0d18+='\x20\x20\x20\x20@Rule(\x27'+_0x128b34[_0x6b5d5d(0x165)]+_0x6b5d5d(0x1ba)+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?'.required()':'')+')\x0a',_0x1b0d18+=_0x6b5d5d(0x1a3)+_0x128b34[_0x6b5d5d(0x1c2)]+(_0x128b34[_0x6b5d5d(0x18b)]!=_0x6b5d5d(0x1aa)?'?':'')+_0x6b5d5d(0x1a0));}}}}}_0x1b0d18+=_0x6b5d5d(0x183),_0x1b0d18+=_0x6b5d5d(0x175);(_0x59effd===null||_0x59effd===void 0x0?void 0x0:_0x59effd['find'](_0x2984d4=>typeof _0x2984d4!=_0x6b5d5d(0x1ac)))?_0x1a8eed+=_0x6b5d5d(0x1b8):_0x1a8eed+=_0x6b5d5d(0x1c7);_0xf3b3b7&&(_0x1a8eed+=_0x6b5d5d(0x17f)+_0x265dbc+_0x6b5d5d(0x173)+(typeof _0x209cda==_0x6b5d5d(0x1af)?_0x6b5d5d(0x1be)+_0x209cda:'@/'+_0x1fa718)+_0x6b5d5d(0x17a)+_0x17d5c8+_0x6b5d5d(0x16e));_0x1a8eed+='\x0a',_0x1a8eed+=_0x6b5d5d(0x182),_0x1a8eed+=_0x6b5d5d(0x1b9)+_0x5de5a6+'\x0a',_0x1a8eed+=_0x6b5d5d(0x1b2),_0x1a8eed+='\x20*\x20**/\x0a',_0x1a8eed+=_0x6b5d5d(0x1a2)+_0x265dbc+_0x6b5d5d(0x18d),_0x1a8eed+=_0x6b5d5d(0x16f),_0x1a8eed+=_0x6b5d5d(0x1b6);for(const _0x1667db of _0x59effd){typeof _0x1667db=='string'&&(_0x1a8eed+=_0x6b5d5d(0x1a2)+_0x1667db[_0x6b5d5d(0x1a6)](0x0,0x1)[_0x6b5d5d(0x168)]()+_0x1667db['substring'](0x1)[_0x6b5d5d(0x1b5)]()+_0x265dbc+_0x6b5d5d(0x1bf)+_0x265dbc+_0x6b5d5d(0x1c9),_0x1a8eed+=_0x6b5d5d(0x1b6));}_0x1a8eed=_0x1a8eed[_0x6b5d5d(0x1c4)](_0x6b5d5d(0x16f),_0x1b0d18),fs[_0x6b5d5d(0x16c)](_0x5cb54d,_0x1a8eed,_0x6b5d5d(0x1b7));}}async function DTOUpdate({controllers:_0x3fb301,tablestartUp:_0x1721b6,tablestartUpShort:_0x3e0a50,basedir:_0x3f4b28,Fields:_0x2b1bdb,Comment:_0x5773ce,moduleName:_0x2f9b9b,apporbasic:_0x30706d}){const _0xa5ffad=a10_0x3576f5,_0x574bf7=_0x3f4b28+(_0xa5ffad(0x174)+_0x3e0a50+_0xa5ffad(0x178));if(!fs[_0xa5ffad(0x17e)](_0x574bf7)){let _0x5a34f0='',_0x43f9c5='',_0x825f21=![];for(let _0x37ca8a in _0x2b1bdb){let _0x307871=_0x2b1bdb[_0x37ca8a],_0x11da29=(0x0,helper_1[_0xa5ffad(0x18f)])(_0x307871['Type']);if(_0x307871[_0xa5ffad(0x1c2)]==_0xa5ffad(0x184)||_0x307871[_0xa5ffad(0x1c2)]==_0xa5ffad(0x1a9)||_0x307871[_0xa5ffad(0x1c2)]==_0xa5ffad(0x186)||_0x307871['Field']==_0xa5ffad(0x1b4))continue;if([_0xa5ffad(0x180),_0xa5ffad(0x19a),_0xa5ffad(0x167)][_0xa5ffad(0x187)](_0x11da29)!=-0x1)_0x5a34f0+=_0xa5ffad(0x1bc)+_0x307871[_0xa5ffad(0x165)]+_0xa5ffad(0x1c8),_0x5a34f0+='\x20\x20\x20\x20'+_0x307871[_0xa5ffad(0x1c2)]+_0xa5ffad(0x19e);else{if([_0xa5ffad(0x197),_0xa5ffad(0x198),_0xa5ffad(0x16d),'number'][_0xa5ffad(0x187)](_0x11da29)!=-0x1)_0x5a34f0+='\x20\x20\x20\x20@Rule(\x27'+_0x307871[_0xa5ffad(0x165)]+_0xa5ffad(0x19f),_0x5a34f0+=_0xa5ffad(0x1a3)+_0x307871[_0xa5ffad(0x1c2)]+'?:\x20number;\x0a\x0a';else{if(['tinyint']['indexOf'](_0x11da29)!=-0x1)_0x825f21=!![],_0x5a34f0+=_0xa5ffad(0x1bc)+_0x307871[_0xa5ffad(0x165)]+_0xa5ffad(0x19b)+_0x1721b6+'Enum,\x20\x27'+_0x307871['Field']+_0xa5ffad(0x1ae),_0x5a34f0+='\x20\x20\x20\x20'+_0x307871[_0xa5ffad(0x1c2)]+_0xa5ffad(0x166);else{if(_0x11da29==_0xa5ffad(0x170))_0x5a34f0+=_0xa5ffad(0x1bc)+_0x307871[_0xa5ffad(0x165)]+_0xa5ffad(0x192),_0x5a34f0+=_0xa5ffad(0x1a3)+_0x307871[_0xa5ffad(0x1c2)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x11da29==_0xa5ffad(0x181)){let _0x2b0f32=(0x0,helper_1['getEnum'])(_0x307871[_0xa5ffad(0x194)]);_0x5a34f0+='\x20\x20\x20\x20@Rule(\x27'+_0x307871['Comment']+_0xa5ffad(0x15e)+_0x2b0f32['join'](_0xa5ffad(0x164))+_0xa5ffad(0x1a4),_0x5a34f0+=_0xa5ffad(0x1a3)+_0x307871[_0xa5ffad(0x1c2)]+_0xa5ffad(0x1c1)+_0x2b0f32[_0xa5ffad(0x1ab)]('\x27\x20|\x20\x27')+_0xa5ffad(0x172);}else[_0xa5ffad(0x195),_0xa5ffad(0x161),_0xa5ffad(0x17d)][_0xa5ffad(0x187)](_0x11da29)>-0x1?(_0x5a34f0+='\x20\x20\x20\x20@Rule(\x27'+_0x307871['Comment']+_0xa5ffad(0x162),_0x5a34f0+='\x20\x20\x20\x20'+_0x307871[_0xa5ffad(0x1c2)]+_0xa5ffad(0x19e)):(_0x5a34f0+=_0xa5ffad(0x1bc)+_0x307871['Comment']+_0xa5ffad(0x1c8),_0x5a34f0+=_0xa5ffad(0x1a3)+_0x307871['Field']+_0xa5ffad(0x19e));}}}}}_0x5a34f0+=_0xa5ffad(0x183),_0x5a34f0+=_0xa5ffad(0x175);(_0x3fb301===null||_0x3fb301===void 0x0?void 0x0:_0x3fb301['find'](_0x8fb510=>typeof _0x8fb510!=_0xa5ffad(0x1ac)))?_0x43f9c5+=_0xa5ffad(0x1b8):_0x43f9c5+=_0xa5ffad(0x1c7);_0x825f21&&(_0x43f9c5+=_0xa5ffad(0x17f)+_0x1721b6+'Enum\x20}\x20from\x20\x27'+(typeof _0x2f9b9b==_0xa5ffad(0x1af)?_0xa5ffad(0x1be)+_0x2f9b9b:'@/'+_0x30706d)+'/enums/'+_0x3e0a50+_0xa5ffad(0x16e));_0x43f9c5+='\x0a',_0x43f9c5+='/**\x0a',_0x43f9c5+=_0xa5ffad(0x1b9)+_0x5773ce+'\x0a',_0x43f9c5+='\x20*\x20数据更新验证\x0a',_0x43f9c5+=_0xa5ffad(0x163),_0x43f9c5+=_0xa5ffad(0x1a2)+_0x1721b6+'DTOUpdate\x20{\x0a\x0a',_0x43f9c5+=_0xa5ffad(0x16f),_0x43f9c5+='}\x0a\x0a';for(const _0x467a49 of _0x3fb301){typeof _0x467a49==_0xa5ffad(0x1af)&&(_0x43f9c5+=_0xa5ffad(0x1a2)+_0x467a49[_0xa5ffad(0x1a6)](0x0,0x1)[_0xa5ffad(0x168)]()+_0x467a49['substring'](0x1)[_0xa5ffad(0x1b5)]()+_0x1721b6+_0xa5ffad(0x1cb)+_0x1721b6+_0xa5ffad(0x177),_0x43f9c5+=_0xa5ffad(0x1b6));}_0x43f9c5=_0x43f9c5[_0xa5ffad(0x1c4)]('%DtoColumn%',_0x5a34f0),fs[_0xa5ffad(0x16c)](_0x574bf7,_0x43f9c5,_0xa5ffad(0x1b7));}}async function DTOSearch({controllers:_0x3f27e9,tablestartUp:_0x504494,tablestartUpShort:_0x1996e6,basedir:_0x2b63a5,Fields:_0x3789ed,Primary:_0x1e7132,Comment:_0x452c2a,moduleName:_0x5a0c7e,apporbasic:_0x584516}){const _0xf5fd20=a10_0x3576f5,_0x14a735=_0x2b63a5+(_0xf5fd20(0x174)+_0x1996e6+'/Search.ts');if(!fs[_0xf5fd20(0x17e)](_0x14a735)){let _0x15e94d='',_0x79e107='',_0x449458=![];for(let _0x5585fa of[{[_0x1e7132['Field']]:_0x1e7132},_0x3789ed]){for(let _0x334e45 in _0x5585fa){let _0x4391d9=_0x5585fa[_0x334e45],_0x1bed4f=(0x0,helper_1[_0xf5fd20(0x18f)])(_0x4391d9['Type']);if(_0x4391d9[_0xf5fd20(0x1c2)]==_0xf5fd20(0x184)||_0x4391d9[_0xf5fd20(0x1c2)]==_0xf5fd20(0x1a9)||_0x4391d9[_0xf5fd20(0x1c2)]==_0xf5fd20(0x186)||_0x4391d9[_0xf5fd20(0x1c2)]==_0xf5fd20(0x1b4))continue;if(['text',_0xf5fd20(0x19a),_0xf5fd20(0x167)][_0xf5fd20(0x187)](_0x1bed4f)!=-0x1){}else{if([_0xf5fd20(0x197),_0xf5fd20(0x198),_0xf5fd20(0x16d),_0xf5fd20(0x191)]['indexOf'](_0x1bed4f)!=-0x1)_0x15e94d+=_0xf5fd20(0x1bc)+_0x4391d9[_0xf5fd20(0x165)]+_0xf5fd20(0x19f),_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9[_0xf5fd20(0x1c2)]+_0xf5fd20(0x166);else{if([_0xf5fd20(0x160)][_0xf5fd20(0x187)](_0x1bed4f)!=-0x1)_0x449458=!![],_0x15e94d+=_0xf5fd20(0x1bc)+_0x4391d9[_0xf5fd20(0x165)]+_0xf5fd20(0x19b)+_0x504494+_0xf5fd20(0x1b3)+_0x4391d9['Field']+'\x27)))\x0a',_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9['Field']+_0xf5fd20(0x166);else{if(_0x1bed4f==_0xf5fd20(0x170)){}else{if(_0x1bed4f==_0xf5fd20(0x181)){let _0xc4056d=(0x0,helper_1[_0xf5fd20(0x1a7)])(_0x4391d9['Type']);_0x15e94d+='\x20\x20\x20\x20@Rule(\x27'+_0x4391d9[_0xf5fd20(0x165)]+_0xf5fd20(0x15e)+_0xc4056d[_0xf5fd20(0x1ab)](_0xf5fd20(0x164))+_0xf5fd20(0x1a4),_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9[_0xf5fd20(0x1c2)]+'?:\x20\x27'+_0xc4056d[_0xf5fd20(0x1ab)](_0xf5fd20(0x17c))+_0xf5fd20(0x172);}else[_0xf5fd20(0x195),_0xf5fd20(0x161),_0xf5fd20(0x17d)][_0xf5fd20(0x187)](_0x1bed4f)>-0x1?(_0x15e94d+='\x20\x20\x20\x20@Rule(\x27'+_0x4391d9[_0xf5fd20(0x165)]+_0xf5fd20(0x1c8),_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9[_0xf5fd20(0x1c2)]+_0xf5fd20(0x19e),_0x15e94d+=_0xf5fd20(0x1bc)+_0x4391d9[_0xf5fd20(0x165)]+_0xf5fd20(0x179),_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9[_0xf5fd20(0x1c2)]+_0xf5fd20(0x1bb),_0x15e94d+=_0xf5fd20(0x1bc)+_0x4391d9[_0xf5fd20(0x165)]+'\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9['Field']+_0xf5fd20(0x15f),_0x15e94d+=_0xf5fd20(0x1bc)+_0x4391d9['Comment']+_0xf5fd20(0x1ad),_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9['Field']+'_end?:\x20string;\x0a\x0a'):(_0x15e94d+=_0xf5fd20(0x1bc)+_0x4391d9[_0xf5fd20(0x165)]+_0xf5fd20(0x1c8),_0x15e94d+=_0xf5fd20(0x1a3)+_0x4391d9[_0xf5fd20(0x1c2)]+_0xf5fd20(0x19e));}}}}}}_0x15e94d+=_0xf5fd20(0x183),_0x15e94d+=_0xf5fd20(0x175),_0x15e94d+=_0xf5fd20(0x1c5),_0x15e94d+='\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a',_0x15e94d+=_0xf5fd20(0x169),_0x15e94d+=_0xf5fd20(0x1a1),_0x15e94d+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x15e94d+=_0xf5fd20(0x190),_0x15e94d+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x15e94d+='\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a',_0x15e94d+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x15e94d+='\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a',_0x15e94d+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x15e94d+=_0xf5fd20(0x171);(_0x3f27e9===null||_0x3f27e9===void 0x0?void 0x0:_0x3f27e9['find'](_0x2a5417=>typeof _0x2a5417!=_0xf5fd20(0x1ac)))?_0x79e107+=_0xf5fd20(0x1b8):_0x79e107+=_0xf5fd20(0x1c7);_0x449458&&(_0x79e107+=_0xf5fd20(0x17f)+_0x504494+_0xf5fd20(0x173)+(typeof _0x5a0c7e==_0xf5fd20(0x1af)?_0xf5fd20(0x1be)+_0x5a0c7e:'@/'+_0x584516)+_0xf5fd20(0x17a)+_0x1996e6+_0xf5fd20(0x16e));_0x79e107+='\x0a',_0x79e107+=_0xf5fd20(0x182),_0x79e107+=_0xf5fd20(0x1b9)+_0x452c2a+'\x0a',_0x79e107+=_0xf5fd20(0x18a),_0x79e107+='\x20*\x20**/\x0a',_0x79e107+=_0xf5fd20(0x1a2)+_0x504494+'DTOSearch\x20{\x0a\x0a',_0x79e107+='%SearchDtoColumn%',_0x79e107+=_0xf5fd20(0x1b6);for(const _0x5a337f of _0x3f27e9){typeof _0x5a337f==_0xf5fd20(0x1af)&&(_0x79e107+=_0xf5fd20(0x1a2)+_0x5a337f[_0xf5fd20(0x1a6)](0x0,0x1)['toUpperCase']()+_0x5a337f['substring'](0x1)[_0xf5fd20(0x1b5)]()+_0x504494+'DTOSearch\x20extends\x20OmitDto('+_0x504494+_0xf5fd20(0x189),_0x79e107+='}\x0a\x0a');}_0x79e107=_0x79e107[_0xf5fd20(0x1c4)]('%SearchDtoColumn%',_0x15e94d),fs[_0xf5fd20(0x16c)](_0x14a735,_0x79e107,_0xf5fd20(0x1b7));}}
@@ -1 +1 @@
1
- function a11_0x4ef7(_0x332ebe,_0x1b4a15){const _0x2a2f33=a11_0x3f0e();return a11_0x4ef7=function(_0x553673,_0x17ffe1){_0x553673=_0x553673-0x1c8;let _0x3f0e54=_0x2a2f33[_0x553673];return _0x3f0e54;},a11_0x4ef7(_0x332ebe,_0x1b4a15);}const a11_0x45f34d=a11_0x4ef7;(function(_0x50b016,_0x1ed4bb){const _0x30a195=a11_0x4ef7,_0x60dbd3=_0x50b016();while(!![]){try{const _0x4fa2e4=parseInt(_0x30a195(0x1c8))/0x1*(-parseInt(_0x30a195(0x1e8))/0x2)+parseInt(_0x30a195(0x1e3))/0x3*(parseInt(_0x30a195(0x1f5))/0x4)+parseInt(_0x30a195(0x1e2))/0x5+parseInt(_0x30a195(0x1de))/0x6*(parseInt(_0x30a195(0x1df))/0x7)+-parseInt(_0x30a195(0x1cf))/0x8+-parseInt(_0x30a195(0x1e6))/0x9+-parseInt(_0x30a195(0x1e1))/0xa;if(_0x4fa2e4===_0x1ed4bb)break;else _0x60dbd3['push'](_0x60dbd3['shift']());}catch(_0x2840e9){_0x60dbd3['push'](_0x60dbd3['shift']());}}}(a11_0x3f0e,0xaf9ad));const a11_0x17ffe1=(function(){let _0x239d5a=!![];return function(_0xc499f9,_0x4395eb){const _0xf0dceb=_0x239d5a?function(){const _0x4ff576=a11_0x4ef7;if(_0x4395eb){const _0x349d6d=_0x4395eb[_0x4ff576(0x1d2)](_0xc499f9,arguments);return _0x4395eb=null,_0x349d6d;}}:function(){};return _0x239d5a=![],_0xf0dceb;};}()),a11_0x553673=a11_0x17ffe1(this,function(){const _0xf5004c=a11_0x4ef7;return a11_0x553673[_0xf5004c(0x1db)]()[_0xf5004c(0x1dd)]('(((.+)+)+)+$')['toString']()['constructor'](a11_0x553673)[_0xf5004c(0x1dd)](_0xf5004c(0x1d8));});function a11_0x3f0e(){const _0x9f9eba=['__esModule','/detail/:','@编辑\x27,\x0a','(((.+)+)+)+$','/pages/','@删除\x27,\x0a','toString','/list','search','2004042WCglUF','28udWWcq','export\x20const\x20','957670NdMaYx','3055940epqHzi','59919PdWuPC','string','\x20\x20\x20\x20detail:{\x0a','8942139pwoEvp','//\x20','513134vLuIhm','\x20\x20\x20\x20edit:{\x0a','path','/edit/:','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','\x20\x20\x20\x20}\x0a','/remove','\x20=\x20{\x0a','existsSync','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','\x20\x20\x20\x20remove:{\x0a','\x20\x20\x20\x20add:{\x0a','\x20\x20\x20\x20},\x0a','212ESwZOi','writeFileSync','mkdirSync','/apis/','1WGKiDD','cwd','default','\x20\x20\x20\x20list:{\x0a','dirname','Field','/pages/apps/','7524824ljkxyB','.js','defineProperty','apply','@列表\x27,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'];a11_0x3f0e=function(){return _0x9f9eba;};return a11_0x3f0e();}a11_0x553673();'use strict';Object[a11_0x45f34d(0x1d1)](exports,a11_0x45f34d(0x1d5),{'value':!![]}),exports[a11_0x45f34d(0x1ca)]=default_1;const fs=require('fs'),path_1=require(a11_0x45f34d(0x1ea));async function default_1({tablestartUpShort:_0x52cc57,tablestartUpShort2:_0x2f6a5f,moduleName:_0x228e7d,controller:_0xe02401,Comment:_0x1ced9f,apporbasic:_0x2c712b,Primary:_0x1c988f}){const _0x1f4bd3=a11_0x45f34d;let _0x239db7=process[_0x1f4bd3(0x1c9)]()+'/vue'+(typeof _0xe02401==_0x1f4bd3(0x1e4)?'/'+_0xe02401:'');_0x228e7d?_0x239db7=_0x239db7+(_0x1f4bd3(0x1ce)+_0x228e7d+_0x1f4bd3(0x1f8)+_0x52cc57+_0x1f4bd3(0x1d0)):_0x239db7=_0x239db7+(_0x1f4bd3(0x1d9)+_0x2c712b+_0x1f4bd3(0x1f8)+_0x52cc57+_0x1f4bd3(0x1d0));if(!fs[_0x1f4bd3(0x1f0)](_0x239db7)){const _0x49f71e=''+(typeof _0xe02401==_0x1f4bd3(0x1e4)?_0xe02401+'/':'')+(_0x228e7d?_0x228e7d+'/':'')+_0x2f6a5f+'/add',_0x49f9c1=''+(typeof _0xe02401==_0x1f4bd3(0x1e4)?_0xe02401+'/':'')+(_0x228e7d?_0x228e7d+'/':'')+_0x2f6a5f+_0x1f4bd3(0x1dc),_0x5f2882=''+(typeof _0xe02401==_0x1f4bd3(0x1e4)?_0xe02401+'/':'')+(_0x228e7d?_0x228e7d+'/':'')+_0x2f6a5f+_0x1f4bd3(0x1eb)+_0x1c988f[_0x1f4bd3(0x1cd)],_0x1811ae=''+(typeof _0xe02401==_0x1f4bd3(0x1e4)?_0xe02401+'/':'')+(_0x228e7d?_0x228e7d+'/':'')+_0x2f6a5f+_0x1f4bd3(0x1d6)+_0x1c988f[_0x1f4bd3(0x1cd)],_0x44f385=''+(typeof _0xe02401=='string'?_0xe02401+'/':'')+(_0x228e7d?_0x228e7d+'/':'')+_0x2f6a5f+_0x1f4bd3(0x1ee);let _0x4772c3='\x0a\x0a';_0x4772c3+=_0x1f4bd3(0x1e7)+_0x1ced9f+'\x0a',_0x4772c3+=_0x1f4bd3(0x1e0)+_0x52cc57+_0x1f4bd3(0x1ef),_0x4772c3+=_0x1f4bd3(0x1f3),_0x4772c3+=_0x1f4bd3(0x1ec),_0x4772c3+=_0x1f4bd3(0x1d4)+_0x1ced9f+'@添加\x27,\x0a',_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x49f71e+'\x27\x0a',_0x4772c3+=_0x1f4bd3(0x1f4),_0x4772c3+=_0x1f4bd3(0x1e9),_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x1ced9f+_0x1f4bd3(0x1d7),_0x4772c3+=_0x1f4bd3(0x1f1)+_0x5f2882+'\x27\x0a',_0x4772c3+=_0x1f4bd3(0x1f4),_0x4772c3+=_0x1f4bd3(0x1cb),_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a',_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x1ced9f+_0x1f4bd3(0x1d3),_0x4772c3+=_0x1f4bd3(0x1f1)+_0x49f9c1+'\x27\x0a',_0x4772c3+='\x20\x20\x20\x20},\x0a',_0x4772c3+=_0x1f4bd3(0x1e5),_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a',_0x4772c3+=_0x1f4bd3(0x1d4)+_0x1ced9f+'@详情\x27,\x0a',_0x4772c3+=_0x1f4bd3(0x1f1)+_0x1811ae+'\x27\x0a',_0x4772c3+=_0x1f4bd3(0x1f4),_0x4772c3+=_0x1f4bd3(0x1f2),_0x4772c3+=_0x1f4bd3(0x1ec),_0x4772c3+=_0x1f4bd3(0x1d4)+_0x1ced9f+_0x1f4bd3(0x1da),_0x4772c3+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x44f385+'\x27\x0a',_0x4772c3+=_0x1f4bd3(0x1ed),_0x4772c3+='}\x0a',fs[_0x1f4bd3(0x1f7)]((0x0,path_1[_0x1f4bd3(0x1cc)])(_0x239db7),{'recursive':!![]}),fs[_0x1f4bd3(0x1f6)](_0x239db7,_0x4772c3,'utf-8');}}
1
+ function a11_0x2027(){const _0x1ea71c=['\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','/add','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','string','defineProperty','.js','3377580gtzkWs','writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','apply','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','@详情\x27,\x0a','\x20\x20\x20\x20remove:{\x0a','\x20\x20\x20\x20},\x0a','@删除\x27,\x0a','@列表\x27,\x0a','@添加\x27,\x0a','\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20list:{\x0a','constructor','4027920MuwRMM','/vue','1336NqGHGI','@编辑\x27,\x0a','\x20\x20\x20\x20edit:{\x0a','/apis/','25587SnNuMy','//\x20','dirname','/edit/:','search','cwd','142132rmHdkU','/list','209sTxwOu','145188ZPtFiM','toString','220xJqcoq','63hcHBcE','mkdirSync','12245992VeEGPx','/detail/:','\x20=\x20{\x0a','(((.+)+)+)+$','/remove','1298HyGGrG','/pages/apps/','2690pavSQV'];a11_0x2027=function(){return _0x1ea71c;};return a11_0x2027();}function a11_0x5ae1(_0x1afbe3,_0x31ae68){const _0x4e3bfc=a11_0x2027();return a11_0x5ae1=function(_0x43d8c5,_0xddd19a){_0x43d8c5=_0x43d8c5-0x96;let _0x2027d8=_0x4e3bfc[_0x43d8c5];return _0x2027d8;},a11_0x5ae1(_0x1afbe3,_0x31ae68);}const a11_0x1e3e79=a11_0x5ae1;(function(_0x30967c,_0x50d6ac){const _0x5872a9=a11_0x5ae1,_0x1c9183=_0x30967c();while(!![]){try{const _0x13629c=-parseInt(_0x5872a9(0xa7))/0x1*(-parseInt(_0x5872a9(0xc0))/0x2)+parseInt(_0x5872a9(0xbe))/0x3+parseInt(_0x5872a9(0x9a))/0x4*(parseInt(_0x5872a9(0x9f))/0x5)+parseInt(_0x5872a9(0x9d))/0x6*(parseInt(_0x5872a9(0xa0))/0x7)+parseInt(_0x5872a9(0xa2))/0x8+parseInt(_0x5872a9(0xc4))/0x9*(parseInt(_0x5872a9(0xa9))/0xa)+-parseInt(_0x5872a9(0x9c))/0xb*(parseInt(_0x5872a9(0xb0))/0xc);if(_0x13629c===_0x50d6ac)break;else _0x1c9183['push'](_0x1c9183['shift']());}catch(_0x5c891d){_0x1c9183['push'](_0x1c9183['shift']());}}}(a11_0x2027,0xe527b));const a11_0xddd19a=(function(){let _0x331045=!![];return function(_0x263038,_0x4c98cd){const _0x5add18=_0x331045?function(){const _0x1c9847=a11_0x5ae1;if(_0x4c98cd){const _0x5a64d0=_0x4c98cd[_0x1c9847(0xb3)](_0x263038,arguments);return _0x4c98cd=null,_0x5a64d0;}}:function(){};return _0x331045=![],_0x5add18;};}()),a11_0x43d8c5=a11_0xddd19a(this,function(){const _0x368ab7=a11_0x5ae1;return a11_0x43d8c5[_0x368ab7(0x9e)]()['search'](_0x368ab7(0xa5))[_0x368ab7(0x9e)]()[_0x368ab7(0xbd)](a11_0x43d8c5)[_0x368ab7(0x98)]('(((.+)+)+)+$');});a11_0x43d8c5();'use strict';Object[a11_0x1e3e79(0xae)](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort:_0x2b8129,tablestartUpShort2:_0x167d51,moduleName:_0x14ba44,controller:_0x5e0e47,Comment:_0x51483b,apporbasic:_0x205302,Primary:_0x40bcf1}){const _0x244546=a11_0x1e3e79;let _0x1b2e74=process[_0x244546(0x99)]()+_0x244546(0xbf)+(typeof _0x5e0e47==_0x244546(0xad)?'/'+_0x5e0e47:'');_0x14ba44?_0x1b2e74=_0x1b2e74+(_0x244546(0xa8)+_0x14ba44+_0x244546(0xc3)+_0x2b8129+_0x244546(0xaf)):_0x1b2e74=_0x1b2e74+('/pages/'+_0x205302+_0x244546(0xc3)+_0x2b8129+_0x244546(0xaf));if(!fs['existsSync'](_0x1b2e74)){const _0x5e38d7=''+(typeof _0x5e0e47==_0x244546(0xad)?_0x5e0e47+'/':'')+(_0x14ba44?_0x14ba44+'/':'')+_0x167d51+_0x244546(0xab),_0x23109a=''+(typeof _0x5e0e47==_0x244546(0xad)?_0x5e0e47+'/':'')+(_0x14ba44?_0x14ba44+'/':'')+_0x167d51+_0x244546(0x9b),_0x1e47cd=''+(typeof _0x5e0e47==_0x244546(0xad)?_0x5e0e47+'/':'')+(_0x14ba44?_0x14ba44+'/':'')+_0x167d51+_0x244546(0x97)+_0x40bcf1['Field'],_0xb2ed4e=''+(typeof _0x5e0e47==_0x244546(0xad)?_0x5e0e47+'/':'')+(_0x14ba44?_0x14ba44+'/':'')+_0x167d51+_0x244546(0xa3)+_0x40bcf1['Field'],_0x79933c=''+(typeof _0x5e0e47==_0x244546(0xad)?_0x5e0e47+'/':'')+(_0x14ba44?_0x14ba44+'/':'')+_0x167d51+_0x244546(0xa6);let _0x1ed77f='\x0a\x0a';_0x1ed77f+=_0x244546(0xc5)+_0x51483b+'\x0a',_0x1ed77f+='export\x20const\x20'+_0x2b8129+_0x244546(0xa4),_0x1ed77f+='\x20\x20\x20\x20add:{\x0a',_0x1ed77f+=_0x244546(0xaa),_0x1ed77f+=_0x244546(0xb2)+_0x51483b+_0x244546(0xba),_0x1ed77f+=_0x244546(0xb4)+_0x5e38d7+'\x27\x0a',_0x1ed77f+=_0x244546(0xb7),_0x1ed77f+=_0x244546(0xc2),_0x1ed77f+=_0x244546(0xaa),_0x1ed77f+=_0x244546(0xb2)+_0x51483b+_0x244546(0xc1),_0x1ed77f+=_0x244546(0xb4)+_0x1e47cd+'\x27\x0a',_0x1ed77f+=_0x244546(0xb7),_0x1ed77f+=_0x244546(0xbc),_0x1ed77f+=_0x244546(0xac),_0x1ed77f+=_0x244546(0xb2)+_0x51483b+_0x244546(0xb9),_0x1ed77f+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x23109a+'\x27\x0a',_0x1ed77f+='\x20\x20\x20\x20},\x0a',_0x1ed77f+='\x20\x20\x20\x20detail:{\x0a',_0x1ed77f+=_0x244546(0xac),_0x1ed77f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x51483b+_0x244546(0xb5),_0x1ed77f+=_0x244546(0xb4)+_0xb2ed4e+'\x27\x0a',_0x1ed77f+=_0x244546(0xb7),_0x1ed77f+=_0x244546(0xb6),_0x1ed77f+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x1ed77f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x51483b+_0x244546(0xb8),_0x1ed77f+=_0x244546(0xb4)+_0x79933c+'\x27\x0a',_0x1ed77f+=_0x244546(0xbb),_0x1ed77f+='}\x0a',fs[_0x244546(0xa1)]((0x0,path_1[_0x244546(0x96)])(_0x1b2e74),{'recursive':!![]}),fs[_0x244546(0xb1)](_0x1b2e74,_0x1ed77f,'utf-8');}}
@@ -1 +1 @@
1
- const a12_0x1ef533=a12_0x321c;(function(_0x4398b9,_0x4e3639){const _0x20c669=a12_0x321c,_0x38e1c4=_0x4398b9();while(!![]){try{const _0x29b49a=-parseInt(_0x20c669(0x8a))/0x1+parseInt(_0x20c669(0x8c))/0x2+parseInt(_0x20c669(0x7e))/0x3+-parseInt(_0x20c669(0x8d))/0x4+-parseInt(_0x20c669(0x7b))/0x5+parseInt(_0x20c669(0x7f))/0x6+parseInt(_0x20c669(0x83))/0x7;if(_0x29b49a===_0x4e3639)break;else _0x38e1c4['push'](_0x38e1c4['shift']());}catch(_0x195156){_0x38e1c4['push'](_0x38e1c4['shift']());}}}(a12_0x1b0f,0x37963));const a12_0x32b2f1=(function(){let _0x1affef=!![];return function(_0x14d5de,_0x41ee63){const _0x1c8183=_0x1affef?function(){const _0x2fd9c1=a12_0x321c;if(_0x41ee63){const _0x2de006=_0x41ee63[_0x2fd9c1(0x97)](_0x14d5de,arguments);return _0x41ee63=null,_0x2de006;}}:function(){};return _0x1affef=![],_0x1c8183;};}()),a12_0x3f65cc=a12_0x32b2f1(this,function(){const _0x149cd0=a12_0x321c;return a12_0x3f65cc[_0x149cd0(0x8f)]()[_0x149cd0(0x89)]('(((.+)+)+)+$')[_0x149cd0(0x8f)]()[_0x149cd0(0x98)](a12_0x3f65cc)[_0x149cd0(0x89)]('(((.+)+)+)+$');});a12_0x3f65cc();'use strict';Object['defineProperty'](exports,a12_0x1ef533(0x96),{'value':!![]}),exports[a12_0x1ef533(0x9d)]=default_1;const fs=require('fs'),path_1=require(a12_0x1ef533(0x99));function a12_0x321c(_0x478736,_0x5ec83d){const _0x51aebf=a12_0x1b0f();return a12_0x321c=function(_0x3f65cc,_0x32b2f1){_0x3f65cc=_0x3f65cc-0x78;let _0x1b0fca=_0x51aebf[_0x3f65cc];return _0x1b0fca;},a12_0x321c(_0x478736,_0x5ec83d);}async function default_1({tablestartUpShort2:_0x4ef5ad,controller:_0x7af73f,moduleName:_0x175cb2,Comment:_0x32a471,apporbasic:_0x500cfd}){const _0x28a4c0=a12_0x1ef533;let _0x2b14f4=process[_0x28a4c0(0x9c)]()+_0x28a4c0(0x93)+(typeof _0x7af73f==_0x28a4c0(0x8e)?'/'+_0x7af73f:'');_0x175cb2?_0x2b14f4=_0x2b14f4+(_0x28a4c0(0x92)+_0x175cb2+'/layout.vue'):_0x2b14f4=_0x2b14f4+(_0x28a4c0(0x81)+_0x500cfd+_0x28a4c0(0x90));await createLayout(_0x2b14f4);const _0x62b36=fs[_0x28a4c0(0x78)](_0x2b14f4,_0x28a4c0(0x86));fs[_0x28a4c0(0x82)](_0x2b14f4,_0x62b36[_0x28a4c0(0x80)](_0x28a4c0(0x8b),'{title:\x20\x22'+(_0x32a471+'\x22')[_0x28a4c0(0x79)](0x14)+_0x28a4c0(0x88)+(''+(typeof _0x175cb2==_0x28a4c0(0x8e)?_0x28a4c0(0x9a)+_0x175cb2+'/':'/'+_0x500cfd+'/')+_0x4ef5ad+'\x22')[_0x28a4c0(0x79)](0x14)+_0x28a4c0(0x7a)));}function a12_0x1b0f(){const _0x5b4367=['1896135vnSUwL','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','</template>\x0a\x0a','297669XVOuen','1906134QpdXOj','replace','/pages/','writeFileSync','5636708NisPnw','</script>\x0a\x0a','export\x20default\x20{\x0a','utf-8','<template>\x0a',',\x20path:\x20\x22','search','435388JebejD','//\x20add\x20menu\x20here','5032TmBIso','729496iTFtdN','string','toString','/layout.vue','existsSync','/pages/apps/','/vue','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','__esModule','apply','constructor','path','/apps-','\x20\x20\x20\x20</page-layout>\x0a','cwd','default','readFileSync','padEnd','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'];a12_0x1b0f=function(){return _0x5b4367;};return a12_0x1b0f();}async function createLayout(_0x3c213c){const _0x715f50=a12_0x1ef533;if(!fs[_0x715f50(0x91)](_0x3c213c)){let _0x48231c=_0x715f50(0x87);_0x48231c+=_0x715f50(0x95),_0x48231c+=_0x715f50(0x9b),_0x48231c+=_0x715f50(0x7d),_0x48231c+='<script>\x0a',_0x48231c+=_0x715f50(0x85),_0x48231c+='\x20\x20\x20\x20data()\x20{\x0a',_0x48231c+=_0x715f50(0x94),_0x48231c+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a',_0x48231c+=_0x715f50(0x7c),_0x48231c+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a',_0x48231c+='\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0x48231c+='\x20\x20\x20\x20},\x0a',_0x48231c+='}\x0a',_0x48231c+=_0x715f50(0x84),fs['mkdirSync']((0x0,path_1['dirname'])(_0x3c213c),{'recursive':!![]}),fs['writeFileSync'](_0x3c213c,_0x48231c,'utf-8');}}
1
+ function a12_0x3c1b(){const _0x12f195=['/layout.vue','9pWzvdu','7ZSHWKn','constructor','padEnd','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','{title:\x20\x22','<script>\x0a','utf-8','10RpnmrA','search','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','(((.+)+)+)+$','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','</template>\x0a\x0a','string',',\x20path:\x20\x22','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','readFileSync','export\x20default\x20{\x0a','path','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','199431MOLsSd','3004098zqPysT','</script>\x0a\x0a','18LuARuJ','//\x20add\x20menu\x20here','\x20\x20\x20\x20},\x0a','/apps-','6643285VFZmhj','9055384iurpGu','apply','1104076iMzSos','11449360XIHUad','cwd','48NwvzKp','<template>\x0a','mkdirSync','/pages/','/pages/apps/','writeFileSync','1525704Ksatdv','toString','\x20\x20\x20\x20data()\x20{\x0a'];a12_0x3c1b=function(){return _0x12f195;};return a12_0x3c1b();}const a12_0x50b28a=a12_0x5936;(function(_0xb7e24b,_0x5ace12){const _0x1946ec=a12_0x5936,_0x1a3268=_0xb7e24b();while(!![]){try{const _0x6919e4=-parseInt(_0x1946ec(0x101))/0x1+parseInt(_0x1946ec(0xfa))/0x2*(parseInt(_0x1946ec(0xf7))/0x3)+parseInt(_0x1946ec(0x10a))/0x4*(parseInt(_0x1946ec(0xea))/0x5)+parseInt(_0x1946ec(0xf8))/0x6*(parseInt(_0x1946ec(0x10f))/0x7)+parseInt(_0x1946ec(0xff))/0x8*(parseInt(_0x1946ec(0x10e))/0x9)+parseInt(_0x1946ec(0x102))/0xa+-parseInt(_0x1946ec(0xfe))/0xb*(parseInt(_0x1946ec(0x104))/0xc);if(_0x6919e4===_0x5ace12)break;else _0x1a3268['push'](_0x1a3268['shift']());}catch(_0x5b89aa){_0x1a3268['push'](_0x1a3268['shift']());}}}(a12_0x3c1b,0x97177));const a12_0x2e2260=(function(){let _0x2b4fba=!![];return function(_0x20262a,_0x2ee0ad){const _0x1ad683=_0x2b4fba?function(){const _0x545228=a12_0x5936;if(_0x2ee0ad){const _0x1adbb5=_0x2ee0ad[_0x545228(0x100)](_0x20262a,arguments);return _0x2ee0ad=null,_0x1adbb5;}}:function(){};return _0x2b4fba=![],_0x1ad683;};}()),a12_0x5be284=a12_0x2e2260(this,function(){const _0x37b8a5=a12_0x5936;return a12_0x5be284['toString']()[_0x37b8a5(0xeb)](_0x37b8a5(0xed))[_0x37b8a5(0x10b)]()[_0x37b8a5(0x110)](a12_0x5be284)[_0x37b8a5(0xeb)](_0x37b8a5(0xed));});a12_0x5be284();function a12_0x5936(_0x5851a8,_0xd5859e){const _0x36126c=a12_0x3c1b();return a12_0x5936=function(_0x5be284,_0x2e2260){_0x5be284=_0x5be284-0xe9;let _0x3c1b5c=_0x36126c[_0x5be284];return _0x3c1b5c;},a12_0x5936(_0x5851a8,_0xd5859e);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a12_0x50b28a(0xf5));async function default_1({tablestartUpShort2:_0x5cf98f,controller:_0x1f3f7b,moduleName:_0x1aaa37,Comment:_0x40fb5f,apporbasic:_0x3f2dbc}){const _0x7da529=a12_0x50b28a;let _0x5e063e=process[_0x7da529(0x103)]()+'/vue'+(typeof _0x1f3f7b=='string'?'/'+_0x1f3f7b:'');_0x1aaa37?_0x5e063e=_0x5e063e+(_0x7da529(0x108)+_0x1aaa37+_0x7da529(0x10d)):_0x5e063e=_0x5e063e+(_0x7da529(0x107)+_0x3f2dbc+_0x7da529(0x10d));await createLayout(_0x5e063e);const _0x4effa6=fs[_0x7da529(0xf3)](_0x5e063e,_0x7da529(0xe9));fs[_0x7da529(0x109)](_0x5e063e,_0x4effa6['replace'](_0x7da529(0xfb),_0x7da529(0x113)+(_0x40fb5f+'\x22')['padEnd'](0x14)+_0x7da529(0xf1)+(''+(typeof _0x1aaa37==_0x7da529(0xf0)?_0x7da529(0xfd)+_0x1aaa37+'/':'/'+_0x3f2dbc+'/')+_0x5cf98f+'\x22')[_0x7da529(0x111)](0x14)+_0x7da529(0xf2)));}async function createLayout(_0x1ef776){const _0x4ba6c7=a12_0x50b28a;if(!fs['existsSync'](_0x1ef776)){let _0x5023a0=_0x4ba6c7(0x105);_0x5023a0+=_0x4ba6c7(0xee),_0x5023a0+='\x20\x20\x20\x20</page-layout>\x0a',_0x5023a0+=_0x4ba6c7(0xef),_0x5023a0+=_0x4ba6c7(0x114),_0x5023a0+=_0x4ba6c7(0xf4),_0x5023a0+=_0x4ba6c7(0x10c),_0x5023a0+=_0x4ba6c7(0xf6),_0x5023a0+=_0x4ba6c7(0xec),_0x5023a0+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x5023a0+=_0x4ba6c7(0x112),_0x5023a0+='\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0x5023a0+=_0x4ba6c7(0xfc),_0x5023a0+='}\x0a',_0x5023a0+=_0x4ba6c7(0xf9),fs[_0x4ba6c7(0x106)]((0x0,path_1['dirname'])(_0x1ef776),{'recursive':!![]}),fs[_0x4ba6c7(0x109)](_0x1ef776,_0x5023a0,'utf-8');}}
@@ -1 +1 @@
1
- const a13_0x33b637=a13_0x55a0;(function(_0x5ac209,_0x39e915){const _0x2b225f=a13_0x55a0,_0x13e941=_0x5ac209();while(!![]){try{const _0x4fe31a=-parseInt(_0x2b225f(0x1d0))/0x1*(-parseInt(_0x2b225f(0x23b))/0x2)+-parseInt(_0x2b225f(0x24a))/0x3*(-parseInt(_0x2b225f(0x23e))/0x4)+parseInt(_0x2b225f(0x1b0))/0x5*(-parseInt(_0x2b225f(0x1a7))/0x6)+-parseInt(_0x2b225f(0x1a6))/0x7*(parseInt(_0x2b225f(0x259))/0x8)+parseInt(_0x2b225f(0x1f5))/0x9+-parseInt(_0x2b225f(0x1a8))/0xa+-parseInt(_0x2b225f(0x211))/0xb;if(_0x4fe31a===_0x39e915)break;else _0x13e941['push'](_0x13e941['shift']());}catch(_0x2dc2e2){_0x13e941['push'](_0x13e941['shift']());}}}(a13_0x144f,0x82c1c));const a13_0x3ec050=(function(){let _0x2c8456=!![];return function(_0x24a0fc,_0x38676f){const _0xb874a7=_0x2c8456?function(){if(_0x38676f){const _0x58d08e=_0x38676f['apply'](_0x24a0fc,arguments);return _0x38676f=null,_0x58d08e;}}:function(){};return _0x2c8456=![],_0xb874a7;};}()),a13_0x40c4df=a13_0x3ec050(this,function(){const _0x265074=a13_0x55a0;return a13_0x40c4df[_0x265074(0x215)]()[_0x265074(0x1e6)](_0x265074(0x236))[_0x265074(0x215)]()[_0x265074(0x22d)](a13_0x40c4df)[_0x265074(0x1e6)](_0x265074(0x236));});function a13_0x55a0(_0x12ab09,_0x13bc8e){const _0x37ea43=a13_0x144f();return a13_0x55a0=function(_0x40c4df,_0x3ec050){_0x40c4df=_0x40c4df-0x1a2;let _0x144f9d=_0x37ea43[_0x40c4df];return _0x144f9d;},a13_0x55a0(_0x12ab09,_0x13bc8e);}a13_0x40c4df();'use strict';Object[a13_0x33b637(0x257)](exports,a13_0x33b637(0x235),{'value':!![]}),exports[a13_0x33b637(0x222)]=default_1;function a13_0x144f(){const _0x1393ea=['/pages/','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','<el-select\x20v-model=\x22formdata.','.remove({\x20','\x22\x20:limit=\x225\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\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}\x0a','</el-select>','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x20\x20\x20\x20methods:\x20{\x0a','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x22\x20placeholder=\x22选择','search','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','\x22\x20clearable/>','Api.','/template/','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','<el-select-tags\x20v-model=\x22formdata.','\x22\x20prop=\x22','padEnd','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a','number','Comment','created_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','9614619lzGimC','\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',':\x20item.','substr','img','apps-','displayorder','\x22\x20api=\x22','<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','/pages/apps/','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','string','</template>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<page-images\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','/list/components/search.vue','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','<el-option\x20label=\x22','<el-select-search\x20v-model=\x22formdata.','longtext','updated_at','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','/add\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','3620452VVbEKc','<el-select-search\x20v-model=\x22search.','AddRule,\x0a','.list(Object.assign({},\x20this.table.search,\x20sortable)).then(res=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.table.data\x20=\x20res.data\x20||\x20[],\x20this.table.search\x20=\x20{\x20...this.table.search,\x20...res.extra.pageinfo,\x20_count:\x20res.extra.pagetotal\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要删除的数据\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20handlerRemove(item){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20item.','toString','import\x20{\x20','getEnum','Field','/validators/','<el-date-picker\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','indexOf','/edit?','existsSync','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','\x22\x20:limit=\x221\x22\x20/>','<el-form-item\x20label=\x22','default','cwd','<el-input\x20v-model=\x22search.','\x20\x20\x20\x20mounted(){\x0a','timestamp','<el-input\x20v-model=\x22formdata.','endsWith','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','<template>\x0a',')\x20{\x0a','(item).then(res=>{\x0a','constructor','<img\x20:src=\x22scope.row.','<el-table-column\x20prop=','/vue','edit','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','num','utf-8','__esModule','(((.+)+)+)+$','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','\x20\x20\x20\x20','.detail({\x20','<template>\x0a\x20\x20\x20\x20','12zjtyYo','\x20\x20\x20\x20</page-form>\x0a','tags','4SSdPNM','\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','</el-form-item>','\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','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','/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','\x20\x20\x20\x20data(){\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\x20handlerSave(){\x0a','\x20\x20\x20\x20\x20\x20\x20\x20','dirname','date','565581lgxtav','<el-input-number\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','<el-input-number\x20v-model=\x22search.','logo','_start\x22\x20placeholder=\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\x20\x20\x20\x20','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','\x22\x20placeholder=\x22请输入','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','defineProperty','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','8kuaBkx','enum','\x20}).then(res=>{\x0a','\x22\x20clearable>','</template>\x0a','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','</script>\x0a','Type','4924241AKofGu','2670HqvNZE','2851060OxhYum','<template\x20#reference>','/edit\x27\x0a','writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','apps/','$appsApi.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','1125JbyGqX','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\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.','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','mkdirSync','\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','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','thumb','}`)\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','text','<el-date-picker\x20v-model=\x22search.','AddRule\x20}\x20from\x20\x27@','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','</a>','\x20\x20\x20\x20},\x0a','_end\x22\x20placeholder=\x22选择','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','EditRule\x20}\x20from\x20\x27@','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','thumbs','_id','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','add','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',');\x0a','\x22\x20/>','datetime','\x22\x20class=\x22block\x22>','116098zdJbfG','mediumtext','<a\x20:href=\x22scope.row.','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','.hasPrem()\x22>\x0a','\x22\x20value=\x22'];a13_0x144f=function(){return _0x1393ea;};return a13_0x144f();}const fs=require('fs'),path_1=require('path'),helper_1=require('../helper');async function default_1({moduleName:_0x1dd294,controller:_0x259496,tablestartUpShort:_0x2aed94,tablestartUpShort2:_0x16f79b,Primary:_0x474c75,Fields:_0x4fa577,apporbasic:_0x1a6d7b,Comment:_0x509974}){const _0x2cd06a=a13_0x33b637;await createIndex({'moduleName':_0x1dd294,'controller':_0x259496,'tablestartUpShort':_0x2aed94,'tablestartUpShort2':_0x16f79b,'Primary':_0x474c75,'Fields':_0x4fa577,'apporbasic':_0x1a6d7b}),await createSearch({'moduleName':_0x1dd294,'controller':_0x259496,'tablestartUpShort2':_0x16f79b,'Primary':_0x474c75,'Fields':_0x4fa577,'apporbasic':_0x1a6d7b}),await createAddOrEdit({'moduleName':_0x1dd294,'controller':_0x259496,'tablestartUpShort':_0x2aed94,'tablestartUpShort2':_0x16f79b,'Primary':_0x474c75,'Fields':_0x4fa577,'apporbasic':_0x1a6d7b,'Comment':_0x509974},_0x2cd06a(0x1c8)),await createAddOrEdit({'moduleName':_0x1dd294,'controller':_0x259496,'tablestartUpShort':_0x2aed94,'tablestartUpShort2':_0x16f79b,'Primary':_0x474c75,'Fields':_0x4fa577,'apporbasic':_0x1a6d7b,'Comment':_0x509974},'edit');}async function createIndex({moduleName:_0x3488fd,controller:_0x48db2b,tablestartUpShort:_0x4eee2b,tablestartUpShort2:_0x30438e,Primary:_0xbfad88,Fields:_0x499cd5,apporbasic:_0x52b113}){const _0x50f9e9=a13_0x33b637;let _0x3ebf64=process['cwd']()+_0x50f9e9(0x230)+(typeof _0x48db2b=='string'?'/'+_0x48db2b:'');_0x3488fd?_0x3ebf64=_0x3ebf64+(_0x50f9e9(0x1fe)+_0x3488fd+_0x50f9e9(0x1ea)+_0x30438e+'/list/index.vue'):_0x3ebf64=_0x3ebf64+(_0x50f9e9(0x1d6)+_0x52b113+_0x50f9e9(0x1ea)+_0x30438e+'/list/index.vue');if(!fs[_0x50f9e9(0x21e)](_0x3ebf64)){const _0xb72e53=(typeof _0x3488fd==_0x50f9e9(0x200)?_0x50f9e9(0x1ae)+_0x3488fd+'.':'$'+_0x52b113+'Api.')+(''+_0x4eee2b);let _0x198ee7=_0x50f9e9(0x22f)+('\x22'+_0xbfad88['Field']+'\x22')[_0x50f9e9(0x1ee)](0x14)+(_0x50f9e9(0x1a2)+(_0xbfad88['Comment']||'编号')+_0x50f9e9(0x1c9));for(let _0x522f86 in _0x499cd5){const _0x30ebb7=_0x499cd5[_0x522f86];if([_0x50f9e9(0x1f2),'updated_at','deleted_at',_0x50f9e9(0x1fb)][_0x50f9e9(0x21c)](_0x522f86)!=-0x1)continue;if(_0x522f86['substr'](-0x3)==_0x50f9e9(0x1f9)||_0x522f86[_0x50f9e9(0x1f8)](-0x5)==_0x50f9e9(0x1b8)||_0x522f86==_0x50f9e9(0x1b8)||_0x522f86[_0x50f9e9(0x1f8)](-0x4)==_0x50f9e9(0x24f)||_0x522f86==_0x50f9e9(0x24f))_0x198ee7+='\x0a'+_0x50f9e9(0x1af)+_0x50f9e9(0x22f)+('\x22'+_0x522f86+'\x22')[_0x50f9e9(0x1ee)](0x14)+('\x20label=\x22'+(_0x30ebb7['Comment']||_0x30ebb7[_0x50f9e9(0x218)])+_0x50f9e9(0x1d3)),_0x198ee7+='\x0a'+_0x50f9e9(0x1de)+'<template\x20#default=\x22scope\x22>',_0x198ee7+='\x0a'+_0x50f9e9(0x202)+'<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0x198ee7+='\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'+(_0x50f9e9(0x1d2)+_0x522f86+_0x50f9e9(0x1b7)),_0x198ee7+='\x0a'+_0x50f9e9(0x251)+(_0x50f9e9(0x22e)+_0x522f86+_0x50f9e9(0x1e1)),_0x198ee7+='\x0a'+_0x50f9e9(0x241)+_0x50f9e9(0x1be),_0x198ee7+='\x0a'+_0x50f9e9(0x241)+_0x50f9e9(0x1a9),_0x198ee7+='\x0a'+_0x50f9e9(0x251)+(_0x50f9e9(0x22e)+_0x522f86+_0x50f9e9(0x1c1)),_0x198ee7+='\x0a'+_0x50f9e9(0x241)+_0x50f9e9(0x201),_0x198ee7+='\x0a'+_0x50f9e9(0x202)+'</el-popover>',_0x198ee7+='\x0a'+_0x50f9e9(0x1de)+_0x50f9e9(0x201),_0x198ee7+='\x0a'+_0x50f9e9(0x1af)+'</el-table-column>';else[_0x50f9e9(0x1ba),_0x50f9e9(0x209)]['indexOf']((0x0,helper_1['getProp'])(_0x30ebb7[_0x50f9e9(0x1a5)]))==-0x1&&(_0x198ee7+='\x0a'+_0x50f9e9(0x1af)+'<el-table-column\x20prop='+('\x22'+_0x522f86+'\x22')[_0x50f9e9(0x1ee)](0x14)+(_0x50f9e9(0x1a2)+(_0x30ebb7['Comment']||_0x30ebb7[_0x50f9e9(0x218)])+_0x50f9e9(0x242)));}fs['mkdirSync']((0x0,path_1['dirname'])(_0x3ebf64),{'recursive':!![]}),fs[_0x50f9e9(0x1ab)](_0x3ebf64,_0x50f9e9(0x1fd)+_0xb72e53+_0x50f9e9(0x210)+(_0x3488fd?_0x50f9e9(0x1fa)+_0x3488fd+'/':_0x52b113+'/')+_0x30438e+_0x50f9e9(0x243)+_0x198ee7+_0x50f9e9(0x245)+_0xb72e53+_0x50f9e9(0x255)+(_0x3488fd?'apps-'+_0x3488fd+'/':_0x52b113+'/')+_0x30438e+_0x50f9e9(0x21d)+_0xbfad88[_0x50f9e9(0x218)]+_0x50f9e9(0x252)+_0xbfad88[_0x50f9e9(0x218)]+_0x50f9e9(0x1b9)+_0xb72e53+_0x50f9e9(0x1b2)+_0xb72e53+_0x50f9e9(0x214)+_0xbfad88['Field']+_0x50f9e9(0x1e4)+_0xb72e53+_0x50f9e9(0x1da)+_0xbfad88[_0x50f9e9(0x218)]+_0x50f9e9(0x1f7)+_0xbfad88[_0x50f9e9(0x218)]+_0x50f9e9(0x1d7),_0x50f9e9(0x234));}}async function createSearch({moduleName:_0x5cc54c,tablestartUpShort2:_0x11f0e8,controller:_0x36458e,Primary:_0x240745,Fields:_0x44c8aa,apporbasic:_0x175338}){const _0xd2141f=a13_0x33b637;let _0x284025=process[_0xd2141f(0x223)]()+_0xd2141f(0x230)+(typeof _0x36458e=='string'?'/'+_0x36458e:'');_0x5cc54c?_0x284025=_0x284025+('/pages/apps/'+_0x5cc54c+_0xd2141f(0x1ea)+_0x11f0e8+_0xd2141f(0x205)):_0x284025=_0x284025+(_0xd2141f(0x1d6)+_0x175338+'/template/'+_0x11f0e8+'/list/components/search.vue');if(!fs[_0xd2141f(0x21e)](_0x284025)){let _0x26b09b='';_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x240745['Comment']||'编号')+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+(_0xd2141f(0x224)+_0x240745['Field']+_0xd2141f(0x254)+(_0x240745[_0xd2141f(0x1f1)]||'编号')+_0xd2141f(0x1e8)),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240);for(let _0x34b563 in _0x44c8aa){const _0x22a49b=_0x44c8aa[_0x34b563];if([_0xd2141f(0x20a),'deleted_at',_0xd2141f(0x1fb)]['indexOf'](_0x34b563)!=-0x1)continue;if(_0x34b563[_0xd2141f(0x1f8)](-0x3)==_0xd2141f(0x233))_0x26b09b+='\x0a'+_0xd2141f(0x238)+('<el-form-item\x20label=\x22'+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b[_0xd2141f(0x218)])+'\x22>'),_0x26b09b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xd2141f(0x24e)+_0x34b563+_0xd2141f(0x254)+_0x22a49b['Comment']+_0xd2141f(0x24d)),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a';else{if(_0x34b563[_0xd2141f(0x228)](_0xd2141f(0x1c6))){let _0x1095f8=''+(typeof _0x36458e==_0xd2141f(0x200)?_0x36458e+'/':'')+(_0x5cc54c?_0x5cc54c+'/':'')+_0x11f0e8;_0x26b09b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b['Field'])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x1cb)+(_0xd2141f(0x212)+_0x34b563+_0xd2141f(0x1fc)+_0x1095f8+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x22a49b[_0xd2141f(0x1a5)])){case'enum':_0x26b09b+='\x0a'+'\x20\x20\x20\x20'+(_0xd2141f(0x221)+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b[_0xd2141f(0x218)])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+('<el-select\x20v-model=\x22search.'+_0x34b563+'\x22\x20placeholder=\x22请选择'+_0x22a49b[_0xd2141f(0x1f1)]+'\x22\x20clearable>');for(let _0x2d5d4f of(0x0,helper_1['getEnum'])(_0x22a49b[_0xd2141f(0x1a5)])){_0x26b09b+='\x0a'+_0xd2141f(0x1cb)+('<el-option\x20label=\x22'+_0x2d5d4f+_0xd2141f(0x1d5)+_0x2d5d4f+_0xd2141f(0x1cd));}_0x26b09b+='\x0a'+_0xd2141f(0x247)+'</el-select>',_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a';break;case'date':_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x22a49b['Comment']||_0x22a49b[_0xd2141f(0x218)])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+(_0xd2141f(0x1bb)+_0x34b563+_0xd2141f(0x250)+_0x22a49b[_0xd2141f(0x1f1)]+'开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a',_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b[_0xd2141f(0x218)])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+(_0xd2141f(0x1bb)+_0x34b563+_0xd2141f(0x1c0)+_0x22a49b[_0xd2141f(0x1f1)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a';break;case _0xd2141f(0x1ce):_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x22a49b['Comment']||_0x22a49b['Field'])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+(_0xd2141f(0x1bb)+_0x34b563+_0xd2141f(0x250)+_0x22a49b['Comment']+_0xd2141f(0x1c7)),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a',_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b['Field'])+'\x22>'),_0x26b09b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xd2141f(0x1bb)+_0x34b563+_0xd2141f(0x1c0)+_0x22a49b[_0xd2141f(0x1f1)]+_0xd2141f(0x1b1)),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a';break;case _0xd2141f(0x226):_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b['Field'])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+(_0xd2141f(0x1bb)+_0x34b563+_0xd2141f(0x250)+_0x22a49b[_0xd2141f(0x1f1)]+_0xd2141f(0x1c7)),_0x26b09b+='\x0a'+_0xd2141f(0x238)+'</el-form-item>'+'\x0a',_0x26b09b+='\x0a'+_0xd2141f(0x238)+(_0xd2141f(0x221)+(_0x22a49b[_0xd2141f(0x1f1)]||_0x22a49b[_0xd2141f(0x218)])+'\x22>'),_0x26b09b+='\x0a'+_0xd2141f(0x247)+(_0xd2141f(0x1bb)+_0x34b563+_0xd2141f(0x1c0)+_0x22a49b['Comment']+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x26b09b+='\x0a'+_0xd2141f(0x238)+_0xd2141f(0x240)+'\x0a';break;case _0xd2141f(0x200):_0x26b09b+='\x0a'+_0xd2141f(0x238)+('<el-form-item\x20label=\x22'+(_0x22a49b['Comment']||_0x22a49b['Field'])+'\x22>'),_0x26b09b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xd2141f(0x224)+_0x34b563+'\x22\x20placeholder=\x22请输入'+_0x22a49b[_0xd2141f(0x1f1)]+'\x22\x20clearable/>'),_0x26b09b+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';}}}fs[_0xd2141f(0x1b4)]((0x0,path_1[_0xd2141f(0x248)])(_0x284025),{'recursive':!![]}),fs[_0xd2141f(0x1ab)](_0x284025,_0xd2141f(0x23a)+_0x26b09b+_0xd2141f(0x1ca),_0xd2141f(0x234));}}async function createAddOrEdit({moduleName:_0x3b85ec,controller:_0x445874,tablestartUpShort:_0x5b35c1,tablestartUpShort2:_0x14cfb4,Primary:_0x267af2,Fields:_0x4fe666,apporbasic:_0x54990a,Comment:_0x4c37b2},_0x313d9e='add'){const _0x4bfd37=a13_0x33b637;let _0x495215=process[_0x4bfd37(0x223)]()+_0x4bfd37(0x230)+(typeof _0x445874=='string'?'/'+_0x445874:'');_0x3b85ec?_0x495215=_0x495215+(_0x4bfd37(0x1fe)+_0x3b85ec+'/template/'+_0x14cfb4+'/'+_0x313d9e+'/index.vue'):_0x495215=_0x495215+(_0x4bfd37(0x1d6)+_0x54990a+_0x4bfd37(0x1ea)+_0x14cfb4+'/'+_0x313d9e+'/index.vue');if(!fs['existsSync'](_0x495215)){const _0x2836ad=(typeof _0x3b85ec==_0x4bfd37(0x200)?_0x4bfd37(0x1ae)+_0x3b85ec+'.':'$'+_0x54990a+_0x4bfd37(0x1e9))+(''+_0x5b35c1);let _0x481acb='';for(let _0x4675f6 in _0x4fe666){const _0x1793f3=_0x4fe666[_0x4675f6];if([_0x4bfd37(0x1f2),_0x4bfd37(0x20a),'deleted_at','displayorder']['indexOf'](_0x4675f6)!=-0x1)continue;if(_0x4675f6[_0x4bfd37(0x1f8)](-0x4)=='imgs'||_0x4675f6['substr'](-0x5)==_0x4bfd37(0x1c5))_0x481acb+='\x0a'+_0x4bfd37(0x247)+('<el-form-item\x20label=\x22'+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+'\x22\x20prop=\x22'+_0x4675f6+_0x4bfd37(0x1cf)),_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x203)+_0x4675f6+_0x4bfd37(0x1db)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+'</el-form-item>'+'\x0a';else{if(_0x4675f6[_0x4bfd37(0x1f8)](-0x3)==_0x4bfd37(0x1f9)||_0x4675f6[_0x4bfd37(0x1f8)](-0x5)=='thumb'||_0x4675f6==_0x4bfd37(0x1b8)||_0x4675f6[_0x4bfd37(0x1f8)](-0x4)=='logo'||_0x4675f6==_0x4bfd37(0x24f))_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3['Field'])+_0x4bfd37(0x1ed)+_0x4675f6+_0x4bfd37(0x1cf)),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+('<page-images\x20v-model=\x22formdata.'+_0x4675f6+_0x4bfd37(0x220)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';else{if(_0x4675f6['substr'](-0x4)==_0x4bfd37(0x23d))_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x1ec)+_0x4675f6+'\x22\x20placeholder=\x22请输入或选择'+_0x1793f3[_0x4bfd37(0x1f1)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';else{if(_0x4675f6[_0x4bfd37(0x1f8)](-0x3)==_0x4bfd37(0x233))_0x481acb+='\x0a'+_0x4bfd37(0x247)+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x24b)+_0x4675f6+_0x4bfd37(0x254)+_0x1793f3['Comment']+_0x4bfd37(0x20b)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';else{if(_0x4675f6[_0x4bfd37(0x1f8)](-0x4)=='_ids')_0x481acb+='\x0a'+_0x4bfd37(0x247)+('<el-form-item\x20label=\x22'+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3['Field'])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+('<el-input\x20v-model=\x22formdata.'+_0x4675f6+_0x4bfd37(0x254)+_0x1793f3['Comment']+'\x22\x20clearable/>'),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';else{if(_0x4675f6[_0x4bfd37(0x1f8)](-0x3)==_0x4bfd37(0x1c6)){let _0x5577f4=''+(typeof _0x445874==_0x4bfd37(0x200)?_0x445874+'/':'')+(_0x3b85ec?_0x3b85ec+'/':'')+_0x14cfb4;_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x221)+(_0x1793f3['Comment']||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x208)+_0x4675f6+'\x22\x20api=\x22'+_0x5577f4+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x481acb+='\x0a'+_0x4bfd37(0x247)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x1793f3['Type'])){case _0x4bfd37(0x1f0):_0x481acb+='\x0a'+_0x4bfd37(0x247)+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3['Field'])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x24b)+_0x4675f6+_0x4bfd37(0x254)+_0x1793f3[_0x4bfd37(0x1f1)]+_0x4bfd37(0x20e)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';break;case _0x4bfd37(0x25a):_0x481acb+='\x0a'+_0x4bfd37(0x247)+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3['Field'])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x1d9)+_0x4675f6+'\x22\x20placeholder=\x22请选择'+_0x1793f3[_0x4bfd37(0x1f1)]+_0x4bfd37(0x25c));for(let _0x1dd9f5 of(0x0,helper_1[_0x4bfd37(0x217)])(_0x1793f3['Type'])){_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x207)+_0x1dd9f5+_0x4bfd37(0x1d5)+_0x1dd9f5+_0x4bfd37(0x1cd));}_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+_0x4bfd37(0x1e0),_0x481acb+='\x0a'+_0x4bfd37(0x247)+'</el-form-item>'+'\x0a';break;case _0x4bfd37(0x1ba):_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+'\x22\x20prop=\x22'+_0x4675f6+_0x4bfd37(0x1cf)),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x227)+_0x4675f6+'\x22\x20\x20placeholder=\x22请输入'+_0x1793f3['Comment']+_0x4bfd37(0x1d8)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';break;case'longtext':_0x481acb+='\x0a'+_0x4bfd37(0x247)+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22\x20class=\x22block\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+('<page-editor\x20v-model=\x22formdata.'+_0x4675f6+'\x22\x20/>'),_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4bfd37(0x240)+'\x0a';break;case _0x4bfd37(0x1d1):_0x481acb+='\x0a'+_0x4bfd37(0x247)+('<el-form-item\x20label=\x22'+(_0x1793f3['Comment']||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22\x20class=\x22block\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+('<page-editor\x20v-model=\x22formdata.'+_0x4675f6+_0x4bfd37(0x1cd)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';break;case _0x4bfd37(0x249):_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+'\x22\x20prop=\x22'+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x21a)+_0x4675f6+'\x22\x20placeholder=\x22选择'+_0x1793f3[_0x4bfd37(0x1f1)]+_0x4bfd37(0x1b6)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';break;case'datetime':_0x481acb+='\x0a'+_0x4bfd37(0x247)+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+'\x22\x20prop=\x22'+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x21a)+_0x4675f6+_0x4bfd37(0x1e5)+_0x1793f3[_0x4bfd37(0x1f1)]+_0x4bfd37(0x1f4)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';break;case'timestamp':_0x481acb+='\x0a'+_0x4bfd37(0x247)+(_0x4bfd37(0x221)+(_0x1793f3['Comment']||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+('<el-date-picker\x20v-model=\x22formdata.'+_0x4675f6+_0x4bfd37(0x1e5)+_0x1793f3[_0x4bfd37(0x1f1)]+_0x4bfd37(0x1f4)),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';break;default:_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4bfd37(0x221)+(_0x1793f3[_0x4bfd37(0x1f1)]||_0x1793f3[_0x4bfd37(0x218)])+_0x4bfd37(0x1ed)+_0x4675f6+'\x22>'),_0x481acb+='\x0a'+_0x4bfd37(0x1cb)+(_0x4bfd37(0x227)+_0x4675f6+'\x22\x20placeholder=\x22请输入'+_0x1793f3[_0x4bfd37(0x1f1)]+'\x22\x20clearable/>'),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';}}}}}}}_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x1dd),_0x481acb+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4bfd37(0x237),_0x481acb+='\x0a'+_0x4bfd37(0x247)+_0x4bfd37(0x240)+'\x0a';let _0x478ac1=_0x4bfd37(0x22a);_0x478ac1+='\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22'+(_0x313d9e=='add'?'添加'+_0x4c37b2:'编辑'+_0x4c37b2)+_0x4bfd37(0x1eb)+_0x2836ad+'.'+(_0x313d9e==_0x4bfd37(0x1c8)?_0x4bfd37(0x1c8):_0x4bfd37(0x231))+_0x4bfd37(0x1d4),_0x478ac1+=_0x4bfd37(0x247)+_0x481acb+'\x0a',_0x478ac1+=_0x4bfd37(0x204),_0x478ac1+=_0x4bfd37(0x1c3)+_0x2836ad+'.'+(_0x313d9e==_0x4bfd37(0x1c8)?'add':'edit')+_0x4bfd37(0x1ef),_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x478ac1+=_0x4bfd37(0x23c),_0x478ac1+=_0x4bfd37(0x25d),_0x478ac1+='<script>\x0a';if(_0x313d9e==_0x4bfd37(0x1c8))_0x478ac1+='import\x20{\x20'+_0x5b35c1+_0x4bfd37(0x1bc)+(_0x3b85ec?_0x4bfd37(0x1ad)+_0x3b85ec:_0x54990a)+_0x4bfd37(0x219)+_0x5b35c1+_0x4bfd37(0x20c);else _0x313d9e==_0x4bfd37(0x231)&&(_0x478ac1+=_0x4bfd37(0x216)+_0x5b35c1+_0x4bfd37(0x1c2)+(_0x3b85ec?_0x4bfd37(0x1ad)+_0x3b85ec:_0x54990a)+_0x4bfd37(0x219)+_0x5b35c1+_0x4bfd37(0x1aa));_0x478ac1+='export\x20default\x20{\x0a',_0x478ac1+=_0x4bfd37(0x244),_0x478ac1+=_0x4bfd37(0x1ff),_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a',_0x478ac1+=_0x4bfd37(0x20f);if(_0x313d9e==_0x4bfd37(0x1c8))_0x478ac1+=_0x4bfd37(0x24c)+_0x5b35c1+_0x4bfd37(0x213);else _0x313d9e=='edit'&&(_0x478ac1+=_0x4bfd37(0x24c)+_0x5b35c1+'EditRule,\x0a');_0x478ac1+=_0x4bfd37(0x1df),_0x478ac1+=_0x4bfd37(0x1bf),_0x313d9e==_0x4bfd37(0x231)&&(_0x478ac1+=_0x4bfd37(0x225),_0x478ac1+=_0x4bfd37(0x232)+_0x267af2[_0x4bfd37(0x218)]+_0x4bfd37(0x1cc),_0x478ac1+=_0x4bfd37(0x1bf)),_0x478ac1+=_0x4bfd37(0x1e3),_0x478ac1+=_0x4bfd37(0x1e2),_0x478ac1+=_0x4bfd37(0x1b3),_0x478ac1+=_0x4bfd37(0x1bd),_0x478ac1+=_0x4bfd37(0x258),_0x478ac1+=_0x4bfd37(0x246),_0x478ac1+=_0x4bfd37(0x206),_0x478ac1+=_0x4bfd37(0x1f3),_0x478ac1+=_0x4bfd37(0x256)+_0x2836ad+'.'+(_0x313d9e==_0x4bfd37(0x1c8)?_0x4bfd37(0x1c8):_0x4bfd37(0x231))+_0x4bfd37(0x22c),_0x478ac1+=_0x4bfd37(0x1b5),_0x478ac1+=_0x4bfd37(0x229),_0x478ac1+=_0x4bfd37(0x1f6),_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x478ac1+=_0x4bfd37(0x1ac),_0x313d9e==_0x4bfd37(0x231)&&(_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x478ac1+=_0x4bfd37(0x20d),_0x478ac1+=_0x4bfd37(0x258),_0x478ac1+=_0x4bfd37(0x21f)+_0x267af2[_0x4bfd37(0x218)]+_0x4bfd37(0x22b),_0x478ac1+=_0x4bfd37(0x1a3)+_0x267af2[_0x4bfd37(0x218)]+_0x4bfd37(0x22b),_0x478ac1+=_0x4bfd37(0x21b),_0x478ac1+=_0x4bfd37(0x256)+_0x2836ad+_0x4bfd37(0x239)+_0x267af2[_0x4bfd37(0x218)]+_0x4bfd37(0x25b),_0x478ac1+='\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',_0x478ac1+=_0x4bfd37(0x253),_0x478ac1+=_0x4bfd37(0x23f),_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x478ac1+=_0x4bfd37(0x1e7),_0x478ac1+=_0x4bfd37(0x1c4),_0x478ac1+=_0x4bfd37(0x1dc),_0x478ac1+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'),_0x478ac1+=_0x4bfd37(0x1bf),_0x478ac1+='}\x0a',_0x478ac1+=_0x4bfd37(0x1a4),fs[_0x4bfd37(0x1b4)]((0x0,path_1['dirname'])(_0x495215),{'recursive':!![]}),fs[_0x4bfd37(0x1ab)](_0x495215,_0x478ac1,'utf-8');}}
1
+ const a13_0x5ca5a5=a13_0x23d3;(function(_0x52cdee,_0x231a7c){const _0x5d9626=a13_0x23d3,_0x440dfc=_0x52cdee();while(!![]){try{const _0xb1c26a=-parseInt(_0x5d9626(0x271))/0x1+parseInt(_0x5d9626(0x245))/0x2+parseInt(_0x5d9626(0x269))/0x3*(-parseInt(_0x5d9626(0x27b))/0x4)+-parseInt(_0x5d9626(0x21a))/0x5+parseInt(_0x5d9626(0x212))/0x6*(-parseInt(_0x5d9626(0x22d))/0x7)+parseInt(_0x5d9626(0x265))/0x8+parseInt(_0x5d9626(0x1ec))/0x9;if(_0xb1c26a===_0x231a7c)break;else _0x440dfc['push'](_0x440dfc['shift']());}catch(_0x227a7b){_0x440dfc['push'](_0x440dfc['shift']());}}}(a13_0x4902,0xc8216));const a13_0x1154da=(function(){let _0x1b6594=!![];return function(_0x2c57ef,_0x8893ee){const _0x36f2c3=_0x1b6594?function(){if(_0x8893ee){const _0xa20b09=_0x8893ee['apply'](_0x2c57ef,arguments);return _0x8893ee=null,_0xa20b09;}}:function(){};return _0x1b6594=![],_0x36f2c3;};}()),a13_0x20b193=a13_0x1154da(this,function(){const _0xe4eabf=a13_0x23d3;return a13_0x20b193[_0xe4eabf(0x28f)]()['search'](_0xe4eabf(0x1f1))[_0xe4eabf(0x28f)]()['constructor'](a13_0x20b193)[_0xe4eabf(0x258)]('(((.+)+)+)+$');});function a13_0x4902(){const _0x49cc99=['mediumtext','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','/pages/','_ids','2852308ddGaWj','created_at','\x22\x20:limit=\x225\x22\x20/>','utf-8','\x22\x20placeholder=\x22请输入或选择','<el-select-search\x20v-model=\x22formdata.','export\x20default\x20{\x0a','apps/','string','Type','tags','padEnd','(item).then(res=>{\x0a','\x20\x20\x20\x20methods:\x20{\x0a','\x22\x20prop=\x22','<el-option\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','existsSync','\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','search','mkdirSync','substr','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a','</script>\x0a','<el-input\x20v-model=\x22search.','/pages/apps/','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','<el-select\x20v-model=\x22formdata.','/list/index.vue','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20','6426856FUJtRb','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','EditRule\x20}\x20from\x20\x27@','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','3079065NGmeOA','__esModule','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','<template>\x0a\x20\x20\x20\x20','/index.vue','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','=${scope.row.','<script>\x0a','146556OiOIzz','\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','</el-form-item>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','</el-select>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','Api.',':\x20item.','\x22\x20/>','4zfeVWT','cwd','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','enum','thumb','timestamp','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>','\x22\x20value=\x22','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','_start\x22\x20placeholder=\x22选择','dirname','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','datetime','indexOf','\x20\x20\x20\x20},\x0a','updated_at','</template>\x0a','</template>','<template>\x0a','toString','.detail({\x20','edit','/add\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','defineProperty','path','/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','endsWith','\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','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20mounted(){\x0a','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','\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}\x0a','5392836xLaLyv','_id','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','(((.+)+)+)+$','\x22\x20class=\x22block\x22>','img','date','$appsApi.','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','<el-select-tags\x20v-model=\x22formdata.','<el-date-picker\x20v-model=\x22search.','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','<page-images\x20v-model=\x22formdata.','<img\x20:src=\x22scope.row.','<el-input-number\x20v-model=\x22search.','</a>','add','\x20}).then(res=>{\x0a','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20this.$router.back();\x0a','\x22\x20placeholder=\x22选择','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x22\x20placeholder=\x22请选择','deleted_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','apps-','<el-form-item\x20label=\x22','.remove({\x20','displayorder','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x22\x20api=\x22','logo','48216OjipOc',');\x0a','\x22\x20clearable>','.hasPrem()\x22>\x0a','\x22\x20:limit=\x221\x22\x20/>','getProp','<el-input\x20v-model=\x22formdata.','\x22\x20split=\x22-\x22\x20clearable/>','2653510HmCqVw','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','\x22\x20placeholder=\x22请输入','\x20label=\x22','default','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x20\x20\x20\x20data(){\x0a','/list/components/search.vue','Comment','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Field','/vue','<el-input-number\x20v-model=\x22formdata.','writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','/validators/','266AdMAcS','imgs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x22\x20clearable/>','<template\x20#reference>','thumbs',')\x20{\x0a','<el-select\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','<el-date-picker\x20v-model=\x22formdata.','<el-table-column\x20prop=','text','\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','getEnum','\x20\x20\x20\x20','/template/','num'];a13_0x4902=function(){return _0x49cc99;};return a13_0x4902();}a13_0x20b193();'use strict';Object[a13_0x5ca5a5(0x294)](exports,a13_0x5ca5a5(0x26a),{'value':!![]}),exports[a13_0x5ca5a5(0x21f)]=default_1;const fs=require('fs'),path_1=require(a13_0x5ca5a5(0x295)),helper_1=require('../helper');async function default_1({moduleName:_0x5a3783,controller:_0xf2a4c2,tablestartUpShort:_0x54a131,tablestartUpShort2:_0x29ce1e,Primary:_0x95844f,Fields:_0x18fc7f,apporbasic:_0x5f11e0,Comment:_0x21396d}){const _0x5cced2=a13_0x5ca5a5;await createIndex({'moduleName':_0x5a3783,'controller':_0xf2a4c2,'tablestartUpShort':_0x54a131,'tablestartUpShort2':_0x29ce1e,'Primary':_0x95844f,'Fields':_0x18fc7f,'apporbasic':_0x5f11e0}),await createSearch({'moduleName':_0x5a3783,'controller':_0xf2a4c2,'tablestartUpShort2':_0x29ce1e,'Primary':_0x95844f,'Fields':_0x18fc7f,'apporbasic':_0x5f11e0}),await createAddOrEdit({'moduleName':_0x5a3783,'controller':_0xf2a4c2,'tablestartUpShort':_0x54a131,'tablestartUpShort2':_0x29ce1e,'Primary':_0x95844f,'Fields':_0x18fc7f,'apporbasic':_0x5f11e0,'Comment':_0x21396d},_0x5cced2(0x200)),await createAddOrEdit({'moduleName':_0x5a3783,'controller':_0xf2a4c2,'tablestartUpShort':_0x54a131,'tablestartUpShort2':_0x29ce1e,'Primary':_0x95844f,'Fields':_0x18fc7f,'apporbasic':_0x5f11e0,'Comment':_0x21396d},_0x5cced2(0x291));}function a13_0x23d3(_0x4b964c,_0x36ac72){const _0x1dfc2b=a13_0x4902();return a13_0x23d3=function(_0x20b193,_0x1154da){_0x20b193=_0x20b193-0x1e7;let _0x490231=_0x1dfc2b[_0x20b193];return _0x490231;},a13_0x23d3(_0x4b964c,_0x36ac72);}async function createIndex({moduleName:_0x370a65,controller:_0x5e3330,tablestartUpShort:_0x258727,tablestartUpShort2:_0x10c274,Primary:_0x1bed2a,Fields:_0xcdc340,apporbasic:_0x40bec9}){const _0xecea=a13_0x5ca5a5;let _0x1803a0=process[_0xecea(0x27c)]()+_0xecea(0x227)+(typeof _0x5e3330==_0xecea(0x24d)?'/'+_0x5e3330:'');_0x370a65?_0x1803a0=_0x1803a0+(_0xecea(0x25e)+_0x370a65+_0xecea(0x23e)+_0x10c274+_0xecea(0x262)):_0x1803a0=_0x1803a0+(_0xecea(0x243)+_0x40bec9+_0xecea(0x23e)+_0x10c274+_0xecea(0x262));if(!fs[_0xecea(0x256)](_0x1803a0)){const _0x2a1add=(typeof _0x370a65==_0xecea(0x24d)?'$appsApi.'+_0x370a65+'.':'$'+_0x40bec9+'Api.')+(''+_0x258727);let _0xc21271='<el-table-column\x20prop='+('\x22'+_0x1bed2a[_0xecea(0x226)]+'\x22')['padEnd'](0x14)+('\x20label=\x22'+(_0x1bed2a[_0xecea(0x223)]||'编号')+_0xecea(0x1fb));for(let _0x1727f in _0xcdc340){const _0x2ced72=_0xcdc340[_0x1727f];if(['created_at',_0xecea(0x28b),_0xecea(0x208),_0xecea(0x20d)]['indexOf'](_0x1727f)!=-0x1)continue;if(_0x1727f['substr'](-0x3)==_0xecea(0x1f3)||_0x1727f[_0xecea(0x25a)](-0x5)==_0xecea(0x27f)||_0x1727f==_0xecea(0x27f)||_0x1727f[_0xecea(0x25a)](-0x4)==_0xecea(0x211)||_0x1727f==_0xecea(0x211))_0xc21271+='\x0a'+_0xecea(0x1ef)+_0xecea(0x239)+('\x22'+_0x1727f+'\x22')[_0xecea(0x250)](0x14)+(_0xecea(0x21e)+(_0x2ced72[_0xecea(0x223)]||_0x2ced72[_0xecea(0x226)])+_0xecea(0x242)),_0xc21271+='\x0a'+_0xecea(0x225)+'<template\x20#default=\x22scope\x22>',_0xc21271+='\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'+_0xecea(0x266),_0xc21271+='\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'+('<a\x20:href=\x22scope.row.'+_0x1727f+_0xecea(0x1f6)),_0xc21271+='\x0a'+_0xecea(0x299)+(_0xecea(0x1fd)+_0x1727f+_0xecea(0x202)),_0xc21271+='\x0a'+_0xecea(0x1ee)+_0xecea(0x1ff),_0xc21271+='\x0a'+_0xecea(0x1ee)+_0xecea(0x233),_0xc21271+='\x0a'+_0xecea(0x299)+(_0xecea(0x1fd)+_0x1727f+'\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>'),_0xc21271+='\x0a'+_0xecea(0x1ee)+_0xecea(0x28d),_0xc21271+='\x0a'+_0xecea(0x230)+'</el-popover>',_0xc21271+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xecea(0x28d),_0xc21271+='\x0a'+_0xecea(0x1ef)+'</el-table-column>';else[_0xecea(0x23a),'longtext'][_0xecea(0x289)]((0x0,helper_1[_0xecea(0x217)])(_0x2ced72[_0xecea(0x24e)]))==-0x1&&(_0xc21271+='\x0a'+_0xecea(0x1ef)+'<el-table-column\x20prop='+('\x22'+_0x1727f+'\x22')[_0xecea(0x250)](0x14)+('\x20label=\x22'+(_0x2ced72[_0xecea(0x223)]||_0x2ced72[_0xecea(0x226)])+'\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>'));}fs['mkdirSync']((0x0,path_1['dirname'])(_0x1803a0),{'recursive':!![]}),fs['writeFileSync'](_0x1803a0,'<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'+_0x2a1add+_0xecea(0x1f9)+(_0x370a65?_0xecea(0x20a)+_0x370a65+'/':_0x40bec9+'/')+_0x10c274+_0xecea(0x296)+_0xc21271+_0xecea(0x277)+_0x2a1add+_0xecea(0x268)+(_0x370a65?'apps-'+_0x370a65+'/':_0x40bec9+'/')+_0x10c274+'/edit?'+_0x1bed2a[_0xecea(0x226)]+_0xecea(0x26f)+_0x1bed2a[_0xecea(0x226)]+'}`)\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'+_0x2a1add+'.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.'+_0x2a1add+'.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.'+_0x1bed2a[_0xecea(0x226)]+'\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.'+_0x2a1add+_0xecea(0x20c)+_0x1bed2a['Field']+_0xecea(0x279)+_0x1bed2a['Field']+_0xecea(0x281),'utf-8');}}async function createSearch({moduleName:_0x11df83,tablestartUpShort2:_0x205b49,controller:_0xde21b0,Primary:_0x25bd52,Fields:_0x544db7,apporbasic:_0x38abf4}){const _0x1245c7=a13_0x5ca5a5;let _0x544d5c=process[_0x1245c7(0x27c)]()+_0x1245c7(0x227)+(typeof _0xde21b0==_0x1245c7(0x24d)?'/'+_0xde21b0:'');_0x11df83?_0x544d5c=_0x544d5c+(_0x1245c7(0x25e)+_0x11df83+_0x1245c7(0x23e)+_0x205b49+'/list/components/search.vue'):_0x544d5c=_0x544d5c+('/pages/'+_0x38abf4+_0x1245c7(0x23e)+_0x205b49+_0x1245c7(0x222));if(!fs[_0x1245c7(0x256)](_0x544d5c)){let _0x1f5b6e='';_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x25bd52['Comment']||'编号')+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+(_0x1245c7(0x25d)+_0x25bd52[_0x1245c7(0x226)]+_0x1245c7(0x21d)+(_0x25bd52[_0x1245c7(0x223)]||'编号')+'\x22\x20clearable/>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273);for(let _0x504aaa in _0x544db7){const _0x1838b7=_0x544db7[_0x504aaa];if([_0x1245c7(0x28b),'deleted_at',_0x1245c7(0x20d)][_0x1245c7(0x289)](_0x504aaa)!=-0x1)continue;if(_0x504aaa['substr'](-0x3)==_0x1245c7(0x23f))_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7['Comment']||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+(_0x1245c7(0x1fe)+_0x504aaa+_0x1245c7(0x21d)+_0x1838b7[_0x1245c7(0x223)]+_0x1245c7(0x205)),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273)+'\x0a';else{if(_0x504aaa[_0x1245c7(0x298)](_0x1245c7(0x1ed))){let _0x5ce375=''+(typeof _0xde21b0=='string'?_0xde21b0+'/':'')+(_0x11df83?_0x11df83+'/':'')+_0x205b49;_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x22a)+('<el-select-search\x20v-model=\x22search.'+_0x504aaa+'\x22\x20api=\x22'+_0x5ce375+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0x1245c7(0x217)])(_0x1838b7[_0x1245c7(0x24e)])){case'enum':_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1245c7(0x236)+_0x504aaa+_0x1245c7(0x207)+_0x1838b7['Comment']+_0x1245c7(0x214));for(let _0x189fe8 of(0x0,helper_1[_0x1245c7(0x23c)])(_0x1838b7['Type'])){_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1245c7(0x254)+_0x189fe8+_0x1245c7(0x282)+_0x189fe8+'\x22\x20/>');}_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+_0x1245c7(0x275),_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x1245c7(0x1f4):_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+('<el-form-item\x20label=\x22'+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7['Field'])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+('<el-date-picker\x20v-model=\x22search.'+_0x504aaa+_0x1245c7(0x284)+_0x1838b7[_0x1245c7(0x223)]+_0x1245c7(0x297)),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273)+'\x0a',_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+(_0x1245c7(0x1f8)+_0x504aaa+'_end\x22\x20placeholder=\x22选择'+_0x1838b7[_0x1245c7(0x223)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273)+'\x0a';break;case _0x1245c7(0x288):_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1245c7(0x1f8)+_0x504aaa+_0x1245c7(0x284)+_0x1838b7[_0x1245c7(0x223)]+_0x1245c7(0x1e7)),_0x1f5b6e+='\x0a'+'\x20\x20\x20\x20'+_0x1245c7(0x273)+'\x0a',_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7['Field'])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+(_0x1245c7(0x1f8)+_0x504aaa+'_end\x22\x20placeholder=\x22选择'+_0x1838b7[_0x1245c7(0x223)]+_0x1245c7(0x241)),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273)+'\x0a';break;case'timestamp':_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7['Comment']||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+(_0x1245c7(0x1f8)+_0x504aaa+_0x1245c7(0x284)+_0x1838b7['Comment']+_0x1245c7(0x1e7)),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273)+'\x0a',_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7[_0x1245c7(0x223)]||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+(_0x1245c7(0x1f8)+_0x504aaa+'_end\x22\x20placeholder=\x22选择'+_0x1838b7[_0x1245c7(0x223)]+_0x1245c7(0x241)),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+_0x1245c7(0x273)+'\x0a';break;case'string':_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+(_0x1245c7(0x20b)+(_0x1838b7['Comment']||_0x1838b7[_0x1245c7(0x226)])+'\x22>'),_0x1f5b6e+='\x0a'+_0x1245c7(0x264)+('<el-input\x20v-model=\x22search.'+_0x504aaa+_0x1245c7(0x21d)+_0x1838b7[_0x1245c7(0x223)]+_0x1245c7(0x232)),_0x1f5b6e+='\x0a'+_0x1245c7(0x23d)+'</el-form-item>'+'\x0a';}}}fs[_0x1245c7(0x259)]((0x0,path_1[_0x1245c7(0x285)])(_0x544d5c),{'recursive':!![]}),fs[_0x1245c7(0x229)](_0x544d5c,_0x1245c7(0x26c)+_0x1f5b6e+_0x1245c7(0x25f),_0x1245c7(0x248));}}async function createAddOrEdit({moduleName:_0x4569d1,controller:_0x535417,tablestartUpShort:_0x1a9c74,tablestartUpShort2:_0xaf6984,Primary:_0x27107a,Fields:_0x547fd3,apporbasic:_0x11c15f,Comment:_0x13e66b},_0x7b394b=a13_0x5ca5a5(0x200)){const _0x4f6bd3=a13_0x5ca5a5;let _0x143ec6=process[_0x4f6bd3(0x27c)]()+_0x4f6bd3(0x227)+(typeof _0x535417==_0x4f6bd3(0x24d)?'/'+_0x535417:'');_0x4569d1?_0x143ec6=_0x143ec6+(_0x4f6bd3(0x25e)+_0x4569d1+'/template/'+_0xaf6984+'/'+_0x7b394b+_0x4f6bd3(0x26d)):_0x143ec6=_0x143ec6+(_0x4f6bd3(0x243)+_0x11c15f+'/template/'+_0xaf6984+'/'+_0x7b394b+'/index.vue');if(!fs['existsSync'](_0x143ec6)){const _0x418192=(typeof _0x4569d1==_0x4f6bd3(0x24d)?_0x4f6bd3(0x1f5)+_0x4569d1+'.':'$'+_0x11c15f+_0x4f6bd3(0x278))+(''+_0x1a9c74);let _0x46db7e='';for(let _0x32c391 in _0x547fd3){const _0x1e6687=_0x547fd3[_0x32c391];if([_0x4f6bd3(0x246),_0x4f6bd3(0x28b),_0x4f6bd3(0x208),_0x4f6bd3(0x20d)]['indexOf'](_0x32c391)!=-0x1)continue;if(_0x32c391[_0x4f6bd3(0x25a)](-0x4)==_0x4f6bd3(0x22e)||_0x32c391[_0x4f6bd3(0x25a)](-0x5)==_0x4f6bd3(0x234))_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+_0x4f6bd3(0x1f2)),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4f6bd3(0x1fc)+_0x32c391+_0x4f6bd3(0x247)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';else{if(_0x32c391[_0x4f6bd3(0x25a)](-0x3)=='img'||_0x32c391[_0x4f6bd3(0x25a)](-0x5)=='thumb'||_0x32c391==_0x4f6bd3(0x27f)||_0x32c391[_0x4f6bd3(0x25a)](-0x4)=='logo'||_0x32c391==_0x4f6bd3(0x211))_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687[_0x4f6bd3(0x226)])+_0x4f6bd3(0x253)+_0x32c391+'\x22\x20class=\x22block\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x1fc)+_0x32c391+_0x4f6bd3(0x216)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';else{if(_0x32c391[_0x4f6bd3(0x25a)](-0x4)==_0x4f6bd3(0x24f))_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4f6bd3(0x20b)+(_0x1e6687['Comment']||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x1f7)+_0x32c391+_0x4f6bd3(0x249)+_0x1e6687[_0x4f6bd3(0x223)]+_0x4f6bd3(0x219)),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4f6bd3(0x273)+'\x0a';else{if(_0x32c391[_0x4f6bd3(0x25a)](-0x3)=='num')_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+('<el-form-item\x20label=\x22'+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687[_0x4f6bd3(0x226)])+'\x22\x20prop=\x22'+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x228)+_0x32c391+'\x22\x20placeholder=\x22请输入'+_0x1e6687[_0x4f6bd3(0x223)]+_0x4f6bd3(0x206)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';else{if(_0x32c391[_0x4f6bd3(0x25a)](-0x4)==_0x4f6bd3(0x244))_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687['Comment']||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4f6bd3(0x218)+_0x32c391+_0x4f6bd3(0x21d)+_0x1e6687['Comment']+_0x4f6bd3(0x232)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';else{if(_0x32c391[_0x4f6bd3(0x25a)](-0x3)==_0x4f6bd3(0x1ed)){let _0x19314f=''+(typeof _0x535417=='string'?_0x535417+'/':'')+(_0x4569d1?_0x4569d1+'/':'')+_0xaf6984;_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687[_0x4f6bd3(0x226)])+'\x22\x20prop=\x22'+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4f6bd3(0x24a)+_0x32c391+_0x4f6bd3(0x210)+_0x19314f+_0x4f6bd3(0x263)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x1e6687[_0x4f6bd3(0x24e)])){case'number':_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687['Comment']||_0x1e6687[_0x4f6bd3(0x226)])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+('<el-input-number\x20v-model=\x22formdata.'+_0x32c391+_0x4f6bd3(0x21d)+_0x1e6687[_0x4f6bd3(0x223)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';break;case _0x4f6bd3(0x27e):_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687[_0x4f6bd3(0x226)])+'\x22\x20prop=\x22'+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x261)+_0x32c391+_0x4f6bd3(0x207)+_0x1e6687[_0x4f6bd3(0x223)]+_0x4f6bd3(0x214));for(let _0x556453 of(0x0,helper_1[_0x4f6bd3(0x23c)])(_0x1e6687[_0x4f6bd3(0x24e)])){_0x46db7e+='\x0a'+_0x4f6bd3(0x1ef)+(_0x4f6bd3(0x254)+_0x556453+_0x4f6bd3(0x282)+_0x556453+'\x22\x20/>');}_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+_0x4f6bd3(0x275),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';break;case _0x4f6bd3(0x23a):_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687['Comment']||_0x1e6687[_0x4f6bd3(0x226)])+_0x4f6bd3(0x253)+_0x32c391+'\x22\x20class=\x22block\x22>'),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x32c391+'\x22\x20\x20placeholder=\x22请输入'+_0x1e6687['Comment']+_0x4f6bd3(0x231)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+'</el-form-item>'+'\x0a';break;case'longtext':_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+('<el-form-item\x20label=\x22'+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+_0x4f6bd3(0x1f2)),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<page-editor\x20v-model=\x22formdata.'+_0x32c391+'\x22\x20/>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+'</el-form-item>'+'\x0a';break;case _0x4f6bd3(0x240):_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4f6bd3(0x20b)+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+_0x4f6bd3(0x1f2)),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<page-editor\x20v-model=\x22formdata.'+_0x32c391+_0x4f6bd3(0x27a)),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4f6bd3(0x273)+'\x0a';break;case _0x4f6bd3(0x1f4):_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+('<el-form-item\x20label=\x22'+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4f6bd3(0x238)+_0x32c391+_0x4f6bd3(0x204)+_0x1e6687[_0x4f6bd3(0x223)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4f6bd3(0x273)+'\x0a';break;case _0x4f6bd3(0x288):_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687['Comment']||_0x1e6687[_0x4f6bd3(0x226)])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x238)+_0x32c391+_0x4f6bd3(0x204)+_0x1e6687['Comment']+_0x4f6bd3(0x276)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';break;case _0x4f6bd3(0x280):_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+(_0x4f6bd3(0x20b)+(_0x1e6687[_0x4f6bd3(0x223)]||_0x1e6687[_0x4f6bd3(0x226)])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x238)+_0x32c391+'\x22\x20placeholder=\x22选择'+_0x1e6687[_0x4f6bd3(0x223)]+_0x4f6bd3(0x276)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';break;default:_0x46db7e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x1e6687['Comment']||_0x1e6687['Field'])+_0x4f6bd3(0x253)+_0x32c391+'\x22>'),_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+(_0x4f6bd3(0x218)+_0x32c391+_0x4f6bd3(0x21d)+_0x1e6687[_0x4f6bd3(0x223)]+_0x4f6bd3(0x232)),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+'</el-form-item>'+'\x0a';}}}}}}}_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x46db7e+='\x0a'+_0x4f6bd3(0x22a)+_0x4f6bd3(0x1e9),_0x46db7e+='\x0a'+_0x4f6bd3(0x264)+_0x4f6bd3(0x273)+'\x0a';let _0x920220=_0x4f6bd3(0x28e);_0x920220+=_0x4f6bd3(0x283)+(_0x7b394b==_0x4f6bd3(0x200)?'添加'+_0x13e66b:'编辑'+_0x13e66b)+'\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!'+_0x418192+'.'+(_0x7b394b==_0x4f6bd3(0x200)?'add':_0x4f6bd3(0x291))+_0x4f6bd3(0x215),_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x46db7e+'\x0a',_0x920220+=_0x4f6bd3(0x21c),_0x920220+=_0x4f6bd3(0x287)+_0x418192+'.'+(_0x7b394b==_0x4f6bd3(0x200)?_0x4f6bd3(0x200):_0x4f6bd3(0x291))+'.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',_0x920220+=_0x4f6bd3(0x27d),_0x920220+='\x20\x20\x20\x20</page-form>\x0a',_0x920220+=_0x4f6bd3(0x28c),_0x920220+=_0x4f6bd3(0x270);if(_0x7b394b==_0x4f6bd3(0x200))_0x920220+='import\x20{\x20'+_0x1a9c74+'AddRule\x20}\x20from\x20\x27@'+(_0x4569d1?_0x4f6bd3(0x24c)+_0x4569d1:_0x11c15f)+_0x4f6bd3(0x22c)+_0x1a9c74+_0x4f6bd3(0x292);else _0x7b394b==_0x4f6bd3(0x291)&&(_0x920220+='import\x20{\x20'+_0x1a9c74+_0x4f6bd3(0x267)+(_0x4569d1?_0x4f6bd3(0x24c)+_0x4569d1:_0x11c15f)+_0x4f6bd3(0x22c)+_0x1a9c74+'/edit\x27\x0a');_0x920220+=_0x4f6bd3(0x24b),_0x920220+=_0x4f6bd3(0x221),_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x920220+=_0x4f6bd3(0x274),_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a';if(_0x7b394b==_0x4f6bd3(0x200))_0x920220+=_0x4f6bd3(0x1f0)+_0x1a9c74+'AddRule,\x0a';else _0x7b394b==_0x4f6bd3(0x291)&&(_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20'+_0x1a9c74+'EditRule,\x0a');_0x920220+=_0x4f6bd3(0x1eb),_0x920220+='\x20\x20\x20\x20},\x0a',_0x7b394b=='edit'&&(_0x920220+=_0x4f6bd3(0x1e8),_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.'+_0x27107a['Field']+_0x4f6bd3(0x213),_0x920220+=_0x4f6bd3(0x28a)),_0x920220+=_0x4f6bd3(0x252),_0x920220+=_0x4f6bd3(0x1fa),_0x920220+=_0x4f6bd3(0x286),_0x920220+=_0x4f6bd3(0x22b),_0x920220+=_0x4f6bd3(0x260),_0x920220+=_0x4f6bd3(0x20e),_0x920220+=_0x4f6bd3(0x22f),_0x920220+=_0x4f6bd3(0x220),_0x920220+=_0x4f6bd3(0x26b)+_0x418192+'.'+(_0x7b394b==_0x4f6bd3(0x200)?_0x4f6bd3(0x200):'edit')+_0x4f6bd3(0x251),_0x920220+=_0x4f6bd3(0x203),_0x920220+=_0x4f6bd3(0x20f),_0x920220+=_0x4f6bd3(0x257),_0x920220+=_0x4f6bd3(0x1ea),_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a',_0x7b394b==_0x4f6bd3(0x291)&&(_0x920220+=_0x4f6bd3(0x1fa),_0x920220+=_0x4f6bd3(0x237),_0x920220+=_0x4f6bd3(0x260),_0x920220+=_0x4f6bd3(0x293)+_0x27107a[_0x4f6bd3(0x226)]+')\x20{\x0a',_0x920220+=_0x4f6bd3(0x255)+_0x27107a[_0x4f6bd3(0x226)]+_0x4f6bd3(0x235),_0x920220+=_0x4f6bd3(0x209),_0x920220+=_0x4f6bd3(0x26b)+_0x418192+_0x4f6bd3(0x290)+_0x27107a[_0x4f6bd3(0x226)]+_0x4f6bd3(0x201),_0x920220+=_0x4f6bd3(0x23b),_0x920220+=_0x4f6bd3(0x21b),_0x920220+=_0x4f6bd3(0x272),_0x920220+=_0x4f6bd3(0x25b),_0x920220+=_0x4f6bd3(0x224),_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a',_0x920220+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0x920220+=_0x4f6bd3(0x26e)),_0x920220+=_0x4f6bd3(0x28a),_0x920220+='}\x0a',_0x920220+=_0x4f6bd3(0x25c),fs['mkdirSync']((0x0,path_1[_0x4f6bd3(0x285)])(_0x143ec6),{'recursive':!![]}),fs[_0x4f6bd3(0x229)](_0x143ec6,_0x920220,_0x4f6bd3(0x248));}}
@@ -1 +1 @@
1
- const a14_0x17824c=a14_0x522a;(function(_0x54a6a6,_0x53b4b2){const _0x143ec5=a14_0x522a,_0x53909f=_0x54a6a6();while(!![]){try{const _0x1fa7cf=-parseInt(_0x143ec5(0x190))/0x1*(-parseInt(_0x143ec5(0x19a))/0x2)+-parseInt(_0x143ec5(0x1a9))/0x3*(parseInt(_0x143ec5(0x185))/0x4)+-parseInt(_0x143ec5(0x17b))/0x5+-parseInt(_0x143ec5(0x187))/0x6+-parseInt(_0x143ec5(0x192))/0x7*(parseInt(_0x143ec5(0x194))/0x8)+parseInt(_0x143ec5(0x1a5))/0x9+-parseInt(_0x143ec5(0x181))/0xa*(-parseInt(_0x143ec5(0x189))/0xb);if(_0x1fa7cf===_0x53b4b2)break;else _0x53909f['push'](_0x53909f['shift']());}catch(_0x37743f){_0x53909f['push'](_0x53909f['shift']());}}}(a14_0x2d4b,0x29fc6));const a14_0x1f45ca=(function(){let _0x1058a0=!![];return function(_0x352dd8,_0x15d576){const _0x12667c=_0x1058a0?function(){const _0x3c1349=a14_0x522a;if(_0x15d576){const _0x45a9d9=_0x15d576[_0x3c1349(0x18a)](_0x352dd8,arguments);return _0x15d576=null,_0x45a9d9;}}:function(){};return _0x1058a0=![],_0x12667c;};}()),a14_0x8bb161=a14_0x1f45ca(this,function(){const _0x3201bf=a14_0x522a;return a14_0x8bb161[_0x3201bf(0x17a)]()['search'](_0x3201bf(0x1a7))[_0x3201bf(0x17a)]()[_0x3201bf(0x191)](a14_0x8bb161)[_0x3201bf(0x178)](_0x3201bf(0x1a7));});function a14_0x522a(_0x4869ed,_0x4f6ffb){const _0x3958ee=a14_0x2d4b();return a14_0x522a=function(_0x8bb161,_0x1f45ca){_0x8bb161=_0x8bb161-0x178;let _0x2d4b06=_0x3958ee[_0x8bb161];return _0x2d4b06;},a14_0x522a(_0x4869ed,_0x4f6ffb);}a14_0x8bb161();'use strict';Object[a14_0x17824c(0x183)](exports,a14_0x17824c(0x19d),{'value':!![]}),exports[a14_0x17824c(0x1a3)]=default_1;const fs=require('fs'),path_1=require(a14_0x17824c(0x1aa));async function default_1({tablestartUpShort2:_0x8f8201,moduleName:_0x5d8c98,controller:_0x5b29e6,Comment:_0x14e337,apporbasic:_0xd27fba,Primary:_0x3a6127}){await createRoutes({'tablestartUpShort2':_0x8f8201,'moduleName':_0x5d8c98,'controller':_0x5b29e6,'Comment':_0x14e337,'apporbasic':_0xd27fba,'Primary':_0x3a6127});}async function createRoutes({tablestartUpShort2:_0xa62d87,moduleName:_0x4c7f2c,controller:_0x1fc819,Comment:_0x4cbc09,apporbasic:_0x7b209,Primary:_0x502120}){const _0x3dbf4a=a14_0x17824c;let _0x5dbd4=process['cwd']()+_0x3dbf4a(0x17c)+(typeof _0x1fc819==_0x3dbf4a(0x193)?'/'+_0x1fc819:'');_0x4c7f2c?_0x5dbd4=_0x5dbd4+('/pages/apps/'+_0x4c7f2c+_0x3dbf4a(0x184)):_0x5dbd4=_0x5dbd4+(_0x3dbf4a(0x1a4)+_0x7b209+'/routes.js');if(!fs['existsSync'](_0x5dbd4)){let _0x4da07f=_0x3dbf4a(0x195);_0x4da07f+=_0x3dbf4a(0x17d),_0x4da07f+=_0x3dbf4a(0x19e)+(_0x4c7f2c?_0x3dbf4a(0x18f)+_0x4c7f2c+'/':_0x7b209+'/')+_0x3dbf4a(0x197),_0x4da07f+=_0x3dbf4a(0x19c)+(_0x4c7f2c?_0x3dbf4a(0x18f)+_0x4c7f2c+'/':_0x7b209+'/')+_0x3dbf4a(0x197),_0x4da07f+=_0x3dbf4a(0x180),_0x4da07f+=_0x3dbf4a(0x17f),_0x4da07f+=_0x3dbf4a(0x196),_0x4da07f+=_0x3dbf4a(0x18c),_0x4da07f+='}\x0a',fs[_0x3dbf4a(0x1a0)]((0x0,path_1[_0x3dbf4a(0x179)])(_0x5dbd4),{'recursive':!![]}),fs[_0x3dbf4a(0x1a1)](_0x5dbd4,_0x4da07f,_0x3dbf4a(0x17e));}const _0xca53d1=fs[_0x3dbf4a(0x1a8)](_0x5dbd4,_0x3dbf4a(0x17e));fs[_0x3dbf4a(0x1a1)](_0x5dbd4,_0xca53d1[_0x3dbf4a(0x19b)](_0x3dbf4a(0x198),_0x3dbf4a(0x18d)+(_0xa62d87+'\x22')['padEnd'](0x14)+(_0x3dbf4a(0x1a6)+_0xa62d87+_0x3dbf4a(0x182)+_0x4cbc09+_0x3dbf4a(0x188)))[_0x3dbf4a(0x19b)]('//\x20add\x20route\x20here',_0x3dbf4a(0x18d)+(_0xa62d87+_0x3dbf4a(0x18e))['padEnd'](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0xa62d87+_0x3dbf4a(0x186)+_0x4cbc09+_0x3dbf4a(0x199)))[_0x3dbf4a(0x19b)](_0x3dbf4a(0x198),'{\x20path:\x20\x22'+(_0xa62d87+'/edit\x22')[_0x3dbf4a(0x1a2)](0x14)+(_0x3dbf4a(0x1a6)+_0xa62d87+_0x3dbf4a(0x19f)+_0x4cbc09+_0x3dbf4a(0x18b))));}function a14_0x2d4b(){const _0x580300=['/vue','export\x20default\x20{\x0a','utf-8','\x20\x20\x20\x20children:[\x0a','\x20\x20\x20\x20component:\x20layout,\x0a','10FsscUY','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','defineProperty','/routes.js','4wrBXNd','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','111030SEsSdd','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','3651131aSCGCQ','apply','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','\x20\x20\x20\x20]\x0a','{\x20path:\x20\x22','/add\x22','apps-','10003WgWquh','constructor','1552355xXyBRC','string','8KnmmWu','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','\x22,\x0a','//\x20add\x20route\x20here','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','22kTvdvj','replace','\x20\x20\x20\x20//\x20redirect:\x20\x22/','__esModule','\x20\x20\x20\x20path:\x20\x22/','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','mkdirSync','writeFileSync','padEnd','default','/pages/','1760823nBtCId',',\x20component:\x20()=>\x20import(\x27./template/','(((.+)+)+)+$','readFileSync','207498eDOPbj','path','search','dirname','toString','780955gMWAjN'];a14_0x2d4b=function(){return _0x580300;};return a14_0x2d4b();}
1
+ const a14_0x4f1aa6=a14_0x5309;(function(_0x4e7640,_0x4406d5){const _0x5bda95=a14_0x5309,_0x49d073=_0x4e7640();while(!![]){try{const _0x34ed31=parseInt(_0x5bda95(0x10a))/0x1+parseInt(_0x5bda95(0x113))/0x2+-parseInt(_0x5bda95(0x118))/0x3+-parseInt(_0x5bda95(0x104))/0x4+parseInt(_0x5bda95(0xf4))/0x5+parseInt(_0x5bda95(0x114))/0x6+-parseInt(_0x5bda95(0xf8))/0x7*(-parseInt(_0x5bda95(0x10f))/0x8);if(_0x34ed31===_0x4406d5)break;else _0x49d073['push'](_0x49d073['shift']());}catch(_0xc1e023){_0x49d073['push'](_0x49d073['shift']());}}}(a14_0x4f1c,0xae1a2));const a14_0x277d54=(function(){let _0x33cc45=!![];return function(_0x296658,_0x34cfcb){const _0x596945=_0x33cc45?function(){if(_0x34cfcb){const _0x558864=_0x34cfcb['apply'](_0x296658,arguments);return _0x34cfcb=null,_0x558864;}}:function(){};return _0x33cc45=![],_0x596945;};}()),a14_0x5c8a26=a14_0x277d54(this,function(){const _0x14f53b=a14_0x5309;return a14_0x5c8a26[_0x14f53b(0xfb)]()['search'](_0x14f53b(0xf9))[_0x14f53b(0xfb)]()['constructor'](a14_0x5c8a26)[_0x14f53b(0xfd)]('(((.+)+)+)+$');});a14_0x5c8a26();function a14_0x5309(_0x4cc6fc,_0x344c27){const _0x5d9b3a=a14_0x4f1c();return a14_0x5309=function(_0x5c8a26,_0x277d54){_0x5c8a26=_0x5c8a26-0xf4;let _0x4f1cdd=_0x5d9b3a[_0x5c8a26];return _0x4f1cdd;},a14_0x5309(_0x4cc6fc,_0x344c27);}'use strict';function a14_0x4f1c(){const _0x1180a4=['编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','549882TGmulW','2212944BrLQrk','defineProperty','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','3539181WPOgXi','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','\x22,\x0a','replace','existsSync','/routes.js','padEnd','5196140JZuree','default','{\x20path:\x20\x22','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','324443OXwqBz','(((.+)+)+)+$',',\x20component:\x20()=>\x20import(\x27./template/','toString','/pages/','search','/edit\x22','/vue','apps-','utf-8','string','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','3036764IyCtMR','path','readFileSync','\x20\x20\x20\x20component:\x20layout,\x0a','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','//\x20add\x20route\x20here','181114PweNgo','/add\x22','dirname','\x20\x20\x20\x20path:\x20\x22/','export\x20default\x20{\x0a','136aQNCyj','__esModule','writeFileSync'];a14_0x4f1c=function(){return _0x1180a4;};return a14_0x4f1c();}Object[a14_0x4f1aa6(0x115)](exports,a14_0x4f1aa6(0x110),{'value':!![]}),exports[a14_0x4f1aa6(0xf5)]=default_1;const fs=require('fs'),path_1=require(a14_0x4f1aa6(0x105));async function default_1({tablestartUpShort2:_0x515edd,moduleName:_0x455f14,controller:_0x4b0cd6,Comment:_0xc94653,apporbasic:_0x3de1f3,Primary:_0x295c62}){await createRoutes({'tablestartUpShort2':_0x515edd,'moduleName':_0x455f14,'controller':_0x4b0cd6,'Comment':_0xc94653,'apporbasic':_0x3de1f3,'Primary':_0x295c62});}async function createRoutes({tablestartUpShort2:_0x3fadba,moduleName:_0x22126e,controller:_0x6425ef,Comment:_0xba79a9,apporbasic:_0x163d68,Primary:_0x37a843}){const _0x45fb64=a14_0x4f1aa6;let _0x3670cf=process['cwd']()+_0x45fb64(0xff)+(typeof _0x6425ef==_0x45fb64(0x102)?'/'+_0x6425ef:'');_0x22126e?_0x3670cf=_0x3670cf+('/pages/apps/'+_0x22126e+'/routes.js'):_0x3670cf=_0x3670cf+(_0x45fb64(0xfc)+_0x163d68+_0x45fb64(0x11d));if(!fs[_0x45fb64(0x11c)](_0x3670cf)){let _0x551f5f=_0x45fb64(0x116);_0x551f5f+=_0x45fb64(0x10e),_0x551f5f+=_0x45fb64(0x10d)+(_0x22126e?'apps-'+_0x22126e+'/':_0x163d68+'/')+_0x45fb64(0x11a),_0x551f5f+='\x20\x20\x20\x20//\x20redirect:\x20\x22/'+(_0x22126e?_0x45fb64(0x100)+_0x22126e+'/':_0x163d68+'/')+_0x45fb64(0x11a),_0x551f5f+=_0x45fb64(0x107),_0x551f5f+='\x20\x20\x20\x20children:[\x0a',_0x551f5f+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x551f5f+='\x20\x20\x20\x20]\x0a',_0x551f5f+='}\x0a',fs['mkdirSync']((0x0,path_1[_0x45fb64(0x10c)])(_0x3670cf),{'recursive':!![]}),fs[_0x45fb64(0x111)](_0x3670cf,_0x551f5f,_0x45fb64(0x101));}const _0x1ab4f5=fs[_0x45fb64(0x106)](_0x3670cf,_0x45fb64(0x101));fs[_0x45fb64(0x111)](_0x3670cf,_0x1ab4f5['replace']('//\x20add\x20route\x20here','{\x20path:\x20\x22'+(_0x3fadba+'\x22')['padEnd'](0x14)+(_0x45fb64(0xfa)+_0x3fadba+_0x45fb64(0x119)+_0xba79a9+_0x45fb64(0x103)))[_0x45fb64(0x11b)]('//\x20add\x20route\x20here',_0x45fb64(0xf6)+(_0x3fadba+_0x45fb64(0x10b))[_0x45fb64(0x11e)](0x14)+(_0x45fb64(0xfa)+_0x3fadba+_0x45fb64(0x108)+_0xba79a9+_0x45fb64(0x117)))[_0x45fb64(0x11b)](_0x45fb64(0x109),_0x45fb64(0xf6)+(_0x3fadba+_0x45fb64(0xfe))[_0x45fb64(0x11e)](0x14)+(_0x45fb64(0xfa)+_0x3fadba+_0x45fb64(0xf7)+_0xba79a9+_0x45fb64(0x112))));}
@@ -1 +1 @@
1
- const a15_0x3191f9=a15_0x8c86;(function(_0x341ba0,_0x3efee8){const _0x583b66=a15_0x8c86,_0x54c5a4=_0x341ba0();while(!![]){try{const _0x1dfb78=parseInt(_0x583b66(0x10a))/0x1*(-parseInt(_0x583b66(0x12c))/0x2)+-parseInt(_0x583b66(0x10f))/0x3*(parseInt(_0x583b66(0x106))/0x4)+parseInt(_0x583b66(0x113))/0x5*(-parseInt(_0x583b66(0x119))/0x6)+parseInt(_0x583b66(0xfd))/0x7*(parseInt(_0x583b66(0x117))/0x8)+-parseInt(_0x583b66(0x128))/0x9+parseInt(_0x583b66(0xfb))/0xa+parseInt(_0x583b66(0x116))/0xb*(parseInt(_0x583b66(0x12e))/0xc);if(_0x1dfb78===_0x3efee8)break;else _0x54c5a4['push'](_0x54c5a4['shift']());}catch(_0x1317b2){_0x54c5a4['push'](_0x54c5a4['shift']());}}}(a15_0x1a3d,0x88db8));const a15_0x20794b=(function(){let _0x1056b3=!![];return function(_0x1f7098,_0x79d9ef){const _0x36393d=_0x1056b3?function(){const _0x5c7346=a15_0x8c86;if(_0x79d9ef){const _0x54cfb7=_0x79d9ef[_0x5c7346(0x100)](_0x1f7098,arguments);return _0x79d9ef=null,_0x54cfb7;}}:function(){};return _0x1056b3=![],_0x36393d;};}()),a15_0x1ae304=a15_0x20794b(this,function(){const _0x28699e=a15_0x8c86;return a15_0x1ae304[_0x28699e(0x10e)]()[_0x28699e(0x107)](_0x28699e(0xef))[_0x28699e(0x10e)]()[_0x28699e(0xf9)](a15_0x1ae304)[_0x28699e(0x107)](_0x28699e(0xef));});a15_0x1ae304();'use strict';Object[a15_0x3191f9(0x11b)](exports,'__esModule',{'value':!![]}),exports[a15_0x3191f9(0x101)]=default_1;const fs=require('fs'),helper_1=require(a15_0x3191f9(0x11c));function a15_0x8c86(_0xa62eb3,_0x3d2c09){const _0x547711=a15_0x1a3d();return a15_0x8c86=function(_0x1ae304,_0x20794b){_0x1ae304=_0x1ae304-0xe2;let _0x1a3dc7=_0x547711[_0x1ae304];return _0x1a3dc7;},a15_0x8c86(_0xa62eb3,_0x3d2c09);}async function default_1({tablestartUpShort:_0x2695c9,tablestartUpShort2:_0x2667dd,moduleName:_0x3bc775,controller:_0x43d5be,Comment:_0x59960a,apporbasic:_0x2d6aa2,Primary:_0x52c4d8,Fields:_0x5a96bf}){const _0x2bf518=a15_0x3191f9;let _0x315952=process['cwd']()+'/vue'+(typeof _0x43d5be==_0x2bf518(0xfa)?'/'+_0x43d5be:'');_0x3bc775?_0x315952=_0x315952+('/pages/apps/'+_0x3bc775+_0x2bf518(0xe5)+_0x2695c9):_0x315952=_0x315952+('/pages/'+_0x2d6aa2+_0x2bf518(0xe5)+_0x2695c9),!fs[_0x2bf518(0x105)](_0x315952)&&fs[_0x2bf518(0x118)](_0x315952,{'recursive':!![]}),await CreateRule(_0x315952,{'tablestartUpShort':_0x2695c9,'Comment':_0x59960a,'Fields':_0x5a96bf}),await updateRule(_0x315952,{'tablestartUpShort':_0x2695c9,'Comment':_0x59960a,'Fields':_0x5a96bf});}async function CreateRule(_0x14c8a3,{tablestartUpShort:_0x2b6c4c,Comment:_0x5c0dfd,Fields:_0xa06803}){const _0x228f47=a15_0x3191f9,_0x432aea=_0x14c8a3+_0x228f47(0x11e);if(!fs['existsSync'](_0x432aea)){let _0x155b46='',_0x9090c4='';for(let _0x1c2aa5 in _0xa06803){let _0x3e3a4a=_0xa06803[_0x1c2aa5],_0xfec382=(0x0,helper_1['getProp'])(_0x3e3a4a['Type']);if(_0x3e3a4a[_0x228f47(0x115)]==_0x228f47(0x129)||_0x3e3a4a[_0x228f47(0x115)]=='created_at'||_0x3e3a4a[_0x228f47(0x115)]==_0x228f47(0x123)||_0x3e3a4a[_0x228f47(0x115)]==_0x228f47(0x120))continue;if([_0x228f47(0xe2),_0x228f47(0x112),'mediumtext']['indexOf'](_0xfec382)!=-0x1)_0x155b46+=_0x228f47(0xfc)+_0x3e3a4a['Comment']+'\x0a',_0x155b46+=_0x228f47(0xea)+_0x3e3a4a[_0x228f47(0x115)]+_0x228f47(0x127),_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)&&(_0x155b46+=_0x228f47(0x121)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xe7)+(_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)?_0x228f47(0x110):_0x228f47(0x10c))+_0x228f47(0xee)),_0x155b46+=_0x228f47(0x11d);else{if([_0x228f47(0x125),_0x228f47(0xf0),_0x228f47(0x10b),_0x228f47(0xf6)][_0x228f47(0xf8)](_0xfec382)!=-0x1)_0x155b46+=_0x228f47(0xfc)+_0x3e3a4a[_0x228f47(0xf4)]+'\x0a',_0x155b46+='\x20\x20\x20\x20'+_0x3e3a4a[_0x228f47(0x115)]+_0x228f47(0x127),_0x155b46+=_0x228f47(0x11f)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xec),_0x3e3a4a['Null']!=_0x228f47(0x10d)&&(_0x155b46+=_0x228f47(0x121)+_0x3e3a4a[_0x228f47(0xf4)]+'不能为空`,\x20required:\x20'+(_0x3e3a4a[_0x228f47(0xf5)]!='YES'?'false':_0x228f47(0x10c))+_0x228f47(0xee)),_0x155b46+=_0x228f47(0x11d);else{if(['tinyint'][_0x228f47(0xf8)](_0xfec382)!=-0x1)_0x155b46+=_0x228f47(0xfc)+_0x3e3a4a[_0x228f47(0xf4)]+'\x0a',_0x155b46+='\x20\x20\x20\x20'+_0x3e3a4a[_0x228f47(0x115)]+_0x228f47(0x127),_0x155b46+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xec),_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)&&(_0x155b46+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xe7)+(_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)?'false':_0x228f47(0x10c))+_0x228f47(0xee)),_0x155b46+=_0x228f47(0x11d);else{if(_0xfec382=='json')_0x155b46+='\x20\x20\x20\x20//\x20'+_0x3e3a4a[_0x228f47(0xf4)]+'\x0a',_0x155b46+=_0x228f47(0xea)+_0x3e3a4a['Field']+':\x20[\x0a',_0x3e3a4a['Null']!='YES'&&(_0x155b46+=_0x228f47(0x121)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xe7)+(_0x3e3a4a[_0x228f47(0xf5)]!='YES'?_0x228f47(0x110):_0x228f47(0x10c))+_0x228f47(0xee)),_0x155b46+=_0x228f47(0x11d);else{if(_0xfec382==_0x228f47(0xeb)){let _0x20ff4b=(0x0,helper_1['getEnum'])(_0x3e3a4a[_0x228f47(0x111)]);_0x155b46+=_0x228f47(0xfc)+_0x3e3a4a[_0x228f47(0xf4)]+'\x0a',_0x155b46+=_0x228f47(0xea)+_0x3e3a4a[_0x228f47(0x115)]+_0x228f47(0x127),_0x155b46+=_0x228f47(0x11f)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xff)+_0x20ff4b['join'](_0x228f47(0x12b))+_0x228f47(0x104),_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)&&(_0x155b46+=_0x228f47(0x121)+_0x3e3a4a['Comment']+_0x228f47(0xe7)+(_0x3e3a4a[_0x228f47(0xf5)]!='YES'?'false':_0x228f47(0x10c))+_0x228f47(0xee)),_0x155b46+=_0x228f47(0x11d);}else[_0x228f47(0xe9),_0x228f47(0xe8),_0x228f47(0x102)][_0x228f47(0xf8)](_0xfec382)>-0x1?(_0x155b46+=_0x228f47(0xfc)+_0x3e3a4a['Comment']+'\x0a',_0x155b46+='\x20\x20\x20\x20'+_0x3e3a4a[_0x228f47(0x115)]+_0x228f47(0x127),_0x155b46+=_0x228f47(0x11f)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0x114),_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)&&(_0x155b46+=_0x228f47(0x121)+_0x3e3a4a['Comment']+_0x228f47(0xe7)+(_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)?'false':_0x228f47(0x10c))+'\x20},\x0a'),_0x155b46+=_0x228f47(0x11d)):(_0x155b46+=_0x228f47(0xfc)+_0x3e3a4a[_0x228f47(0xf4)]+'\x0a',_0x155b46+=_0x228f47(0xea)+_0x3e3a4a[_0x228f47(0x115)]+_0x228f47(0x127),_0x155b46+=_0x228f47(0x11f)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xf1),_0x3e3a4a[_0x228f47(0xf5)]!='YES'&&(_0x155b46+=_0x228f47(0x121)+_0x3e3a4a[_0x228f47(0xf4)]+_0x228f47(0xe7)+(_0x3e3a4a[_0x228f47(0xf5)]!=_0x228f47(0x10d)?_0x228f47(0x110):_0x228f47(0x10c))+_0x228f47(0xee)),_0x155b46+=_0x228f47(0x11d));}}}}}_0x9090c4+='\x0a',_0x9090c4+=_0x228f47(0xf2),_0x9090c4+=_0x228f47(0xf3)+_0x5c0dfd+'\x0a',_0x9090c4+=_0x228f47(0xe4),_0x9090c4+=_0x228f47(0x108),_0x9090c4+=_0x228f47(0xed)+_0x2b6c4c+_0x228f47(0xe3),_0x9090c4+=_0x228f47(0x11a),_0x9090c4+=_0x228f47(0x124),_0x9090c4=_0x9090c4['replace'](_0x228f47(0x11a),_0x155b46),fs[_0x228f47(0xfe)](_0x432aea,_0x9090c4,_0x228f47(0x12d));}}function a15_0x1a3d(){const _0x237b55=['number','join','indexOf','constructor','string','7065600TjZTCQ','\x20\x20\x20\x20//\x20','5536916soCnwQ','writeFileSync','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','apply','default','timestamp','replace','\x27]\x20},\x0a','existsSync','2452SzmBqz','search','\x20*\x20**/\x0a','getProp','2827yqPRJc','decimal','true','YES','toString','5259LnVEJs','false','Type','longtext','150BoepeA','`,\x20type:\x20\x22date\x22\x20},\x0a','Field','22KGNeMk','8eDSqtF','mkdirSync','40008bmmytr','%RuleColumn%','defineProperty','../helper','\x20\x20\x20\x20],\x0a\x0a','/add.js','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','deleted_at','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','created_at','updated_at','}\x0a\x0a','float','EditRule\x20=\x20{\x0a',':\x20[\x0a','879390FAeLeU','displayorder','/edit.js','\x27,\x20\x27','522xVAFzQ','utf-8','7039236CgxiEZ','text','AddRule\x20=\x20{\x0a','\x20*\x20数据添加验证\x0a','/validators/','json','不能为空`,\x20required:\x20','datetime','date','\x20\x20\x20\x20','enum','`,\x20type:\x20\x22number\x22\x20},\x0a','export\x20const\x20','\x20},\x0a','(((.+)+)+)+$','double','`,\x20type:\x20\x22string\x22\x20},\x0a','/**\x0a','\x20*\x20','Comment','Null'];a15_0x1a3d=function(){return _0x237b55;};return a15_0x1a3d();}async function updateRule(_0x57628f,{tablestartUpShort:_0x481c37,Comment:_0xb8143d,Fields:_0x61233b}){const _0x5e03bb=a15_0x3191f9,_0x27acf7=_0x57628f+_0x5e03bb(0x12a);if(!fs[_0x5e03bb(0x105)](_0x27acf7)){let _0x1be2d5='',_0x14bb3b='';for(let _0x48fb69 in _0x61233b){let _0x28a8e1=_0x61233b[_0x48fb69],_0x24ea04=(0x0,helper_1[_0x5e03bb(0x109)])(_0x28a8e1[_0x5e03bb(0x111)]);if(_0x28a8e1[_0x5e03bb(0x115)]==_0x5e03bb(0x129)||_0x28a8e1['Field']==_0x5e03bb(0x122)||_0x28a8e1[_0x5e03bb(0x115)]==_0x5e03bb(0x123)||_0x28a8e1[_0x5e03bb(0x115)]=='deleted_at')continue;if([_0x5e03bb(0xe2),_0x5e03bb(0x112),'mediumtext'][_0x5e03bb(0xf8)](_0x24ea04)!=-0x1)_0x1be2d5+='\x20\x20\x20\x20//\x20'+_0x28a8e1['Comment']+'\x0a',_0x1be2d5+='\x20\x20\x20\x20'+_0x28a8e1[_0x5e03bb(0x115)]+_0x5e03bb(0x127),_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1[_0x5e03bb(0xf4)]+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?'false':'true')+_0x5e03bb(0xee)),_0x1be2d5+=_0x5e03bb(0x11d);else{if(['float','double',_0x5e03bb(0x10b),_0x5e03bb(0xf6)][_0x5e03bb(0xf8)](_0x24ea04)!=-0x1)_0x1be2d5+='\x20\x20\x20\x20//\x20'+_0x28a8e1[_0x5e03bb(0xf4)]+'\x0a',_0x1be2d5+=_0x5e03bb(0xea)+_0x28a8e1[_0x5e03bb(0x115)]+':\x20[\x0a',_0x1be2d5+=_0x5e03bb(0x11f)+_0x28a8e1[_0x5e03bb(0xf4)]+_0x5e03bb(0xec),_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1['Comment']+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?'false':_0x5e03bb(0x10c))+_0x5e03bb(0xee)),_0x1be2d5+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint']['indexOf'](_0x24ea04)!=-0x1)_0x1be2d5+=_0x5e03bb(0xfc)+_0x28a8e1[_0x5e03bb(0xf4)]+'\x0a',_0x1be2d5+=_0x5e03bb(0xea)+_0x28a8e1[_0x5e03bb(0x115)]+_0x5e03bb(0x127),_0x1be2d5+=_0x5e03bb(0x11f)+_0x28a8e1[_0x5e03bb(0xf4)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1['Comment']+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?_0x5e03bb(0x110):_0x5e03bb(0x10c))+'\x20},\x0a'),_0x1be2d5+=_0x5e03bb(0x11d);else{if(_0x24ea04==_0x5e03bb(0xe6))_0x1be2d5+=_0x5e03bb(0xfc)+_0x28a8e1[_0x5e03bb(0xf4)]+'\x0a',_0x1be2d5+=_0x5e03bb(0xea)+_0x28a8e1[_0x5e03bb(0x115)]+_0x5e03bb(0x127),_0x28a8e1['Null']!='YES'&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1['Comment']+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?_0x5e03bb(0x110):_0x5e03bb(0x10c))+_0x5e03bb(0xee)),_0x1be2d5+=_0x5e03bb(0x11d);else{if(_0x24ea04=='enum'){let _0x374184=(0x0,helper_1['getEnum'])(_0x28a8e1['Type']);_0x1be2d5+=_0x5e03bb(0xfc)+_0x28a8e1[_0x5e03bb(0xf4)]+'\x0a',_0x1be2d5+=_0x5e03bb(0xea)+_0x28a8e1[_0x5e03bb(0x115)]+':\x20[\x0a',_0x1be2d5+=_0x5e03bb(0x11f)+_0x28a8e1['Comment']+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x374184[_0x5e03bb(0xf7)]('\x27,\x20\x27')+_0x5e03bb(0x104),_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1[_0x5e03bb(0xf4)]+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?'false':_0x5e03bb(0x10c))+_0x5e03bb(0xee)),_0x1be2d5+=_0x5e03bb(0x11d);}else['date',_0x5e03bb(0xe8),_0x5e03bb(0x102)]['indexOf'](_0x24ea04)>-0x1?(_0x1be2d5+=_0x5e03bb(0xfc)+_0x28a8e1['Comment']+'\x0a',_0x1be2d5+=_0x5e03bb(0xea)+_0x28a8e1[_0x5e03bb(0x115)]+_0x5e03bb(0x127),_0x1be2d5+=_0x5e03bb(0x11f)+_0x28a8e1['Comment']+_0x5e03bb(0x114),_0x28a8e1['Null']!=_0x5e03bb(0x10d)&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1[_0x5e03bb(0xf4)]+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?_0x5e03bb(0x110):_0x5e03bb(0x10c))+_0x5e03bb(0xee)),_0x1be2d5+='\x20\x20\x20\x20],\x0a\x0a'):(_0x1be2d5+=_0x5e03bb(0xfc)+_0x28a8e1[_0x5e03bb(0xf4)]+'\x0a',_0x1be2d5+=_0x5e03bb(0xea)+_0x28a8e1[_0x5e03bb(0x115)]+_0x5e03bb(0x127),_0x1be2d5+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x28a8e1['Comment']+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x28a8e1['Null']!=_0x5e03bb(0x10d)&&(_0x1be2d5+=_0x5e03bb(0x121)+_0x28a8e1['Comment']+_0x5e03bb(0xe7)+(_0x28a8e1[_0x5e03bb(0xf5)]!=_0x5e03bb(0x10d)?'false':_0x5e03bb(0x10c))+_0x5e03bb(0xee)),_0x1be2d5+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x14bb3b+='\x0a',_0x14bb3b+=_0x5e03bb(0xf2),_0x14bb3b+=_0x5e03bb(0xf3)+_0xb8143d+'\x0a',_0x14bb3b+='\x20*\x20数据更新验证\x0a',_0x14bb3b+=_0x5e03bb(0x108),_0x14bb3b+=_0x5e03bb(0xed)+_0x481c37+_0x5e03bb(0x126),_0x14bb3b+=_0x5e03bb(0x11a),_0x14bb3b+=_0x5e03bb(0x124),_0x14bb3b=_0x14bb3b[_0x5e03bb(0x103)](_0x5e03bb(0x11a),_0x1be2d5),fs[_0x5e03bb(0xfe)](_0x27acf7,_0x14bb3b,'utf-8');}}
1
+ const a15_0x1c3505=a15_0x2c08;function a15_0x2c08(_0x281129,_0x134f28){const _0x37b64d=a15_0x1b0b();return a15_0x2c08=function(_0x3bb289,_0x32c92e){_0x3bb289=_0x3bb289-0x14d;let _0x1b0ba4=_0x37b64d[_0x3bb289];return _0x1b0ba4;},a15_0x2c08(_0x281129,_0x134f28);}(function(_0xf89bd3,_0x55e80b){const _0x16e5d4=a15_0x2c08,_0x12b381=_0xf89bd3();while(!![]){try{const _0x3d6a23=parseInt(_0x16e5d4(0x151))/0x1+-parseInt(_0x16e5d4(0x154))/0x2*(parseInt(_0x16e5d4(0x164))/0x3)+-parseInt(_0x16e5d4(0x167))/0x4*(parseInt(_0x16e5d4(0x169))/0x5)+parseInt(_0x16e5d4(0x14f))/0x6+-parseInt(_0x16e5d4(0x152))/0x7+-parseInt(_0x16e5d4(0x16b))/0x8*(parseInt(_0x16e5d4(0x183))/0x9)+parseInt(_0x16e5d4(0x171))/0xa;if(_0x3d6a23===_0x55e80b)break;else _0x12b381['push'](_0x12b381['shift']());}catch(_0x58c4d8){_0x12b381['push'](_0x12b381['shift']());}}}(a15_0x1b0b,0x7108b));const a15_0x32c92e=(function(){let _0x1b436a=!![];return function(_0x239328,_0x10dde0){const _0x5f205a=_0x1b436a?function(){const _0x37c6c0=a15_0x2c08;if(_0x10dde0){const _0x385d6a=_0x10dde0[_0x37c6c0(0x170)](_0x239328,arguments);return _0x10dde0=null,_0x385d6a;}}:function(){};return _0x1b436a=![],_0x5f205a;};}()),a15_0x3bb289=a15_0x32c92e(this,function(){const _0x2ab67a=a15_0x2c08;return a15_0x3bb289['toString']()[_0x2ab67a(0x177)](_0x2ab67a(0x18f))[_0x2ab67a(0x193)]()[_0x2ab67a(0x17c)](a15_0x3bb289)[_0x2ab67a(0x177)](_0x2ab67a(0x18f));});a15_0x3bb289();function a15_0x1b0b(){const _0x16e40e=['json','/validators/','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','/edit.js','\x20\x20\x20\x20//\x20','__esModule','Null','writeFileSync','/add.js','(((.+)+)+)+$','cwd','不能为空`,\x20required:\x20','displayorder','toString','getEnum','`,\x20type:\x20\x22date\x22\x20},\x0a','datetime','getProp','/vue','\x20*\x20**/\x0a','AddRule\x20=\x20{\x0a','enum','\x27]\x20},\x0a','true','2499558TEwbZi','replace','823290rOTHHv','6273687LqeXDh','`,\x20type:\x20\x22string\x22\x20},\x0a','582xwKscJ','defineProperty','float','decimal','longtext','\x20*\x20数据更新验证\x0a','\x20},\x0a','created_at','\x20*\x20数据添加验证\x0a','\x20\x20\x20\x20','string','text','updated_at','double','utf-8','export\x20const\x20','687YQRgUQ','}\x0a\x0a','deleted_at','127588gpVkas','existsSync','40FVZEkP','timestamp','8YiFmTl','/**\x0a','/pages/apps/','date','number','apply','11149770HKLBAo','\x27,\x20\x27','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','Comment','%RuleColumn%','join','search','false','YES',':\x20[\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','constructor','mediumtext','\x20*\x20','\x20\x20\x20\x20],\x0a\x0a','Field','tinyint','Type','6064353zRyfpv','`,\x20type:\x20\x22number\x22\x20},\x0a','indexOf'];a15_0x1b0b=function(){return _0x16e40e;};return a15_0x1b0b();}'use strict';Object[a15_0x1c3505(0x155)](exports,a15_0x1c3505(0x18b),{'value':!![]}),exports['default']=default_1;const fs=require('fs'),helper_1=require('../helper');async function default_1({tablestartUpShort:_0x28ba2f,tablestartUpShort2:_0x281b26,moduleName:_0x27c6c3,controller:_0x4b8807,Comment:_0x76de20,apporbasic:_0x2d0d25,Primary:_0x3dd34e,Fields:_0x3ffcc8}){const _0x1c84ef=a15_0x1c3505;let _0x16205a=process[_0x1c84ef(0x190)]()+_0x1c84ef(0x198)+(typeof _0x4b8807==_0x1c84ef(0x15e)?'/'+_0x4b8807:'');_0x27c6c3?_0x16205a=_0x16205a+(_0x1c84ef(0x16d)+_0x27c6c3+_0x1c84ef(0x187)+_0x28ba2f):_0x16205a=_0x16205a+('/pages/'+_0x2d0d25+'/validators/'+_0x28ba2f),!fs[_0x1c84ef(0x168)](_0x16205a)&&fs['mkdirSync'](_0x16205a,{'recursive':!![]}),await CreateRule(_0x16205a,{'tablestartUpShort':_0x28ba2f,'Comment':_0x76de20,'Fields':_0x3ffcc8}),await updateRule(_0x16205a,{'tablestartUpShort':_0x28ba2f,'Comment':_0x76de20,'Fields':_0x3ffcc8});}async function CreateRule(_0xb5cd4a,{tablestartUpShort:_0x410c16,Comment:_0x39cfa4,Fields:_0x8e8258}){const _0x593ad5=a15_0x1c3505,_0x8ea28a=_0xb5cd4a+_0x593ad5(0x18e);if(!fs[_0x593ad5(0x168)](_0x8ea28a)){let _0x2563a2='',_0x1f9d06='';for(let _0x594c51 in _0x8e8258){let _0x1d2ab1=_0x8e8258[_0x594c51],_0x446273=(0x0,helper_1['getProp'])(_0x1d2ab1[_0x593ad5(0x182)]);if(_0x1d2ab1['Field']==_0x593ad5(0x192)||_0x1d2ab1[_0x593ad5(0x180)]=='created_at'||_0x1d2ab1[_0x593ad5(0x180)]==_0x593ad5(0x160)||_0x1d2ab1[_0x593ad5(0x180)]==_0x593ad5(0x166))continue;if([_0x593ad5(0x15f),'longtext',_0x593ad5(0x17d)][_0x593ad5(0x185)](_0x446273)!=-0x1)_0x2563a2+='\x20\x20\x20\x20//\x20'+_0x1d2ab1[_0x593ad5(0x174)]+'\x0a',_0x2563a2+=_0x593ad5(0x15d)+_0x1d2ab1[_0x593ad5(0x180)]+':\x20[\x0a',_0x1d2ab1['Null']!=_0x593ad5(0x179)&&(_0x2563a2+=_0x593ad5(0x188)+_0x1d2ab1[_0x593ad5(0x174)]+'不能为空`,\x20required:\x20'+(_0x1d2ab1[_0x593ad5(0x18c)]!='YES'?_0x593ad5(0x178):_0x593ad5(0x14e))+_0x593ad5(0x15a)),_0x2563a2+=_0x593ad5(0x17f);else{if([_0x593ad5(0x156),'double',_0x593ad5(0x157),_0x593ad5(0x16f)][_0x593ad5(0x185)](_0x446273)!=-0x1)_0x2563a2+=_0x593ad5(0x18a)+_0x1d2ab1[_0x593ad5(0x174)]+'\x0a',_0x2563a2+=_0x593ad5(0x15d)+_0x1d2ab1[_0x593ad5(0x180)]+':\x20[\x0a',_0x2563a2+=_0x593ad5(0x17b)+_0x1d2ab1[_0x593ad5(0x174)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)&&(_0x2563a2+=_0x593ad5(0x188)+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x191)+(_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)?_0x593ad5(0x178):_0x593ad5(0x14e))+_0x593ad5(0x15a)),_0x2563a2+=_0x593ad5(0x17f);else{if([_0x593ad5(0x181)][_0x593ad5(0x185)](_0x446273)!=-0x1)_0x2563a2+=_0x593ad5(0x18a)+_0x1d2ab1[_0x593ad5(0x174)]+'\x0a',_0x2563a2+=_0x593ad5(0x15d)+_0x1d2ab1[_0x593ad5(0x180)]+_0x593ad5(0x17a),_0x2563a2+=_0x593ad5(0x17b)+_0x1d2ab1[_0x593ad5(0x174)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x1d2ab1[_0x593ad5(0x18c)]!='YES'&&(_0x2563a2+=_0x593ad5(0x188)+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x191)+(_0x1d2ab1[_0x593ad5(0x18c)]!='YES'?'false':'true')+'\x20},\x0a'),_0x2563a2+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x446273==_0x593ad5(0x186))_0x2563a2+=_0x593ad5(0x18a)+_0x1d2ab1['Comment']+'\x0a',_0x2563a2+='\x20\x20\x20\x20'+_0x1d2ab1['Field']+_0x593ad5(0x17a),_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)&&(_0x2563a2+=_0x593ad5(0x188)+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x191)+(_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)?_0x593ad5(0x178):_0x593ad5(0x14e))+_0x593ad5(0x15a)),_0x2563a2+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x446273==_0x593ad5(0x19b)){let _0x1586d5=(0x0,helper_1[_0x593ad5(0x194)])(_0x1d2ab1[_0x593ad5(0x182)]);_0x2563a2+=_0x593ad5(0x18a)+_0x1d2ab1[_0x593ad5(0x174)]+'\x0a',_0x2563a2+=_0x593ad5(0x15d)+_0x1d2ab1[_0x593ad5(0x180)]+':\x20[\x0a',_0x2563a2+=_0x593ad5(0x17b)+_0x1d2ab1['Comment']+_0x593ad5(0x173)+_0x1586d5[_0x593ad5(0x176)](_0x593ad5(0x172))+_0x593ad5(0x14d),_0x1d2ab1[_0x593ad5(0x18c)]!='YES'&&(_0x2563a2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x191)+(_0x1d2ab1['Null']!='YES'?_0x593ad5(0x178):_0x593ad5(0x14e))+'\x20},\x0a'),_0x2563a2+=_0x593ad5(0x17f);}else[_0x593ad5(0x16e),_0x593ad5(0x196),_0x593ad5(0x16a)][_0x593ad5(0x185)](_0x446273)>-0x1?(_0x2563a2+=_0x593ad5(0x18a)+_0x1d2ab1[_0x593ad5(0x174)]+'\x0a',_0x2563a2+=_0x593ad5(0x15d)+_0x1d2ab1[_0x593ad5(0x180)]+_0x593ad5(0x17a),_0x2563a2+=_0x593ad5(0x17b)+_0x1d2ab1['Comment']+_0x593ad5(0x195),_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)&&(_0x2563a2+=_0x593ad5(0x188)+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x191)+(_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)?_0x593ad5(0x178):_0x593ad5(0x14e))+'\x20},\x0a'),_0x2563a2+='\x20\x20\x20\x20],\x0a\x0a'):(_0x2563a2+='\x20\x20\x20\x20//\x20'+_0x1d2ab1[_0x593ad5(0x174)]+'\x0a',_0x2563a2+='\x20\x20\x20\x20'+_0x1d2ab1[_0x593ad5(0x180)]+':\x20[\x0a',_0x2563a2+=_0x593ad5(0x17b)+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x153),_0x1d2ab1['Null']!=_0x593ad5(0x179)&&(_0x2563a2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1d2ab1[_0x593ad5(0x174)]+_0x593ad5(0x191)+(_0x1d2ab1[_0x593ad5(0x18c)]!=_0x593ad5(0x179)?_0x593ad5(0x178):_0x593ad5(0x14e))+'\x20},\x0a'),_0x2563a2+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x1f9d06+='\x0a',_0x1f9d06+=_0x593ad5(0x16c),_0x1f9d06+=_0x593ad5(0x17e)+_0x39cfa4+'\x0a',_0x1f9d06+=_0x593ad5(0x15c),_0x1f9d06+=_0x593ad5(0x199),_0x1f9d06+='export\x20const\x20'+_0x410c16+_0x593ad5(0x19a),_0x1f9d06+=_0x593ad5(0x175),_0x1f9d06+=_0x593ad5(0x165),_0x1f9d06=_0x1f9d06[_0x593ad5(0x150)](_0x593ad5(0x175),_0x2563a2),fs[_0x593ad5(0x18d)](_0x8ea28a,_0x1f9d06,'utf-8');}}async function updateRule(_0x173939,{tablestartUpShort:_0x1796bd,Comment:_0x3ee928,Fields:_0x67c80b}){const _0x1f0f71=a15_0x1c3505,_0x21f736=_0x173939+_0x1f0f71(0x189);if(!fs[_0x1f0f71(0x168)](_0x21f736)){let _0x3641d0='',_0x290132='';for(let _0x331a46 in _0x67c80b){let _0x1302fa=_0x67c80b[_0x331a46],_0x396f78=(0x0,helper_1[_0x1f0f71(0x197)])(_0x1302fa['Type']);if(_0x1302fa[_0x1f0f71(0x180)]==_0x1f0f71(0x192)||_0x1302fa[_0x1f0f71(0x180)]==_0x1f0f71(0x15b)||_0x1302fa[_0x1f0f71(0x180)]==_0x1f0f71(0x160)||_0x1302fa[_0x1f0f71(0x180)]==_0x1f0f71(0x166))continue;if([_0x1f0f71(0x15f),_0x1f0f71(0x158),_0x1f0f71(0x17d)][_0x1f0f71(0x185)](_0x396f78)!=-0x1)_0x3641d0+=_0x1f0f71(0x18a)+_0x1302fa[_0x1f0f71(0x174)]+'\x0a',_0x3641d0+=_0x1f0f71(0x15d)+_0x1302fa[_0x1f0f71(0x180)]+':\x20[\x0a',_0x1302fa[_0x1f0f71(0x18c)]!='YES'&&(_0x3641d0+=_0x1f0f71(0x188)+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x191)+(_0x1302fa[_0x1f0f71(0x18c)]!=_0x1f0f71(0x179)?_0x1f0f71(0x178):_0x1f0f71(0x14e))+_0x1f0f71(0x15a)),_0x3641d0+=_0x1f0f71(0x17f);else{if([_0x1f0f71(0x156),_0x1f0f71(0x161),_0x1f0f71(0x157),_0x1f0f71(0x16f)][_0x1f0f71(0x185)](_0x396f78)!=-0x1)_0x3641d0+=_0x1f0f71(0x18a)+_0x1302fa['Comment']+'\x0a',_0x3641d0+=_0x1f0f71(0x15d)+_0x1302fa[_0x1f0f71(0x180)]+_0x1f0f71(0x17a),_0x3641d0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x184),_0x1302fa['Null']!=_0x1f0f71(0x179)&&(_0x3641d0+=_0x1f0f71(0x188)+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x191)+(_0x1302fa['Null']!=_0x1f0f71(0x179)?_0x1f0f71(0x178):_0x1f0f71(0x14e))+_0x1f0f71(0x15a)),_0x3641d0+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x1f0f71(0x181)][_0x1f0f71(0x185)](_0x396f78)!=-0x1)_0x3641d0+='\x20\x20\x20\x20//\x20'+_0x1302fa[_0x1f0f71(0x174)]+'\x0a',_0x3641d0+=_0x1f0f71(0x15d)+_0x1302fa[_0x1f0f71(0x180)]+_0x1f0f71(0x17a),_0x3641d0+=_0x1f0f71(0x17b)+_0x1302fa[_0x1f0f71(0x174)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x1302fa[_0x1f0f71(0x18c)]!=_0x1f0f71(0x179)&&(_0x3641d0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1302fa['Comment']+'不能为空`,\x20required:\x20'+(_0x1302fa[_0x1f0f71(0x18c)]!='YES'?_0x1f0f71(0x178):_0x1f0f71(0x14e))+_0x1f0f71(0x15a)),_0x3641d0+=_0x1f0f71(0x17f);else{if(_0x396f78==_0x1f0f71(0x186))_0x3641d0+=_0x1f0f71(0x18a)+_0x1302fa[_0x1f0f71(0x174)]+'\x0a',_0x3641d0+='\x20\x20\x20\x20'+_0x1302fa['Field']+_0x1f0f71(0x17a),_0x1302fa[_0x1f0f71(0x18c)]!='YES'&&(_0x3641d0+=_0x1f0f71(0x188)+_0x1302fa[_0x1f0f71(0x174)]+'不能为空`,\x20required:\x20'+(_0x1302fa[_0x1f0f71(0x18c)]!=_0x1f0f71(0x179)?_0x1f0f71(0x178):_0x1f0f71(0x14e))+'\x20},\x0a'),_0x3641d0+=_0x1f0f71(0x17f);else{if(_0x396f78==_0x1f0f71(0x19b)){let _0x27f38c=(0x0,helper_1[_0x1f0f71(0x194)])(_0x1302fa[_0x1f0f71(0x182)]);_0x3641d0+=_0x1f0f71(0x18a)+_0x1302fa[_0x1f0f71(0x174)]+'\x0a',_0x3641d0+=_0x1f0f71(0x15d)+_0x1302fa[_0x1f0f71(0x180)]+_0x1f0f71(0x17a),_0x3641d0+=_0x1f0f71(0x17b)+_0x1302fa[_0x1f0f71(0x174)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x27f38c[_0x1f0f71(0x176)]('\x27,\x20\x27')+_0x1f0f71(0x14d),_0x1302fa[_0x1f0f71(0x18c)]!=_0x1f0f71(0x179)&&(_0x3641d0+=_0x1f0f71(0x188)+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x191)+(_0x1302fa['Null']!=_0x1f0f71(0x179)?_0x1f0f71(0x178):_0x1f0f71(0x14e))+_0x1f0f71(0x15a)),_0x3641d0+=_0x1f0f71(0x17f);}else[_0x1f0f71(0x16e),_0x1f0f71(0x196),_0x1f0f71(0x16a)][_0x1f0f71(0x185)](_0x396f78)>-0x1?(_0x3641d0+=_0x1f0f71(0x18a)+_0x1302fa['Comment']+'\x0a',_0x3641d0+=_0x1f0f71(0x15d)+_0x1302fa[_0x1f0f71(0x180)]+_0x1f0f71(0x17a),_0x3641d0+=_0x1f0f71(0x17b)+_0x1302fa[_0x1f0f71(0x174)]+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x1302fa[_0x1f0f71(0x18c)]!='YES'&&(_0x3641d0+=_0x1f0f71(0x188)+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x191)+(_0x1302fa[_0x1f0f71(0x18c)]!=_0x1f0f71(0x179)?_0x1f0f71(0x178):'true')+_0x1f0f71(0x15a)),_0x3641d0+=_0x1f0f71(0x17f)):(_0x3641d0+='\x20\x20\x20\x20//\x20'+_0x1302fa['Comment']+'\x0a',_0x3641d0+=_0x1f0f71(0x15d)+_0x1302fa[_0x1f0f71(0x180)]+_0x1f0f71(0x17a),_0x3641d0+=_0x1f0f71(0x17b)+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x153),_0x1302fa['Null']!=_0x1f0f71(0x179)&&(_0x3641d0+=_0x1f0f71(0x188)+_0x1302fa[_0x1f0f71(0x174)]+_0x1f0f71(0x191)+(_0x1302fa[_0x1f0f71(0x18c)]!=_0x1f0f71(0x179)?_0x1f0f71(0x178):_0x1f0f71(0x14e))+_0x1f0f71(0x15a)),_0x3641d0+=_0x1f0f71(0x17f));}}}}}_0x290132+='\x0a',_0x290132+=_0x1f0f71(0x16c),_0x290132+=_0x1f0f71(0x17e)+_0x3ee928+'\x0a',_0x290132+=_0x1f0f71(0x159),_0x290132+=_0x1f0f71(0x199),_0x290132+=_0x1f0f71(0x163)+_0x1796bd+'EditRule\x20=\x20{\x0a',_0x290132+=_0x1f0f71(0x175),_0x290132+=_0x1f0f71(0x165),_0x290132=_0x290132['replace'](_0x1f0f71(0x175),_0x3641d0),fs[_0x1f0f71(0x18d)](_0x21f736,_0x290132,_0x1f0f71(0x162));}}
@@ -1 +1 @@
1
- function a16_0x3aab(_0x53b0d8,_0x21d00f){const _0x51db64=a16_0x3b57();return a16_0x3aab=function(_0x5a1c0a,_0x15e555){_0x5a1c0a=_0x5a1c0a-0x92;let _0x3b57b7=_0x51db64[_0x5a1c0a];return _0x3b57b7;},a16_0x3aab(_0x53b0d8,_0x21d00f);}const a16_0x414766=a16_0x3aab;(function(_0x82ff4f,_0x2a6122){const _0xd19183=a16_0x3aab,_0x321c5d=_0x82ff4f();while(!![]){try{const _0x4c1bd9=parseInt(_0xd19183(0xb8))/0x1+-parseInt(_0xd19183(0x9a))/0x2*(-parseInt(_0xd19183(0xbb))/0x3)+-parseInt(_0xd19183(0xbd))/0x4*(-parseInt(_0xd19183(0x9d))/0x5)+parseInt(_0xd19183(0xb2))/0x6+-parseInt(_0xd19183(0xaf))/0x7*(parseInt(_0xd19183(0xa4))/0x8)+parseInt(_0xd19183(0xae))/0x9+parseInt(_0xd19183(0xbc))/0xa*(-parseInt(_0xd19183(0xb0))/0xb);if(_0x4c1bd9===_0x2a6122)break;else _0x321c5d['push'](_0x321c5d['shift']());}catch(_0x523045){_0x321c5d['push'](_0x321c5d['shift']());}}}(a16_0x3b57,0x3911a));const a16_0x15e555=(function(){let _0x322a0e=!![];return function(_0x1c34e0,_0x3e0d17){const _0xd68c34=_0x322a0e?function(){const _0xbedc2f=a16_0x3aab;if(_0x3e0d17){const _0x451288=_0x3e0d17[_0xbedc2f(0x9c)](_0x1c34e0,arguments);return _0x3e0d17=null,_0x451288;}}:function(){};return _0x322a0e=![],_0xd68c34;};}()),a16_0x5a1c0a=a16_0x15e555(this,function(){const _0x2c15a2=a16_0x3aab;return a16_0x5a1c0a[_0x2c15a2(0xb4)]()[_0x2c15a2(0xa1)](_0x2c15a2(0xc0))['toString']()[_0x2c15a2(0x9f)](a16_0x5a1c0a)[_0x2c15a2(0xa1)](_0x2c15a2(0xc0));});a16_0x5a1c0a();'use strict';Object[a16_0x414766(0xba)](exports,a16_0x414766(0x94),{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a16_0x414766(0x9e)),helper_1=require('../helper');function a16_0x3b57(){const _0x44254f=['getProp','2PpGtVe','../','apply','159905CdIbDL','path','constructor','mkdirSync','search','mediumtext','writeFileSync','32DLUyMA','string','.ts','import\x20{\x20request\x20}\x20from\x20\x27','utf-8','//\x20','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',')\x20{\x0a','/list`,\x20params)\x0a','/vue','1482381VYsIhQ','413483OfmDhc','190421QEhQjl','indexOf','2627250lSYsfJ','/add`,\x20params)\x0a','toString','}\x0a\x0a','@详情\x0a','Type','286615LXZRxq','\x20\x20\x20\x20return\x20request(`POST`,\x20`','defineProperty','231837xHfbOE','490HimUYD','44yXhkUT','/apis/','Edit(','(((.+)+)+)+$','}`)\x0a',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','request\x27;\x0a\x0a','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','@列表\x0a','existsSync','/detail/${','__esModule','export\x20function\x20','Field','/remove`,\x20params)\x0a','@添加\x0a'];a16_0x3b57=function(){return _0x44254f;};return a16_0x3b57();}async function default_1({tablestartUpShort:_0x39f4a2,tablestartUpShort2:_0x6fc2b5,moduleName:_0x430a42,controller:_0x478ed8,Comment:_0xa31251,apporbasic:_0x4c2211,Primary:_0xfd22e3}){const _0xc48ad7=a16_0x414766;let _0x2a0593=process['cwd']()+_0xc48ad7(0xad)+(typeof _0x478ed8==_0xc48ad7(0xa5)?'/'+_0x478ed8:'');_0x430a42?_0x2a0593=_0x2a0593+('/apis/apps/'+_0x430a42+'/'+_0x39f4a2+_0xc48ad7(0xa6)):_0x2a0593=_0x2a0593+(_0xc48ad7(0xbe)+_0x4c2211+'/'+_0x39f4a2+_0xc48ad7(0xa6));if(!fs[_0xc48ad7(0x92)](_0x2a0593)){const _0x443046=['text',_0xc48ad7(0xa2),'string'][_0xc48ad7(0xb1)]((0x0,helper_1[_0xc48ad7(0x99)])(_0xfd22e3[_0xc48ad7(0xb7)]))==-0x1,_0x990e56=''+(typeof _0x478ed8=='string'?_0x478ed8+'/':'')+(_0x430a42?_0x430a42+'/':'')+_0x6fc2b5;let _0x5bb4fb=_0xc48ad7(0xa7)+(_0x430a42?'../../':_0xc48ad7(0x9b))+_0xc48ad7(0xc3);_0x5bb4fb+='//\x20'+_0xa31251+_0xc48ad7(0xb6),_0x5bb4fb+=_0xc48ad7(0x95)+_0x39f4a2+'Detail('+_0xfd22e3['Field']+':\x20'+(_0x443046?'number':_0xc48ad7(0xa5))+_0xc48ad7(0xab),_0x5bb4fb+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x990e56+_0xc48ad7(0x93)+_0xfd22e3[_0xc48ad7(0x96)]+_0xc48ad7(0xc1),_0x5bb4fb+='}\x0a\x0a',_0x5bb4fb+='//\x20'+_0xa31251+_0xc48ad7(0x98),_0x5bb4fb+=_0xc48ad7(0x95)+_0x39f4a2+'Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x5bb4fb+=_0xc48ad7(0xb9)+_0x990e56+_0xc48ad7(0xb3),_0x5bb4fb+=_0xc48ad7(0xb5),_0x5bb4fb+='//\x20'+_0xa31251+'@修改\x0a',_0x5bb4fb+=_0xc48ad7(0x95)+_0x39f4a2+_0xc48ad7(0xbf)+_0xfd22e3[_0xc48ad7(0x96)]+':\x20'+(_0x443046?'number':'string')+_0xc48ad7(0xc2),_0x5bb4fb+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x990e56+'/edit/${'+_0xfd22e3[_0xc48ad7(0x96)]+'}`,\x20params)\x0a',_0x5bb4fb+='}\x0a\x0a',_0x5bb4fb+=_0xc48ad7(0xa9)+_0xa31251+_0xc48ad7(0xc5),_0x5bb4fb+=_0xc48ad7(0x95)+_0x39f4a2+_0xc48ad7(0xc4),_0x5bb4fb+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x990e56+_0xc48ad7(0xac),_0x5bb4fb+=_0xc48ad7(0xb5),_0x5bb4fb+=_0xc48ad7(0xa9)+_0xa31251+'@删除\x0a',_0x5bb4fb+='export\x20function\x20'+_0x39f4a2+_0xc48ad7(0xaa),_0x5bb4fb+=_0xc48ad7(0xb9)+_0x990e56+_0xc48ad7(0x97),_0x5bb4fb+=_0xc48ad7(0xb5),fs[_0xc48ad7(0xa0)]((0x0,path_1['dirname'])(_0x2a0593),{'recursive':!![]}),fs[_0xc48ad7(0xa3)](_0x2a0593,_0x5bb4fb,_0xc48ad7(0xa8));}}
1
+ function a16_0x20fe(){const _0x14fce5=['/remove`,\x20params)\x0a','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','/apis/apps/','/detail/${','dirname','writeFileSync','(((.+)+)+)+$','4905560GpnyDo','}`)\x0a','52548ueQQEf','export\x20function\x20','.ts','/edit/${','number','getProp','mkdirSync','string','}\x0a\x0a','@删除\x0a','838723cakVqR',')\x20{\x0a','import\x20{\x20request\x20}\x20from\x20\x27','toString','/apis/','apply','3252844DKnwey','}`,\x20params)\x0a','path','search','\x20\x20\x20\x20return\x20request(`POST`,\x20`',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','defineProperty','\x20\x20\x20\x20return\x20request(`GET`,\x20`','Field','146UmNNpI','1096CwaJoD','text','5982762mqogpn','17256ImUDns','Edit(','existsSync','@详情\x0a','utf-8','@修改\x0a','@列表\x0a','/vue','//\x20','94122RZbQeW','indexOf','../helper'];a16_0x20fe=function(){return _0x14fce5;};return a16_0x20fe();}const a16_0x446025=a16_0x28ae;(function(_0x9d7ac7,_0x2ed1a9){const _0x1779ae=a16_0x28ae,_0x3b0dc0=_0x9d7ac7();while(!![]){try{const _0x49f96b=parseInt(_0x1779ae(0x151))/0x1+-parseInt(_0x1779ae(0x12e))/0x2*(parseInt(_0x1779ae(0x132))/0x3)+parseInt(_0x1779ae(0x147))/0x4+parseInt(_0x1779ae(0x145))/0x5+parseInt(_0x1779ae(0x131))/0x6+-parseInt(_0x1779ae(0x157))/0x7+parseInt(_0x1779ae(0x12f))/0x8*(-parseInt(_0x1779ae(0x13b))/0x9);if(_0x49f96b===_0x2ed1a9)break;else _0x3b0dc0['push'](_0x3b0dc0['shift']());}catch(_0x38b45a){_0x3b0dc0['push'](_0x3b0dc0['shift']());}}}(a16_0x20fe,0x7d2fd));const a16_0x40cdc3=(function(){let _0x323a50=!![];return function(_0x274682,_0x2c5644){const _0x1b1294=_0x323a50?function(){const _0x4064dc=a16_0x28ae;if(_0x2c5644){const _0x15bbe8=_0x2c5644[_0x4064dc(0x156)](_0x274682,arguments);return _0x2c5644=null,_0x15bbe8;}}:function(){};return _0x323a50=![],_0x1b1294;};}()),a16_0x3eaf48=a16_0x40cdc3(this,function(){const _0x53f23d=a16_0x28ae;return a16_0x3eaf48['toString']()[_0x53f23d(0x15a)](_0x53f23d(0x144))[_0x53f23d(0x154)]()['constructor'](a16_0x3eaf48)[_0x53f23d(0x15a)](_0x53f23d(0x144));});function a16_0x28ae(_0x1ac9cc,_0x16f1ab){const _0x46eaf0=a16_0x20fe();return a16_0x28ae=function(_0x3eaf48,_0x40cdc3){_0x3eaf48=_0x3eaf48-0x12b;let _0x20fed6=_0x46eaf0[_0x3eaf48];return _0x20fed6;},a16_0x28ae(_0x1ac9cc,_0x16f1ab);}a16_0x3eaf48();'use strict';Object[a16_0x446025(0x12b)](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a16_0x446025(0x159)),helper_1=require(a16_0x446025(0x13d));async function default_1({tablestartUpShort:_0x5a923b,tablestartUpShort2:_0x2ba746,moduleName:_0x4acdd8,controller:_0x2e1eb7,Comment:_0x355c60,apporbasic:_0x587dac,Primary:_0x57f966}){const _0x7c8c1c=a16_0x446025;let _0x3386ce=process['cwd']()+_0x7c8c1c(0x139)+(typeof _0x2e1eb7=='string'?'/'+_0x2e1eb7:'');_0x4acdd8?_0x3386ce=_0x3386ce+(_0x7c8c1c(0x140)+_0x4acdd8+'/'+_0x5a923b+'.ts'):_0x3386ce=_0x3386ce+(_0x7c8c1c(0x155)+_0x587dac+'/'+_0x5a923b+_0x7c8c1c(0x149));if(!fs[_0x7c8c1c(0x134)](_0x3386ce)){const _0x195d6a=[_0x7c8c1c(0x130),'mediumtext',_0x7c8c1c(0x14e)][_0x7c8c1c(0x13c)]((0x0,helper_1[_0x7c8c1c(0x14c)])(_0x57f966['Type']))==-0x1,_0xa7fe22=''+(typeof _0x2e1eb7==_0x7c8c1c(0x14e)?_0x2e1eb7+'/':'')+(_0x4acdd8?_0x4acdd8+'/':'')+_0x2ba746;let _0x2a0463=_0x7c8c1c(0x153)+(_0x4acdd8?'../../':'../')+'request\x27;\x0a\x0a';_0x2a0463+=_0x7c8c1c(0x13a)+_0x355c60+_0x7c8c1c(0x135),_0x2a0463+=_0x7c8c1c(0x148)+_0x5a923b+'Detail('+_0x57f966[_0x7c8c1c(0x12d)]+':\x20'+(_0x195d6a?'number':'string')+_0x7c8c1c(0x152),_0x2a0463+=_0x7c8c1c(0x12c)+_0xa7fe22+_0x7c8c1c(0x141)+_0x57f966[_0x7c8c1c(0x12d)]+_0x7c8c1c(0x146),_0x2a0463+=_0x7c8c1c(0x14f),_0x2a0463+=_0x7c8c1c(0x13a)+_0x355c60+'@添加\x0a',_0x2a0463+=_0x7c8c1c(0x148)+_0x5a923b+_0x7c8c1c(0x13f),_0x2a0463+=_0x7c8c1c(0x15b)+_0xa7fe22+'/add`,\x20params)\x0a',_0x2a0463+='}\x0a\x0a',_0x2a0463+=_0x7c8c1c(0x13a)+_0x355c60+_0x7c8c1c(0x137),_0x2a0463+=_0x7c8c1c(0x148)+_0x5a923b+_0x7c8c1c(0x133)+_0x57f966[_0x7c8c1c(0x12d)]+':\x20'+(_0x195d6a?_0x7c8c1c(0x14b):_0x7c8c1c(0x14e))+_0x7c8c1c(0x15c),_0x2a0463+=_0x7c8c1c(0x15b)+_0xa7fe22+_0x7c8c1c(0x14a)+_0x57f966[_0x7c8c1c(0x12d)]+_0x7c8c1c(0x158),_0x2a0463+=_0x7c8c1c(0x14f),_0x2a0463+='//\x20'+_0x355c60+_0x7c8c1c(0x138),_0x2a0463+='export\x20function\x20'+_0x5a923b+'List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x2a0463+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0xa7fe22+'/list`,\x20params)\x0a',_0x2a0463+=_0x7c8c1c(0x14f),_0x2a0463+=_0x7c8c1c(0x13a)+_0x355c60+_0x7c8c1c(0x150),_0x2a0463+=_0x7c8c1c(0x148)+_0x5a923b+'Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x2a0463+=_0x7c8c1c(0x15b)+_0xa7fe22+_0x7c8c1c(0x13e),_0x2a0463+=_0x7c8c1c(0x14f),fs[_0x7c8c1c(0x14d)]((0x0,path_1[_0x7c8c1c(0x142)])(_0x3386ce),{'recursive':!![]}),fs[_0x7c8c1c(0x143)](_0x3386ce,_0x2a0463,_0x7c8c1c(0x136));}}
@@ -1 +1 @@
1
- function a17_0x1e16(){const _0x3c73b3=['/list\x22','7qUEHCt','</template>\x0a\x0a','search','4045TDEfQx','34670HYnbJU','4957812MuDnSW','\x20\x20\x20\x20])\x0a','8742DTaFrz','existsSync','indexOf','path','/pages/','863069ivNBox','(((.+)+)+)+$','{title:\x20\x22','2124zvQiCI','__esModule','padEnd','/vue','5018752mtZldq','dirname','1433445JdODOB','cwd','145040LfWsga','//\x20add\x20menu\x20here','utf-8','writeFileSync','mkdirSync','toString','default','replace','readFileSync','string','</script>\x0a\x0a','\x20\x20\x20\x20</page-layout>\x0a','/layout.vue','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','defineProperty'];a17_0x1e16=function(){return _0x3c73b3;};return a17_0x1e16();}const a17_0x5d2636=a17_0x55ea;(function(_0x1bb5c3,_0xd87035){const _0x5f154c=a17_0x55ea,_0x3d2ea2=_0x1bb5c3();while(!![]){try{const _0xa63e1c=parseInt(_0x5f154c(0x139))/0x1+parseInt(_0x5f154c(0x144))/0x2+-parseInt(_0x5f154c(0x142))/0x3+parseInt(_0x5f154c(0x132))/0x4+parseInt(_0x5f154c(0x130))/0x5*(-parseInt(_0x5f154c(0x134))/0x6)+-parseInt(_0x5f154c(0x12d))/0x7*(parseInt(_0x5f154c(0x140))/0x8)+-parseInt(_0x5f154c(0x13c))/0x9*(-parseInt(_0x5f154c(0x131))/0xa);if(_0xa63e1c===_0xd87035)break;else _0x3d2ea2['push'](_0x3d2ea2['shift']());}catch(_0x2d4413){_0x3d2ea2['push'](_0x3d2ea2['shift']());}}}(a17_0x1e16,0xad306));const a17_0x29fe7f=(function(){let _0x53813f=!![];return function(_0x533dbc,_0x2daf14){const _0x36a611=_0x53813f?function(){if(_0x2daf14){const _0x3bedaf=_0x2daf14['apply'](_0x533dbc,arguments);return _0x2daf14=null,_0x3bedaf;}}:function(){};return _0x53813f=![],_0x36a611;};}()),a17_0xfbc96e=a17_0x29fe7f(this,function(){const _0x155d65=a17_0x55ea;return a17_0xfbc96e[_0x155d65(0x149)]()[_0x155d65(0x12f)](_0x155d65(0x13a))['toString']()['constructor'](a17_0xfbc96e)[_0x155d65(0x12f)](_0x155d65(0x13a));});a17_0xfbc96e();function a17_0x55ea(_0x1dd186,_0x1fe188){const _0x266388=a17_0x1e16();return a17_0x55ea=function(_0xfbc96e,_0x29fe7f){_0xfbc96e=_0xfbc96e-0x129;let _0x1e16d1=_0x266388[_0xfbc96e];return _0x1e16d1;},a17_0x55ea(_0x1dd186,_0x1fe188);}'use strict';Object[a17_0x5d2636(0x12b)](exports,a17_0x5d2636(0x13d),{'value':!![]}),exports[a17_0x5d2636(0x14a)]=default_1;const fs=require('fs'),path_1=require(a17_0x5d2636(0x137));async function default_1({tablestartUpShort2:_0x3d4ff8,controller:_0x372813,moduleName:_0x456ca8,Comment:_0x6a93cb,apporbasic:_0x3f1e16}){const _0x5ebe70=a17_0x5d2636;let _0x33f190=process[_0x5ebe70(0x143)]()+_0x5ebe70(0x13f)+(typeof _0x372813=='string'?'/'+_0x372813:'');_0x456ca8?_0x33f190=_0x33f190+('/pages/apps/'+_0x456ca8+_0x5ebe70(0x129)):_0x33f190=_0x33f190+(_0x5ebe70(0x138)+_0x3f1e16+_0x5ebe70(0x129));await createLayout(_0x33f190,{'moduleName':_0x456ca8});const _0x3213fa=fs[_0x5ebe70(0x14c)](_0x33f190,_0x5ebe70(0x146)),_0x202653=_0x5ebe70(0x13b)+(_0x6a93cb+'\x22')[_0x5ebe70(0x13e)](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x456ca8==_0x5ebe70(0x14d)?'/apps-'+_0x456ca8+'/':'/'+_0x3f1e16+'/')+_0x3d4ff8+_0x5ebe70(0x12c))[_0x5ebe70(0x13e)](0x14)+'}';_0x3213fa[_0x5ebe70(0x136)](_0x202653)==-0x1&&fs[_0x5ebe70(0x147)](_0x33f190,_0x3213fa[_0x5ebe70(0x14b)](_0x5ebe70(0x145),_0x202653+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}async function createLayout(_0xcddd7f,{moduleName:_0x4ef556}){const _0x4ca0fc=a17_0x5d2636;if(!fs[_0x4ca0fc(0x135)](_0xcddd7f)){let _0x5c5859='<template>\x0a';_0x5c5859+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-'+_0x4ef556+'/\x22\x20:menus=\x22menus\x22>\x0a\x0a',_0x5c5859+=_0x4ca0fc(0x14f),_0x5c5859+=_0x4ca0fc(0x12e),_0x5c5859+='<script\x20lang=\x22ts\x22\x20setup>\x0a',_0x5c5859+=_0x4ca0fc(0x12a),_0x5c5859+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x5c5859+=_0x4ca0fc(0x133),_0x5c5859+=_0x4ca0fc(0x14e),fs[_0x4ca0fc(0x148)]((0x0,path_1[_0x4ca0fc(0x141)])(_0xcddd7f),{'recursive':!![]}),fs[_0x4ca0fc(0x147)](_0xcddd7f,_0x5c5859,'utf-8');}}
1
+ const a17_0xdd0bb8=a17_0x154a;(function(_0x315df2,_0x2c2e43){const _0x2e683e=a17_0x154a,_0x3409bd=_0x315df2();while(!![]){try{const _0x25afb8=parseInt(_0x2e683e(0xdf))/0x1*(parseInt(_0x2e683e(0xf2))/0x2)+parseInt(_0x2e683e(0xd8))/0x3+parseInt(_0x2e683e(0xec))/0x4+parseInt(_0x2e683e(0xe0))/0x5*(-parseInt(_0x2e683e(0xcb))/0x6)+parseInt(_0x2e683e(0xd7))/0x7*(parseInt(_0x2e683e(0xd9))/0x8)+-parseInt(_0x2e683e(0xcf))/0x9*(parseInt(_0x2e683e(0xe1))/0xa)+-parseInt(_0x2e683e(0xd6))/0xb;if(_0x25afb8===_0x2c2e43)break;else _0x3409bd['push'](_0x3409bd['shift']());}catch(_0x25e977){_0x3409bd['push'](_0x3409bd['shift']());}}}(a17_0x11c3,0x6539e));function a17_0x11c3(){const _0x1e7fb7=['2035532NspOfK','</template>\x0a\x0a','(((.+)+)+)+$','dirname','__esModule',',\x20path:\x20\x22','142EZQdWL','readFileSync','<script\x20lang=\x22ts\x22\x20setup>\x0a','cwd','toString','26436lCxnlM','//\x20add\x20menu\x20here','mkdirSync','constructor','1629UsWxGy','existsSync','search','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','<template>\x0a','replace','padEnd','317911QhegHt','3288404WtKlwi','797574ByGzQh','8LtAwSD',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','/layout.vue','</script>\x0a\x0a','/list\x22','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','9254nGQyEi','750Ulrwex','44040zlAkCH','defineProperty','\x20\x20\x20\x20])\x0a','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','/pages/apps/','indexOf','/pages/','/apps-','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','utf-8','/vue'];a17_0x11c3=function(){return _0x1e7fb7;};return a17_0x11c3();}const a17_0xf4e9b3=(function(){let _0x49032b=!![];return function(_0x1d44e2,_0x4c14d9){const _0x17699b=_0x49032b?function(){if(_0x4c14d9){const _0x1dbcbc=_0x4c14d9['apply'](_0x1d44e2,arguments);return _0x4c14d9=null,_0x1dbcbc;}}:function(){};return _0x49032b=![],_0x17699b;};}()),a17_0x299caa=a17_0xf4e9b3(this,function(){const _0x1f84c7=a17_0x154a;return a17_0x299caa[_0x1f84c7(0xca)]()[_0x1f84c7(0xd1)](_0x1f84c7(0xee))['toString']()[_0x1f84c7(0xce)](a17_0x299caa)[_0x1f84c7(0xd1)](_0x1f84c7(0xee));});a17_0x299caa();function a17_0x154a(_0x344fa5,_0x534a51){const _0x29d81c=a17_0x11c3();return a17_0x154a=function(_0x299caa,_0xf4e9b3){_0x299caa=_0x299caa-0xc8;let _0x11c324=_0x29d81c[_0x299caa];return _0x11c324;},a17_0x154a(_0x344fa5,_0x534a51);}'use strict';Object[a17_0xdd0bb8(0xe2)](exports,a17_0xdd0bb8(0xf0),{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x115043,controller:_0x4366bc,moduleName:_0x44d2b5,Comment:_0x4acc0d,apporbasic:_0x52ea40}){const _0x32dc3e=a17_0xdd0bb8;let _0x477dc2=process[_0x32dc3e(0xc9)]()+_0x32dc3e(0xeb)+(typeof _0x4366bc=='string'?'/'+_0x4366bc:'');_0x44d2b5?_0x477dc2=_0x477dc2+(_0x32dc3e(0xe5)+_0x44d2b5+_0x32dc3e(0xdb)):_0x477dc2=_0x477dc2+(_0x32dc3e(0xe7)+_0x52ea40+_0x32dc3e(0xdb));await createLayout(_0x477dc2,{'moduleName':_0x44d2b5});const _0x102ae1=fs[_0x32dc3e(0xf3)](_0x477dc2,_0x32dc3e(0xea)),_0x521373='{title:\x20\x22'+(_0x4acc0d+'\x22')[_0x32dc3e(0xd5)](0x14)+_0x32dc3e(0xf1)+(''+(typeof _0x44d2b5=='string'?_0x32dc3e(0xe8)+_0x44d2b5+'/':'/'+_0x52ea40+'/')+_0x115043+_0x32dc3e(0xdd))[_0x32dc3e(0xd5)](0x14)+'}';_0x102ae1[_0x32dc3e(0xe6)](_0x521373)==-0x1&&fs['writeFileSync'](_0x477dc2,_0x102ae1[_0x32dc3e(0xd4)](_0x32dc3e(0xcc),_0x521373+_0x32dc3e(0xda)));}async function createLayout(_0x5ed359,{moduleName:_0x1048dd}){const _0x2f9b2e=a17_0xdd0bb8;if(!fs[_0x2f9b2e(0xd0)](_0x5ed359)){let _0xa5967=_0x2f9b2e(0xd3);_0xa5967+=_0x2f9b2e(0xd2)+_0x1048dd+_0x2f9b2e(0xe4),_0xa5967+='\x20\x20\x20\x20</page-layout>\x0a',_0xa5967+=_0x2f9b2e(0xed),_0xa5967+=_0x2f9b2e(0xc8),_0xa5967+=_0x2f9b2e(0xe9),_0xa5967+=_0x2f9b2e(0xde),_0xa5967+=_0x2f9b2e(0xe3),_0xa5967+=_0x2f9b2e(0xdc),fs[_0x2f9b2e(0xcd)]((0x0,path_1[_0x2f9b2e(0xef)])(_0x5ed359),{'recursive':!![]}),fs['writeFileSync'](_0x5ed359,_0xa5967,_0x2f9b2e(0xea));}}