anncic-apihelper 3.7.23 → 3.7.25

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_0x2d9f6=a10_0xd3d1;(function(_0x446110,_0x3ff07e){const _0x1c2a1c=a10_0xd3d1,_0x2e46b3=_0x446110();while(!![]){try{const _0x53f4a4=parseInt(_0x1c2a1c(0x1a3))/0x1*(-parseInt(_0x1c2a1c(0x17a))/0x2)+parseInt(_0x1c2a1c(0x16c))/0x3*(parseInt(_0x1c2a1c(0x142))/0x4)+parseInt(_0x1c2a1c(0x151))/0x5+-parseInt(_0x1c2a1c(0x16a))/0x6*(-parseInt(_0x1c2a1c(0x175))/0x7)+-parseInt(_0x1c2a1c(0x187))/0x8*(-parseInt(_0x1c2a1c(0x195))/0x9)+parseInt(_0x1c2a1c(0x184))/0xa*(parseInt(_0x1c2a1c(0x18c))/0xb)+-parseInt(_0x1c2a1c(0x13f))/0xc;if(_0x53f4a4===_0x3ff07e)break;else _0x2e46b3['push'](_0x2e46b3['shift']());}catch(_0x593b7b){_0x2e46b3['push'](_0x2e46b3['shift']());}}}(a10_0x5a57,0xbf848));function a10_0x5a57(){const _0x32a289=['45czyufN','_between?:\x20string[];\x0a\x0a','.required()','\x27)))\x0a','double','longtext','_start?:\x20string;\x0a\x0a','\x20*\x20数据更新验证\x0a','DTOSearch\x20extends\x20OmitDto(','number','@/apps/','\x27;\x0a','search','boolean','233fGDLlF','date','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','/enums/','mediumtext',':\x20string;\x0a\x0a','Null','\x27,\x20RuleType.number())\x0a',':\x20number;\x0a\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','constructor','\x27,\x20RuleType.string().valid(\x27','writeFileSync','mkdirSync','14507064ISWqnx','import\x20{\x20','decimal','1744ZMQaPZ','\x20\x20\x20\x20@Rule(\x27','/Update.ts','\x27,\x20\x27','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','substring','tinyint','export\x20class\x20','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','json','/**\x0a','Field','(((.+)+)+)+$','\x27,\x20RuleType.any())\x0a','enum','523190OCtcsu','indexOf','%SearchDtoColumn%','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','YES','\x27))\x0a','\x27;\x0a\x0a','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','created_at','Comment','DTOUpdate\x20extends\x20OmitDto(','find','\x27,\x20RuleType.string())\x0a','\x27\x20|\x20\x27','toString','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','\x27))','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','\x27,\x20RuleType.string()','float','toLowerCase','Type',':\x20any\x20|\x20any[];\x0a\x0a','toUpperCase','\x27,\x20RuleType.date()','432834rEFMAT','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','7593dWZMRO','Enum\x20}\x20from\x20\x27','DTOCreate\x20{\x0a\x0a','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','text','?:\x20number;\x0a\x0a','/validators/','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','/Create.ts','91WeaQRk','Enum,\x20\x27','DTOSearch\x20{\x0a\x0a','deleted_at','defineProperty','11046GjJvZQ','%DtoColumn%','getEnum','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','\x20*\x20','\x20\x20\x20\x20','\x20*\x20数据添加验证\x0a','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','?:\x20any\x20|\x20any[];\x0a\x0a','?:\x20string;\x0a\x0a','10WvGkmJ','displayorder','replace','764984bNvYQB','DTOCreate\x20extends\x20OmitDto(','join','string','utf-8','7217771xDNsUq','\x20*\x20**/\x0a','existsSync','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','}\x0a\x0a','_end?:\x20string;\x0a\x0a','updated_at','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','timestamp'];a10_0x5a57=function(){return _0x32a289;};return a10_0x5a57();}const a10_0x10bc21=(function(){let _0x108d9e=!![];return function(_0x1964b4,_0x5bab1f){const _0x542d55=_0x108d9e?function(){if(_0x5bab1f){const _0x62bf41=_0x5bab1f['apply'](_0x1964b4,arguments);return _0x5bab1f=null,_0x62bf41;}}:function(){};return _0x108d9e=![],_0x542d55;};}()),a10_0x3500f1=a10_0x10bc21(this,function(){const _0x2593e5=a10_0xd3d1;return a10_0x3500f1[_0x2593e5(0x15f)]()[_0x2593e5(0x1a1)](_0x2593e5(0x14e))[_0x2593e5(0x15f)]()[_0x2593e5(0x13b)](a10_0x3500f1)[_0x2593e5(0x1a1)](_0x2593e5(0x14e));});a10_0x3500f1();'use strict';Object[a10_0x2d9f6(0x179)](exports,'__esModule',{'value':!![]});const fs=require('fs'),helper_1=require('../helper');async function default_1({controllers:_0x1f841d,tablestartUp:_0x4d4444,tablestartUpShort:_0xf522a3,basedir:_0x4bf4ce,Primary:_0x24d210,Fields:_0x365b7d,Comment:_0x310010,moduleName:_0x2da0e2,apporbasic:_0x339149}){const _0x2e5aba=a10_0x2d9f6,_0x2c2559=_0x4bf4ce+('/validators/'+_0xf522a3);!fs[_0x2e5aba(0x18e)](_0x2c2559)&&fs[_0x2e5aba(0x13e)](_0x2c2559,{'recursive':!![]}),await DTOCreate({'controllers':_0x1f841d,'tablestartUp':_0x4d4444,'tablestartUpShort':_0xf522a3,'basedir':_0x4bf4ce,'Fields':_0x365b7d,'Comment':_0x310010,'moduleName':_0x2da0e2,'apporbasic':_0x339149}),await DTOUpdate({'controllers':_0x1f841d,'tablestartUp':_0x4d4444,'tablestartUpShort':_0xf522a3,'basedir':_0x4bf4ce,'Fields':_0x365b7d,'Comment':_0x310010,'moduleName':_0x2da0e2,'apporbasic':_0x339149}),await DTOSearch({'controllers':_0x1f841d,'tablestartUp':_0x4d4444,'tablestartUpShort':_0xf522a3,'basedir':_0x4bf4ce,'Fields':_0x365b7d,'Primary':_0x24d210,'Comment':_0x310010,'moduleName':_0x2da0e2,'apporbasic':_0x339149});}exports['default']=default_1;async function DTOCreate({controllers:_0x4f99c7,tablestartUp:_0xb1d759,tablestartUpShort:_0x52fda3,basedir:_0x79779a,Fields:_0x73e6c5,Comment:_0x3d4ccf,moduleName:_0x5173f5,apporbasic:_0x59e1b0}){const _0x3259fe=a10_0x2d9f6,_0x5b62e0=_0x79779a+(_0x3259fe(0x172)+_0x52fda3+_0x3259fe(0x174));if(!fs[_0x3259fe(0x18e)](_0x5b62e0)){let _0x5376a0='',_0x1074ba='',_0x599e25=![];for(let _0x4a2307 in _0x73e6c5){let _0xacee0f=_0x73e6c5[_0x4a2307],_0x166768=(0x0,helper_1['getProp'])(_0xacee0f[_0x3259fe(0x166)]);if(_0xacee0f[_0x3259fe(0x14d)]==_0x3259fe(0x185)||_0xacee0f[_0x3259fe(0x14d)]==_0x3259fe(0x159)||_0xacee0f[_0x3259fe(0x14d)]=='updated_at'||_0xacee0f[_0x3259fe(0x14d)]==_0x3259fe(0x178))continue;if([_0x3259fe(0x170),_0x3259fe(0x19a),_0x3259fe(0x1a7)][_0x3259fe(0x152)](_0x166768)!=-0x1)_0x5376a0+='\x20\x20\x20\x20@Rule(\x27'+_0xacee0f['Comment']+_0x3259fe(0x15d),_0x5376a0+='\x20\x20\x20\x20'+_0xacee0f[_0x3259fe(0x14d)]+_0x3259fe(0x183);else{if([_0x3259fe(0x164),_0x3259fe(0x199),_0x3259fe(0x141),'number'][_0x3259fe(0x152)](_0x166768)!=-0x1)_0x5376a0+=_0x3259fe(0x143)+_0xacee0f['Comment']+'\x27,\x20RuleType.number()'+(_0xacee0f[_0x3259fe(0x1a9)]!='YES'?_0x3259fe(0x197):'')+')\x0a',_0x5376a0+='\x20\x20\x20\x20'+_0xacee0f['Field']+(_0xacee0f[_0x3259fe(0x1a9)]!=_0x3259fe(0x155)?'?':'')+':\x20number;\x0a\x0a';else{if([_0x3259fe(0x148)][_0x3259fe(0x152)](_0x166768)!=-0x1)_0x599e25=!![],_0x5376a0+='\x20\x20\x20\x20@Rule(\x27'+_0xacee0f[_0x3259fe(0x15a)]+_0x3259fe(0x158)+_0xb1d759+'Enum,\x20\x27'+_0xacee0f[_0x3259fe(0x14d)]+_0x3259fe(0x161)+(_0xacee0f[_0x3259fe(0x1a9)]!=_0x3259fe(0x155)?'.required()':'')+')\x0a',_0x5376a0+='\x20\x20\x20\x20'+_0xacee0f[_0x3259fe(0x14d)]+(_0xacee0f['Null']!='YES'?'?':'')+_0x3259fe(0x1ab);else{if(_0x166768=='json')_0x5376a0+=_0x3259fe(0x143)+_0xacee0f[_0x3259fe(0x15a)]+_0x3259fe(0x14f),_0x5376a0+=_0x3259fe(0x17f)+_0xacee0f[_0x3259fe(0x14d)]+(_0xacee0f[_0x3259fe(0x1a9)]!='YES'?'?':'')+_0x3259fe(0x167);else{if(_0x166768==_0x3259fe(0x150)){let _0x386972=(0x0,helper_1[_0x3259fe(0x17c)])(_0xacee0f[_0x3259fe(0x166)]);_0x5376a0+=_0x3259fe(0x143)+_0xacee0f[_0x3259fe(0x15a)]+_0x3259fe(0x13c)+_0x386972[_0x3259fe(0x189)](_0x3259fe(0x145))+'\x27)'+(_0xacee0f[_0x3259fe(0x1a9)]!=_0x3259fe(0x155)?'.required()':'')+')\x0a',_0x5376a0+=_0x3259fe(0x17f)+_0xacee0f['Field']+(_0xacee0f[_0x3259fe(0x1a9)]!=_0x3259fe(0x155)?'?':'')+':\x20\x27'+_0x386972[_0x3259fe(0x189)](_0x3259fe(0x15e))+_0x3259fe(0x157);}else[_0x3259fe(0x1a4),'datetime','timestamp'][_0x3259fe(0x152)](_0x166768)>-0x1?(_0x5376a0+=_0x3259fe(0x143)+_0xacee0f[_0x3259fe(0x15a)]+_0x3259fe(0x169)+(_0xacee0f[_0x3259fe(0x1a9)]!='YES'?_0x3259fe(0x197):'')+')\x0a',_0x5376a0+=_0x3259fe(0x17f)+_0xacee0f[_0x3259fe(0x14d)]+(_0xacee0f[_0x3259fe(0x1a9)]!=_0x3259fe(0x155)?'?':'')+':\x20string;\x0a\x0a'):(_0x5376a0+='\x20\x20\x20\x20@Rule(\x27'+_0xacee0f[_0x3259fe(0x15a)]+_0x3259fe(0x163)+(_0xacee0f['Null']!=_0x3259fe(0x155)?_0x3259fe(0x197):'')+')\x0a',_0x5376a0+=_0x3259fe(0x17f)+_0xacee0f[_0x3259fe(0x14d)]+(_0xacee0f[_0x3259fe(0x1a9)]!='YES'?'?':'')+_0x3259fe(0x1a8));}}}}}_0x5376a0+=_0x3259fe(0x173),_0x5376a0+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x4f99c7===null||_0x4f99c7===void 0x0?void 0x0:_0x4f99c7[_0x3259fe(0x15c)](_0x56f1da=>typeof _0x56f1da!='boolean'))?_0x1074ba+=_0x3259fe(0x13a):_0x1074ba+=_0x3259fe(0x16f);_0x599e25&&(_0x1074ba+='import\x20{\x20'+_0xb1d759+_0x3259fe(0x16d)+(typeof _0x5173f5==_0x3259fe(0x18a)?'@/apps/'+_0x5173f5:'@/'+_0x59e1b0)+'/enums/'+_0x52fda3+'\x27;\x0a');_0x1074ba+='\x0a',_0x1074ba+=_0x3259fe(0x14c),_0x1074ba+=_0x3259fe(0x17e)+_0x3d4ccf+'\x0a',_0x1074ba+=_0x3259fe(0x180),_0x1074ba+=_0x3259fe(0x18d),_0x1074ba+=_0x3259fe(0x149)+_0xb1d759+_0x3259fe(0x16e),_0x1074ba+=_0x3259fe(0x17b),_0x1074ba+=_0x3259fe(0x190);for(const _0x9a43be of _0x4f99c7){typeof _0x9a43be==_0x3259fe(0x18a)&&(_0x1074ba+='export\x20class\x20'+_0x9a43be[_0x3259fe(0x147)](0x0,0x1)[_0x3259fe(0x168)]()+_0x9a43be[_0x3259fe(0x147)](0x1)[_0x3259fe(0x165)]()+_0xb1d759+_0x3259fe(0x188)+_0xb1d759+_0x3259fe(0x146),_0x1074ba+=_0x3259fe(0x190));}_0x1074ba=_0x1074ba[_0x3259fe(0x186)](_0x3259fe(0x17b),_0x5376a0),fs[_0x3259fe(0x13d)](_0x5b62e0,_0x1074ba,'utf-8');}}async function DTOUpdate({controllers:_0x4ccaae,tablestartUp:_0x206ddc,tablestartUpShort:_0x16a725,basedir:_0x199541,Fields:_0x2fbb39,Comment:_0x828d89,moduleName:_0xa9d818,apporbasic:_0xd9560f}){const _0x46ef96=a10_0x2d9f6,_0x3717ae=_0x199541+(_0x46ef96(0x172)+_0x16a725+_0x46ef96(0x144));if(!fs[_0x46ef96(0x18e)](_0x3717ae)){let _0x429862='',_0x252ef8='',_0x2d94c8=![];for(let _0x48725b in _0x2fbb39){let _0x39dd6f=_0x2fbb39[_0x48725b],_0x84f20a=(0x0,helper_1['getProp'])(_0x39dd6f[_0x46ef96(0x166)]);if(_0x39dd6f[_0x46ef96(0x14d)]=='displayorder'||_0x39dd6f['Field']==_0x46ef96(0x159)||_0x39dd6f[_0x46ef96(0x14d)]==_0x46ef96(0x192)||_0x39dd6f[_0x46ef96(0x14d)]==_0x46ef96(0x178))continue;if([_0x46ef96(0x170),'longtext',_0x46ef96(0x1a7)][_0x46ef96(0x152)](_0x84f20a)!=-0x1)_0x429862+='\x20\x20\x20\x20@Rule(\x27'+_0x39dd6f[_0x46ef96(0x15a)]+_0x46ef96(0x15d),_0x429862+=_0x46ef96(0x17f)+_0x39dd6f[_0x46ef96(0x14d)]+_0x46ef96(0x183);else{if([_0x46ef96(0x164),'double','decimal',_0x46ef96(0x19e)][_0x46ef96(0x152)](_0x84f20a)!=-0x1)_0x429862+=_0x46ef96(0x143)+_0x39dd6f['Comment']+_0x46ef96(0x1aa),_0x429862+=_0x46ef96(0x17f)+_0x39dd6f[_0x46ef96(0x14d)]+_0x46ef96(0x171);else{if([_0x46ef96(0x148)]['indexOf'](_0x84f20a)!=-0x1)_0x2d94c8=!![],_0x429862+=_0x46ef96(0x143)+_0x39dd6f[_0x46ef96(0x15a)]+_0x46ef96(0x158)+_0x206ddc+'Enum,\x20\x27'+_0x39dd6f['Field']+_0x46ef96(0x198),_0x429862+='\x20\x20\x20\x20'+_0x39dd6f['Field']+'?:\x20number;\x0a\x0a';else{if(_0x84f20a==_0x46ef96(0x14b))_0x429862+=_0x46ef96(0x143)+_0x39dd6f[_0x46ef96(0x15a)]+'\x27,\x20RuleType.any())\x0a',_0x429862+=_0x46ef96(0x17f)+_0x39dd6f[_0x46ef96(0x14d)]+_0x46ef96(0x182);else{if(_0x84f20a==_0x46ef96(0x150)){let _0x47b512=(0x0,helper_1[_0x46ef96(0x17c)])(_0x39dd6f[_0x46ef96(0x166)]);_0x429862+='\x20\x20\x20\x20@Rule(\x27'+_0x39dd6f[_0x46ef96(0x15a)]+'\x27,\x20RuleType.string().valid(\x27'+_0x47b512[_0x46ef96(0x189)](_0x46ef96(0x145))+_0x46ef96(0x156),_0x429862+=_0x46ef96(0x17f)+_0x39dd6f[_0x46ef96(0x14d)]+'?:\x20\x27'+_0x47b512[_0x46ef96(0x189)](_0x46ef96(0x15e))+_0x46ef96(0x157);}else['date','datetime',_0x46ef96(0x194)]['indexOf'](_0x84f20a)>-0x1?(_0x429862+='\x20\x20\x20\x20@Rule(\x27'+_0x39dd6f[_0x46ef96(0x15a)]+'\x27,\x20RuleType.date())\x0a',_0x429862+=_0x46ef96(0x17f)+_0x39dd6f[_0x46ef96(0x14d)]+_0x46ef96(0x183)):(_0x429862+=_0x46ef96(0x143)+_0x39dd6f[_0x46ef96(0x15a)]+'\x27,\x20RuleType.string())\x0a',_0x429862+=_0x46ef96(0x17f)+_0x39dd6f[_0x46ef96(0x14d)]+_0x46ef96(0x183));}}}}}_0x429862+=_0x46ef96(0x173),_0x429862+=_0x46ef96(0x17d);(_0x4ccaae===null||_0x4ccaae===void 0x0?void 0x0:_0x4ccaae[_0x46ef96(0x15c)](_0x47228f=>typeof _0x47228f!=_0x46ef96(0x1a2)))?_0x252ef8+=_0x46ef96(0x13a):_0x252ef8+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x2d94c8&&(_0x252ef8+=_0x46ef96(0x140)+_0x206ddc+_0x46ef96(0x16d)+(typeof _0xa9d818==_0x46ef96(0x18a)?_0x46ef96(0x19f)+_0xa9d818:'@/'+_0xd9560f)+'/enums/'+_0x16a725+_0x46ef96(0x1a0));_0x252ef8+='\x0a',_0x252ef8+=_0x46ef96(0x14c),_0x252ef8+='\x20*\x20'+_0x828d89+'\x0a',_0x252ef8+=_0x46ef96(0x19c),_0x252ef8+='\x20*\x20**/\x0a',_0x252ef8+=_0x46ef96(0x149)+_0x206ddc+'DTOUpdate\x20{\x0a\x0a',_0x252ef8+=_0x46ef96(0x17b),_0x252ef8+=_0x46ef96(0x190);for(const _0x1fe28d of _0x4ccaae){typeof _0x1fe28d==_0x46ef96(0x18a)&&(_0x252ef8+=_0x46ef96(0x149)+_0x1fe28d[_0x46ef96(0x147)](0x0,0x1)[_0x46ef96(0x168)]()+_0x1fe28d['substring'](0x1)[_0x46ef96(0x165)]()+_0x206ddc+_0x46ef96(0x15b)+_0x206ddc+'DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x252ef8+=_0x46ef96(0x190));}_0x252ef8=_0x252ef8[_0x46ef96(0x186)](_0x46ef96(0x17b),_0x429862),fs['writeFileSync'](_0x3717ae,_0x252ef8,_0x46ef96(0x18b));}}function a10_0xd3d1(_0x1385d8,_0x32b019){const _0x1d29f2=a10_0x5a57();return a10_0xd3d1=function(_0x3500f1,_0x10bc21){_0x3500f1=_0x3500f1-0x13a;let _0x5a57d9=_0x1d29f2[_0x3500f1];return _0x5a57d9;},a10_0xd3d1(_0x1385d8,_0x32b019);}async function DTOSearch({controllers:_0x1f51b9,tablestartUp:_0x25399b,tablestartUpShort:_0xc6f36a,basedir:_0x5a3dbd,Fields:_0x5c51f2,Primary:_0x20a009,Comment:_0xee05ea,moduleName:_0x2410a6,apporbasic:_0x4e16fb}){const _0x321e46=a10_0x2d9f6,_0xc59af1=_0x5a3dbd+(_0x321e46(0x172)+_0xc6f36a+'/Search.ts');if(!fs[_0x321e46(0x18e)](_0xc59af1)){let _0x234b55='',_0x5cfab5='',_0x478128=![];for(let _0x402195 of[{[_0x20a009['Field']]:_0x20a009},_0x5c51f2]){for(let _0x56d95f in _0x402195){let _0x553bf0=_0x402195[_0x56d95f],_0x294125=(0x0,helper_1['getProp'])(_0x553bf0[_0x321e46(0x166)]);if(_0x553bf0[_0x321e46(0x14d)]=='displayorder'||_0x553bf0[_0x321e46(0x14d)]==_0x321e46(0x159)||_0x553bf0[_0x321e46(0x14d)]==_0x321e46(0x192)||_0x553bf0['Field']==_0x321e46(0x178))continue;if([_0x321e46(0x170),_0x321e46(0x19a),_0x321e46(0x1a7)][_0x321e46(0x152)](_0x294125)!=-0x1){}else{if([_0x321e46(0x164),_0x321e46(0x199),'decimal',_0x321e46(0x19e)][_0x321e46(0x152)](_0x294125)!=-0x1)_0x234b55+=_0x321e46(0x143)+_0x553bf0[_0x321e46(0x15a)]+_0x321e46(0x1aa),_0x234b55+=_0x321e46(0x17f)+_0x553bf0[_0x321e46(0x14d)]+'?:\x20number;\x0a\x0a';else{if(['tinyint'][_0x321e46(0x152)](_0x294125)!=-0x1)_0x478128=!![],_0x234b55+='\x20\x20\x20\x20@Rule(\x27'+_0x553bf0[_0x321e46(0x15a)]+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x25399b+_0x321e46(0x176)+_0x553bf0[_0x321e46(0x14d)]+_0x321e46(0x198),_0x234b55+='\x20\x20\x20\x20'+_0x553bf0[_0x321e46(0x14d)]+'?:\x20number;\x0a\x0a';else{if(_0x294125=='json'){}else{if(_0x294125==_0x321e46(0x150)){let _0x27873e=(0x0,helper_1[_0x321e46(0x17c)])(_0x553bf0[_0x321e46(0x166)]);_0x234b55+=_0x321e46(0x143)+_0x553bf0['Comment']+'\x27,\x20RuleType.string().valid(\x27'+_0x27873e['join'](_0x321e46(0x145))+_0x321e46(0x156),_0x234b55+=_0x321e46(0x17f)+_0x553bf0[_0x321e46(0x14d)]+'?:\x20\x27'+_0x27873e['join'](_0x321e46(0x15e))+_0x321e46(0x157);}else[_0x321e46(0x1a4),'datetime',_0x321e46(0x194)][_0x321e46(0x152)](_0x294125)>-0x1?(_0x234b55+=_0x321e46(0x143)+_0x553bf0['Comment']+_0x321e46(0x15d),_0x234b55+='\x20\x20\x20\x20'+_0x553bf0[_0x321e46(0x14d)]+'?:\x20string;\x0a\x0a',_0x234b55+=_0x321e46(0x143)+_0x553bf0[_0x321e46(0x15a)]+'\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x234b55+=_0x321e46(0x17f)+_0x553bf0[_0x321e46(0x14d)]+_0x321e46(0x196),_0x234b55+=_0x321e46(0x143)+_0x553bf0['Comment']+'\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x234b55+=_0x321e46(0x17f)+_0x553bf0[_0x321e46(0x14d)]+_0x321e46(0x19b),_0x234b55+='\x20\x20\x20\x20@Rule(\x27'+_0x553bf0['Comment']+_0x321e46(0x154),_0x234b55+='\x20\x20\x20\x20'+_0x553bf0[_0x321e46(0x14d)]+_0x321e46(0x191)):(_0x234b55+=_0x321e46(0x143)+_0x553bf0[_0x321e46(0x15a)]+_0x321e46(0x15d),_0x234b55+=_0x321e46(0x17f)+_0x553bf0[_0x321e46(0x14d)]+'?:\x20string;\x0a\x0a');}}}}}}_0x234b55+=_0x321e46(0x173),_0x234b55+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a',_0x234b55+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x234b55+='\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a',_0x234b55+=_0x321e46(0x18f),_0x234b55+='\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a',_0x234b55+=_0x321e46(0x1a5),_0x234b55+=_0x321e46(0x14a),_0x234b55+=_0x321e46(0x162),_0x234b55+=_0x321e46(0x181),_0x234b55+=_0x321e46(0x16b),_0x234b55+='\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a',_0x234b55+=_0x321e46(0x160),_0x234b55+=_0x321e46(0x193);(_0x1f51b9===null||_0x1f51b9===void 0x0?void 0x0:_0x1f51b9[_0x321e46(0x15c)](_0x33461a=>typeof _0x33461a!=_0x321e46(0x1a2)))?_0x5cfab5+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x5cfab5+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x478128&&(_0x5cfab5+=_0x321e46(0x140)+_0x25399b+_0x321e46(0x16d)+(typeof _0x2410a6==_0x321e46(0x18a)?_0x321e46(0x19f)+_0x2410a6:'@/'+_0x4e16fb)+_0x321e46(0x1a6)+_0xc6f36a+'\x27;\x0a');_0x5cfab5+='\x0a',_0x5cfab5+=_0x321e46(0x14c),_0x5cfab5+=_0x321e46(0x17e)+_0xee05ea+'\x0a',_0x5cfab5+='\x20*\x20数据检索验证\x0a',_0x5cfab5+=_0x321e46(0x18d),_0x5cfab5+=_0x321e46(0x149)+_0x25399b+_0x321e46(0x177),_0x5cfab5+=_0x321e46(0x153),_0x5cfab5+=_0x321e46(0x190);for(const _0xd212e6 of _0x1f51b9){typeof _0xd212e6==_0x321e46(0x18a)&&(_0x5cfab5+=_0x321e46(0x149)+_0xd212e6[_0x321e46(0x147)](0x0,0x1)[_0x321e46(0x168)]()+_0xd212e6[_0x321e46(0x147)](0x1)[_0x321e46(0x165)]()+_0x25399b+_0x321e46(0x19d)+_0x25399b+'DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x5cfab5+=_0x321e46(0x190));}_0x5cfab5=_0x5cfab5[_0x321e46(0x186)](_0x321e46(0x153),_0x234b55),fs['writeFileSync'](_0xc59af1,_0x5cfab5,'utf-8');}}
1
+ const a10_0x382fb7=a10_0x853d;(function(_0x47e118,_0x4ff1a){const _0x1cde6f=a10_0x853d,_0x3a6ece=_0x47e118();while(!![]){try{const _0xd1a51f=-parseInt(_0x1cde6f(0x19c))/0x1+-parseInt(_0x1cde6f(0x1af))/0x2+-parseInt(_0x1cde6f(0x205))/0x3+parseInt(_0x1cde6f(0x1e4))/0x4*(-parseInt(_0x1cde6f(0x1cc))/0x5)+parseInt(_0x1cde6f(0x1a7))/0x6*(-parseInt(_0x1cde6f(0x1e2))/0x7)+parseInt(_0x1cde6f(0x1ff))/0x8*(parseInt(_0x1cde6f(0x1b8))/0x9)+-parseInt(_0x1cde6f(0x1e0))/0xa*(-parseInt(_0x1cde6f(0x1c4))/0xb);if(_0xd1a51f===_0x4ff1a)break;else _0x3a6ece['push'](_0x3a6ece['shift']());}catch(_0x103b1b){_0x3a6ece['push'](_0x3a6ece['shift']());}}}(a10_0x519f,0x8a327));const a10_0x383af0=(function(){let _0x199363=!![];return function(_0x3df3d1,_0xa93c3c){const _0x40f476=_0x199363?function(){const _0x5e192b=a10_0x853d;if(_0xa93c3c){const _0x2fc4fe=_0xa93c3c[_0x5e192b(0x1ae)](_0x3df3d1,arguments);return _0xa93c3c=null,_0x2fc4fe;}}:function(){};return _0x199363=![],_0x40f476;};}()),a10_0x5ddf94=a10_0x383af0(this,function(){const _0x154d96=a10_0x853d;return a10_0x5ddf94[_0x154d96(0x19e)]()['search'](_0x154d96(0x1d5))[_0x154d96(0x19e)]()[_0x154d96(0x1f3)](a10_0x5ddf94)[_0x154d96(0x1b1)](_0x154d96(0x1d5));});a10_0x5ddf94();'use strict';Object[a10_0x382fb7(0x1df)](exports,a10_0x382fb7(0x1bf),{'value':!![]});const fs=require('fs'),helper_1=require(a10_0x382fb7(0x1b5));function a10_0x853d(_0x4722ed,_0x4dfc5a){const _0x28c7e0=a10_0x519f();return a10_0x853d=function(_0x5ddf94,_0x383af0){_0x5ddf94=_0x5ddf94-0x19b;let _0x519f56=_0x28c7e0[_0x5ddf94];return _0x519f56;},a10_0x853d(_0x4722ed,_0x4dfc5a);}async function default_1({controllers:_0x49dcb6,tablestartUp:_0x5cc645,tablestartUpShort:_0x5251be,basedir:_0x40744e,Primary:_0x858f6e,Fields:_0x3f7b54,Comment:_0x2b5c59,moduleName:_0x55337a,apporbasic:_0xb15479}){const _0x59ae2c=a10_0x382fb7,_0xb899c0=_0x40744e+('/validators/'+_0x5251be);!fs[_0x59ae2c(0x1a9)](_0xb899c0)&&fs['mkdirSync'](_0xb899c0,{'recursive':!![]}),await DTOCreate({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479}),await DTOUpdate({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479}),await DTOSearch({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Primary':_0x858f6e,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479});}exports[a10_0x382fb7(0x1f8)]=default_1;async function DTOCreate({controllers:_0x34bc95,tablestartUp:_0x476dd1,tablestartUpShort:_0x7a3d6b,basedir:_0x163de0,Fields:_0x5afc41,Comment:_0x556c2a,moduleName:_0x2e2a20,apporbasic:_0x3be03d}){const _0xe5662c=a10_0x382fb7,_0x2993df=_0x163de0+('/validators/'+_0x7a3d6b+_0xe5662c(0x1c6));if(!fs[_0xe5662c(0x1a9)](_0x2993df)){let _0x3d4152='',_0x2cac3f='',_0x254a20=![];for(let _0x4b5355 in _0x5afc41){let _0x3d276d=_0x5afc41[_0x4b5355],_0x4c6d7f=(0x0,helper_1[_0xe5662c(0x1d6)])(_0x3d276d[_0xe5662c(0x201)]);if(_0x3d276d[_0xe5662c(0x1c9)]=='displayorder'||_0x3d276d[_0xe5662c(0x1c9)]=='created_at'||_0x3d276d[_0xe5662c(0x1c9)]==_0xe5662c(0x1dc)||_0x3d276d[_0xe5662c(0x1c9)]==_0xe5662c(0x19b))continue;if([_0xe5662c(0x1b0),'longtext','mediumtext'][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+'\x27,\x20RuleType.string())\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+'?:\x20string;\x0a\x0a';else{if([_0xe5662c(0x1a3),'double',_0xe5662c(0x1ef),_0xe5662c(0x1fb)][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x20a)+(_0x3d276d[_0xe5662c(0x1bc)]!='YES'?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1a5);else{if([_0xe5662c(0x1b3)][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x254a20=!![],_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+_0xe5662c(0x216)+_0x476dd1+'Enum,\x20\x27'+_0x3d276d[_0xe5662c(0x1c9)]+_0xe5662c(0x208)+(_0x3d276d['Null']!=_0xe5662c(0x1e7)?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+='\x20\x20\x20\x20'+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1a5);else{if(_0x4c6d7f==_0xe5662c(0x1a4))_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+_0xe5662c(0x1cf),_0x3d4152+='\x20\x20\x20\x20'+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x212);else{if(_0x4c6d7f==_0xe5662c(0x1ab)){let _0x19a200=(0x0,helper_1[_0xe5662c(0x1d0)])(_0x3d276d[_0xe5662c(0x201)]);_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x1be)+_0x19a200[_0xe5662c(0x1f0)](_0xe5662c(0x1c7))+'\x27)'+(_0x3d276d[_0xe5662c(0x1bc)]!='YES'?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1f7)+_0x19a200['join'](_0xe5662c(0x215))+_0xe5662c(0x1b4);}else['date','datetime',_0xe5662c(0x1e8)][_0xe5662c(0x1a2)](_0x4c6d7f)>-0x1?(_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x1aa)+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1c3)):(_0x3d4152+='\x20\x20\x20\x20@Rule(\x27'+_0x3d276d[_0xe5662c(0x1f6)]+'\x27,\x20RuleType.string()'+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'.required()':'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d['Null']!=_0xe5662c(0x1e7)?'?':'')+':\x20string;\x0a\x0a');}}}}}_0x3d4152+=_0xe5662c(0x209),_0x3d4152+=_0xe5662c(0x1cb);(_0x34bc95===null||_0x34bc95===void 0x0?void 0x0:_0x34bc95[_0xe5662c(0x1fe)](_0x45e08b=>typeof _0x45e08b!='boolean'))?_0x2cac3f+=_0xe5662c(0x1ee):_0x2cac3f+=_0xe5662c(0x1ec);_0x254a20&&(_0x2cac3f+=_0xe5662c(0x1e1)+_0x476dd1+_0xe5662c(0x1cd)+(typeof _0x2e2a20=='string'?'@/apps/'+_0x2e2a20:'@/'+_0x3be03d)+_0xe5662c(0x203)+_0x7a3d6b+_0xe5662c(0x1d7));_0x2cac3f+='\x0a',_0x2cac3f+=_0xe5662c(0x1e9),_0x2cac3f+=_0xe5662c(0x1d2)+_0x556c2a+'\x0a',_0x2cac3f+=_0xe5662c(0x1b9),_0x2cac3f+=_0xe5662c(0x1a0),_0x2cac3f+=_0xe5662c(0x207)+_0x476dd1+'DTOCreate\x20{\x0a\x0a',_0x2cac3f+=_0xe5662c(0x206),_0x2cac3f+=_0xe5662c(0x20f);for(const _0x142ad2 of _0x34bc95){typeof _0x142ad2==_0xe5662c(0x1e6)&&(_0x2cac3f+=_0xe5662c(0x207)+_0x142ad2[_0xe5662c(0x1b2)](0x0,0x1)[_0xe5662c(0x20d)]()+_0x142ad2[_0xe5662c(0x1b2)](0x1)[_0xe5662c(0x1f1)]()+_0x476dd1+'DTOCreate\x20extends\x20OmitDto('+_0x476dd1+_0xe5662c(0x1e3),_0x2cac3f+='}\x0a\x0a');}_0x2cac3f=_0x2cac3f['replace']('%DtoColumn%',_0x3d4152),fs[_0xe5662c(0x19f)](_0x2993df,_0x2cac3f,_0xe5662c(0x1f9));}}async function DTOUpdate({controllers:_0xa4face,tablestartUp:_0x2b022,tablestartUpShort:_0x5240cd,basedir:_0x4088ea,Fields:_0x1a975c,Comment:_0x34a5c4,moduleName:_0x68d4be,apporbasic:_0x2c94c6}){const _0x4d8326=a10_0x382fb7,_0x3f4c48=_0x4088ea+(_0x4d8326(0x1d4)+_0x5240cd+_0x4d8326(0x211));if(!fs[_0x4d8326(0x1a9)](_0x3f4c48)){let _0x39d0a4='',_0x119d77='',_0x3b00a2=![];for(let _0x5072c7 in _0x1a975c){let _0x33483b=_0x1a975c[_0x5072c7],_0x52a923=(0x0,helper_1[_0x4d8326(0x1d6)])(_0x33483b['Type']);if(_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x1a1)||_0x33483b[_0x4d8326(0x1c9)]=='created_at'||_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x1dc)||_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x19b))continue;if([_0x4d8326(0x1b0),_0x4d8326(0x1bb),_0x4d8326(0x1c5)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1c1),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x200);else{if([_0x4d8326(0x1a3),_0x4d8326(0x1fd),_0x4d8326(0x1ef),_0x4d8326(0x1fb)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b[_0x4d8326(0x1f6)]+'\x27,\x20RuleType.number())\x0a',_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+'?:\x20number;\x0a\x0a';else{if([_0x4d8326(0x1b3)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x3b00a2=!![],_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b['Comment']+_0x4d8326(0x216)+_0x2b022+_0x4d8326(0x1c0)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x213),_0x39d0a4+='\x20\x20\x20\x20'+_0x33483b['Field']+_0x4d8326(0x1d1);else{if(_0x52a923=='json')_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b['Comment']+_0x4d8326(0x1cf),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x52a923=='enum'){let _0x1dfcba=(0x0,helper_1['getEnum'])(_0x33483b[_0x4d8326(0x201)]);_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b['Comment']+_0x4d8326(0x1be)+_0x1dfcba[_0x4d8326(0x1f0)](_0x4d8326(0x1c7))+'\x27))\x0a',_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b['Field']+_0x4d8326(0x1b7)+_0x1dfcba['join']('\x27\x20|\x20\x27')+'\x27;\x0a\x0a';}else[_0x4d8326(0x20e),_0x4d8326(0x1fa),'timestamp'][_0x4d8326(0x1a2)](_0x52a923)>-0x1?(_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1da),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x200)):(_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1c1),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b['Field']+_0x4d8326(0x200));}}}}}_0x39d0a4+=_0x4d8326(0x209),_0x39d0a4+=_0x4d8326(0x1cb);(_0xa4face===null||_0xa4face===void 0x0?void 0x0:_0xa4face[_0x4d8326(0x1fe)](_0x451dce=>typeof _0x451dce!=_0x4d8326(0x1a8)))?_0x119d77+=_0x4d8326(0x1ee):_0x119d77+=_0x4d8326(0x1ec);_0x3b00a2&&(_0x119d77+=_0x4d8326(0x1e1)+_0x2b022+_0x4d8326(0x1cd)+(typeof _0x68d4be==_0x4d8326(0x1e6)?_0x4d8326(0x1ac)+_0x68d4be:'@/'+_0x2c94c6)+'/enums/'+_0x5240cd+'\x27;\x0a');_0x119d77+='\x0a',_0x119d77+=_0x4d8326(0x1e9),_0x119d77+=_0x4d8326(0x1d2)+_0x34a5c4+'\x0a',_0x119d77+=_0x4d8326(0x1d3),_0x119d77+=_0x4d8326(0x1a0),_0x119d77+=_0x4d8326(0x207)+_0x2b022+_0x4d8326(0x1fc),_0x119d77+=_0x4d8326(0x206),_0x119d77+=_0x4d8326(0x20f);for(const _0x7de860 of _0xa4face){typeof _0x7de860==_0x4d8326(0x1e6)&&(_0x119d77+=_0x4d8326(0x207)+_0x7de860[_0x4d8326(0x1b2)](0x0,0x1)[_0x4d8326(0x20d)]()+_0x7de860[_0x4d8326(0x1b2)](0x1)[_0x4d8326(0x1f1)]()+_0x2b022+_0x4d8326(0x1f5)+_0x2b022+_0x4d8326(0x1b6),_0x119d77+='}\x0a\x0a');}_0x119d77=_0x119d77['replace']('%DtoColumn%',_0x39d0a4),fs[_0x4d8326(0x19f)](_0x3f4c48,_0x119d77,_0x4d8326(0x1f9));}}async function DTOSearch({controllers:_0x33834d,tablestartUp:_0x205fd9,tablestartUpShort:_0x3120ed,basedir:_0x5abbc2,Fields:_0x1641bf,Primary:_0x135ec6,Comment:_0x53bc22,moduleName:_0x15e64a,apporbasic:_0x2fab81}){const _0x10f2e2=a10_0x382fb7,_0x5b4a34=_0x5abbc2+('/validators/'+_0x3120ed+_0x10f2e2(0x1db));if(!fs[_0x10f2e2(0x1a9)](_0x5b4a34)){let _0x683a1='',_0x33d35b='',_0x4a1d59=![];for(let _0x2c3f62 of[{[_0x135ec6[_0x10f2e2(0x1c9)]]:_0x135ec6},_0x1641bf]){for(let _0x45b8e1 in _0x2c3f62){let _0x14acc4=_0x2c3f62[_0x45b8e1],_0x5af2bb=(0x0,helper_1[_0x10f2e2(0x1d6)])(_0x14acc4[_0x10f2e2(0x201)]);if(_0x14acc4[_0x10f2e2(0x1c9)]=='displayorder'||_0x14acc4[_0x10f2e2(0x1c9)]==_0x10f2e2(0x1eb)||_0x14acc4['Field']=='updated_at'||_0x14acc4[_0x10f2e2(0x1c9)]==_0x10f2e2(0x19b))continue;if(['text',_0x10f2e2(0x1bb),_0x10f2e2(0x1c5)][_0x10f2e2(0x1a2)](_0x5af2bb)!=-0x1){}else{if(['float',_0x10f2e2(0x1fd),'decimal',_0x10f2e2(0x1fb)]['indexOf'](_0x5af2bb)!=-0x1)_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4['Comment']+_0x10f2e2(0x20c),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1d1);else{if([_0x10f2e2(0x1b3)][_0x10f2e2(0x1a2)](_0x5af2bb)!=-0x1)_0x4a1d59=!![],_0x683a1+='\x20\x20\x20\x20@Rule(\x27'+_0x14acc4['Comment']+_0x10f2e2(0x216)+_0x205fd9+'Enum,\x20\x27'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x213),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1d1);else{if(_0x5af2bb=='json'){}else{if(_0x5af2bb=='enum'){let _0x4d2423=(0x0,helper_1[_0x10f2e2(0x1d0)])(_0x14acc4[_0x10f2e2(0x201)]);_0x683a1+='\x20\x20\x20\x20@Rule(\x27'+_0x14acc4[_0x10f2e2(0x1f6)]+'\x27,\x20RuleType.string().valid(\x27'+_0x4d2423[_0x10f2e2(0x1f0)]('\x27,\x20\x27')+_0x10f2e2(0x214),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x1b7)+_0x4d2423[_0x10f2e2(0x1f0)]('\x27\x20|\x20\x27')+_0x10f2e2(0x1b4);}else[_0x10f2e2(0x20e),_0x10f2e2(0x1fa),'timestamp'][_0x10f2e2(0x1a2)](_0x5af2bb)>-0x1?(_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4['Comment']+_0x10f2e2(0x1c1),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4[_0x10f2e2(0x1c9)]+'?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1de),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1ce),_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1c2),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4['Field']+'_start?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+'\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x683a1+='\x20\x20\x20\x20'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x1c8)):(_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1c1),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4[_0x10f2e2(0x1c9)]+'?:\x20string;\x0a\x0a');}}}}}}_0x683a1+='\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a',_0x683a1+=_0x10f2e2(0x1cb),_0x683a1+=_0x10f2e2(0x1ed),_0x683a1+=_0x10f2e2(0x19d),_0x683a1+=_0x10f2e2(0x1ad),_0x683a1+='\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1e5),_0x683a1+=_0x10f2e2(0x1dd),_0x683a1+=_0x10f2e2(0x204),_0x683a1+=_0x10f2e2(0x1d8),_0x683a1+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x683a1+=_0x10f2e2(0x202),_0x683a1+=_0x10f2e2(0x1ba),_0x683a1+=_0x10f2e2(0x1f4);(_0x33834d===null||_0x33834d===void 0x0?void 0x0:_0x33834d[_0x10f2e2(0x1fe)](_0x56591b=>typeof _0x56591b!=_0x10f2e2(0x1a8)))?_0x33d35b+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x33d35b+=_0x10f2e2(0x1ec);_0x4a1d59&&(_0x33d35b+=_0x10f2e2(0x1e1)+_0x205fd9+_0x10f2e2(0x1cd)+(typeof _0x15e64a=='string'?'@/apps/'+_0x15e64a:'@/'+_0x2fab81)+_0x10f2e2(0x203)+_0x3120ed+_0x10f2e2(0x1d7));_0x33d35b+='\x0a',_0x33d35b+='/**\x0a',_0x33d35b+='\x20*\x20'+_0x53bc22+'\x0a',_0x33d35b+=_0x10f2e2(0x210),_0x33d35b+='\x20*\x20**/\x0a',_0x33d35b+=_0x10f2e2(0x207)+_0x205fd9+_0x10f2e2(0x20b),_0x33d35b+=_0x10f2e2(0x1a6),_0x33d35b+=_0x10f2e2(0x20f);for(const _0x34cc75 of _0x33834d){typeof _0x34cc75==_0x10f2e2(0x1e6)&&(_0x33d35b+='export\x20class\x20'+_0x34cc75[_0x10f2e2(0x1b2)](0x0,0x1)[_0x10f2e2(0x20d)]()+_0x34cc75[_0x10f2e2(0x1b2)](0x1)[_0x10f2e2(0x1f1)]()+_0x205fd9+_0x10f2e2(0x1bd)+_0x205fd9+_0x10f2e2(0x1d9),_0x33d35b+='}\x0a\x0a');}_0x33d35b=_0x33d35b['replace'](_0x10f2e2(0x1a6),_0x683a1),fs[_0x10f2e2(0x19f)](_0x5b4a34,_0x33d35b,_0x10f2e2(0x1f9));}}function a10_0x519f(){const _0x2068c0=['__esModule','Enum,\x20\x27','\x27,\x20RuleType.string())\x0a','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',':\x20string;\x0a\x0a','363aSVkDu','mediumtext','/Create.ts','\x27,\x20\x27','_end?:\x20string;\x0a\x0a','Field','\x20\x20\x20\x20','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','538060RawBRe','Enum\x20}\x20from\x20\x27','_between?:\x20string[];\x0a\x0a','\x27,\x20RuleType.any())\x0a','getEnum','?:\x20number;\x0a\x0a','\x20*\x20','\x20*\x20数据更新验证\x0a','/validators/','(((.+)+)+)+$','getProp','\x27;\x0a','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x27,\x20RuleType.date())\x0a','/Search.ts','updated_at','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','defineProperty','1261660joPMmo','import\x20{\x20','7tGmfmQ','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','32mtkbuP','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','string','YES','timestamp','/**\x0a','.required()','created_at','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','decimal','join','toLowerCase','\x20\x20\x20\x20@Rule(\x27','constructor','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','DTOUpdate\x20extends\x20OmitDto(','Comment',':\x20\x27','default','utf-8','datetime','number','DTOUpdate\x20{\x0a\x0a','double','find','152BRXJQn','?:\x20string;\x0a\x0a','Type','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','/enums/','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','3090951blhFKM','%DtoColumn%','export\x20class\x20','\x27))','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','\x27,\x20RuleType.number()','DTOSearch\x20{\x0a\x0a','\x27,\x20RuleType.number())\x0a','toUpperCase','date','}\x0a\x0a','\x20*\x20数据检索验证\x0a','/Update.ts',':\x20any\x20|\x20any[];\x0a\x0a','\x27)))\x0a','\x27))\x0a','\x27\x20|\x20\x27','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','deleted_at','1011231bgEexS','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','toString','writeFileSync','\x20*\x20**/\x0a','displayorder','indexOf','float','json',':\x20number;\x0a\x0a','%SearchDtoColumn%','1771296vmXUAA','boolean','existsSync','\x27,\x20RuleType.date()','enum','@/apps/','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','apply','835664xsRWeC','text','search','substring','tinyint','\x27;\x0a\x0a','../helper','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','?:\x20\x27','8559bkvtVB','\x20*\x20数据添加验证\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','longtext','Null','DTOSearch\x20extends\x20OmitDto(','\x27,\x20RuleType.string().valid(\x27'];a10_0x519f=function(){return _0x2068c0;};return a10_0x519f();}
@@ -1 +1 @@
1
- const a11_0x3d1c8a=a11_0xf0ff;function a11_0x280b(){const _0x1e9d77=['@删除\x27,\x0a','defineProperty','path','7565085hwrCzJ','/add','47262aknCZV','default','106806gdJdod','@添加\x27,\x0a','\x20\x20\x20\x20detail:{\x0a','\x20\x20\x20\x20}\x0a','42tbvsDS','154XVUEFh','(((.+)+)+)+$','5YzAUeD','/pages/','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','mkdirSync','dirname','243969WUumqu','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','\x20\x20\x20\x20list:{\x0a','constructor','search','9cnZAEt','string','/edit/:','1210184IOuyQR','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','/remove','export\x20const\x20','__esModule','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','\x20\x20\x20\x20},\x0a','apply','cwd','toString','//\x20','3808524UJhOWx','\x20\x20\x20\x20edit:{\x0a','\x20\x20\x20\x20remove:{\x0a','/apis/','\x20\x20\x20\x20add:{\x0a','2788350uBSbuz','utf-8','/detail/:','.js'];a11_0x280b=function(){return _0x1e9d77;};return a11_0x280b();}(function(_0x3379af,_0x5e7781){const _0x4974db=a11_0xf0ff,_0x3b51e1=_0x3379af();while(!![]){try{const _0x27b364=-parseInt(_0x4974db(0x20f))/0x1+parseInt(_0x4974db(0x201))/0x2*(-parseInt(_0x4974db(0x207))/0x3)+-parseInt(_0x4974db(0x1f3))/0x4*(-parseInt(_0x4974db(0x20a))/0x5)+-parseInt(_0x4974db(0x203))/0x6*(parseInt(_0x4974db(0x208))/0x7)+parseInt(_0x4974db(0x1e8))/0x8*(-parseInt(_0x4974db(0x1e5))/0x9)+parseInt(_0x4974db(0x1f8))/0xa+parseInt(_0x4974db(0x1ff))/0xb;if(_0x27b364===_0x5e7781)break;else _0x3b51e1['push'](_0x3b51e1['shift']());}catch(_0x491e43){_0x3b51e1['push'](_0x3b51e1['shift']());}}}(a11_0x280b,0xc38eb));const a11_0x1af6da=(function(){let _0x456162=!![];return function(_0x4660c6,_0x367d11){const _0x565f46=_0x456162?function(){const _0x169996=a11_0xf0ff;if(_0x367d11){const _0x67c24c=_0x367d11[_0x169996(0x1ef)](_0x4660c6,arguments);return _0x367d11=null,_0x67c24c;}}:function(){};return _0x456162=![],_0x565f46;};}()),a11_0x19aa68=a11_0x1af6da(this,function(){const _0x4848cc=a11_0xf0ff;return a11_0x19aa68[_0x4848cc(0x1f1)]()[_0x4848cc(0x1e4)](_0x4848cc(0x209))[_0x4848cc(0x1f1)]()[_0x4848cc(0x212)](a11_0x19aa68)['search'](_0x4848cc(0x209));});a11_0x19aa68();'use strict';Object[a11_0x3d1c8a(0x1fd)](exports,a11_0x3d1c8a(0x1ec),{'value':!![]});const fs=require('fs'),path_1=require(a11_0x3d1c8a(0x1fe));async function default_1({tablestartUpShort:_0x570004,tablestartUpShort2:_0xf2377,moduleName:_0x2e0298,controller:_0x23f538,Comment:_0x366054,apporbasic:_0x3cbf7b,Primary:_0xb78331}){const _0x3c957f=a11_0x3d1c8a;let _0x3c1488=process[_0x3c957f(0x1f0)]()+'/vue'+(typeof _0x23f538==_0x3c957f(0x1e6)?'/'+_0x23f538:'');_0x2e0298?_0x3c1488=_0x3c1488+('/pages/apps/'+_0x2e0298+'/apis/'+_0x570004+_0x3c957f(0x1fb)):_0x3c1488=_0x3c1488+(_0x3c957f(0x20b)+_0x3cbf7b+_0x3c957f(0x1f6)+_0x570004+_0x3c957f(0x1fb));if(!fs['existsSync'](_0x3c1488)){const _0x3ebaa8=''+(typeof _0x23f538==_0x3c957f(0x1e6)?_0x23f538+'/':'')+(_0x2e0298?_0x2e0298+'/':'')+_0xf2377+_0x3c957f(0x200),_0x30af0d=''+(typeof _0x23f538=='string'?_0x23f538+'/':'')+(_0x2e0298?_0x2e0298+'/':'')+_0xf2377+'/list',_0x1c1743=''+(typeof _0x23f538==_0x3c957f(0x1e6)?_0x23f538+'/':'')+(_0x2e0298?_0x2e0298+'/':'')+_0xf2377+_0x3c957f(0x1e7)+_0xb78331['Field'],_0x2615b1=''+(typeof _0x23f538==_0x3c957f(0x1e6)?_0x23f538+'/':'')+(_0x2e0298?_0x2e0298+'/':'')+_0xf2377+_0x3c957f(0x1fa)+_0xb78331['Field'],_0x240bc6=''+(typeof _0x23f538=='string'?_0x23f538+'/':'')+(_0x2e0298?_0x2e0298+'/':'')+_0xf2377+_0x3c957f(0x1ea);let _0x45492b='\x0a\x0a';_0x45492b+=_0x3c957f(0x1f2)+_0x366054+'\x0a',_0x45492b+=_0x3c957f(0x1eb)+_0x570004+'\x20=\x20{\x0a',_0x45492b+=_0x3c957f(0x1f7),_0x45492b+=_0x3c957f(0x1ed),_0x45492b+=_0x3c957f(0x1e9)+_0x366054+_0x3c957f(0x204),_0x45492b+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x3ebaa8+'\x27\x0a',_0x45492b+=_0x3c957f(0x1ee),_0x45492b+=_0x3c957f(0x1f4),_0x45492b+=_0x3c957f(0x1ed),_0x45492b+=_0x3c957f(0x1e9)+_0x366054+'@编辑\x27,\x0a',_0x45492b+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x1c1743+'\x27\x0a',_0x45492b+=_0x3c957f(0x1ee),_0x45492b+=_0x3c957f(0x211),_0x45492b+=_0x3c957f(0x210),_0x45492b+=_0x3c957f(0x1e9)+_0x366054+'@列表\x27,\x0a',_0x45492b+=_0x3c957f(0x20c)+_0x30af0d+'\x27\x0a',_0x45492b+=_0x3c957f(0x1ee),_0x45492b+=_0x3c957f(0x205),_0x45492b+=_0x3c957f(0x210),_0x45492b+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x366054+'@详情\x27,\x0a',_0x45492b+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x2615b1+'\x27\x0a',_0x45492b+='\x20\x20\x20\x20},\x0a',_0x45492b+=_0x3c957f(0x1f5),_0x45492b+=_0x3c957f(0x1ed),_0x45492b+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x366054+_0x3c957f(0x1fc),_0x45492b+=_0x3c957f(0x20c)+_0x240bc6+'\x27\x0a',_0x45492b+=_0x3c957f(0x206),_0x45492b+='}\x0a',fs[_0x3c957f(0x20d)]((0x0,path_1[_0x3c957f(0x20e)])(_0x3c1488),{'recursive':!![]}),fs['writeFileSync'](_0x3c1488,_0x45492b,_0x3c957f(0x1f9));}}function a11_0xf0ff(_0x39b914,_0x566e0e){const _0x13e9e4=a11_0x280b();return a11_0xf0ff=function(_0x19aa68,_0x1af6da){_0x19aa68=_0x19aa68-0x1e4;let _0x280b47=_0x13e9e4[_0x19aa68];return _0x280b47;},a11_0xf0ff(_0x39b914,_0x566e0e);}exports[a11_0x3d1c8a(0x202)]=default_1;
1
+ const a11_0x1fbfb9=a11_0x718c;(function(_0x27da9b,_0x470646){const _0x5a7d53=a11_0x718c,_0x3040de=_0x27da9b();while(!![]){try{const _0x300e7e=parseInt(_0x5a7d53(0x8b))/0x1+parseInt(_0x5a7d53(0x98))/0x2+-parseInt(_0x5a7d53(0xaa))/0x3+parseInt(_0x5a7d53(0xb7))/0x4+parseInt(_0x5a7d53(0x8c))/0x5*(parseInt(_0x5a7d53(0xa5))/0x6)+-parseInt(_0x5a7d53(0xb1))/0x7*(-parseInt(_0x5a7d53(0xb5))/0x8)+-parseInt(_0x5a7d53(0x9a))/0x9;if(_0x300e7e===_0x470646)break;else _0x3040de['push'](_0x3040de['shift']());}catch(_0x3f40c0){_0x3040de['push'](_0x3040de['shift']());}}}(a11_0x4fba,0xf2c75));function a11_0x718c(_0x413dcc,_0x1b62f3){const _0x34b0c1=a11_0x4fba();return a11_0x718c=function(_0x1464b6,_0x470444){_0x1464b6=_0x1464b6-0x8b;let _0x4fba28=_0x34b0c1[_0x1464b6];return _0x4fba28;},a11_0x718c(_0x413dcc,_0x1b62f3);}const a11_0x470444=(function(){let _0xd00bdc=!![];return function(_0xf964f6,_0x2ac6c8){const _0x44ec0a=_0xd00bdc?function(){const _0x2e9d3d=a11_0x718c;if(_0x2ac6c8){const _0xf3ffc0=_0x2ac6c8[_0x2e9d3d(0xa0)](_0xf964f6,arguments);return _0x2ac6c8=null,_0xf3ffc0;}}:function(){};return _0xd00bdc=![],_0x44ec0a;};}()),a11_0x1464b6=a11_0x470444(this,function(){const _0x138611=a11_0x718c;return a11_0x1464b6[_0x138611(0xa8)]()[_0x138611(0xb8)]('(((.+)+)+)+$')[_0x138611(0xa8)]()[_0x138611(0xac)](a11_0x1464b6)['search'](_0x138611(0xbc));});a11_0x1464b6();'use strict';Object[a11_0x1fbfb9(0xba)](exports,a11_0x1fbfb9(0x91),{'value':!![]});const fs=require('fs'),path_1=require(a11_0x1fbfb9(0x95));async function default_1({tablestartUpShort:_0x133fa7,tablestartUpShort2:_0x4f67b1,moduleName:_0x467a2,controller:_0x50531c,Comment:_0x21fa01,apporbasic:_0x153bb8,Primary:_0x55b807}){const _0x3bfb75=a11_0x1fbfb9;let _0x2c9e19=process[_0x3bfb75(0xb6)]()+_0x3bfb75(0xa4)+(typeof _0x50531c==_0x3bfb75(0x9c)?'/'+_0x50531c:'');_0x467a2?_0x2c9e19=_0x2c9e19+(_0x3bfb75(0x8f)+_0x467a2+'/apis/'+_0x133fa7+_0x3bfb75(0x9e)):_0x2c9e19=_0x2c9e19+(_0x3bfb75(0x8e)+_0x153bb8+_0x3bfb75(0x90)+_0x133fa7+_0x3bfb75(0x9e));if(!fs[_0x3bfb75(0xbb)](_0x2c9e19)){const _0x50747d=''+(typeof _0x50531c==_0x3bfb75(0x9c)?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0xa9),_0x3b52f7=''+(typeof _0x50531c=='string'?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+'/list',_0x5caef3=''+(typeof _0x50531c==_0x3bfb75(0x9c)?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0xb9)+_0x55b807['Field'],_0x548813=''+(typeof _0x50531c==_0x3bfb75(0x9c)?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0xab)+_0x55b807[_0x3bfb75(0x94)],_0x5f23e0=''+(typeof _0x50531c=='string'?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0x99);let _0x39ef4f='\x0a\x0a';_0x39ef4f+=_0x3bfb75(0xb2)+_0x21fa01+'\x0a',_0x39ef4f+=_0x3bfb75(0xa2)+_0x133fa7+_0x3bfb75(0x92),_0x39ef4f+='\x20\x20\x20\x20add:{\x0a',_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x21fa01+_0x3bfb75(0x9d),_0x39ef4f+=_0x3bfb75(0xa7)+_0x50747d+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x8d),_0x39ef4f+=_0x3bfb75(0x9b),_0x39ef4f+=_0x3bfb75(0xb4),_0x39ef4f+=_0x3bfb75(0x96)+_0x21fa01+_0x3bfb75(0xbe),_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x5caef3+'\x27\x0a',_0x39ef4f+='\x20\x20\x20\x20},\x0a',_0x39ef4f+=_0x3bfb75(0xa3),_0x39ef4f+=_0x3bfb75(0xb0),_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x21fa01+_0x3bfb75(0xa6),_0x39ef4f+=_0x3bfb75(0xa7)+_0x3b52f7+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x8d),_0x39ef4f+=_0x3bfb75(0xb3),_0x39ef4f+=_0x3bfb75(0xb0),_0x39ef4f+=_0x3bfb75(0x96)+_0x21fa01+_0x3bfb75(0xbd),_0x39ef4f+=_0x3bfb75(0xa7)+_0x548813+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x8d),_0x39ef4f+=_0x3bfb75(0xad),_0x39ef4f+=_0x3bfb75(0xb4),_0x39ef4f+=_0x3bfb75(0x96)+_0x21fa01+_0x3bfb75(0x97),_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x5f23e0+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x93),_0x39ef4f+='}\x0a',fs[_0x3bfb75(0xae)]((0x0,path_1[_0x3bfb75(0xa1)])(_0x2c9e19),{'recursive':!![]}),fs[_0x3bfb75(0x9f)](_0x2c9e19,_0x39ef4f,_0x3bfb75(0xaf));}}function a11_0x4fba(){const _0x356ba4=['3564656WqiEnb','search','/edit/:','defineProperty','existsSync','(((.+)+)+)+$','@详情\x27,\x0a','@编辑\x27,\x0a','629412PlJzHt','3575JryzhH','\x20\x20\x20\x20},\x0a','/pages/','/pages/apps/','/apis/','__esModule','\x20=\x20{\x0a','\x20\x20\x20\x20}\x0a','Field','path','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','@删除\x27,\x0a','2117664aYTAuU','/remove','23047308DhUsMe','\x20\x20\x20\x20edit:{\x0a','string','@添加\x27,\x0a','.js','writeFileSync','apply','dirname','export\x20const\x20','\x20\x20\x20\x20list:{\x0a','/vue','9474LdkJEp','@列表\x27,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','toString','/add','4121499KOVmmM','/detail/:','constructor','\x20\x20\x20\x20remove:{\x0a','mkdirSync','utf-8','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','21UTbacm','//\x20','\x20\x20\x20\x20detail:{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','3255128nNnHUB','cwd'];a11_0x4fba=function(){return _0x356ba4;};return a11_0x4fba();}exports['default']=default_1;
@@ -1 +1 @@
1
- const a12_0x48181e=a12_0x31ec;(function(_0x27acfd,_0x21801d){const _0x304037=a12_0x31ec,_0x9b6116=_0x27acfd();while(!![]){try{const _0x13d3bf=parseInt(_0x304037(0x184))/0x1*(parseInt(_0x304037(0x176))/0x2)+parseInt(_0x304037(0x171))/0x3+-parseInt(_0x304037(0x18f))/0x4+-parseInt(_0x304037(0x16d))/0x5*(parseInt(_0x304037(0x16b))/0x6)+parseInt(_0x304037(0x189))/0x7*(-parseInt(_0x304037(0x182))/0x8)+-parseInt(_0x304037(0x185))/0x9+parseInt(_0x304037(0x180))/0xa;if(_0x13d3bf===_0x21801d)break;else _0x9b6116['push'](_0x9b6116['shift']());}catch(_0x38fc36){_0x9b6116['push'](_0x9b6116['shift']());}}}(a12_0x48cd,0x4551f));function a12_0x31ec(_0x8e4e60,_0x3657b6){const _0x3f8368=a12_0x48cd();return a12_0x31ec=function(_0x2b20f8,_0x13b4ea){_0x2b20f8=_0x2b20f8-0x16a;let _0x48cdc7=_0x3f8368[_0x2b20f8];return _0x48cdc7;},a12_0x31ec(_0x8e4e60,_0x3657b6);}const a12_0x13b4ea=(function(){let _0x415408=!![];return function(_0x363996,_0x44bf50){const _0x537fe2=_0x415408?function(){if(_0x44bf50){const _0x20c3d9=_0x44bf50['apply'](_0x363996,arguments);return _0x44bf50=null,_0x20c3d9;}}:function(){};return _0x415408=![],_0x537fe2;};}()),a12_0x2b20f8=a12_0x13b4ea(this,function(){const _0x1ac67e=a12_0x31ec;return a12_0x2b20f8[_0x1ac67e(0x173)]()[_0x1ac67e(0x17e)](_0x1ac67e(0x18d))[_0x1ac67e(0x173)]()[_0x1ac67e(0x16f)](a12_0x2b20f8)[_0x1ac67e(0x17e)](_0x1ac67e(0x18d));});a12_0x2b20f8();'use strict';function a12_0x48cd(){const _0x10650a=['\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','replace','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','894942kBIvZQ','writeFileSync','10byrVhL','</script>\x0a\x0a','constructor','<template>\x0a','1483596pYGuMF','\x20\x20\x20\x20data()\x20{\x0a','toString',',\x20path:\x20\x22','path','7638hnXiIj','{title:\x20\x22','/layout.vue','dirname','export\x20default\x20{\x0a','existsSync','\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//\x20add\x20menu\x20here\x0a','search','\x20\x20\x20\x20</page-layout>\x0a','2467290MruLZv','readFileSync','56248ghKMGF','cwd','68BhwNEX','682551EXZabY','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','padEnd','default','133FWkrZG','string','/vue','utf-8','(((.+)+)+)+$','defineProperty','837104OHnYDg','/apps-','</template>\x0a\x0a'];a12_0x48cd=function(){return _0x10650a;};return a12_0x48cd();}Object[a12_0x48181e(0x18e)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a12_0x48181e(0x175));async function default_1({tablestartUpShort2:_0x59c1c5,controller:_0x4d52c1,moduleName:_0x5efaf8,Comment:_0xbb3334,apporbasic:_0x3fb0ac}){const _0x275645=a12_0x48181e;let _0x3f6d95=process[_0x275645(0x183)]()+_0x275645(0x18b)+(typeof _0x4d52c1==_0x275645(0x18a)?'/'+_0x4d52c1:'');_0x5efaf8?_0x3f6d95=_0x3f6d95+('/pages/apps/'+_0x5efaf8+_0x275645(0x178)):_0x3f6d95=_0x3f6d95+('/pages/'+_0x3fb0ac+_0x275645(0x178));await createLayout(_0x3f6d95);const _0xfb9c68=fs[_0x275645(0x181)](_0x3f6d95,_0x275645(0x18c));fs[_0x275645(0x16c)](_0x3f6d95,_0xfb9c68[_0x275645(0x193)]('//\x20add\x20menu\x20here',_0x275645(0x177)+(_0xbb3334+'\x22')[_0x275645(0x187)](0x14)+_0x275645(0x174)+(''+(typeof _0x5efaf8==_0x275645(0x18a)?_0x275645(0x190)+_0x5efaf8+'/':'/'+_0x3fb0ac+'/')+_0x59c1c5+'\x22')[_0x275645(0x187)](0x14)+_0x275645(0x16a)));}exports[a12_0x48181e(0x188)]=default_1;async function createLayout(_0x4a89b1){const _0x3c5e6b=a12_0x48181e;if(!fs[_0x3c5e6b(0x17b)](_0x4a89b1)){let _0x1bdd60=_0x3c5e6b(0x170);_0x1bdd60+=_0x3c5e6b(0x192),_0x1bdd60+=_0x3c5e6b(0x17f),_0x1bdd60+=_0x3c5e6b(0x191),_0x1bdd60+='<script>\x0a',_0x1bdd60+=_0x3c5e6b(0x17a),_0x1bdd60+=_0x3c5e6b(0x172),_0x1bdd60+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x1bdd60+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a',_0x1bdd60+=_0x3c5e6b(0x17d),_0x1bdd60+=_0x3c5e6b(0x186),_0x1bdd60+=_0x3c5e6b(0x17c),_0x1bdd60+='\x20\x20\x20\x20},\x0a',_0x1bdd60+='}\x0a',_0x1bdd60+=_0x3c5e6b(0x16e),fs['mkdirSync']((0x0,path_1[_0x3c5e6b(0x179)])(_0x4a89b1),{'recursive':!![]}),fs[_0x3c5e6b(0x16c)](_0x4a89b1,_0x1bdd60,_0x3c5e6b(0x18c));}}
1
+ function a12_0x41c4(){const _0x40ffea=['string','writeFileSync','{title:\x20\x22','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','9313569PdJmrg','\x20\x20\x20\x20</page-layout>\x0a','4318145wIAEiX','21zFWFoJ','120WOHzls','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','utf-8','401712RhCWbe','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','88081hDTVIm','</script>\x0a\x0a','cwd','path','</template>\x0a\x0a','/vue','/layout.vue','search','71946SwkeOY','apply','__esModule','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','dirname','mkdirSync','default','<script>\x0a','171986WFWZZW','//\x20add\x20menu\x20here','existsSync','export\x20default\x20{\x0a','50691WFIfWj','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','padEnd','<template>\x0a','toString','/pages/apps/',',\x20path:\x20\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','\x20\x20\x20\x20data()\x20{\x0a'];a12_0x41c4=function(){return _0x40ffea;};return a12_0x41c4();}const a12_0x330cef=a12_0x19f3;function a12_0x19f3(_0x5e7d31,_0x5f4135){const _0x5f46f5=a12_0x41c4();return a12_0x19f3=function(_0x3f0902,_0x287624){_0x3f0902=_0x3f0902-0x1d6;let _0x41c463=_0x5f46f5[_0x3f0902];return _0x41c463;},a12_0x19f3(_0x5e7d31,_0x5f4135);}(function(_0x3217f8,_0x51d5c3){const _0x4c780a=a12_0x19f3,_0x55eccf=_0x3217f8();while(!![]){try{const _0x4ec089=-parseInt(_0x4c780a(0x1fb))/0x1+-parseInt(_0x4c780a(0x1f7))/0x2*(-parseInt(_0x4c780a(0x1e0))/0x3)+-parseInt(_0x4c780a(0x1e4))/0x4+-parseInt(_0x4c780a(0x1df))/0x5+parseInt(_0x4c780a(0x1ee))/0x6+parseInt(_0x4c780a(0x1e6))/0x7*(-parseInt(_0x4c780a(0x1e1))/0x8)+parseInt(_0x4c780a(0x1dd))/0x9;if(_0x4ec089===_0x51d5c3)break;else _0x55eccf['push'](_0x55eccf['shift']());}catch(_0x39838f){_0x55eccf['push'](_0x55eccf['shift']());}}}(a12_0x41c4,0x6cb6a));const a12_0x287624=(function(){let _0xd90677=!![];return function(_0x570f56,_0x4b07a2){const _0x4a5fb0=_0xd90677?function(){const _0x22d25e=a12_0x19f3;if(_0x4b07a2){const _0x354581=_0x4b07a2[_0x22d25e(0x1ef)](_0x570f56,arguments);return _0x4b07a2=null,_0x354581;}}:function(){};return _0xd90677=![],_0x4a5fb0;};}()),a12_0x3f0902=a12_0x287624(this,function(){const _0x90a24a=a12_0x19f3;return a12_0x3f0902[_0x90a24a(0x1ff)]()['search']('(((.+)+)+)+$')[_0x90a24a(0x1ff)]()['constructor'](a12_0x3f0902)[_0x90a24a(0x1ed)]('(((.+)+)+)+$');});a12_0x3f0902();'use strict';Object['defineProperty'](exports,a12_0x330cef(0x1f0),{'value':!![]});const fs=require('fs'),path_1=require(a12_0x330cef(0x1e9));async function default_1({tablestartUpShort2:_0x43c3c7,controller:_0x487bcc,moduleName:_0x17251a,Comment:_0x5c49f5,apporbasic:_0x3b1379}){const _0x5b8984=a12_0x330cef;let _0x10ce51=process[_0x5b8984(0x1e8)]()+_0x5b8984(0x1eb)+(typeof _0x487bcc==_0x5b8984(0x1d9)?'/'+_0x487bcc:'');_0x17251a?_0x10ce51=_0x10ce51+(_0x5b8984(0x200)+_0x17251a+_0x5b8984(0x1ec)):_0x10ce51=_0x10ce51+('/pages/'+_0x3b1379+'/layout.vue');await createLayout(_0x10ce51);const _0x5ed8e8=fs['readFileSync'](_0x10ce51,_0x5b8984(0x1e3));fs[_0x5b8984(0x1da)](_0x10ce51,_0x5ed8e8['replace'](_0x5b8984(0x1f8),_0x5b8984(0x1db)+(_0x5c49f5+'\x22')['padEnd'](0x14)+_0x5b8984(0x1d6)+(''+(typeof _0x17251a=='string'?'/apps-'+_0x17251a+'/':'/'+_0x3b1379+'/')+_0x43c3c7+'\x22')[_0x5b8984(0x1fd)](0x14)+_0x5b8984(0x1dc)));}exports[a12_0x330cef(0x1f5)]=default_1;async function createLayout(_0x2a8c12){const _0x57a082=a12_0x330cef;if(!fs[_0x57a082(0x1f9)](_0x2a8c12)){let _0x43580c=_0x57a082(0x1fe);_0x43580c+=_0x57a082(0x1f1),_0x43580c+=_0x57a082(0x1de),_0x43580c+=_0x57a082(0x1ea),_0x43580c+=_0x57a082(0x1f6),_0x43580c+=_0x57a082(0x1fa),_0x43580c+=_0x57a082(0x1d8),_0x43580c+=_0x57a082(0x1f2),_0x43580c+=_0x57a082(0x1e2),_0x43580c+=_0x57a082(0x1d7),_0x43580c+=_0x57a082(0x1e5),_0x43580c+=_0x57a082(0x1fc),_0x43580c+='\x20\x20\x20\x20},\x0a',_0x43580c+='}\x0a',_0x43580c+=_0x57a082(0x1e7),fs[_0x57a082(0x1f4)]((0x0,path_1[_0x57a082(0x1f3)])(_0x2a8c12),{'recursive':!![]}),fs['writeFileSync'](_0x2a8c12,_0x43580c,'utf-8');}}
@@ -1 +1 @@
1
- const a13_0xbcf5b8=a13_0x1e86;function a13_0x28b0(){const _0x5757ec=['\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','4227568YVAPza','\x22\x20placeholder=\x22选择','</el-form-item>','deleted_at','__esModule','\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','displayorder','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a','thumbs','\x22\x20\x20placeholder=\x22请输入','search','<el-input\x20v-model=\x22search.','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',')\x20{\x0a','/pages/apps/','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','string','\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','\x22\x20placeholder=\x22请输入或选择','add','\x20\x20\x20\x20},\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.','<template>\x0a\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','<el-input-number\x20v-model=\x22formdata.','\x20}).then(res=>{\x0a','datetime','path','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','endsWith','AddRule,\x0a','<el-input-number\x20v-model=\x22search.','<el-date-picker\x20v-model=\x22search.','/list/index.vue','/list/components/search.vue','$appsApi.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','apps-','thumb','</el-table-column>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','</el-select>','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','3801273Zlwbdm','<el-table-column\x20prop=','</el-popover>','/validators/','img','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','updated_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\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','\x22\x20placeholder=\x22请输入','/vue','substr','<el-form-item\x20label=\x22','(((.+)+)+)+$','apply','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','<img\x20:src=\x22scope.row.','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','/index.vue','357165vSGMif','\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','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','created_at','Field','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','_end\x22\x20placeholder=\x22选择','AddRule\x20}\x20from\x20\x27@','apps/','\x22\x20clearable>','imgs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20:limit=\x225\x22\x20/>','Comment','<el-select\x20v-model=\x22search.','_id','.detail({\x20','dirname','45fNNvAh','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','number','../helper','\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<el-button\x20v-if=\x22','<page-editor\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/add\x27\x0a','getProp','<el-date-picker\x20v-model=\x22formdata.','</a>','logo','defineProperty','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','_start\x22\x20placeholder=\x22选择','\x22\x20/>','\x20\x20\x20\x20data(){\x0a','<el-select-search\x20v-model=\x22formdata.','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\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\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','=${scope.row.','<a\x20:href=\x22scope.row.','getEnum','tags','enum','timestamp','3paczUG','<=\x22>','/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/edit\x27\x0a','\x22\x20:limit=\x221\x22\x20/>','\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.','864820SilvKv','\x22\x20prop=\x22','.add.hasPrem()\x22\x20@click=\x22$router.push(`/',':\x20item.','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','<template\x20#default=\x22scope\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','>=\x22>','cwd','\x22\x20value=\x22','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20','1639260ZubMkS','<page-images\x20v-model=\x22formdata.','text','<el-input\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','</template>\x0a','Type','\x22\x20class=\x22block\x22>','import\x20{\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=\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','indexOf','mkdirSync','.hasPrem()\x22>\x0a','/pages/','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\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\x20return\x20{\x0a','/template/','<el-option\x20label=\x22','</template>','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','84ZgoGIL','.remove.hasPrem()\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</page-table>\x0a\x20\x20\x20\x20</page>\x0a</template>\x0a<script>\x0aimport\x20search\x20from\x20\x22./components/search.vue\x22\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20components:\x20{\x20search\x20},\x0a\x20\x20\x20\x20data(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20table:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data:[],\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_page:1,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_size:20,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_count:0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20mounted()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20Object.assign(this.table.search,this.$route.params,this.$route.query),this.LoadDatas();\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20methods:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取数据列表\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20page\x20分页-当前页\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20LoadDatas(page\x20,\x20size,\x20sortable\x20=\x20{}){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page\x20&&\x20(this.table.search._page\x20=\x20page),size\x20&&\x20(this.table.search._size\x20=\x20size),this.loading\x20=\x20true;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','}`)\x22\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','\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','EditRule\x20}\x20from\x20\x27@','Api.','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','padEnd','utf-8','\x22\x20split=\x22-\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','existsSync','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','date','edit','3675656vuQsJX','num','export\x20default\x20{\x0a','490172fhMXMP','\x22\x20api=\x22'];a13_0x28b0=function(){return _0x5757ec;};return a13_0x28b0();}(function(_0x582a72,_0x495859){const _0x188cc6=a13_0x1e86,_0x49b776=_0x582a72();while(!![]){try{const _0x4f350f=-parseInt(_0x188cc6(0x1d6))/0x1+-parseInt(_0x188cc6(0x210))/0x2+-parseInt(_0x188cc6(0x1d0))/0x3*(-parseInt(_0x188cc6(0x20d))/0x4)+-parseInt(_0x188cc6(0x25a))/0x5*(-parseInt(_0x188cc6(0x1fd))/0x6)+-parseInt(_0x188cc6(0x242))/0x7+-parseInt(_0x188cc6(0x213))/0x8+parseInt(_0x188cc6(0x26c))/0x9*(parseInt(_0x188cc6(0x1e2))/0xa);if(_0x4f350f===_0x495859)break;else _0x49b776['push'](_0x49b776['shift']());}catch(_0x346335){_0x49b776['push'](_0x49b776['shift']());}}}(a13_0x28b0,0x8809f));const a13_0x302957=(function(){let _0x40b038=!![];return function(_0x11fe83,_0x2f5887){const _0x14402f=_0x40b038?function(){const _0x32a95b=a13_0x1e86;if(_0x2f5887){const _0x49f9ee=_0x2f5887[_0x32a95b(0x252)](_0x11fe83,arguments);return _0x2f5887=null,_0x49f9ee;}}:function(){};return _0x40b038=![],_0x14402f;};}()),a13_0x3386cd=a13_0x302957(this,function(){const _0x51ea1d=a13_0x1e86;return a13_0x3386cd['toString']()['search'](_0x51ea1d(0x251))['toString']()['constructor'](a13_0x3386cd)[_0x51ea1d(0x21d)](_0x51ea1d(0x251));});a13_0x3386cd();'use strict';function a13_0x1e86(_0x1d1251,_0x3f49d6){const _0xce1fd=a13_0x28b0();return a13_0x1e86=function(_0x3386cd,_0x302957){_0x3386cd=_0x3386cd-0x1c7;let _0x28b012=_0xce1fd[_0x3386cd];return _0x28b012;},a13_0x1e86(_0x1d1251,_0x3f49d6);}Object[a13_0xbcf5b8(0x27a)](exports,a13_0xbcf5b8(0x217),{'value':!![]});const fs=require('fs'),path_1=require(a13_0xbcf5b8(0x232)),helper_1=require(a13_0xbcf5b8(0x270));async function default_1({moduleName:_0x3cdc46,controller:_0x391c97,tablestartUpShort:_0x2c0102,tablestartUpShort2:_0x5a3be,Primary:_0x425c53,Fields:_0x3ae86e,apporbasic:_0x511672,Comment:_0x4afd62}){const _0x1e8aeb=a13_0xbcf5b8;await createIndex({'moduleName':_0x3cdc46,'controller':_0x391c97,'tablestartUpShort':_0x2c0102,'tablestartUpShort2':_0x5a3be,'Primary':_0x425c53,'Fields':_0x3ae86e,'apporbasic':_0x511672}),await createSearch({'moduleName':_0x3cdc46,'controller':_0x391c97,'tablestartUpShort2':_0x5a3be,'Primary':_0x425c53,'Fields':_0x3ae86e,'apporbasic':_0x511672}),await createAddOrEdit({'moduleName':_0x3cdc46,'controller':_0x391c97,'tablestartUpShort':_0x2c0102,'tablestartUpShort2':_0x5a3be,'Primary':_0x425c53,'Fields':_0x3ae86e,'apporbasic':_0x511672,'Comment':_0x4afd62},_0x1e8aeb(0x228)),await createAddOrEdit({'moduleName':_0x3cdc46,'controller':_0x391c97,'tablestartUpShort':_0x2c0102,'tablestartUpShort2':_0x5a3be,'Primary':_0x425c53,'Fields':_0x3ae86e,'apporbasic':_0x511672,'Comment':_0x4afd62},_0x1e8aeb(0x20c));}exports['default']=default_1;async function createIndex({moduleName:_0x511f35,controller:_0x1b02f1,tablestartUpShort:_0x46a523,tablestartUpShort2:_0x9586a4,Primary:_0x3668af,Fields:_0xb466a5,apporbasic:_0x435142}){const _0x4fea7a=a13_0xbcf5b8;let _0x2266e3=process['cwd']()+_0x4fea7a(0x24e)+(typeof _0x1b02f1=='string'?'/'+_0x1b02f1:'');_0x511f35?_0x2266e3=_0x2266e3+(_0x4fea7a(0x223)+_0x511f35+'/template/'+_0x9586a4+'/list/index.vue'):_0x2266e3=_0x2266e3+(_0x4fea7a(0x1f3)+_0x435142+_0x4fea7a(0x1f9)+_0x9586a4+_0x4fea7a(0x238));if(!fs[_0x4fea7a(0x208)](_0x2266e3)){const _0x2a7bab=(typeof _0x511f35==_0x4fea7a(0x225)?_0x4fea7a(0x23a)+_0x511f35+'.':'$'+_0x435142+_0x4fea7a(0x202))+(''+_0x46a523);let _0x494981=_0x4fea7a(0x243)+('\x22'+_0x3668af[_0x4fea7a(0x25e)]+'\x22')['padEnd'](0x14)+(_0x4fea7a(0x1e8)+(_0x3668af['Comment']||'编号')+_0x4fea7a(0x1c9));for(let _0x5c7794 in _0xb466a5){const _0x1aa4aa=_0xb466a5[_0x5c7794];if([_0x4fea7a(0x25d),_0x4fea7a(0x248),_0x4fea7a(0x216),'displayorder'][_0x4fea7a(0x1f0)](_0x5c7794)!=-0x1)continue;if(_0x5c7794[_0x4fea7a(0x24f)](-0x3)==_0x4fea7a(0x246)||_0x5c7794[_0x4fea7a(0x24f)](-0x5)==_0x4fea7a(0x23d)||_0x5c7794==_0x4fea7a(0x23d)||_0x5c7794[_0x4fea7a(0x24f)](-0x4)==_0x4fea7a(0x279)||_0x5c7794==_0x4fea7a(0x279))_0x494981+='\x0a'+_0x4fea7a(0x274)+'<el-table-column\x20prop='+('\x22'+_0x5c7794+'\x22')[_0x4fea7a(0x204)](0x14)+('\x20label=\x22'+(_0x1aa4aa[_0x4fea7a(0x267)]||_0x1aa4aa['Field'])+_0x4fea7a(0x256)),_0x494981+='\x0a'+_0x4fea7a(0x233)+_0x4fea7a(0x1db),_0x494981+='\x0a'+_0x4fea7a(0x24c)+_0x4fea7a(0x1f4),_0x494981+='\x0a'+_0x4fea7a(0x22c)+(_0x4fea7a(0x1cb)+_0x5c7794+_0x4fea7a(0x1e7)),_0x494981+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4fea7a(0x255)+_0x5c7794+_0x4fea7a(0x26e)),_0x494981+='\x0a'+_0x4fea7a(0x22c)+_0x4fea7a(0x278),_0x494981+='\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'+'<template\x20#reference>',_0x494981+='\x0a'+_0x4fea7a(0x1f6)+(_0x4fea7a(0x255)+_0x5c7794+_0x4fea7a(0x209)),_0x494981+='\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'+_0x4fea7a(0x1fb),_0x494981+='\x0a'+_0x4fea7a(0x24c)+_0x4fea7a(0x244),_0x494981+='\x0a'+_0x4fea7a(0x233)+_0x4fea7a(0x1fb),_0x494981+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4fea7a(0x23e);else[_0x4fea7a(0x1e4),'longtext'][_0x4fea7a(0x1f0)]((0x0,helper_1[_0x4fea7a(0x276)])(_0x1aa4aa[_0x4fea7a(0x1ec)]))==-0x1&&(_0x494981+='\x0a'+_0x4fea7a(0x274)+_0x4fea7a(0x243)+('\x22'+_0x5c7794+'\x22')[_0x4fea7a(0x204)](0x14)+(_0x4fea7a(0x1e8)+(_0x1aa4aa[_0x4fea7a(0x267)]||_0x1aa4aa[_0x4fea7a(0x25e)])+_0x4fea7a(0x1ea)));}fs['mkdirSync']((0x0,path_1[_0x4fea7a(0x26b)])(_0x2266e3),{'recursive':!![]}),fs[_0x4fea7a(0x220)](_0x2266e3,'<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'+_0x2a7bab+_0x4fea7a(0x1d8)+(_0x511f35?_0x4fea7a(0x23c)+_0x511f35+'/':_0x435142+'/')+_0x9586a4+_0x4fea7a(0x1d2)+_0x494981+_0x4fea7a(0x1ef)+_0x2a7bab+_0x4fea7a(0x203)+(_0x511f35?'apps-'+_0x511f35+'/':_0x435142+'/')+_0x9586a4+'/edit?'+_0x3668af[_0x4fea7a(0x25e)]+_0x4fea7a(0x1ca)+_0x3668af[_0x4fea7a(0x25e)]+_0x4fea7a(0x1ff)+_0x2a7bab+_0x4fea7a(0x1fe)+_0x2a7bab+_0x4fea7a(0x22a)+_0x3668af['Field']+_0x4fea7a(0x1d5)+_0x2a7bab+'.remove({\x20'+_0x3668af[_0x4fea7a(0x25e)]+_0x4fea7a(0x1d9)+_0x3668af[_0x4fea7a(0x25e)]+_0x4fea7a(0x1c8),_0x4fea7a(0x205));}}async function createSearch({moduleName:_0x3c138b,tablestartUpShort2:_0x40ef44,controller:_0x5cfba1,Primary:_0xc9dc70,Fields:_0x19f388,apporbasic:_0x1c9e50}){const _0x2a6f07=a13_0xbcf5b8;let _0x1fb9d8=process[_0x2a6f07(0x1de)]()+_0x2a6f07(0x24e)+(typeof _0x5cfba1=='string'?'/'+_0x5cfba1:'');_0x3c138b?_0x1fb9d8=_0x1fb9d8+(_0x2a6f07(0x223)+_0x3c138b+_0x2a6f07(0x1f9)+_0x40ef44+_0x2a6f07(0x239)):_0x1fb9d8=_0x1fb9d8+('/pages/'+_0x1c9e50+_0x2a6f07(0x1f9)+_0x40ef44+_0x2a6f07(0x239));if(!fs[_0x2a6f07(0x208)](_0x1fb9d8)){let _0x5ab028='';_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+('<el-form-item\x20label=\x22'+(_0xc9dc70['Comment']||'编号')+'\x22>'),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x21e)+_0xc9dc70['Field']+'\x22\x20placeholder=\x22请输入'+(_0xc9dc70[_0x2a6f07(0x267)]||'编号')+_0x2a6f07(0x257)),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215);for(let _0x35e504 in _0x19f388){const _0x86008f=_0x19f388[_0x35e504];if([_0x2a6f07(0x248),_0x2a6f07(0x216),_0x2a6f07(0x219)][_0x2a6f07(0x1f0)](_0x35e504)!=-0x1)continue;if(_0x35e504[_0x2a6f07(0x24f)](-0x3)==_0x2a6f07(0x20e))_0x5ab028+='\x0a'+'\x20\x20\x20\x20'+(_0x2a6f07(0x250)+(_0x86008f[_0x2a6f07(0x267)]||_0x86008f['Field'])+'\x22>'),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x236)+_0x35e504+_0x2a6f07(0x24d)+_0x86008f[_0x2a6f07(0x267)]+_0x2a6f07(0x22e)),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215)+'\x0a';else{if(_0x35e504[_0x2a6f07(0x234)](_0x2a6f07(0x269))){let _0xc11a48=''+(typeof _0x5cfba1==_0x2a6f07(0x225)?_0x5cfba1+'/':'')+(_0x3c138b?_0x3c138b+'/':'')+_0x40ef44;_0x5ab028+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x86008f[_0x2a6f07(0x267)]||_0x86008f[_0x2a6f07(0x25e)])+'\x22>'),_0x5ab028+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-search\x20v-model=\x22search.'+_0x35e504+_0x2a6f07(0x211)+_0xc11a48+_0x2a6f07(0x224)),_0x5ab028+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2a6f07(0x215)+'\x0a';}else switch((0x0,helper_1[_0x2a6f07(0x276)])(_0x86008f['Type'])){case'enum':_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+(_0x2a6f07(0x250)+(_0x86008f['Comment']||_0x86008f[_0x2a6f07(0x25e)])+'\x22>'),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x268)+_0x35e504+_0x2a6f07(0x24b)+_0x86008f[_0x2a6f07(0x267)]+'\x22\x20clearable>');for(let _0x23fc1c of(0x0,helper_1[_0x2a6f07(0x1cc)])(_0x86008f[_0x2a6f07(0x1ec)])){_0x5ab028+='\x0a'+_0x2a6f07(0x26d)+(_0x2a6f07(0x1fa)+_0x23fc1c+_0x2a6f07(0x1df)+_0x23fc1c+_0x2a6f07(0x27d));}_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+_0x2a6f07(0x240),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+'</el-form-item>'+'\x0a';break;case _0x2a6f07(0x20b):_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+(_0x2a6f07(0x250)+(_0x86008f[_0x2a6f07(0x267)]||_0x86008f[_0x2a6f07(0x25e)])+_0x2a6f07(0x1dd)),_0x5ab028+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2a6f07(0x237)+_0x35e504+_0x2a6f07(0x27c)+_0x86008f[_0x2a6f07(0x267)]+_0x2a6f07(0x21f)),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215)+'\x0a',_0x5ab028+='\x0a'+'\x20\x20\x20\x20'+(_0x2a6f07(0x250)+(_0x86008f[_0x2a6f07(0x267)]||_0x86008f[_0x2a6f07(0x25e)])+_0x2a6f07(0x1d1)),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+('<el-date-picker\x20v-model=\x22search.'+_0x35e504+_0x2a6f07(0x260)+_0x86008f[_0x2a6f07(0x267)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215)+'\x0a';break;case'datetime':_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+(_0x2a6f07(0x250)+(_0x86008f['Comment']||_0x86008f[_0x2a6f07(0x25e)])+_0x2a6f07(0x1dd)),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+('<el-date-picker\x20v-model=\x22search.'+_0x35e504+_0x2a6f07(0x27c)+_0x86008f[_0x2a6f07(0x267)]+_0x2a6f07(0x1f5)),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215)+'\x0a',_0x5ab028+='\x0a'+'\x20\x20\x20\x20'+(_0x2a6f07(0x250)+(_0x86008f[_0x2a6f07(0x267)]||_0x86008f['Field'])+_0x2a6f07(0x1d1)),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x237)+_0x35e504+_0x2a6f07(0x260)+_0x86008f[_0x2a6f07(0x267)]+_0x2a6f07(0x241)),_0x5ab028+='\x0a'+'\x20\x20\x20\x20'+_0x2a6f07(0x215)+'\x0a';break;case'timestamp':_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+(_0x2a6f07(0x250)+(_0x86008f['Comment']||_0x86008f['Field'])+_0x2a6f07(0x1dd)),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x237)+_0x35e504+'_start\x22\x20placeholder=\x22选择'+_0x86008f[_0x2a6f07(0x267)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215)+'\x0a',_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+(_0x2a6f07(0x250)+(_0x86008f['Comment']||_0x86008f['Field'])+_0x2a6f07(0x1d1)),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x237)+_0x35e504+'_end\x22\x20placeholder=\x22选择'+_0x86008f['Comment']+_0x2a6f07(0x241)),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+_0x2a6f07(0x215)+'\x0a';break;case'string':_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+(_0x2a6f07(0x250)+(_0x86008f['Comment']||_0x86008f[_0x2a6f07(0x25e)])+'\x22>'),_0x5ab028+='\x0a'+_0x2a6f07(0x1e1)+(_0x2a6f07(0x21e)+_0x35e504+_0x2a6f07(0x24d)+_0x86008f[_0x2a6f07(0x267)]+'\x22\x20clearable/>'),_0x5ab028+='\x0a'+_0x2a6f07(0x22d)+'</el-form-item>'+'\x0a';}}}fs[_0x2a6f07(0x1f1)]((0x0,path_1[_0x2a6f07(0x26b)])(_0x1fb9d8),{'recursive':!![]}),fs[_0x2a6f07(0x220)](_0x1fb9d8,_0x2a6f07(0x22b)+_0x5ab028+_0x2a6f07(0x271),'utf-8');}}async function createAddOrEdit({moduleName:_0x1d3722,controller:_0x2f172e,tablestartUpShort:_0x1c848c,tablestartUpShort2:_0x328233,Primary:_0x4a6e8a,Fields:_0x50e8a1,apporbasic:_0x79a241,Comment:_0x2c8e10},_0x328d1a=a13_0xbcf5b8(0x228)){const _0x2d6695=a13_0xbcf5b8;let _0x4052b3=process[_0x2d6695(0x1de)]()+_0x2d6695(0x24e)+(typeof _0x2f172e=='string'?'/'+_0x2f172e:'');_0x1d3722?_0x4052b3=_0x4052b3+(_0x2d6695(0x223)+_0x1d3722+_0x2d6695(0x1f9)+_0x328233+'/'+_0x328d1a+_0x2d6695(0x259)):_0x4052b3=_0x4052b3+(_0x2d6695(0x1f3)+_0x79a241+_0x2d6695(0x1f9)+_0x328233+'/'+_0x328d1a+_0x2d6695(0x259));if(!fs[_0x2d6695(0x208)](_0x4052b3)){const _0x5eb90d=(typeof _0x1d3722==_0x2d6695(0x225)?_0x2d6695(0x23a)+_0x1d3722+'.':'$'+_0x79a241+_0x2d6695(0x202))+(''+_0x1c848c);let _0x237b87='';for(let _0x155d04 in _0x50e8a1){const _0xe411cf=_0x50e8a1[_0x155d04];if([_0x2d6695(0x25d),_0x2d6695(0x248),'deleted_at',_0x2d6695(0x219)][_0x2d6695(0x1f0)](_0x155d04)!=-0x1)continue;if(_0x155d04[_0x2d6695(0x24f)](-0x4)==_0x2d6695(0x264)||_0x155d04[_0x2d6695(0x24f)](-0x5)==_0x2d6695(0x21b))_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2d6695(0x250)+(_0xe411cf['Comment']||_0xe411cf[_0x2d6695(0x25e)])+'\x22\x20prop=\x22'+_0x155d04+_0x2d6695(0x1ed)),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x1e3)+_0x155d04+_0x2d6695(0x266)),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';else{if(_0x155d04[_0x2d6695(0x24f)](-0x3)==_0x2d6695(0x246)||_0x155d04[_0x2d6695(0x24f)](-0x5)==_0x2d6695(0x23d)||_0x155d04==_0x2d6695(0x23d)||_0x155d04['substr'](-0x4)=='logo'||_0x155d04==_0x2d6695(0x279))_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+'\x22\x20prop=\x22'+_0x155d04+_0x2d6695(0x1ed)),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<page-images\x20v-model=\x22formdata.'+_0x155d04+_0x2d6695(0x1d4)),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x155d04[_0x2d6695(0x24f)](-0x4)==_0x2d6695(0x1cd))_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf['Field'])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+('<el-select-tags\x20v-model=\x22formdata.'+_0x155d04+_0x2d6695(0x227)+_0xe411cf[_0x2d6695(0x267)]+_0x2d6695(0x206)),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';else{if(_0x155d04[_0x2d6695(0x24f)](-0x3)==_0x2d6695(0x20e))_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x22f)+_0x155d04+'\x22\x20placeholder=\x22请输入'+_0xe411cf[_0x2d6695(0x267)]+_0x2d6695(0x247)),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2d6695(0x215)+'\x0a';else{if(_0x155d04['substr'](-0x4)=='_ids')_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf['Field'])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x1e5)+_0x155d04+_0x2d6695(0x24d)+_0xe411cf['Comment']+'\x22\x20clearable/>'),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+'</el-form-item>'+'\x0a';else{if(_0x155d04[_0x2d6695(0x24f)](-0x3)==_0x2d6695(0x269)){let _0x6311ff=''+(typeof _0x2f172e==_0x2d6695(0x225)?_0x2f172e+'/':'')+(_0x1d3722?_0x1d3722+'/':'')+_0x328233;_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf['Field'])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2d6695(0x1c7)+_0x155d04+'\x22\x20api=\x22'+_0x6311ff+_0x2d6695(0x224)),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2d6695(0x215)+'\x0a';}else switch((0x0,helper_1[_0x2d6695(0x276)])(_0xe411cf['Type'])){case _0x2d6695(0x26f):_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf['Comment']||_0xe411cf[_0x2d6695(0x25e)])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2d6695(0x22f)+_0x155d04+'\x22\x20placeholder=\x22请输入'+_0xe411cf[_0x2d6695(0x267)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2d6695(0x215)+'\x0a';break;case _0x2d6695(0x1ce):_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf['Field'])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+('<el-select\x20v-model=\x22formdata.'+_0x155d04+'\x22\x20placeholder=\x22请选择'+_0xe411cf[_0x2d6695(0x267)]+_0x2d6695(0x263));for(let _0x23bf27 of(0x0,helper_1['getEnum'])(_0xe411cf[_0x2d6695(0x1ec)])){_0x237b87+='\x0a'+_0x2d6695(0x274)+(_0x2d6695(0x1fa)+_0x23bf27+_0x2d6695(0x1df)+_0x23bf27+_0x2d6695(0x27d));}_0x237b87+='\x0a'+_0x2d6695(0x26d)+_0x2d6695(0x240),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+'</el-form-item>'+'\x0a';break;case _0x2d6695(0x1e4):_0x237b87+='\x0a'+_0x2d6695(0x1e1)+('<el-form-item\x20label=\x22'+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+_0x2d6695(0x1d7)+_0x155d04+_0x2d6695(0x1ed)),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x1e5)+_0x155d04+_0x2d6695(0x21c)+_0xe411cf[_0x2d6695(0x267)]+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';break;case'longtext':_0x237b87+='\x0a'+_0x2d6695(0x1e1)+('<el-form-item\x20label=\x22'+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+_0x2d6695(0x1d7)+_0x155d04+_0x2d6695(0x1ed)),_0x237b87+='\x0a'+_0x2d6695(0x26d)+('<page-editor\x20v-model=\x22formdata.'+_0x155d04+'\x22\x20/>'),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';break;case'mediumtext':_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf['Field'])+_0x2d6695(0x1d7)+_0x155d04+_0x2d6695(0x1ed)),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x273)+_0x155d04+_0x2d6695(0x27d)),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';break;case _0x2d6695(0x20b):_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+'\x22\x20prop=\x22'+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x277)+_0x155d04+_0x2d6695(0x214)+_0xe411cf['Comment']+_0x2d6695(0x24a)),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';break;case _0x2d6695(0x231):_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+('<el-date-picker\x20v-model=\x22formdata.'+_0x155d04+_0x2d6695(0x214)+_0xe411cf[_0x2d6695(0x267)]+_0x2d6695(0x1e0)),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';break;case _0x2d6695(0x1cf):_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf['Field'])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+_0x2d6695(0x26d)+(_0x2d6695(0x277)+_0x155d04+_0x2d6695(0x214)+_0xe411cf['Comment']+_0x2d6695(0x1e0)),_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';break;default:_0x237b87+='\x0a'+_0x2d6695(0x1e1)+(_0x2d6695(0x250)+(_0xe411cf[_0x2d6695(0x267)]||_0xe411cf[_0x2d6695(0x25e)])+_0x2d6695(0x1d7)+_0x155d04+'\x22>'),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2d6695(0x1e5)+_0x155d04+_0x2d6695(0x24d)+_0xe411cf[_0x2d6695(0x267)]+_0x2d6695(0x257)),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2d6695(0x215)+'\x0a';}}}}}}}_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2d6695(0x253),_0x237b87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x237b87+='\x0a'+_0x2d6695(0x1e1)+_0x2d6695(0x215)+'\x0a';let _0xf538ea='<template>\x0a';_0xf538ea+=_0x2d6695(0x25c)+(_0x328d1a==_0x2d6695(0x228)?'添加'+_0x2c8e10:'编辑'+_0x2c8e10)+_0x2d6695(0x1da)+_0x5eb90d+'.'+(_0x328d1a==_0x2d6695(0x228)?_0x2d6695(0x228):'edit')+_0x2d6695(0x1f2),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x237b87+'\x0a',_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0xf538ea+=_0x2d6695(0x272)+_0x5eb90d+'.'+(_0x328d1a==_0x2d6695(0x228)?'add':_0x2d6695(0x20c))+_0x2d6695(0x21a),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0xf538ea+='\x20\x20\x20\x20</page-form>\x0a',_0xf538ea+=_0x2d6695(0x1eb),_0xf538ea+='<script>\x0a';if(_0x328d1a==_0x2d6695(0x228))_0xf538ea+=_0x2d6695(0x1ee)+_0x1c848c+_0x2d6695(0x261)+(_0x1d3722?_0x2d6695(0x262)+_0x1d3722:_0x79a241)+'/validators/'+_0x1c848c+_0x2d6695(0x275);else _0x328d1a==_0x2d6695(0x20c)&&(_0xf538ea+='import\x20{\x20'+_0x1c848c+_0x2d6695(0x201)+(_0x1d3722?_0x2d6695(0x262)+_0x1d3722:_0x79a241)+_0x2d6695(0x245)+_0x1c848c+_0x2d6695(0x1d3));_0xf538ea+=_0x2d6695(0x20f),_0xf538ea+=_0x2d6695(0x27e),_0xf538ea+=_0x2d6695(0x1f8),_0xf538ea+=_0x2d6695(0x1dc),_0xf538ea+=_0x2d6695(0x23b);if(_0x328d1a==_0x2d6695(0x228))_0xf538ea+=_0x2d6695(0x249)+_0x1c848c+_0x2d6695(0x235);else _0x328d1a=='edit'&&(_0xf538ea+=_0x2d6695(0x249)+_0x1c848c+'EditRule,\x0a');_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0xf538ea+=_0x2d6695(0x229),_0x328d1a==_0x2d6695(0x20c)&&(_0xf538ea+='\x20\x20\x20\x20mounted(){\x0a',_0xf538ea+=_0x2d6695(0x207)+_0x4a6e8a[_0x2d6695(0x25e)]+');\x0a',_0xf538ea+=_0x2d6695(0x229)),_0xf538ea+='\x20\x20\x20\x20methods:\x20{\x0a',_0xf538ea+=_0x2d6695(0x1fc),_0xf538ea+=_0x2d6695(0x1e9),_0xf538ea+=_0x2d6695(0x258),_0xf538ea+=_0x2d6695(0x1f7),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a',_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a',_0xf538ea+=_0x2d6695(0x25f),_0xf538ea+=_0x2d6695(0x1e6)+_0x5eb90d+'.'+(_0x328d1a=='add'?'add':_0x2d6695(0x20c))+'(item).then(res=>{\x0a',_0xf538ea+=_0x2d6695(0x218),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0xf538ea+=_0x2d6695(0x25b),_0xf538ea+=_0x2d6695(0x23f),_0xf538ea+=_0x2d6695(0x265),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a',_0x328d1a==_0x2d6695(0x20c)&&(_0xf538ea+=_0x2d6695(0x1fc),_0xf538ea+=_0x2d6695(0x212),_0xf538ea+=_0x2d6695(0x1f7),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20getDetail('+_0x4a6e8a['Field']+_0x2d6695(0x222),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20('+_0x4a6e8a['Field']+_0x2d6695(0x222),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a',_0xf538ea+=_0x2d6695(0x1e6)+_0x5eb90d+_0x2d6695(0x26a)+_0x4a6e8a[_0x2d6695(0x25e)]+_0x2d6695(0x230),_0xf538ea+=_0x2d6695(0x226),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a',_0xf538ea+=_0x2d6695(0x200),_0xf538ea+=_0x2d6695(0x221),_0xf538ea+=_0x2d6695(0x20a),_0xf538ea+=_0x2d6695(0x27b),_0xf538ea+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0xf538ea+=_0x2d6695(0x254)),_0xf538ea+=_0x2d6695(0x229),_0xf538ea+='}\x0a',_0xf538ea+='</script>\x0a',fs[_0x2d6695(0x1f1)]((0x0,path_1[_0x2d6695(0x26b)])(_0x4052b3),{'recursive':!![]}),fs[_0x2d6695(0x220)](_0x4052b3,_0xf538ea,'utf-8');}}
1
+ const a13_0x1c40f8=a13_0x2665;function a13_0x2665(_0x1d55fe,_0x54fc32){const _0x3f7dce=a13_0x2399();return a13_0x2665=function(_0x36825f,_0x52a5b7){_0x36825f=_0x36825f-0x1d1;let _0x2399c8=_0x3f7dce[_0x36825f];return _0x2399c8;},a13_0x2665(_0x1d55fe,_0x54fc32);}(function(_0x39f08b,_0x27cfa8){const _0x1e19f7=a13_0x2665,_0xe1d2bb=_0x39f08b();while(!![]){try{const _0x38593a=-parseInt(_0x1e19f7(0x24d))/0x1+parseInt(_0x1e19f7(0x225))/0x2+-parseInt(_0x1e19f7(0x253))/0x3*(-parseInt(_0x1e19f7(0x270))/0x4)+parseInt(_0x1e19f7(0x28c))/0x5*(parseInt(_0x1e19f7(0x21a))/0x6)+parseInt(_0x1e19f7(0x1f5))/0x7*(parseInt(_0x1e19f7(0x251))/0x8)+-parseInt(_0x1e19f7(0x22e))/0x9+-parseInt(_0x1e19f7(0x21e))/0xa*(parseInt(_0x1e19f7(0x27a))/0xb);if(_0x38593a===_0x27cfa8)break;else _0xe1d2bb['push'](_0xe1d2bb['shift']());}catch(_0x37e18e){_0xe1d2bb['push'](_0xe1d2bb['shift']());}}}(a13_0x2399,0xe9841));const a13_0x52a5b7=(function(){let _0x496ace=!![];return function(_0x512201,_0x345345){const _0x24ba43=_0x496ace?function(){const _0x1d11ee=a13_0x2665;if(_0x345345){const _0x590694=_0x345345[_0x1d11ee(0x1d4)](_0x512201,arguments);return _0x345345=null,_0x590694;}}:function(){};return _0x496ace=![],_0x24ba43;};}()),a13_0x36825f=a13_0x52a5b7(this,function(){const _0x46645c=a13_0x2665;return a13_0x36825f[_0x46645c(0x28d)]()[_0x46645c(0x239)](_0x46645c(0x250))[_0x46645c(0x28d)]()['constructor'](a13_0x36825f)[_0x46645c(0x239)](_0x46645c(0x250));});a13_0x36825f();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a13_0x1c40f8(0x1ee)),helper_1=require('../helper');async function default_1({moduleName:_0x21cced,controller:_0x335b92,tablestartUpShort:_0x338174,tablestartUpShort2:_0x2cf744,Primary:_0x19e5d5,Fields:_0x16da04,apporbasic:_0x1b9e6a,Comment:_0x378b87}){const _0x3f3c60=a13_0x1c40f8;await createIndex({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a}),await createSearch({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a}),await createAddOrEdit({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a,'Comment':_0x378b87},'add'),await createAddOrEdit({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a,'Comment':_0x378b87},_0x3f3c60(0x26d));}exports[a13_0x1c40f8(0x241)]=default_1;async function createIndex({moduleName:_0x26e721,controller:_0x365ff9,tablestartUpShort:_0x3773e6,tablestartUpShort2:_0x509e15,Primary:_0x4f1733,Fields:_0x16171c,apporbasic:_0x2857cc}){const _0x4c24a8=a13_0x1c40f8;let _0x3baa81=process[_0x4c24a8(0x27e)]()+_0x4c24a8(0x28a)+(typeof _0x365ff9==_0x4c24a8(0x22c)?'/'+_0x365ff9:'');_0x26e721?_0x3baa81=_0x3baa81+(_0x4c24a8(0x1d7)+_0x26e721+'/template/'+_0x509e15+_0x4c24a8(0x1e5)):_0x3baa81=_0x3baa81+(_0x4c24a8(0x221)+_0x2857cc+_0x4c24a8(0x1d9)+_0x509e15+_0x4c24a8(0x1e5));if(!fs['existsSync'](_0x3baa81)){const _0x3cf226=(typeof _0x26e721==_0x4c24a8(0x22c)?_0x4c24a8(0x258)+_0x26e721+'.':'$'+_0x2857cc+'Api.')+(''+_0x3773e6);let _0xe603a9=_0x4c24a8(0x20d)+('\x22'+_0x4f1733['Field']+'\x22')[_0x4c24a8(0x26f)](0x14)+(_0x4c24a8(0x206)+(_0x4f1733[_0x4c24a8(0x215)]||'编号')+_0x4c24a8(0x1db));for(let _0x2cc4f5 in _0x16171c){const _0x38b365=_0x16171c[_0x2cc4f5];if(['created_at',_0x4c24a8(0x1f0),_0x4c24a8(0x235),'displayorder'][_0x4c24a8(0x27d)](_0x2cc4f5)!=-0x1)continue;if(_0x2cc4f5['substr'](-0x3)==_0x4c24a8(0x220)||_0x2cc4f5[_0x4c24a8(0x1d3)](-0x5)==_0x4c24a8(0x261)||_0x2cc4f5=='thumb'||_0x2cc4f5[_0x4c24a8(0x1d3)](-0x4)=='logo'||_0x2cc4f5==_0x4c24a8(0x1df))_0xe603a9+='\x0a'+_0x4c24a8(0x219)+_0x4c24a8(0x20d)+('\x22'+_0x2cc4f5+'\x22')['padEnd'](0x14)+(_0x4c24a8(0x206)+(_0x38b365['Comment']||_0x38b365['Field'])+_0x4c24a8(0x25c)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<template\x20#default=\x22scope\x22>',_0xe603a9+='\x0a'+_0x4c24a8(0x20a)+'<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0xe603a9+='\x0a'+_0x4c24a8(0x269)+(_0x4c24a8(0x26c)+_0x2cc4f5+_0x4c24a8(0x1ea)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4c24a8(0x256)+_0x2cc4f5+_0x4c24a8(0x22b)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4c24a8(0x1fc),_0xe603a9+='\x0a'+_0x4c24a8(0x269)+_0x4c24a8(0x27b),_0xe603a9+='\x0a'+_0x4c24a8(0x23a)+(_0x4c24a8(0x256)+_0x2cc4f5+_0x4c24a8(0x260)),_0xe603a9+='\x0a'+_0x4c24a8(0x269)+_0x4c24a8(0x22a),_0xe603a9+='\x0a'+_0x4c24a8(0x20a)+_0x4c24a8(0x1fd),_0xe603a9+='\x0a'+_0x4c24a8(0x288)+_0x4c24a8(0x22a),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-table-column>';else[_0x4c24a8(0x1f7),_0x4c24a8(0x1e4)][_0x4c24a8(0x27d)]((0x0,helper_1[_0x4c24a8(0x209)])(_0x38b365['Type']))==-0x1&&(_0xe603a9+='\x0a'+_0x4c24a8(0x219)+_0x4c24a8(0x20d)+('\x22'+_0x2cc4f5+'\x22')[_0x4c24a8(0x26f)](0x14)+(_0x4c24a8(0x206)+(_0x38b365[_0x4c24a8(0x215)]||_0x38b365[_0x4c24a8(0x273)])+_0x4c24a8(0x280)));}fs[_0x4c24a8(0x24b)]((0x0,path_1[_0x4c24a8(0x25d)])(_0x3baa81),{'recursive':!![]}),fs[_0x4c24a8(0x203)](_0x3baa81,_0x4c24a8(0x231)+_0x3cf226+_0x4c24a8(0x271)+(_0x26e721?_0x4c24a8(0x1e7)+_0x26e721+'/':_0x2857cc+'/')+_0x509e15+'/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xe603a9+_0x4c24a8(0x1d1)+_0x3cf226+'.edit.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x26e721?'apps-'+_0x26e721+'/':_0x2857cc+'/')+_0x509e15+_0x4c24a8(0x200)+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x264)+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x26b)+_0x3cf226+_0x4c24a8(0x1e6)+_0x3cf226+_0x4c24a8(0x217)+_0x4f1733['Field']+_0x4c24a8(0x1f1)+_0x3cf226+_0x4c24a8(0x1e2)+_0x4f1733['Field']+':\x20item.'+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x21c),_0x4c24a8(0x1e0));}}function a13_0x2399(){const _0x29b938=['apps/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','<el-input-number\x20v-model=\x22formdata.','AddRule,\x0a','timestamp','Comment','\x20\x20\x20\x20','.list(Object.assign({},\x20this.table.search,\x20sortable)).then(res=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.table.data\x20=\x20res.data\x20||\x20[],\x20this.table.search\x20=\x20{\x20...this.table.search,\x20...res.extra.pageinfo,\x20_count:\x20res.extra.pagetotal\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要删除的数据\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20handlerRemove(item){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20item.','\x20\x20\x20\x20methods:\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','12ApnuGY','\x22\x20:limit=\x221\x22\x20/>','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','30zpSpAs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','img','/pages/','_id','<el-input\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','2455706RjvZyM','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<page-editor\x20v-model=\x22formdata.','Api.','</template>','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','string','<el-select-tags\x20v-model=\x22formdata.','85581JteidV','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','\x22\x20clearable/>','<template>\x0a\x20\x20\x20\x20<page\x20:loading=\x22loading\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<page-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20@transform=\x22LoadDatas\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#search>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<search\x20v-model:search=\x22table.search\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#header>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\x22\x20placeholder=\x22选择','deleted_at','\x22\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','displayorder','search','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','thumbs','</el-form-item>',');\x0a','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x22\x20placeholder=\x22请选择','</script>\x0a','default','\x20}).then(res=>{\x0a','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','<el-input\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','\x22\x20placeholder=\x22请输入','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','1304554SpeGsL','<el-date-picker\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.formdata\x20=\x20res.data,\x20this.loading\x20=\x20false;\x0a','(((.+)+)+)+$','82872tFTZKd','<el-select\x20v-model=\x22formdata.','2565mpjRnb','number','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','<img\x20:src=\x22scope.row.','existsSync','$appsApi.','.hasPrem()\x22>\x0a','\x22\x20value=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20this.$router.back();\x0a','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','dirname','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','\x20\x20\x20\x20mounted(){\x0a','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','thumb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','<el-form-item\x20label=\x22','import\x20{\x20','\x20\x20\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AddRule\x20}\x20from\x20\x27@','}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','<a\x20:href=\x22scope.row.','edit','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','padEnd','708KFPQTY','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Field','add','datetime','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',')\x20{\x0a','enum','2175074HZeyXN','<template\x20#reference>','_start\x22\x20placeholder=\x22选择','indexOf','cwd','num','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x22\x20class=\x22block\x22>','export\x20default\x20{\x0a','endsWith','\x22\x20split=\x22-\x22\x20clearable/>','\x22\x20placeholder=\x22请输入或选择','<page-images\x20v-model=\x22formdata.','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-date-picker\x20v-model=\x22formdata.','/vue','getEnum','500105IOeGlE','toString','\x22\x20\x20placeholder=\x22请输入','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','substr','apply','>=\x22>','/index.vue','/pages/apps/','<el-select\x20v-model=\x22search.','/template/','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','<script>\x0a','</el-select>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','logo','utf-8','Type','.remove({\x20','<template>\x0a','longtext','/list/index.vue','.remove.hasPrem()\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</page-table>\x0a\x20\x20\x20\x20</page>\x0a</template>\x0a<script>\x0aimport\x20search\x20from\x20\x22./components/search.vue\x22\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20components:\x20{\x20search\x20},\x0a\x20\x20\x20\x20data(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20table:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data:[],\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_page:1,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_size:20,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_count:0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20mounted()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20Object.assign(this.table.search,this.$route.params,this.$route.query),this.LoadDatas();\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20methods:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取数据列表\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20page\x20分页-当前页\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20LoadDatas(page\x20,\x20size,\x20sortable\x20=\x20{}){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page\x20&&\x20(this.table.search._page\x20=\x20page),size\x20&&\x20(this.table.search._size\x20=\x20size),this.loading\x20=\x20true;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','apps-','</template>\x0a','\x20\x20\x20\x20data(){\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','/add\x27\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','path','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','updated_at','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','date','_end\x22\x20placeholder=\x22选择','868EBcdLO','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','text','<el-select-search\x20v-model=\x22search.','(item).then(res=>{\x0a','created_at','<template>\x0a\x20\x20\x20\x20','</a>','</el-popover>','_ids','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','/edit?','<=\x22>','\x22\x20prop=\x22','writeFileSync','/list/components/search.vue','EditRule,\x0a','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','\x20\x20\x20\x20</page-form>\x0a','getProp','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<el-table-column\x20prop=','/edit\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'];a13_0x2399=function(){return _0x29b938;};return a13_0x2399();}async function createSearch({moduleName:_0x5abe7b,tablestartUpShort2:_0x596c8d,controller:_0x1ede59,Primary:_0x3a93ff,Fields:_0x18e3a2,apporbasic:_0xd22620}){const _0x4d0f85=a13_0x1c40f8;let _0x122d8f=process[_0x4d0f85(0x27e)]()+_0x4d0f85(0x28a)+(typeof _0x1ede59==_0x4d0f85(0x22c)?'/'+_0x1ede59:'');_0x5abe7b?_0x122d8f=_0x122d8f+(_0x4d0f85(0x1d7)+_0x5abe7b+'/template/'+_0x596c8d+'/list/components/search.vue'):_0x122d8f=_0x122d8f+(_0x4d0f85(0x221)+_0xd22620+_0x4d0f85(0x1d9)+_0x596c8d+_0x4d0f85(0x204));if(!fs[_0x4d0f85(0x257)](_0x122d8f)){let _0x25433f='';_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x3a93ff['Comment']||'编号')+'\x22>'),_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22search.'+_0x3a93ff[_0x4d0f85(0x273)]+_0x4d0f85(0x24a)+(_0x3a93ff[_0x4d0f85(0x215)]||'编号')+_0x4d0f85(0x230)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c);for(let _0xae12a in _0x18e3a2){const _0x5960d6=_0x18e3a2[_0xae12a];if([_0x4d0f85(0x1f0),_0x4d0f85(0x235),'displayorder'][_0x4d0f85(0x27d)](_0xae12a)!=-0x1)continue;if(_0xae12a['substr'](-0x3)==_0x4d0f85(0x27f))_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-input-number\x20v-model=\x22search.'+_0xae12a+'\x22\x20placeholder=\x22请输入'+_0x5960d6['Comment']+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>'),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';else{if(_0xae12a[_0x4d0f85(0x283)](_0x4d0f85(0x222))){let _0x1e0d70=''+(typeof _0x1ede59=='string'?_0x1ede59+'/':'')+(_0x5abe7b?_0x5abe7b+'/':'')+_0x596c8d;_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x272)+(_0x4d0f85(0x1f8)+_0xae12a+'\x22\x20api=\x22'+_0x1e0d70+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+_0x4d0f85(0x23c)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x5960d6[_0x4d0f85(0x1e1)])){case _0x4d0f85(0x279):_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x1d8)+_0xae12a+_0x4d0f85(0x23f)+_0x5960d6['Comment']+'\x22\x20clearable>');for(let _0x121865 of(0x0,helper_1[_0x4d0f85(0x28b)])(_0x5960d6[_0x4d0f85(0x1e1)])){_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-option\x20label=\x22'+_0x121865+'\x22\x20value=\x22'+_0x121865+'\x22\x20/>');}_0x25433f+='\x0a'+_0x4d0f85(0x263)+_0x4d0f85(0x1dd),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case'date':_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x20c)),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6['Field'])+_0x4d0f85(0x201)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x1f4)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x287)),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+_0x4d0f85(0x23c)+'\x0a';break;case _0x4d0f85(0x275):_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x1f6)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a',_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x201)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-date-picker\x20v-model=\x22search.'+_0xae12a+_0x4d0f85(0x1f4)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x21d)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case'timestamp':_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-date-picker\x20v-model=\x22search.'+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x25433f+='\x0a'+_0x4d0f85(0x216)+('<el-form-item\x20label=\x22'+(_0x5960d6['Comment']||_0x5960d6['Field'])+'<=\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+'_end\x22\x20placeholder=\x22选择'+_0x5960d6[_0x4d0f85(0x215)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case _0x4d0f85(0x22c):_0x25433f+='\x0a'+_0x4d0f85(0x216)+('<el-form-item\x20label=\x22'+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x248)+_0xae12a+'\x22\x20placeholder=\x22请输入'+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x230)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';}}}fs['mkdirSync']((0x0,path_1[_0x4d0f85(0x25d)])(_0x122d8f),{'recursive':!![]}),fs['writeFileSync'](_0x122d8f,_0x4d0f85(0x1fb)+_0x25433f+_0x4d0f85(0x22f),_0x4d0f85(0x1e0));}}async function createAddOrEdit({moduleName:_0x5c92e9,controller:_0x364f22,tablestartUpShort:_0x3c723a,tablestartUpShort2:_0x39b4b9,Primary:_0x3798fa,Fields:_0x2aa2af,apporbasic:_0x27c06a,Comment:_0x844a5b},_0x1f9aaa=a13_0x1c40f8(0x274)){const _0x110f5f=a13_0x1c40f8;let _0x336809=process[_0x110f5f(0x27e)]()+_0x110f5f(0x28a)+(typeof _0x364f22=='string'?'/'+_0x364f22:'');_0x5c92e9?_0x336809=_0x336809+('/pages/apps/'+_0x5c92e9+_0x110f5f(0x1d9)+_0x39b4b9+'/'+_0x1f9aaa+'/index.vue'):_0x336809=_0x336809+('/pages/'+_0x27c06a+'/template/'+_0x39b4b9+'/'+_0x1f9aaa+_0x110f5f(0x1d6));if(!fs[_0x110f5f(0x257)](_0x336809)){const _0x128895=(typeof _0x5c92e9==_0x110f5f(0x22c)?_0x110f5f(0x258)+_0x5c92e9+'.':'$'+_0x27c06a+_0x110f5f(0x229))+(''+_0x3c723a);let _0x41315f='';for(let _0x339cd8 in _0x2aa2af){const _0x41cd39=_0x2aa2af[_0x339cd8];if([_0x110f5f(0x1fa),_0x110f5f(0x1f0),_0x110f5f(0x235),_0x110f5f(0x238)][_0x110f5f(0x27d)](_0x339cd8)!=-0x1)continue;if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)=='imgs'||_0x339cd8[_0x110f5f(0x1d3)](-0x5)==_0x110f5f(0x23b))_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22\x20class=\x22block\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x286)+_0x339cd8+'\x22\x20:limit=\x225\x22\x20/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';else{if(_0x339cd8['substr'](-0x3)==_0x110f5f(0x220)||_0x339cd8[_0x110f5f(0x1d3)](-0x5)==_0x110f5f(0x261)||_0x339cd8==_0x110f5f(0x261)||_0x339cd8[_0x110f5f(0x1d3)](-0x4)==_0x110f5f(0x1df)||_0x339cd8==_0x110f5f(0x1df))_0x41315f+='\x0a'+_0x110f5f(0x263)+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22\x20class=\x22block\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x286)+_0x339cd8+_0x110f5f(0x21b)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)=='tags')_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x22d)+_0x339cd8+_0x110f5f(0x285)+_0x41cd39['Comment']+_0x110f5f(0x284)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8['substr'](-0x3)=='num')_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x212)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1ec)),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)==_0x110f5f(0x1fe))_0x41315f+='\x0a'+_0x110f5f(0x263)+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x223)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20clearable/>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x3)==_0x110f5f(0x222)){let _0x166556=''+(typeof _0x364f22==_0x110f5f(0x22c)?_0x364f22+'/':'')+(_0x5c92e9?_0x5c92e9+'/':'')+_0x39b4b9;_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-search\x20v-model=\x22formdata.'+_0x339cd8+'\x22\x20api=\x22'+_0x166556+_0x110f5f(0x227)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';}else switch((0x0,helper_1[_0x110f5f(0x209)])(_0x41cd39[_0x110f5f(0x1e1)])){case _0x110f5f(0x254):_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x212)+_0x339cd8+'\x22\x20placeholder=\x22请输入'+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case _0x110f5f(0x279):_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x252)+_0x339cd8+'\x22\x20placeholder=\x22请选择'+_0x41cd39['Comment']+_0x110f5f(0x236));for(let _0x16d231 of(0x0,helper_1['getEnum'])(_0x41cd39[_0x110f5f(0x1e1)])){_0x41315f+='\x0a'+_0x110f5f(0x219)+('<el-option\x20label=\x22'+_0x16d231+_0x110f5f(0x25a)+_0x16d231+_0x110f5f(0x245));}_0x41315f+='\x0a'+_0x110f5f(0x272)+'</el-select>',_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case'text':_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+_0x110f5f(0x272)+('<el-input\x20v-model=\x22formdata.'+_0x339cd8+_0x110f5f(0x28e)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x243)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x1e4):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+_0x110f5f(0x272)+('<page-editor\x20v-model=\x22formdata.'+_0x339cd8+'\x22\x20/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case'mediumtext':_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x228)+_0x339cd8+_0x110f5f(0x245)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x1f3):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x289)+_0x339cd8+_0x110f5f(0x234)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case _0x110f5f(0x275):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x289)+_0x339cd8+'\x22\x20placeholder=\x22选择'+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1de)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x214):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x289)+_0x339cd8+_0x110f5f(0x234)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1de)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;default:_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x223)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20clearable/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';}}}}}}}_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x226),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';let _0x5e251f=_0x110f5f(0x1e3);_0x5e251f+='\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22'+(_0x1f9aaa==_0x110f5f(0x274)?'添加'+_0x844a5b:'编辑'+_0x844a5b)+_0x110f5f(0x25e)+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?'add':_0x110f5f(0x26d))+_0x110f5f(0x259),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x41315f+'\x0a',_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x5e251f+=_0x110f5f(0x262)+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?_0x110f5f(0x274):_0x110f5f(0x26d))+_0x110f5f(0x277),_0x5e251f+=_0x110f5f(0x1ef),_0x5e251f+=_0x110f5f(0x208),_0x5e251f+=_0x110f5f(0x1e8),_0x5e251f+=_0x110f5f(0x1dc);if(_0x1f9aaa==_0x110f5f(0x274))_0x5e251f+=_0x110f5f(0x267)+_0x3c723a+_0x110f5f(0x26a)+(_0x5c92e9?_0x110f5f(0x210)+_0x5c92e9:_0x27c06a)+'/validators/'+_0x3c723a+_0x110f5f(0x1eb);else _0x1f9aaa=='edit'&&(_0x5e251f+=_0x110f5f(0x267)+_0x3c723a+'EditRule\x20}\x20from\x20\x27@'+(_0x5c92e9?'apps/'+_0x5c92e9:_0x27c06a)+'/validators/'+_0x3c723a+_0x110f5f(0x20e));_0x5e251f+=_0x110f5f(0x282),_0x5e251f+=_0x110f5f(0x1e9),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a',_0x5e251f+=_0x110f5f(0x237);if(_0x1f9aaa=='add')_0x5e251f+=_0x110f5f(0x265)+_0x3c723a+_0x110f5f(0x213);else _0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x265)+_0x3c723a+_0x110f5f(0x205));_0x5e251f+=_0x110f5f(0x20b),_0x5e251f+=_0x110f5f(0x268),_0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x25f),_0x5e251f+=_0x110f5f(0x224)+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x23d),_0x5e251f+=_0x110f5f(0x268)),_0x5e251f+=_0x110f5f(0x218),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x5e251f+=_0x110f5f(0x26e),_0x5e251f+=_0x110f5f(0x1da),_0x5e251f+=_0x110f5f(0x244),_0x5e251f+=_0x110f5f(0x24c),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a',_0x5e251f+=_0x110f5f(0x232),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.'+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?_0x110f5f(0x274):_0x110f5f(0x26d))+_0x110f5f(0x1f9),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20this.$router.back();\x0a',_0x5e251f+=_0x110f5f(0x246),_0x5e251f+=_0x110f5f(0x249),_0x5e251f+=_0x110f5f(0x1ff),_0x5e251f+=_0x110f5f(0x1ed),_0x5e251f+=_0x110f5f(0x20f),_0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x23e),_0x5e251f+=_0x110f5f(0x247),_0x5e251f+=_0x110f5f(0x244),_0x5e251f+=_0x110f5f(0x207)+_0x3798fa['Field']+_0x110f5f(0x278),_0x5e251f+=_0x110f5f(0x1d2)+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x278),_0x5e251f+=_0x110f5f(0x233),_0x5e251f+=_0x110f5f(0x1f2)+_0x128895+'.detail({\x20'+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x242),_0x5e251f+=_0x110f5f(0x24f),_0x5e251f+=_0x110f5f(0x276),_0x5e251f+=_0x110f5f(0x25b),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x5e251f+=_0x110f5f(0x211),_0x5e251f+=_0x110f5f(0x21f),_0x5e251f+=_0x110f5f(0x255),_0x5e251f+=_0x110f5f(0x20f)),_0x5e251f+='\x20\x20\x20\x20},\x0a',_0x5e251f+='}\x0a',_0x5e251f+=_0x110f5f(0x240),fs['mkdirSync']((0x0,path_1[_0x110f5f(0x25d)])(_0x336809),{'recursive':!![]}),fs['writeFileSync'](_0x336809,_0x5e251f,_0x110f5f(0x1e0));}}
@@ -1 +1 @@
1
- const a14_0x10a976=a14_0x6ac9;(function(_0x1e23db,_0x163f68){const _0x266290=a14_0x6ac9,_0x410492=_0x1e23db();while(!![]){try{const _0x31d3f8=-parseInt(_0x266290(0x6e))/0x1*(-parseInt(_0x266290(0x6f))/0x2)+-parseInt(_0x266290(0x70))/0x3+-parseInt(_0x266290(0x91))/0x4+-parseInt(_0x266290(0x74))/0x5*(-parseInt(_0x266290(0x88))/0x6)+-parseInt(_0x266290(0x92))/0x7+parseInt(_0x266290(0x8c))/0x8*(parseInt(_0x266290(0x9a))/0x9)+parseInt(_0x266290(0x8d))/0xa;if(_0x31d3f8===_0x163f68)break;else _0x410492['push'](_0x410492['shift']());}catch(_0xcfef18){_0x410492['push'](_0x410492['shift']());}}}(a14_0xb146,0x8ad7f));function a14_0xb146(){const _0x19cb6a=['default','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','{\x20path:\x20\x22','writeFileSync','\x22,\x0a','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','defineProperty','/pages/apps/','path','/edit\x22','\x20\x20\x20\x20]\x0a','readFileSync','/add\x22','mkdirSync','/pages/','6YTkRZv','apply','replace','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','1528FbOLTS','8845540hiHoVb','constructor','(((.+)+)+)+$','toString','3864496iNwSUi','7186991SEriiP','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','dirname','\x20\x20\x20\x20//\x20redirect:\x20\x22/','\x20\x20\x20\x20children:[\x0a','/routes.js','cwd','string','4653ufTGfo','padEnd','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22',',\x20component:\x20()=>\x20import(\x27./template/','20359OQPVmF','94itsfAh','590001wTrqWE','__esModule','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','apps-','4090165zZAxqH','//\x20add\x20route\x20here','/vue','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','search'];a14_0xb146=function(){return _0x19cb6a;};return a14_0xb146();}const a14_0x2e5f5c=(function(){let _0x29e773=!![];return function(_0x474861,_0x234b12){const _0x443be6=_0x29e773?function(){const _0x310179=a14_0x6ac9;if(_0x234b12){const _0x30956c=_0x234b12[_0x310179(0x89)](_0x474861,arguments);return _0x234b12=null,_0x30956c;}}:function(){};return _0x29e773=![],_0x443be6;};}()),a14_0x588ac7=a14_0x2e5f5c(this,function(){const _0x4c8e6d=a14_0x6ac9;return a14_0x588ac7['toString']()['search'](_0x4c8e6d(0x8f))[_0x4c8e6d(0x90)]()[_0x4c8e6d(0x8e)](a14_0x588ac7)[_0x4c8e6d(0x78)](_0x4c8e6d(0x8f));});a14_0x588ac7();'use strict';Object[a14_0x10a976(0x7f)](exports,a14_0x10a976(0x71),{'value':!![]});function a14_0x6ac9(_0x10893a,_0x27647b){const _0x527451=a14_0xb146();return a14_0x6ac9=function(_0x588ac7,_0x2e5f5c){_0x588ac7=_0x588ac7-0x6e;let _0xb1463d=_0x527451[_0x588ac7];return _0xb1463d;},a14_0x6ac9(_0x10893a,_0x27647b);}const fs=require('fs'),path_1=require(a14_0x10a976(0x81));async function default_1({tablestartUpShort2:_0x794160,moduleName:_0x49068c,controller:_0x3b3323,Comment:_0x522562,apporbasic:_0x58e7ac,Primary:_0x22ca58}){await createRoutes({'tablestartUpShort2':_0x794160,'moduleName':_0x49068c,'controller':_0x3b3323,'Comment':_0x522562,'apporbasic':_0x58e7ac,'Primary':_0x22ca58});}exports[a14_0x10a976(0x79)]=default_1;async function createRoutes({tablestartUpShort2:_0x29ea27,moduleName:_0x4dc809,controller:_0x464f02,Comment:_0x23607f,apporbasic:_0x230bd8,Primary:_0x128dfe}){const _0x7ac578=a14_0x10a976;let _0x48b6e1=process[_0x7ac578(0x98)]()+_0x7ac578(0x76)+(typeof _0x464f02==_0x7ac578(0x99)?'/'+_0x464f02:'');_0x4dc809?_0x48b6e1=_0x48b6e1+(_0x7ac578(0x80)+_0x4dc809+_0x7ac578(0x97)):_0x48b6e1=_0x48b6e1+(_0x7ac578(0x87)+_0x230bd8+_0x7ac578(0x97));if(!fs['existsSync'](_0x48b6e1)){let _0x10c289='import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a';_0x10c289+='export\x20default\x20{\x0a',_0x10c289+='\x20\x20\x20\x20path:\x20\x22/'+(_0x4dc809?_0x7ac578(0x73)+_0x4dc809+'/':_0x230bd8+'/')+_0x7ac578(0x7d),_0x10c289+=_0x7ac578(0x95)+(_0x4dc809?_0x7ac578(0x73)+_0x4dc809+'/':_0x230bd8+'/')+_0x7ac578(0x7d),_0x10c289+='\x20\x20\x20\x20component:\x20layout,\x0a',_0x10c289+=_0x7ac578(0x96),_0x10c289+=_0x7ac578(0x8b),_0x10c289+=_0x7ac578(0x83),_0x10c289+='}\x0a',fs[_0x7ac578(0x86)]((0x0,path_1[_0x7ac578(0x94)])(_0x48b6e1),{'recursive':!![]}),fs[_0x7ac578(0x7c)](_0x48b6e1,_0x10c289,'utf-8');}const _0x1e3fa1=fs[_0x7ac578(0x84)](_0x48b6e1,'utf-8');fs[_0x7ac578(0x7c)](_0x48b6e1,_0x1e3fa1[_0x7ac578(0x8a)]('//\x20add\x20route\x20here',_0x7ac578(0x7b)+(_0x29ea27+'\x22')[_0x7ac578(0x9b)](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0x29ea27+_0x7ac578(0x9c)+_0x23607f+_0x7ac578(0x7e)))[_0x7ac578(0x8a)]('//\x20add\x20route\x20here',_0x7ac578(0x7b)+(_0x29ea27+_0x7ac578(0x85))[_0x7ac578(0x9b)](0x14)+(_0x7ac578(0x9d)+_0x29ea27+_0x7ac578(0x93)+_0x23607f+_0x7ac578(0x77)))['replace'](_0x7ac578(0x75),'{\x20path:\x20\x22'+(_0x29ea27+_0x7ac578(0x82))[_0x7ac578(0x9b)](0x14)+(_0x7ac578(0x9d)+_0x29ea27+_0x7ac578(0x7a)+_0x23607f+_0x7ac578(0x72))));}
1
+ const a14_0x36fb2d=a14_0xa0c7;(function(_0x273820,_0x2dee1f){const _0xfdb0c3=a14_0xa0c7,_0x287f49=_0x273820();while(!![]){try{const _0x5242d9=-parseInt(_0xfdb0c3(0x1bb))/0x1*(parseInt(_0xfdb0c3(0x1a7))/0x2)+parseInt(_0xfdb0c3(0x1be))/0x3+-parseInt(_0xfdb0c3(0x1c3))/0x4+parseInt(_0xfdb0c3(0x199))/0x5+parseInt(_0xfdb0c3(0x1a3))/0x6*(parseInt(_0xfdb0c3(0x1b7))/0x7)+-parseInt(_0xfdb0c3(0x1b0))/0x8+parseInt(_0xfdb0c3(0x1a6))/0x9;if(_0x5242d9===_0x2dee1f)break;else _0x287f49['push'](_0x287f49['shift']());}catch(_0x1c7cc1){_0x287f49['push'](_0x287f49['shift']());}}}(a14_0x3491,0x768ae));const a14_0x4aec8a=(function(){let _0x11547d=!![];return function(_0x331b4b,_0x4b0bcb){const _0x2e6236=_0x11547d?function(){if(_0x4b0bcb){const _0x19cf26=_0x4b0bcb['apply'](_0x331b4b,arguments);return _0x4b0bcb=null,_0x19cf26;}}:function(){};return _0x11547d=![],_0x2e6236;};}()),a14_0x4143f8=a14_0x4aec8a(this,function(){const _0x401ff3=a14_0xa0c7;return a14_0x4143f8['toString']()[_0x401ff3(0x1b9)](_0x401ff3(0x1ab))[_0x401ff3(0x19e)]()['constructor'](a14_0x4143f8)[_0x401ff3(0x1b9)]('(((.+)+)+)+$');});a14_0x4143f8();'use strict';function a14_0x3491(){const _0x1bb2cc=['//\x20add\x20route\x20here','padEnd','204348mBuntK','replace','/routes.js','8368290UFQlbE','607646ieNrWf','readFileSync','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','utf-8','(((.+)+)+)+$','existsSync','\x20\x20\x20\x20//\x20redirect:\x20\x22/','path','mkdirSync','3471168LDWgta','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','\x20\x20\x20\x20]\x0a','apps-',',\x20component:\x20()=>\x20import(\x27./template/','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','default','7pHagLW','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','search','/pages/apps/','3NtWpVc','writeFileSync','/edit\x22','1421700cYAXWT','\x20\x20\x20\x20path:\x20\x22/','/vue','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','1589608Ynsqjp','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','3952745oUyYgn','{\x20path:\x20\x22','/pages/','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','\x22,\x0a','toString','defineProperty','/add\x22'];a14_0x3491=function(){return _0x1bb2cc;};return a14_0x3491();}Object[a14_0x36fb2d(0x19f)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a14_0x36fb2d(0x1ae));function a14_0xa0c7(_0x332745,_0xe3d66e){const _0x319eab=a14_0x3491();return a14_0xa0c7=function(_0x4143f8,_0x4aec8a){_0x4143f8=_0x4143f8-0x199;let _0x349163=_0x319eab[_0x4143f8];return _0x349163;},a14_0xa0c7(_0x332745,_0xe3d66e);}async function default_1({tablestartUpShort2:_0x55c288,moduleName:_0x51558a,controller:_0x1a15a4,Comment:_0x562056,apporbasic:_0x14234f,Primary:_0x5ee399}){await createRoutes({'tablestartUpShort2':_0x55c288,'moduleName':_0x51558a,'controller':_0x1a15a4,'Comment':_0x562056,'apporbasic':_0x14234f,'Primary':_0x5ee399});}exports[a14_0x36fb2d(0x1b6)]=default_1;async function createRoutes({tablestartUpShort2:_0x54e45f,moduleName:_0x2d8c65,controller:_0x59db4e,Comment:_0x73f58d,apporbasic:_0x3dae0b,Primary:_0x2f4d12}){const _0x18b09f=a14_0x36fb2d;let _0x1d636e=process['cwd']()+_0x18b09f(0x1c0)+(typeof _0x59db4e=='string'?'/'+_0x59db4e:'');_0x2d8c65?_0x1d636e=_0x1d636e+(_0x18b09f(0x1ba)+_0x2d8c65+_0x18b09f(0x1a5)):_0x1d636e=_0x1d636e+(_0x18b09f(0x19b)+_0x3dae0b+_0x18b09f(0x1a5));if(!fs[_0x18b09f(0x1ac)](_0x1d636e)){let _0x24918f=_0x18b09f(0x19c);_0x24918f+='export\x20default\x20{\x0a',_0x24918f+=_0x18b09f(0x1bf)+(_0x2d8c65?_0x18b09f(0x1b3)+_0x2d8c65+'/':_0x3dae0b+'/')+'\x22,\x0a',_0x24918f+=_0x18b09f(0x1ad)+(_0x2d8c65?'apps-'+_0x2d8c65+'/':_0x3dae0b+'/')+_0x18b09f(0x19d),_0x24918f+='\x20\x20\x20\x20component:\x20layout,\x0a',_0x24918f+='\x20\x20\x20\x20children:[\x0a',_0x24918f+=_0x18b09f(0x1b8),_0x24918f+=_0x18b09f(0x1b2),_0x24918f+='}\x0a',fs[_0x18b09f(0x1af)]((0x0,path_1['dirname'])(_0x1d636e),{'recursive':!![]}),fs[_0x18b09f(0x1bc)](_0x1d636e,_0x24918f,_0x18b09f(0x1aa));}const _0x10f27d=fs[_0x18b09f(0x1a8)](_0x1d636e,_0x18b09f(0x1aa));fs['writeFileSync'](_0x1d636e,_0x10f27d['replace'](_0x18b09f(0x1a1),'{\x20path:\x20\x22'+(_0x54e45f+'\x22')[_0x18b09f(0x1a2)](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0x54e45f+_0x18b09f(0x1c2)+_0x73f58d+_0x18b09f(0x1a9)))[_0x18b09f(0x1a4)](_0x18b09f(0x1a1),'{\x20path:\x20\x22'+(_0x54e45f+_0x18b09f(0x1a0))[_0x18b09f(0x1a2)](0x14)+(_0x18b09f(0x1b4)+_0x54e45f+_0x18b09f(0x1b1)+_0x73f58d+_0x18b09f(0x1c1)))[_0x18b09f(0x1a4)](_0x18b09f(0x1a1),_0x18b09f(0x19a)+(_0x54e45f+_0x18b09f(0x1bd))[_0x18b09f(0x1a2)](0x14)+(_0x18b09f(0x1b4)+_0x54e45f+_0x18b09f(0x1b5)+_0x73f58d+_0x18b09f(0x1c4))));}
@@ -1 +1 @@
1
- const a15_0x254aed=a15_0x2cd4;(function(_0x4817de,_0x29b4d1){const _0x34f6a2=a15_0x2cd4,_0x19c15b=_0x4817de();while(!![]){try{const _0x9bf2ba=parseInt(_0x34f6a2(0x1af))/0x1+-parseInt(_0x34f6a2(0x1c1))/0x2+parseInt(_0x34f6a2(0x18e))/0x3*(parseInt(_0x34f6a2(0x1b7))/0x4)+parseInt(_0x34f6a2(0x1bc))/0x5*(-parseInt(_0x34f6a2(0x1a6))/0x6)+parseInt(_0x34f6a2(0x17b))/0x7*(parseInt(_0x34f6a2(0x1a4))/0x8)+-parseInt(_0x34f6a2(0x19f))/0x9*(-parseInt(_0x34f6a2(0x19b))/0xa)+-parseInt(_0x34f6a2(0x181))/0xb;if(_0x9bf2ba===_0x29b4d1)break;else _0x19c15b['push'](_0x19c15b['shift']());}catch(_0x5eaa6e){_0x19c15b['push'](_0x19c15b['shift']());}}}(a15_0x1f41,0x61cdd));const a15_0x1102aa=(function(){let _0x4e148c=!![];return function(_0x1acac7,_0x3d8a8d){const _0x22f9af=_0x4e148c?function(){if(_0x3d8a8d){const _0x5f3550=_0x3d8a8d['apply'](_0x1acac7,arguments);return _0x3d8a8d=null,_0x5f3550;}}:function(){};return _0x4e148c=![],_0x22f9af;};}()),a15_0x56caeb=a15_0x1102aa(this,function(){const _0x2daded=a15_0x2cd4;return a15_0x56caeb['toString']()[_0x2daded(0x18d)]('(((.+)+)+)+$')[_0x2daded(0x1a2)]()[_0x2daded(0x1a0)](a15_0x56caeb)[_0x2daded(0x18d)](_0x2daded(0x1b8));});function a15_0x1f41(){const _0x23f09c=['/pages/','indexOf','tinyint','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','`,\x20type:\x20\x22number\x22\x20},\x0a','mediumtext','Type','datetime','\x20*\x20数据添加验证\x0a','80GhzGEF','deleted_at','export\x20const\x20','decimal','760077kJBuDW','constructor','../helper','toString','/pages/apps/','24Yopxow','float','6fKOuOW','\x27]\x20},\x0a','\x20*\x20数据更新验证\x0a','string','existsSync','/**\x0a','`,\x20type:\x20\x22date\x22\x20},\x0a','\x20\x20\x20\x20//\x20','/add.js','6279fkPXiG','join','longtext','Field','false','double','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','getEnum','416936cEFBKC','(((.+)+)+)+$','EditRule\x20=\x20{\x0a','replace','writeFileSync','2246545hCSINH','updated_at',':\x20[\x0a','defineProperty','true','530632LcqgJD','/vue','utf-8','enum','getProp','/validators/','default','\x20\x20\x20\x20],\x0a\x0a','YES','__esModule','1722854wBOVnb','Null','\x20},\x0a','}\x0a\x0a','displayorder','\x20\x20\x20\x20','4502003zsNJYG','cwd','Comment','json','\x27,\x20\x27','%RuleColumn%','不能为空`,\x20required:\x20','\x20*\x20**/\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','text','timestamp','created_at','search','3DKyPNv','date','AddRule\x20=\x20{\x0a','\x20*\x20'];a15_0x1f41=function(){return _0x23f09c;};return a15_0x1f41();}a15_0x56caeb();'use strict';Object[a15_0x254aed(0x1bf)](exports,a15_0x254aed(0x17a),{'value':!![]});const fs=require('fs'),helper_1=require(a15_0x254aed(0x1a1));async function default_1({tablestartUpShort:_0x30553,tablestartUpShort2:_0x3f8a6e,moduleName:_0x3a16e6,controller:_0x120147,Comment:_0x213f3e,apporbasic:_0x3ef909,Primary:_0x2fe5c4,Fields:_0x84f01e}){const _0x4aa7f3=a15_0x254aed;let _0x718590=process[_0x4aa7f3(0x182)]()+_0x4aa7f3(0x1c2)+(typeof _0x120147==_0x4aa7f3(0x1a9)?'/'+_0x120147:'');_0x3a16e6?_0x718590=_0x718590+(_0x4aa7f3(0x1a3)+_0x3a16e6+_0x4aa7f3(0x176)+_0x30553):_0x718590=_0x718590+(_0x4aa7f3(0x192)+_0x3ef909+'/validators/'+_0x30553),!fs[_0x4aa7f3(0x1aa)](_0x718590)&&fs['mkdirSync'](_0x718590,{'recursive':!![]}),await CreateRule(_0x718590,{'tablestartUpShort':_0x30553,'Comment':_0x213f3e,'Fields':_0x84f01e}),await updateRule(_0x718590,{'tablestartUpShort':_0x30553,'Comment':_0x213f3e,'Fields':_0x84f01e});}exports[a15_0x254aed(0x177)]=default_1;function a15_0x2cd4(_0x4cdfd7,_0x1d12db){const _0x596758=a15_0x1f41();return a15_0x2cd4=function(_0x56caeb,_0x1102aa){_0x56caeb=_0x56caeb-0x173;let _0x1f414d=_0x596758[_0x56caeb];return _0x1f414d;},a15_0x2cd4(_0x4cdfd7,_0x1d12db);}async function CreateRule(_0x17b0c4,{tablestartUpShort:_0x42dbd2,Comment:_0x540c8b,Fields:_0x4f8cd9}){const _0x4741fc=a15_0x254aed,_0x249767=_0x17b0c4+_0x4741fc(0x1ae);if(!fs['existsSync'](_0x249767)){let _0x5b951a='',_0x1e9903='';for(let _0x224d2a in _0x4f8cd9){let _0x368996=_0x4f8cd9[_0x224d2a],_0x5056c4=(0x0,helper_1[_0x4741fc(0x175)])(_0x368996['Type']);if(_0x368996['Field']=='displayorder'||_0x368996[_0x4741fc(0x1b2)]=='created_at'||_0x368996[_0x4741fc(0x1b2)]==_0x4741fc(0x1bd)||_0x368996[_0x4741fc(0x1b2)]==_0x4741fc(0x19c))continue;if([_0x4741fc(0x18a),_0x4741fc(0x1b1),_0x4741fc(0x197)]['indexOf'](_0x5056c4)!=-0x1)_0x5b951a+=_0x4741fc(0x1ad)+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+=_0x4741fc(0x180)+_0x368996['Field']+_0x4741fc(0x1be),_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)&&(_0x5b951a+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x368996[_0x4741fc(0x183)]+_0x4741fc(0x187)+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):_0x4741fc(0x1c0))+'\x20},\x0a'),_0x5b951a+=_0x4741fc(0x178);else{if([_0x4741fc(0x1a5),_0x4741fc(0x1b4),_0x4741fc(0x19e),'number'][_0x4741fc(0x193)](_0x5056c4)!=-0x1)_0x5b951a+=_0x4741fc(0x1ad)+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+=_0x4741fc(0x180)+_0x368996[_0x4741fc(0x1b2)]+_0x4741fc(0x1be),_0x5b951a+=_0x4741fc(0x189)+_0x368996[_0x4741fc(0x183)]+_0x4741fc(0x196),_0x368996[_0x4741fc(0x17c)]!='YES'&&(_0x5b951a+=_0x4741fc(0x1b5)+_0x368996[_0x4741fc(0x183)]+_0x4741fc(0x187)+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):_0x4741fc(0x1c0))+_0x4741fc(0x17d)),_0x5b951a+=_0x4741fc(0x178);else{if([_0x4741fc(0x194)][_0x4741fc(0x193)](_0x5056c4)!=-0x1)_0x5b951a+='\x20\x20\x20\x20//\x20'+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+=_0x4741fc(0x180)+_0x368996['Field']+_0x4741fc(0x1be),_0x5b951a+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x368996['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x368996[_0x4741fc(0x17c)]!='YES'&&(_0x5b951a+=_0x4741fc(0x1b5)+_0x368996['Comment']+_0x4741fc(0x187)+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):'true')+_0x4741fc(0x17d)),_0x5b951a+=_0x4741fc(0x178);else{if(_0x5056c4==_0x4741fc(0x184))_0x5b951a+='\x20\x20\x20\x20//\x20'+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+=_0x4741fc(0x180)+_0x368996[_0x4741fc(0x1b2)]+_0x4741fc(0x1be),_0x368996[_0x4741fc(0x17c)]!='YES'&&(_0x5b951a+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x368996[_0x4741fc(0x183)]+_0x4741fc(0x187)+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):_0x4741fc(0x1c0))+'\x20},\x0a'),_0x5b951a+=_0x4741fc(0x178);else{if(_0x5056c4=='enum'){let _0x4a5eb7=(0x0,helper_1[_0x4741fc(0x1b6)])(_0x368996[_0x4741fc(0x198)]);_0x5b951a+=_0x4741fc(0x1ad)+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+='\x20\x20\x20\x20'+_0x368996['Field']+_0x4741fc(0x1be),_0x5b951a+=_0x4741fc(0x189)+_0x368996[_0x4741fc(0x183)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x4a5eb7['join'](_0x4741fc(0x185))+_0x4741fc(0x1a7),_0x368996['Null']!='YES'&&(_0x5b951a+=_0x4741fc(0x1b5)+_0x368996['Comment']+'不能为空`,\x20required:\x20'+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):_0x4741fc(0x1c0))+'\x20},\x0a'),_0x5b951a+=_0x4741fc(0x178);}else[_0x4741fc(0x18f),_0x4741fc(0x199),'timestamp']['indexOf'](_0x5056c4)>-0x1?(_0x5b951a+=_0x4741fc(0x1ad)+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+=_0x4741fc(0x180)+_0x368996[_0x4741fc(0x1b2)]+':\x20[\x0a',_0x5b951a+=_0x4741fc(0x189)+_0x368996[_0x4741fc(0x183)]+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)&&(_0x5b951a+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x368996[_0x4741fc(0x183)]+'不能为空`,\x20required:\x20'+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):'true')+_0x4741fc(0x17d)),_0x5b951a+=_0x4741fc(0x178)):(_0x5b951a+=_0x4741fc(0x1ad)+_0x368996[_0x4741fc(0x183)]+'\x0a',_0x5b951a+=_0x4741fc(0x180)+_0x368996[_0x4741fc(0x1b2)]+_0x4741fc(0x1be),_0x5b951a+=_0x4741fc(0x189)+_0x368996[_0x4741fc(0x183)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x368996[_0x4741fc(0x17c)]!='YES'&&(_0x5b951a+=_0x4741fc(0x1b5)+_0x368996['Comment']+_0x4741fc(0x187)+(_0x368996[_0x4741fc(0x17c)]!=_0x4741fc(0x179)?_0x4741fc(0x1b3):_0x4741fc(0x1c0))+_0x4741fc(0x17d)),_0x5b951a+=_0x4741fc(0x178));}}}}}_0x1e9903+='\x0a',_0x1e9903+=_0x4741fc(0x1ab),_0x1e9903+='\x20*\x20'+_0x540c8b+'\x0a',_0x1e9903+=_0x4741fc(0x19a),_0x1e9903+=_0x4741fc(0x188),_0x1e9903+='export\x20const\x20'+_0x42dbd2+_0x4741fc(0x190),_0x1e9903+=_0x4741fc(0x186),_0x1e9903+='}\x0a\x0a',_0x1e9903=_0x1e9903[_0x4741fc(0x1ba)](_0x4741fc(0x186),_0x5b951a),fs[_0x4741fc(0x1bb)](_0x249767,_0x1e9903,_0x4741fc(0x173));}}async function updateRule(_0x34c07a,{tablestartUpShort:_0x4c3a4e,Comment:_0x4f1804,Fields:_0x3fe8f1}){const _0x494e1f=a15_0x254aed,_0x34e455=_0x34c07a+'/edit.js';if(!fs[_0x494e1f(0x1aa)](_0x34e455)){let _0x239c42='',_0xfc5925='';for(let _0x2912eb in _0x3fe8f1){let _0x4b84cb=_0x3fe8f1[_0x2912eb],_0x5151c5=(0x0,helper_1[_0x494e1f(0x175)])(_0x4b84cb[_0x494e1f(0x198)]);if(_0x4b84cb[_0x494e1f(0x1b2)]==_0x494e1f(0x17f)||_0x4b84cb[_0x494e1f(0x1b2)]==_0x494e1f(0x18c)||_0x4b84cb[_0x494e1f(0x1b2)]==_0x494e1f(0x1bd)||_0x4b84cb[_0x494e1f(0x1b2)]==_0x494e1f(0x19c))continue;if(['text',_0x494e1f(0x1b1),_0x494e1f(0x197)][_0x494e1f(0x193)](_0x5151c5)!=-0x1)_0x239c42+=_0x494e1f(0x1ad)+_0x4b84cb[_0x494e1f(0x183)]+'\x0a',_0x239c42+=_0x494e1f(0x180)+_0x4b84cb[_0x494e1f(0x1b2)]+_0x494e1f(0x1be),_0x4b84cb[_0x494e1f(0x17c)]!='YES'&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x187)+(_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)?_0x494e1f(0x1b3):_0x494e1f(0x1c0))+'\x20},\x0a'),_0x239c42+=_0x494e1f(0x178);else{if([_0x494e1f(0x1a5),_0x494e1f(0x1b4),'decimal','number'][_0x494e1f(0x193)](_0x5151c5)!=-0x1)_0x239c42+=_0x494e1f(0x1ad)+_0x4b84cb[_0x494e1f(0x183)]+'\x0a',_0x239c42+='\x20\x20\x20\x20'+_0x4b84cb[_0x494e1f(0x1b2)]+_0x494e1f(0x1be),_0x239c42+=_0x494e1f(0x189)+_0x4b84cb[_0x494e1f(0x183)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x4b84cb[_0x494e1f(0x17c)]!='YES'&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x187)+(_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)?'false':_0x494e1f(0x1c0))+_0x494e1f(0x17d)),_0x239c42+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint'][_0x494e1f(0x193)](_0x5151c5)!=-0x1)_0x239c42+=_0x494e1f(0x1ad)+_0x4b84cb[_0x494e1f(0x183)]+'\x0a',_0x239c42+=_0x494e1f(0x180)+_0x4b84cb[_0x494e1f(0x1b2)]+_0x494e1f(0x1be),_0x239c42+=_0x494e1f(0x189)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x196),_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x187)+(_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)?_0x494e1f(0x1b3):_0x494e1f(0x1c0))+_0x494e1f(0x17d)),_0x239c42+=_0x494e1f(0x178);else{if(_0x5151c5==_0x494e1f(0x184))_0x239c42+=_0x494e1f(0x1ad)+_0x4b84cb[_0x494e1f(0x183)]+'\x0a',_0x239c42+='\x20\x20\x20\x20'+_0x4b84cb['Field']+_0x494e1f(0x1be),_0x4b84cb['Null']!=_0x494e1f(0x179)&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x187)+(_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)?_0x494e1f(0x1b3):_0x494e1f(0x1c0))+_0x494e1f(0x17d)),_0x239c42+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x5151c5==_0x494e1f(0x174)){let _0x55697e=(0x0,helper_1[_0x494e1f(0x1b6)])(_0x4b84cb[_0x494e1f(0x198)]);_0x239c42+='\x20\x20\x20\x20//\x20'+_0x4b84cb[_0x494e1f(0x183)]+'\x0a',_0x239c42+=_0x494e1f(0x180)+_0x4b84cb[_0x494e1f(0x1b2)]+':\x20[\x0a',_0x239c42+=_0x494e1f(0x189)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x195)+_0x55697e[_0x494e1f(0x1b0)](_0x494e1f(0x185))+_0x494e1f(0x1a7),_0x4b84cb['Null']!=_0x494e1f(0x179)&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x187)+(_0x4b84cb[_0x494e1f(0x17c)]!='YES'?'false':_0x494e1f(0x1c0))+_0x494e1f(0x17d)),_0x239c42+=_0x494e1f(0x178);}else[_0x494e1f(0x18f),'datetime',_0x494e1f(0x18b)][_0x494e1f(0x193)](_0x5151c5)>-0x1?(_0x239c42+=_0x494e1f(0x1ad)+_0x4b84cb['Comment']+'\x0a',_0x239c42+=_0x494e1f(0x180)+_0x4b84cb[_0x494e1f(0x1b2)]+_0x494e1f(0x1be),_0x239c42+=_0x494e1f(0x189)+_0x4b84cb['Comment']+_0x494e1f(0x1ac),_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb['Comment']+'不能为空`,\x20required:\x20'+(_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)?'false':_0x494e1f(0x1c0))+_0x494e1f(0x17d)),_0x239c42+=_0x494e1f(0x178)):(_0x239c42+='\x20\x20\x20\x20//\x20'+_0x4b84cb[_0x494e1f(0x183)]+'\x0a',_0x239c42+='\x20\x20\x20\x20'+_0x4b84cb[_0x494e1f(0x1b2)]+':\x20[\x0a',_0x239c42+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4b84cb['Comment']+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)&&(_0x239c42+=_0x494e1f(0x1b5)+_0x4b84cb[_0x494e1f(0x183)]+_0x494e1f(0x187)+(_0x4b84cb[_0x494e1f(0x17c)]!=_0x494e1f(0x179)?_0x494e1f(0x1b3):_0x494e1f(0x1c0))+'\x20},\x0a'),_0x239c42+=_0x494e1f(0x178));}}}}}_0xfc5925+='\x0a',_0xfc5925+='/**\x0a',_0xfc5925+=_0x494e1f(0x191)+_0x4f1804+'\x0a',_0xfc5925+=_0x494e1f(0x1a8),_0xfc5925+=_0x494e1f(0x188),_0xfc5925+=_0x494e1f(0x19d)+_0x4c3a4e+_0x494e1f(0x1b9),_0xfc5925+=_0x494e1f(0x186),_0xfc5925+=_0x494e1f(0x17e),_0xfc5925=_0xfc5925[_0x494e1f(0x1ba)](_0x494e1f(0x186),_0x239c42),fs['writeFileSync'](_0x34e455,_0xfc5925,_0x494e1f(0x173));}}
1
+ const a15_0x232988=a15_0x544a;(function(_0x56b3d1,_0x317490){const _0x5426e8=a15_0x544a,_0x4aa60f=_0x56b3d1();while(!![]){try{const _0x3a9305=parseInt(_0x5426e8(0x1af))/0x1*(-parseInt(_0x5426e8(0x1b3))/0x2)+-parseInt(_0x5426e8(0x1c8))/0x3*(parseInt(_0x5426e8(0x1a5))/0x4)+parseInt(_0x5426e8(0x185))/0x5+parseInt(_0x5426e8(0x1bd))/0x6*(-parseInt(_0x5426e8(0x1a4))/0x7)+-parseInt(_0x5426e8(0x1c2))/0x8+parseInt(_0x5426e8(0x199))/0x9*(parseInt(_0x5426e8(0x1ca))/0xa)+parseInt(_0x5426e8(0x1cb))/0xb;if(_0x3a9305===_0x317490)break;else _0x4aa60f['push'](_0x4aa60f['shift']());}catch(_0x8e83f){_0x4aa60f['push'](_0x4aa60f['shift']());}}}(a15_0x5ed6,0x835ba));const a15_0x4f2a07=(function(){let _0x114bb7=!![];return function(_0x9f96e,_0x331496){const _0x6705eb=_0x114bb7?function(){const _0x502f42=a15_0x544a;if(_0x331496){const _0x1bd60e=_0x331496[_0x502f42(0x1c9)](_0x9f96e,arguments);return _0x331496=null,_0x1bd60e;}}:function(){};return _0x114bb7=![],_0x6705eb;};}()),a15_0x430831=a15_0x4f2a07(this,function(){const _0x3f7452=a15_0x544a;return a15_0x430831[_0x3f7452(0x18b)]()[_0x3f7452(0x190)](_0x3f7452(0x1c6))[_0x3f7452(0x18b)]()[_0x3f7452(0x19d)](a15_0x430831)['search']('(((.+)+)+)+$');});a15_0x430831();'use strict';Object[a15_0x232988(0x1a2)](exports,a15_0x232988(0x1bb),{'value':!![]});function a15_0x544a(_0x33aed1,_0x3ff735){const _0xb5995f=a15_0x5ed6();return a15_0x544a=function(_0x430831,_0x4f2a07){_0x430831=_0x430831-0x17c;let _0x5ed694=_0xb5995f[_0x430831];return _0x5ed694;},a15_0x544a(_0x33aed1,_0x3ff735);}const fs=require('fs'),helper_1=require(a15_0x232988(0x197));async function default_1({tablestartUpShort:_0x3e8f64,tablestartUpShort2:_0x18e483,moduleName:_0x2a6623,controller:_0x13778c,Comment:_0x552ed3,apporbasic:_0x7ed0d9,Primary:_0x19bda7,Fields:_0x424f7b}){const _0x44a4b7=a15_0x232988;let _0x233e7b=process[_0x44a4b7(0x17d)]()+_0x44a4b7(0x184)+(typeof _0x13778c=='string'?'/'+_0x13778c:'');_0x2a6623?_0x233e7b=_0x233e7b+(_0x44a4b7(0x19c)+_0x2a6623+_0x44a4b7(0x1be)+_0x3e8f64):_0x233e7b=_0x233e7b+(_0x44a4b7(0x1b9)+_0x7ed0d9+_0x44a4b7(0x1be)+_0x3e8f64),!fs[_0x44a4b7(0x182)](_0x233e7b)&&fs[_0x44a4b7(0x1c7)](_0x233e7b,{'recursive':!![]}),await CreateRule(_0x233e7b,{'tablestartUpShort':_0x3e8f64,'Comment':_0x552ed3,'Fields':_0x424f7b}),await updateRule(_0x233e7b,{'tablestartUpShort':_0x3e8f64,'Comment':_0x552ed3,'Fields':_0x424f7b});}exports[a15_0x232988(0x1a0)]=default_1;async function CreateRule(_0x31abf7,{tablestartUpShort:_0x8aa4f2,Comment:_0x266de4,Fields:_0x255b3e}){const _0x64ff57=a15_0x232988,_0x3b676c=_0x31abf7+_0x64ff57(0x1b2);if(!fs[_0x64ff57(0x182)](_0x3b676c)){let _0x3e1824='',_0x2d07b9='';for(let _0x396b46 in _0x255b3e){let _0xcb8dcb=_0x255b3e[_0x396b46],_0x81f984=(0x0,helper_1[_0x64ff57(0x193)])(_0xcb8dcb[_0x64ff57(0x1b8)]);if(_0xcb8dcb['Field']==_0x64ff57(0x1a8)||_0xcb8dcb['Field']=='created_at'||_0xcb8dcb[_0x64ff57(0x1b6)]==_0x64ff57(0x1b7)||_0xcb8dcb[_0x64ff57(0x1b6)]=='deleted_at')continue;if([_0x64ff57(0x188),_0x64ff57(0x196),_0x64ff57(0x187)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb['Field']+_0x64ff57(0x1b4),_0xcb8dcb['Null']!=_0x64ff57(0x1ab)&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if(['float',_0x64ff57(0x180),'decimal',_0x64ff57(0x192)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+='\x20\x20\x20\x20//\x20'+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0xcb8dcb['Null']!='YES'&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if([_0x64ff57(0x17f)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+':\x20[\x0a',_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb['Comment']+_0x64ff57(0x19e),_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if(_0x81f984==_0x64ff57(0x1ae))_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+':\x20[\x0a',_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb['Comment']+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!='YES'?_0x64ff57(0x1c3):_0x64ff57(0x181))+'\x20},\x0a'),_0x3e1824+=_0x64ff57(0x1c5);else{if(_0x81f984=='enum'){let _0x1948d6=(0x0,helper_1[_0x64ff57(0x1c4)])(_0xcb8dcb[_0x64ff57(0x1b8)]);_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb['Comment']+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x18a)+_0x1948d6[_0x64ff57(0x1ba)](_0x64ff57(0x1a6))+_0x64ff57(0x183),_0xcb8dcb['Null']!=_0x64ff57(0x1ab)&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):'true')+'\x20},\x0a'),_0x3e1824+=_0x64ff57(0x1c5);}else['date',_0x64ff57(0x195),_0x64ff57(0x1c1)][_0x64ff57(0x1aa)](_0x81f984)>-0x1?(_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb['Comment']+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0xcb8dcb['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?'false':_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5)):(_0x3e1824+='\x20\x20\x20\x20//\x20'+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1a9),_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):'true')+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5));}}}}}_0x2d07b9+='\x0a',_0x2d07b9+=_0x64ff57(0x189),_0x2d07b9+='\x20*\x20'+_0x266de4+'\x0a',_0x2d07b9+=_0x64ff57(0x198),_0x2d07b9+=_0x64ff57(0x1a3),_0x2d07b9+='export\x20const\x20'+_0x8aa4f2+_0x64ff57(0x1bc),_0x2d07b9+='%RuleColumn%',_0x2d07b9+=_0x64ff57(0x1b5),_0x2d07b9=_0x2d07b9['replace'](_0x64ff57(0x18d),_0x3e1824),fs[_0x64ff57(0x1c0)](_0x3b676c,_0x2d07b9,'utf-8');}}function a15_0x5ed6(){const _0x1fe47d=['\x20*\x20数据添加验证\x0a','1768887RcVOua','`,\x20type:\x20\x22date\x22\x20},\x0a','\x20\x20\x20\x20','/pages/apps/','constructor','`,\x20type:\x20\x22number\x22\x20},\x0a','Comment','default','deleted_at','defineProperty','\x20*\x20**/\x0a','7FXBVRx','85764qLJpNK','\x27,\x20\x27','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','displayorder','`,\x20type:\x20\x22string\x22\x20},\x0a','indexOf','YES','enum','Null','json','1685andQFv','utf-8','不能为空`,\x20required:\x20','/add.js','1124YpcKfr',':\x20[\x0a','}\x0a\x0a','Field','updated_at','Type','/pages/','join','__esModule','AddRule\x20=\x20{\x0a','4838334sOXAEn','/validators/','\x20},\x0a','writeFileSync','timestamp','3346440npikEf','false','getEnum','\x20\x20\x20\x20],\x0a\x0a','(((.+)+)+)+$','mkdirSync','147HnxJZB','apply','30qRiKSe','30368173heRBsW','EditRule\x20=\x20{\x0a','/edit.js','cwd','decimal','tinyint','double','true','existsSync','\x27]\x20},\x0a','/vue','2049715SByTrY','replace','mediumtext','text','/**\x0a','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','toString','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','%RuleColumn%','\x20*\x20数据更新验证\x0a','date','search','float','number','getProp','\x20\x20\x20\x20//\x20','datetime','longtext','../helper'];a15_0x5ed6=function(){return _0x1fe47d;};return a15_0x5ed6();}async function updateRule(_0x5e32b8,{tablestartUpShort:_0x58dbf9,Comment:_0x4df99f,Fields:_0x511928}){const _0x5abe1c=a15_0x232988,_0x414dd0=_0x5e32b8+_0x5abe1c(0x17c);if(!fs[_0x5abe1c(0x182)](_0x414dd0)){let _0x119b53='',_0x33c473='';for(let _0x5e8757 in _0x511928){let _0x376500=_0x511928[_0x5e8757],_0xa00418=(0x0,helper_1[_0x5abe1c(0x193)])(_0x376500[_0x5abe1c(0x1b8)]);if(_0x376500['Field']=='displayorder'||_0x376500[_0x5abe1c(0x1b6)]=='created_at'||_0x376500[_0x5abe1c(0x1b6)]==_0x5abe1c(0x1b7)||_0x376500[_0x5abe1c(0x1b6)]==_0x5abe1c(0x1a1))continue;if([_0x5abe1c(0x188),'longtext',_0x5abe1c(0x187)][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x376500[_0x5abe1c(0x1ad)]!='YES'&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+'不能为空`,\x20required:\x20'+(_0x376500['Null']!='YES'?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x5abe1c(0x191),'double',_0x5abe1c(0x17e),'number'][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x19e),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x376500['Comment']+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if([_0x5abe1c(0x17f)][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+':\x20[\x0a',_0x119b53+=_0x5abe1c(0x1a7)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x19e),_0x376500[_0x5abe1c(0x1ad)]!='YES'&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500['Comment']+'不能为空`,\x20required:\x20'+(_0x376500[_0x5abe1c(0x1ad)]!='YES'?'false':'true')+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if(_0xa00418==_0x5abe1c(0x1ae))_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500['Field']+':\x20[\x0a',_0x376500['Null']!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x1b1)+(_0x376500['Null']!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):'true')+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if(_0xa00418==_0x5abe1c(0x1ac)){let _0x5d1ae0=(0x0,helper_1[_0x5abe1c(0x1c4)])(_0x376500[_0x5abe1c(0x1b8)]);_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x18a)+_0x5d1ae0['join'](_0x5abe1c(0x1a6))+_0x5abe1c(0x183),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+'不能为空`,\x20required:\x20'+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+'\x20},\x0a'),_0x119b53+=_0x5abe1c(0x1c5);}else[_0x5abe1c(0x18f),_0x5abe1c(0x195),'timestamp'][_0x5abe1c(0x1aa)](_0xa00418)>-0x1?(_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+='\x20\x20\x20\x20'+_0x376500[_0x5abe1c(0x1b6)]+':\x20[\x0a',_0x119b53+=_0x5abe1c(0x1a7)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x19a),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+'\x20},\x0a'),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a'):(_0x119b53+=_0x5abe1c(0x194)+_0x376500['Comment']+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500['Field']+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x1a9),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500['Comment']+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?'false':_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x33c473+='\x0a',_0x33c473+=_0x5abe1c(0x189),_0x33c473+='\x20*\x20'+_0x4df99f+'\x0a',_0x33c473+=_0x5abe1c(0x18e),_0x33c473+=_0x5abe1c(0x1a3),_0x33c473+='export\x20const\x20'+_0x58dbf9+_0x5abe1c(0x1cc),_0x33c473+=_0x5abe1c(0x18d),_0x33c473+=_0x5abe1c(0x1b5),_0x33c473=_0x33c473[_0x5abe1c(0x186)](_0x5abe1c(0x18d),_0x119b53),fs['writeFileSync'](_0x414dd0,_0x33c473,_0x5abe1c(0x1b0));}}
@@ -1 +1 @@
1
- const a16_0x42551b=a16_0x1022;(function(_0x490d4a,_0x29b3cf){const _0x3f9d95=a16_0x1022,_0x3e416c=_0x490d4a();while(!![]){try{const _0x41bf1f=-parseInt(_0x3f9d95(0x14f))/0x1*(-parseInt(_0x3f9d95(0x147))/0x2)+-parseInt(_0x3f9d95(0x135))/0x3*(parseInt(_0x3f9d95(0x133))/0x4)+parseInt(_0x3f9d95(0x11b))/0x5*(-parseInt(_0x3f9d95(0x14a))/0x6)+-parseInt(_0x3f9d95(0x122))/0x7*(parseInt(_0x3f9d95(0x141))/0x8)+parseInt(_0x3f9d95(0x11f))/0x9+parseInt(_0x3f9d95(0x13b))/0xa*(parseInt(_0x3f9d95(0x139))/0xb)+parseInt(_0x3f9d95(0x11c))/0xc;if(_0x41bf1f===_0x29b3cf)break;else _0x3e416c['push'](_0x3e416c['shift']());}catch(_0x31e16a){_0x3e416c['push'](_0x3e416c['shift']());}}}(a16_0x7e8b,0x7fbd8));const a16_0x37b3b8=(function(){let _0xd80992=!![];return function(_0x271da9,_0x5210f2){const _0x5e47af=_0xd80992?function(){const _0x178b52=a16_0x1022;if(_0x5210f2){const _0x1b5100=_0x5210f2[_0x178b52(0x125)](_0x271da9,arguments);return _0x5210f2=null,_0x1b5100;}}:function(){};return _0xd80992=![],_0x5e47af;};}()),a16_0x2a6fc4=a16_0x37b3b8(this,function(){const _0x246622=a16_0x1022;return a16_0x2a6fc4[_0x246622(0x123)]()['search'](_0x246622(0x11a))['toString']()[_0x246622(0x12e)](a16_0x2a6fc4)[_0x246622(0x128)]('(((.+)+)+)+$');});a16_0x2a6fc4();'use strict';Object[a16_0x42551b(0x142)](exports,a16_0x42551b(0x13c),{'value':!![]});function a16_0x1022(_0x14b410,_0x1698b2){const _0xc9a4fe=a16_0x7e8b();return a16_0x1022=function(_0x2a6fc4,_0x37b3b8){_0x2a6fc4=_0x2a6fc4-0x11a;let _0x7e8b4d=_0xc9a4fe[_0x2a6fc4];return _0x7e8b4d;},a16_0x1022(_0x14b410,_0x1698b2);}const fs=require('fs'),path_1=require(a16_0x42551b(0x146)),helper_1=require('../helper');async function default_1({tablestartUpShort:_0x3d6a1f,tablestartUpShort2:_0x28ea6f,moduleName:_0x80e694,controller:_0xf2a9ba,Comment:_0x272847,apporbasic:_0x33d6f4,Primary:_0x1510bb}){const _0x5aa540=a16_0x42551b;let _0x156f53=process[_0x5aa540(0x129)]()+_0x5aa540(0x136)+(typeof _0xf2a9ba=='string'?'/'+_0xf2a9ba:'');_0x80e694?_0x156f53=_0x156f53+(_0x5aa540(0x13e)+_0x80e694+'/'+_0x3d6a1f+_0x5aa540(0x12c)):_0x156f53=_0x156f53+(_0x5aa540(0x14b)+_0x33d6f4+'/'+_0x3d6a1f+_0x5aa540(0x12c));if(!fs['existsSync'](_0x156f53)){const _0xc181c1=['text',_0x5aa540(0x132),'string'][_0x5aa540(0x140)]((0x0,helper_1[_0x5aa540(0x12f)])(_0x1510bb[_0x5aa540(0x151)]))==-0x1,_0x556550=''+(typeof _0xf2a9ba==_0x5aa540(0x150)?_0xf2a9ba+'/':'')+(_0x80e694?_0x80e694+'/':'')+_0x28ea6f;let _0x5c42e8='import\x20{\x20request\x20}\x20from\x20\x27'+(_0x80e694?_0x5aa540(0x14d):_0x5aa540(0x126))+_0x5aa540(0x134);_0x5c42e8+=_0x5aa540(0x148)+_0x272847+_0x5aa540(0x14c),_0x5c42e8+='export\x20function\x20'+_0x3d6a1f+_0x5aa540(0x12b)+_0x1510bb['Field']+':\x20'+(_0xc181c1?_0x5aa540(0x144):_0x5aa540(0x150))+_0x5aa540(0x130),_0x5c42e8+=_0x5aa540(0x131)+_0x556550+_0x5aa540(0x137)+_0x1510bb[_0x5aa540(0x124)]+'}`)\x0a',_0x5c42e8+=_0x5aa540(0x11d),_0x5c42e8+='//\x20'+_0x272847+'@添加\x0a',_0x5c42e8+='export\x20function\x20'+_0x3d6a1f+_0x5aa540(0x127),_0x5c42e8+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x556550+_0x5aa540(0x121),_0x5c42e8+=_0x5aa540(0x11d),_0x5c42e8+=_0x5aa540(0x148)+_0x272847+'@修改\x0a',_0x5c42e8+=_0x5aa540(0x13f)+_0x3d6a1f+_0x5aa540(0x12a)+_0x1510bb['Field']+':\x20'+(_0xc181c1?_0x5aa540(0x144):_0x5aa540(0x150))+',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x5c42e8+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x556550+'/edit/${'+_0x1510bb[_0x5aa540(0x124)]+'}`,\x20params)\x0a',_0x5c42e8+='}\x0a\x0a',_0x5c42e8+=_0x5aa540(0x148)+_0x272847+'@列表\x0a',_0x5c42e8+=_0x5aa540(0x13f)+_0x3d6a1f+_0x5aa540(0x11e),_0x5c42e8+=_0x5aa540(0x131)+_0x556550+_0x5aa540(0x149),_0x5c42e8+='}\x0a\x0a',_0x5c42e8+='//\x20'+_0x272847+_0x5aa540(0x143),_0x5c42e8+=_0x5aa540(0x13f)+_0x3d6a1f+_0x5aa540(0x13d),_0x5c42e8+=_0x5aa540(0x120)+_0x556550+_0x5aa540(0x13a),_0x5c42e8+='}\x0a\x0a',fs['mkdirSync']((0x0,path_1[_0x5aa540(0x14e)])(_0x156f53),{'recursive':!![]}),fs[_0x5aa540(0x138)](_0x156f53,_0x5c42e8,_0x5aa540(0x12d));}}function a16_0x7e8b(){const _0x1bfb94=['search','cwd','Edit(','Detail(','.ts','utf-8','constructor','getProp',')\x20{\x0a','\x20\x20\x20\x20return\x20request(`GET`,\x20`','mediumtext','10044UPZoOC','request\x27;\x0a\x0a','966MQMBle','/vue','/detail/${','writeFileSync','550nuCHSy','/remove`,\x20params)\x0a','128910EowYcU','__esModule','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','/apis/apps/','export\x20function\x20','indexOf','1009672wywDYV','defineProperty','@删除\x0a','number','default','path','58ByAITG','//\x20','/list`,\x20params)\x0a','84IJgqNy','/apis/','@详情\x0a','../../','dirname','3970ONlYsD','string','Type','(((.+)+)+)+$','265475GuMyEB','27590856HSOtzr','}\x0a\x0a','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','232650WQqQFR','\x20\x20\x20\x20return\x20request(`POST`,\x20`','/add`,\x20params)\x0a','56uDPrkg','toString','Field','apply','../','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a'];a16_0x7e8b=function(){return _0x1bfb94;};return a16_0x7e8b();}exports[a16_0x42551b(0x145)]=default_1;
1
+ const a16_0x1af6cb=a16_0x47d2;(function(_0x2a8105,_0x297e1d){const _0x177008=a16_0x47d2,_0x2b143c=_0x2a8105();while(!![]){try{const _0x54fe5b=parseInt(_0x177008(0x152))/0x1*(-parseInt(_0x177008(0x160))/0x2)+parseInt(_0x177008(0x140))/0x3*(-parseInt(_0x177008(0x16c))/0x4)+parseInt(_0x177008(0x16f))/0x5*(parseInt(_0x177008(0x154))/0x6)+-parseInt(_0x177008(0x13b))/0x7+-parseInt(_0x177008(0x144))/0x8*(parseInt(_0x177008(0x13d))/0x9)+parseInt(_0x177008(0x16a))/0xa*(parseInt(_0x177008(0x16e))/0xb)+parseInt(_0x177008(0x13f))/0xc;if(_0x54fe5b===_0x297e1d)break;else _0x2b143c['push'](_0x2b143c['shift']());}catch(_0x56b7ae){_0x2b143c['push'](_0x2b143c['shift']());}}}(a16_0x11e1,0xe6037));const a16_0x6dc307=(function(){let _0x23c308=!![];return function(_0x363e49,_0x22165a){const _0x134eee=_0x23c308?function(){const _0x20fa7e=a16_0x47d2;if(_0x22165a){const _0x251e58=_0x22165a[_0x20fa7e(0x150)](_0x363e49,arguments);return _0x22165a=null,_0x251e58;}}:function(){};return _0x23c308=![],_0x134eee;};}()),a16_0x1d1c98=a16_0x6dc307(this,function(){const _0x993ba4=a16_0x47d2;return a16_0x1d1c98[_0x993ba4(0x159)]()[_0x993ba4(0x149)](_0x993ba4(0x14e))[_0x993ba4(0x159)]()['constructor'](a16_0x1d1c98)['search']('(((.+)+)+)+$');});a16_0x1d1c98();'use strict';Object[a16_0x1af6cb(0x164)](exports,a16_0x1af6cb(0x146),{'value':!![]});function a16_0x11e1(){const _0x367d85=['defineProperty','/apis/','/list`,\x20params)\x0a','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','export\x20function\x20','Field','1580RpwfYk','Detail(','10372NobxcU','string','107778PAmxWN','4166035PZHUIg','@修改\x0a','import\x20{\x20request\x20}\x20from\x20\x27','1913219ByGghe',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','9QwRVPp','.ts','3463512HCZsub','309pRHosX','path','@添加\x0a','text','10097088jXZNZi','utf-8','__esModule','existsSync','/detail/${','search','\x20\x20\x20\x20return\x20request(`POST`,\x20`','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','default','../helper','(((.+)+)+)+$','/remove`,\x20params)\x0a','apply','writeFileSync','758457mbURSw','indexOf','12GrnkZL','@详情\x0a','//\x20','dirname','../../','toString','Type','mkdirSync',')\x20{\x0a','getProp','\x20\x20\x20\x20return\x20request(`GET`,\x20`','mediumtext','2DIWwIu','}\x0a\x0a','/add`,\x20params)\x0a','cwd'];a16_0x11e1=function(){return _0x367d85;};return a16_0x11e1();}const fs=require('fs'),path_1=require(a16_0x1af6cb(0x141)),helper_1=require(a16_0x1af6cb(0x14d));async function default_1({tablestartUpShort:_0x1a16ab,tablestartUpShort2:_0x495841,moduleName:_0x12549a,controller:_0xc218c6,Comment:_0x2b841e,apporbasic:_0x2d9561,Primary:_0x453c8d}){const _0x38cbe6=a16_0x1af6cb;let _0x4741eb=process[_0x38cbe6(0x163)]()+'/vue'+(typeof _0xc218c6==_0x38cbe6(0x16d)?'/'+_0xc218c6:'');_0x12549a?_0x4741eb=_0x4741eb+('/apis/apps/'+_0x12549a+'/'+_0x1a16ab+_0x38cbe6(0x13e)):_0x4741eb=_0x4741eb+(_0x38cbe6(0x165)+_0x2d9561+'/'+_0x1a16ab+_0x38cbe6(0x13e));if(!fs[_0x38cbe6(0x147)](_0x4741eb)){const _0x3b70f1=[_0x38cbe6(0x143),_0x38cbe6(0x15f),'string'][_0x38cbe6(0x153)]((0x0,helper_1[_0x38cbe6(0x15d)])(_0x453c8d[_0x38cbe6(0x15a)]))==-0x1,_0x327fa7=''+(typeof _0xc218c6==_0x38cbe6(0x16d)?_0xc218c6+'/':'')+(_0x12549a?_0x12549a+'/':'')+_0x495841;let _0x39d3e4=_0x38cbe6(0x171)+(_0x12549a?_0x38cbe6(0x158):'../')+'request\x27;\x0a\x0a';_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+_0x38cbe6(0x155),_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+_0x38cbe6(0x16b)+_0x453c8d[_0x38cbe6(0x169)]+':\x20'+(_0x3b70f1?'number':_0x38cbe6(0x16d))+_0x38cbe6(0x15c),_0x39d3e4+=_0x38cbe6(0x15e)+_0x327fa7+_0x38cbe6(0x148)+_0x453c8d[_0x38cbe6(0x169)]+'}`)\x0a',_0x39d3e4+=_0x38cbe6(0x161),_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+_0x38cbe6(0x142),_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+_0x38cbe6(0x14b),_0x39d3e4+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x327fa7+_0x38cbe6(0x162),_0x39d3e4+=_0x38cbe6(0x161),_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+_0x38cbe6(0x170),_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+'Edit('+_0x453c8d['Field']+':\x20'+(_0x3b70f1?'number':_0x38cbe6(0x16d))+_0x38cbe6(0x13c),_0x39d3e4+=_0x38cbe6(0x14a)+_0x327fa7+'/edit/${'+_0x453c8d[_0x38cbe6(0x169)]+'}`,\x20params)\x0a',_0x39d3e4+='}\x0a\x0a',_0x39d3e4+='//\x20'+_0x2b841e+'@列表\x0a',_0x39d3e4+='export\x20function\x20'+_0x1a16ab+'List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x39d3e4+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x327fa7+_0x38cbe6(0x166),_0x39d3e4+=_0x38cbe6(0x161),_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+'@删除\x0a',_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+_0x38cbe6(0x167),_0x39d3e4+=_0x38cbe6(0x14a)+_0x327fa7+_0x38cbe6(0x14f),_0x39d3e4+='}\x0a\x0a',fs[_0x38cbe6(0x15b)]((0x0,path_1[_0x38cbe6(0x157)])(_0x4741eb),{'recursive':!![]}),fs[_0x38cbe6(0x151)](_0x4741eb,_0x39d3e4,_0x38cbe6(0x145));}}function a16_0x47d2(_0x1069dd,_0x282454){const _0x50b07e=a16_0x11e1();return a16_0x47d2=function(_0x1d1c98,_0x6dc307){_0x1d1c98=_0x1d1c98-0x13b;let _0x11e152=_0x50b07e[_0x1d1c98];return _0x11e152;},a16_0x47d2(_0x1069dd,_0x282454);}exports[a16_0x1af6cb(0x14c)]=default_1;
@@ -1 +1 @@
1
- const a17_0x1c90d3=a17_0x3ee5;(function(_0xb3fd1e,_0x537069){const _0x5cf70f=a17_0x3ee5,_0x573999=_0xb3fd1e();while(!![]){try{const _0x5e9d30=parseInt(_0x5cf70f(0xca))/0x1+-parseInt(_0x5cf70f(0xbf))/0x2+-parseInt(_0x5cf70f(0xd0))/0x3*(parseInt(_0x5cf70f(0xb8))/0x4)+parseInt(_0x5cf70f(0xc4))/0x5+-parseInt(_0x5cf70f(0xd8))/0x6*(-parseInt(_0x5cf70f(0xbd))/0x7)+-parseInt(_0x5cf70f(0xcb))/0x8*(-parseInt(_0x5cf70f(0xc8))/0x9)+-parseInt(_0x5cf70f(0xd4))/0xa*(parseInt(_0x5cf70f(0xbe))/0xb);if(_0x5e9d30===_0x537069)break;else _0x573999['push'](_0x573999['shift']());}catch(_0x52bf6f){_0x573999['push'](_0x573999['shift']());}}}(a17_0x4700,0xebca7));function a17_0x4700(){const _0x1a28e2=['defineProperty','{title:\x20\x22','2153150YFQxNm','</template>\x0a\x0a','//\x20add\x20menu\x20here','\x20\x20\x20\x20])\x0a','3159fcfevf','</script>\x0a\x0a','1296192LFmltK','26520lMkcBQ','toString','/pages/apps/','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','/layout.vue','3jZkOyS','__esModule','apply','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','3835090dKKdoU','replace','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','/list\x22','1071762roAsGa','string','cwd','utf-8','indexOf','search','path','padEnd','mkdirSync','2395372wWVtZi','readFileSync','existsSync',',\x20path:\x20\x22','/pages/','35EWnIlE','11HYptCT','3670742DuCODt','/vue','/apps-'];a17_0x4700=function(){return _0x1a28e2;};return a17_0x4700();}const a17_0x444343=(function(){let _0x22b987=!![];return function(_0x5df1e2,_0x195d4f){const _0x3768ca=_0x22b987?function(){const _0x1b07d0=a17_0x3ee5;if(_0x195d4f){const _0x44d99c=_0x195d4f[_0x1b07d0(0xd2)](_0x5df1e2,arguments);return _0x195d4f=null,_0x44d99c;}}:function(){};return _0x22b987=![],_0x3768ca;};}()),a17_0x1bf110=a17_0x444343(this,function(){const _0x21ebea=a17_0x3ee5;return a17_0x1bf110[_0x21ebea(0xcc)]()[_0x21ebea(0xdd)]('(((.+)+)+)+$')['toString']()['constructor'](a17_0x1bf110)['search']('(((.+)+)+)+$');});a17_0x1bf110();'use strict';Object[a17_0x1c90d3(0xc2)](exports,a17_0x1c90d3(0xd1),{'value':!![]});function a17_0x3ee5(_0x475c7a,_0x287f6c){const _0x15f70f=a17_0x4700();return a17_0x3ee5=function(_0x1bf110,_0x444343){_0x1bf110=_0x1bf110-0xb7;let _0x470047=_0x15f70f[_0x1bf110];return _0x470047;},a17_0x3ee5(_0x475c7a,_0x287f6c);}const fs=require('fs'),path_1=require(a17_0x1c90d3(0xde));async function default_1({tablestartUpShort2:_0x439664,controller:_0x351fed,moduleName:_0x5a6013,Comment:_0x443572,apporbasic:_0x1d9bfe}){const _0x591538=a17_0x1c90d3;let _0x5a706d=process[_0x591538(0xda)]()+_0x591538(0xc0)+(typeof _0x351fed==_0x591538(0xd9)?'/'+_0x351fed:'');_0x5a6013?_0x5a706d=_0x5a706d+(_0x591538(0xcd)+_0x5a6013+_0x591538(0xcf)):_0x5a706d=_0x5a706d+(_0x591538(0xbc)+_0x1d9bfe+_0x591538(0xcf));await createLayout(_0x5a706d,{'moduleName':_0x5a6013});const _0x34ad47=fs[_0x591538(0xb9)](_0x5a706d,_0x591538(0xdb)),_0x20fa96=_0x591538(0xc3)+(_0x443572+'\x22')[_0x591538(0xdf)](0x14)+_0x591538(0xbb)+(''+(typeof _0x5a6013==_0x591538(0xd9)?_0x591538(0xc1)+_0x5a6013+'/':'/'+_0x1d9bfe+'/')+_0x439664+_0x591538(0xd7))[_0x591538(0xdf)](0x14)+'}';_0x34ad47[_0x591538(0xdc)](_0x20fa96)==-0x1&&fs['writeFileSync'](_0x5a706d,_0x34ad47[_0x591538(0xd5)](_0x591538(0xc6),_0x20fa96+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}exports['default']=default_1;async function createLayout(_0x584bd8,{moduleName:_0x1242c1}){const _0x5cf251=a17_0x1c90d3;if(!fs[_0x5cf251(0xba)](_0x584bd8)){let _0x2cd1b5='<template>\x0a';_0x2cd1b5+=_0x5cf251(0xd6)+_0x1242c1+_0x5cf251(0xce),_0x2cd1b5+='\x20\x20\x20\x20</page-layout>\x0a',_0x2cd1b5+=_0x5cf251(0xc5),_0x2cd1b5+='<script\x20lang=\x22ts\x22\x20setup>\x0a',_0x2cd1b5+='\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a',_0x2cd1b5+=_0x5cf251(0xd3),_0x2cd1b5+=_0x5cf251(0xc7),_0x2cd1b5+=_0x5cf251(0xc9),fs[_0x5cf251(0xb7)]((0x0,path_1['dirname'])(_0x584bd8),{'recursive':!![]}),fs['writeFileSync'](_0x584bd8,_0x2cd1b5,_0x5cf251(0xdb));}}
1
+ const a17_0x1407c9=a17_0x4c86;(function(_0x4c7820,_0x2c024b){const _0x5eb0ef=a17_0x4c86,_0x22d436=_0x4c7820();while(!![]){try{const _0x2b4415=parseInt(_0x5eb0ef(0xdd))/0x1*(-parseInt(_0x5eb0ef(0xe1))/0x2)+parseInt(_0x5eb0ef(0xdc))/0x3+-parseInt(_0x5eb0ef(0xe2))/0x4*(-parseInt(_0x5eb0ef(0xe0))/0x5)+parseInt(_0x5eb0ef(0xf6))/0x6*(-parseInt(_0x5eb0ef(0x101))/0x7)+parseInt(_0x5eb0ef(0xe6))/0x8*(-parseInt(_0x5eb0ef(0xed))/0x9)+parseInt(_0x5eb0ef(0x102))/0xa+parseInt(_0x5eb0ef(0xfb))/0xb*(parseInt(_0x5eb0ef(0xfc))/0xc);if(_0x2b4415===_0x2c024b)break;else _0x22d436['push'](_0x22d436['shift']());}catch(_0x3b7355){_0x22d436['push'](_0x22d436['shift']());}}}(a17_0x27b3,0xbe67f));const a17_0xef01d2=(function(){let _0x174b3b=!![];return function(_0x3021b8,_0x38d437){const _0x175d45=_0x174b3b?function(){if(_0x38d437){const _0x336e44=_0x38d437['apply'](_0x3021b8,arguments);return _0x38d437=null,_0x336e44;}}:function(){};return _0x174b3b=![],_0x175d45;};}()),a17_0x10826a=a17_0xef01d2(this,function(){const _0xaaec04=a17_0x4c86;return a17_0x10826a['toString']()['search']('(((.+)+)+)+$')[_0xaaec04(0xde)]()[_0xaaec04(0xe5)](a17_0x10826a)[_0xaaec04(0xf1)](_0xaaec04(0xd8));});a17_0x10826a();function a17_0x27b3(){const _0x206ce4=['31936gIPvID','writeFileSync','string','constructor','1475824VaWffU','/layout.vue','dirname','utf-8','/pages/','existsSync','indexOf','18rUJSaR','</script>\x0a\x0a','</template>\x0a\x0a','readFileSync','search','__esModule','path','//\x20add\x20menu\x20here','\x20\x20\x20\x20])\x0a','6AwFUwu','<script\x20lang=\x22ts\x22\x20setup>\x0a','cwd','\x20\x20\x20\x20</page-layout>\x0a','<template>\x0a','44AowvoK','2172084FIWoiD',',\x20path:\x20\x22','default','padEnd','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','9532789NmapMB','1986040aXrAZc','mkdirSync','{title:\x20\x22','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','(((.+)+)+)+$','replace','/pages/apps/','defineProperty','3599067mpCPWi','3867Cjegff','toString','/apps-','420qqutNb','146soJgBU'];a17_0x27b3=function(){return _0x206ce4;};return a17_0x27b3();}'use strict';Object[a17_0x1407c9(0xdb)](exports,a17_0x1407c9(0xf2),{'value':!![]});const fs=require('fs'),path_1=require(a17_0x1407c9(0xf3));function a17_0x4c86(_0xca6bf8,_0x5670a8){const _0x49429c=a17_0x27b3();return a17_0x4c86=function(_0x10826a,_0xef01d2){_0x10826a=_0x10826a-0xd8;let _0x27b356=_0x49429c[_0x10826a];return _0x27b356;},a17_0x4c86(_0xca6bf8,_0x5670a8);}async function default_1({tablestartUpShort2:_0x356df7,controller:_0x14495c,moduleName:_0x1a8a72,Comment:_0x238164,apporbasic:_0x498af1}){const _0x2a22f0=a17_0x1407c9;let _0x2f460f=process[_0x2a22f0(0xf8)]()+'/vue'+(typeof _0x14495c==_0x2a22f0(0xe4)?'/'+_0x14495c:'');_0x1a8a72?_0x2f460f=_0x2f460f+(_0x2a22f0(0xda)+_0x1a8a72+_0x2a22f0(0xe7)):_0x2f460f=_0x2f460f+(_0x2a22f0(0xea)+_0x498af1+'/layout.vue');await createLayout(_0x2f460f,{'moduleName':_0x1a8a72});const _0x2676c0=fs[_0x2a22f0(0xf0)](_0x2f460f,'utf-8'),_0x3d9ebb=_0x2a22f0(0x104)+(_0x238164+'\x22')['padEnd'](0x14)+_0x2a22f0(0xfd)+(''+(typeof _0x1a8a72==_0x2a22f0(0xe4)?_0x2a22f0(0xdf)+_0x1a8a72+'/':'/'+_0x498af1+'/')+_0x356df7+'/list\x22')[_0x2a22f0(0xff)](0x14)+'}';_0x2676c0[_0x2a22f0(0xec)](_0x3d9ebb)==-0x1&&fs[_0x2a22f0(0xe3)](_0x2f460f,_0x2676c0[_0x2a22f0(0xd9)](_0x2a22f0(0xf4),_0x3d9ebb+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}exports[a17_0x1407c9(0xfe)]=default_1;async function createLayout(_0x4cd271,{moduleName:_0x254506}){const _0x2be669=a17_0x1407c9;if(!fs[_0x2be669(0xeb)](_0x4cd271)){let _0x1cd4db=_0x2be669(0xfa);_0x1cd4db+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-'+_0x254506+_0x2be669(0x100),_0x1cd4db+=_0x2be669(0xf9),_0x1cd4db+=_0x2be669(0xef),_0x1cd4db+=_0x2be669(0xf7),_0x1cd4db+=_0x2be669(0x105),_0x1cd4db+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x1cd4db+=_0x2be669(0xf5),_0x1cd4db+=_0x2be669(0xee),fs[_0x2be669(0x103)]((0x0,path_1[_0x2be669(0xe8)])(_0x4cd271),{'recursive':!![]}),fs[_0x2be669(0xe3)](_0x4cd271,_0x1cd4db,_0x2be669(0xe9));}}