anncic-apihelper 3.7.24 → 3.7.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const a10_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
+ const a10_0x382fb7=a10_0x853d;(function(_0x47e118,_0x4ff1a){const _0x1cde6f=a10_0x853d,_0x3a6ece=_0x47e118();while(!![]){try{const _0xd1a51f=-parseInt(_0x1cde6f(0x19c))/0x1+-parseInt(_0x1cde6f(0x1af))/0x2+-parseInt(_0x1cde6f(0x205))/0x3+parseInt(_0x1cde6f(0x1e4))/0x4*(-parseInt(_0x1cde6f(0x1cc))/0x5)+parseInt(_0x1cde6f(0x1a7))/0x6*(-parseInt(_0x1cde6f(0x1e2))/0x7)+parseInt(_0x1cde6f(0x1ff))/0x8*(parseInt(_0x1cde6f(0x1b8))/0x9)+-parseInt(_0x1cde6f(0x1e0))/0xa*(-parseInt(_0x1cde6f(0x1c4))/0xb);if(_0xd1a51f===_0x4ff1a)break;else _0x3a6ece['push'](_0x3a6ece['shift']());}catch(_0x103b1b){_0x3a6ece['push'](_0x3a6ece['shift']());}}}(a10_0x519f,0x8a327));const a10_0x383af0=(function(){let _0x199363=!![];return function(_0x3df3d1,_0xa93c3c){const _0x40f476=_0x199363?function(){const _0x5e192b=a10_0x853d;if(_0xa93c3c){const _0x2fc4fe=_0xa93c3c[_0x5e192b(0x1ae)](_0x3df3d1,arguments);return _0xa93c3c=null,_0x2fc4fe;}}:function(){};return _0x199363=![],_0x40f476;};}()),a10_0x5ddf94=a10_0x383af0(this,function(){const _0x154d96=a10_0x853d;return a10_0x5ddf94[_0x154d96(0x19e)]()['search'](_0x154d96(0x1d5))[_0x154d96(0x19e)]()[_0x154d96(0x1f3)](a10_0x5ddf94)[_0x154d96(0x1b1)](_0x154d96(0x1d5));});a10_0x5ddf94();'use strict';Object[a10_0x382fb7(0x1df)](exports,a10_0x382fb7(0x1bf),{'value':!![]});const fs=require('fs'),helper_1=require(a10_0x382fb7(0x1b5));function a10_0x853d(_0x4722ed,_0x4dfc5a){const _0x28c7e0=a10_0x519f();return a10_0x853d=function(_0x5ddf94,_0x383af0){_0x5ddf94=_0x5ddf94-0x19b;let _0x519f56=_0x28c7e0[_0x5ddf94];return _0x519f56;},a10_0x853d(_0x4722ed,_0x4dfc5a);}async function default_1({controllers:_0x49dcb6,tablestartUp:_0x5cc645,tablestartUpShort:_0x5251be,basedir:_0x40744e,Primary:_0x858f6e,Fields:_0x3f7b54,Comment:_0x2b5c59,moduleName:_0x55337a,apporbasic:_0xb15479}){const _0x59ae2c=a10_0x382fb7,_0xb899c0=_0x40744e+('/validators/'+_0x5251be);!fs[_0x59ae2c(0x1a9)](_0xb899c0)&&fs['mkdirSync'](_0xb899c0,{'recursive':!![]}),await DTOCreate({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479}),await DTOUpdate({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479}),await DTOSearch({'controllers':_0x49dcb6,'tablestartUp':_0x5cc645,'tablestartUpShort':_0x5251be,'basedir':_0x40744e,'Fields':_0x3f7b54,'Primary':_0x858f6e,'Comment':_0x2b5c59,'moduleName':_0x55337a,'apporbasic':_0xb15479});}exports[a10_0x382fb7(0x1f8)]=default_1;async function DTOCreate({controllers:_0x34bc95,tablestartUp:_0x476dd1,tablestartUpShort:_0x7a3d6b,basedir:_0x163de0,Fields:_0x5afc41,Comment:_0x556c2a,moduleName:_0x2e2a20,apporbasic:_0x3be03d}){const _0xe5662c=a10_0x382fb7,_0x2993df=_0x163de0+('/validators/'+_0x7a3d6b+_0xe5662c(0x1c6));if(!fs[_0xe5662c(0x1a9)](_0x2993df)){let _0x3d4152='',_0x2cac3f='',_0x254a20=![];for(let _0x4b5355 in _0x5afc41){let _0x3d276d=_0x5afc41[_0x4b5355],_0x4c6d7f=(0x0,helper_1[_0xe5662c(0x1d6)])(_0x3d276d[_0xe5662c(0x201)]);if(_0x3d276d[_0xe5662c(0x1c9)]=='displayorder'||_0x3d276d[_0xe5662c(0x1c9)]=='created_at'||_0x3d276d[_0xe5662c(0x1c9)]==_0xe5662c(0x1dc)||_0x3d276d[_0xe5662c(0x1c9)]==_0xe5662c(0x19b))continue;if([_0xe5662c(0x1b0),'longtext','mediumtext'][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+'\x27,\x20RuleType.string())\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+'?:\x20string;\x0a\x0a';else{if([_0xe5662c(0x1a3),'double',_0xe5662c(0x1ef),_0xe5662c(0x1fb)][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x20a)+(_0x3d276d[_0xe5662c(0x1bc)]!='YES'?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1a5);else{if([_0xe5662c(0x1b3)][_0xe5662c(0x1a2)](_0x4c6d7f)!=-0x1)_0x254a20=!![],_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+_0xe5662c(0x216)+_0x476dd1+'Enum,\x20\x27'+_0x3d276d[_0xe5662c(0x1c9)]+_0xe5662c(0x208)+(_0x3d276d['Null']!=_0xe5662c(0x1e7)?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+='\x20\x20\x20\x20'+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1a5);else{if(_0x4c6d7f==_0xe5662c(0x1a4))_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d[_0xe5662c(0x1f6)]+_0xe5662c(0x1cf),_0x3d4152+='\x20\x20\x20\x20'+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x212);else{if(_0x4c6d7f==_0xe5662c(0x1ab)){let _0x19a200=(0x0,helper_1[_0xe5662c(0x1d0)])(_0x3d276d[_0xe5662c(0x201)]);_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x1be)+_0x19a200[_0xe5662c(0x1f0)](_0xe5662c(0x1c7))+'\x27)'+(_0x3d276d[_0xe5662c(0x1bc)]!='YES'?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1f7)+_0x19a200['join'](_0xe5662c(0x215))+_0xe5662c(0x1b4);}else['date','datetime',_0xe5662c(0x1e8)][_0xe5662c(0x1a2)](_0x4c6d7f)>-0x1?(_0x3d4152+=_0xe5662c(0x1f2)+_0x3d276d['Comment']+_0xe5662c(0x1aa)+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?_0xe5662c(0x1ea):'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'?':'')+_0xe5662c(0x1c3)):(_0x3d4152+='\x20\x20\x20\x20@Rule(\x27'+_0x3d276d[_0xe5662c(0x1f6)]+'\x27,\x20RuleType.string()'+(_0x3d276d[_0xe5662c(0x1bc)]!=_0xe5662c(0x1e7)?'.required()':'')+')\x0a',_0x3d4152+=_0xe5662c(0x1ca)+_0x3d276d[_0xe5662c(0x1c9)]+(_0x3d276d['Null']!=_0xe5662c(0x1e7)?'?':'')+':\x20string;\x0a\x0a');}}}}}_0x3d4152+=_0xe5662c(0x209),_0x3d4152+=_0xe5662c(0x1cb);(_0x34bc95===null||_0x34bc95===void 0x0?void 0x0:_0x34bc95[_0xe5662c(0x1fe)](_0x45e08b=>typeof _0x45e08b!='boolean'))?_0x2cac3f+=_0xe5662c(0x1ee):_0x2cac3f+=_0xe5662c(0x1ec);_0x254a20&&(_0x2cac3f+=_0xe5662c(0x1e1)+_0x476dd1+_0xe5662c(0x1cd)+(typeof _0x2e2a20=='string'?'@/apps/'+_0x2e2a20:'@/'+_0x3be03d)+_0xe5662c(0x203)+_0x7a3d6b+_0xe5662c(0x1d7));_0x2cac3f+='\x0a',_0x2cac3f+=_0xe5662c(0x1e9),_0x2cac3f+=_0xe5662c(0x1d2)+_0x556c2a+'\x0a',_0x2cac3f+=_0xe5662c(0x1b9),_0x2cac3f+=_0xe5662c(0x1a0),_0x2cac3f+=_0xe5662c(0x207)+_0x476dd1+'DTOCreate\x20{\x0a\x0a',_0x2cac3f+=_0xe5662c(0x206),_0x2cac3f+=_0xe5662c(0x20f);for(const _0x142ad2 of _0x34bc95){typeof _0x142ad2==_0xe5662c(0x1e6)&&(_0x2cac3f+=_0xe5662c(0x207)+_0x142ad2[_0xe5662c(0x1b2)](0x0,0x1)[_0xe5662c(0x20d)]()+_0x142ad2[_0xe5662c(0x1b2)](0x1)[_0xe5662c(0x1f1)]()+_0x476dd1+'DTOCreate\x20extends\x20OmitDto('+_0x476dd1+_0xe5662c(0x1e3),_0x2cac3f+='}\x0a\x0a');}_0x2cac3f=_0x2cac3f['replace']('%DtoColumn%',_0x3d4152),fs[_0xe5662c(0x19f)](_0x2993df,_0x2cac3f,_0xe5662c(0x1f9));}}async function DTOUpdate({controllers:_0xa4face,tablestartUp:_0x2b022,tablestartUpShort:_0x5240cd,basedir:_0x4088ea,Fields:_0x1a975c,Comment:_0x34a5c4,moduleName:_0x68d4be,apporbasic:_0x2c94c6}){const _0x4d8326=a10_0x382fb7,_0x3f4c48=_0x4088ea+(_0x4d8326(0x1d4)+_0x5240cd+_0x4d8326(0x211));if(!fs[_0x4d8326(0x1a9)](_0x3f4c48)){let _0x39d0a4='',_0x119d77='',_0x3b00a2=![];for(let _0x5072c7 in _0x1a975c){let _0x33483b=_0x1a975c[_0x5072c7],_0x52a923=(0x0,helper_1[_0x4d8326(0x1d6)])(_0x33483b['Type']);if(_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x1a1)||_0x33483b[_0x4d8326(0x1c9)]=='created_at'||_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x1dc)||_0x33483b[_0x4d8326(0x1c9)]==_0x4d8326(0x19b))continue;if([_0x4d8326(0x1b0),_0x4d8326(0x1bb),_0x4d8326(0x1c5)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1c1),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x200);else{if([_0x4d8326(0x1a3),_0x4d8326(0x1fd),_0x4d8326(0x1ef),_0x4d8326(0x1fb)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b[_0x4d8326(0x1f6)]+'\x27,\x20RuleType.number())\x0a',_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+'?:\x20number;\x0a\x0a';else{if([_0x4d8326(0x1b3)][_0x4d8326(0x1a2)](_0x52a923)!=-0x1)_0x3b00a2=!![],_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b['Comment']+_0x4d8326(0x216)+_0x2b022+_0x4d8326(0x1c0)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x213),_0x39d0a4+='\x20\x20\x20\x20'+_0x33483b['Field']+_0x4d8326(0x1d1);else{if(_0x52a923=='json')_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b['Comment']+_0x4d8326(0x1cf),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x52a923=='enum'){let _0x1dfcba=(0x0,helper_1['getEnum'])(_0x33483b[_0x4d8326(0x201)]);_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b['Comment']+_0x4d8326(0x1be)+_0x1dfcba[_0x4d8326(0x1f0)](_0x4d8326(0x1c7))+'\x27))\x0a',_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b['Field']+_0x4d8326(0x1b7)+_0x1dfcba['join']('\x27\x20|\x20\x27')+'\x27;\x0a\x0a';}else[_0x4d8326(0x20e),_0x4d8326(0x1fa),'timestamp'][_0x4d8326(0x1a2)](_0x52a923)>-0x1?(_0x39d0a4+=_0x4d8326(0x1f2)+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1da),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b[_0x4d8326(0x1c9)]+_0x4d8326(0x200)):(_0x39d0a4+='\x20\x20\x20\x20@Rule(\x27'+_0x33483b[_0x4d8326(0x1f6)]+_0x4d8326(0x1c1),_0x39d0a4+=_0x4d8326(0x1ca)+_0x33483b['Field']+_0x4d8326(0x200));}}}}}_0x39d0a4+=_0x4d8326(0x209),_0x39d0a4+=_0x4d8326(0x1cb);(_0xa4face===null||_0xa4face===void 0x0?void 0x0:_0xa4face[_0x4d8326(0x1fe)](_0x451dce=>typeof _0x451dce!=_0x4d8326(0x1a8)))?_0x119d77+=_0x4d8326(0x1ee):_0x119d77+=_0x4d8326(0x1ec);_0x3b00a2&&(_0x119d77+=_0x4d8326(0x1e1)+_0x2b022+_0x4d8326(0x1cd)+(typeof _0x68d4be==_0x4d8326(0x1e6)?_0x4d8326(0x1ac)+_0x68d4be:'@/'+_0x2c94c6)+'/enums/'+_0x5240cd+'\x27;\x0a');_0x119d77+='\x0a',_0x119d77+=_0x4d8326(0x1e9),_0x119d77+=_0x4d8326(0x1d2)+_0x34a5c4+'\x0a',_0x119d77+=_0x4d8326(0x1d3),_0x119d77+=_0x4d8326(0x1a0),_0x119d77+=_0x4d8326(0x207)+_0x2b022+_0x4d8326(0x1fc),_0x119d77+=_0x4d8326(0x206),_0x119d77+=_0x4d8326(0x20f);for(const _0x7de860 of _0xa4face){typeof _0x7de860==_0x4d8326(0x1e6)&&(_0x119d77+=_0x4d8326(0x207)+_0x7de860[_0x4d8326(0x1b2)](0x0,0x1)[_0x4d8326(0x20d)]()+_0x7de860[_0x4d8326(0x1b2)](0x1)[_0x4d8326(0x1f1)]()+_0x2b022+_0x4d8326(0x1f5)+_0x2b022+_0x4d8326(0x1b6),_0x119d77+='}\x0a\x0a');}_0x119d77=_0x119d77['replace']('%DtoColumn%',_0x39d0a4),fs[_0x4d8326(0x19f)](_0x3f4c48,_0x119d77,_0x4d8326(0x1f9));}}async function DTOSearch({controllers:_0x33834d,tablestartUp:_0x205fd9,tablestartUpShort:_0x3120ed,basedir:_0x5abbc2,Fields:_0x1641bf,Primary:_0x135ec6,Comment:_0x53bc22,moduleName:_0x15e64a,apporbasic:_0x2fab81}){const _0x10f2e2=a10_0x382fb7,_0x5b4a34=_0x5abbc2+('/validators/'+_0x3120ed+_0x10f2e2(0x1db));if(!fs[_0x10f2e2(0x1a9)](_0x5b4a34)){let _0x683a1='',_0x33d35b='',_0x4a1d59=![];for(let _0x2c3f62 of[{[_0x135ec6[_0x10f2e2(0x1c9)]]:_0x135ec6},_0x1641bf]){for(let _0x45b8e1 in _0x2c3f62){let _0x14acc4=_0x2c3f62[_0x45b8e1],_0x5af2bb=(0x0,helper_1[_0x10f2e2(0x1d6)])(_0x14acc4[_0x10f2e2(0x201)]);if(_0x14acc4[_0x10f2e2(0x1c9)]=='displayorder'||_0x14acc4[_0x10f2e2(0x1c9)]==_0x10f2e2(0x1eb)||_0x14acc4['Field']=='updated_at'||_0x14acc4[_0x10f2e2(0x1c9)]==_0x10f2e2(0x19b))continue;if(['text',_0x10f2e2(0x1bb),_0x10f2e2(0x1c5)][_0x10f2e2(0x1a2)](_0x5af2bb)!=-0x1){}else{if(['float',_0x10f2e2(0x1fd),'decimal',_0x10f2e2(0x1fb)]['indexOf'](_0x5af2bb)!=-0x1)_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4['Comment']+_0x10f2e2(0x20c),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1d1);else{if([_0x10f2e2(0x1b3)][_0x10f2e2(0x1a2)](_0x5af2bb)!=-0x1)_0x4a1d59=!![],_0x683a1+='\x20\x20\x20\x20@Rule(\x27'+_0x14acc4['Comment']+_0x10f2e2(0x216)+_0x205fd9+'Enum,\x20\x27'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x213),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1d1);else{if(_0x5af2bb=='json'){}else{if(_0x5af2bb=='enum'){let _0x4d2423=(0x0,helper_1[_0x10f2e2(0x1d0)])(_0x14acc4[_0x10f2e2(0x201)]);_0x683a1+='\x20\x20\x20\x20@Rule(\x27'+_0x14acc4[_0x10f2e2(0x1f6)]+'\x27,\x20RuleType.string().valid(\x27'+_0x4d2423[_0x10f2e2(0x1f0)]('\x27,\x20\x27')+_0x10f2e2(0x214),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x1b7)+_0x4d2423[_0x10f2e2(0x1f0)]('\x27\x20|\x20\x27')+_0x10f2e2(0x1b4);}else[_0x10f2e2(0x20e),_0x10f2e2(0x1fa),'timestamp'][_0x10f2e2(0x1a2)](_0x5af2bb)>-0x1?(_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4['Comment']+_0x10f2e2(0x1c1),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4[_0x10f2e2(0x1c9)]+'?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1de),_0x683a1+='\x20\x20\x20\x20'+_0x14acc4['Field']+_0x10f2e2(0x1ce),_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1c2),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4['Field']+'_start?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+'\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x683a1+='\x20\x20\x20\x20'+_0x14acc4[_0x10f2e2(0x1c9)]+_0x10f2e2(0x1c8)):(_0x683a1+=_0x10f2e2(0x1f2)+_0x14acc4[_0x10f2e2(0x1f6)]+_0x10f2e2(0x1c1),_0x683a1+=_0x10f2e2(0x1ca)+_0x14acc4[_0x10f2e2(0x1c9)]+'?:\x20string;\x0a\x0a');}}}}}}_0x683a1+='\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a',_0x683a1+=_0x10f2e2(0x1cb),_0x683a1+=_0x10f2e2(0x1ed),_0x683a1+=_0x10f2e2(0x19d),_0x683a1+=_0x10f2e2(0x1ad),_0x683a1+='\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a',_0x683a1+=_0x10f2e2(0x1e5),_0x683a1+=_0x10f2e2(0x1dd),_0x683a1+=_0x10f2e2(0x204),_0x683a1+=_0x10f2e2(0x1d8),_0x683a1+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',_0x683a1+=_0x10f2e2(0x202),_0x683a1+=_0x10f2e2(0x1ba),_0x683a1+=_0x10f2e2(0x1f4);(_0x33834d===null||_0x33834d===void 0x0?void 0x0:_0x33834d[_0x10f2e2(0x1fe)](_0x56591b=>typeof _0x56591b!=_0x10f2e2(0x1a8)))?_0x33d35b+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x33d35b+=_0x10f2e2(0x1ec);_0x4a1d59&&(_0x33d35b+=_0x10f2e2(0x1e1)+_0x205fd9+_0x10f2e2(0x1cd)+(typeof _0x15e64a=='string'?'@/apps/'+_0x15e64a:'@/'+_0x2fab81)+_0x10f2e2(0x203)+_0x3120ed+_0x10f2e2(0x1d7));_0x33d35b+='\x0a',_0x33d35b+='/**\x0a',_0x33d35b+='\x20*\x20'+_0x53bc22+'\x0a',_0x33d35b+=_0x10f2e2(0x210),_0x33d35b+='\x20*\x20**/\x0a',_0x33d35b+=_0x10f2e2(0x207)+_0x205fd9+_0x10f2e2(0x20b),_0x33d35b+=_0x10f2e2(0x1a6),_0x33d35b+=_0x10f2e2(0x20f);for(const _0x34cc75 of _0x33834d){typeof _0x34cc75==_0x10f2e2(0x1e6)&&(_0x33d35b+='export\x20class\x20'+_0x34cc75[_0x10f2e2(0x1b2)](0x0,0x1)[_0x10f2e2(0x20d)]()+_0x34cc75[_0x10f2e2(0x1b2)](0x1)[_0x10f2e2(0x1f1)]()+_0x205fd9+_0x10f2e2(0x1bd)+_0x205fd9+_0x10f2e2(0x1d9),_0x33d35b+='}\x0a\x0a');}_0x33d35b=_0x33d35b['replace'](_0x10f2e2(0x1a6),_0x683a1),fs[_0x10f2e2(0x19f)](_0x5b4a34,_0x33d35b,_0x10f2e2(0x1f9));}}function a10_0x519f(){const _0x2068c0=['__esModule','Enum,\x20\x27','\x27,\x20RuleType.string())\x0a','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a',':\x20string;\x0a\x0a','363aSVkDu','mediumtext','/Create.ts','\x27,\x20\x27','_end?:\x20string;\x0a\x0a','Field','\x20\x20\x20\x20','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','538060RawBRe','Enum\x20}\x20from\x20\x27','_between?:\x20string[];\x0a\x0a','\x27,\x20RuleType.any())\x0a','getEnum','?:\x20number;\x0a\x0a','\x20*\x20','\x20*\x20数据更新验证\x0a','/validators/','(((.+)+)+)+$','getProp','\x27;\x0a','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x27,\x20RuleType.date())\x0a','/Search.ts','updated_at','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','defineProperty','1261660joPMmo','import\x20{\x20','7tGmfmQ','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','32mtkbuP','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','string','YES','timestamp','/**\x0a','.required()','created_at','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','decimal','join','toLowerCase','\x20\x20\x20\x20@Rule(\x27','constructor','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','DTOUpdate\x20extends\x20OmitDto(','Comment',':\x20\x27','default','utf-8','datetime','number','DTOUpdate\x20{\x0a\x0a','double','find','152BRXJQn','?:\x20string;\x0a\x0a','Type','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','/enums/','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','3090951blhFKM','%DtoColumn%','export\x20class\x20','\x27))','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','\x27,\x20RuleType.number()','DTOSearch\x20{\x0a\x0a','\x27,\x20RuleType.number())\x0a','toUpperCase','date','}\x0a\x0a','\x20*\x20数据检索验证\x0a','/Update.ts',':\x20any\x20|\x20any[];\x0a\x0a','\x27)))\x0a','\x27))\x0a','\x27\x20|\x20\x27','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','deleted_at','1011231bgEexS','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','toString','writeFileSync','\x20*\x20**/\x0a','displayorder','indexOf','float','json',':\x20number;\x0a\x0a','%SearchDtoColumn%','1771296vmXUAA','boolean','existsSync','\x27,\x20RuleType.date()','enum','@/apps/','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','apply','835664xsRWeC','text','search','substring','tinyint','\x27;\x0a\x0a','../helper','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','?:\x20\x27','8559bkvtVB','\x20*\x20数据添加验证\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','longtext','Null','DTOSearch\x20extends\x20OmitDto(','\x27,\x20RuleType.string().valid(\x27'];a10_0x519f=function(){return _0x2068c0;};return a10_0x519f();}
@@ -1 +1 @@
1
- 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
+ const a11_0x1fbfb9=a11_0x718c;(function(_0x27da9b,_0x470646){const _0x5a7d53=a11_0x718c,_0x3040de=_0x27da9b();while(!![]){try{const _0x300e7e=parseInt(_0x5a7d53(0x8b))/0x1+parseInt(_0x5a7d53(0x98))/0x2+-parseInt(_0x5a7d53(0xaa))/0x3+parseInt(_0x5a7d53(0xb7))/0x4+parseInt(_0x5a7d53(0x8c))/0x5*(parseInt(_0x5a7d53(0xa5))/0x6)+-parseInt(_0x5a7d53(0xb1))/0x7*(-parseInt(_0x5a7d53(0xb5))/0x8)+-parseInt(_0x5a7d53(0x9a))/0x9;if(_0x300e7e===_0x470646)break;else _0x3040de['push'](_0x3040de['shift']());}catch(_0x3f40c0){_0x3040de['push'](_0x3040de['shift']());}}}(a11_0x4fba,0xf2c75));function a11_0x718c(_0x413dcc,_0x1b62f3){const _0x34b0c1=a11_0x4fba();return a11_0x718c=function(_0x1464b6,_0x470444){_0x1464b6=_0x1464b6-0x8b;let _0x4fba28=_0x34b0c1[_0x1464b6];return _0x4fba28;},a11_0x718c(_0x413dcc,_0x1b62f3);}const a11_0x470444=(function(){let _0xd00bdc=!![];return function(_0xf964f6,_0x2ac6c8){const _0x44ec0a=_0xd00bdc?function(){const _0x2e9d3d=a11_0x718c;if(_0x2ac6c8){const _0xf3ffc0=_0x2ac6c8[_0x2e9d3d(0xa0)](_0xf964f6,arguments);return _0x2ac6c8=null,_0xf3ffc0;}}:function(){};return _0xd00bdc=![],_0x44ec0a;};}()),a11_0x1464b6=a11_0x470444(this,function(){const _0x138611=a11_0x718c;return a11_0x1464b6[_0x138611(0xa8)]()[_0x138611(0xb8)]('(((.+)+)+)+$')[_0x138611(0xa8)]()[_0x138611(0xac)](a11_0x1464b6)['search'](_0x138611(0xbc));});a11_0x1464b6();'use strict';Object[a11_0x1fbfb9(0xba)](exports,a11_0x1fbfb9(0x91),{'value':!![]});const fs=require('fs'),path_1=require(a11_0x1fbfb9(0x95));async function default_1({tablestartUpShort:_0x133fa7,tablestartUpShort2:_0x4f67b1,moduleName:_0x467a2,controller:_0x50531c,Comment:_0x21fa01,apporbasic:_0x153bb8,Primary:_0x55b807}){const _0x3bfb75=a11_0x1fbfb9;let _0x2c9e19=process[_0x3bfb75(0xb6)]()+_0x3bfb75(0xa4)+(typeof _0x50531c==_0x3bfb75(0x9c)?'/'+_0x50531c:'');_0x467a2?_0x2c9e19=_0x2c9e19+(_0x3bfb75(0x8f)+_0x467a2+'/apis/'+_0x133fa7+_0x3bfb75(0x9e)):_0x2c9e19=_0x2c9e19+(_0x3bfb75(0x8e)+_0x153bb8+_0x3bfb75(0x90)+_0x133fa7+_0x3bfb75(0x9e));if(!fs[_0x3bfb75(0xbb)](_0x2c9e19)){const _0x50747d=''+(typeof _0x50531c==_0x3bfb75(0x9c)?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0xa9),_0x3b52f7=''+(typeof _0x50531c=='string'?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+'/list',_0x5caef3=''+(typeof _0x50531c==_0x3bfb75(0x9c)?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0xb9)+_0x55b807['Field'],_0x548813=''+(typeof _0x50531c==_0x3bfb75(0x9c)?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0xab)+_0x55b807[_0x3bfb75(0x94)],_0x5f23e0=''+(typeof _0x50531c=='string'?_0x50531c+'/':'')+(_0x467a2?_0x467a2+'/':'')+_0x4f67b1+_0x3bfb75(0x99);let _0x39ef4f='\x0a\x0a';_0x39ef4f+=_0x3bfb75(0xb2)+_0x21fa01+'\x0a',_0x39ef4f+=_0x3bfb75(0xa2)+_0x133fa7+_0x3bfb75(0x92),_0x39ef4f+='\x20\x20\x20\x20add:{\x0a',_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x21fa01+_0x3bfb75(0x9d),_0x39ef4f+=_0x3bfb75(0xa7)+_0x50747d+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x8d),_0x39ef4f+=_0x3bfb75(0x9b),_0x39ef4f+=_0x3bfb75(0xb4),_0x39ef4f+=_0x3bfb75(0x96)+_0x21fa01+_0x3bfb75(0xbe),_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x5caef3+'\x27\x0a',_0x39ef4f+='\x20\x20\x20\x20},\x0a',_0x39ef4f+=_0x3bfb75(0xa3),_0x39ef4f+=_0x3bfb75(0xb0),_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x21fa01+_0x3bfb75(0xa6),_0x39ef4f+=_0x3bfb75(0xa7)+_0x3b52f7+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x8d),_0x39ef4f+=_0x3bfb75(0xb3),_0x39ef4f+=_0x3bfb75(0xb0),_0x39ef4f+=_0x3bfb75(0x96)+_0x21fa01+_0x3bfb75(0xbd),_0x39ef4f+=_0x3bfb75(0xa7)+_0x548813+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x8d),_0x39ef4f+=_0x3bfb75(0xad),_0x39ef4f+=_0x3bfb75(0xb4),_0x39ef4f+=_0x3bfb75(0x96)+_0x21fa01+_0x3bfb75(0x97),_0x39ef4f+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x5f23e0+'\x27\x0a',_0x39ef4f+=_0x3bfb75(0x93),_0x39ef4f+='}\x0a',fs[_0x3bfb75(0xae)]((0x0,path_1[_0x3bfb75(0xa1)])(_0x2c9e19),{'recursive':!![]}),fs[_0x3bfb75(0x9f)](_0x2c9e19,_0x39ef4f,_0x3bfb75(0xaf));}}function a11_0x4fba(){const _0x356ba4=['3564656WqiEnb','search','/edit/:','defineProperty','existsSync','(((.+)+)+)+$','@详情\x27,\x0a','@编辑\x27,\x0a','629412PlJzHt','3575JryzhH','\x20\x20\x20\x20},\x0a','/pages/','/pages/apps/','/apis/','__esModule','\x20=\x20{\x0a','\x20\x20\x20\x20}\x0a','Field','path','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','@删除\x27,\x0a','2117664aYTAuU','/remove','23047308DhUsMe','\x20\x20\x20\x20edit:{\x0a','string','@添加\x27,\x0a','.js','writeFileSync','apply','dirname','export\x20const\x20','\x20\x20\x20\x20list:{\x0a','/vue','9474LdkJEp','@列表\x27,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','toString','/add','4121499KOVmmM','/detail/:','constructor','\x20\x20\x20\x20remove:{\x0a','mkdirSync','utf-8','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','21UTbacm','//\x20','\x20\x20\x20\x20detail:{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','3255128nNnHUB','cwd'];a11_0x4fba=function(){return _0x356ba4;};return a11_0x4fba();}exports['default']=default_1;
@@ -1 +1 @@
1
- const a12_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
+ function a12_0x41c4(){const _0x40ffea=['string','writeFileSync','{title:\x20\x22','},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','9313569PdJmrg','\x20\x20\x20\x20</page-layout>\x0a','4318145wIAEiX','21zFWFoJ','120WOHzls','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','utf-8','401712RhCWbe','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','88081hDTVIm','</script>\x0a\x0a','cwd','path','</template>\x0a\x0a','/vue','/layout.vue','search','71946SwkeOY','apply','__esModule','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','dirname','mkdirSync','default','<script>\x0a','171986WFWZZW','//\x20add\x20menu\x20here','existsSync','export\x20default\x20{\x0a','50691WFIfWj','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','padEnd','<template>\x0a','toString','/pages/apps/',',\x20path:\x20\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','\x20\x20\x20\x20data()\x20{\x0a'];a12_0x41c4=function(){return _0x40ffea;};return a12_0x41c4();}const a12_0x330cef=a12_0x19f3;function a12_0x19f3(_0x5e7d31,_0x5f4135){const _0x5f46f5=a12_0x41c4();return a12_0x19f3=function(_0x3f0902,_0x287624){_0x3f0902=_0x3f0902-0x1d6;let _0x41c463=_0x5f46f5[_0x3f0902];return _0x41c463;},a12_0x19f3(_0x5e7d31,_0x5f4135);}(function(_0x3217f8,_0x51d5c3){const _0x4c780a=a12_0x19f3,_0x55eccf=_0x3217f8();while(!![]){try{const _0x4ec089=-parseInt(_0x4c780a(0x1fb))/0x1+-parseInt(_0x4c780a(0x1f7))/0x2*(-parseInt(_0x4c780a(0x1e0))/0x3)+-parseInt(_0x4c780a(0x1e4))/0x4+-parseInt(_0x4c780a(0x1df))/0x5+parseInt(_0x4c780a(0x1ee))/0x6+parseInt(_0x4c780a(0x1e6))/0x7*(-parseInt(_0x4c780a(0x1e1))/0x8)+parseInt(_0x4c780a(0x1dd))/0x9;if(_0x4ec089===_0x51d5c3)break;else _0x55eccf['push'](_0x55eccf['shift']());}catch(_0x39838f){_0x55eccf['push'](_0x55eccf['shift']());}}}(a12_0x41c4,0x6cb6a));const a12_0x287624=(function(){let _0xd90677=!![];return function(_0x570f56,_0x4b07a2){const _0x4a5fb0=_0xd90677?function(){const _0x22d25e=a12_0x19f3;if(_0x4b07a2){const _0x354581=_0x4b07a2[_0x22d25e(0x1ef)](_0x570f56,arguments);return _0x4b07a2=null,_0x354581;}}:function(){};return _0xd90677=![],_0x4a5fb0;};}()),a12_0x3f0902=a12_0x287624(this,function(){const _0x90a24a=a12_0x19f3;return a12_0x3f0902[_0x90a24a(0x1ff)]()['search']('(((.+)+)+)+$')[_0x90a24a(0x1ff)]()['constructor'](a12_0x3f0902)[_0x90a24a(0x1ed)]('(((.+)+)+)+$');});a12_0x3f0902();'use strict';Object['defineProperty'](exports,a12_0x330cef(0x1f0),{'value':!![]});const fs=require('fs'),path_1=require(a12_0x330cef(0x1e9));async function default_1({tablestartUpShort2:_0x43c3c7,controller:_0x487bcc,moduleName:_0x17251a,Comment:_0x5c49f5,apporbasic:_0x3b1379}){const _0x5b8984=a12_0x330cef;let _0x10ce51=process[_0x5b8984(0x1e8)]()+_0x5b8984(0x1eb)+(typeof _0x487bcc==_0x5b8984(0x1d9)?'/'+_0x487bcc:'');_0x17251a?_0x10ce51=_0x10ce51+(_0x5b8984(0x200)+_0x17251a+_0x5b8984(0x1ec)):_0x10ce51=_0x10ce51+('/pages/'+_0x3b1379+'/layout.vue');await createLayout(_0x10ce51);const _0x5ed8e8=fs['readFileSync'](_0x10ce51,_0x5b8984(0x1e3));fs[_0x5b8984(0x1da)](_0x10ce51,_0x5ed8e8['replace'](_0x5b8984(0x1f8),_0x5b8984(0x1db)+(_0x5c49f5+'\x22')['padEnd'](0x14)+_0x5b8984(0x1d6)+(''+(typeof _0x17251a=='string'?'/apps-'+_0x17251a+'/':'/'+_0x3b1379+'/')+_0x43c3c7+'\x22')[_0x5b8984(0x1fd)](0x14)+_0x5b8984(0x1dc)));}exports[a12_0x330cef(0x1f5)]=default_1;async function createLayout(_0x2a8c12){const _0x57a082=a12_0x330cef;if(!fs[_0x57a082(0x1f9)](_0x2a8c12)){let _0x43580c=_0x57a082(0x1fe);_0x43580c+=_0x57a082(0x1f1),_0x43580c+=_0x57a082(0x1de),_0x43580c+=_0x57a082(0x1ea),_0x43580c+=_0x57a082(0x1f6),_0x43580c+=_0x57a082(0x1fa),_0x43580c+=_0x57a082(0x1d8),_0x43580c+=_0x57a082(0x1f2),_0x43580c+=_0x57a082(0x1e2),_0x43580c+=_0x57a082(0x1d7),_0x43580c+=_0x57a082(0x1e5),_0x43580c+=_0x57a082(0x1fc),_0x43580c+='\x20\x20\x20\x20},\x0a',_0x43580c+='}\x0a',_0x43580c+=_0x57a082(0x1e7),fs[_0x57a082(0x1f4)]((0x0,path_1[_0x57a082(0x1f3)])(_0x2a8c12),{'recursive':!![]}),fs['writeFileSync'](_0x2a8c12,_0x43580c,'utf-8');}}
@@ -1 +1 @@
1
- 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
+ const a13_0x1c40f8=a13_0x2665;function a13_0x2665(_0x1d55fe,_0x54fc32){const _0x3f7dce=a13_0x2399();return a13_0x2665=function(_0x36825f,_0x52a5b7){_0x36825f=_0x36825f-0x1d1;let _0x2399c8=_0x3f7dce[_0x36825f];return _0x2399c8;},a13_0x2665(_0x1d55fe,_0x54fc32);}(function(_0x39f08b,_0x27cfa8){const _0x1e19f7=a13_0x2665,_0xe1d2bb=_0x39f08b();while(!![]){try{const _0x38593a=-parseInt(_0x1e19f7(0x24d))/0x1+parseInt(_0x1e19f7(0x225))/0x2+-parseInt(_0x1e19f7(0x253))/0x3*(-parseInt(_0x1e19f7(0x270))/0x4)+parseInt(_0x1e19f7(0x28c))/0x5*(parseInt(_0x1e19f7(0x21a))/0x6)+parseInt(_0x1e19f7(0x1f5))/0x7*(parseInt(_0x1e19f7(0x251))/0x8)+-parseInt(_0x1e19f7(0x22e))/0x9+-parseInt(_0x1e19f7(0x21e))/0xa*(parseInt(_0x1e19f7(0x27a))/0xb);if(_0x38593a===_0x27cfa8)break;else _0xe1d2bb['push'](_0xe1d2bb['shift']());}catch(_0x37e18e){_0xe1d2bb['push'](_0xe1d2bb['shift']());}}}(a13_0x2399,0xe9841));const a13_0x52a5b7=(function(){let _0x496ace=!![];return function(_0x512201,_0x345345){const _0x24ba43=_0x496ace?function(){const _0x1d11ee=a13_0x2665;if(_0x345345){const _0x590694=_0x345345[_0x1d11ee(0x1d4)](_0x512201,arguments);return _0x345345=null,_0x590694;}}:function(){};return _0x496ace=![],_0x24ba43;};}()),a13_0x36825f=a13_0x52a5b7(this,function(){const _0x46645c=a13_0x2665;return a13_0x36825f[_0x46645c(0x28d)]()[_0x46645c(0x239)](_0x46645c(0x250))[_0x46645c(0x28d)]()['constructor'](a13_0x36825f)[_0x46645c(0x239)](_0x46645c(0x250));});a13_0x36825f();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a13_0x1c40f8(0x1ee)),helper_1=require('../helper');async function default_1({moduleName:_0x21cced,controller:_0x335b92,tablestartUpShort:_0x338174,tablestartUpShort2:_0x2cf744,Primary:_0x19e5d5,Fields:_0x16da04,apporbasic:_0x1b9e6a,Comment:_0x378b87}){const _0x3f3c60=a13_0x1c40f8;await createIndex({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a}),await createSearch({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a}),await createAddOrEdit({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a,'Comment':_0x378b87},'add'),await createAddOrEdit({'moduleName':_0x21cced,'controller':_0x335b92,'tablestartUpShort':_0x338174,'tablestartUpShort2':_0x2cf744,'Primary':_0x19e5d5,'Fields':_0x16da04,'apporbasic':_0x1b9e6a,'Comment':_0x378b87},_0x3f3c60(0x26d));}exports[a13_0x1c40f8(0x241)]=default_1;async function createIndex({moduleName:_0x26e721,controller:_0x365ff9,tablestartUpShort:_0x3773e6,tablestartUpShort2:_0x509e15,Primary:_0x4f1733,Fields:_0x16171c,apporbasic:_0x2857cc}){const _0x4c24a8=a13_0x1c40f8;let _0x3baa81=process[_0x4c24a8(0x27e)]()+_0x4c24a8(0x28a)+(typeof _0x365ff9==_0x4c24a8(0x22c)?'/'+_0x365ff9:'');_0x26e721?_0x3baa81=_0x3baa81+(_0x4c24a8(0x1d7)+_0x26e721+'/template/'+_0x509e15+_0x4c24a8(0x1e5)):_0x3baa81=_0x3baa81+(_0x4c24a8(0x221)+_0x2857cc+_0x4c24a8(0x1d9)+_0x509e15+_0x4c24a8(0x1e5));if(!fs['existsSync'](_0x3baa81)){const _0x3cf226=(typeof _0x26e721==_0x4c24a8(0x22c)?_0x4c24a8(0x258)+_0x26e721+'.':'$'+_0x2857cc+'Api.')+(''+_0x3773e6);let _0xe603a9=_0x4c24a8(0x20d)+('\x22'+_0x4f1733['Field']+'\x22')[_0x4c24a8(0x26f)](0x14)+(_0x4c24a8(0x206)+(_0x4f1733[_0x4c24a8(0x215)]||'编号')+_0x4c24a8(0x1db));for(let _0x2cc4f5 in _0x16171c){const _0x38b365=_0x16171c[_0x2cc4f5];if(['created_at',_0x4c24a8(0x1f0),_0x4c24a8(0x235),'displayorder'][_0x4c24a8(0x27d)](_0x2cc4f5)!=-0x1)continue;if(_0x2cc4f5['substr'](-0x3)==_0x4c24a8(0x220)||_0x2cc4f5[_0x4c24a8(0x1d3)](-0x5)==_0x4c24a8(0x261)||_0x2cc4f5=='thumb'||_0x2cc4f5[_0x4c24a8(0x1d3)](-0x4)=='logo'||_0x2cc4f5==_0x4c24a8(0x1df))_0xe603a9+='\x0a'+_0x4c24a8(0x219)+_0x4c24a8(0x20d)+('\x22'+_0x2cc4f5+'\x22')['padEnd'](0x14)+(_0x4c24a8(0x206)+(_0x38b365['Comment']||_0x38b365['Field'])+_0x4c24a8(0x25c)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<template\x20#default=\x22scope\x22>',_0xe603a9+='\x0a'+_0x4c24a8(0x20a)+'<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0xe603a9+='\x0a'+_0x4c24a8(0x269)+(_0x4c24a8(0x26c)+_0x2cc4f5+_0x4c24a8(0x1ea)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4c24a8(0x256)+_0x2cc4f5+_0x4c24a8(0x22b)),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4c24a8(0x1fc),_0xe603a9+='\x0a'+_0x4c24a8(0x269)+_0x4c24a8(0x27b),_0xe603a9+='\x0a'+_0x4c24a8(0x23a)+(_0x4c24a8(0x256)+_0x2cc4f5+_0x4c24a8(0x260)),_0xe603a9+='\x0a'+_0x4c24a8(0x269)+_0x4c24a8(0x22a),_0xe603a9+='\x0a'+_0x4c24a8(0x20a)+_0x4c24a8(0x1fd),_0xe603a9+='\x0a'+_0x4c24a8(0x288)+_0x4c24a8(0x22a),_0xe603a9+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-table-column>';else[_0x4c24a8(0x1f7),_0x4c24a8(0x1e4)][_0x4c24a8(0x27d)]((0x0,helper_1[_0x4c24a8(0x209)])(_0x38b365['Type']))==-0x1&&(_0xe603a9+='\x0a'+_0x4c24a8(0x219)+_0x4c24a8(0x20d)+('\x22'+_0x2cc4f5+'\x22')[_0x4c24a8(0x26f)](0x14)+(_0x4c24a8(0x206)+(_0x38b365[_0x4c24a8(0x215)]||_0x38b365[_0x4c24a8(0x273)])+_0x4c24a8(0x280)));}fs[_0x4c24a8(0x24b)]((0x0,path_1[_0x4c24a8(0x25d)])(_0x3baa81),{'recursive':!![]}),fs[_0x4c24a8(0x203)](_0x3baa81,_0x4c24a8(0x231)+_0x3cf226+_0x4c24a8(0x271)+(_0x26e721?_0x4c24a8(0x1e7)+_0x26e721+'/':_0x2857cc+'/')+_0x509e15+'/add`)\x22\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xe603a9+_0x4c24a8(0x1d1)+_0x3cf226+'.edit.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x26e721?'apps-'+_0x26e721+'/':_0x2857cc+'/')+_0x509e15+_0x4c24a8(0x200)+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x264)+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x26b)+_0x3cf226+_0x4c24a8(0x1e6)+_0x3cf226+_0x4c24a8(0x217)+_0x4f1733['Field']+_0x4c24a8(0x1f1)+_0x3cf226+_0x4c24a8(0x1e2)+_0x4f1733['Field']+':\x20item.'+_0x4f1733[_0x4c24a8(0x273)]+_0x4c24a8(0x21c),_0x4c24a8(0x1e0));}}function a13_0x2399(){const _0x29b938=['apps/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','<el-input-number\x20v-model=\x22formdata.','AddRule,\x0a','timestamp','Comment','\x20\x20\x20\x20','.list(Object.assign({},\x20this.table.search,\x20sortable)).then(res=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.table.data\x20=\x20res.data\x20||\x20[],\x20this.table.search\x20=\x20{\x20...this.table.search,\x20...res.extra.pageinfo,\x20_count:\x20res.extra.pagetotal\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要删除的数据\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20handlerRemove(item){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20item.','\x20\x20\x20\x20methods:\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','12ApnuGY','\x22\x20:limit=\x221\x22\x20/>','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','30zpSpAs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','img','/pages/','_id','<el-input\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','2455706RjvZyM','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<page-editor\x20v-model=\x22formdata.','Api.','</template>','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','string','<el-select-tags\x20v-model=\x22formdata.','85581JteidV','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','\x22\x20clearable/>','<template>\x0a\x20\x20\x20\x20<page\x20:loading=\x22loading\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<page-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20@transform=\x22LoadDatas\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#search>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<search\x20v-model:search=\x22table.search\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#header>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\x22\x20placeholder=\x22选择','deleted_at','\x22\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','displayorder','search','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','thumbs','</el-form-item>',');\x0a','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x22\x20placeholder=\x22请选择','</script>\x0a','default','\x20}).then(res=>{\x0a','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','<el-input\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','\x22\x20placeholder=\x22请输入','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','1304554SpeGsL','<el-date-picker\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.formdata\x20=\x20res.data,\x20this.loading\x20=\x20false;\x0a','(((.+)+)+)+$','82872tFTZKd','<el-select\x20v-model=\x22formdata.','2565mpjRnb','number','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','<img\x20:src=\x22scope.row.','existsSync','$appsApi.','.hasPrem()\x22>\x0a','\x22\x20value=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20this.$router.back();\x0a','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','dirname','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','\x20\x20\x20\x20mounted(){\x0a','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','thumb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','<el-form-item\x20label=\x22','import\x20{\x20','\x20\x20\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AddRule\x20}\x20from\x20\x27@','}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','<a\x20:href=\x22scope.row.','edit','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','padEnd','708KFPQTY','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Field','add','datetime','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',')\x20{\x0a','enum','2175074HZeyXN','<template\x20#reference>','_start\x22\x20placeholder=\x22选择','indexOf','cwd','num','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x22\x20class=\x22block\x22>','export\x20default\x20{\x0a','endsWith','\x22\x20split=\x22-\x22\x20clearable/>','\x22\x20placeholder=\x22请输入或选择','<page-images\x20v-model=\x22formdata.','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-date-picker\x20v-model=\x22formdata.','/vue','getEnum','500105IOeGlE','toString','\x22\x20\x20placeholder=\x22请输入','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','substr','apply','>=\x22>','/index.vue','/pages/apps/','<el-select\x20v-model=\x22search.','/template/','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','<script>\x0a','</el-select>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','logo','utf-8','Type','.remove({\x20','<template>\x0a','longtext','/list/index.vue','.remove.hasPrem()\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</page-table>\x0a\x20\x20\x20\x20</page>\x0a</template>\x0a<script>\x0aimport\x20search\x20from\x20\x22./components/search.vue\x22\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20components:\x20{\x20search\x20},\x0a\x20\x20\x20\x20data(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20table:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data:[],\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_page:1,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_size:20,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_count:0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20mounted()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20Object.assign(this.table.search,this.$route.params,this.$route.query),this.LoadDatas();\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20methods:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取数据列表\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20page\x20分页-当前页\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20LoadDatas(page\x20,\x20size,\x20sortable\x20=\x20{}){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page\x20&&\x20(this.table.search._page\x20=\x20page),size\x20&&\x20(this.table.search._size\x20=\x20size),this.loading\x20=\x20true;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','apps-','</template>\x0a','\x20\x20\x20\x20data(){\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','/add\x27\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','path','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','updated_at','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','date','_end\x22\x20placeholder=\x22选择','868EBcdLO','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','text','<el-select-search\x20v-model=\x22search.','(item).then(res=>{\x0a','created_at','<template>\x0a\x20\x20\x20\x20','</a>','</el-popover>','_ids','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','/edit?','<=\x22>','\x22\x20prop=\x22','writeFileSync','/list/components/search.vue','EditRule,\x0a','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','\x20\x20\x20\x20</page-form>\x0a','getProp','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<el-table-column\x20prop=','/edit\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'];a13_0x2399=function(){return _0x29b938;};return a13_0x2399();}async function createSearch({moduleName:_0x5abe7b,tablestartUpShort2:_0x596c8d,controller:_0x1ede59,Primary:_0x3a93ff,Fields:_0x18e3a2,apporbasic:_0xd22620}){const _0x4d0f85=a13_0x1c40f8;let _0x122d8f=process[_0x4d0f85(0x27e)]()+_0x4d0f85(0x28a)+(typeof _0x1ede59==_0x4d0f85(0x22c)?'/'+_0x1ede59:'');_0x5abe7b?_0x122d8f=_0x122d8f+(_0x4d0f85(0x1d7)+_0x5abe7b+'/template/'+_0x596c8d+'/list/components/search.vue'):_0x122d8f=_0x122d8f+(_0x4d0f85(0x221)+_0xd22620+_0x4d0f85(0x1d9)+_0x596c8d+_0x4d0f85(0x204));if(!fs[_0x4d0f85(0x257)](_0x122d8f)){let _0x25433f='';_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x3a93ff['Comment']||'编号')+'\x22>'),_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22search.'+_0x3a93ff[_0x4d0f85(0x273)]+_0x4d0f85(0x24a)+(_0x3a93ff[_0x4d0f85(0x215)]||'编号')+_0x4d0f85(0x230)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c);for(let _0xae12a in _0x18e3a2){const _0x5960d6=_0x18e3a2[_0xae12a];if([_0x4d0f85(0x1f0),_0x4d0f85(0x235),'displayorder'][_0x4d0f85(0x27d)](_0xae12a)!=-0x1)continue;if(_0xae12a['substr'](-0x3)==_0x4d0f85(0x27f))_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-input-number\x20v-model=\x22search.'+_0xae12a+'\x22\x20placeholder=\x22请输入'+_0x5960d6['Comment']+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>'),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';else{if(_0xae12a[_0x4d0f85(0x283)](_0x4d0f85(0x222))){let _0x1e0d70=''+(typeof _0x1ede59=='string'?_0x1ede59+'/':'')+(_0x5abe7b?_0x5abe7b+'/':'')+_0x596c8d;_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x272)+(_0x4d0f85(0x1f8)+_0xae12a+'\x22\x20api=\x22'+_0x1e0d70+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+_0x4d0f85(0x23c)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x5960d6[_0x4d0f85(0x1e1)])){case _0x4d0f85(0x279):_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x1d8)+_0xae12a+_0x4d0f85(0x23f)+_0x5960d6['Comment']+'\x22\x20clearable>');for(let _0x121865 of(0x0,helper_1[_0x4d0f85(0x28b)])(_0x5960d6[_0x4d0f85(0x1e1)])){_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-option\x20label=\x22'+_0x121865+'\x22\x20value=\x22'+_0x121865+'\x22\x20/>');}_0x25433f+='\x0a'+_0x4d0f85(0x263)+_0x4d0f85(0x1dd),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case'date':_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x20c)),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6['Field'])+_0x4d0f85(0x201)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x1f4)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x287)),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+_0x4d0f85(0x23c)+'\x0a';break;case _0x4d0f85(0x275):_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4d0f85(0x24e)+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x1f6)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a',_0x25433f+='\x0a'+'\x20\x20\x20\x20'+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x201)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-date-picker\x20v-model=\x22search.'+_0xae12a+_0x4d0f85(0x1f4)+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x21d)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case'timestamp':_0x25433f+='\x0a'+_0x4d0f85(0x216)+(_0x4d0f85(0x266)+(_0x5960d6['Comment']||_0x5960d6[_0x4d0f85(0x273)])+_0x4d0f85(0x1d5)),_0x25433f+='\x0a'+_0x4d0f85(0x263)+('<el-date-picker\x20v-model=\x22search.'+_0xae12a+_0x4d0f85(0x27c)+_0x5960d6[_0x4d0f85(0x215)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25433f+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x25433f+='\x0a'+_0x4d0f85(0x216)+('<el-form-item\x20label=\x22'+(_0x5960d6['Comment']||_0x5960d6['Field'])+'<=\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x24e)+_0xae12a+'_end\x22\x20placeholder=\x22选择'+_0x5960d6[_0x4d0f85(0x215)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';break;case _0x4d0f85(0x22c):_0x25433f+='\x0a'+_0x4d0f85(0x216)+('<el-form-item\x20label=\x22'+(_0x5960d6[_0x4d0f85(0x215)]||_0x5960d6[_0x4d0f85(0x273)])+'\x22>'),_0x25433f+='\x0a'+_0x4d0f85(0x263)+(_0x4d0f85(0x248)+_0xae12a+'\x22\x20placeholder=\x22请输入'+_0x5960d6[_0x4d0f85(0x215)]+_0x4d0f85(0x230)),_0x25433f+='\x0a'+_0x4d0f85(0x216)+_0x4d0f85(0x23c)+'\x0a';}}}fs['mkdirSync']((0x0,path_1[_0x4d0f85(0x25d)])(_0x122d8f),{'recursive':!![]}),fs['writeFileSync'](_0x122d8f,_0x4d0f85(0x1fb)+_0x25433f+_0x4d0f85(0x22f),_0x4d0f85(0x1e0));}}async function createAddOrEdit({moduleName:_0x5c92e9,controller:_0x364f22,tablestartUpShort:_0x3c723a,tablestartUpShort2:_0x39b4b9,Primary:_0x3798fa,Fields:_0x2aa2af,apporbasic:_0x27c06a,Comment:_0x844a5b},_0x1f9aaa=a13_0x1c40f8(0x274)){const _0x110f5f=a13_0x1c40f8;let _0x336809=process[_0x110f5f(0x27e)]()+_0x110f5f(0x28a)+(typeof _0x364f22=='string'?'/'+_0x364f22:'');_0x5c92e9?_0x336809=_0x336809+('/pages/apps/'+_0x5c92e9+_0x110f5f(0x1d9)+_0x39b4b9+'/'+_0x1f9aaa+'/index.vue'):_0x336809=_0x336809+('/pages/'+_0x27c06a+'/template/'+_0x39b4b9+'/'+_0x1f9aaa+_0x110f5f(0x1d6));if(!fs[_0x110f5f(0x257)](_0x336809)){const _0x128895=(typeof _0x5c92e9==_0x110f5f(0x22c)?_0x110f5f(0x258)+_0x5c92e9+'.':'$'+_0x27c06a+_0x110f5f(0x229))+(''+_0x3c723a);let _0x41315f='';for(let _0x339cd8 in _0x2aa2af){const _0x41cd39=_0x2aa2af[_0x339cd8];if([_0x110f5f(0x1fa),_0x110f5f(0x1f0),_0x110f5f(0x235),_0x110f5f(0x238)][_0x110f5f(0x27d)](_0x339cd8)!=-0x1)continue;if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)=='imgs'||_0x339cd8[_0x110f5f(0x1d3)](-0x5)==_0x110f5f(0x23b))_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22\x20class=\x22block\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x286)+_0x339cd8+'\x22\x20:limit=\x225\x22\x20/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';else{if(_0x339cd8['substr'](-0x3)==_0x110f5f(0x220)||_0x339cd8[_0x110f5f(0x1d3)](-0x5)==_0x110f5f(0x261)||_0x339cd8==_0x110f5f(0x261)||_0x339cd8[_0x110f5f(0x1d3)](-0x4)==_0x110f5f(0x1df)||_0x339cd8==_0x110f5f(0x1df))_0x41315f+='\x0a'+_0x110f5f(0x263)+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22\x20class=\x22block\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x286)+_0x339cd8+_0x110f5f(0x21b)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)=='tags')_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x22d)+_0x339cd8+_0x110f5f(0x285)+_0x41cd39['Comment']+_0x110f5f(0x284)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8['substr'](-0x3)=='num')_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x212)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1ec)),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x4)==_0x110f5f(0x1fe))_0x41315f+='\x0a'+_0x110f5f(0x263)+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x223)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20clearable/>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';else{if(_0x339cd8[_0x110f5f(0x1d3)](-0x3)==_0x110f5f(0x222)){let _0x166556=''+(typeof _0x364f22==_0x110f5f(0x22c)?_0x364f22+'/':'')+(_0x5c92e9?_0x5c92e9+'/':'')+_0x39b4b9;_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-search\x20v-model=\x22formdata.'+_0x339cd8+'\x22\x20api=\x22'+_0x166556+_0x110f5f(0x227)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';}else switch((0x0,helper_1[_0x110f5f(0x209)])(_0x41cd39[_0x110f5f(0x1e1)])){case _0x110f5f(0x254):_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x212)+_0x339cd8+'\x22\x20placeholder=\x22请输入'+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case _0x110f5f(0x279):_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x252)+_0x339cd8+'\x22\x20placeholder=\x22请选择'+_0x41cd39['Comment']+_0x110f5f(0x236));for(let _0x16d231 of(0x0,helper_1['getEnum'])(_0x41cd39[_0x110f5f(0x1e1)])){_0x41315f+='\x0a'+_0x110f5f(0x219)+('<el-option\x20label=\x22'+_0x16d231+_0x110f5f(0x25a)+_0x16d231+_0x110f5f(0x245));}_0x41315f+='\x0a'+_0x110f5f(0x272)+'</el-select>',_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case'text':_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+_0x110f5f(0x272)+('<el-input\x20v-model=\x22formdata.'+_0x339cd8+_0x110f5f(0x28e)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x243)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x1e4):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+_0x110f5f(0x272)+('<page-editor\x20v-model=\x22formdata.'+_0x339cd8+'\x22\x20/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case'mediumtext':_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+'\x22\x20prop=\x22'+_0x339cd8+_0x110f5f(0x281)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x228)+_0x339cd8+_0x110f5f(0x245)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x1f3):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x110f5f(0x289)+_0x339cd8+_0x110f5f(0x234)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';break;case _0x110f5f(0x275):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x289)+_0x339cd8+'\x22\x20placeholder=\x22选择'+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1de)),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x110f5f(0x23c)+'\x0a';break;case _0x110f5f(0x214):_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39[_0x110f5f(0x215)]||_0x41cd39['Field'])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x289)+_0x339cd8+_0x110f5f(0x234)+_0x41cd39[_0x110f5f(0x215)]+_0x110f5f(0x1de)),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';break;default:_0x41315f+='\x0a'+_0x110f5f(0x263)+(_0x110f5f(0x266)+(_0x41cd39['Comment']||_0x41cd39[_0x110f5f(0x273)])+_0x110f5f(0x202)+_0x339cd8+'\x22>'),_0x41315f+='\x0a'+_0x110f5f(0x272)+(_0x110f5f(0x223)+_0x339cd8+_0x110f5f(0x24a)+_0x41cd39[_0x110f5f(0x215)]+'\x22\x20clearable/>'),_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x23c)+'\x0a';}}}}}}}_0x41315f+='\x0a'+_0x110f5f(0x263)+_0x110f5f(0x226),_0x41315f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x41315f+='\x0a'+_0x110f5f(0x263)+'</el-form-item>'+'\x0a';let _0x5e251f=_0x110f5f(0x1e3);_0x5e251f+='\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22'+(_0x1f9aaa==_0x110f5f(0x274)?'添加'+_0x844a5b:'编辑'+_0x844a5b)+_0x110f5f(0x25e)+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?'add':_0x110f5f(0x26d))+_0x110f5f(0x259),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x41315f+'\x0a',_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x5e251f+=_0x110f5f(0x262)+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?_0x110f5f(0x274):_0x110f5f(0x26d))+_0x110f5f(0x277),_0x5e251f+=_0x110f5f(0x1ef),_0x5e251f+=_0x110f5f(0x208),_0x5e251f+=_0x110f5f(0x1e8),_0x5e251f+=_0x110f5f(0x1dc);if(_0x1f9aaa==_0x110f5f(0x274))_0x5e251f+=_0x110f5f(0x267)+_0x3c723a+_0x110f5f(0x26a)+(_0x5c92e9?_0x110f5f(0x210)+_0x5c92e9:_0x27c06a)+'/validators/'+_0x3c723a+_0x110f5f(0x1eb);else _0x1f9aaa=='edit'&&(_0x5e251f+=_0x110f5f(0x267)+_0x3c723a+'EditRule\x20}\x20from\x20\x27@'+(_0x5c92e9?'apps/'+_0x5c92e9:_0x27c06a)+'/validators/'+_0x3c723a+_0x110f5f(0x20e));_0x5e251f+=_0x110f5f(0x282),_0x5e251f+=_0x110f5f(0x1e9),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a',_0x5e251f+=_0x110f5f(0x237);if(_0x1f9aaa=='add')_0x5e251f+=_0x110f5f(0x265)+_0x3c723a+_0x110f5f(0x213);else _0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x265)+_0x3c723a+_0x110f5f(0x205));_0x5e251f+=_0x110f5f(0x20b),_0x5e251f+=_0x110f5f(0x268),_0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x25f),_0x5e251f+=_0x110f5f(0x224)+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x23d),_0x5e251f+=_0x110f5f(0x268)),_0x5e251f+=_0x110f5f(0x218),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x5e251f+=_0x110f5f(0x26e),_0x5e251f+=_0x110f5f(0x1da),_0x5e251f+=_0x110f5f(0x244),_0x5e251f+=_0x110f5f(0x24c),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a',_0x5e251f+=_0x110f5f(0x232),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.'+_0x128895+'.'+(_0x1f9aaa==_0x110f5f(0x274)?_0x110f5f(0x274):_0x110f5f(0x26d))+_0x110f5f(0x1f9),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20this.$router.back();\x0a',_0x5e251f+=_0x110f5f(0x246),_0x5e251f+=_0x110f5f(0x249),_0x5e251f+=_0x110f5f(0x1ff),_0x5e251f+=_0x110f5f(0x1ed),_0x5e251f+=_0x110f5f(0x20f),_0x1f9aaa==_0x110f5f(0x26d)&&(_0x5e251f+=_0x110f5f(0x23e),_0x5e251f+=_0x110f5f(0x247),_0x5e251f+=_0x110f5f(0x244),_0x5e251f+=_0x110f5f(0x207)+_0x3798fa['Field']+_0x110f5f(0x278),_0x5e251f+=_0x110f5f(0x1d2)+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x278),_0x5e251f+=_0x110f5f(0x233),_0x5e251f+=_0x110f5f(0x1f2)+_0x128895+'.detail({\x20'+_0x3798fa[_0x110f5f(0x273)]+_0x110f5f(0x242),_0x5e251f+=_0x110f5f(0x24f),_0x5e251f+=_0x110f5f(0x276),_0x5e251f+=_0x110f5f(0x25b),_0x5e251f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x5e251f+=_0x110f5f(0x211),_0x5e251f+=_0x110f5f(0x21f),_0x5e251f+=_0x110f5f(0x255),_0x5e251f+=_0x110f5f(0x20f)),_0x5e251f+='\x20\x20\x20\x20},\x0a',_0x5e251f+='}\x0a',_0x5e251f+=_0x110f5f(0x240),fs['mkdirSync']((0x0,path_1[_0x110f5f(0x25d)])(_0x336809),{'recursive':!![]}),fs['writeFileSync'](_0x336809,_0x5e251f,_0x110f5f(0x1e0));}}
@@ -1 +1 @@
1
- const a14_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
+ const a14_0x36fb2d=a14_0xa0c7;(function(_0x273820,_0x2dee1f){const _0xfdb0c3=a14_0xa0c7,_0x287f49=_0x273820();while(!![]){try{const _0x5242d9=-parseInt(_0xfdb0c3(0x1bb))/0x1*(parseInt(_0xfdb0c3(0x1a7))/0x2)+parseInt(_0xfdb0c3(0x1be))/0x3+-parseInt(_0xfdb0c3(0x1c3))/0x4+parseInt(_0xfdb0c3(0x199))/0x5+parseInt(_0xfdb0c3(0x1a3))/0x6*(parseInt(_0xfdb0c3(0x1b7))/0x7)+-parseInt(_0xfdb0c3(0x1b0))/0x8+parseInt(_0xfdb0c3(0x1a6))/0x9;if(_0x5242d9===_0x2dee1f)break;else _0x287f49['push'](_0x287f49['shift']());}catch(_0x1c7cc1){_0x287f49['push'](_0x287f49['shift']());}}}(a14_0x3491,0x768ae));const a14_0x4aec8a=(function(){let _0x11547d=!![];return function(_0x331b4b,_0x4b0bcb){const _0x2e6236=_0x11547d?function(){if(_0x4b0bcb){const _0x19cf26=_0x4b0bcb['apply'](_0x331b4b,arguments);return _0x4b0bcb=null,_0x19cf26;}}:function(){};return _0x11547d=![],_0x2e6236;};}()),a14_0x4143f8=a14_0x4aec8a(this,function(){const _0x401ff3=a14_0xa0c7;return a14_0x4143f8['toString']()[_0x401ff3(0x1b9)](_0x401ff3(0x1ab))[_0x401ff3(0x19e)]()['constructor'](a14_0x4143f8)[_0x401ff3(0x1b9)]('(((.+)+)+)+$');});a14_0x4143f8();'use strict';function a14_0x3491(){const _0x1bb2cc=['//\x20add\x20route\x20here','padEnd','204348mBuntK','replace','/routes.js','8368290UFQlbE','607646ieNrWf','readFileSync','\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','utf-8','(((.+)+)+)+$','existsSync','\x20\x20\x20\x20//\x20redirect:\x20\x22/','path','mkdirSync','3471168LDWgta','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','\x20\x20\x20\x20]\x0a','apps-',',\x20component:\x20()=>\x20import(\x27./template/','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','default','7pHagLW','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','search','/pages/apps/','3NtWpVc','writeFileSync','/edit\x22','1421700cYAXWT','\x20\x20\x20\x20path:\x20\x22/','/vue','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','1589608Ynsqjp','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','3952745oUyYgn','{\x20path:\x20\x22','/pages/','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','\x22,\x0a','toString','defineProperty','/add\x22'];a14_0x3491=function(){return _0x1bb2cc;};return a14_0x3491();}Object[a14_0x36fb2d(0x19f)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a14_0x36fb2d(0x1ae));function a14_0xa0c7(_0x332745,_0xe3d66e){const _0x319eab=a14_0x3491();return a14_0xa0c7=function(_0x4143f8,_0x4aec8a){_0x4143f8=_0x4143f8-0x199;let _0x349163=_0x319eab[_0x4143f8];return _0x349163;},a14_0xa0c7(_0x332745,_0xe3d66e);}async function default_1({tablestartUpShort2:_0x55c288,moduleName:_0x51558a,controller:_0x1a15a4,Comment:_0x562056,apporbasic:_0x14234f,Primary:_0x5ee399}){await createRoutes({'tablestartUpShort2':_0x55c288,'moduleName':_0x51558a,'controller':_0x1a15a4,'Comment':_0x562056,'apporbasic':_0x14234f,'Primary':_0x5ee399});}exports[a14_0x36fb2d(0x1b6)]=default_1;async function createRoutes({tablestartUpShort2:_0x54e45f,moduleName:_0x2d8c65,controller:_0x59db4e,Comment:_0x73f58d,apporbasic:_0x3dae0b,Primary:_0x2f4d12}){const _0x18b09f=a14_0x36fb2d;let _0x1d636e=process['cwd']()+_0x18b09f(0x1c0)+(typeof _0x59db4e=='string'?'/'+_0x59db4e:'');_0x2d8c65?_0x1d636e=_0x1d636e+(_0x18b09f(0x1ba)+_0x2d8c65+_0x18b09f(0x1a5)):_0x1d636e=_0x1d636e+(_0x18b09f(0x19b)+_0x3dae0b+_0x18b09f(0x1a5));if(!fs[_0x18b09f(0x1ac)](_0x1d636e)){let _0x24918f=_0x18b09f(0x19c);_0x24918f+='export\x20default\x20{\x0a',_0x24918f+=_0x18b09f(0x1bf)+(_0x2d8c65?_0x18b09f(0x1b3)+_0x2d8c65+'/':_0x3dae0b+'/')+'\x22,\x0a',_0x24918f+=_0x18b09f(0x1ad)+(_0x2d8c65?'apps-'+_0x2d8c65+'/':_0x3dae0b+'/')+_0x18b09f(0x19d),_0x24918f+='\x20\x20\x20\x20component:\x20layout,\x0a',_0x24918f+='\x20\x20\x20\x20children:[\x0a',_0x24918f+=_0x18b09f(0x1b8),_0x24918f+=_0x18b09f(0x1b2),_0x24918f+='}\x0a',fs[_0x18b09f(0x1af)]((0x0,path_1['dirname'])(_0x1d636e),{'recursive':!![]}),fs[_0x18b09f(0x1bc)](_0x1d636e,_0x24918f,_0x18b09f(0x1aa));}const _0x10f27d=fs[_0x18b09f(0x1a8)](_0x1d636e,_0x18b09f(0x1aa));fs['writeFileSync'](_0x1d636e,_0x10f27d['replace'](_0x18b09f(0x1a1),'{\x20path:\x20\x22'+(_0x54e45f+'\x22')[_0x18b09f(0x1a2)](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0x54e45f+_0x18b09f(0x1c2)+_0x73f58d+_0x18b09f(0x1a9)))[_0x18b09f(0x1a4)](_0x18b09f(0x1a1),'{\x20path:\x20\x22'+(_0x54e45f+_0x18b09f(0x1a0))[_0x18b09f(0x1a2)](0x14)+(_0x18b09f(0x1b4)+_0x54e45f+_0x18b09f(0x1b1)+_0x73f58d+_0x18b09f(0x1c1)))[_0x18b09f(0x1a4)](_0x18b09f(0x1a1),_0x18b09f(0x19a)+(_0x54e45f+_0x18b09f(0x1bd))[_0x18b09f(0x1a2)](0x14)+(_0x18b09f(0x1b4)+_0x54e45f+_0x18b09f(0x1b5)+_0x73f58d+_0x18b09f(0x1c4))));}
@@ -1 +1 @@
1
- const a15_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
+ const a15_0x232988=a15_0x544a;(function(_0x56b3d1,_0x317490){const _0x5426e8=a15_0x544a,_0x4aa60f=_0x56b3d1();while(!![]){try{const _0x3a9305=parseInt(_0x5426e8(0x1af))/0x1*(-parseInt(_0x5426e8(0x1b3))/0x2)+-parseInt(_0x5426e8(0x1c8))/0x3*(parseInt(_0x5426e8(0x1a5))/0x4)+parseInt(_0x5426e8(0x185))/0x5+parseInt(_0x5426e8(0x1bd))/0x6*(-parseInt(_0x5426e8(0x1a4))/0x7)+-parseInt(_0x5426e8(0x1c2))/0x8+parseInt(_0x5426e8(0x199))/0x9*(parseInt(_0x5426e8(0x1ca))/0xa)+parseInt(_0x5426e8(0x1cb))/0xb;if(_0x3a9305===_0x317490)break;else _0x4aa60f['push'](_0x4aa60f['shift']());}catch(_0x8e83f){_0x4aa60f['push'](_0x4aa60f['shift']());}}}(a15_0x5ed6,0x835ba));const a15_0x4f2a07=(function(){let _0x114bb7=!![];return function(_0x9f96e,_0x331496){const _0x6705eb=_0x114bb7?function(){const _0x502f42=a15_0x544a;if(_0x331496){const _0x1bd60e=_0x331496[_0x502f42(0x1c9)](_0x9f96e,arguments);return _0x331496=null,_0x1bd60e;}}:function(){};return _0x114bb7=![],_0x6705eb;};}()),a15_0x430831=a15_0x4f2a07(this,function(){const _0x3f7452=a15_0x544a;return a15_0x430831[_0x3f7452(0x18b)]()[_0x3f7452(0x190)](_0x3f7452(0x1c6))[_0x3f7452(0x18b)]()[_0x3f7452(0x19d)](a15_0x430831)['search']('(((.+)+)+)+$');});a15_0x430831();'use strict';Object[a15_0x232988(0x1a2)](exports,a15_0x232988(0x1bb),{'value':!![]});function a15_0x544a(_0x33aed1,_0x3ff735){const _0xb5995f=a15_0x5ed6();return a15_0x544a=function(_0x430831,_0x4f2a07){_0x430831=_0x430831-0x17c;let _0x5ed694=_0xb5995f[_0x430831];return _0x5ed694;},a15_0x544a(_0x33aed1,_0x3ff735);}const fs=require('fs'),helper_1=require(a15_0x232988(0x197));async function default_1({tablestartUpShort:_0x3e8f64,tablestartUpShort2:_0x18e483,moduleName:_0x2a6623,controller:_0x13778c,Comment:_0x552ed3,apporbasic:_0x7ed0d9,Primary:_0x19bda7,Fields:_0x424f7b}){const _0x44a4b7=a15_0x232988;let _0x233e7b=process[_0x44a4b7(0x17d)]()+_0x44a4b7(0x184)+(typeof _0x13778c=='string'?'/'+_0x13778c:'');_0x2a6623?_0x233e7b=_0x233e7b+(_0x44a4b7(0x19c)+_0x2a6623+_0x44a4b7(0x1be)+_0x3e8f64):_0x233e7b=_0x233e7b+(_0x44a4b7(0x1b9)+_0x7ed0d9+_0x44a4b7(0x1be)+_0x3e8f64),!fs[_0x44a4b7(0x182)](_0x233e7b)&&fs[_0x44a4b7(0x1c7)](_0x233e7b,{'recursive':!![]}),await CreateRule(_0x233e7b,{'tablestartUpShort':_0x3e8f64,'Comment':_0x552ed3,'Fields':_0x424f7b}),await updateRule(_0x233e7b,{'tablestartUpShort':_0x3e8f64,'Comment':_0x552ed3,'Fields':_0x424f7b});}exports[a15_0x232988(0x1a0)]=default_1;async function CreateRule(_0x31abf7,{tablestartUpShort:_0x8aa4f2,Comment:_0x266de4,Fields:_0x255b3e}){const _0x64ff57=a15_0x232988,_0x3b676c=_0x31abf7+_0x64ff57(0x1b2);if(!fs[_0x64ff57(0x182)](_0x3b676c)){let _0x3e1824='',_0x2d07b9='';for(let _0x396b46 in _0x255b3e){let _0xcb8dcb=_0x255b3e[_0x396b46],_0x81f984=(0x0,helper_1[_0x64ff57(0x193)])(_0xcb8dcb[_0x64ff57(0x1b8)]);if(_0xcb8dcb['Field']==_0x64ff57(0x1a8)||_0xcb8dcb['Field']=='created_at'||_0xcb8dcb[_0x64ff57(0x1b6)]==_0x64ff57(0x1b7)||_0xcb8dcb[_0x64ff57(0x1b6)]=='deleted_at')continue;if([_0x64ff57(0x188),_0x64ff57(0x196),_0x64ff57(0x187)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb['Field']+_0x64ff57(0x1b4),_0xcb8dcb['Null']!=_0x64ff57(0x1ab)&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if(['float',_0x64ff57(0x180),'decimal',_0x64ff57(0x192)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+='\x20\x20\x20\x20//\x20'+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0xcb8dcb['Null']!='YES'&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if([_0x64ff57(0x17f)][_0x64ff57(0x1aa)](_0x81f984)!=-0x1)_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+':\x20[\x0a',_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb['Comment']+_0x64ff57(0x19e),_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5);else{if(_0x81f984==_0x64ff57(0x1ae))_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+':\x20[\x0a',_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb['Comment']+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!='YES'?_0x64ff57(0x1c3):_0x64ff57(0x181))+'\x20},\x0a'),_0x3e1824+=_0x64ff57(0x1c5);else{if(_0x81f984=='enum'){let _0x1948d6=(0x0,helper_1[_0x64ff57(0x1c4)])(_0xcb8dcb[_0x64ff57(0x1b8)]);_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb['Comment']+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x18a)+_0x1948d6[_0x64ff57(0x1ba)](_0x64ff57(0x1a6))+_0x64ff57(0x183),_0xcb8dcb['Null']!=_0x64ff57(0x1ab)&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):'true')+'\x20},\x0a'),_0x3e1824+=_0x64ff57(0x1c5);}else['date',_0x64ff57(0x195),_0x64ff57(0x1c1)][_0x64ff57(0x1aa)](_0x81f984)>-0x1?(_0x3e1824+=_0x64ff57(0x194)+_0xcb8dcb['Comment']+'\x0a',_0x3e1824+=_0x64ff57(0x19b)+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0xcb8dcb['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0xcb8dcb[_0x64ff57(0x1ad)]!=_0x64ff57(0x1ab)&&(_0x3e1824+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?'false':_0x64ff57(0x181))+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5)):(_0x3e1824+='\x20\x20\x20\x20//\x20'+_0xcb8dcb[_0x64ff57(0x19f)]+'\x0a',_0x3e1824+='\x20\x20\x20\x20'+_0xcb8dcb[_0x64ff57(0x1b6)]+_0x64ff57(0x1b4),_0x3e1824+=_0x64ff57(0x1a7)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1a9),_0xcb8dcb[_0x64ff57(0x1ad)]!='YES'&&(_0x3e1824+=_0x64ff57(0x18c)+_0xcb8dcb[_0x64ff57(0x19f)]+_0x64ff57(0x1b1)+(_0xcb8dcb['Null']!=_0x64ff57(0x1ab)?_0x64ff57(0x1c3):'true')+_0x64ff57(0x1bf)),_0x3e1824+=_0x64ff57(0x1c5));}}}}}_0x2d07b9+='\x0a',_0x2d07b9+=_0x64ff57(0x189),_0x2d07b9+='\x20*\x20'+_0x266de4+'\x0a',_0x2d07b9+=_0x64ff57(0x198),_0x2d07b9+=_0x64ff57(0x1a3),_0x2d07b9+='export\x20const\x20'+_0x8aa4f2+_0x64ff57(0x1bc),_0x2d07b9+='%RuleColumn%',_0x2d07b9+=_0x64ff57(0x1b5),_0x2d07b9=_0x2d07b9['replace'](_0x64ff57(0x18d),_0x3e1824),fs[_0x64ff57(0x1c0)](_0x3b676c,_0x2d07b9,'utf-8');}}function a15_0x5ed6(){const _0x1fe47d=['\x20*\x20数据添加验证\x0a','1768887RcVOua','`,\x20type:\x20\x22date\x22\x20},\x0a','\x20\x20\x20\x20','/pages/apps/','constructor','`,\x20type:\x20\x22number\x22\x20},\x0a','Comment','default','deleted_at','defineProperty','\x20*\x20**/\x0a','7FXBVRx','85764qLJpNK','\x27,\x20\x27','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','displayorder','`,\x20type:\x20\x22string\x22\x20},\x0a','indexOf','YES','enum','Null','json','1685andQFv','utf-8','不能为空`,\x20required:\x20','/add.js','1124YpcKfr',':\x20[\x0a','}\x0a\x0a','Field','updated_at','Type','/pages/','join','__esModule','AddRule\x20=\x20{\x0a','4838334sOXAEn','/validators/','\x20},\x0a','writeFileSync','timestamp','3346440npikEf','false','getEnum','\x20\x20\x20\x20],\x0a\x0a','(((.+)+)+)+$','mkdirSync','147HnxJZB','apply','30qRiKSe','30368173heRBsW','EditRule\x20=\x20{\x0a','/edit.js','cwd','decimal','tinyint','double','true','existsSync','\x27]\x20},\x0a','/vue','2049715SByTrY','replace','mediumtext','text','/**\x0a','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','toString','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','%RuleColumn%','\x20*\x20数据更新验证\x0a','date','search','float','number','getProp','\x20\x20\x20\x20//\x20','datetime','longtext','../helper'];a15_0x5ed6=function(){return _0x1fe47d;};return a15_0x5ed6();}async function updateRule(_0x5e32b8,{tablestartUpShort:_0x58dbf9,Comment:_0x4df99f,Fields:_0x511928}){const _0x5abe1c=a15_0x232988,_0x414dd0=_0x5e32b8+_0x5abe1c(0x17c);if(!fs[_0x5abe1c(0x182)](_0x414dd0)){let _0x119b53='',_0x33c473='';for(let _0x5e8757 in _0x511928){let _0x376500=_0x511928[_0x5e8757],_0xa00418=(0x0,helper_1[_0x5abe1c(0x193)])(_0x376500[_0x5abe1c(0x1b8)]);if(_0x376500['Field']=='displayorder'||_0x376500[_0x5abe1c(0x1b6)]=='created_at'||_0x376500[_0x5abe1c(0x1b6)]==_0x5abe1c(0x1b7)||_0x376500[_0x5abe1c(0x1b6)]==_0x5abe1c(0x1a1))continue;if([_0x5abe1c(0x188),'longtext',_0x5abe1c(0x187)][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x376500[_0x5abe1c(0x1ad)]!='YES'&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+'不能为空`,\x20required:\x20'+(_0x376500['Null']!='YES'?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x5abe1c(0x191),'double',_0x5abe1c(0x17e),'number'][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x19e),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x376500['Comment']+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if([_0x5abe1c(0x17f)][_0x5abe1c(0x1aa)](_0xa00418)!=-0x1)_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+':\x20[\x0a',_0x119b53+=_0x5abe1c(0x1a7)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x19e),_0x376500[_0x5abe1c(0x1ad)]!='YES'&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500['Comment']+'不能为空`,\x20required:\x20'+(_0x376500[_0x5abe1c(0x1ad)]!='YES'?'false':'true')+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if(_0xa00418==_0x5abe1c(0x1ae))_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500['Field']+':\x20[\x0a',_0x376500['Null']!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x1b1)+(_0x376500['Null']!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):'true')+_0x5abe1c(0x1bf)),_0x119b53+=_0x5abe1c(0x1c5);else{if(_0xa00418==_0x5abe1c(0x1ac)){let _0x5d1ae0=(0x0,helper_1[_0x5abe1c(0x1c4)])(_0x376500[_0x5abe1c(0x1b8)]);_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500[_0x5abe1c(0x1b6)]+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x18a)+_0x5d1ae0['join'](_0x5abe1c(0x1a6))+_0x5abe1c(0x183),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+'不能为空`,\x20required:\x20'+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+'\x20},\x0a'),_0x119b53+=_0x5abe1c(0x1c5);}else[_0x5abe1c(0x18f),_0x5abe1c(0x195),'timestamp'][_0x5abe1c(0x1aa)](_0xa00418)>-0x1?(_0x119b53+=_0x5abe1c(0x194)+_0x376500[_0x5abe1c(0x19f)]+'\x0a',_0x119b53+='\x20\x20\x20\x20'+_0x376500[_0x5abe1c(0x1b6)]+':\x20[\x0a',_0x119b53+=_0x5abe1c(0x1a7)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x19a),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500[_0x5abe1c(0x19f)]+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?_0x5abe1c(0x1c3):_0x5abe1c(0x181))+'\x20},\x0a'),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a'):(_0x119b53+=_0x5abe1c(0x194)+_0x376500['Comment']+'\x0a',_0x119b53+=_0x5abe1c(0x19b)+_0x376500['Field']+_0x5abe1c(0x1b4),_0x119b53+=_0x5abe1c(0x1a7)+_0x376500['Comment']+_0x5abe1c(0x1a9),_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)&&(_0x119b53+=_0x5abe1c(0x18c)+_0x376500['Comment']+_0x5abe1c(0x1b1)+(_0x376500[_0x5abe1c(0x1ad)]!=_0x5abe1c(0x1ab)?'false':_0x5abe1c(0x181))+_0x5abe1c(0x1bf)),_0x119b53+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x33c473+='\x0a',_0x33c473+=_0x5abe1c(0x189),_0x33c473+='\x20*\x20'+_0x4df99f+'\x0a',_0x33c473+=_0x5abe1c(0x18e),_0x33c473+=_0x5abe1c(0x1a3),_0x33c473+='export\x20const\x20'+_0x58dbf9+_0x5abe1c(0x1cc),_0x33c473+=_0x5abe1c(0x18d),_0x33c473+=_0x5abe1c(0x1b5),_0x33c473=_0x33c473[_0x5abe1c(0x186)](_0x5abe1c(0x18d),_0x119b53),fs['writeFileSync'](_0x414dd0,_0x33c473,_0x5abe1c(0x1b0));}}
@@ -1 +1 @@
1
- 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
+ const a16_0x1af6cb=a16_0x47d2;(function(_0x2a8105,_0x297e1d){const _0x177008=a16_0x47d2,_0x2b143c=_0x2a8105();while(!![]){try{const _0x54fe5b=parseInt(_0x177008(0x152))/0x1*(-parseInt(_0x177008(0x160))/0x2)+parseInt(_0x177008(0x140))/0x3*(-parseInt(_0x177008(0x16c))/0x4)+parseInt(_0x177008(0x16f))/0x5*(parseInt(_0x177008(0x154))/0x6)+-parseInt(_0x177008(0x13b))/0x7+-parseInt(_0x177008(0x144))/0x8*(parseInt(_0x177008(0x13d))/0x9)+parseInt(_0x177008(0x16a))/0xa*(parseInt(_0x177008(0x16e))/0xb)+parseInt(_0x177008(0x13f))/0xc;if(_0x54fe5b===_0x297e1d)break;else _0x2b143c['push'](_0x2b143c['shift']());}catch(_0x56b7ae){_0x2b143c['push'](_0x2b143c['shift']());}}}(a16_0x11e1,0xe6037));const a16_0x6dc307=(function(){let _0x23c308=!![];return function(_0x363e49,_0x22165a){const _0x134eee=_0x23c308?function(){const _0x20fa7e=a16_0x47d2;if(_0x22165a){const _0x251e58=_0x22165a[_0x20fa7e(0x150)](_0x363e49,arguments);return _0x22165a=null,_0x251e58;}}:function(){};return _0x23c308=![],_0x134eee;};}()),a16_0x1d1c98=a16_0x6dc307(this,function(){const _0x993ba4=a16_0x47d2;return a16_0x1d1c98[_0x993ba4(0x159)]()[_0x993ba4(0x149)](_0x993ba4(0x14e))[_0x993ba4(0x159)]()['constructor'](a16_0x1d1c98)['search']('(((.+)+)+)+$');});a16_0x1d1c98();'use strict';Object[a16_0x1af6cb(0x164)](exports,a16_0x1af6cb(0x146),{'value':!![]});function a16_0x11e1(){const _0x367d85=['defineProperty','/apis/','/list`,\x20params)\x0a','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','export\x20function\x20','Field','1580RpwfYk','Detail(','10372NobxcU','string','107778PAmxWN','4166035PZHUIg','@修改\x0a','import\x20{\x20request\x20}\x20from\x20\x27','1913219ByGghe',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','9QwRVPp','.ts','3463512HCZsub','309pRHosX','path','@添加\x0a','text','10097088jXZNZi','utf-8','__esModule','existsSync','/detail/${','search','\x20\x20\x20\x20return\x20request(`POST`,\x20`','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','default','../helper','(((.+)+)+)+$','/remove`,\x20params)\x0a','apply','writeFileSync','758457mbURSw','indexOf','12GrnkZL','@详情\x0a','//\x20','dirname','../../','toString','Type','mkdirSync',')\x20{\x0a','getProp','\x20\x20\x20\x20return\x20request(`GET`,\x20`','mediumtext','2DIWwIu','}\x0a\x0a','/add`,\x20params)\x0a','cwd'];a16_0x11e1=function(){return _0x367d85;};return a16_0x11e1();}const fs=require('fs'),path_1=require(a16_0x1af6cb(0x141)),helper_1=require(a16_0x1af6cb(0x14d));async function default_1({tablestartUpShort:_0x1a16ab,tablestartUpShort2:_0x495841,moduleName:_0x12549a,controller:_0xc218c6,Comment:_0x2b841e,apporbasic:_0x2d9561,Primary:_0x453c8d}){const _0x38cbe6=a16_0x1af6cb;let _0x4741eb=process[_0x38cbe6(0x163)]()+'/vue'+(typeof _0xc218c6==_0x38cbe6(0x16d)?'/'+_0xc218c6:'');_0x12549a?_0x4741eb=_0x4741eb+('/apis/apps/'+_0x12549a+'/'+_0x1a16ab+_0x38cbe6(0x13e)):_0x4741eb=_0x4741eb+(_0x38cbe6(0x165)+_0x2d9561+'/'+_0x1a16ab+_0x38cbe6(0x13e));if(!fs[_0x38cbe6(0x147)](_0x4741eb)){const _0x3b70f1=[_0x38cbe6(0x143),_0x38cbe6(0x15f),'string'][_0x38cbe6(0x153)]((0x0,helper_1[_0x38cbe6(0x15d)])(_0x453c8d[_0x38cbe6(0x15a)]))==-0x1,_0x327fa7=''+(typeof _0xc218c6==_0x38cbe6(0x16d)?_0xc218c6+'/':'')+(_0x12549a?_0x12549a+'/':'')+_0x495841;let _0x39d3e4=_0x38cbe6(0x171)+(_0x12549a?_0x38cbe6(0x158):'../')+'request\x27;\x0a\x0a';_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+_0x38cbe6(0x155),_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+_0x38cbe6(0x16b)+_0x453c8d[_0x38cbe6(0x169)]+':\x20'+(_0x3b70f1?'number':_0x38cbe6(0x16d))+_0x38cbe6(0x15c),_0x39d3e4+=_0x38cbe6(0x15e)+_0x327fa7+_0x38cbe6(0x148)+_0x453c8d[_0x38cbe6(0x169)]+'}`)\x0a',_0x39d3e4+=_0x38cbe6(0x161),_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+_0x38cbe6(0x142),_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+_0x38cbe6(0x14b),_0x39d3e4+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x327fa7+_0x38cbe6(0x162),_0x39d3e4+=_0x38cbe6(0x161),_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+_0x38cbe6(0x170),_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+'Edit('+_0x453c8d['Field']+':\x20'+(_0x3b70f1?'number':_0x38cbe6(0x16d))+_0x38cbe6(0x13c),_0x39d3e4+=_0x38cbe6(0x14a)+_0x327fa7+'/edit/${'+_0x453c8d[_0x38cbe6(0x169)]+'}`,\x20params)\x0a',_0x39d3e4+='}\x0a\x0a',_0x39d3e4+='//\x20'+_0x2b841e+'@列表\x0a',_0x39d3e4+='export\x20function\x20'+_0x1a16ab+'List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x39d3e4+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x327fa7+_0x38cbe6(0x166),_0x39d3e4+=_0x38cbe6(0x161),_0x39d3e4+=_0x38cbe6(0x156)+_0x2b841e+'@删除\x0a',_0x39d3e4+=_0x38cbe6(0x168)+_0x1a16ab+_0x38cbe6(0x167),_0x39d3e4+=_0x38cbe6(0x14a)+_0x327fa7+_0x38cbe6(0x14f),_0x39d3e4+='}\x0a\x0a',fs[_0x38cbe6(0x15b)]((0x0,path_1[_0x38cbe6(0x157)])(_0x4741eb),{'recursive':!![]}),fs[_0x38cbe6(0x151)](_0x4741eb,_0x39d3e4,_0x38cbe6(0x145));}}function a16_0x47d2(_0x1069dd,_0x282454){const _0x50b07e=a16_0x11e1();return a16_0x47d2=function(_0x1d1c98,_0x6dc307){_0x1d1c98=_0x1d1c98-0x13b;let _0x11e152=_0x50b07e[_0x1d1c98];return _0x11e152;},a16_0x47d2(_0x1069dd,_0x282454);}exports[a16_0x1af6cb(0x14c)]=default_1;
@@ -1 +1 @@
1
- const a17_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));}}
1
+ const a17_0x1407c9=a17_0x4c86;(function(_0x4c7820,_0x2c024b){const _0x5eb0ef=a17_0x4c86,_0x22d436=_0x4c7820();while(!![]){try{const _0x2b4415=parseInt(_0x5eb0ef(0xdd))/0x1*(-parseInt(_0x5eb0ef(0xe1))/0x2)+parseInt(_0x5eb0ef(0xdc))/0x3+-parseInt(_0x5eb0ef(0xe2))/0x4*(-parseInt(_0x5eb0ef(0xe0))/0x5)+parseInt(_0x5eb0ef(0xf6))/0x6*(-parseInt(_0x5eb0ef(0x101))/0x7)+parseInt(_0x5eb0ef(0xe6))/0x8*(-parseInt(_0x5eb0ef(0xed))/0x9)+parseInt(_0x5eb0ef(0x102))/0xa+parseInt(_0x5eb0ef(0xfb))/0xb*(parseInt(_0x5eb0ef(0xfc))/0xc);if(_0x2b4415===_0x2c024b)break;else _0x22d436['push'](_0x22d436['shift']());}catch(_0x3b7355){_0x22d436['push'](_0x22d436['shift']());}}}(a17_0x27b3,0xbe67f));const a17_0xef01d2=(function(){let _0x174b3b=!![];return function(_0x3021b8,_0x38d437){const _0x175d45=_0x174b3b?function(){if(_0x38d437){const _0x336e44=_0x38d437['apply'](_0x3021b8,arguments);return _0x38d437=null,_0x336e44;}}:function(){};return _0x174b3b=![],_0x175d45;};}()),a17_0x10826a=a17_0xef01d2(this,function(){const _0xaaec04=a17_0x4c86;return a17_0x10826a['toString']()['search']('(((.+)+)+)+$')[_0xaaec04(0xde)]()[_0xaaec04(0xe5)](a17_0x10826a)[_0xaaec04(0xf1)](_0xaaec04(0xd8));});a17_0x10826a();function a17_0x27b3(){const _0x206ce4=['31936gIPvID','writeFileSync','string','constructor','1475824VaWffU','/layout.vue','dirname','utf-8','/pages/','existsSync','indexOf','18rUJSaR','</script>\x0a\x0a','</template>\x0a\x0a','readFileSync','search','__esModule','path','//\x20add\x20menu\x20here','\x20\x20\x20\x20])\x0a','6AwFUwu','<script\x20lang=\x22ts\x22\x20setup>\x0a','cwd','\x20\x20\x20\x20</page-layout>\x0a','<template>\x0a','44AowvoK','2172084FIWoiD',',\x20path:\x20\x22','default','padEnd','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','9532789NmapMB','1986040aXrAZc','mkdirSync','{title:\x20\x22','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','(((.+)+)+)+$','replace','/pages/apps/','defineProperty','3599067mpCPWi','3867Cjegff','toString','/apps-','420qqutNb','146soJgBU'];a17_0x27b3=function(){return _0x206ce4;};return a17_0x27b3();}'use strict';Object[a17_0x1407c9(0xdb)](exports,a17_0x1407c9(0xf2),{'value':!![]});const fs=require('fs'),path_1=require(a17_0x1407c9(0xf3));function a17_0x4c86(_0xca6bf8,_0x5670a8){const _0x49429c=a17_0x27b3();return a17_0x4c86=function(_0x10826a,_0xef01d2){_0x10826a=_0x10826a-0xd8;let _0x27b356=_0x49429c[_0x10826a];return _0x27b356;},a17_0x4c86(_0xca6bf8,_0x5670a8);}async function default_1({tablestartUpShort2:_0x356df7,controller:_0x14495c,moduleName:_0x1a8a72,Comment:_0x238164,apporbasic:_0x498af1}){const _0x2a22f0=a17_0x1407c9;let _0x2f460f=process[_0x2a22f0(0xf8)]()+'/vue'+(typeof _0x14495c==_0x2a22f0(0xe4)?'/'+_0x14495c:'');_0x1a8a72?_0x2f460f=_0x2f460f+(_0x2a22f0(0xda)+_0x1a8a72+_0x2a22f0(0xe7)):_0x2f460f=_0x2f460f+(_0x2a22f0(0xea)+_0x498af1+'/layout.vue');await createLayout(_0x2f460f,{'moduleName':_0x1a8a72});const _0x2676c0=fs[_0x2a22f0(0xf0)](_0x2f460f,'utf-8'),_0x3d9ebb=_0x2a22f0(0x104)+(_0x238164+'\x22')['padEnd'](0x14)+_0x2a22f0(0xfd)+(''+(typeof _0x1a8a72==_0x2a22f0(0xe4)?_0x2a22f0(0xdf)+_0x1a8a72+'/':'/'+_0x498af1+'/')+_0x356df7+'/list\x22')[_0x2a22f0(0xff)](0x14)+'}';_0x2676c0[_0x2a22f0(0xec)](_0x3d9ebb)==-0x1&&fs[_0x2a22f0(0xe3)](_0x2f460f,_0x2676c0[_0x2a22f0(0xd9)](_0x2a22f0(0xf4),_0x3d9ebb+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}exports[a17_0x1407c9(0xfe)]=default_1;async function createLayout(_0x4cd271,{moduleName:_0x254506}){const _0x2be669=a17_0x1407c9;if(!fs[_0x2be669(0xeb)](_0x4cd271)){let _0x1cd4db=_0x2be669(0xfa);_0x1cd4db+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-'+_0x254506+_0x2be669(0x100),_0x1cd4db+=_0x2be669(0xf9),_0x1cd4db+=_0x2be669(0xef),_0x1cd4db+=_0x2be669(0xf7),_0x1cd4db+=_0x2be669(0x105),_0x1cd4db+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x1cd4db+=_0x2be669(0xf5),_0x1cd4db+=_0x2be669(0xee),fs[_0x2be669(0x103)]((0x0,path_1[_0x2be669(0xe8)])(_0x4cd271),{'recursive':!![]}),fs[_0x2be669(0xe3)](_0x4cd271,_0x1cd4db,_0x2be669(0xe9));}}