anncic-apihelper 3.7.23 → 3.7.24

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_0xb11326=a10_0x4902;(function(_0x5c72a8,_0x290773){const _0xaf75d2=a10_0x4902,_0x5054db=_0x5c72a8();while(!![]){try{const _0x6d59ff=parseInt(_0xaf75d2(0x11d))/0x1+-parseInt(_0xaf75d2(0xf1))/0x2*(-parseInt(_0xaf75d2(0xe8))/0x3)+parseInt(_0xaf75d2(0x11b))/0x4*(parseInt(_0xaf75d2(0xd7))/0x5)+parseInt(_0xaf75d2(0xd1))/0x6*(-parseInt(_0xaf75d2(0xff))/0x7)+parseInt(_0xaf75d2(0xde))/0x8+parseInt(_0xaf75d2(0xc3))/0x9*(parseInt(_0xaf75d2(0x112))/0xa)+-parseInt(_0xaf75d2(0x11c))/0xb*(parseInt(_0xaf75d2(0xe5))/0xc);if(_0x6d59ff===_0x290773)break;else _0x5054db['push'](_0x5054db['shift']());}catch(_0x4740c1){_0x5054db['push'](_0x5054db['shift']());}}}(a10_0x2dbd,0x35246));const a10_0x2b9412=(function(){let _0x40d0f0=!![];return function(_0x1d6b50,_0x51aa28){const _0x5d6dbe=_0x40d0f0?function(){const _0x203911=a10_0x4902;if(_0x51aa28){const _0x3a7478=_0x51aa28[_0x203911(0xed)](_0x1d6b50,arguments);return _0x51aa28=null,_0x3a7478;}}:function(){};return _0x40d0f0=![],_0x5d6dbe;};}()),a10_0x2f972c=a10_0x2b9412(this,function(){const _0x3cbc08=a10_0x4902;return a10_0x2f972c[_0x3cbc08(0xe9)]()[_0x3cbc08(0xf0)](_0x3cbc08(0x128))[_0x3cbc08(0xe9)]()[_0x3cbc08(0xfc)](a10_0x2f972c)['search'](_0x3cbc08(0x128));});a10_0x2f972c();'use strict';function a10_0x4902(_0x9223e2,_0x2861c4){const _0xb69f89=a10_0x2dbd();return a10_0x4902=function(_0x2f972c,_0x2b9412){_0x2f972c=_0x2f972c-0xbb;let _0x2dbd3c=_0xb69f89[_0x2f972c];return _0x2dbd3c;},a10_0x4902(_0x9223e2,_0x2861c4);}Object['defineProperty'](exports,a10_0xb11326(0xe7),{'value':!![]});const fs=require('fs'),helper_1=require(a10_0xb11326(0x123));function a10_0x2dbd(){const _0x51a11b=['10vAWwtj','utf-8','updated_at','indexOf','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','2564ZavSvI','649iYAOUA','156993EQPZtb','?:\x20any\x20|\x20any[];\x0a\x0a','\x27,\x20RuleType.number())\x0a','\x20*\x20**/\x0a','datetime','\x20\x20\x20\x20@Rule(\x27','../helper','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','Enum,\x20\x27','Comment','?:\x20number;\x0a\x0a','(((.+)+)+)+$','?:\x20\x27','decimal','created_at','.required()','text','enum','\x27)))\x0a','import\x20{\x20','Type','\x27,\x20RuleType.string().valid(\x27','/**\x0a','\x27,\x20RuleType.string()','\x27))','/enums/','DTOCreate\x20extends\x20OmitDto(','1559592MVQInm','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','longtext','/Create.ts','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','boolean','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','date','timestamp','toLowerCase','\x27,\x20RuleType.number()','_between?:\x20string[];\x0a\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','6IdXaPV','\x27;\x0a\x0a','/Search.ts','Enum\x20}\x20from\x20\x27','\x27;\x0a','/validators/','675DWtqnm','tinyint','Null','mediumtext','\x20*\x20数据添加验证\x0a','double','getProp','2823352fBaiRQ','join','\x27,\x20RuleType.date())\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','DTOUpdate\x20extends\x20OmitDto(','\x27,\x20RuleType.any())\x0a','json','162948TuNOZg','number','__esModule','6EagOQi','toString','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','deleted_at','\x27\x20|\x20\x27','apply',':\x20number;\x0a\x0a','/Update.ts','search','250442EWzKui','displayorder','existsSync','YES','\x27,\x20\x27','}\x0a\x0a','\x20\x20\x20\x20','\x27,\x20RuleType.string())\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','_start?:\x20string;\x0a\x0a','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','constructor','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a',':\x20string;\x0a\x0a','9422dSQgen','?:\x20string;\x0a\x0a','float','\x20*\x20数据检索验证\x0a','toUpperCase','DTOSearch\x20extends\x20OmitDto(','\x20*\x20','substring','writeFileSync','@/apps/','string','export\x20class\x20','find','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','Field','mkdirSync','replace','%DtoColumn%','getEnum'];a10_0x2dbd=function(){return _0x51a11b;};return a10_0x2dbd();}async function default_1({controllers:_0x1f71de,tablestartUp:_0x4c27ab,tablestartUpShort:_0x1812ff,basedir:_0x7f365d,Primary:_0x219479,Fields:_0x4a7e2f,Comment:_0x2ac45b,moduleName:_0x495026,apporbasic:_0x553ac6}){const _0x33e713=a10_0xb11326,_0x10e788=_0x7f365d+(_0x33e713(0xd6)+_0x1812ff);!fs['existsSync'](_0x10e788)&&fs[_0x33e713(0x10e)](_0x10e788,{'recursive':!![]}),await DTOCreate({'controllers':_0x1f71de,'tablestartUp':_0x4c27ab,'tablestartUpShort':_0x1812ff,'basedir':_0x7f365d,'Fields':_0x4a7e2f,'Comment':_0x2ac45b,'moduleName':_0x495026,'apporbasic':_0x553ac6}),await DTOUpdate({'controllers':_0x1f71de,'tablestartUp':_0x4c27ab,'tablestartUpShort':_0x1812ff,'basedir':_0x7f365d,'Fields':_0x4a7e2f,'Comment':_0x2ac45b,'moduleName':_0x495026,'apporbasic':_0x553ac6}),await DTOSearch({'controllers':_0x1f71de,'tablestartUp':_0x4c27ab,'tablestartUpShort':_0x1812ff,'basedir':_0x7f365d,'Fields':_0x4a7e2f,'Primary':_0x219479,'Comment':_0x2ac45b,'moduleName':_0x495026,'apporbasic':_0x553ac6});}exports['default']=default_1;async function DTOCreate({controllers:_0x2ef43b,tablestartUp:_0x1b065d,tablestartUpShort:_0x572d87,basedir:_0x265219,Fields:_0x3e96b3,Comment:_0x3ec3e1,moduleName:_0x49c3da,apporbasic:_0x291e89}){const _0x488ed3=a10_0xb11326,_0xf82f6d=_0x265219+(_0x488ed3(0xd6)+_0x572d87+_0x488ed3(0xc6));if(!fs[_0x488ed3(0xf3)](_0xf82f6d)){let _0x4d53da='',_0x39568e='',_0x58da14=![];for(let _0x22d6ff in _0x3e96b3){let _0x5a5137=_0x3e96b3[_0x22d6ff],_0x316a38=(0x0,helper_1[_0x488ed3(0xdd)])(_0x5a5137[_0x488ed3(0xbc)]);if(_0x5a5137['Field']==_0x488ed3(0xf2)||_0x5a5137[_0x488ed3(0x10d)]==_0x488ed3(0x12b)||_0x5a5137[_0x488ed3(0x10d)]==_0x488ed3(0x114)||_0x5a5137['Field']==_0x488ed3(0xeb))continue;if([_0x488ed3(0x12d),'longtext',_0x488ed3(0xda)][_0x488ed3(0x115)](_0x316a38)!=-0x1)_0x4d53da+='\x20\x20\x20\x20@Rule(\x27'+_0x5a5137['Comment']+_0x488ed3(0xf8),_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137[_0x488ed3(0x10d)]+_0x488ed3(0x100);else{if([_0x488ed3(0x101),_0x488ed3(0xdc),_0x488ed3(0x12a),_0x488ed3(0xe6)][_0x488ed3(0x115)](_0x316a38)!=-0x1)_0x4d53da+=_0x488ed3(0x122)+_0x5a5137[_0x488ed3(0x126)]+_0x488ed3(0xcd)+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?_0x488ed3(0x12c):'')+')\x0a',_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137['Field']+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'?':'')+':\x20number;\x0a\x0a';else{if(['tinyint']['indexOf'](_0x316a38)!=-0x1)_0x58da14=!![],_0x4d53da+=_0x488ed3(0x122)+_0x5a5137[_0x488ed3(0x126)]+_0x488ed3(0x124)+_0x1b065d+'Enum,\x20\x27'+_0x5a5137['Field']+_0x488ed3(0xc0)+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?_0x488ed3(0x12c):'')+')\x0a',_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137[_0x488ed3(0x10d)]+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'?':'')+_0x488ed3(0xee);else{if(_0x316a38==_0x488ed3(0xe4))_0x4d53da+=_0x488ed3(0x122)+_0x5a5137['Comment']+_0x488ed3(0xe3),_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137[_0x488ed3(0x10d)]+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x316a38=='enum'){let _0x408cbd=(0x0,helper_1['getEnum'])(_0x5a5137['Type']);_0x4d53da+=_0x488ed3(0x122)+_0x5a5137[_0x488ed3(0x126)]+_0x488ed3(0xbd)+_0x408cbd[_0x488ed3(0xdf)](_0x488ed3(0xf5))+'\x27)'+(_0x5a5137[_0x488ed3(0xd9)]!='YES'?_0x488ed3(0x12c):'')+')\x0a',_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137[_0x488ed3(0x10d)]+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'?':'')+':\x20\x27'+_0x408cbd[_0x488ed3(0xdf)](_0x488ed3(0xec))+_0x488ed3(0xd2);}else[_0x488ed3(0xca),_0x488ed3(0x121),_0x488ed3(0xcb)][_0x488ed3(0x115)](_0x316a38)>-0x1?(_0x4d53da+='\x20\x20\x20\x20@Rule(\x27'+_0x5a5137[_0x488ed3(0x126)]+'\x27,\x20RuleType.date()'+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'.required()':'')+')\x0a',_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137[_0x488ed3(0x10d)]+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'?':'')+_0x488ed3(0xfe)):(_0x4d53da+=_0x488ed3(0x122)+_0x5a5137[_0x488ed3(0x126)]+_0x488ed3(0xbf)+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'.required()':'')+')\x0a',_0x4d53da+=_0x488ed3(0xf7)+_0x5a5137[_0x488ed3(0x10d)]+(_0x5a5137[_0x488ed3(0xd9)]!=_0x488ed3(0xf4)?'?':'')+_0x488ed3(0xfe));}}}}}_0x4d53da+=_0x488ed3(0xc7),_0x4d53da+=_0x488ed3(0x117);(_0x2ef43b===null||_0x2ef43b===void 0x0?void 0x0:_0x2ef43b[_0x488ed3(0x10b)](_0x5c82ee=>typeof _0x5c82ee!=_0x488ed3(0xc8)))?_0x39568e+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x39568e+=_0x488ed3(0xfb);_0x58da14&&(_0x39568e+='import\x20{\x20'+_0x1b065d+_0x488ed3(0xd4)+(typeof _0x49c3da==_0x488ed3(0x109)?_0x488ed3(0x108)+_0x49c3da:'@/'+_0x291e89)+_0x488ed3(0xc1)+_0x572d87+_0x488ed3(0xd5));_0x39568e+='\x0a',_0x39568e+='/**\x0a',_0x39568e+='\x20*\x20'+_0x3ec3e1+'\x0a',_0x39568e+=_0x488ed3(0xdb),_0x39568e+='\x20*\x20**/\x0a',_0x39568e+=_0x488ed3(0x10a)+_0x1b065d+'DTOCreate\x20{\x0a\x0a',_0x39568e+='%DtoColumn%',_0x39568e+=_0x488ed3(0xf6);for(const _0x23a588 of _0x2ef43b){typeof _0x23a588==_0x488ed3(0x109)&&(_0x39568e+=_0x488ed3(0x10a)+_0x23a588['substring'](0x0,0x1)[_0x488ed3(0x103)]()+_0x23a588[_0x488ed3(0x106)](0x1)[_0x488ed3(0xcc)]()+_0x1b065d+_0x488ed3(0xc2)+_0x1b065d+'DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x39568e+=_0x488ed3(0xf6));}_0x39568e=_0x39568e['replace'](_0x488ed3(0x110),_0x4d53da),fs['writeFileSync'](_0xf82f6d,_0x39568e,_0x488ed3(0x113));}}async function DTOUpdate({controllers:_0x5a8eca,tablestartUp:_0x1311c5,tablestartUpShort:_0x4bd648,basedir:_0x4445ad,Fields:_0x597932,Comment:_0x5c9a25,moduleName:_0x286dc6,apporbasic:_0x33e99c}){const _0x2ffa02=a10_0xb11326,_0x6a2a09=_0x4445ad+(_0x2ffa02(0xd6)+_0x4bd648+_0x2ffa02(0xef));if(!fs['existsSync'](_0x6a2a09)){let _0x5e6678='',_0x29f968='',_0x4667da=![];for(let _0x5a20f3 in _0x597932){let _0x440d18=_0x597932[_0x5a20f3],_0x5efa5b=(0x0,helper_1[_0x2ffa02(0xdd)])(_0x440d18[_0x2ffa02(0xbc)]);if(_0x440d18[_0x2ffa02(0x10d)]==_0x2ffa02(0xf2)||_0x440d18[_0x2ffa02(0x10d)]==_0x2ffa02(0x12b)||_0x440d18[_0x2ffa02(0x10d)]==_0x2ffa02(0x114)||_0x440d18['Field']==_0x2ffa02(0xeb))continue;if([_0x2ffa02(0x12d),'longtext',_0x2ffa02(0xda)][_0x2ffa02(0x115)](_0x5efa5b)!=-0x1)_0x5e6678+=_0x2ffa02(0x122)+_0x440d18[_0x2ffa02(0x126)]+'\x27,\x20RuleType.string())\x0a',_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18[_0x2ffa02(0x10d)]+_0x2ffa02(0x100);else{if([_0x2ffa02(0x101),_0x2ffa02(0xdc),'decimal',_0x2ffa02(0xe6)]['indexOf'](_0x5efa5b)!=-0x1)_0x5e6678+=_0x2ffa02(0x122)+_0x440d18['Comment']+_0x2ffa02(0x11f),_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18[_0x2ffa02(0x10d)]+_0x2ffa02(0x127);else{if([_0x2ffa02(0xd8)][_0x2ffa02(0x115)](_0x5efa5b)!=-0x1)_0x4667da=!![],_0x5e6678+=_0x2ffa02(0x122)+_0x440d18[_0x2ffa02(0x126)]+_0x2ffa02(0x124)+_0x1311c5+_0x2ffa02(0x125)+_0x440d18['Field']+_0x2ffa02(0x12f),_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18['Field']+'?:\x20number;\x0a\x0a';else{if(_0x5efa5b==_0x2ffa02(0xe4))_0x5e6678+=_0x2ffa02(0x122)+_0x440d18[_0x2ffa02(0x126)]+'\x27,\x20RuleType.any())\x0a',_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18[_0x2ffa02(0x10d)]+_0x2ffa02(0x11e);else{if(_0x5efa5b==_0x2ffa02(0x12e)){let _0x31c431=(0x0,helper_1[_0x2ffa02(0x111)])(_0x440d18[_0x2ffa02(0xbc)]);_0x5e6678+=_0x2ffa02(0x122)+_0x440d18[_0x2ffa02(0x126)]+'\x27,\x20RuleType.string().valid(\x27'+_0x31c431[_0x2ffa02(0xdf)](_0x2ffa02(0xf5))+'\x27))\x0a',_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18['Field']+_0x2ffa02(0x129)+_0x31c431['join']('\x27\x20|\x20\x27')+_0x2ffa02(0xd2);}else[_0x2ffa02(0xca),'datetime',_0x2ffa02(0xcb)][_0x2ffa02(0x115)](_0x5efa5b)>-0x1?(_0x5e6678+='\x20\x20\x20\x20@Rule(\x27'+_0x440d18[_0x2ffa02(0x126)]+_0x2ffa02(0xe0),_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18[_0x2ffa02(0x10d)]+_0x2ffa02(0x100)):(_0x5e6678+=_0x2ffa02(0x122)+_0x440d18[_0x2ffa02(0x126)]+_0x2ffa02(0xf8),_0x5e6678+=_0x2ffa02(0xf7)+_0x440d18[_0x2ffa02(0x10d)]+'?:\x20string;\x0a\x0a');}}}}}_0x5e6678+=_0x2ffa02(0xc7),_0x5e6678+=_0x2ffa02(0x117);(_0x5a8eca===null||_0x5a8eca===void 0x0?void 0x0:_0x5a8eca['find'](_0x1d0c49=>typeof _0x1d0c49!='boolean'))?_0x29f968+=_0x2ffa02(0xe1):_0x29f968+=_0x2ffa02(0xfb);_0x4667da&&(_0x29f968+='import\x20{\x20'+_0x1311c5+_0x2ffa02(0xd4)+(typeof _0x286dc6=='string'?_0x2ffa02(0x108)+_0x286dc6:'@/'+_0x33e99c)+_0x2ffa02(0xc1)+_0x4bd648+_0x2ffa02(0xd5));_0x29f968+='\x0a',_0x29f968+=_0x2ffa02(0xbe),_0x29f968+='\x20*\x20'+_0x5c9a25+'\x0a',_0x29f968+='\x20*\x20数据更新验证\x0a',_0x29f968+=_0x2ffa02(0x120),_0x29f968+=_0x2ffa02(0x10a)+_0x1311c5+'DTOUpdate\x20{\x0a\x0a',_0x29f968+='%DtoColumn%',_0x29f968+='}\x0a\x0a';for(const _0x1aa0fc of _0x5a8eca){typeof _0x1aa0fc==_0x2ffa02(0x109)&&(_0x29f968+=_0x2ffa02(0x10a)+_0x1aa0fc['substring'](0x0,0x1)[_0x2ffa02(0x103)]()+_0x1aa0fc[_0x2ffa02(0x106)](0x1)['toLowerCase']()+_0x1311c5+_0x2ffa02(0xe2)+_0x1311c5+'DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x29f968+=_0x2ffa02(0xf6));}_0x29f968=_0x29f968[_0x2ffa02(0x10f)]('%DtoColumn%',_0x5e6678),fs[_0x2ffa02(0x107)](_0x6a2a09,_0x29f968,_0x2ffa02(0x113));}}async function DTOSearch({controllers:_0x23a7cf,tablestartUp:_0x1f9a83,tablestartUpShort:_0x123781,basedir:_0xf9758a,Fields:_0x2d1976,Primary:_0x526b7a,Comment:_0x538229,moduleName:_0x3d6752,apporbasic:_0x19b864}){const _0x1c94bb=a10_0xb11326,_0x41d6f6=_0xf9758a+('/validators/'+_0x123781+_0x1c94bb(0xd3));if(!fs[_0x1c94bb(0xf3)](_0x41d6f6)){let _0x5277af='',_0x704cbb='',_0x2ce0f5=![];for(let _0x1d1b04 of[{[_0x526b7a['Field']]:_0x526b7a},_0x2d1976]){for(let _0x15401c in _0x1d1b04){let _0x48b084=_0x1d1b04[_0x15401c],_0x13339b=(0x0,helper_1[_0x1c94bb(0xdd)])(_0x48b084[_0x1c94bb(0xbc)]);if(_0x48b084[_0x1c94bb(0x10d)]==_0x1c94bb(0xf2)||_0x48b084[_0x1c94bb(0x10d)]==_0x1c94bb(0x12b)||_0x48b084[_0x1c94bb(0x10d)]=='updated_at'||_0x48b084[_0x1c94bb(0x10d)]=='deleted_at')continue;if([_0x1c94bb(0x12d),_0x1c94bb(0xc5),'mediumtext']['indexOf'](_0x13339b)!=-0x1){}else{if(['float',_0x1c94bb(0xdc),_0x1c94bb(0x12a),_0x1c94bb(0xe6)][_0x1c94bb(0x115)](_0x13339b)!=-0x1)_0x5277af+=_0x1c94bb(0x122)+_0x48b084['Comment']+_0x1c94bb(0x11f),_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0x127);else{if([_0x1c94bb(0xd8)][_0x1c94bb(0x115)](_0x13339b)!=-0x1)_0x2ce0f5=!![],_0x5277af+=_0x1c94bb(0x122)+_0x48b084[_0x1c94bb(0x126)]+_0x1c94bb(0x124)+_0x1f9a83+_0x1c94bb(0x125)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0x12f),_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0x127);else{if(_0x13339b==_0x1c94bb(0xe4)){}else{if(_0x13339b==_0x1c94bb(0x12e)){let _0x2afb69=(0x0,helper_1[_0x1c94bb(0x111)])(_0x48b084['Type']);_0x5277af+=_0x1c94bb(0x122)+_0x48b084[_0x1c94bb(0x126)]+_0x1c94bb(0xbd)+_0x2afb69[_0x1c94bb(0xdf)](_0x1c94bb(0xf5))+'\x27))\x0a',_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0x129)+_0x2afb69[_0x1c94bb(0xdf)](_0x1c94bb(0xec))+'\x27;\x0a\x0a';}else[_0x1c94bb(0xca),_0x1c94bb(0x121),'timestamp']['indexOf'](_0x13339b)>-0x1?(_0x5277af+=_0x1c94bb(0x122)+_0x48b084[_0x1c94bb(0x126)]+'\x27,\x20RuleType.string())\x0a',_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0x100),_0x5277af+='\x20\x20\x20\x20@Rule(\x27'+_0x48b084[_0x1c94bb(0x126)]+_0x1c94bb(0xcf),_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0xce),_0x5277af+='\x20\x20\x20\x20@Rule(\x27'+_0x48b084['Comment']+'\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+_0x1c94bb(0xfa),_0x5277af+='\x20\x20\x20\x20@Rule(\x27'+_0x48b084[_0x1c94bb(0x126)]+_0x1c94bb(0x11a),_0x5277af+=_0x1c94bb(0xf7)+_0x48b084[_0x1c94bb(0x10d)]+'_end?:\x20string;\x0a\x0a'):(_0x5277af+=_0x1c94bb(0x122)+_0x48b084['Comment']+_0x1c94bb(0xf8),_0x5277af+=_0x1c94bb(0xf7)+_0x48b084['Field']+_0x1c94bb(0x100));}}}}}}_0x5277af+='\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a',_0x5277af+=_0x1c94bb(0x117),_0x5277af+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x5277af+='\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a',_0x5277af+=_0x1c94bb(0xea),_0x5277af+=_0x1c94bb(0x119),_0x5277af+=_0x1c94bb(0xf9),_0x5277af+=_0x1c94bb(0xd0),_0x5277af+=_0x1c94bb(0x118),_0x5277af+='\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a',_0x5277af+=_0x1c94bb(0xc9),_0x5277af+=_0x1c94bb(0x10c),_0x5277af+=_0x1c94bb(0xc4),_0x5277af+=_0x1c94bb(0xfd);(_0x23a7cf===null||_0x23a7cf===void 0x0?void 0x0:_0x23a7cf[_0x1c94bb(0x10b)](_0x1671bc=>typeof _0x1671bc!=_0x1c94bb(0xc8)))?_0x704cbb+=_0x1c94bb(0xe1):_0x704cbb+=_0x1c94bb(0xfb);_0x2ce0f5&&(_0x704cbb+=_0x1c94bb(0xbb)+_0x1f9a83+'Enum\x20}\x20from\x20\x27'+(typeof _0x3d6752==_0x1c94bb(0x109)?'@/apps/'+_0x3d6752:'@/'+_0x19b864)+_0x1c94bb(0xc1)+_0x123781+_0x1c94bb(0xd5));_0x704cbb+='\x0a',_0x704cbb+=_0x1c94bb(0xbe),_0x704cbb+=_0x1c94bb(0x105)+_0x538229+'\x0a',_0x704cbb+=_0x1c94bb(0x102),_0x704cbb+=_0x1c94bb(0x120),_0x704cbb+=_0x1c94bb(0x10a)+_0x1f9a83+'DTOSearch\x20{\x0a\x0a',_0x704cbb+='%SearchDtoColumn%',_0x704cbb+=_0x1c94bb(0xf6);for(const _0x130566 of _0x23a7cf){typeof _0x130566==_0x1c94bb(0x109)&&(_0x704cbb+='export\x20class\x20'+_0x130566[_0x1c94bb(0x106)](0x0,0x1)[_0x1c94bb(0x103)]()+_0x130566['substring'](0x1)[_0x1c94bb(0xcc)]()+_0x1f9a83+_0x1c94bb(0x104)+_0x1f9a83+_0x1c94bb(0x116),_0x704cbb+=_0x1c94bb(0xf6));}_0x704cbb=_0x704cbb[_0x1c94bb(0x10f)]('%SearchDtoColumn%',_0x5277af),fs[_0x1c94bb(0x107)](_0x41d6f6,_0x704cbb,_0x1c94bb(0x113));}}
@@ -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
+ function a11_0x3aad(_0x37ddee,_0x536e05){const _0x569217=a11_0x2bed();return a11_0x3aad=function(_0x2dfb32,_0x21131b){_0x2dfb32=_0x2dfb32-0x1de;let _0x2bed8e=_0x569217[_0x2dfb32];return _0x2bed8e;},a11_0x3aad(_0x37ddee,_0x536e05);}function a11_0x2bed(){const _0x402af5=['utf-8','@编辑\x27,\x0a','1984276vLkQhg','/remove','search','/pages/','\x20\x20\x20\x20},\x0a','\x20=\x20{\x0a','/edit/:','@详情\x27,\x0a','/apis/','6012128Hcboiz','Field','defineProperty','cwd','export\x20const\x20','\x20\x20\x20\x20add:{\x0a','.js','existsSync','\x20\x20\x20\x20detail:{\x0a','1pyCZeL','9143400oEKznl','(((.+)+)+)+$','3671850xXScnP','3879gDxvLD','\x20\x20\x20\x20edit:{\x0a','default','@列表\x27,\x0a','apply','/pages/apps/','constructor','toString','5575591ZsYfbA','\x20\x20\x20\x20remove:{\x0a','@添加\x27,\x0a','string','/detail/:','/vue','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','dirname','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','43910qAyJGz','@删除\x27,\x0a','977391fyuorE','/add','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','//\x20','4hrmxdq'];a11_0x2bed=function(){return _0x402af5;};return a11_0x2bed();}const a11_0x27b1e0=a11_0x3aad;(function(_0x3a98d2,_0x22fee1){const _0x742d37=a11_0x3aad,_0x936681=_0x3a98d2();while(!![]){try{const _0x38878e=-parseInt(_0x742d37(0x1df))/0x1*(-parseInt(_0x742d37(0x1ff))/0x2)+-parseInt(_0x742d37(0x1f8))/0x3*(parseInt(_0x742d37(0x1fc))/0x4)+parseInt(_0x742d37(0x1e2))/0x5+parseInt(_0x742d37(0x1e0))/0x6+-parseInt(_0x742d37(0x1eb))/0x7+parseInt(_0x742d37(0x208))/0x8+parseInt(_0x742d37(0x1e3))/0x9*(-parseInt(_0x742d37(0x1f6))/0xa);if(_0x38878e===_0x22fee1)break;else _0x936681['push'](_0x936681['shift']());}catch(_0x56ee7f){_0x936681['push'](_0x936681['shift']());}}}(a11_0x2bed,0xf0fd5));const a11_0x21131b=(function(){let _0x5c7e29=!![];return function(_0x378eb2,_0x1e0cc3){const _0x575513=_0x5c7e29?function(){const _0x56be5a=a11_0x3aad;if(_0x1e0cc3){const _0x202ae5=_0x1e0cc3[_0x56be5a(0x1e7)](_0x378eb2,arguments);return _0x1e0cc3=null,_0x202ae5;}}:function(){};return _0x5c7e29=![],_0x575513;};}()),a11_0x2dfb32=a11_0x21131b(this,function(){const _0x44900d=a11_0x3aad;return a11_0x2dfb32[_0x44900d(0x1ea)]()[_0x44900d(0x201)](_0x44900d(0x1e1))['toString']()[_0x44900d(0x1e9)](a11_0x2dfb32)['search']('(((.+)+)+)+$');});a11_0x2dfb32();'use strict';Object[a11_0x27b1e0(0x20a)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort:_0x33551e,tablestartUpShort2:_0x39f87f,moduleName:_0x7db873,controller:_0x114184,Comment:_0x5d3958,apporbasic:_0x7154a6,Primary:_0x4428ab}){const _0x4915a0=a11_0x27b1e0;let _0x4bfa0e=process[_0x4915a0(0x20b)]()+_0x4915a0(0x1f0)+(typeof _0x114184==_0x4915a0(0x1ee)?'/'+_0x114184:'');_0x7db873?_0x4bfa0e=_0x4bfa0e+(_0x4915a0(0x1e8)+_0x7db873+_0x4915a0(0x207)+_0x33551e+_0x4915a0(0x20e)):_0x4bfa0e=_0x4bfa0e+(_0x4915a0(0x202)+_0x7154a6+_0x4915a0(0x207)+_0x33551e+_0x4915a0(0x20e));if(!fs[_0x4915a0(0x20f)](_0x4bfa0e)){const _0x17a456=''+(typeof _0x114184==_0x4915a0(0x1ee)?_0x114184+'/':'')+(_0x7db873?_0x7db873+'/':'')+_0x39f87f+_0x4915a0(0x1f9),_0x42ae51=''+(typeof _0x114184=='string'?_0x114184+'/':'')+(_0x7db873?_0x7db873+'/':'')+_0x39f87f+'/list',_0x28cf92=''+(typeof _0x114184==_0x4915a0(0x1ee)?_0x114184+'/':'')+(_0x7db873?_0x7db873+'/':'')+_0x39f87f+_0x4915a0(0x205)+_0x4428ab[_0x4915a0(0x209)],_0x4f08c7=''+(typeof _0x114184==_0x4915a0(0x1ee)?_0x114184+'/':'')+(_0x7db873?_0x7db873+'/':'')+_0x39f87f+_0x4915a0(0x1ef)+_0x4428ab[_0x4915a0(0x209)],_0x51c597=''+(typeof _0x114184==_0x4915a0(0x1ee)?_0x114184+'/':'')+(_0x7db873?_0x7db873+'/':'')+_0x39f87f+_0x4915a0(0x200);let _0x187c3f='\x0a\x0a';_0x187c3f+=_0x4915a0(0x1fb)+_0x5d3958+'\x0a',_0x187c3f+=_0x4915a0(0x20c)+_0x33551e+_0x4915a0(0x204),_0x187c3f+=_0x4915a0(0x20d),_0x187c3f+=_0x4915a0(0x1f1),_0x187c3f+=_0x4915a0(0x1fa)+_0x5d3958+_0x4915a0(0x1ed),_0x187c3f+=_0x4915a0(0x1f5)+_0x17a456+'\x27\x0a',_0x187c3f+=_0x4915a0(0x203),_0x187c3f+=_0x4915a0(0x1e4),_0x187c3f+=_0x4915a0(0x1f1),_0x187c3f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5d3958+_0x4915a0(0x1fe),_0x187c3f+=_0x4915a0(0x1f5)+_0x28cf92+'\x27\x0a',_0x187c3f+=_0x4915a0(0x203),_0x187c3f+='\x20\x20\x20\x20list:{\x0a',_0x187c3f+=_0x4915a0(0x1f3),_0x187c3f+=_0x4915a0(0x1fa)+_0x5d3958+_0x4915a0(0x1e6),_0x187c3f+=_0x4915a0(0x1f5)+_0x42ae51+'\x27\x0a',_0x187c3f+=_0x4915a0(0x203),_0x187c3f+=_0x4915a0(0x1de),_0x187c3f+=_0x4915a0(0x1f3),_0x187c3f+=_0x4915a0(0x1fa)+_0x5d3958+_0x4915a0(0x206),_0x187c3f+=_0x4915a0(0x1f5)+_0x4f08c7+'\x27\x0a',_0x187c3f+=_0x4915a0(0x203),_0x187c3f+=_0x4915a0(0x1ec),_0x187c3f+=_0x4915a0(0x1f1),_0x187c3f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5d3958+_0x4915a0(0x1f7),_0x187c3f+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x51c597+'\x27\x0a',_0x187c3f+=_0x4915a0(0x1f4),_0x187c3f+='}\x0a',fs['mkdirSync']((0x0,path_1[_0x4915a0(0x1f2)])(_0x4bfa0e),{'recursive':!![]}),fs['writeFileSync'](_0x4bfa0e,_0x187c3f,_0x4915a0(0x1fd));}}exports[a11_0x27b1e0(0x1e5)]=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
+ const a12_0x35caad=a12_0xcf8f;function a12_0xcf8f(_0x4304a9,_0x3d2dd7){const _0x2e74f9=a12_0x1e28();return a12_0xcf8f=function(_0x41199b,_0x374c7c){_0x41199b=_0x41199b-0x19f;let _0x1e2868=_0x2e74f9[_0x41199b];return _0x1e2868;},a12_0xcf8f(_0x4304a9,_0x3d2dd7);}(function(_0x372449,_0xcf3a9b){const _0x1539e2=a12_0xcf8f,_0xad3114=_0x372449();while(!![]){try{const _0x43c6c9=parseInt(_0x1539e2(0x1b5))/0x1+parseInt(_0x1539e2(0x1a5))/0x2+-parseInt(_0x1539e2(0x1bd))/0x3+parseInt(_0x1539e2(0x1b8))/0x4*(parseInt(_0x1539e2(0x1b7))/0x5)+-parseInt(_0x1539e2(0x1b4))/0x6*(parseInt(_0x1539e2(0x1c4))/0x7)+-parseInt(_0x1539e2(0x1b2))/0x8*(parseInt(_0x1539e2(0x1af))/0x9)+-parseInt(_0x1539e2(0x1be))/0xa;if(_0x43c6c9===_0xcf3a9b)break;else _0xad3114['push'](_0xad3114['shift']());}catch(_0x57acc5){_0xad3114['push'](_0xad3114['shift']());}}}(a12_0x1e28,0x97fa4));const a12_0x374c7c=(function(){let _0x36dd45=!![];return function(_0x2ca60e,_0x25094c){const _0x448793=_0x36dd45?function(){const _0x2e7031=a12_0xcf8f;if(_0x25094c){const _0x330aa1=_0x25094c[_0x2e7031(0x1a2)](_0x2ca60e,arguments);return _0x25094c=null,_0x330aa1;}}:function(){};return _0x36dd45=![],_0x448793;};}()),a12_0x41199b=a12_0x374c7c(this,function(){const _0x4a216f=a12_0xcf8f;return a12_0x41199b[_0x4a216f(0x1a7)]()[_0x4a216f(0x1ab)]('(((.+)+)+)+$')['toString']()[_0x4a216f(0x1c8)](a12_0x41199b)[_0x4a216f(0x1ab)](_0x4a216f(0x1c5));});a12_0x41199b();function a12_0x1e28(){const _0x3f1abf=['constructor','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','existsSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','\x20\x20\x20\x20</page-layout>\x0a','apply','/layout.vue','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','1191054EOrlRg','mkdirSync','toString','defineProperty','/pages/apps/','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','search','cwd','writeFileSync','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','27vLRoKX','readFileSync','__esModule','794216UKGaOJ','string','12bHlaOA','587520mINAFk','\x20\x20\x20\x20},\x0a','79295rsZckT','300WuIWaD','/pages/','{title:\x20\x22','\x20\x20\x20\x20data()\x20{\x0a','<template>\x0a','605220rxbQlG','3747630Dqmojw','path','padEnd','utf-8','<script>\x0a','export\x20default\x20{\x0a','3064733TUyXjo','(((.+)+)+)+$','/vue','replace'];a12_0x1e28=function(){return _0x3f1abf;};return a12_0x1e28();}'use strict';Object[a12_0x35caad(0x1a8)](exports,a12_0x35caad(0x1b1),{'value':!![]});const fs=require('fs'),path_1=require(a12_0x35caad(0x1bf));async function default_1({tablestartUpShort2:_0x23818f,controller:_0x15eb23,moduleName:_0x1708e,Comment:_0x23a4c6,apporbasic:_0x1bcadb}){const _0x2430df=a12_0x35caad;let _0x553045=process[_0x2430df(0x1ac)]()+_0x2430df(0x1c6)+(typeof _0x15eb23=='string'?'/'+_0x15eb23:'');_0x1708e?_0x553045=_0x553045+(_0x2430df(0x1a9)+_0x1708e+_0x2430df(0x1a3)):_0x553045=_0x553045+(_0x2430df(0x1b9)+_0x1bcadb+_0x2430df(0x1a3));await createLayout(_0x553045);const _0x462bb5=fs[_0x2430df(0x1b0)](_0x553045,'utf-8');fs['writeFileSync'](_0x553045,_0x462bb5[_0x2430df(0x1c7)]('//\x20add\x20menu\x20here',_0x2430df(0x1ba)+(_0x23a4c6+'\x22')['padEnd'](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x1708e==_0x2430df(0x1b3)?'/apps-'+_0x1708e+'/':'/'+_0x1bcadb+'/')+_0x23818f+'\x22')[_0x2430df(0x1c0)](0x14)+_0x2430df(0x1ae)));}exports['default']=default_1;async function createLayout(_0x2cdcdd){const _0x5b46f9=a12_0x35caad;if(!fs[_0x5b46f9(0x1ca)](_0x2cdcdd)){let _0x419ba5=_0x5b46f9(0x1bc);_0x419ba5+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a',_0x419ba5+=_0x5b46f9(0x1a1),_0x419ba5+='</template>\x0a\x0a',_0x419ba5+=_0x5b46f9(0x1c2),_0x419ba5+=_0x5b46f9(0x1c3),_0x419ba5+=_0x5b46f9(0x1bb),_0x419ba5+=_0x5b46f9(0x1aa),_0x419ba5+=_0x5b46f9(0x19f),_0x419ba5+=_0x5b46f9(0x1c9),_0x419ba5+=_0x5b46f9(0x1a0),_0x419ba5+=_0x5b46f9(0x1a4),_0x419ba5+=_0x5b46f9(0x1b6),_0x419ba5+='}\x0a',_0x419ba5+='</script>\x0a\x0a',fs[_0x5b46f9(0x1a6)]((0x0,path_1['dirname'])(_0x2cdcdd),{'recursive':!![]}),fs[_0x5b46f9(0x1ad)](_0x2cdcdd,_0x419ba5,_0x5b46f9(0x1c1));}}
@@ -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
+ function a13_0x1aef(){const _0x1a4dca=['/vue','\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','</el-form-item>','(item).then(res=>{\x0a','created_at','\x22\x20placeholder=\x22请选择','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','text','padEnd','_id','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a','longtext','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','<page-editor\x20v-model=\x22formdata.','\x22\x20class=\x22block\x22>','\x22\x20placeholder=\x22请输入或选择','_ids','<el-select\x20v-model=\x22formdata.','.remove({\x20','<el-form-item\x20label=\x22','\x20\x20\x20\x20data(){\x0a','3607965MhTIjY','\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','2eIbfIe','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','\x20\x20\x20\x20},\x0a','string','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','deleted_at','=${scope.row.','</template>',':\x20item.','</el-select>','getProp','utf-8','_start\x22\x20placeholder=\x22选择','\x20\x20\x20\x20mounted(){\x0a','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','\x22\x20value=\x22','\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>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','existsSync','thumb','Field','$appsApi.','enum','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x22\x20clearable/>','\x22\x20prop=\x22','substr','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','_end\x22\x20placeholder=\x22选择','4388688NOrPFf','\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','3890mJQbGT','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','AddRule,\x0a','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','apps/','<template>\x0a\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','num','<el-input\x20v-model=\x22formdata.','datetime','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','imgs','tags','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','<el-input\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','indexOf','\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','<img\x20:src=\x22scope.row.','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','<el-select-tags\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','search','displayorder','Type','2874657vjkpYl','timestamp','/pages/','apply','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','/add\x27\x0a','\x22\x20placeholder=\x22请输入','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','default','date','<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\x20\x20\x20\x20\x20','1952720vmPkYe','add','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x22\x20:limit=\x221\x22\x20/>','img','<script>\x0a','/template/','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','getEnum','mediumtext','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','/list/components/search.vue',')\x20{\x0a','2370904TEaLPn','\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','AddRule\x20}\x20from\x20\x27@','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20label=\x22','/pages/apps/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','constructor','<el-select-search\x20v-model=\x22formdata.','import\x20{\x20','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(',');\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x22\x20api=\x22','cwd','endsWith','/list/index.vue','<el-input-number\x20v-model=\x22formdata.','\x22\x20split=\x22-\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','.list(Object.assign({},\x20this.table.search,\x20sortable)).then(res=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.table.data\x20=\x20res.data\x20||\x20[],\x20this.table.search\x20=\x20{\x20...this.table.search,\x20...res.extra.pageinfo,\x20_count:\x20res.extra.pagetotal\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要删除的数据\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20handlerRemove(item){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20item.','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','writeFileSync','\x22\x20\x20placeholder=\x22请输入','__esModule','../helper','\x22\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20\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-table-column\x20prop=','\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-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','export\x20default\x20{\x0a','</a>','<el-date-picker\x20v-model=\x22search.','/index.vue','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','<template>\x0a','.hasPrem()\x22>\x0a','</el-popover>','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','updated_at','<el-date-picker\x20v-model=\x22formdata.','\x20}).then(res=>{\x0a','<=\x22>','15723hgiRYN','logo','</template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','7VGnLOv','EditRule,\x0a','1252057vylJst','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','path','dirname','apps-','thumbs','.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.','mkdirSync','\x22\x20placeholder=\x22选择','<el-option\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','Api.','/validators/','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','\x22\x20/>','toString','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','edit','</script>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','\x22\x20:limit=\x225\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','number','/edit\x27\x0a','Comment'];a13_0x1aef=function(){return _0x1a4dca;};return a13_0x1aef();}const a13_0x1b3942=a13_0x3a63;(function(_0x3eebe9,_0x1e134c){const _0x30e948=a13_0x3a63,_0x3e2674=_0x3eebe9();while(!![]){try{const _0x41389a=parseInt(_0x30e948(0x1c8))/0x1+-parseInt(_0x30e948(0x1fb))/0x2*(-parseInt(_0x30e948(0x178))/0x3)+-parseInt(_0x30e948(0x184))/0x4+-parseInt(_0x30e948(0x1f9))/0x5+parseInt(_0x30e948(0x21b))/0x6+-parseInt(_0x30e948(0x1c6))/0x7*(parseInt(_0x30e948(0x192))/0x8)+parseInt(_0x30e948(0x1c0))/0x9*(-parseInt(_0x30e948(0x220))/0xa);if(_0x41389a===_0x1e134c)break;else _0x3e2674['push'](_0x3e2674['shift']());}catch(_0x4b87e8){_0x3e2674['push'](_0x3e2674['shift']());}}}(a13_0x1aef,0xb8925));const a13_0x441aa5=(function(){let _0x2c5204=!![];return function(_0xa6dc18,_0x27b0ca){const _0x54c208=_0x2c5204?function(){const _0x499ffe=a13_0x3a63;if(_0x27b0ca){const _0x896c2d=_0x27b0ca[_0x499ffe(0x17b)](_0xa6dc18,arguments);return _0x27b0ca=null,_0x896c2d;}}:function(){};return _0x2c5204=![],_0x54c208;};}()),a13_0x26ab1d=a13_0x441aa5(this,function(){const _0x2f8b34=a13_0x3a63;return a13_0x26ab1d[_0x2f8b34(0x1d9)]()[_0x2f8b34(0x175)](_0x2f8b34(0x20d))[_0x2f8b34(0x1d9)]()[_0x2f8b34(0x19b)](a13_0x26ab1d)[_0x2f8b34(0x175)](_0x2f8b34(0x20d));});a13_0x26ab1d();'use strict';Object['defineProperty'](exports,a13_0x1b3942(0x1ac),{'value':!![]});const fs=require('fs'),path_1=require(a13_0x1b3942(0x1cc)),helper_1=require(a13_0x1b3942(0x1ad));async function default_1({moduleName:_0xe9809,controller:_0x426d18,tablestartUpShort:_0x58f72c,tablestartUpShort2:_0x2e33d2,Primary:_0x5417dc,Fields:_0x4da8ba,apporbasic:_0x51ce68,Comment:_0xca2e46}){const _0x280935=a13_0x1b3942;await createIndex({'moduleName':_0xe9809,'controller':_0x426d18,'tablestartUpShort':_0x58f72c,'tablestartUpShort2':_0x2e33d2,'Primary':_0x5417dc,'Fields':_0x4da8ba,'apporbasic':_0x51ce68}),await createSearch({'moduleName':_0xe9809,'controller':_0x426d18,'tablestartUpShort2':_0x2e33d2,'Primary':_0x5417dc,'Fields':_0x4da8ba,'apporbasic':_0x51ce68}),await createAddOrEdit({'moduleName':_0xe9809,'controller':_0x426d18,'tablestartUpShort':_0x58f72c,'tablestartUpShort2':_0x2e33d2,'Primary':_0x5417dc,'Fields':_0x4da8ba,'apporbasic':_0x51ce68,'Comment':_0xca2e46},_0x280935(0x185)),await createAddOrEdit({'moduleName':_0xe9809,'controller':_0x426d18,'tablestartUpShort':_0x58f72c,'tablestartUpShort2':_0x2e33d2,'Primary':_0x5417dc,'Fields':_0x4da8ba,'apporbasic':_0x51ce68,'Comment':_0xca2e46},'edit');}exports[a13_0x1b3942(0x180)]=default_1;function a13_0x3a63(_0x32f01c,_0x1c7d20){const _0x2a33d2=a13_0x1aef();return a13_0x3a63=function(_0x26ab1d,_0x441aa5){_0x26ab1d=_0x26ab1d-0x161;let _0x1aeff0=_0x2a33d2[_0x26ab1d];return _0x1aeff0;},a13_0x3a63(_0x32f01c,_0x1c7d20);}async function createIndex({moduleName:_0x762c1a,controller:_0x36b918,tablestartUpShort:_0x4ca257,tablestartUpShort2:_0xe521ba,Primary:_0x3c01b1,Fields:_0x3dc9f4,apporbasic:_0x158849}){const _0x3ef0a5=a13_0x1b3942;let _0x519374=process['cwd']()+_0x3ef0a5(0x1e4)+(typeof _0x36b918==_0x3ef0a5(0x1fe)?'/'+_0x36b918:'');_0x762c1a?_0x519374=_0x519374+(_0x3ef0a5(0x199)+_0x762c1a+'/template/'+_0xe521ba+_0x3ef0a5(0x1a4)):_0x519374=_0x519374+(_0x3ef0a5(0x17a)+_0x158849+'/template/'+_0xe521ba+'/list/index.vue');if(!fs[_0x3ef0a5(0x210)](_0x519374)){const _0x21cbdc=(typeof _0x762c1a=='string'?'$appsApi.'+_0x762c1a+'.':'$'+_0x158849+_0x3ef0a5(0x1d5))+(''+_0x4ca257);let _0xd850ab=_0x3ef0a5(0x1b0)+('\x22'+_0x3c01b1['Field']+'\x22')[_0x3ef0a5(0x1ec)](0x14)+('\x20label=\x22'+(_0x3c01b1[_0x3ef0a5(0x1e3)]||'编号')+_0x3ef0a5(0x209));for(let _0xaaf94a in _0x3dc9f4){const _0x1044e4=_0x3dc9f4[_0xaaf94a];if([_0x3ef0a5(0x1e8),_0x3ef0a5(0x1bc),_0x3ef0a5(0x200),_0x3ef0a5(0x176)][_0x3ef0a5(0x16e)](_0xaaf94a)!=-0x1)continue;if(_0xaaf94a[_0x3ef0a5(0x218)](-0x3)=='img'||_0xaaf94a[_0x3ef0a5(0x218)](-0x5)==_0x3ef0a5(0x211)||_0xaaf94a==_0x3ef0a5(0x211)||_0xaaf94a[_0x3ef0a5(0x218)](-0x4)==_0x3ef0a5(0x1c1)||_0xaaf94a==_0x3ef0a5(0x1c1))_0xd850ab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3ef0a5(0x1b0)+('\x22'+_0xaaf94a+'\x22')[_0x3ef0a5(0x1ec)](0x14)+('\x20label=\x22'+(_0x1044e4[_0x3ef0a5(0x1e3)]||_0x1044e4['Field'])+_0x3ef0a5(0x18c)),_0xd850ab+='\x0a'+_0x3ef0a5(0x183)+'<template\x20#default=\x22scope\x22>',_0xd850ab+='\x0a'+_0x3ef0a5(0x1b1)+_0x3ef0a5(0x18f),_0xd850ab+='\x0a'+_0x3ef0a5(0x1dd)+('<a\x20:href=\x22scope.row.'+_0xaaf94a+'\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>'),_0xd850ab+='\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'+(_0x3ef0a5(0x170)+_0xaaf94a+_0x3ef0a5(0x186)),_0xd850ab+='\x0a'+_0x3ef0a5(0x1dd)+_0x3ef0a5(0x1b4),_0xd850ab+='\x0a'+_0x3ef0a5(0x1dd)+'<template\x20#reference>',_0xd850ab+='\x0a'+_0x3ef0a5(0x1af)+('<img\x20:src=\x22scope.row.'+_0xaaf94a+_0x3ef0a5(0x161)),_0xd850ab+='\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>',_0xd850ab+='\x0a'+_0x3ef0a5(0x1b1)+_0x3ef0a5(0x1ba),_0xd850ab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3ef0a5(0x202),_0xd850ab+='\x0a'+_0x3ef0a5(0x21d)+'</el-table-column>';else[_0x3ef0a5(0x1eb),_0x3ef0a5(0x1ef)][_0x3ef0a5(0x16e)]((0x0,helper_1[_0x3ef0a5(0x205)])(_0x1044e4[_0x3ef0a5(0x177)]))==-0x1&&(_0xd850ab+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3ef0a5(0x1b0)+('\x22'+_0xaaf94a+'\x22')['padEnd'](0x14)+(_0x3ef0a5(0x198)+(_0x1044e4[_0x3ef0a5(0x1e3)]||_0x1044e4[_0x3ef0a5(0x212)])+_0x3ef0a5(0x1a0)));}fs[_0x3ef0a5(0x1d1)]((0x0,path_1['dirname'])(_0x519374),{'recursive':!![]}),fs[_0x3ef0a5(0x1aa)](_0x519374,_0x3ef0a5(0x182)+_0x21cbdc+_0x3ef0a5(0x1c9)+(_0x762c1a?_0x3ef0a5(0x1ce)+_0x762c1a+'/':_0x158849+'/')+_0xe521ba+_0x3ef0a5(0x197)+_0xd850ab+_0x3ef0a5(0x1fa)+_0x21cbdc+_0x3ef0a5(0x1c5)+(_0x762c1a?_0x3ef0a5(0x1ce)+_0x762c1a+'/':_0x158849+'/')+_0xe521ba+'/edit?'+_0x3c01b1[_0x3ef0a5(0x212)]+_0x3ef0a5(0x201)+_0x3c01b1[_0x3ef0a5(0x212)]+'}`)\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'+_0x21cbdc+_0x3ef0a5(0x1d0)+_0x21cbdc+_0x3ef0a5(0x1a8)+_0x3c01b1[_0x3ef0a5(0x212)]+'\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.'+_0x21cbdc+_0x3ef0a5(0x1f6)+_0x3c01b1[_0x3ef0a5(0x212)]+_0x3ef0a5(0x203)+_0x3c01b1[_0x3ef0a5(0x212)]+'\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>',_0x3ef0a5(0x206));}}async function createSearch({moduleName:_0x481dfe,tablestartUpShort2:_0x12947c,controller:_0x2d40ad,Primary:_0x2f425c,Fields:_0x196f7f,apporbasic:_0x33d08c}){const _0x316303=a13_0x1b3942;let _0xf88126=process[_0x316303(0x1a2)]()+_0x316303(0x1e4)+(typeof _0x2d40ad==_0x316303(0x1fe)?'/'+_0x2d40ad:'');_0x481dfe?_0xf88126=_0xf88126+(_0x316303(0x199)+_0x481dfe+_0x316303(0x18a)+_0x12947c+'/list/components/search.vue'):_0xf88126=_0xf88126+(_0x316303(0x17a)+_0x33d08c+_0x316303(0x18a)+_0x12947c+_0x316303(0x190));if(!fs['existsSync'](_0xf88126)){let _0x35933d='';_0x35933d+='\x0a'+'\x20\x20\x20\x20'+(_0x316303(0x1f7)+(_0x2f425c[_0x316303(0x1e3)]||'编号')+'\x22>'),_0x35933d+='\x0a'+_0x316303(0x193)+(_0x316303(0x16c)+_0x2f425c['Field']+_0x316303(0x17e)+(_0x2f425c[_0x316303(0x1e3)]||'编号')+_0x316303(0x216)),_0x35933d+='\x0a'+_0x316303(0x21c)+_0x316303(0x1e6);for(let _0x59889a in _0x196f7f){const _0x5e263a=_0x196f7f[_0x59889a];if([_0x316303(0x1bc),_0x316303(0x200),'displayorder'][_0x316303(0x16e)](_0x59889a)!=-0x1)continue;if(_0x59889a[_0x316303(0x218)](-0x3)==_0x316303(0x165))_0x35933d+='\x0a'+_0x316303(0x21c)+(_0x316303(0x1f7)+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a['Field'])+'\x22>'),_0x35933d+='\x0a'+_0x316303(0x193)+('<el-input-number\x20v-model=\x22search.'+_0x59889a+_0x316303(0x17e)+_0x5e263a[_0x316303(0x1e3)]+_0x316303(0x194)),_0x35933d+='\x0a'+_0x316303(0x21c)+_0x316303(0x1e6)+'\x0a';else{if(_0x59889a[_0x316303(0x1a3)](_0x316303(0x1ed))){let _0xf44dcf=''+(typeof _0x2d40ad=='string'?_0x2d40ad+'/':'')+(_0x481dfe?_0x481dfe+'/':'')+_0x12947c;_0x35933d+='\x0a'+_0x316303(0x193)+(_0x316303(0x1f7)+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a[_0x316303(0x212)])+'\x22>'),_0x35933d+='\x0a'+_0x316303(0x1ff)+('<el-select-search\x20v-model=\x22search.'+_0x59889a+_0x316303(0x1a1)+_0xf44dcf+_0x316303(0x21e)),_0x35933d+='\x0a'+_0x316303(0x193)+_0x316303(0x1e6)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x5e263a[_0x316303(0x177)])){case _0x316303(0x214):_0x35933d+='\x0a'+_0x316303(0x21c)+('<el-form-item\x20label=\x22'+(_0x5e263a['Comment']||_0x5e263a[_0x316303(0x212)])+'\x22>'),_0x35933d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select\x20v-model=\x22search.'+_0x59889a+'\x22\x20placeholder=\x22请选择'+_0x5e263a[_0x316303(0x1e3)]+_0x316303(0x1ae));for(let _0x2bc9b6 of(0x0,helper_1[_0x316303(0x18d)])(_0x5e263a['Type'])){_0x35933d+='\x0a'+_0x316303(0x1ff)+(_0x316303(0x1d3)+_0x2bc9b6+_0x316303(0x20b)+_0x2bc9b6+_0x316303(0x1d8));}_0x35933d+='\x0a'+_0x316303(0x193)+_0x316303(0x204),_0x35933d+='\x0a'+_0x316303(0x21c)+_0x316303(0x1e6)+'\x0a';break;case _0x316303(0x181):_0x35933d+='\x0a'+_0x316303(0x21c)+('<el-form-item\x20label=\x22'+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a[_0x316303(0x212)])+_0x316303(0x20e)),_0x35933d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x316303(0x1b5)+_0x59889a+_0x316303(0x207)+_0x5e263a[_0x316303(0x1e3)]+_0x316303(0x1bb)),_0x35933d+='\x0a'+_0x316303(0x21c)+_0x316303(0x1e6)+'\x0a',_0x35933d+='\x0a'+_0x316303(0x21c)+(_0x316303(0x1f7)+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a[_0x316303(0x212)])+_0x316303(0x1bf)),_0x35933d+='\x0a'+_0x316303(0x193)+(_0x316303(0x1b5)+_0x59889a+_0x316303(0x21a)+_0x5e263a[_0x316303(0x1e3)]+_0x316303(0x1cb)),_0x35933d+='\x0a'+'\x20\x20\x20\x20'+_0x316303(0x1e6)+'\x0a';break;case _0x316303(0x167):_0x35933d+='\x0a'+_0x316303(0x21c)+(_0x316303(0x1f7)+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a[_0x316303(0x212)])+_0x316303(0x20e)),_0x35933d+='\x0a'+_0x316303(0x193)+(_0x316303(0x1b5)+_0x59889a+_0x316303(0x207)+_0x5e263a[_0x316303(0x1e3)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x35933d+='\x0a'+_0x316303(0x21c)+'</el-form-item>'+'\x0a',_0x35933d+='\x0a'+_0x316303(0x21c)+('<el-form-item\x20label=\x22'+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a[_0x316303(0x212)])+_0x316303(0x1bf)),_0x35933d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x316303(0x1b5)+_0x59889a+'_end\x22\x20placeholder=\x22选择'+_0x5e263a['Comment']+_0x316303(0x16b)),_0x35933d+='\x0a'+'\x20\x20\x20\x20'+_0x316303(0x1e6)+'\x0a';break;case _0x316303(0x179):_0x35933d+='\x0a'+_0x316303(0x21c)+(_0x316303(0x1f7)+(_0x5e263a['Comment']||_0x5e263a['Field'])+_0x316303(0x20e)),_0x35933d+='\x0a'+_0x316303(0x193)+(_0x316303(0x1b5)+_0x59889a+_0x316303(0x207)+_0x5e263a[_0x316303(0x1e3)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x35933d+='\x0a'+_0x316303(0x21c)+_0x316303(0x1e6)+'\x0a',_0x35933d+='\x0a'+_0x316303(0x21c)+(_0x316303(0x1f7)+(_0x5e263a['Comment']||_0x5e263a[_0x316303(0x212)])+'<=\x22>'),_0x35933d+='\x0a'+_0x316303(0x193)+(_0x316303(0x1b5)+_0x59889a+_0x316303(0x21a)+_0x5e263a[_0x316303(0x1e3)]+_0x316303(0x16b)),_0x35933d+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case'string':_0x35933d+='\x0a'+_0x316303(0x21c)+(_0x316303(0x1f7)+(_0x5e263a[_0x316303(0x1e3)]||_0x5e263a[_0x316303(0x212)])+'\x22>'),_0x35933d+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x316303(0x16c)+_0x59889a+_0x316303(0x17e)+_0x5e263a[_0x316303(0x1e3)]+_0x316303(0x216)),_0x35933d+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';}}}fs[_0x316303(0x1d1)]((0x0,path_1[_0x316303(0x1cd)])(_0xf88126),{'recursive':!![]}),fs[_0x316303(0x1aa)](_0xf88126,_0x316303(0x163)+_0x35933d+'\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>',_0x316303(0x206));}}async function createAddOrEdit({moduleName:_0x2a1eef,controller:_0x543ffe,tablestartUpShort:_0x5bc61a,tablestartUpShort2:_0x5acbe2,Primary:_0x354f0a,Fields:_0x72f030,apporbasic:_0x14e829,Comment:_0x352be0},_0x1c11bb='add'){const _0x490f23=a13_0x1b3942;let _0x2f54f1=process[_0x490f23(0x1a2)]()+_0x490f23(0x1e4)+(typeof _0x543ffe==_0x490f23(0x1fe)?'/'+_0x543ffe:'');_0x2a1eef?_0x2f54f1=_0x2f54f1+('/pages/apps/'+_0x2a1eef+'/template/'+_0x5acbe2+'/'+_0x1c11bb+'/index.vue'):_0x2f54f1=_0x2f54f1+(_0x490f23(0x17a)+_0x14e829+_0x490f23(0x18a)+_0x5acbe2+'/'+_0x1c11bb+_0x490f23(0x1b6));if(!fs[_0x490f23(0x210)](_0x2f54f1)){const _0x3abf30=(typeof _0x2a1eef==_0x490f23(0x1fe)?_0x490f23(0x213)+_0x2a1eef+'.':'$'+_0x14e829+_0x490f23(0x1d5))+(''+_0x5bc61a);let _0x40e126='';for(let _0x28e117 in _0x72f030){const _0x78e2d9=_0x72f030[_0x28e117];if([_0x490f23(0x1e8),_0x490f23(0x1bc),'deleted_at',_0x490f23(0x176)]['indexOf'](_0x28e117)!=-0x1)continue;if(_0x28e117[_0x490f23(0x218)](-0x4)==_0x490f23(0x169)||_0x28e117['substr'](-0x5)==_0x490f23(0x1cf))_0x40e126+='\x0a'+_0x490f23(0x193)+('<el-form-item\x20label=\x22'+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+_0x490f23(0x1f2)),_0x40e126+='\x0a'+_0x490f23(0x1ff)+('<page-images\x20v-model=\x22formdata.'+_0x28e117+_0x490f23(0x1df)),_0x40e126+='\x0a'+_0x490f23(0x193)+'</el-form-item>'+'\x0a';else{if(_0x28e117[_0x490f23(0x218)](-0x3)==_0x490f23(0x188)||_0x28e117[_0x490f23(0x218)](-0x5)==_0x490f23(0x211)||_0x28e117==_0x490f23(0x211)||_0x28e117[_0x490f23(0x218)](-0x4)==_0x490f23(0x1c1)||_0x28e117=='logo')_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x490f23(0x1f7)+(_0x78e2d9['Comment']||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+_0x490f23(0x1f2)),_0x40e126+='\x0a'+_0x490f23(0x1ff)+('<page-images\x20v-model=\x22formdata.'+_0x28e117+_0x490f23(0x187)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';else{if(_0x28e117[_0x490f23(0x218)](-0x4)==_0x490f23(0x16a))_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x172)+_0x28e117+_0x490f23(0x1f3)+_0x78e2d9[_0x490f23(0x1e3)]+_0x490f23(0x1a6)),_0x40e126+='\x0a'+_0x490f23(0x193)+'</el-form-item>'+'\x0a';else{if(_0x28e117[_0x490f23(0x218)](-0x3)=='num')_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x1a5)+_0x28e117+_0x490f23(0x17e)+_0x78e2d9[_0x490f23(0x1e3)]+_0x490f23(0x168)),_0x40e126+='\x0a'+_0x490f23(0x193)+'</el-form-item>'+'\x0a';else{if(_0x28e117[_0x490f23(0x218)](-0x4)==_0x490f23(0x1f4))_0x40e126+='\x0a'+_0x490f23(0x193)+('<el-form-item\x20label=\x22'+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9['Field'])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x166)+_0x28e117+'\x22\x20placeholder=\x22请输入'+_0x78e2d9[_0x490f23(0x1e3)]+_0x490f23(0x216)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';else{if(_0x28e117[_0x490f23(0x218)](-0x3)==_0x490f23(0x1ed)){let _0x1a61a0=''+(typeof _0x543ffe==_0x490f23(0x1fe)?_0x543ffe+'/':'')+(_0x2a1eef?_0x2a1eef+'/':'')+_0x5acbe2;_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9['Comment']||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x19c)+_0x28e117+_0x490f23(0x1a1)+_0x1a61a0+_0x490f23(0x21e)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x78e2d9[_0x490f23(0x177)])){case _0x490f23(0x1e1):_0x40e126+='\x0a'+_0x490f23(0x193)+('<el-form-item\x20label=\x22'+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x1a5)+_0x28e117+_0x490f23(0x17e)+_0x78e2d9[_0x490f23(0x1e3)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case'enum':_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9['Field'])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x1f5)+_0x28e117+_0x490f23(0x1e9)+_0x78e2d9[_0x490f23(0x1e3)]+_0x490f23(0x1ae));for(let _0x88a5f0 of(0x0,helper_1[_0x490f23(0x18d)])(_0x78e2d9[_0x490f23(0x177)])){_0x40e126+='\x0a'+_0x490f23(0x21d)+(_0x490f23(0x1d3)+_0x88a5f0+_0x490f23(0x20b)+_0x88a5f0+_0x490f23(0x1d8));}_0x40e126+='\x0a'+_0x490f23(0x1ff)+_0x490f23(0x204),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';break;case'text':_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9['Field'])+'\x22\x20prop=\x22'+_0x28e117+_0x490f23(0x1f2)),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x166)+_0x28e117+_0x490f23(0x1ab)+_0x78e2d9['Comment']+_0x490f23(0x171)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';break;case _0x490f23(0x1ef):_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+_0x490f23(0x1f2)),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x1f1)+_0x28e117+_0x490f23(0x1d8)),_0x40e126+='\x0a'+_0x490f23(0x193)+'</el-form-item>'+'\x0a';break;case _0x490f23(0x18e):_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+_0x490f23(0x1f2)),_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x490f23(0x1f1)+_0x28e117+'\x22\x20/>'),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';break;case'date':_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9['Comment']||_0x78e2d9[_0x490f23(0x212)])+'\x22\x20prop=\x22'+_0x28e117+'\x22>'),_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22formdata.'+_0x28e117+_0x490f23(0x1d2)+_0x78e2d9[_0x490f23(0x1e3)]+_0x490f23(0x18b)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';break;case _0x490f23(0x167):_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+('<el-date-picker\x20v-model=\x22formdata.'+_0x28e117+_0x490f23(0x1d2)+_0x78e2d9['Comment']+_0x490f23(0x17c)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';break;case _0x490f23(0x179):_0x40e126+='\x0a'+_0x490f23(0x193)+(_0x490f23(0x1f7)+(_0x78e2d9[_0x490f23(0x1e3)]||_0x78e2d9[_0x490f23(0x212)])+'\x22\x20prop=\x22'+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x1bd)+_0x28e117+_0x490f23(0x1d2)+_0x78e2d9[_0x490f23(0x1e3)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;default:_0x40e126+='\x0a'+_0x490f23(0x193)+('<el-form-item\x20label=\x22'+(_0x78e2d9['Comment']||_0x78e2d9['Field'])+_0x490f23(0x217)+_0x28e117+'\x22>'),_0x40e126+='\x0a'+_0x490f23(0x1ff)+(_0x490f23(0x166)+_0x28e117+_0x490f23(0x17e)+_0x78e2d9[_0x490f23(0x1e3)]+_0x490f23(0x216)),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';}}}}}}}_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x490f23(0x1b2),_0x40e126+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x490f23(0x1fc),_0x40e126+='\x0a'+_0x490f23(0x193)+_0x490f23(0x1e6)+'\x0a';let _0x37f8d7=_0x490f23(0x1b8);_0x37f8d7+=_0x490f23(0x1c4)+(_0x1c11bb==_0x490f23(0x185)?'添加'+_0x352be0:'编辑'+_0x352be0)+_0x490f23(0x196)+_0x3abf30+'.'+(_0x1c11bb==_0x490f23(0x185)?_0x490f23(0x185):'edit')+_0x490f23(0x1b9),_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x40e126+'\x0a',_0x37f8d7+=_0x490f23(0x1a7),_0x37f8d7+=_0x490f23(0x1c3)+_0x3abf30+'.'+(_0x1c11bb==_0x490f23(0x185)?_0x490f23(0x185):_0x490f23(0x1db))+'.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',_0x37f8d7+=_0x490f23(0x221),_0x37f8d7+='\x20\x20\x20\x20</page-form>\x0a',_0x37f8d7+=_0x490f23(0x1c2),_0x37f8d7+=_0x490f23(0x189);if(_0x1c11bb==_0x490f23(0x185))_0x37f8d7+=_0x490f23(0x19d)+_0x5bc61a+_0x490f23(0x195)+(_0x2a1eef?_0x490f23(0x162)+_0x2a1eef:_0x14e829)+_0x490f23(0x1d6)+_0x5bc61a+_0x490f23(0x17d);else _0x1c11bb==_0x490f23(0x1db)&&(_0x37f8d7+='import\x20{\x20'+_0x5bc61a+'EditRule\x20}\x20from\x20\x27@'+(_0x2a1eef?_0x490f23(0x162)+_0x2a1eef:_0x14e829)+_0x490f23(0x1d6)+_0x5bc61a+_0x490f23(0x1e2));_0x37f8d7+=_0x490f23(0x1b3),_0x37f8d7+=_0x490f23(0x1f8),_0x37f8d7+=_0x490f23(0x1d7),_0x37f8d7+=_0x490f23(0x1ea),_0x37f8d7+=_0x490f23(0x174);if(_0x1c11bb==_0x490f23(0x185))_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20'+_0x5bc61a+_0x490f23(0x222);else _0x1c11bb==_0x490f23(0x1db)&&(_0x37f8d7+=_0x490f23(0x1d4)+_0x5bc61a+_0x490f23(0x1c7));_0x37f8d7+=_0x490f23(0x1a9),_0x37f8d7+='\x20\x20\x20\x20},\x0a',_0x1c11bb==_0x490f23(0x1db)&&(_0x37f8d7+=_0x490f23(0x208),_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.'+_0x354f0a[_0x490f23(0x212)]+_0x490f23(0x19f),_0x37f8d7+=_0x490f23(0x1fd)),_0x37f8d7+='\x20\x20\x20\x20methods:\x20{\x0a',_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x37f8d7+=_0x490f23(0x1b7),_0x37f8d7+=_0x490f23(0x173),_0x37f8d7+=_0x490f23(0x1e0),_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a',_0x37f8d7+=_0x490f23(0x1ca),_0x37f8d7+=_0x490f23(0x215),_0x37f8d7+=_0x490f23(0x16d)+_0x3abf30+'.'+(_0x1c11bb==_0x490f23(0x185)?'add':_0x490f23(0x1db))+_0x490f23(0x1e7),_0x37f8d7+='\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',_0x37f8d7+=_0x490f23(0x1f0),_0x37f8d7+=_0x490f23(0x1e5),_0x37f8d7+=_0x490f23(0x1da),_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x37f8d7+=_0x490f23(0x21f),_0x1c11bb==_0x490f23(0x1db)&&(_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x37f8d7+=_0x490f23(0x20f),_0x37f8d7+=_0x490f23(0x1e0),_0x37f8d7+=_0x490f23(0x19e)+_0x354f0a[_0x490f23(0x212)]+_0x490f23(0x191),_0x37f8d7+=_0x490f23(0x164)+_0x354f0a[_0x490f23(0x212)]+_0x490f23(0x191),_0x37f8d7+=_0x490f23(0x219),_0x37f8d7+=_0x490f23(0x16d)+_0x3abf30+'.detail({\x20'+_0x354f0a[_0x490f23(0x212)]+_0x490f23(0x1be),_0x37f8d7+=_0x490f23(0x20c),_0x37f8d7+=_0x490f23(0x1de),_0x37f8d7+=_0x490f23(0x16f),_0x37f8d7+=_0x490f23(0x1ee),_0x37f8d7+=_0x490f23(0x20a),_0x37f8d7+=_0x490f23(0x19a),_0x37f8d7+=_0x490f23(0x17f),_0x37f8d7+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'),_0x37f8d7+='\x20\x20\x20\x20},\x0a',_0x37f8d7+='}\x0a',_0x37f8d7+=_0x490f23(0x1dc),fs[_0x490f23(0x1d1)]((0x0,path_1[_0x490f23(0x1cd)])(_0x2f54f1),{'recursive':!![]}),fs['writeFileSync'](_0x2f54f1,_0x37f8d7,_0x490f23(0x206));}}
@@ -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_0x2fea05=a14_0x42b7;(function(_0x2d774e,_0x55452a){const _0x3369d8=a14_0x42b7,_0x48b723=_0x2d774e();while(!![]){try{const _0x4bf86e=parseInt(_0x3369d8(0x1a8))/0x1+-parseInt(_0x3369d8(0x1b4))/0x2+parseInt(_0x3369d8(0x1a2))/0x3*(-parseInt(_0x3369d8(0x1bc))/0x4)+parseInt(_0x3369d8(0x1b0))/0x5*(-parseInt(_0x3369d8(0x19e))/0x6)+parseInt(_0x3369d8(0x1a9))/0x7*(-parseInt(_0x3369d8(0x1ad))/0x8)+parseInt(_0x3369d8(0x1c6))/0x9*(parseInt(_0x3369d8(0x1bd))/0xa)+parseInt(_0x3369d8(0x1c7))/0xb;if(_0x4bf86e===_0x55452a)break;else _0x48b723['push'](_0x48b723['shift']());}catch(_0x123822){_0x48b723['push'](_0x48b723['shift']());}}}(a14_0x2994,0x527e6));const a14_0x41e1e2=(function(){let _0x575346=!![];return function(_0x2d67c3,_0x37e137){const _0x32c963=_0x575346?function(){const _0x674ace=a14_0x42b7;if(_0x37e137){const _0x54938b=_0x37e137[_0x674ace(0x1b7)](_0x2d67c3,arguments);return _0x37e137=null,_0x54938b;}}:function(){};return _0x575346=![],_0x32c963;};}()),a14_0x1cd0a2=a14_0x41e1e2(this,function(){const _0x56897a=a14_0x42b7;return a14_0x1cd0a2['toString']()['search'](_0x56897a(0x1af))[_0x56897a(0x19f)]()[_0x56897a(0x1b5)](a14_0x1cd0a2)[_0x56897a(0x1a6)]('(((.+)+)+)+$');});a14_0x1cd0a2();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a14_0x2fea05(0x1a3));function a14_0x42b7(_0x26f175,_0x1d5d0a){const _0x442736=a14_0x2994();return a14_0x42b7=function(_0x1cd0a2,_0x41e1e2){_0x1cd0a2=_0x1cd0a2-0x19a;let _0x2994fd=_0x442736[_0x1cd0a2];return _0x2994fd;},a14_0x42b7(_0x26f175,_0x1d5d0a);}async function default_1({tablestartUpShort2:_0x5e51d5,moduleName:_0x261789,controller:_0x496862,Comment:_0x3f3322,apporbasic:_0xe3c5f6,Primary:_0x1c3a60}){await createRoutes({'tablestartUpShort2':_0x5e51d5,'moduleName':_0x261789,'controller':_0x496862,'Comment':_0x3f3322,'apporbasic':_0xe3c5f6,'Primary':_0x1c3a60});}function a14_0x2994(){const _0x1b7f3d=['5JjpyMv','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','dirname',',\x20component:\x20()=>\x20import(\x27./template/','383020VLPMjj','constructor','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','apply','/add\x22','utf-8','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','//\x20add\x20route\x20here','8nmvccp','337340sNuwrM','cwd','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','string','mkdirSync','\x20\x20\x20\x20children:[\x0a','\x20\x20\x20\x20//\x20redirect:\x20\x22/','writeFileSync','117UdBTdq','8027943sfQVnw','\x20\x20\x20\x20]\x0a','existsSync','export\x20default\x20{\x0a','/edit\x22','3550182MzHWUr','toString','padEnd','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','421629MBhaLd','path','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/routes.js','search','\x20\x20\x20\x20component:\x20layout,\x0a','478439pvAgPN','4207iXwGMU','{\x20path:\x20\x22','replace','apps-','3256VLfBsy','\x22,\x0a','(((.+)+)+)+$'];a14_0x2994=function(){return _0x1b7f3d;};return a14_0x2994();}exports['default']=default_1;async function createRoutes({tablestartUpShort2:_0x2a5b25,moduleName:_0x1cacc9,controller:_0xcf679b,Comment:_0x19e65a,apporbasic:_0xb89673,Primary:_0x40a8ab}){const _0x2d60f2=a14_0x2fea05;let _0x50a5c0=process[_0x2d60f2(0x1be)]()+'/vue'+(typeof _0xcf679b==_0x2d60f2(0x1c1)?'/'+_0xcf679b:'');_0x1cacc9?_0x50a5c0=_0x50a5c0+('/pages/apps/'+_0x1cacc9+_0x2d60f2(0x1a5)):_0x50a5c0=_0x50a5c0+('/pages/'+_0xb89673+_0x2d60f2(0x1a5));if(!fs[_0x2d60f2(0x19b)](_0x50a5c0)){let _0x6ff0bb=_0x2d60f2(0x1b6);_0x6ff0bb+=_0x2d60f2(0x19c),_0x6ff0bb+='\x20\x20\x20\x20path:\x20\x22/'+(_0x1cacc9?_0x2d60f2(0x1ac)+_0x1cacc9+'/':_0xb89673+'/')+_0x2d60f2(0x1ae),_0x6ff0bb+=_0x2d60f2(0x1c4)+(_0x1cacc9?'apps-'+_0x1cacc9+'/':_0xb89673+'/')+_0x2d60f2(0x1ae),_0x6ff0bb+=_0x2d60f2(0x1a7),_0x6ff0bb+=_0x2d60f2(0x1c3),_0x6ff0bb+=_0x2d60f2(0x1a1),_0x6ff0bb+=_0x2d60f2(0x19a),_0x6ff0bb+='}\x0a',fs[_0x2d60f2(0x1c2)]((0x0,path_1[_0x2d60f2(0x1b2)])(_0x50a5c0),{'recursive':!![]}),fs[_0x2d60f2(0x1c5)](_0x50a5c0,_0x6ff0bb,_0x2d60f2(0x1b9));}const _0x263fbe=fs['readFileSync'](_0x50a5c0,_0x2d60f2(0x1b9));fs['writeFileSync'](_0x50a5c0,_0x263fbe[_0x2d60f2(0x1ab)](_0x2d60f2(0x1bb),_0x2d60f2(0x1aa)+(_0x2a5b25+'\x22')[_0x2d60f2(0x1a0)](0x14)+(_0x2d60f2(0x1b3)+_0x2a5b25+_0x2d60f2(0x1ba)+_0x19e65a+_0x2d60f2(0x1a4)))['replace'](_0x2d60f2(0x1bb),'{\x20path:\x20\x22'+(_0x2a5b25+_0x2d60f2(0x1b8))[_0x2d60f2(0x1a0)](0x14)+(_0x2d60f2(0x1b3)+_0x2a5b25+_0x2d60f2(0x1c0)+_0x19e65a+_0x2d60f2(0x1b1)))['replace'](_0x2d60f2(0x1bb),_0x2d60f2(0x1aa)+(_0x2a5b25+_0x2d60f2(0x19d))['padEnd'](0x14)+(_0x2d60f2(0x1b3)+_0x2a5b25+_0x2d60f2(0x1bf)+_0x19e65a+'编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here')));}
@@ -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_0x31dbfe=a15_0x5012;(function(_0x3ec31c,_0x3da830){const _0x3bc116=a15_0x5012,_0xa33153=_0x3ec31c();while(!![]){try{const _0x129e56=-parseInt(_0x3bc116(0x174))/0x1+parseInt(_0x3bc116(0x153))/0x2+parseInt(_0x3bc116(0x18e))/0x3*(-parseInt(_0x3bc116(0x14c))/0x4)+parseInt(_0x3bc116(0x173))/0x5+-parseInt(_0x3bc116(0x190))/0x6+-parseInt(_0x3bc116(0x183))/0x7+-parseInt(_0x3bc116(0x15b))/0x8*(-parseInt(_0x3bc116(0x151))/0x9);if(_0x129e56===_0x3da830)break;else _0xa33153['push'](_0xa33153['shift']());}catch(_0x590d60){_0xa33153['push'](_0xa33153['shift']());}}}(a15_0x3787,0x2df6b));function a15_0x3787(){const _0x25fa61=['/pages/apps/','不能为空`,\x20required:\x20','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','}\x0a\x0a','`,\x20type:\x20\x22date\x22\x20},\x0a','search','Field','indexOf','false','datetime','`,\x20type:\x20\x22number\x22\x20},\x0a','/validators/','json','\x20*\x20','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','displayorder','209365FWGDwo','272426dswJBk','YES','existsSync','deleted_at','\x20},\x0a','export\x20const\x20','mediumtext','Type','double','\x20*\x20**/\x0a','text','defineProperty','Null','float','created_at','2528330ujVOUy','updated_at','/pages/','tinyint','/**\x0a','toString','\x20\x20\x20\x20],\x0a\x0a','string','\x20\x20\x20\x20','\x20\x20\x20\x20//\x20','EditRule\x20=\x20{\x0a','51Vgzxnq',':\x20[\x0a','2151972JAhMHb','timestamp','enum','longtext','(((.+)+)+)+$','number','utf-8','\x27,\x20\x27','/vue','46996vjWuam','decimal','%RuleColumn%','__esModule','replace','2959956skebEG','true','45738OqfktJ','Comment','join','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','../helper','cwd','getProp','/edit.js','32UWsfFF','constructor','default','AddRule\x20=\x20{\x0a','date','`,\x20type:\x20\x22string\x22\x20},\x0a','\x27]\x20},\x0a','writeFileSync'];a15_0x3787=function(){return _0x25fa61;};return a15_0x3787();}const a15_0x13c0d6=(function(){let _0x3fda1b=!![];return function(_0x5c6031,_0xa9034d){const _0x4e607d=_0x3fda1b?function(){if(_0xa9034d){const _0x18c9e8=_0xa9034d['apply'](_0x5c6031,arguments);return _0xa9034d=null,_0x18c9e8;}}:function(){};return _0x3fda1b=![],_0x4e607d;};}()),a15_0x507c4f=a15_0x13c0d6(this,function(){const _0x4cbb17=a15_0x5012;return a15_0x507c4f[_0x4cbb17(0x188)]()[_0x4cbb17(0x168)](_0x4cbb17(0x147))[_0x4cbb17(0x188)]()[_0x4cbb17(0x15c)](a15_0x507c4f)[_0x4cbb17(0x168)](_0x4cbb17(0x147));});function a15_0x5012(_0x1622f0,_0x5878fa){const _0x24a34d=a15_0x3787();return a15_0x5012=function(_0x507c4f,_0x13c0d6){_0x507c4f=_0x507c4f-0x145;let _0x3787d4=_0x24a34d[_0x507c4f];return _0x3787d4;},a15_0x5012(_0x1622f0,_0x5878fa);}a15_0x507c4f();'use strict';Object[a15_0x31dbfe(0x17f)](exports,a15_0x31dbfe(0x14f),{'value':!![]});const fs=require('fs'),helper_1=require(a15_0x31dbfe(0x157));async function default_1({tablestartUpShort:_0x382861,tablestartUpShort2:_0x331893,moduleName:_0x1c54ea,controller:_0x19ebcd,Comment:_0x58914d,apporbasic:_0xa735a0,Primary:_0x30800a,Fields:_0x110dc4}){const _0x53a31d=a15_0x31dbfe;let _0x3bc915=process[_0x53a31d(0x158)]()+_0x53a31d(0x14b)+(typeof _0x19ebcd==_0x53a31d(0x18a)?'/'+_0x19ebcd:'');_0x1c54ea?_0x3bc915=_0x3bc915+(_0x53a31d(0x163)+_0x1c54ea+_0x53a31d(0x16e)+_0x382861):_0x3bc915=_0x3bc915+(_0x53a31d(0x185)+_0xa735a0+_0x53a31d(0x16e)+_0x382861),!fs[_0x53a31d(0x176)](_0x3bc915)&&fs['mkdirSync'](_0x3bc915,{'recursive':!![]}),await CreateRule(_0x3bc915,{'tablestartUpShort':_0x382861,'Comment':_0x58914d,'Fields':_0x110dc4}),await updateRule(_0x3bc915,{'tablestartUpShort':_0x382861,'Comment':_0x58914d,'Fields':_0x110dc4});}exports[a15_0x31dbfe(0x15d)]=default_1;async function CreateRule(_0x4c4422,{tablestartUpShort:_0x7d18d1,Comment:_0x31d8f6,Fields:_0x24cf2e}){const _0x5d7edb=a15_0x31dbfe,_0x303df5=_0x4c4422+'/add.js';if(!fs[_0x5d7edb(0x176)](_0x303df5)){let _0x398a21='',_0x495d64='';for(let _0x560e2e in _0x24cf2e){let _0x3f5428=_0x24cf2e[_0x560e2e],_0x408bbf=(0x0,helper_1['getProp'])(_0x3f5428[_0x5d7edb(0x17b)]);if(_0x3f5428[_0x5d7edb(0x169)]==_0x5d7edb(0x172)||_0x3f5428[_0x5d7edb(0x169)]==_0x5d7edb(0x182)||_0x3f5428[_0x5d7edb(0x169)]==_0x5d7edb(0x184)||_0x3f5428[_0x5d7edb(0x169)]==_0x5d7edb(0x177))continue;if([_0x5d7edb(0x17e),_0x5d7edb(0x146),'mediumtext']['indexOf'](_0x408bbf)!=-0x1)_0x398a21+=_0x5d7edb(0x18c)+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+=_0x5d7edb(0x18b)+_0x3f5428['Field']+_0x5d7edb(0x18f),_0x3f5428[_0x5d7edb(0x180)]!=_0x5d7edb(0x175)&&(_0x398a21+=_0x5d7edb(0x156)+_0x3f5428[_0x5d7edb(0x154)]+_0x5d7edb(0x164)+(_0x3f5428[_0x5d7edb(0x180)]!=_0x5d7edb(0x175)?_0x5d7edb(0x16b):_0x5d7edb(0x152))+_0x5d7edb(0x178)),_0x398a21+=_0x5d7edb(0x189);else{if([_0x5d7edb(0x181),_0x5d7edb(0x17c),_0x5d7edb(0x14d),_0x5d7edb(0x148)][_0x5d7edb(0x16a)](_0x408bbf)!=-0x1)_0x398a21+='\x20\x20\x20\x20//\x20'+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+=_0x5d7edb(0x18b)+_0x3f5428['Field']+_0x5d7edb(0x18f),_0x398a21+=_0x5d7edb(0x165)+_0x3f5428['Comment']+_0x5d7edb(0x16d),_0x3f5428[_0x5d7edb(0x180)]!='YES'&&(_0x398a21+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3f5428[_0x5d7edb(0x154)]+'不能为空`,\x20required:\x20'+(_0x3f5428[_0x5d7edb(0x180)]!='YES'?_0x5d7edb(0x16b):_0x5d7edb(0x152))+_0x5d7edb(0x178)),_0x398a21+=_0x5d7edb(0x189);else{if([_0x5d7edb(0x186)]['indexOf'](_0x408bbf)!=-0x1)_0x398a21+=_0x5d7edb(0x18c)+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+='\x20\x20\x20\x20'+_0x3f5428[_0x5d7edb(0x169)]+_0x5d7edb(0x18f),_0x398a21+=_0x5d7edb(0x165)+_0x3f5428['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x3f5428[_0x5d7edb(0x180)]!='YES'&&(_0x398a21+=_0x5d7edb(0x156)+_0x3f5428[_0x5d7edb(0x154)]+'不能为空`,\x20required:\x20'+(_0x3f5428[_0x5d7edb(0x180)]!='YES'?_0x5d7edb(0x16b):'true')+_0x5d7edb(0x178)),_0x398a21+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x408bbf==_0x5d7edb(0x16f))_0x398a21+=_0x5d7edb(0x18c)+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+=_0x5d7edb(0x18b)+_0x3f5428[_0x5d7edb(0x169)]+':\x20[\x0a',_0x3f5428[_0x5d7edb(0x180)]!=_0x5d7edb(0x175)&&(_0x398a21+=_0x5d7edb(0x156)+_0x3f5428[_0x5d7edb(0x154)]+'不能为空`,\x20required:\x20'+(_0x3f5428[_0x5d7edb(0x180)]!=_0x5d7edb(0x175)?_0x5d7edb(0x16b):_0x5d7edb(0x152))+_0x5d7edb(0x178)),_0x398a21+=_0x5d7edb(0x189);else{if(_0x408bbf==_0x5d7edb(0x145)){let _0xb09f03=(0x0,helper_1['getEnum'])(_0x3f5428[_0x5d7edb(0x17b)]);_0x398a21+=_0x5d7edb(0x18c)+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+=_0x5d7edb(0x18b)+_0x3f5428['Field']+':\x20[\x0a',_0x398a21+=_0x5d7edb(0x165)+_0x3f5428[_0x5d7edb(0x154)]+_0x5d7edb(0x171)+_0xb09f03[_0x5d7edb(0x155)]('\x27,\x20\x27')+_0x5d7edb(0x161),_0x3f5428[_0x5d7edb(0x180)]!='YES'&&(_0x398a21+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3f5428['Comment']+_0x5d7edb(0x164)+(_0x3f5428['Null']!=_0x5d7edb(0x175)?'false':_0x5d7edb(0x152))+'\x20},\x0a'),_0x398a21+=_0x5d7edb(0x189);}else['date',_0x5d7edb(0x16c),_0x5d7edb(0x191)]['indexOf'](_0x408bbf)>-0x1?(_0x398a21+=_0x5d7edb(0x18c)+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+='\x20\x20\x20\x20'+_0x3f5428[_0x5d7edb(0x169)]+_0x5d7edb(0x18f),_0x398a21+=_0x5d7edb(0x165)+_0x3f5428[_0x5d7edb(0x154)]+_0x5d7edb(0x167),_0x3f5428[_0x5d7edb(0x180)]!=_0x5d7edb(0x175)&&(_0x398a21+=_0x5d7edb(0x156)+_0x3f5428[_0x5d7edb(0x154)]+_0x5d7edb(0x164)+(_0x3f5428['Null']!='YES'?_0x5d7edb(0x16b):_0x5d7edb(0x152))+'\x20},\x0a'),_0x398a21+=_0x5d7edb(0x189)):(_0x398a21+=_0x5d7edb(0x18c)+_0x3f5428[_0x5d7edb(0x154)]+'\x0a',_0x398a21+=_0x5d7edb(0x18b)+_0x3f5428[_0x5d7edb(0x169)]+':\x20[\x0a',_0x398a21+=_0x5d7edb(0x165)+_0x3f5428[_0x5d7edb(0x154)]+_0x5d7edb(0x160),_0x3f5428['Null']!=_0x5d7edb(0x175)&&(_0x398a21+=_0x5d7edb(0x156)+_0x3f5428['Comment']+_0x5d7edb(0x164)+(_0x3f5428[_0x5d7edb(0x180)]!=_0x5d7edb(0x175)?_0x5d7edb(0x16b):_0x5d7edb(0x152))+_0x5d7edb(0x178)),_0x398a21+=_0x5d7edb(0x189));}}}}}_0x495d64+='\x0a',_0x495d64+='/**\x0a',_0x495d64+='\x20*\x20'+_0x31d8f6+'\x0a',_0x495d64+='\x20*\x20数据添加验证\x0a',_0x495d64+=_0x5d7edb(0x17d),_0x495d64+=_0x5d7edb(0x179)+_0x7d18d1+_0x5d7edb(0x15e),_0x495d64+='%RuleColumn%',_0x495d64+=_0x5d7edb(0x166),_0x495d64=_0x495d64['replace'](_0x5d7edb(0x14e),_0x398a21),fs[_0x5d7edb(0x162)](_0x303df5,_0x495d64,_0x5d7edb(0x149));}}async function updateRule(_0x1744f1,{tablestartUpShort:_0x331334,Comment:_0x32a4a5,Fields:_0x2c59ba}){const _0xaa200b=a15_0x31dbfe,_0x3c66dc=_0x1744f1+_0xaa200b(0x15a);if(!fs[_0xaa200b(0x176)](_0x3c66dc)){let _0x210493='',_0x319d6e='';for(let _0x2d61e2 in _0x2c59ba){let _0x40dac0=_0x2c59ba[_0x2d61e2],_0x547536=(0x0,helper_1[_0xaa200b(0x159)])(_0x40dac0['Type']);if(_0x40dac0['Field']==_0xaa200b(0x172)||_0x40dac0[_0xaa200b(0x169)]==_0xaa200b(0x182)||_0x40dac0[_0xaa200b(0x169)]=='updated_at'||_0x40dac0[_0xaa200b(0x169)]=='deleted_at')continue;if([_0xaa200b(0x17e),_0xaa200b(0x146),_0xaa200b(0x17a)][_0xaa200b(0x16a)](_0x547536)!=-0x1)_0x210493+='\x20\x20\x20\x20//\x20'+_0x40dac0[_0xaa200b(0x154)]+'\x0a',_0x210493+=_0xaa200b(0x18b)+_0x40dac0[_0xaa200b(0x169)]+_0xaa200b(0x18f),_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)&&(_0x210493+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x164)+(_0x40dac0[_0xaa200b(0x180)]!='YES'?_0xaa200b(0x16b):_0xaa200b(0x152))+_0xaa200b(0x178)),_0x210493+=_0xaa200b(0x189);else{if([_0xaa200b(0x181),_0xaa200b(0x17c),_0xaa200b(0x14d),_0xaa200b(0x148)][_0xaa200b(0x16a)](_0x547536)!=-0x1)_0x210493+=_0xaa200b(0x18c)+_0x40dac0['Comment']+'\x0a',_0x210493+=_0xaa200b(0x18b)+_0x40dac0[_0xaa200b(0x169)]+_0xaa200b(0x18f),_0x210493+=_0xaa200b(0x165)+_0x40dac0['Comment']+_0xaa200b(0x16d),_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)&&(_0x210493+=_0xaa200b(0x156)+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x164)+(_0x40dac0['Null']!='YES'?'false':_0xaa200b(0x152))+'\x20},\x0a'),_0x210493+=_0xaa200b(0x189);else{if([_0xaa200b(0x186)][_0xaa200b(0x16a)](_0x547536)!=-0x1)_0x210493+=_0xaa200b(0x18c)+_0x40dac0[_0xaa200b(0x154)]+'\x0a',_0x210493+=_0xaa200b(0x18b)+_0x40dac0['Field']+_0xaa200b(0x18f),_0x210493+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x16d),_0x40dac0['Null']!=_0xaa200b(0x175)&&(_0x210493+=_0xaa200b(0x156)+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x164)+(_0x40dac0[_0xaa200b(0x180)]!='YES'?_0xaa200b(0x16b):_0xaa200b(0x152))+_0xaa200b(0x178)),_0x210493+=_0xaa200b(0x189);else{if(_0x547536=='json')_0x210493+=_0xaa200b(0x18c)+_0x40dac0[_0xaa200b(0x154)]+'\x0a',_0x210493+=_0xaa200b(0x18b)+_0x40dac0[_0xaa200b(0x169)]+':\x20[\x0a',_0x40dac0['Null']!=_0xaa200b(0x175)&&(_0x210493+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x164)+(_0x40dac0['Null']!=_0xaa200b(0x175)?'false':_0xaa200b(0x152))+_0xaa200b(0x178)),_0x210493+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x547536==_0xaa200b(0x145)){let _0x279738=(0x0,helper_1['getEnum'])(_0x40dac0[_0xaa200b(0x17b)]);_0x210493+=_0xaa200b(0x18c)+_0x40dac0[_0xaa200b(0x154)]+'\x0a',_0x210493+='\x20\x20\x20\x20'+_0x40dac0[_0xaa200b(0x169)]+_0xaa200b(0x18f),_0x210493+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x40dac0[_0xaa200b(0x154)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x279738[_0xaa200b(0x155)](_0xaa200b(0x14a))+_0xaa200b(0x161),_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)&&(_0x210493+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x40dac0['Comment']+_0xaa200b(0x164)+(_0x40dac0['Null']!=_0xaa200b(0x175)?_0xaa200b(0x16b):_0xaa200b(0x152))+_0xaa200b(0x178)),_0x210493+=_0xaa200b(0x189);}else[_0xaa200b(0x15f),_0xaa200b(0x16c),_0xaa200b(0x191)]['indexOf'](_0x547536)>-0x1?(_0x210493+=_0xaa200b(0x18c)+_0x40dac0['Comment']+'\x0a',_0x210493+='\x20\x20\x20\x20'+_0x40dac0[_0xaa200b(0x169)]+':\x20[\x0a',_0x210493+=_0xaa200b(0x165)+_0x40dac0['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)&&(_0x210493+=_0xaa200b(0x156)+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x164)+(_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)?_0xaa200b(0x16b):_0xaa200b(0x152))+'\x20},\x0a'),_0x210493+='\x20\x20\x20\x20],\x0a\x0a'):(_0x210493+=_0xaa200b(0x18c)+_0x40dac0[_0xaa200b(0x154)]+'\x0a',_0x210493+='\x20\x20\x20\x20'+_0x40dac0[_0xaa200b(0x169)]+_0xaa200b(0x18f),_0x210493+=_0xaa200b(0x165)+_0x40dac0['Comment']+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)&&(_0x210493+=_0xaa200b(0x156)+_0x40dac0[_0xaa200b(0x154)]+_0xaa200b(0x164)+(_0x40dac0[_0xaa200b(0x180)]!=_0xaa200b(0x175)?_0xaa200b(0x16b):_0xaa200b(0x152))+'\x20},\x0a'),_0x210493+=_0xaa200b(0x189));}}}}}_0x319d6e+='\x0a',_0x319d6e+=_0xaa200b(0x187),_0x319d6e+=_0xaa200b(0x170)+_0x32a4a5+'\x0a',_0x319d6e+='\x20*\x20数据更新验证\x0a',_0x319d6e+=_0xaa200b(0x17d),_0x319d6e+=_0xaa200b(0x179)+_0x331334+_0xaa200b(0x18d),_0x319d6e+='%RuleColumn%',_0x319d6e+=_0xaa200b(0x166),_0x319d6e=_0x319d6e[_0xaa200b(0x150)](_0xaa200b(0x14e),_0x210493),fs['writeFileSync'](_0x3c66dc,_0x319d6e,_0xaa200b(0x149));}}
@@ -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
+ function a16_0x3d41(_0x10864d,_0x336b68){const _0x32a106=a16_0x43ac();return a16_0x3d41=function(_0x46ba54,_0xa6c57c){_0x46ba54=_0x46ba54-0x1ad;let _0x43ac67=_0x32a106[_0x46ba54];return _0x43ac67;},a16_0x3d41(_0x10864d,_0x336b68);}const a16_0x40b240=a16_0x3d41;(function(_0x373740,_0x3c66fb){const _0x353b94=a16_0x3d41,_0x50d2d1=_0x373740();while(!![]){try{const _0x3e4e46=-parseInt(_0x353b94(0x1de))/0x1+parseInt(_0x353b94(0x1ce))/0x2+-parseInt(_0x353b94(0x1b1))/0x3*(parseInt(_0x353b94(0x1ad))/0x4)+-parseInt(_0x353b94(0x1af))/0x5+parseInt(_0x353b94(0x1c7))/0x6+parseInt(_0x353b94(0x1b0))/0x7+-parseInt(_0x353b94(0x1b8))/0x8*(-parseInt(_0x353b94(0x1d2))/0x9);if(_0x3e4e46===_0x3c66fb)break;else _0x50d2d1['push'](_0x50d2d1['shift']());}catch(_0x30846d){_0x50d2d1['push'](_0x50d2d1['shift']());}}}(a16_0x43ac,0xd9098));const a16_0xa6c57c=(function(){let _0x13abc7=!![];return function(_0x32f60f,_0x4b193c){const _0x554730=_0x13abc7?function(){const _0xc1b2f=a16_0x3d41;if(_0x4b193c){const _0x2b27bc=_0x4b193c[_0xc1b2f(0x1c2)](_0x32f60f,arguments);return _0x4b193c=null,_0x2b27bc;}}:function(){};return _0x13abc7=![],_0x554730;};}()),a16_0x46ba54=a16_0xa6c57c(this,function(){const _0x14bf6d=a16_0x3d41;return a16_0x46ba54[_0x14bf6d(0x1b9)]()[_0x14bf6d(0x1cc)](_0x14bf6d(0x1c5))['toString']()['constructor'](a16_0x46ba54)[_0x14bf6d(0x1cc)]('(((.+)+)+)+$');});a16_0x46ba54();'use strict';Object[a16_0x40b240(0x1ba)](exports,a16_0x40b240(0x1d1),{'value':!![]});const fs=require('fs'),path_1=require('path'),helper_1=require(a16_0x40b240(0x1d6));function a16_0x43ac(){const _0x5cebe2=['11042913rysNcf','651CksFwq','/apis/','/detail/${','}`,\x20params)\x0a','utf-8','getProp','//\x20','336xMoHCY','toString','defineProperty','default','string','.ts','Field','\x20\x20\x20\x20return\x20request(`GET`,\x20`','/list`,\x20params)\x0a','@列表\x0a','apply','Detail(','text','(((.+)+)+)+$','../','5909628qqgDzJ','@修改\x0a','@删除\x0a','export\x20function\x20','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','search','/edit/${','1630280NkWlEi','request\x27;\x0a\x0a','mkdirSync','__esModule','310797lAVeqh','/add`,\x20params)\x0a','Type','@详情\x0a','../helper','}\x0a\x0a','number','existsSync','\x20\x20\x20\x20return\x20request(`POST`,\x20`','mediumtext',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','writeFileSync','1355145fSaWIl',')\x20{\x0a','@添加\x0a','19196TaQVEh','/vue','7712555telAup'];a16_0x43ac=function(){return _0x5cebe2;};return a16_0x43ac();}async function default_1({tablestartUpShort:_0xdbcb15,tablestartUpShort2:_0x3a9e62,moduleName:_0x550f7d,controller:_0x351e0a,Comment:_0x464659,apporbasic:_0x22196f,Primary:_0x34270f}){const _0xa10efa=a16_0x40b240;let _0x33a4c2=process['cwd']()+_0xa10efa(0x1ae)+(typeof _0x351e0a==_0xa10efa(0x1bc)?'/'+_0x351e0a:'');_0x550f7d?_0x33a4c2=_0x33a4c2+('/apis/apps/'+_0x550f7d+'/'+_0xdbcb15+'.ts'):_0x33a4c2=_0x33a4c2+(_0xa10efa(0x1b2)+_0x22196f+'/'+_0xdbcb15+_0xa10efa(0x1bd));if(!fs[_0xa10efa(0x1d9)](_0x33a4c2)){const _0x38a749=[_0xa10efa(0x1c4),_0xa10efa(0x1db),_0xa10efa(0x1bc)]['indexOf']((0x0,helper_1[_0xa10efa(0x1b6)])(_0x34270f[_0xa10efa(0x1d4)]))==-0x1,_0x255350=''+(typeof _0x351e0a==_0xa10efa(0x1bc)?_0x351e0a+'/':'')+(_0x550f7d?_0x550f7d+'/':'')+_0x3a9e62;let _0x1527d8='import\x20{\x20request\x20}\x20from\x20\x27'+(_0x550f7d?'../../':_0xa10efa(0x1c6))+_0xa10efa(0x1cf);_0x1527d8+=_0xa10efa(0x1b7)+_0x464659+_0xa10efa(0x1d5),_0x1527d8+=_0xa10efa(0x1ca)+_0xdbcb15+_0xa10efa(0x1c3)+_0x34270f[_0xa10efa(0x1be)]+':\x20'+(_0x38a749?'number':'string')+_0xa10efa(0x1df),_0x1527d8+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x255350+_0xa10efa(0x1b3)+_0x34270f[_0xa10efa(0x1be)]+'}`)\x0a',_0x1527d8+=_0xa10efa(0x1d7),_0x1527d8+=_0xa10efa(0x1b7)+_0x464659+_0xa10efa(0x1e0),_0x1527d8+=_0xa10efa(0x1ca)+_0xdbcb15+'Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x1527d8+=_0xa10efa(0x1da)+_0x255350+_0xa10efa(0x1d3),_0x1527d8+='}\x0a\x0a',_0x1527d8+=_0xa10efa(0x1b7)+_0x464659+_0xa10efa(0x1c8),_0x1527d8+=_0xa10efa(0x1ca)+_0xdbcb15+'Edit('+_0x34270f['Field']+':\x20'+(_0x38a749?_0xa10efa(0x1d8):_0xa10efa(0x1bc))+_0xa10efa(0x1dc),_0x1527d8+=_0xa10efa(0x1da)+_0x255350+_0xa10efa(0x1cd)+_0x34270f[_0xa10efa(0x1be)]+_0xa10efa(0x1b4),_0x1527d8+=_0xa10efa(0x1d7),_0x1527d8+=_0xa10efa(0x1b7)+_0x464659+_0xa10efa(0x1c1),_0x1527d8+=_0xa10efa(0x1ca)+_0xdbcb15+'List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x1527d8+=_0xa10efa(0x1bf)+_0x255350+_0xa10efa(0x1c0),_0x1527d8+=_0xa10efa(0x1d7),_0x1527d8+=_0xa10efa(0x1b7)+_0x464659+_0xa10efa(0x1c9),_0x1527d8+=_0xa10efa(0x1ca)+_0xdbcb15+_0xa10efa(0x1cb),_0x1527d8+=_0xa10efa(0x1da)+_0x255350+'/remove`,\x20params)\x0a',_0x1527d8+=_0xa10efa(0x1d7),fs[_0xa10efa(0x1d0)]((0x0,path_1['dirname'])(_0x33a4c2),{'recursive':!![]}),fs[_0xa10efa(0x1dd)](_0x33a4c2,_0x1527d8,_0xa10efa(0x1b5));}}exports[a16_0x40b240(0x1bb)]=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_0x151a4c=a17_0xf96f;(function(_0xe95882,_0x31ee9a){const _0x274f6e=a17_0xf96f,_0x11aeea=_0xe95882();while(!![]){try{const _0x522470=parseInt(_0x274f6e(0xc3))/0x1*(parseInt(_0x274f6e(0xb5))/0x2)+-parseInt(_0x274f6e(0xb4))/0x3+parseInt(_0x274f6e(0xbd))/0x4+-parseInt(_0x274f6e(0xb8))/0x5+parseInt(_0x274f6e(0xc5))/0x6+parseInt(_0x274f6e(0xc2))/0x7*(parseInt(_0x274f6e(0xd2))/0x8)+-parseInt(_0x274f6e(0xba))/0x9;if(_0x522470===_0x31ee9a)break;else _0x11aeea['push'](_0x11aeea['shift']());}catch(_0x5b35d0){_0x11aeea['push'](_0x11aeea['shift']());}}}(a17_0x3c90,0x8e911));const a17_0x199bc1=(function(){let _0x5d5111=!![];return function(_0x462bfa,_0x477365){const _0x256524=_0x5d5111?function(){const _0x38551b=a17_0xf96f;if(_0x477365){const _0x11319e=_0x477365[_0x38551b(0xd3)](_0x462bfa,arguments);return _0x477365=null,_0x11319e;}}:function(){};return _0x5d5111=![],_0x256524;};}()),a17_0x4bd355=a17_0x199bc1(this,function(){const _0x8471e=a17_0xf96f;return a17_0x4bd355[_0x8471e(0xbc)]()[_0x8471e(0xb1)]('(((.+)+)+)+$')['toString']()['constructor'](a17_0x4bd355)['search'](_0x8471e(0xcc));});a17_0x4bd355();'use strict';Object[a17_0x151a4c(0xac)](exports,a17_0x151a4c(0xb7),{'value':!![]});const fs=require('fs'),path_1=require('path');function a17_0x3c90(){const _0x59fa48=['__esModule','468935oMxwxq','//\x20add\x20menu\x20here','14025645hKhvgZ','padEnd','toString','1411120XjWRzd',',\x20path:\x20\x22','/layout.vue','replace','{title:\x20\x22','602XjOeOm','660jRoOtr','\x20\x20\x20\x20</page-layout>\x0a','5558076xzRcki','/vue','existsSync','</template>\x0a\x0a','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','indexOf','(((.+)+)+)+$','writeFileSync','/pages/','default','cwd','utf-8','94168CQbSKC','apply','/list\x22','/apps-','defineProperty','mkdirSync','</script>\x0a\x0a','string','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','search','<script\x20lang=\x22ts\x22\x20setup>\x0a','\x20\x20\x20\x20])\x0a','811341yyTuxs','652DwgZsc','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a'];a17_0x3c90=function(){return _0x59fa48;};return a17_0x3c90();}async function default_1({tablestartUpShort2:_0x3d82d4,controller:_0x3807d2,moduleName:_0x5b8177,Comment:_0x559e77,apporbasic:_0xe74efc}){const _0x87f62e=a17_0x151a4c;let _0x59a43a=process[_0x87f62e(0xd0)]()+_0x87f62e(0xc6)+(typeof _0x3807d2==_0x87f62e(0xaf)?'/'+_0x3807d2:'');_0x5b8177?_0x59a43a=_0x59a43a+('/pages/apps/'+_0x5b8177+_0x87f62e(0xbf)):_0x59a43a=_0x59a43a+(_0x87f62e(0xce)+_0xe74efc+_0x87f62e(0xbf));await createLayout(_0x59a43a,{'moduleName':_0x5b8177});const _0x485206=fs['readFileSync'](_0x59a43a,_0x87f62e(0xd1)),_0xb846f=_0x87f62e(0xc1)+(_0x559e77+'\x22')[_0x87f62e(0xbb)](0x14)+_0x87f62e(0xbe)+(''+(typeof _0x5b8177==_0x87f62e(0xaf)?_0x87f62e(0xab)+_0x5b8177+'/':'/'+_0xe74efc+'/')+_0x3d82d4+_0x87f62e(0xd4))['padEnd'](0x14)+'}';_0x485206[_0x87f62e(0xcb)](_0xb846f)==-0x1&&fs[_0x87f62e(0xcd)](_0x59a43a,_0x485206[_0x87f62e(0xc0)](_0x87f62e(0xb9),_0xb846f+_0x87f62e(0xca)));}exports[a17_0x151a4c(0xcf)]=default_1;function a17_0xf96f(_0x423a3f,_0x42db79){const _0x492eaf=a17_0x3c90();return a17_0xf96f=function(_0x4bd355,_0x199bc1){_0x4bd355=_0x4bd355-0xab;let _0x3c9005=_0x492eaf[_0x4bd355];return _0x3c9005;},a17_0xf96f(_0x423a3f,_0x42db79);}async function createLayout(_0x552913,{moduleName:_0x3af980}){const _0x3b4ebc=a17_0x151a4c;if(!fs[_0x3b4ebc(0xc7)](_0x552913)){let _0x470a3b='<template>\x0a';_0x470a3b+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-'+_0x3af980+_0x3b4ebc(0xb0),_0x470a3b+=_0x3b4ebc(0xc4),_0x470a3b+=_0x3b4ebc(0xc8),_0x470a3b+=_0x3b4ebc(0xb2),_0x470a3b+=_0x3b4ebc(0xc9),_0x470a3b+=_0x3b4ebc(0xb6),_0x470a3b+=_0x3b4ebc(0xb3),_0x470a3b+=_0x3b4ebc(0xae),fs[_0x3b4ebc(0xad)]((0x0,path_1['dirname'])(_0x552913),{'recursive':!![]}),fs[_0x3b4ebc(0xcd)](_0x552913,_0x470a3b,_0x3b4ebc(0xd1));}}