anncic-apihelper 3.7.0 → 3.7.1
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.
- package/dist/configuration.js +1 -1
- package/dist/helper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/service/ApicreateService.js +1 -1
- package/dist/templateFun/Action.js +1 -1
- package/dist/templateFun/Common.js +1 -1
- package/dist/templateFun/Entities.js +1 -1
- package/dist/templateFun/Event.js +1 -1
- package/dist/templateFun/Handler.js +1 -1
- package/dist/templateFun/Search.js +1 -1
- package/dist/templateFun/Validator.js +1 -1
- package/dist/templateVue/Api.js +1 -1
- package/dist/templateVue/Layout.js +1 -1
- package/dist/templateVue/LayoutVue.js +1 -1
- package/dist/templateVue/Router.js +1 -1
- package/dist/templateVue/Validator.js +1 -1
- package/dist/templateVueV2/Api.js +1 -1
- package/dist/templateVueV2/Layout.js +1 -1
- package/dist/templateVueV2/LayoutVue.js +1 -1
- package/dist/templateVueV2/Router.js +1 -1
- package/dist/templateVueV2/Validator.js +1 -1
- package/dist/templateVueV3/Api.js +1 -1
- package/dist/templateVueV3/Layout.js +1 -1
- package/dist/templateVueV3/LayoutVue.js +1 -1
- package/dist/templateVueV3/Router.js +1 -1
- package/dist/templateVueV3/Validator.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10_0x480164=a10_0x272b;(function(_0x3bbfc8,_0x1ebde8){const _0x3e97ed=a10_0x272b,_0x12b33a=_0x3bbfc8();while(!![]){try{const _0x34357c=-parseInt(_0x3e97ed(0x102))/0x1*(-parseInt(_0x3e97ed(0x11b))/0x2)+parseInt(_0x3e97ed(0x127))/0x3*(parseInt(_0x3e97ed(0xfd))/0x4)+parseInt(_0x3e97ed(0xf1))/0x5*(parseInt(_0x3e97ed(0xc6))/0x6)+parseInt(_0x3e97ed(0x108))/0x7*(parseInt(_0x3e97ed(0xcd))/0x8)+-parseInt(_0x3e97ed(0x11d))/0x9+-parseInt(_0x3e97ed(0xd9))/0xa+-parseInt(_0x3e97ed(0x10f))/0xb;if(_0x34357c===_0x1ebde8)break;else _0x12b33a['push'](_0x12b33a['shift']());}catch(_0x2de421){_0x12b33a['push'](_0x12b33a['shift']());}}}(a10_0x5dbe,0xad886));const a10_0x305ed8=(function(){let _0x8f5776=!![];return function(_0x40061f,_0x48eefa){const _0x67c60e=_0x8f5776?function(){const _0x25ab9e=a10_0x272b;if(_0x48eefa){const _0x1718ba=_0x48eefa[_0x25ab9e(0x105)](_0x40061f,arguments);return _0x48eefa=null,_0x1718ba;}}:function(){};return _0x8f5776=![],_0x67c60e;};}()),a10_0x1a966e=a10_0x305ed8(this,function(){const _0x2f9be9=a10_0x272b;return a10_0x1a966e['toString']()['search']('(((.+)+)+)+$')[_0x2f9be9(0xce)]()[_0x2f9be9(0x11a)](a10_0x1a966e)['search'](_0x2f9be9(0xee));});a10_0x1a966e();'use strict';function a10_0x5dbe(){const _0x3bab24=['\x27;\x0a','(((.+)+)+)+$','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','json','5YAPlPo','.required()','text','\x20*\x20','}\x0a\x0a','Field','export\x20class\x20','substring','\x27,\x20RuleType.any())\x0a','\x27,\x20RuleType.number())\x0a','Enum,\x20\x27','DTOUpdate\x20extends\x20OmitDto(','883412MGUNxu','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','number','created_at','enum','147OSffGI','replace','mkdirSync','apply','\x27,\x20RuleType.number()','/**\x0a','5872636VUaKIS','Enum\x20}\x20from\x20\x27','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','string','date','?:\x20any\x20|\x20any[];\x0a\x0a','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','23268223ZFEMul','\x20\x20\x20\x20','tinyint','updated_at','writeFileSync','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','\x27))\x0a','indexOf','utf-8','default','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','constructor','8438JouqtT','?:\x20number;\x0a\x0a','1481796NEKhuK','getEnum','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','__esModule','/Search.ts','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','mediumtext','\x27,\x20RuleType.string()','_between?:\x20string[];\x0a\x0a','\x27;\x0a\x0a','12kfjHWA','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','join','\x27))','@/apps/','\x20*\x20数据添加验证\x0a','find','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','\x27,\x20RuleType.date())\x0a','existsSync','%SearchDtoColumn%','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','\x20*\x20**/\x0a','YES','_start?:\x20string;\x0a\x0a','import\x20{\x20','/validators/','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','boolean','\x20*\x20数据更新验证\x0a','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','decimal','toLowerCase','8496066obervh','Type','DTOCreate\x20extends\x20OmitDto(','\x20*\x20数据检索验证\x0a','defineProperty','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','getProp','8GfeqPc','toString','double','?:\x20string;\x0a\x0a','Comment',':\x20number;\x0a\x0a','DTOSearch\x20{\x0a\x0a','%DtoColumn%','?:\x20\x27','/enums/','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','DTOUpdate\x20{\x0a\x0a','7678370pYgnjz','float','\x27,\x20RuleType.string().valid(\x27','displayorder','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','\x27,\x20RuleType.string())\x0a','toUpperCase','\x27,\x20\x27','longtext','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','Null','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27',':\x20string;\x0a\x0a','timestamp','deleted_at','datetime','/Update.ts','\x27\x20|\x20\x27','/Create.ts'];a10_0x5dbe=function(){return _0x3bab24;};return a10_0x5dbe();}Object[a10_0x480164(0xca)](exports,a10_0x480164(0x120),{'value':!![]}),exports[a10_0x480164(0x118)]=default_1;const fs=require('fs'),helper_1=require('../helper');async function default_1({controllers:_0x4d3a33,tablestartUp:_0x591f69,tablestartUpShort:_0x52b98e,basedir:_0x3952fe,Primary:_0x224f78,Fields:_0x492094,Comment:_0x105a05,moduleName:_0x56077a,apporbasic:_0x1202eb}){const _0xe21c80=a10_0x480164,_0x3b0dfd=_0x3952fe+(_0xe21c80(0x137)+_0x52b98e);!fs['existsSync'](_0x3b0dfd)&&fs[_0xe21c80(0x104)](_0x3b0dfd,{'recursive':!![]}),await DTOCreate({'controllers':_0x4d3a33,'tablestartUp':_0x591f69,'tablestartUpShort':_0x52b98e,'basedir':_0x3952fe,'Fields':_0x492094,'Comment':_0x105a05,'moduleName':_0x56077a,'apporbasic':_0x1202eb}),await DTOUpdate({'controllers':_0x4d3a33,'tablestartUp':_0x591f69,'tablestartUpShort':_0x52b98e,'basedir':_0x3952fe,'Fields':_0x492094,'Comment':_0x105a05,'moduleName':_0x56077a,'apporbasic':_0x1202eb}),await DTOSearch({'controllers':_0x4d3a33,'tablestartUp':_0x591f69,'tablestartUpShort':_0x52b98e,'basedir':_0x3952fe,'Fields':_0x492094,'Primary':_0x224f78,'Comment':_0x105a05,'moduleName':_0x56077a,'apporbasic':_0x1202eb});}function a10_0x272b(_0x5920a7,_0x237e0b){const _0x3cc614=a10_0x5dbe();return a10_0x272b=function(_0x1a966e,_0x305ed8){_0x1a966e=_0x1a966e-0xc5;let _0x5dbec0=_0x3cc614[_0x1a966e];return _0x5dbec0;},a10_0x272b(_0x5920a7,_0x237e0b);}async function DTOCreate({controllers:_0x1ee996,tablestartUp:_0x4cb515,tablestartUpShort:_0x11ce2e,basedir:_0xd29a01,Fields:_0x1ffbcc,Comment:_0x8c875d,moduleName:_0xd160a8,apporbasic:_0x240e1e}){const _0x28d3b5=a10_0x480164,_0xddb5fd=_0xd29a01+(_0x28d3b5(0x137)+_0x11ce2e+_0x28d3b5(0xec));if(!fs[_0x28d3b5(0x130)](_0xddb5fd)){let _0x3fcf35='',_0xb69d33='',_0x1e8301=![];for(let _0xdbe8ef in _0x1ffbcc){let _0x21e886=_0x1ffbcc[_0xdbe8ef],_0x87e72b=(0x0,helper_1[_0x28d3b5(0xcc)])(_0x21e886[_0x28d3b5(0xc7)]);if(_0x21e886['Field']==_0x28d3b5(0xdc)||_0x21e886[_0x28d3b5(0xf6)]==_0x28d3b5(0x100)||_0x21e886['Field']==_0x28d3b5(0x112)||_0x21e886['Field']==_0x28d3b5(0xe8))continue;if([_0x28d3b5(0xf3),'longtext',_0x28d3b5(0x123)][_0x28d3b5(0x116)](_0x87e72b)!=-0x1)_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886[_0x28d3b5(0xd1)]+_0x28d3b5(0xde),_0x3fcf35+=_0x28d3b5(0x110)+_0x21e886['Field']+_0x28d3b5(0xd0);else{if([_0x28d3b5(0xda),'double','decimal','number'][_0x28d3b5(0x116)](_0x87e72b)!=-0x1)_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886[_0x28d3b5(0xd1)]+_0x28d3b5(0x106)+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?_0x28d3b5(0xf2):'')+')\x0a',_0x3fcf35+=_0x28d3b5(0x110)+_0x21e886[_0x28d3b5(0xf6)]+(_0x21e886[_0x28d3b5(0xe3)]!='YES'?'?':'')+_0x28d3b5(0xd2);else{if([_0x28d3b5(0x111)][_0x28d3b5(0x116)](_0x87e72b)!=-0x1)_0x1e8301=!![],_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886['Comment']+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x4cb515+_0x28d3b5(0xfb)+_0x21e886[_0x28d3b5(0xf6)]+_0x28d3b5(0x12a)+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?_0x28d3b5(0xf2):'')+')\x0a',_0x3fcf35+='\x20\x20\x20\x20'+_0x21e886['Field']+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?'?':'')+_0x28d3b5(0xd2);else{if(_0x87e72b==_0x28d3b5(0xf0))_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886[_0x28d3b5(0xd1)]+_0x28d3b5(0xf9),_0x3fcf35+=_0x28d3b5(0x110)+_0x21e886[_0x28d3b5(0xf6)]+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x87e72b=='enum'){let _0x38316e=(0x0,helper_1[_0x28d3b5(0x11e)])(_0x21e886[_0x28d3b5(0xc7)]);_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886[_0x28d3b5(0xd1)]+_0x28d3b5(0xdb)+_0x38316e[_0x28d3b5(0x129)](_0x28d3b5(0xe0))+'\x27)'+(_0x21e886[_0x28d3b5(0xe3)]!='YES'?'.required()':'')+')\x0a',_0x3fcf35+='\x20\x20\x20\x20'+_0x21e886[_0x28d3b5(0xf6)]+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?'?':'')+':\x20\x27'+_0x38316e[_0x28d3b5(0x129)](_0x28d3b5(0xeb))+_0x28d3b5(0x126);}else['date','datetime',_0x28d3b5(0xe7)]['indexOf'](_0x87e72b)>-0x1?(_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886[_0x28d3b5(0xd1)]+'\x27,\x20RuleType.date()'+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?_0x28d3b5(0xf2):'')+')\x0a',_0x3fcf35+=_0x28d3b5(0x110)+_0x21e886[_0x28d3b5(0xf6)]+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?'?':'')+_0x28d3b5(0xe6)):(_0x3fcf35+=_0x28d3b5(0xe5)+_0x21e886[_0x28d3b5(0xd1)]+_0x28d3b5(0x124)+(_0x21e886[_0x28d3b5(0xe3)]!=_0x28d3b5(0x134)?_0x28d3b5(0xf2):'')+')\x0a',_0x3fcf35+=_0x28d3b5(0x110)+_0x21e886['Field']+(_0x21e886[_0x28d3b5(0xe3)]!='YES'?'?':'')+':\x20string;\x0a\x0a');}}}}}_0x3fcf35+=_0x28d3b5(0x122),_0x3fcf35+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x1ee996===null||_0x1ee996===void 0x0?void 0x0:_0x1ee996[_0x28d3b5(0x12d)](_0xee09d0=>typeof _0xee09d0!=_0x28d3b5(0x139)))?_0xb69d33+=_0x28d3b5(0xfe):_0xb69d33+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x1e8301&&(_0xb69d33+=_0x28d3b5(0x136)+_0x4cb515+_0x28d3b5(0x109)+(typeof _0xd160a8==_0x28d3b5(0x10b)?'@/apps/'+_0xd160a8:'@/'+_0x240e1e)+'/enums/'+_0x11ce2e+_0x28d3b5(0xed));_0xb69d33+='\x0a',_0xb69d33+=_0x28d3b5(0x107),_0xb69d33+=_0x28d3b5(0xf4)+_0x8c875d+'\x0a',_0xb69d33+=_0x28d3b5(0x12c),_0xb69d33+=_0x28d3b5(0x133),_0xb69d33+=_0x28d3b5(0xf7)+_0x4cb515+'DTOCreate\x20{\x0a\x0a',_0xb69d33+=_0x28d3b5(0xd4),_0xb69d33+=_0x28d3b5(0xf5);for(const _0x34a07f of _0x1ee996){typeof _0x34a07f==_0x28d3b5(0x10b)&&(_0xb69d33+=_0x28d3b5(0xf7)+_0x34a07f[_0x28d3b5(0xf8)](0x0,0x1)[_0x28d3b5(0xdf)]()+_0x34a07f['substring'](0x1)[_0x28d3b5(0xc5)]()+_0x4cb515+_0x28d3b5(0xc8)+_0x4cb515+_0x28d3b5(0x10e),_0xb69d33+=_0x28d3b5(0xf5));}_0xb69d33=_0xb69d33['replace']('%DtoColumn%',_0x3fcf35),fs[_0x28d3b5(0x113)](_0xddb5fd,_0xb69d33,_0x28d3b5(0x117));}}async function DTOUpdate({controllers:_0x4be2dc,tablestartUp:_0x4868d0,tablestartUpShort:_0x17cadc,basedir:_0x19b653,Fields:_0x32b91c,Comment:_0x5e6dca,moduleName:_0x4fd8c1,apporbasic:_0x839ed1}){const _0x3907ae=a10_0x480164,_0x6b5063=_0x19b653+(_0x3907ae(0x137)+_0x17cadc+_0x3907ae(0xea));if(!fs['existsSync'](_0x6b5063)){let _0x382aea='',_0x5c3876='',_0x489de8=![];for(let _0x2d7aff in _0x32b91c){let _0x2f5d0b=_0x32b91c[_0x2d7aff],_0x4e0ccb=(0x0,helper_1[_0x3907ae(0xcc)])(_0x2f5d0b[_0x3907ae(0xc7)]);if(_0x2f5d0b['Field']==_0x3907ae(0xdc)||_0x2f5d0b['Field']==_0x3907ae(0x100)||_0x2f5d0b[_0x3907ae(0xf6)]=='updated_at'||_0x2f5d0b[_0x3907ae(0xf6)]==_0x3907ae(0xe8))continue;if([_0x3907ae(0xf3),_0x3907ae(0xe1),_0x3907ae(0x123)][_0x3907ae(0x116)](_0x4e0ccb)!=-0x1)_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b['Comment']+_0x3907ae(0xde),_0x382aea+=_0x3907ae(0x110)+_0x2f5d0b[_0x3907ae(0xf6)]+_0x3907ae(0xd0);else{if(['float',_0x3907ae(0xcf),_0x3907ae(0x13d),_0x3907ae(0xff)][_0x3907ae(0x116)](_0x4e0ccb)!=-0x1)_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b[_0x3907ae(0xd1)]+_0x3907ae(0xfa),_0x382aea+=_0x3907ae(0x110)+_0x2f5d0b['Field']+'?:\x20number;\x0a\x0a';else{if([_0x3907ae(0x111)]['indexOf'](_0x4e0ccb)!=-0x1)_0x489de8=!![],_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b[_0x3907ae(0xd1)]+_0x3907ae(0x114)+_0x4868d0+'Enum,\x20\x27'+_0x2f5d0b['Field']+'\x27)))\x0a',_0x382aea+=_0x3907ae(0x110)+_0x2f5d0b[_0x3907ae(0xf6)]+_0x3907ae(0x11c);else{if(_0x4e0ccb==_0x3907ae(0xf0))_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b[_0x3907ae(0xd1)]+_0x3907ae(0xf9),_0x382aea+=_0x3907ae(0x110)+_0x2f5d0b[_0x3907ae(0xf6)]+_0x3907ae(0x10d);else{if(_0x4e0ccb=='enum'){let _0x4c614d=(0x0,helper_1[_0x3907ae(0x11e)])(_0x2f5d0b[_0x3907ae(0xc7)]);_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b[_0x3907ae(0xd1)]+_0x3907ae(0xdb)+_0x4c614d[_0x3907ae(0x129)](_0x3907ae(0xe0))+_0x3907ae(0x115),_0x382aea+=_0x3907ae(0x110)+_0x2f5d0b[_0x3907ae(0xf6)]+'?:\x20\x27'+_0x4c614d[_0x3907ae(0x129)](_0x3907ae(0xeb))+_0x3907ae(0x126);}else[_0x3907ae(0x10c),_0x3907ae(0xe9),_0x3907ae(0xe7)][_0x3907ae(0x116)](_0x4e0ccb)>-0x1?(_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b[_0x3907ae(0xd1)]+_0x3907ae(0x12f),_0x382aea+='\x20\x20\x20\x20'+_0x2f5d0b[_0x3907ae(0xf6)]+_0x3907ae(0xd0)):(_0x382aea+=_0x3907ae(0xe5)+_0x2f5d0b[_0x3907ae(0xd1)]+_0x3907ae(0xde),_0x382aea+=_0x3907ae(0x110)+_0x2f5d0b[_0x3907ae(0xf6)]+'?:\x20string;\x0a\x0a');}}}}}_0x382aea+=_0x3907ae(0x122),_0x382aea+=_0x3907ae(0x132);(_0x4be2dc===null||_0x4be2dc===void 0x0?void 0x0:_0x4be2dc['find'](_0x45b423=>typeof _0x45b423!='boolean'))?_0x5c3876+=_0x3907ae(0xfe):_0x5c3876+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x489de8&&(_0x5c3876+=_0x3907ae(0x136)+_0x4868d0+_0x3907ae(0x109)+(typeof _0x4fd8c1==_0x3907ae(0x10b)?'@/apps/'+_0x4fd8c1:'@/'+_0x839ed1)+_0x3907ae(0xd6)+_0x17cadc+'\x27;\x0a');_0x5c3876+='\x0a',_0x5c3876+='/**\x0a',_0x5c3876+='\x20*\x20'+_0x5e6dca+'\x0a',_0x5c3876+=_0x3907ae(0x13a),_0x5c3876+='\x20*\x20**/\x0a',_0x5c3876+=_0x3907ae(0xf7)+_0x4868d0+_0x3907ae(0xd8),_0x5c3876+=_0x3907ae(0xd4),_0x5c3876+=_0x3907ae(0xf5);for(const _0x3b9d7f of _0x4be2dc){typeof _0x3b9d7f==_0x3907ae(0x10b)&&(_0x5c3876+=_0x3907ae(0xf7)+_0x3b9d7f[_0x3907ae(0xf8)](0x0,0x1)['toUpperCase']()+_0x3b9d7f[_0x3907ae(0xf8)](0x1)[_0x3907ae(0xc5)]()+_0x4868d0+_0x3907ae(0xfc)+_0x4868d0+'DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x5c3876+='}\x0a\x0a');}_0x5c3876=_0x5c3876[_0x3907ae(0x103)](_0x3907ae(0xd4),_0x382aea),fs[_0x3907ae(0x113)](_0x6b5063,_0x5c3876,'utf-8');}}async function DTOSearch({controllers:_0x29816d,tablestartUp:_0x5b823d,tablestartUpShort:_0x598f8b,basedir:_0x330f19,Fields:_0x48bc71,Primary:_0x214c99,Comment:_0x440a27,moduleName:_0x17d099,apporbasic:_0x31e044}){const _0x1795dd=a10_0x480164,_0x53ac2b=_0x330f19+(_0x1795dd(0x137)+_0x598f8b+_0x1795dd(0x121));if(!fs[_0x1795dd(0x130)](_0x53ac2b)){let _0x43c7e6='',_0x13ef9c='',_0x3556ed=![];for(let _0x503661 of[{[_0x214c99[_0x1795dd(0xf6)]]:_0x214c99},_0x48bc71]){for(let _0x1f92cf in _0x503661){let _0x42fcdd=_0x503661[_0x1f92cf],_0x28f989=(0x0,helper_1['getProp'])(_0x42fcdd[_0x1795dd(0xc7)]);if(_0x42fcdd['Field']==_0x1795dd(0xdc)||_0x42fcdd[_0x1795dd(0xf6)]==_0x1795dd(0x100)||_0x42fcdd[_0x1795dd(0xf6)]=='updated_at'||_0x42fcdd[_0x1795dd(0xf6)]==_0x1795dd(0xe8))continue;if([_0x1795dd(0xf3),'longtext',_0x1795dd(0x123)][_0x1795dd(0x116)](_0x28f989)!=-0x1){}else{if([_0x1795dd(0xda),_0x1795dd(0xcf),_0x1795dd(0x13d),_0x1795dd(0xff)][_0x1795dd(0x116)](_0x28f989)!=-0x1)_0x43c7e6+=_0x1795dd(0xe5)+_0x42fcdd['Comment']+_0x1795dd(0xfa),_0x43c7e6+='\x20\x20\x20\x20'+_0x42fcdd[_0x1795dd(0xf6)]+_0x1795dd(0x11c);else{if([_0x1795dd(0x111)][_0x1795dd(0x116)](_0x28f989)!=-0x1)_0x3556ed=!![],_0x43c7e6+='\x20\x20\x20\x20@Rule(\x27'+_0x42fcdd['Comment']+_0x1795dd(0x114)+_0x5b823d+'Enum,\x20\x27'+_0x42fcdd[_0x1795dd(0xf6)]+'\x27)))\x0a',_0x43c7e6+=_0x1795dd(0x110)+_0x42fcdd[_0x1795dd(0xf6)]+_0x1795dd(0x11c);else{if(_0x28f989==_0x1795dd(0xf0)){}else{if(_0x28f989==_0x1795dd(0x101)){let _0xe0dbea=(0x0,helper_1[_0x1795dd(0x11e)])(_0x42fcdd['Type']);_0x43c7e6+=_0x1795dd(0xe5)+_0x42fcdd[_0x1795dd(0xd1)]+_0x1795dd(0xdb)+_0xe0dbea[_0x1795dd(0x129)](_0x1795dd(0xe0))+_0x1795dd(0x115),_0x43c7e6+='\x20\x20\x20\x20'+_0x42fcdd[_0x1795dd(0xf6)]+_0x1795dd(0xd5)+_0xe0dbea['join'](_0x1795dd(0xeb))+_0x1795dd(0x126);}else[_0x1795dd(0x10c),_0x1795dd(0xe9),'timestamp'][_0x1795dd(0x116)](_0x28f989)>-0x1?(_0x43c7e6+=_0x1795dd(0xe5)+_0x42fcdd[_0x1795dd(0xd1)]+_0x1795dd(0xde),_0x43c7e6+=_0x1795dd(0x110)+_0x42fcdd[_0x1795dd(0xf6)]+'?:\x20string;\x0a\x0a',_0x43c7e6+=_0x1795dd(0xe5)+_0x42fcdd[_0x1795dd(0xd1)]+_0x1795dd(0x138),_0x43c7e6+='\x20\x20\x20\x20'+_0x42fcdd[_0x1795dd(0xf6)]+_0x1795dd(0x125),_0x43c7e6+='\x20\x20\x20\x20@Rule(\x27'+_0x42fcdd[_0x1795dd(0xd1)]+_0x1795dd(0x11f),_0x43c7e6+=_0x1795dd(0x110)+_0x42fcdd[_0x1795dd(0xf6)]+_0x1795dd(0x135),_0x43c7e6+='\x20\x20\x20\x20@Rule(\x27'+_0x42fcdd[_0x1795dd(0xd1)]+_0x1795dd(0xcb),_0x43c7e6+=_0x1795dd(0x110)+_0x42fcdd['Field']+'_end?:\x20string;\x0a\x0a'):(_0x43c7e6+=_0x1795dd(0xe5)+_0x42fcdd[_0x1795dd(0xd1)]+'\x27,\x20RuleType.string())\x0a',_0x43c7e6+=_0x1795dd(0x110)+_0x42fcdd[_0x1795dd(0xf6)]+_0x1795dd(0xd0));}}}}}}_0x43c7e6+=_0x1795dd(0x122),_0x43c7e6+=_0x1795dd(0x132),_0x43c7e6+=_0x1795dd(0x10a),_0x43c7e6+=_0x1795dd(0xd7),_0x43c7e6+=_0x1795dd(0x13c),_0x43c7e6+=_0x1795dd(0x12e),_0x43c7e6+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x43c7e6+='\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a',_0x43c7e6+=_0x1795dd(0xef),_0x43c7e6+=_0x1795dd(0x119),_0x43c7e6+=_0x1795dd(0x128),_0x43c7e6+=_0x1795dd(0xe4),_0x43c7e6+=_0x1795dd(0xe2),_0x43c7e6+=_0x1795dd(0xdd);(_0x29816d===null||_0x29816d===void 0x0?void 0x0:_0x29816d[_0x1795dd(0x12d)](_0x56c4cf=>typeof _0x56c4cf!='boolean'))?_0x13ef9c+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x13ef9c+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x3556ed&&(_0x13ef9c+='import\x20{\x20'+_0x5b823d+'Enum\x20}\x20from\x20\x27'+(typeof _0x17d099==_0x1795dd(0x10b)?_0x1795dd(0x12b)+_0x17d099:'@/'+_0x31e044)+_0x1795dd(0xd6)+_0x598f8b+_0x1795dd(0xed));_0x13ef9c+='\x0a',_0x13ef9c+=_0x1795dd(0x107),_0x13ef9c+=_0x1795dd(0xf4)+_0x440a27+'\x0a',_0x13ef9c+=_0x1795dd(0xc9),_0x13ef9c+=_0x1795dd(0x133),_0x13ef9c+=_0x1795dd(0xf7)+_0x5b823d+_0x1795dd(0xd3),_0x13ef9c+=_0x1795dd(0x131),_0x13ef9c+=_0x1795dd(0xf5);for(const _0x54ad4d of _0x29816d){typeof _0x54ad4d=='string'&&(_0x13ef9c+=_0x1795dd(0xf7)+_0x54ad4d[_0x1795dd(0xf8)](0x0,0x1)['toUpperCase']()+_0x54ad4d[_0x1795dd(0xf8)](0x1)[_0x1795dd(0xc5)]()+_0x5b823d+'DTOSearch\x20extends\x20OmitDto('+_0x5b823d+_0x1795dd(0x13b),_0x13ef9c+=_0x1795dd(0xf5));}_0x13ef9c=_0x13ef9c['replace'](_0x1795dd(0x131),_0x43c7e6),fs[_0x1795dd(0x113)](_0x53ac2b,_0x13ef9c,_0x1795dd(0x117));}}
|
|
1
|
+
const a10_0x2c5c3c=a10_0x2df5;(function(_0x8f1770,_0x2dd7fc){const _0x523d02=a10_0x2df5,_0x3b9571=_0x8f1770();while(!![]){try{const _0x4b12fd=parseInt(_0x523d02(0x179))/0x1*(parseInt(_0x523d02(0x12f))/0x2)+-parseInt(_0x523d02(0x13e))/0x3+parseInt(_0x523d02(0x16b))/0x4*(-parseInt(_0x523d02(0x138))/0x5)+-parseInt(_0x523d02(0x170))/0x6+parseInt(_0x523d02(0x18f))/0x7+-parseInt(_0x523d02(0x186))/0x8*(-parseInt(_0x523d02(0x192))/0x9)+parseInt(_0x523d02(0x159))/0xa*(parseInt(_0x523d02(0x172))/0xb);if(_0x4b12fd===_0x2dd7fc)break;else _0x3b9571['push'](_0x3b9571['shift']());}catch(_0x5bd3b0){_0x3b9571['push'](_0x3b9571['shift']());}}}(a10_0x1449,0xed064));const a10_0x4acc6b=(function(){let _0xe14722=!![];return function(_0x11e893,_0x5955aa){const _0x4c3700=_0xe14722?function(){const _0x530fe8=a10_0x2df5;if(_0x5955aa){const _0x1761d3=_0x5955aa[_0x530fe8(0x189)](_0x11e893,arguments);return _0x5955aa=null,_0x1761d3;}}:function(){};return _0xe14722=![],_0x4c3700;};}()),a10_0x1adba5=a10_0x4acc6b(this,function(){const _0x21b6e8=a10_0x2df5;return a10_0x1adba5[_0x21b6e8(0x12c)]()[_0x21b6e8(0x13b)](_0x21b6e8(0x122))['toString']()[_0x21b6e8(0x131)](a10_0x1adba5)[_0x21b6e8(0x13b)](_0x21b6e8(0x122));});a10_0x1adba5();'use strict';function a10_0x1449(){const _0x4e5e8c=['deleted_at','Enum\x20}\x20from\x20\x27','datetime','replace','__esModule','text','?:\x20string;\x0a\x0a','Field','DTOSearch\x20{\x0a\x0a','\x27,\x20RuleType.date()','/Search.ts','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','toUpperCase','\x27;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','_between?:\x20string[];\x0a\x0a','DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','6991690ZMLNUn','\x27,\x20RuleType.number())\x0a','%SearchDtoColumn%','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','getEnum','boolean','\x20*\x20**/\x0a','\x27,\x20RuleType.date())\x0a',':\x20\x27','DTOUpdate\x20{\x0a\x0a','find','YES','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',':\x20string;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','utf-8','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','timestamp','2650072EzGyXb','DTOCreate\x20{\x0a\x0a','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','writeFileSync','number','3152166QGISbO','Type','11poTMEP','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','longtext','/**\x0a','\x27;\x0a','\x27,\x20RuleType.string().valid(\x27','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','147071RGUtXt','existsSync','double','\x20*\x20','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27','\x20*\x20数据添加验证\x0a','string','tinyint','updated_at','\x27\x20|\x20\x27','_start?:\x20string;\x0a\x0a','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','132824kzLkBY','defineProperty','getProp','apply','created_at','displayorder','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a',':\x20number;\x0a\x0a','date','2855083VDkIHo','mediumtext','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a','693wasCdi','?:\x20number;\x0a\x0a','\x27,\x20RuleType.string())\x0a','\x27,\x20RuleType.any())\x0a','DTOUpdate\x20extends\x20OmitDto(','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','Null','float','import\x20{\x20','(((.+)+)+)+$','\x20*\x20数据更新验证\x0a','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','toLowerCase','\x27,\x20\x27','/Update.ts','\x27,\x20RuleType.number()','}\x0a\x0a','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','/validators/','toString','substring','join','10dwNEfv','DTOCreate\x20extends\x20OmitDto(','constructor','.required()','decimal','Comment','%DtoColumn%','Enum,\x20\x27','json','5Rznljx','../helper','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','search','?:\x20\x27','enum','2886279DOhxJR','default','/enums/','\x20*\x20数据检索验证\x0a','@/apps/','\x27)))\x0a','\x27))\x0a','\x20\x20\x20\x20','export\x20class\x20','indexOf'];a10_0x1449=function(){return _0x4e5e8c;};return a10_0x1449();}Object[a10_0x2c5c3c(0x187)](exports,a10_0x2c5c3c(0x14c),{'value':!![]}),exports[a10_0x2c5c3c(0x13f)]=default_1;const fs=require('fs'),helper_1=require(a10_0x2c5c3c(0x139));async function default_1({controllers:_0x39e43b,tablestartUp:_0xba2f6,tablestartUpShort:_0x37db58,basedir:_0x50bfe1,Primary:_0x28f401,Fields:_0x951a67,Comment:_0x87359b,moduleName:_0x4b0782,apporbasic:_0x1b0b45}){const _0x5767c1=a10_0x2c5c3c,_0x4d2634=_0x50bfe1+(_0x5767c1(0x12b)+_0x37db58);!fs['existsSync'](_0x4d2634)&&fs['mkdirSync'](_0x4d2634,{'recursive':!![]}),await DTOCreate({'controllers':_0x39e43b,'tablestartUp':_0xba2f6,'tablestartUpShort':_0x37db58,'basedir':_0x50bfe1,'Fields':_0x951a67,'Comment':_0x87359b,'moduleName':_0x4b0782,'apporbasic':_0x1b0b45}),await DTOUpdate({'controllers':_0x39e43b,'tablestartUp':_0xba2f6,'tablestartUpShort':_0x37db58,'basedir':_0x50bfe1,'Fields':_0x951a67,'Comment':_0x87359b,'moduleName':_0x4b0782,'apporbasic':_0x1b0b45}),await DTOSearch({'controllers':_0x39e43b,'tablestartUp':_0xba2f6,'tablestartUpShort':_0x37db58,'basedir':_0x50bfe1,'Fields':_0x951a67,'Primary':_0x28f401,'Comment':_0x87359b,'moduleName':_0x4b0782,'apporbasic':_0x1b0b45});}function a10_0x2df5(_0x15aa87,_0x24d75f){const _0x31e44e=a10_0x1449();return a10_0x2df5=function(_0x1adba5,_0x4acc6b){_0x1adba5=_0x1adba5-0x122;let _0x144993=_0x31e44e[_0x1adba5];return _0x144993;},a10_0x2df5(_0x15aa87,_0x24d75f);}async function DTOCreate({controllers:_0x5ae55e,tablestartUp:_0x539f18,tablestartUpShort:_0x3b2cd5,basedir:_0x4cfe4e,Fields:_0x1511bd,Comment:_0x23f14d,moduleName:_0x3e8894,apporbasic:_0x29ddb6}){const _0x497f69=a10_0x2c5c3c,_0x457144=_0x4cfe4e+(_0x497f69(0x12b)+_0x3b2cd5+'/Create.ts');if(!fs[_0x497f69(0x17a)](_0x457144)){let _0x524eca='',_0x29d845='',_0x34fb52=![];for(let _0x1383aa in _0x1511bd){let _0x28f01d=_0x1511bd[_0x1383aa],_0x249b8b=(0x0,helper_1[_0x497f69(0x188)])(_0x28f01d['Type']);if(_0x28f01d[_0x497f69(0x14f)]==_0x497f69(0x18b)||_0x28f01d['Field']==_0x497f69(0x18a)||_0x28f01d['Field']=='updated_at'||_0x28f01d[_0x497f69(0x14f)]==_0x497f69(0x148))continue;if(['text','longtext',_0x497f69(0x190)]['indexOf'](_0x249b8b)!=-0x1)_0x524eca+=_0x497f69(0x17e)+_0x28f01d[_0x497f69(0x134)]+_0x497f69(0x194),_0x524eca+='\x20\x20\x20\x20'+_0x28f01d['Field']+_0x497f69(0x14e);else{if([_0x497f69(0x199),_0x497f69(0x17b),_0x497f69(0x133),'number']['indexOf'](_0x249b8b)!=-0x1)_0x524eca+=_0x497f69(0x17e)+_0x28f01d[_0x497f69(0x134)]+_0x497f69(0x128)+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?_0x497f69(0x132):'')+')\x0a',_0x524eca+=_0x497f69(0x145)+_0x28f01d['Field']+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?'?':'')+_0x497f69(0x18d);else{if([_0x497f69(0x181)][_0x497f69(0x147)](_0x249b8b)!=-0x1)_0x34fb52=!![],_0x524eca+=_0x497f69(0x17e)+_0x28f01d[_0x497f69(0x134)]+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x539f18+_0x497f69(0x136)+_0x28f01d[_0x497f69(0x14f)]+'\x27))'+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?_0x497f69(0x132):'')+')\x0a',_0x524eca+=_0x497f69(0x145)+_0x28f01d[_0x497f69(0x14f)]+(_0x28f01d['Null']!=_0x497f69(0x164)?'?':'')+':\x20number;\x0a\x0a';else{if(_0x249b8b=='json')_0x524eca+=_0x497f69(0x17e)+_0x28f01d['Comment']+_0x497f69(0x195),_0x524eca+=_0x497f69(0x145)+_0x28f01d[_0x497f69(0x14f)]+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x249b8b==_0x497f69(0x13d)){let _0x464956=(0x0,helper_1['getEnum'])(_0x28f01d[_0x497f69(0x171)]);_0x524eca+=_0x497f69(0x17e)+_0x28f01d['Comment']+_0x497f69(0x177)+_0x464956[_0x497f69(0x12e)]('\x27,\x20\x27')+'\x27)'+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?_0x497f69(0x132):'')+')\x0a',_0x524eca+='\x20\x20\x20\x20'+_0x28f01d[_0x497f69(0x14f)]+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?'?':'')+_0x497f69(0x161)+_0x464956[_0x497f69(0x12e)]('\x27\x20|\x20\x27')+_0x497f69(0x155);}else['date','datetime','timestamp']['indexOf'](_0x249b8b)>-0x1?(_0x524eca+=_0x497f69(0x17e)+_0x28f01d[_0x497f69(0x134)]+_0x497f69(0x151)+(_0x28f01d[_0x497f69(0x198)]!='YES'?_0x497f69(0x132):'')+')\x0a',_0x524eca+=_0x497f69(0x145)+_0x28f01d['Field']+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?'?':'')+_0x497f69(0x166)):(_0x524eca+='\x20\x20\x20\x20@Rule(\x27'+_0x28f01d[_0x497f69(0x134)]+'\x27,\x20RuleType.string()'+(_0x28f01d[_0x497f69(0x198)]!=_0x497f69(0x164)?'.required()':'')+')\x0a',_0x524eca+=_0x497f69(0x145)+_0x28f01d[_0x497f69(0x14f)]+(_0x28f01d['Null']!='YES'?'?':'')+_0x497f69(0x166));}}}}}_0x524eca+=_0x497f69(0x124),_0x524eca+=_0x497f69(0x178);(_0x5ae55e===null||_0x5ae55e===void 0x0?void 0x0:_0x5ae55e[_0x497f69(0x163)](_0x29ea08=>typeof _0x29ea08!=_0x497f69(0x15e)))?_0x29d845+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x29d845+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x34fb52&&(_0x29d845+='import\x20{\x20'+_0x539f18+'Enum\x20}\x20from\x20\x27'+(typeof _0x3e8894==_0x497f69(0x180)?_0x497f69(0x142)+_0x3e8894:'@/'+_0x29ddb6)+_0x497f69(0x140)+_0x3b2cd5+'\x27;\x0a');_0x29d845+='\x0a',_0x29d845+=_0x497f69(0x175),_0x29d845+=_0x497f69(0x17c)+_0x23f14d+'\x0a',_0x29d845+=_0x497f69(0x17f),_0x29d845+=_0x497f69(0x15f),_0x29d845+='export\x20class\x20'+_0x539f18+_0x497f69(0x16c),_0x29d845+='%DtoColumn%',_0x29d845+=_0x497f69(0x129);for(const _0x2190bc of _0x5ae55e){typeof _0x2190bc==_0x497f69(0x180)&&(_0x29d845+=_0x497f69(0x146)+_0x2190bc[_0x497f69(0x12d)](0x0,0x1)[_0x497f69(0x154)]()+_0x2190bc[_0x497f69(0x12d)](0x1)[_0x497f69(0x125)]()+_0x539f18+_0x497f69(0x130)+_0x539f18+_0x497f69(0x158),_0x29d845+='}\x0a\x0a');}_0x29d845=_0x29d845['replace']('%DtoColumn%',_0x524eca),fs['writeFileSync'](_0x457144,_0x29d845,_0x497f69(0x168));}}async function DTOUpdate({controllers:_0x71d19e,tablestartUp:_0x27ac72,tablestartUpShort:_0x553884,basedir:_0x51ebb9,Fields:_0x11dace,Comment:_0x6e1ecb,moduleName:_0x58b571,apporbasic:_0x1e9e24}){const _0x1db1b9=a10_0x2c5c3c,_0x468327=_0x51ebb9+(_0x1db1b9(0x12b)+_0x553884+_0x1db1b9(0x127));if(!fs[_0x1db1b9(0x17a)](_0x468327)){let _0x235b86='',_0xe9331d='',_0x1abb12=![];for(let _0x3809c2 in _0x11dace){let _0x2c27dd=_0x11dace[_0x3809c2],_0x5be1a8=(0x0,helper_1[_0x1db1b9(0x188)])(_0x2c27dd['Type']);if(_0x2c27dd[_0x1db1b9(0x14f)]=='displayorder'||_0x2c27dd[_0x1db1b9(0x14f)]==_0x1db1b9(0x18a)||_0x2c27dd[_0x1db1b9(0x14f)]==_0x1db1b9(0x182)||_0x2c27dd[_0x1db1b9(0x14f)]==_0x1db1b9(0x148))continue;if([_0x1db1b9(0x14d),_0x1db1b9(0x174),'mediumtext'][_0x1db1b9(0x147)](_0x5be1a8)!=-0x1)_0x235b86+=_0x1db1b9(0x17e)+_0x2c27dd['Comment']+_0x1db1b9(0x194),_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+_0x1db1b9(0x14e);else{if([_0x1db1b9(0x199),_0x1db1b9(0x17b),_0x1db1b9(0x133),'number'][_0x1db1b9(0x147)](_0x5be1a8)!=-0x1)_0x235b86+=_0x1db1b9(0x17e)+_0x2c27dd[_0x1db1b9(0x134)]+_0x1db1b9(0x15a),_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+'?:\x20number;\x0a\x0a';else{if([_0x1db1b9(0x181)]['indexOf'](_0x5be1a8)!=-0x1)_0x1abb12=!![],_0x235b86+=_0x1db1b9(0x17e)+_0x2c27dd[_0x1db1b9(0x134)]+_0x1db1b9(0x12a)+_0x27ac72+_0x1db1b9(0x136)+_0x2c27dd[_0x1db1b9(0x14f)]+_0x1db1b9(0x143),_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+_0x1db1b9(0x193);else{if(_0x5be1a8==_0x1db1b9(0x137))_0x235b86+='\x20\x20\x20\x20@Rule(\x27'+_0x2c27dd[_0x1db1b9(0x134)]+_0x1db1b9(0x195),_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x5be1a8==_0x1db1b9(0x13d)){let _0x562998=(0x0,helper_1[_0x1db1b9(0x15d)])(_0x2c27dd[_0x1db1b9(0x171)]);_0x235b86+=_0x1db1b9(0x17e)+_0x2c27dd['Comment']+'\x27,\x20RuleType.string().valid(\x27'+_0x562998['join'](_0x1db1b9(0x126))+'\x27))\x0a',_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+_0x1db1b9(0x13c)+_0x562998[_0x1db1b9(0x12e)](_0x1db1b9(0x183))+'\x27;\x0a\x0a';}else['date',_0x1db1b9(0x14a),_0x1db1b9(0x16a)][_0x1db1b9(0x147)](_0x5be1a8)>-0x1?(_0x235b86+=_0x1db1b9(0x17e)+_0x2c27dd[_0x1db1b9(0x134)]+_0x1db1b9(0x160),_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+_0x1db1b9(0x14e)):(_0x235b86+='\x20\x20\x20\x20@Rule(\x27'+_0x2c27dd['Comment']+_0x1db1b9(0x194),_0x235b86+=_0x1db1b9(0x145)+_0x2c27dd[_0x1db1b9(0x14f)]+_0x1db1b9(0x14e));}}}}}_0x235b86+=_0x1db1b9(0x124),_0x235b86+=_0x1db1b9(0x178);(_0x71d19e===null||_0x71d19e===void 0x0?void 0x0:_0x71d19e[_0x1db1b9(0x163)](_0x456927=>typeof _0x456927!=_0x1db1b9(0x15e)))?_0xe9331d+=_0x1db1b9(0x18c):_0xe9331d+=_0x1db1b9(0x173);_0x1abb12&&(_0xe9331d+=_0x1db1b9(0x19a)+_0x27ac72+_0x1db1b9(0x149)+(typeof _0x58b571==_0x1db1b9(0x180)?_0x1db1b9(0x142)+_0x58b571:'@/'+_0x1e9e24)+_0x1db1b9(0x140)+_0x553884+_0x1db1b9(0x176));_0xe9331d+='\x0a',_0xe9331d+='/**\x0a',_0xe9331d+='\x20*\x20'+_0x6e1ecb+'\x0a',_0xe9331d+=_0x1db1b9(0x123),_0xe9331d+=_0x1db1b9(0x15f),_0xe9331d+=_0x1db1b9(0x146)+_0x27ac72+_0x1db1b9(0x162),_0xe9331d+='%DtoColumn%',_0xe9331d+=_0x1db1b9(0x129);for(const _0x32bb17 of _0x71d19e){typeof _0x32bb17==_0x1db1b9(0x180)&&(_0xe9331d+=_0x1db1b9(0x146)+_0x32bb17[_0x1db1b9(0x12d)](0x0,0x1)[_0x1db1b9(0x154)]()+_0x32bb17['substring'](0x1)[_0x1db1b9(0x125)]()+_0x27ac72+_0x1db1b9(0x196)+_0x27ac72+'DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0xe9331d+=_0x1db1b9(0x129));}_0xe9331d=_0xe9331d[_0x1db1b9(0x14b)](_0x1db1b9(0x135),_0x235b86),fs[_0x1db1b9(0x16e)](_0x468327,_0xe9331d,_0x1db1b9(0x168));}}async function DTOSearch({controllers:_0x2936e3,tablestartUp:_0x320cdc,tablestartUpShort:_0x48bb1f,basedir:_0x557d0e,Fields:_0x2b51b0,Primary:_0x462411,Comment:_0x4a14cf,moduleName:_0x36999b,apporbasic:_0x15c888}){const _0x15d434=a10_0x2c5c3c,_0x4b8d1c=_0x557d0e+(_0x15d434(0x12b)+_0x48bb1f+_0x15d434(0x152));if(!fs[_0x15d434(0x17a)](_0x4b8d1c)){let _0x11a630='',_0x45e4bc='',_0x57af23=![];for(let _0x4424ae of[{[_0x462411[_0x15d434(0x14f)]]:_0x462411},_0x2b51b0]){for(let _0x50e781 in _0x4424ae){let _0x51efe7=_0x4424ae[_0x50e781],_0x2fd744=(0x0,helper_1[_0x15d434(0x188)])(_0x51efe7[_0x15d434(0x171)]);if(_0x51efe7[_0x15d434(0x14f)]==_0x15d434(0x18b)||_0x51efe7[_0x15d434(0x14f)]=='created_at'||_0x51efe7['Field']==_0x15d434(0x182)||_0x51efe7['Field']==_0x15d434(0x148))continue;if([_0x15d434(0x14d),_0x15d434(0x174),_0x15d434(0x190)][_0x15d434(0x147)](_0x2fd744)!=-0x1){}else{if([_0x15d434(0x199),_0x15d434(0x17b),_0x15d434(0x133),_0x15d434(0x16f)][_0x15d434(0x147)](_0x2fd744)!=-0x1)_0x11a630+=_0x15d434(0x17e)+_0x51efe7[_0x15d434(0x134)]+_0x15d434(0x15a),_0x11a630+='\x20\x20\x20\x20'+_0x51efe7[_0x15d434(0x14f)]+'?:\x20number;\x0a\x0a';else{if([_0x15d434(0x181)][_0x15d434(0x147)](_0x2fd744)!=-0x1)_0x57af23=!![],_0x11a630+=_0x15d434(0x17e)+_0x51efe7[_0x15d434(0x134)]+_0x15d434(0x12a)+_0x320cdc+_0x15d434(0x136)+_0x51efe7[_0x15d434(0x14f)]+_0x15d434(0x143),_0x11a630+=_0x15d434(0x145)+_0x51efe7['Field']+_0x15d434(0x193);else{if(_0x2fd744==_0x15d434(0x137)){}else{if(_0x2fd744=='enum'){let _0x5d4403=(0x0,helper_1[_0x15d434(0x15d)])(_0x51efe7[_0x15d434(0x171)]);_0x11a630+=_0x15d434(0x17e)+_0x51efe7[_0x15d434(0x134)]+_0x15d434(0x177)+_0x5d4403['join']('\x27,\x20\x27')+_0x15d434(0x144),_0x11a630+=_0x15d434(0x145)+_0x51efe7['Field']+_0x15d434(0x13c)+_0x5d4403[_0x15d434(0x12e)](_0x15d434(0x183))+'\x27;\x0a\x0a';}else[_0x15d434(0x18e),_0x15d434(0x14a),_0x15d434(0x16a)][_0x15d434(0x147)](_0x2fd744)>-0x1?(_0x11a630+=_0x15d434(0x17e)+_0x51efe7[_0x15d434(0x134)]+_0x15d434(0x194),_0x11a630+=_0x15d434(0x145)+_0x51efe7[_0x15d434(0x14f)]+'?:\x20string;\x0a\x0a',_0x11a630+='\x20\x20\x20\x20@Rule(\x27'+_0x51efe7['Comment']+'\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x11a630+=_0x15d434(0x145)+_0x51efe7[_0x15d434(0x14f)]+_0x15d434(0x157),_0x11a630+=_0x15d434(0x17e)+_0x51efe7[_0x15d434(0x134)]+_0x15d434(0x16d),_0x11a630+=_0x15d434(0x145)+_0x51efe7[_0x15d434(0x14f)]+_0x15d434(0x184),_0x11a630+=_0x15d434(0x17e)+_0x51efe7[_0x15d434(0x134)]+_0x15d434(0x185),_0x11a630+=_0x15d434(0x145)+_0x51efe7[_0x15d434(0x14f)]+'_end?:\x20string;\x0a\x0a'):(_0x11a630+=_0x15d434(0x17e)+_0x51efe7['Comment']+_0x15d434(0x194),_0x11a630+=_0x15d434(0x145)+_0x51efe7[_0x15d434(0x14f)]+'?:\x20string;\x0a\x0a');}}}}}}_0x11a630+=_0x15d434(0x124),_0x11a630+=_0x15d434(0x178),_0x11a630+=_0x15d434(0x197),_0x11a630+=_0x15d434(0x15c),_0x11a630+=_0x15d434(0x13a),_0x11a630+='\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a',_0x11a630+=_0x15d434(0x165),_0x11a630+=_0x15d434(0x153),_0x11a630+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x11a630+=_0x15d434(0x191),_0x11a630+=_0x15d434(0x167),_0x11a630+=_0x15d434(0x17d),_0x11a630+=_0x15d434(0x156),_0x11a630+='\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a';(_0x2936e3===null||_0x2936e3===void 0x0?void 0x0:_0x2936e3[_0x15d434(0x163)](_0x34892d=>typeof _0x34892d!='boolean'))?_0x45e4bc+=_0x15d434(0x18c):_0x45e4bc+=_0x15d434(0x173);_0x57af23&&(_0x45e4bc+=_0x15d434(0x19a)+_0x320cdc+_0x15d434(0x149)+(typeof _0x36999b==_0x15d434(0x180)?_0x15d434(0x142)+_0x36999b:'@/'+_0x15c888)+_0x15d434(0x140)+_0x48bb1f+'\x27;\x0a');_0x45e4bc+='\x0a',_0x45e4bc+=_0x15d434(0x175),_0x45e4bc+='\x20*\x20'+_0x4a14cf+'\x0a',_0x45e4bc+=_0x15d434(0x141),_0x45e4bc+='\x20*\x20**/\x0a',_0x45e4bc+=_0x15d434(0x146)+_0x320cdc+_0x15d434(0x150),_0x45e4bc+=_0x15d434(0x15b),_0x45e4bc+='}\x0a\x0a';for(const _0x1f3c91 of _0x2936e3){typeof _0x1f3c91==_0x15d434(0x180)&&(_0x45e4bc+=_0x15d434(0x146)+_0x1f3c91[_0x15d434(0x12d)](0x0,0x1)[_0x15d434(0x154)]()+_0x1f3c91[_0x15d434(0x12d)](0x1)[_0x15d434(0x125)]()+_0x320cdc+'DTOSearch\x20extends\x20OmitDto('+_0x320cdc+_0x15d434(0x169),_0x45e4bc+=_0x15d434(0x129));}_0x45e4bc=_0x45e4bc[_0x15d434(0x14b)]('%SearchDtoColumn%',_0x11a630),fs[_0x15d434(0x16e)](_0x4b8d1c,_0x45e4bc,_0x15d434(0x168));}}
|
package/dist/templateVue/Api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11_0x9686(){const _0x54af56=['@详情\x27,\x0a','3356523AFCsMG','utf-8','Field','\x20\x20\x20\x20detail:{\x0a','//\x20','15414gZIpTJ','/apis/','/edit/:','export\x20const\x20','13ZXqFGX','.js','@删除\x27,\x0a','@列表\x27,\x0a','path','1896LnyOUK','\x20\x20\x20\x20},\x0a','2YCmExw','1089qWkQWH','8mjgwKt','apply','110610cDOQBU','/pages/apps/','writeFileSync','/detail/:','96gpHiwG','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','\x20=\x20{\x0a','defineProperty','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','constructor','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a','toString','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','400955YJZrBw','731225gLrrOz','default','(((.+)+)+)+$','\x20\x20\x20\x20}\x0a','33332WRllta','string','9371076plfMIL','__esModule'];a11_0x9686=function(){return _0x54af56;};return a11_0x9686();}const a11_0x363f59=a11_0x537d;(function(_0x35130e,_0xdb37f6){const _0x5d81e6=a11_0x537d,_0x179872=_0x35130e();while(!![]){try{const _0x40f6af=parseInt(_0x5d81e6(0x146))/0x1*(-parseInt(_0x5d81e6(0x135))/0x2)+-parseInt(_0x5d81e6(0x13d))/0x3*(-parseInt(_0x5d81e6(0x14b))/0x4)+parseInt(_0x5d81e6(0x147))/0x5+parseInt(_0x5d81e6(0x133))/0x6*(-parseInt(_0x5d81e6(0x155))/0x7)+-parseInt(_0x5d81e6(0x137))/0x8*(parseInt(_0x5d81e6(0x150))/0x9)+-parseInt(_0x5d81e6(0x139))/0xa*(-parseInt(_0x5d81e6(0x136))/0xb)+parseInt(_0x5d81e6(0x14d))/0xc*(parseInt(_0x5d81e6(0x159))/0xd);if(_0x40f6af===_0xdb37f6)break;else _0x179872['push'](_0x179872['shift']());}catch(_0x461e63){_0x179872['push'](_0x179872['shift']());}}}(a11_0x9686,0xc7fb9));function a11_0x537d(_0x274fcc,_0x130981){const _0x1075ab=a11_0x9686();return a11_0x537d=function(_0x29fec3,_0x4b5e28){_0x29fec3=_0x29fec3-0x133;let _0x9686d1=_0x1075ab[_0x29fec3];return _0x9686d1;},a11_0x537d(_0x274fcc,_0x130981);}const a11_0x4b5e28=(function(){let _0x1b2e3a=!![];return function(_0x29d9ee,_0x4a2913){const _0x47da62=_0x1b2e3a?function(){const _0x295f5d=a11_0x537d;if(_0x4a2913){const _0x47e9d9=_0x4a2913[_0x295f5d(0x138)](_0x29d9ee,arguments);return _0x4a2913=null,_0x47e9d9;}}:function(){};return _0x1b2e3a=![],_0x47da62;};}()),a11_0x29fec3=a11_0x4b5e28(this,function(){const _0x48d9e1=a11_0x537d;return a11_0x29fec3[_0x48d9e1(0x144)]()['search']('(((.+)+)+)+$')[_0x48d9e1(0x144)]()[_0x48d9e1(0x142)](a11_0x29fec3)['search'](_0x48d9e1(0x149));});a11_0x29fec3();'use strict';Object[a11_0x363f59(0x140)](exports,a11_0x363f59(0x14e),{'value':!![]}),exports[a11_0x363f59(0x148)]=default_1;const fs=require('fs'),path_1=require(a11_0x363f59(0x15d));async function default_1({tablestartUpShort:_0x389da9,tablestartUpShort2:_0x3fcd47,moduleName:_0x1e7f42,controller:_0x15d7fd,Comment:_0x457abe,apporbasic:_0x4ef9b6,Primary:_0x34ee63}){const _0x436696=a11_0x363f59;let _0x27209e=process['cwd']()+'/vue'+(typeof _0x15d7fd==_0x436696(0x14c)?'/'+_0x15d7fd:'');_0x1e7f42?_0x27209e=_0x27209e+(_0x436696(0x13a)+_0x1e7f42+_0x436696(0x156)+_0x389da9+_0x436696(0x15a)):_0x27209e=_0x27209e+('/pages/'+_0x4ef9b6+'/apis/'+_0x389da9+_0x436696(0x15a));if(!fs['existsSync'](_0x27209e)){const _0x38feea=''+(typeof _0x15d7fd==_0x436696(0x14c)?_0x15d7fd+'/':'')+(_0x1e7f42?_0x1e7f42+'/':'')+_0x3fcd47+'/add',_0x4e6031=''+(typeof _0x15d7fd==_0x436696(0x14c)?_0x15d7fd+'/':'')+(_0x1e7f42?_0x1e7f42+'/':'')+_0x3fcd47+'/list',_0x2e9a66=''+(typeof _0x15d7fd=='string'?_0x15d7fd+'/':'')+(_0x1e7f42?_0x1e7f42+'/':'')+_0x3fcd47+_0x436696(0x157)+_0x34ee63[_0x436696(0x152)],_0x4f5c78=''+(typeof _0x15d7fd==_0x436696(0x14c)?_0x15d7fd+'/':'')+(_0x1e7f42?_0x1e7f42+'/':'')+_0x3fcd47+_0x436696(0x13c)+_0x34ee63[_0x436696(0x152)],_0x3a2517=''+(typeof _0x15d7fd==_0x436696(0x14c)?_0x15d7fd+'/':'')+(_0x1e7f42?_0x1e7f42+'/':'')+_0x3fcd47+'/remove';let _0xc4c396='\x0a\x0a';_0xc4c396+=_0x436696(0x154)+_0x457abe+'\x0a',_0xc4c396+=_0x436696(0x158)+_0x389da9+_0x436696(0x13f),_0xc4c396+='\x20\x20\x20\x20add:{\x0a',_0xc4c396+=_0x436696(0x141),_0xc4c396+=_0x436696(0x13e)+_0x457abe+'@添加\x27,\x0a',_0xc4c396+=_0x436696(0x145)+_0x38feea+'\x27\x0a',_0xc4c396+=_0x436696(0x134),_0xc4c396+='\x20\x20\x20\x20edit:{\x0a',_0xc4c396+=_0x436696(0x141),_0xc4c396+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x457abe+'@编辑\x27,\x0a',_0xc4c396+=_0x436696(0x145)+_0x2e9a66+'\x27\x0a',_0xc4c396+=_0x436696(0x134),_0xc4c396+='\x20\x20\x20\x20list:{\x0a',_0xc4c396+=_0x436696(0x143),_0xc4c396+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x457abe+_0x436696(0x15c),_0xc4c396+=_0x436696(0x145)+_0x4e6031+'\x27\x0a',_0xc4c396+=_0x436696(0x134),_0xc4c396+=_0x436696(0x153),_0xc4c396+=_0x436696(0x143),_0xc4c396+=_0x436696(0x13e)+_0x457abe+_0x436696(0x14f),_0xc4c396+=_0x436696(0x145)+_0x4f5c78+'\x27\x0a',_0xc4c396+=_0x436696(0x134),_0xc4c396+='\x20\x20\x20\x20remove:{\x0a',_0xc4c396+=_0x436696(0x141),_0xc4c396+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x457abe+_0x436696(0x15b),_0xc4c396+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x3a2517+'\x27\x0a',_0xc4c396+=_0x436696(0x14a),_0xc4c396+='}\x0a',fs['mkdirSync']((0x0,path_1['dirname'])(_0x27209e),{'recursive':!![]}),fs[_0x436696(0x13b)](_0x27209e,_0xc4c396,_0x436696(0x151));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a12_0x34dc(_0x558e38,_0x5b1066){const _0xc21d6=a12_0x20c0();return a12_0x34dc=function(_0x184516,_0x34833e){_0x184516=_0x184516-0x89;let _0x20c06c=_0xc21d6[_0x184516];return _0x20c06c;},a12_0x34dc(_0x558e38,_0x5b1066);}const a12_0x4ca44e=a12_0x34dc;(function(_0x583c03,_0x412e6b){const _0xdeebb6=a12_0x34dc,_0x208cc2=_0x583c03();while(!![]){try{const _0x129e2b=-parseInt(_0xdeebb6(0xac))/0x1+parseInt(_0xdeebb6(0x89))/0x2+parseInt(_0xdeebb6(0x97))/0x3*(-parseInt(_0xdeebb6(0xae))/0x4)+parseInt(_0xdeebb6(0x8e))/0x5+parseInt(_0xdeebb6(0xaf))/0x6*(parseInt(_0xdeebb6(0x99))/0x7)+-parseInt(_0xdeebb6(0xa2))/0x8+-parseInt(_0xdeebb6(0x8b))/0x9;if(_0x129e2b===_0x412e6b)break;else _0x208cc2['push'](_0x208cc2['shift']());}catch(_0x22caa0){_0x208cc2['push'](_0x208cc2['shift']());}}}(a12_0x20c0,0xd6778));const a12_0x34833e=(function(){let _0x205efb=!![];return function(_0x5e2a7f,_0x2ded8c){const _0x1751db=_0x205efb?function(){const _0x4937e7=a12_0x34dc;if(_0x2ded8c){const _0x3ccb44=_0x2ded8c[_0x4937e7(0x9e)](_0x5e2a7f,arguments);return _0x2ded8c=null,_0x3ccb44;}}:function(){};return _0x205efb=![],_0x1751db;};}()),a12_0x184516=a12_0x34833e(this,function(){const _0x125331=a12_0x34dc;return a12_0x184516[_0x125331(0x9f)]()[_0x125331(0xa3)]('(((.+)+)+)+$')['toString']()[_0x125331(0x90)](a12_0x184516)[_0x125331(0xa3)](_0x125331(0xaa));});function a12_0x20c0(){const _0x48d32f=['constructor','/layout.vue','<script>\x0a','/apps-','path','<template>\x0a','/pages/apps/','81zwQtqX','defineProperty','1638glPiOK','existsSync','writeFileSync','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','string','apply','toString','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','12698792gVguTw','search','</script>\x0a\x0a','\x20\x20\x20\x20},\x0a','export\x20default\x20{\x0a','mkdirSync','{title:\x20\x22','replace','(((.+)+)+)+$','readFileSync','450509VIsJpr','//\x20add\x20menu\x20here','61508xcFbhr','15198GTGAZZ','cwd','3454528goJPnw','/vue','6434298CEsTXA','dirname','</template>\x0a\x0a','8632145sSPPjf','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a'];a12_0x20c0=function(){return _0x48d32f;};return a12_0x20c0();}a12_0x184516();'use strict';Object[a12_0x4ca44e(0x98)](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a12_0x4ca44e(0x94));async function default_1({tablestartUpShort2:_0x14dcd7,controller:_0x4f0a92,moduleName:_0x6495d7,Comment:_0x955eed,apporbasic:_0x2114bc}){const _0x22252a=a12_0x4ca44e;let _0x31efbb=process[_0x22252a(0xb0)]()+_0x22252a(0x8a)+(typeof _0x4f0a92==_0x22252a(0x9d)?'/'+_0x4f0a92:'');_0x6495d7?_0x31efbb=_0x31efbb+(_0x22252a(0x96)+_0x6495d7+_0x22252a(0x91)):_0x31efbb=_0x31efbb+('/pages/'+_0x2114bc+'/layout.vue');await createLayout(_0x31efbb);const _0x2bb4a5=fs[_0x22252a(0xab)](_0x31efbb,'utf-8');fs[_0x22252a(0x9b)](_0x31efbb,_0x2bb4a5[_0x22252a(0xa9)](_0x22252a(0xad),_0x22252a(0xa8)+(_0x955eed+'\x22')['padEnd'](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x6495d7==_0x22252a(0x9d)?_0x22252a(0x93)+_0x6495d7+'/':'/'+_0x2114bc+'/')+_0x14dcd7+'\x22')['padEnd'](0x14)+'},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}async function createLayout(_0x3afcf4){const _0x48cdf=a12_0x4ca44e;if(!fs[_0x48cdf(0x9a)](_0x3afcf4)){let _0x30f717=_0x48cdf(0x95);_0x30f717+=_0x48cdf(0x9c),_0x30f717+='\x20\x20\x20\x20</page-layout>\x0a',_0x30f717+=_0x48cdf(0x8d),_0x30f717+=_0x48cdf(0x92),_0x30f717+=_0x48cdf(0xa6),_0x30f717+='\x20\x20\x20\x20data()\x20{\x0a',_0x30f717+=_0x48cdf(0xa0),_0x30f717+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a',_0x30f717+=_0x48cdf(0x8f),_0x30f717+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a',_0x30f717+=_0x48cdf(0xa1),_0x30f717+=_0x48cdf(0xa5),_0x30f717+='}\x0a',_0x30f717+=_0x48cdf(0xa4),fs[_0x48cdf(0xa7)]((0x0,path_1[_0x48cdf(0x8c)])(_0x3afcf4),{'recursive':!![]}),fs[_0x48cdf(0x9b)](_0x3afcf4,_0x30f717,'utf-8');}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13_0x13e99b=a13_0x138c;(function(_0x10fef3,_0x1b4bf1){const _0x5c429c=a13_0x138c,_0x37f012=_0x10fef3();while(!![]){try{const _0x1bc735=-parseInt(_0x5c429c(0x177))/0x1+-parseInt(_0x5c429c(0x164))/0x2+-parseInt(_0x5c429c(0x1e8))/0x3*(-parseInt(_0x5c429c(0x156))/0x4)+-parseInt(_0x5c429c(0x170))/0x5*(parseInt(_0x5c429c(0x1f8))/0x6)+parseInt(_0x5c429c(0x1ac))/0x7*(parseInt(_0x5c429c(0x1a1))/0x8)+parseInt(_0x5c429c(0x1a6))/0x9*(parseInt(_0x5c429c(0x1e5))/0xa)+parseInt(_0x5c429c(0x155))/0xb;if(_0x1bc735===_0x1b4bf1)break;else _0x37f012['push'](_0x37f012['shift']());}catch(_0x1379ad){_0x37f012['push'](_0x37f012['shift']());}}}(a13_0x3ef4,0x5c99d));const a13_0x250a83=(function(){let _0x270a80=!![];return function(_0x2b118f,_0x545cae){const _0x521ca5=_0x270a80?function(){const _0x19f48e=a13_0x138c;if(_0x545cae){const _0x3c43c0=_0x545cae[_0x19f48e(0x175)](_0x2b118f,arguments);return _0x545cae=null,_0x3c43c0;}}:function(){};return _0x270a80=![],_0x521ca5;};}()),a13_0x1e5df4=a13_0x250a83(this,function(){const _0x5b4d66=a13_0x138c;return a13_0x1e5df4[_0x5b4d66(0x18b)]()['search'](_0x5b4d66(0x1c3))[_0x5b4d66(0x18b)]()[_0x5b4d66(0x1a2)](a13_0x1e5df4)[_0x5b4d66(0x1ea)](_0x5b4d66(0x1c3));});a13_0x1e5df4();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a13_0x13e99b(0x1ff)]=default_1;function a13_0x3ef4(){const _0x10be2f=['endsWith','</template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','\x22\x20placeholder=\x22请输入','\x22\x20/>','mediumtext','<el-option\x20label=\x22','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','\x20}).then(res=>{\x0a','.remove({\x20','cwd','\x22\x20api=\x22','/template/','<el-date-picker\x20v-model=\x22formdata.','<el-form-item\x20label=\x22','number','/pages/apps/','_start\x22\x20placeholder=\x22选择','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','AddRule,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20','EditRule\x20}\x20from\x20\x27@','_ids','<el-select-tags\x20v-model=\x22formdata.','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','.detail({\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','<el-select\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','10ITQVIB','import\x20{\x20','\x22\x20placeholder=\x22选择','273iSLYqp','\x22\x20value=\x22','search','padEnd','existsSync','_id','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','date','EditRule,\x0a','</el-form-item>','/edit\x27\x0a','\x20\x20\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','70386CPwGya','utf-8','\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\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','<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','substr','default','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','edit','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','\x20label=\x22','\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\x20','export\x20default\x20{\x0a','<img\x20:src=\x22scope.row.','imgs','_end\x22\x20placeholder=\x22选择','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','Field','<el-table-column\x20prop=','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20:limit=\x221\x22\x20/>','logo','</el-popover>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','5108862YjGqaK','1000LAaWey','<el-select-search\x20v-model=\x22search.','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','/validators/','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','\x22\x20split=\x22-\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','thumbs','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22',');\x0a','\x20\x20\x20\x20','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','1353322MjczMB','</script>\x0a','\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>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','updated_at','/add\x27\x0a','displayorder','/index.vue','<page-images\x20v-model=\x22formdata.','Comment','.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a','add','160iaIDWu','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','dirname','Api.','string','apply','/edit?','30210qoUuzd','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','text',':\x20item.','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','<el-input\x20v-model=\x22search.','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>','/list/index.vue','</a>','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','timestamp','/vue','enum','<el-input\x20v-model=\x22formdata.','<a\x20:href=\x22scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20this.$router.back();\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','</el-select>','\x22\x20prop=\x22','toString','Type','(item).then(res=>{\x0a',')\x20{\x0a','num','<el-input-number\x20v-model=\x22formdata.','indexOf','\x22\x20:limit=\x225\x22\x20/>','<page-editor\x20v-model=\x22formdata.','</template>','<el-select\x20v-model=\x22search.','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','/pages/','/list/components/search.vue','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20clearable/>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','=${scope.row.','img','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20\x20placeholder=\x22请输入','thumb','8dSacjs','constructor','tags','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','1953513VsaulG','getProp','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','\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>','deleted_at','apps/','5301149TWFeAe','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','<el-select-search\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','<template>\x0a\x20\x20\x20\x20','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','<template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','<el-input-number\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a','\x22\x20class=\x22block\x22>','$appsApi.','created_at','\x20\x20\x20\x20methods:\x20{\x0a','../helper','.hasPrem()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','\x22\x20placeholder=\x22请选择','apps-','<el-date-picker\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','writeFileSync','\x20\x20\x20\x20</page-form>\x0a','(((.+)+)+)+$','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','datetime','/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','\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'];a13_0x3ef4=function(){return _0x10be2f;};return a13_0x3ef4();}const fs=require('fs'),path_1=require('path'),helper_1=require(a13_0x13e99b(0x1ba));async function default_1({moduleName:_0x3e37a1,controller:_0x942e48,tablestartUpShort:_0xbf88c5,tablestartUpShort2:_0x34562e,Primary:_0x47fa7d,Fields:_0x580f83,apporbasic:_0x21a204,Comment:_0x23427d}){const _0x4919da=a13_0x13e99b;await createIndex({'moduleName':_0x3e37a1,'controller':_0x942e48,'tablestartUpShort':_0xbf88c5,'tablestartUpShort2':_0x34562e,'Primary':_0x47fa7d,'Fields':_0x580f83,'apporbasic':_0x21a204}),await createSearch({'moduleName':_0x3e37a1,'controller':_0x942e48,'tablestartUpShort2':_0x34562e,'Primary':_0x47fa7d,'Fields':_0x580f83,'apporbasic':_0x21a204}),await createAddOrEdit({'moduleName':_0x3e37a1,'controller':_0x942e48,'tablestartUpShort':_0xbf88c5,'tablestartUpShort2':_0x34562e,'Primary':_0x47fa7d,'Fields':_0x580f83,'apporbasic':_0x21a204,'Comment':_0x23427d},_0x4919da(0x16f)),await createAddOrEdit({'moduleName':_0x3e37a1,'controller':_0x942e48,'tablestartUpShort':_0xbf88c5,'tablestartUpShort2':_0x34562e,'Primary':_0x47fa7d,'Fields':_0x580f83,'apporbasic':_0x21a204,'Comment':_0x23427d},_0x4919da(0x201));}async function createIndex({moduleName:_0x4b5ea3,controller:_0x1f8678,tablestartUpShort:_0x245fc2,tablestartUpShort2:_0x58c8c8,Primary:_0x259c72,Fields:_0x2f9fd9,apporbasic:_0x4e3571}){const _0x137bf0=a13_0x13e99b;let _0x2e30e5=process[_0x137bf0(0x1d2)]()+_0x137bf0(0x183)+(typeof _0x1f8678==_0x137bf0(0x174)?'/'+_0x1f8678:'');_0x4b5ea3?_0x2e30e5=_0x2e30e5+(_0x137bf0(0x1d8)+_0x4b5ea3+_0x137bf0(0x1d4)+_0x58c8c8+'/list/index.vue'):_0x2e30e5=_0x2e30e5+(_0x137bf0(0x197)+_0x4e3571+_0x137bf0(0x1d4)+_0x58c8c8+_0x137bf0(0x17f));if(!fs['existsSync'](_0x2e30e5)){const _0x39e79f=(typeof _0x4b5ea3==_0x137bf0(0x174)?_0x137bf0(0x1b7)+_0x4b5ea3+'.':'$'+_0x4e3571+_0x137bf0(0x173))+(''+_0x245fc2);let _0x40c43=_0x137bf0(0x20c)+('\x22'+_0x259c72[_0x137bf0(0x20b)]+'\x22')[_0x137bf0(0x1eb)](0x14)+(_0x137bf0(0x203)+(_0x259c72[_0x137bf0(0x16d)]||'编号')+_0x137bf0(0x15e));for(let _0x1a1108 in _0x2f9fd9){const _0x4b08da=_0x2f9fd9[_0x1a1108];if([_0x137bf0(0x1b8),_0x137bf0(0x168),_0x137bf0(0x1aa),_0x137bf0(0x16a)]['indexOf'](_0x1a1108)!=-0x1)continue;if(_0x1a1108[_0x137bf0(0x1fe)](-0x3)==_0x137bf0(0x19d)||_0x1a1108[_0x137bf0(0x1fe)](-0x5)==_0x137bf0(0x1a0)||_0x1a1108==_0x137bf0(0x1a0)||_0x1a1108[_0x137bf0(0x1fe)](-0x4)==_0x137bf0(0x152)||_0x1a1108=='logo')_0x40c43+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-table-column\x20prop='+('\x22'+_0x1a1108+'\x22')[_0x137bf0(0x1eb)](0x14)+(_0x137bf0(0x203)+(_0x4b08da[_0x137bf0(0x16d)]||_0x4b08da[_0x137bf0(0x20b)])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x40c43+='\x0a'+_0x137bf0(0x20e)+'<template\x20#default=\x22scope\x22>',_0x40c43+='\x0a'+_0x137bf0(0x188)+_0x137bf0(0x196),_0x40c43+='\x0a'+_0x137bf0(0x167)+(_0x137bf0(0x186)+_0x1a1108+'\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>'),_0x40c43+='\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'+(_0x137bf0(0x207)+_0x1a1108+_0x137bf0(0x171)),_0x40c43+='\x0a'+_0x137bf0(0x167)+_0x137bf0(0x180),_0x40c43+='\x0a'+_0x137bf0(0x167)+'<template\x20#reference>',_0x40c43+='\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'+(_0x137bf0(0x207)+_0x1a1108+_0x137bf0(0x1e0)),_0x40c43+='\x0a'+_0x137bf0(0x167)+_0x137bf0(0x194),_0x40c43+='\x0a'+_0x137bf0(0x188)+_0x137bf0(0x153),_0x40c43+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</template>',_0x40c43+='\x0a'+_0x137bf0(0x205)+'</el-table-column>';else[_0x137bf0(0x17a),'longtext']['indexOf']((0x0,helper_1[_0x137bf0(0x1a7)])(_0x4b08da[_0x137bf0(0x18c)]))==-0x1&&(_0x40c43+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x137bf0(0x20c)+('\x22'+_0x1a1108+'\x22')[_0x137bf0(0x1eb)](0x14)+(_0x137bf0(0x203)+(_0x4b08da[_0x137bf0(0x16d)]||_0x4b08da['Field'])+_0x137bf0(0x181)));}fs[_0x137bf0(0x178)]((0x0,path_1[_0x137bf0(0x172)])(_0x2e30e5),{'recursive':!![]}),fs[_0x137bf0(0x1c1)](_0x2e30e5,_0x137bf0(0x1fd)+_0x39e79f+'.add.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x4b5ea3?_0x137bf0(0x1be)+_0x4b5ea3+'/':_0x4e3571+'/')+_0x58c8c8+_0x137bf0(0x1c6)+_0x40c43+_0x137bf0(0x1c7)+_0x39e79f+_0x137bf0(0x20d)+(_0x4b5ea3?_0x137bf0(0x1be)+_0x4b5ea3+'/':_0x4e3571+'/')+_0x58c8c8+_0x137bf0(0x176)+_0x259c72[_0x137bf0(0x20b)]+_0x137bf0(0x19c)+_0x259c72['Field']+_0x137bf0(0x160)+_0x39e79f+'.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.'+_0x39e79f+'.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.'+_0x259c72[_0x137bf0(0x20b)]+_0x137bf0(0x204)+_0x39e79f+_0x137bf0(0x1d1)+_0x259c72[_0x137bf0(0x20b)]+_0x137bf0(0x17b)+_0x259c72[_0x137bf0(0x20b)]+_0x137bf0(0x166),_0x137bf0(0x1f9));}}async function createSearch({moduleName:_0x45715b,tablestartUpShort2:_0x272594,controller:_0x4ad6c9,Primary:_0xcdbdb8,Fields:_0x122d1a,apporbasic:_0x5502f5}){const _0x5c5078=a13_0x13e99b;let _0x26a37e=process[_0x5c5078(0x1d2)]()+'/vue'+(typeof _0x4ad6c9=='string'?'/'+_0x4ad6c9:'');_0x45715b?_0x26a37e=_0x26a37e+('/pages/apps/'+_0x45715b+_0x5c5078(0x1d4)+_0x272594+_0x5c5078(0x198)):_0x26a37e=_0x26a37e+(_0x5c5078(0x197)+_0x5502f5+'/template/'+_0x272594+'/list/components/search.vue');if(!fs['existsSync'](_0x26a37e)){let _0xe9ebf2='';_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0xcdbdb8['Comment']||'编号')+'\x22>'),_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5c5078(0x17d)+_0xcdbdb8['Field']+'\x22\x20placeholder=\x22请输入'+(_0xcdbdb8[_0x5c5078(0x16d)]||'编号')+'\x22\x20clearable/>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+_0x5c5078(0x1f2);for(let _0x3f5b21 in _0x122d1a){const _0x57395d=_0x122d1a[_0x3f5b21];if([_0x5c5078(0x168),_0x5c5078(0x1aa),_0x5c5078(0x16a)][_0x5c5078(0x191)](_0x3f5b21)!=-0x1)continue;if(_0x3f5b21[_0x5c5078(0x1fe)](-0x3)==_0x5c5078(0x18f))_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d[_0x5c5078(0x20b)])+'\x22>'),_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5c5078(0x1b4)+_0x3f5b21+_0x5c5078(0x1cb)+_0x57395d[_0x5c5078(0x16d)]+_0x5c5078(0x1cf)),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+_0x5c5078(0x1f2)+'\x0a';else{if(_0x3f5b21[_0x5c5078(0x1c8)]('_id')){let _0x53d8e7=''+(typeof _0x4ad6c9=='string'?_0x4ad6c9+'/':'')+(_0x45715b?_0x45715b+'/':'')+_0x272594;_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d['Field'])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1ef)+(_0x5c5078(0x157)+_0x3f5b21+_0x5c5078(0x1d3)+_0x53d8e7+_0x5c5078(0x1f7)),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+_0x5c5078(0x1f2)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x57395d[_0x5c5078(0x18c)])){case _0x5c5078(0x184):_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d[_0x5c5078(0x20b)])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x195)+_0x3f5b21+_0x5c5078(0x1bd)+_0x57395d[_0x5c5078(0x16d)]+_0x5c5078(0x1fb));for(let _0x4ffc1e of(0x0,helper_1['getEnum'])(_0x57395d['Type'])){_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5c5078(0x1ce)+_0x4ffc1e+_0x5c5078(0x1e9)+_0x4ffc1e+_0x5c5078(0x1cc));}_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+'</el-select>',_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+'</el-form-item>'+'\x0a';break;case _0x5c5078(0x1f0):_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0x57395d['Comment']||_0x57395d[_0x5c5078(0x20b)])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+('<el-date-picker\x20v-model=\x22search.'+_0x3f5b21+_0x5c5078(0x1d9)+_0x57395d[_0x5c5078(0x16d)]+_0x5c5078(0x163)),_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20'+_0x5c5078(0x1f2)+'\x0a',_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d[_0x5c5078(0x20b)])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x1bf)+_0x3f5b21+_0x5c5078(0x209)+_0x57395d[_0x5c5078(0x16d)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+_0x5c5078(0x1f2)+'\x0a';break;case _0x5c5078(0x1c5):_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20'+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d[_0x5c5078(0x20b)])+'\x22>'),_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5c5078(0x1bf)+_0x3f5b21+_0x5c5078(0x1d9)+_0x57395d['Comment']+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+_0x5c5078(0x1f2)+'\x0a',_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d[_0x5c5078(0x20b)])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x1bf)+_0x3f5b21+_0x5c5078(0x209)+_0x57395d[_0x5c5078(0x16d)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+_0x5c5078(0x1f2)+'\x0a';break;case _0x5c5078(0x182):_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+(_0x5c5078(0x1d6)+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d['Field'])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x1bf)+_0x3f5b21+_0x5c5078(0x1d9)+_0x57395d[_0x5c5078(0x16d)]+_0x5c5078(0x1da)),_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20'+_0x5c5078(0x1f2)+'\x0a',_0xe9ebf2+='\x0a'+'\x20\x20\x20\x20'+(_0x5c5078(0x1d6)+(_0x57395d['Comment']||_0x57395d['Field'])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x1bf)+_0x3f5b21+_0x5c5078(0x209)+_0x57395d[_0x5c5078(0x16d)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+_0x5c5078(0x1f2)+'\x0a';break;case _0x5c5078(0x174):_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+('<el-form-item\x20label=\x22'+(_0x57395d[_0x5c5078(0x16d)]||_0x57395d['Field'])+'\x22>'),_0xe9ebf2+='\x0a'+_0x5c5078(0x1dc)+(_0x5c5078(0x17d)+_0x3f5b21+'\x22\x20placeholder=\x22请输入'+_0x57395d['Comment']+_0x5c5078(0x19a)),_0xe9ebf2+='\x0a'+_0x5c5078(0x162)+'</el-form-item>'+'\x0a';}}}fs[_0x5c5078(0x178)]((0x0,path_1[_0x5c5078(0x172)])(_0x26a37e),{'recursive':!![]}),fs[_0x5c5078(0x1c1)](_0x26a37e,_0x5c5078(0x1b0)+_0xe9ebf2+_0x5c5078(0x1a9),_0x5c5078(0x1f9));}}function a13_0x138c(_0x287ddf,_0x5bd474){const _0x219cbe=a13_0x3ef4();return a13_0x138c=function(_0x1e5df4,_0x250a83){_0x1e5df4=_0x1e5df4-0x151;let _0x3ef4cb=_0x219cbe[_0x1e5df4];return _0x3ef4cb;},a13_0x138c(_0x287ddf,_0x5bd474);}async function createAddOrEdit({moduleName:_0x3ec241,controller:_0x400169,tablestartUpShort:_0x594fb7,tablestartUpShort2:_0x12b6e7,Primary:_0x26692d,Fields:_0x2267ea,apporbasic:_0x369603,Comment:_0x6c0897},_0x1bc6e4=a13_0x13e99b(0x16f)){const _0x535096=a13_0x13e99b;let _0x1dff37=process[_0x535096(0x1d2)]()+_0x535096(0x183)+(typeof _0x400169==_0x535096(0x174)?'/'+_0x400169:'');_0x3ec241?_0x1dff37=_0x1dff37+('/pages/apps/'+_0x3ec241+_0x535096(0x1d4)+_0x12b6e7+'/'+_0x1bc6e4+_0x535096(0x16b)):_0x1dff37=_0x1dff37+('/pages/'+_0x369603+'/template/'+_0x12b6e7+'/'+_0x1bc6e4+'/index.vue');if(!fs[_0x535096(0x1ec)](_0x1dff37)){const _0x23d155=(typeof _0x3ec241==_0x535096(0x174)?'$appsApi.'+_0x3ec241+'.':'$'+_0x369603+_0x535096(0x173))+(''+_0x594fb7);let _0x59df2c='';for(let _0x5b4523 in _0x2267ea){const _0x37e7f1=_0x2267ea[_0x5b4523];if([_0x535096(0x1b8),_0x535096(0x168),_0x535096(0x1aa),'displayorder'][_0x535096(0x191)](_0x5b4523)!=-0x1)continue;if(_0x5b4523[_0x535096(0x1fe)](-0x4)==_0x535096(0x208)||_0x5b4523['substr'](-0x5)==_0x535096(0x15d))_0x59df2c+='\x0a'+_0x535096(0x1dc)+('<el-form-item\x20label=\x22'+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+_0x535096(0x1b6)),_0x59df2c+='\x0a'+_0x535096(0x1ef)+('<page-images\x20v-model=\x22formdata.'+_0x5b4523+_0x535096(0x192)),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';else{if(_0x5b4523[_0x535096(0x1fe)](-0x3)==_0x535096(0x19d)||_0x5b4523[_0x535096(0x1fe)](-0x5)==_0x535096(0x1a0)||_0x5b4523==_0x535096(0x1a0)||_0x5b4523[_0x535096(0x1fe)](-0x4)==_0x535096(0x152)||_0x5b4523=='logo')_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1['Field'])+_0x535096(0x18a)+_0x5b4523+_0x535096(0x1b6)),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535096(0x16c)+_0x5b4523+_0x535096(0x151)),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';else{if(_0x5b4523[_0x535096(0x1fe)](-0x4)==_0x535096(0x1a3))_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535096(0x1df)+_0x5b4523+'\x22\x20placeholder=\x22请输入或选择'+_0x37e7f1[_0x535096(0x16d)]+_0x535096(0x15b)),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535096(0x1f2)+'\x0a';else{if(_0x5b4523[_0x535096(0x1fe)](-0x3)==_0x535096(0x18f))_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x190)+_0x5b4523+_0x535096(0x1cb)+_0x37e7f1[_0x535096(0x16d)]+_0x535096(0x1f6)),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535096(0x1f2)+'\x0a';else{if(_0x5b4523[_0x535096(0x1fe)](-0x4)==_0x535096(0x1de))_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+('<el-input\x20v-model=\x22formdata.'+_0x5b4523+_0x535096(0x1cb)+_0x37e7f1['Comment']+'\x22\x20clearable/>'),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';else{if(_0x5b4523[_0x535096(0x1fe)](-0x3)==_0x535096(0x1ed)){let _0x236370=''+(typeof _0x400169==_0x535096(0x174)?_0x400169+'/':'')+(_0x3ec241?_0x3ec241+'/':'')+_0x12b6e7;_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+_0x535096(0x18a)+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x1ae)+_0x5b4523+_0x535096(0x1d3)+_0x236370+_0x535096(0x1f7)),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535096(0x1f2)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x37e7f1[_0x535096(0x18c)])){case _0x535096(0x1d7):_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1['Comment']||_0x37e7f1[_0x535096(0x20b)])+_0x535096(0x18a)+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input-number\x20v-model=\x22formdata.'+_0x5b4523+'\x22\x20placeholder=\x22请输入'+_0x37e7f1[_0x535096(0x16d)]+_0x535096(0x17e)),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';break;case _0x535096(0x184):_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1['Field'])+_0x535096(0x18a)+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x1e3)+_0x5b4523+'\x22\x20placeholder=\x22请选择'+_0x37e7f1['Comment']+_0x535096(0x1fb));for(let _0x58c092 of(0x0,helper_1['getEnum'])(_0x37e7f1['Type'])){_0x59df2c+='\x0a'+_0x535096(0x205)+(_0x535096(0x1ce)+_0x58c092+'\x22\x20value=\x22'+_0x58c092+_0x535096(0x1cc));}_0x59df2c+='\x0a'+_0x535096(0x1ef)+_0x535096(0x189),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';break;case _0x535096(0x17a):_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+_0x535096(0x18a)+_0x5b4523+'\x22\x20class=\x22block\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x185)+_0x5b4523+_0x535096(0x19f)+_0x37e7f1[_0x535096(0x16d)]+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535096(0x1f2)+'\x0a';break;case'longtext':_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1['Comment']||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22\x20class=\x22block\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x193)+_0x5b4523+_0x535096(0x1cc)),_0x59df2c+='\x0a'+_0x535096(0x1dc)+'</el-form-item>'+'\x0a';break;case _0x535096(0x1cd):_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+_0x535096(0x18a)+_0x5b4523+_0x535096(0x1b6)),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x193)+_0x5b4523+_0x535096(0x1cc)),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';break;case _0x535096(0x1f0):_0x59df2c+='\x0a'+_0x535096(0x1dc)+('<el-form-item\x20label=\x22'+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x1d5)+_0x5b4523+_0x535096(0x1e7)+_0x37e7f1[_0x535096(0x16d)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';break;case'datetime':_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535096(0x1d6)+(_0x37e7f1['Comment']||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+('<el-date-picker\x20v-model=\x22formdata.'+_0x5b4523+_0x535096(0x1e7)+_0x37e7f1[_0x535096(0x16d)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';break;case'timestamp':_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+_0x535096(0x18a)+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535096(0x1d5)+_0x5b4523+_0x535096(0x1e7)+_0x37e7f1['Comment']+_0x535096(0x19b)),_0x59df2c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535096(0x1f2)+'\x0a';break;default:_0x59df2c+='\x0a'+_0x535096(0x1dc)+(_0x535096(0x1d6)+(_0x37e7f1[_0x535096(0x16d)]||_0x37e7f1[_0x535096(0x20b)])+'\x22\x20prop=\x22'+_0x5b4523+'\x22>'),_0x59df2c+='\x0a'+_0x535096(0x1ef)+(_0x535096(0x185)+_0x5b4523+_0x535096(0x1cb)+_0x37e7f1[_0x535096(0x16d)]+'\x22\x20clearable/>'),_0x59df2c+='\x0a'+_0x535096(0x1dc)+'</el-form-item>'+'\x0a';}}}}}}}_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1ee),_0x59df2c+='\x0a'+_0x535096(0x1ef)+_0x535096(0x1b1),_0x59df2c+='\x0a'+_0x535096(0x1dc)+_0x535096(0x1f2)+'\x0a';let _0x2b1a46=_0x535096(0x1b2);_0x2b1a46+=_0x535096(0x158)+(_0x1bc6e4==_0x535096(0x16f)?'添加'+_0x6c0897:'编辑'+_0x6c0897)+_0x535096(0x200)+_0x23d155+'.'+(_0x1bc6e4==_0x535096(0x16f)?_0x535096(0x16f):'edit')+_0x535096(0x1bb),_0x2b1a46+=_0x535096(0x1dc)+_0x59df2c+'\x0a',_0x2b1a46+=_0x535096(0x1a5),_0x2b1a46+=_0x535096(0x154)+_0x23d155+'.'+(_0x1bc6e4==_0x535096(0x16f)?'add':_0x535096(0x201))+_0x535096(0x16e),_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x2b1a46+=_0x535096(0x1c2),_0x2b1a46+=_0x535096(0x1c9),_0x2b1a46+='<script>\x0a';if(_0x1bc6e4=='add')_0x2b1a46+=_0x535096(0x1e6)+_0x594fb7+'AddRule\x20}\x20from\x20\x27@'+(_0x3ec241?'apps/'+_0x3ec241:_0x369603)+_0x535096(0x159)+_0x594fb7+_0x535096(0x169);else _0x1bc6e4=='edit'&&(_0x2b1a46+=_0x535096(0x1e6)+_0x594fb7+_0x535096(0x1dd)+(_0x3ec241?_0x535096(0x1ab)+_0x3ec241:_0x369603)+_0x535096(0x159)+_0x594fb7+_0x535096(0x1f3));_0x2b1a46+=_0x535096(0x206),_0x2b1a46+='\x20\x20\x20\x20data(){\x0a',_0x2b1a46+=_0x535096(0x1bc),_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a',_0x2b1a46+=_0x535096(0x1a4);if(_0x1bc6e4=='add')_0x2b1a46+=_0x535096(0x1f5)+_0x594fb7+_0x535096(0x1db);else _0x1bc6e4=='edit'&&(_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20'+_0x594fb7+_0x535096(0x1f1));_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20}\x0a',_0x2b1a46+=_0x535096(0x1f4),_0x1bc6e4==_0x535096(0x201)&&(_0x2b1a46+='\x20\x20\x20\x20mounted(){\x0a',_0x2b1a46+=_0x535096(0x17c)+_0x26692d['Field']+_0x535096(0x161),_0x2b1a46+=_0x535096(0x1f4)),_0x2b1a46+=_0x535096(0x1b9),_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a',_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a',_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a',_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a',_0x2b1a46+=_0x535096(0x1a8),_0x2b1a46+=_0x535096(0x1c4),_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a',_0x2b1a46+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.'+_0x23d155+'.'+(_0x1bc6e4==_0x535096(0x16f)?_0x535096(0x16f):_0x535096(0x201))+_0x535096(0x18d),_0x2b1a46+='\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',_0x2b1a46+=_0x535096(0x1af),_0x2b1a46+=_0x535096(0x15f),_0x2b1a46+=_0x535096(0x199),_0x2b1a46+=_0x535096(0x19e),_0x2b1a46+=_0x535096(0x1c0),_0x1bc6e4==_0x535096(0x201)&&(_0x2b1a46+=_0x535096(0x1e4),_0x2b1a46+=_0x535096(0x1b3),_0x2b1a46+=_0x535096(0x15a),_0x2b1a46+=_0x535096(0x1ad)+_0x26692d[_0x535096(0x20b)]+_0x535096(0x18e),_0x2b1a46+=_0x535096(0x15c)+_0x26692d[_0x535096(0x20b)]+')\x20{\x0a',_0x2b1a46+=_0x535096(0x1e2),_0x2b1a46+=_0x535096(0x1fc)+_0x23d155+_0x535096(0x1e1)+_0x26692d[_0x535096(0x20b)]+_0x535096(0x1d0),_0x2b1a46+=_0x535096(0x1fa),_0x2b1a46+=_0x535096(0x20a),_0x2b1a46+=_0x535096(0x187),_0x2b1a46+=_0x535096(0x1b5),_0x2b1a46+=_0x535096(0x179),_0x2b1a46+=_0x535096(0x1ca),_0x2b1a46+=_0x535096(0x202),_0x2b1a46+=_0x535096(0x1c0)),_0x2b1a46+=_0x535096(0x1f4),_0x2b1a46+='}\x0a',_0x2b1a46+=_0x535096(0x165),fs[_0x535096(0x178)]((0x0,path_1['dirname'])(_0x1dff37),{'recursive':!![]}),fs[_0x535096(0x1c1)](_0x1dff37,_0x2b1a46,_0x535096(0x1f9));}}
|
|
1
|
+
const a13_0x55fc26=a13_0xa83e;function a13_0x50e0(){const _0x5a9032=['AddRule,\x0a','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','logo','\x22\x20clearable>',');\x0a','456179hHWXwW','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/edit?','tags','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','text','endsWith','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','deleted_at','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','toString','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','padEnd','<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.formdata\x20=\x20res.data,\x20this.loading\x20=\x20false;\x0a','3963378gAtEGI','<el-input-number\x20v-model=\x22search.','/index.vue','string','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','=${scope.row.','dirname','<el-table-column\x20prop=','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','</a>','\x22\x20prop=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','(item).then(res=>{\x0a','search','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','EditRule\x20}\x20from\x20\x27@','$appsApi.','<page-editor\x20v-model=\x22formdata.','<page-images\x20v-model=\x22formdata.','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<el-select-tags\x20v-model=\x22formdata.','\x22\x20placeholder=\x22请输入','5367744nzbbmQ','.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.','<el-select\x20v-model=\x22formdata.','\x20label=\x22','substr','Comment','\x22\x20\x20placeholder=\x22请输入','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x22\x20placeholder=\x22请输入或选择','\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>','add','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','date','writeFileSync','apply','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','number','<el-form-item\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20mounted(){\x0a','11SqoEIH','<template>\x0a\x20\x20\x20\x20','datetime','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x22\x20/>','path','\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','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','<img\x20:src=\x22scope.row.','../helper','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','.remove({\x20','\x20\x20\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',':\x20item.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20data(){\x0a','7wxlVpA','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','_start\x22\x20placeholder=\x22选择','getProp',')\x20{\x0a','<el-option\x20label=\x22','\x22\x20:limit=\x221\x22\x20/>','</el-select>','AddRule\x20}\x20from\x20\x27@','/template/','\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>','<el-input\x20v-model=\x22formdata.','timestamp','cwd','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','displayorder','Type','img','\x22\x20clearable/>','updated_at','</el-popover>','14230hLEpds','44732676tEsXYY','mediumtext','/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.','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','>=\x22>','87054PsymcE','thumb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','/add\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','124OyYMFm','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','<el-select\x20v-model=\x22search.','\x22\x20api=\x22','\x22\x20class=\x22block\x22>','getEnum','/validators/','\x22\x20placeholder=\x22选择','/edit\x27\x0a','.hasPrem()\x22>\x0a','\x22\x20placeholder=\x22请选择','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','enum','Field','Api.','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','imgs','</el-form-item>','_end\x22\x20placeholder=\x22选择','\x22\x20:limit=\x225\x22\x20/>','\x22\x20value=\x22','\x20\x20\x20\x20</page-form>\x0a','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','apps/','</template>','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','/pages/','longtext','54BsRElT','\x20\x20\x20\x20','<el-date-picker\x20v-model=\x22search.','<template>\x0a','_id','/list/components/search.vue','<el-select-search\x20v-model=\x22formdata.','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','</template>\x0a','4qtyXcB','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','<script>\x0a','indexOf','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','created_at','existsSync','export\x20default\x20{\x0a','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','import\x20{\x20','defineProperty','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','<el-date-picker\x20v-model=\x22formdata.','</script>\x0a','\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','/pages/apps/','(((.+)+)+)+$','utf-8','\x20\x20\x20\x20\x20\x20\x20\x20','edit','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','/list/index.vue','<=\x22>','<el-input-number\x20v-model=\x22formdata.','7733085wBEfkW','_ids'];a13_0x50e0=function(){return _0x5a9032;};return a13_0x50e0();}(function(_0x34771d,_0x1f4b67){const _0xae6f4d=a13_0xa83e,_0x13bec7=_0x34771d();while(!![]){try{const _0x21aa5f=parseInt(_0xae6f4d(0x20c))/0x1*(-parseInt(_0xae6f4d(0x1eb))/0x2)+parseInt(_0xae6f4d(0x277))/0x3*(parseInt(_0xae6f4d(0x27c))/0x4)+-parseInt(_0xae6f4d(0x204))/0x5+-parseInt(_0xae6f4d(0x21c))/0x6*(parseInt(_0xae6f4d(0x25a))/0x7)+-parseInt(_0xae6f4d(0x233))/0x8+-parseInt(_0xae6f4d(0x1e0))/0x9*(parseInt(_0xae6f4d(0x26f))/0xa)+-parseInt(_0xae6f4d(0x247))/0xb*(-parseInt(_0xae6f4d(0x270))/0xc);if(_0x21aa5f===_0x1f4b67)break;else _0x13bec7['push'](_0x13bec7['shift']());}catch(_0x2001cb){_0x13bec7['push'](_0x13bec7['shift']());}}}(a13_0x50e0,0xca34d));const a13_0x39ae1d=(function(){let _0x15d21f=!![];return function(_0x211a8f,_0x4d28e5){const _0x5ac6fb=_0x15d21f?function(){const _0x4836a2=a13_0xa83e;if(_0x4d28e5){const _0x2e503e=_0x4d28e5[_0x4836a2(0x241)](_0x211a8f,arguments);return _0x4d28e5=null,_0x2e503e;}}:function(){};return _0x15d21f=![],_0x5ac6fb;};}()),a13_0x3e63a5=a13_0x39ae1d(this,function(){const _0x2dec83=a13_0xa83e;return a13_0x3e63a5['toString']()[_0x2dec83(0x22a)]('(((.+)+)+)+$')[_0x2dec83(0x216)]()['constructor'](a13_0x3e63a5)['search'](_0x2dec83(0x1fc));});a13_0x3e63a5();'use strict';Object[a13_0x55fc26(0x1f6)](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a13_0x55fc26(0x24c)),helper_1=require(a13_0x55fc26(0x252));function a13_0xa83e(_0x3c4c06,_0x439fdf){const _0x107a14=a13_0x50e0();return a13_0xa83e=function(_0x3e63a5,_0x39ae1d){_0x3e63a5=_0x3e63a5-0x1cb;let _0x50e026=_0x107a14[_0x3e63a5];return _0x50e026;},a13_0xa83e(_0x3c4c06,_0x439fdf);}async function default_1({moduleName:_0x437b6f,controller:_0x381227,tablestartUpShort:_0x12f384,tablestartUpShort2:_0x47f72c,Primary:_0x227d81,Fields:_0x6fdd61,apporbasic:_0x295994,Comment:_0x3e2fff}){const _0x357a07=a13_0x55fc26;await createIndex({'moduleName':_0x437b6f,'controller':_0x381227,'tablestartUpShort':_0x12f384,'tablestartUpShort2':_0x47f72c,'Primary':_0x227d81,'Fields':_0x6fdd61,'apporbasic':_0x295994}),await createSearch({'moduleName':_0x437b6f,'controller':_0x381227,'tablestartUpShort2':_0x47f72c,'Primary':_0x227d81,'Fields':_0x6fdd61,'apporbasic':_0x295994}),await createAddOrEdit({'moduleName':_0x437b6f,'controller':_0x381227,'tablestartUpShort':_0x12f384,'tablestartUpShort2':_0x47f72c,'Primary':_0x227d81,'Fields':_0x6fdd61,'apporbasic':_0x295994,'Comment':_0x3e2fff},_0x357a07(0x23d)),await createAddOrEdit({'moduleName':_0x437b6f,'controller':_0x381227,'tablestartUpShort':_0x12f384,'tablestartUpShort2':_0x47f72c,'Primary':_0x227d81,'Fields':_0x6fdd61,'apporbasic':_0x295994,'Comment':_0x3e2fff},_0x357a07(0x1ff));}async function createIndex({moduleName:_0x3da577,controller:_0x285f18,tablestartUpShort:_0x3bd2cc,tablestartUpShort2:_0x404975,Primary:_0x36a665,Fields:_0x805b45,apporbasic:_0x44f806}){const _0x192e1f=a13_0x55fc26;let _0x45c6d9=process[_0x192e1f(0x267)]()+_0x192e1f(0x272)+(typeof _0x285f18==_0x192e1f(0x21f)?'/'+_0x285f18:'');_0x3da577?_0x45c6d9=_0x45c6d9+(_0x192e1f(0x1fb)+_0x3da577+_0x192e1f(0x263)+_0x404975+_0x192e1f(0x201)):_0x45c6d9=_0x45c6d9+(_0x192e1f(0x1de)+_0x44f806+_0x192e1f(0x263)+_0x404975+_0x192e1f(0x201));if(!fs['existsSync'](_0x45c6d9)){const _0x132586=(typeof _0x3da577==_0x192e1f(0x21f)?_0x192e1f(0x22d)+_0x3da577+'.':'$'+_0x44f806+'Api.')+(''+_0x3bd2cc);let _0x3b4d08='<el-table-column\x20prop='+('\x22'+_0x36a665['Field']+'\x22')['padEnd'](0x14)+(_0x192e1f(0x236)+(_0x36a665[_0x192e1f(0x238)]||'编号')+_0x192e1f(0x224));for(let _0x305ef3 in _0x805b45){const _0x24f0f6=_0x805b45[_0x305ef3];if([_0x192e1f(0x1f1),_0x192e1f(0x26d),_0x192e1f(0x214),_0x192e1f(0x269)][_0x192e1f(0x1ee)](_0x305ef3)!=-0x1)continue;if(_0x305ef3['substr'](-0x3)==_0x192e1f(0x26b)||_0x305ef3[_0x192e1f(0x237)](-0x5)==_0x192e1f(0x278)||_0x305ef3==_0x192e1f(0x278)||_0x305ef3['substr'](-0x4)==_0x192e1f(0x209)||_0x305ef3==_0x192e1f(0x209))_0x3b4d08+='\x0a'+_0x192e1f(0x1da)+_0x192e1f(0x223)+('\x22'+_0x305ef3+'\x22')['padEnd'](0x14)+(_0x192e1f(0x236)+(_0x24f0f6['Comment']||_0x24f0f6[_0x192e1f(0x1d0)])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x3b4d08+='\x0a'+_0x192e1f(0x27b)+'<template\x20#default=\x22scope\x22>',_0x3b4d08+='\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'+_0x192e1f(0x1ce),_0x3b4d08+='\x0a'+_0x192e1f(0x220)+('<a\x20:href=\x22scope.row.'+_0x305ef3+_0x192e1f(0x22b)),_0x3b4d08+='\x0a'+_0x192e1f(0x20d)+(_0x192e1f(0x251)+_0x305ef3+_0x192e1f(0x242)),_0x3b4d08+='\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'+_0x192e1f(0x226),_0x3b4d08+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<template\x20#reference>',_0x3b4d08+='\x0a'+_0x192e1f(0x20d)+(_0x192e1f(0x251)+_0x305ef3+_0x192e1f(0x217)),_0x3b4d08+='\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'+_0x192e1f(0x1dc),_0x3b4d08+='\x0a'+_0x192e1f(0x24e)+_0x192e1f(0x26e),_0x3b4d08+='\x0a'+_0x192e1f(0x27b)+_0x192e1f(0x1dc),_0x3b4d08+='\x0a'+_0x192e1f(0x1da)+'</el-table-column>';else[_0x192e1f(0x211),_0x192e1f(0x1df)]['indexOf']((0x0,helper_1[_0x192e1f(0x25d)])(_0x24f0f6[_0x192e1f(0x26a)]))==-0x1&&(_0x3b4d08+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x192e1f(0x223)+('\x22'+_0x305ef3+'\x22')[_0x192e1f(0x219)](0x14)+(_0x192e1f(0x236)+(_0x24f0f6[_0x192e1f(0x238)]||_0x24f0f6[_0x192e1f(0x1d0)])+_0x192e1f(0x24a)));}fs['mkdirSync']((0x0,path_1[_0x192e1f(0x222)])(_0x45c6d9),{'recursive':!![]}),fs[_0x192e1f(0x240)](_0x45c6d9,'<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'+_0x132586+'.add.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x3da577?'apps-'+_0x3da577+'/':_0x44f806+'/')+_0x404975+'/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'+_0x3b4d08+_0x192e1f(0x207)+_0x132586+'.edit.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x3da577?'apps-'+_0x3da577+'/':_0x44f806+'/')+_0x404975+_0x192e1f(0x20e)+_0x36a665[_0x192e1f(0x1d0)]+_0x192e1f(0x221)+_0x36a665[_0x192e1f(0x1d0)]+'}`)\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'+_0x132586+_0x192e1f(0x273)+_0x132586+_0x192e1f(0x234)+_0x36a665[_0x192e1f(0x1d0)]+_0x192e1f(0x225)+_0x132586+_0x192e1f(0x254)+_0x36a665['Field']+_0x192e1f(0x257)+_0x36a665['Field']+_0x192e1f(0x23c),_0x192e1f(0x1fd));}}async function createSearch({moduleName:_0x3d51da,tablestartUpShort2:_0x507f87,controller:_0x2497b5,Primary:_0x3d4204,Fields:_0x2e7221,apporbasic:_0x46fc0e}){const _0x4e9850=a13_0x55fc26;let _0x488c2e=process[_0x4e9850(0x267)]()+'/vue'+(typeof _0x2497b5=='string'?'/'+_0x2497b5:'');_0x3d51da?_0x488c2e=_0x488c2e+('/pages/apps/'+_0x3d51da+_0x4e9850(0x263)+_0x507f87+_0x4e9850(0x1e5)):_0x488c2e=_0x488c2e+(_0x4e9850(0x1de)+_0x46fc0e+_0x4e9850(0x263)+_0x507f87+_0x4e9850(0x1e5));if(!fs[_0x4e9850(0x1f2)](_0x488c2e)){let _0x317854='';_0x317854+='\x0a'+'\x20\x20\x20\x20'+(_0x4e9850(0x244)+(_0x3d4204[_0x4e9850(0x238)]||'编号')+'\x22>'),_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e9850(0x21a)+_0x3d4204['Field']+'\x22\x20placeholder=\x22请输入'+(_0x3d4204[_0x4e9850(0x238)]||'编号')+_0x4e9850(0x26c)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+_0x4e9850(0x1d4);for(let _0x36f666 in _0x2e7221){const _0x455175=_0x2e7221[_0x36f666];if([_0x4e9850(0x26d),_0x4e9850(0x214),'displayorder'][_0x4e9850(0x1ee)](_0x36f666)!=-0x1)continue;if(_0x36f666['substr'](-0x3)=='num')_0x317854+='\x0a'+_0x4e9850(0x1e1)+(_0x4e9850(0x244)+(_0x455175['Comment']||_0x455175[_0x4e9850(0x1d0)])+'\x22>'),_0x317854+='\x0a'+_0x4e9850(0x1fe)+(_0x4e9850(0x21d)+_0x36f666+_0x4e9850(0x232)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x215)),_0x317854+='\x0a'+'\x20\x20\x20\x20'+_0x4e9850(0x1d4)+'\x0a';else{if(_0x36f666[_0x4e9850(0x212)]('_id')){let _0x1a1ba0=''+(typeof _0x2497b5==_0x4e9850(0x21f)?_0x2497b5+'/':'')+(_0x3d51da?_0x3d51da+'/':'')+_0x507f87;_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x455175[_0x4e9850(0x238)]||_0x455175[_0x4e9850(0x1d0)])+'\x22>'),_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-search\x20v-model=\x22search.'+_0x36f666+_0x4e9850(0x27f)+_0x1a1ba0+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x317854+='\x0a'+_0x4e9850(0x1fe)+_0x4e9850(0x1d4)+'\x0a';}else switch((0x0,helper_1[_0x4e9850(0x25d)])(_0x455175[_0x4e9850(0x26a)])){case _0x4e9850(0x1cf):_0x317854+='\x0a'+_0x4e9850(0x1e1)+(_0x4e9850(0x244)+(_0x455175[_0x4e9850(0x238)]||_0x455175[_0x4e9850(0x1d0)])+'\x22>'),_0x317854+='\x0a'+_0x4e9850(0x1fe)+(_0x4e9850(0x27e)+_0x36f666+'\x22\x20placeholder=\x22请选择'+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x20a));for(let _0x1db34e of(0x0,helper_1[_0x4e9850(0x281)])(_0x455175[_0x4e9850(0x26a)])){_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e9850(0x25f)+_0x1db34e+_0x4e9850(0x1d7)+_0x1db34e+'\x22\x20/>');}_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-select>',_0x317854+='\x0a'+'\x20\x20\x20\x20'+_0x4e9850(0x1d4)+'\x0a';break;case _0x4e9850(0x23f):_0x317854+='\x0a'+_0x4e9850(0x1e1)+(_0x4e9850(0x244)+(_0x455175['Comment']||_0x455175[_0x4e9850(0x1d0)])+_0x4e9850(0x276)),_0x317854+='\x0a'+_0x4e9850(0x1fe)+(_0x4e9850(0x1e2)+_0x36f666+_0x4e9850(0x25c)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x1f4)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+_0x4e9850(0x1d4)+'\x0a',_0x317854+='\x0a'+_0x4e9850(0x1e1)+(_0x4e9850(0x244)+(_0x455175[_0x4e9850(0x238)]||_0x455175[_0x4e9850(0x1d0)])+_0x4e9850(0x202)),_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e9850(0x1e2)+_0x36f666+_0x4e9850(0x1d5)+_0x455175['Comment']+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x317854+='\x0a'+'\x20\x20\x20\x20'+_0x4e9850(0x1d4)+'\x0a';break;case _0x4e9850(0x249):_0x317854+='\x0a'+_0x4e9850(0x1e1)+('<el-form-item\x20label=\x22'+(_0x455175['Comment']||_0x455175[_0x4e9850(0x1d0)])+_0x4e9850(0x276)),_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e9850(0x1e2)+_0x36f666+_0x4e9850(0x25c)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x253)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+_0x4e9850(0x1d4)+'\x0a',_0x317854+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x455175['Comment']||_0x455175[_0x4e9850(0x1d0)])+_0x4e9850(0x202)),_0x317854+='\x0a'+_0x4e9850(0x1fe)+(_0x4e9850(0x1e2)+_0x36f666+_0x4e9850(0x1d5)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x1e9)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+'</el-form-item>'+'\x0a';break;case _0x4e9850(0x266):_0x317854+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x455175['Comment']||_0x455175[_0x4e9850(0x1d0)])+_0x4e9850(0x276)),_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22search.'+_0x36f666+_0x4e9850(0x25c)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x253)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+'</el-form-item>'+'\x0a',_0x317854+='\x0a'+_0x4e9850(0x1e1)+(_0x4e9850(0x244)+(_0x455175[_0x4e9850(0x238)]||_0x455175[_0x4e9850(0x1d0)])+_0x4e9850(0x202)),_0x317854+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e9850(0x1e2)+_0x36f666+_0x4e9850(0x1d5)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x1e9)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+_0x4e9850(0x1d4)+'\x0a';break;case'string':_0x317854+='\x0a'+_0x4e9850(0x1e1)+('<el-form-item\x20label=\x22'+(_0x455175['Comment']||_0x455175['Field'])+'\x22>'),_0x317854+='\x0a'+_0x4e9850(0x1fe)+(_0x4e9850(0x21a)+_0x36f666+_0x4e9850(0x232)+_0x455175[_0x4e9850(0x238)]+_0x4e9850(0x26c)),_0x317854+='\x0a'+_0x4e9850(0x1e1)+_0x4e9850(0x1d4)+'\x0a';}}}fs[_0x4e9850(0x1e7)]((0x0,path_1[_0x4e9850(0x222)])(_0x488c2e),{'recursive':!![]}),fs[_0x4e9850(0x240)](_0x488c2e,_0x4e9850(0x248)+_0x317854+_0x4e9850(0x264),_0x4e9850(0x1fd));}}async function createAddOrEdit({moduleName:_0x3df2c1,controller:_0x1a871f,tablestartUpShort:_0x1c4c13,tablestartUpShort2:_0x147740,Primary:_0x10eccd,Fields:_0x45bc70,apporbasic:_0x277546,Comment:_0x1e613e},_0x3f1197=a13_0x55fc26(0x23d)){const _0xa439af=a13_0x55fc26;let _0x3c823d=process[_0xa439af(0x267)]()+_0xa439af(0x272)+(typeof _0x1a871f==_0xa439af(0x21f)?'/'+_0x1a871f:'');_0x3df2c1?_0x3c823d=_0x3c823d+('/pages/apps/'+_0x3df2c1+_0xa439af(0x263)+_0x147740+'/'+_0x3f1197+_0xa439af(0x21e)):_0x3c823d=_0x3c823d+(_0xa439af(0x1de)+_0x277546+_0xa439af(0x263)+_0x147740+'/'+_0x3f1197+_0xa439af(0x21e));if(!fs[_0xa439af(0x1f2)](_0x3c823d)){const _0x494531=(typeof _0x3df2c1==_0xa439af(0x21f)?_0xa439af(0x22d)+_0x3df2c1+'.':'$'+_0x277546+_0xa439af(0x1d1))+(''+_0x1c4c13);let _0xe88223='';for(let _0x4cfb57 in _0x45bc70){const _0x5d581e=_0x45bc70[_0x4cfb57];if([_0xa439af(0x1f1),'updated_at',_0xa439af(0x214),'displayorder']['indexOf'](_0x4cfb57)!=-0x1)continue;if(_0x4cfb57[_0xa439af(0x237)](-0x4)==_0xa439af(0x1d3)||_0x4cfb57[_0xa439af(0x237)](-0x5)=='thumbs')_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22\x20class=\x22block\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x22f)+_0x4cfb57+_0xa439af(0x1d6)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';else{if(_0x4cfb57[_0xa439af(0x237)](-0x3)=='img'||_0x4cfb57['substr'](-0x5)=='thumb'||_0x4cfb57=='thumb'||_0x4cfb57['substr'](-0x4)==_0xa439af(0x209)||_0x4cfb57==_0xa439af(0x209))_0xe88223+='\x0a'+_0xa439af(0x1fe)+('<el-form-item\x20label=\x22'+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+_0xa439af(0x280)),_0xe88223+='\x0a'+_0xa439af(0x218)+('<page-images\x20v-model=\x22formdata.'+_0x4cfb57+_0xa439af(0x260)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';else{if(_0x4cfb57['substr'](-0x4)==_0xa439af(0x20f))_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x231)+_0x4cfb57+_0xa439af(0x23b)+_0x5d581e[_0xa439af(0x238)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x4cfb57['substr'](-0x3)=='num')_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+'\x22\x20prop=\x22'+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x203)+_0x4cfb57+'\x22\x20placeholder=\x22请输入'+_0x5d581e[_0xa439af(0x238)]+_0xa439af(0x27d)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';else{if(_0x4cfb57[_0xa439af(0x237)](-0x4)==_0xa439af(0x205))_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+('<el-input\x20v-model=\x22formdata.'+_0x4cfb57+_0xa439af(0x232)+_0x5d581e[_0xa439af(0x238)]+'\x22\x20clearable/>'),_0xe88223+='\x0a'+_0xa439af(0x1fe)+'</el-form-item>'+'\x0a';else{if(_0x4cfb57['substr'](-0x3)==_0xa439af(0x1e4)){let _0x4089e5=''+(typeof _0x1a871f==_0xa439af(0x21f)?_0x1a871f+'/':'')+(_0x3df2c1?_0x3df2c1+'/':'')+_0x147740;_0xe88223+='\x0a'+_0xa439af(0x1fe)+('<el-form-item\x20label=\x22'+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x1e6)+_0x4cfb57+_0xa439af(0x27f)+_0x4089e5+_0xa439af(0x230)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0xa439af(0x25d)])(_0x5d581e[_0xa439af(0x26a)])){case _0xa439af(0x243):_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e['Comment']||_0x5d581e['Field'])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x203)+_0x4cfb57+_0xa439af(0x232)+_0x5d581e['Comment']+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22/>'),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';break;case'enum':_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x235)+_0x4cfb57+_0xa439af(0x1cd)+_0x5d581e[_0xa439af(0x238)]+_0xa439af(0x20a));for(let _0x4b80d2 of(0x0,helper_1[_0xa439af(0x281)])(_0x5d581e[_0xa439af(0x26a)])){_0xe88223+='\x0a'+_0xa439af(0x1da)+(_0xa439af(0x25f)+_0x4b80d2+'\x22\x20value=\x22'+_0x4b80d2+_0xa439af(0x24b));}_0xe88223+='\x0a'+_0xa439af(0x218)+_0xa439af(0x261),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';break;case _0xa439af(0x211):_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+_0xa439af(0x280)),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x265)+_0x4cfb57+_0xa439af(0x239)+_0x5d581e['Comment']+_0xa439af(0x1d2)),_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa439af(0x1d4)+'\x0a';break;case _0xa439af(0x1df):_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22\x20class=\x22block\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x22e)+_0x4cfb57+_0xa439af(0x24b)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';break;case _0xa439af(0x271):_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+_0xa439af(0x280)),_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xa439af(0x22e)+_0x4cfb57+'\x22\x20/>'),_0xe88223+='\x0a'+_0xa439af(0x1fe)+'</el-form-item>'+'\x0a';break;case'date':_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x1f8)+_0x4cfb57+_0xa439af(0x283)+_0x5d581e[_0xa439af(0x238)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa439af(0x1d4)+'\x0a';break;case _0xa439af(0x249):_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+('<el-date-picker\x20v-model=\x22formdata.'+_0x4cfb57+_0xa439af(0x283)+_0x5d581e['Comment']+_0xa439af(0x24f)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x1d4)+'\x0a';break;case'timestamp':_0xe88223+='\x0a'+_0xa439af(0x1fe)+(_0xa439af(0x244)+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x1f8)+_0x4cfb57+_0xa439af(0x283)+_0x5d581e[_0xa439af(0x238)]+_0xa439af(0x24f)),_0xe88223+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa439af(0x1d4)+'\x0a';break;default:_0xe88223+='\x0a'+_0xa439af(0x1fe)+('<el-form-item\x20label=\x22'+(_0x5d581e[_0xa439af(0x238)]||_0x5d581e[_0xa439af(0x1d0)])+_0xa439af(0x227)+_0x4cfb57+'\x22>'),_0xe88223+='\x0a'+_0xa439af(0x218)+(_0xa439af(0x265)+_0x4cfb57+_0xa439af(0x232)+_0x5d581e[_0xa439af(0x238)]+_0xa439af(0x26c)),_0xe88223+='\x0a'+_0xa439af(0x1fe)+'</el-form-item>'+'\x0a';}}}}}}}_0xe88223+='\x0a'+_0xa439af(0x1fe)+_0xa439af(0x268),_0xe88223+='\x0a'+_0xa439af(0x218)+_0xa439af(0x1dd),_0xe88223+='\x0a'+_0xa439af(0x1fe)+'</el-form-item>'+'\x0a';let _0x248d55=_0xa439af(0x1e3);_0x248d55+=_0xa439af(0x200)+(_0x3f1197==_0xa439af(0x23d)?'添加'+_0x1e613e:'编辑'+_0x1e613e)+_0xa439af(0x1d9)+_0x494531+'.'+(_0x3f1197==_0xa439af(0x23d)?'add':_0xa439af(0x1ff))+_0xa439af(0x1cc),_0x248d55+=_0xa439af(0x1fe)+_0xe88223+'\x0a',_0x248d55+=_0xa439af(0x274),_0x248d55+=_0xa439af(0x208)+_0x494531+'.'+(_0x3f1197=='add'?_0xa439af(0x23d):_0xa439af(0x1ff))+'.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x248d55+=_0xa439af(0x1d8),_0x248d55+=_0xa439af(0x1ea),_0x248d55+=_0xa439af(0x1ed);if(_0x3f1197==_0xa439af(0x23d))_0x248d55+=_0xa439af(0x1f5)+_0x1c4c13+_0xa439af(0x262)+(_0x3df2c1?_0xa439af(0x1db)+_0x3df2c1:_0x277546)+_0xa439af(0x282)+_0x1c4c13+_0xa439af(0x27a);else _0x3f1197==_0xa439af(0x1ff)&&(_0x248d55+='import\x20{\x20'+_0x1c4c13+_0xa439af(0x22c)+(_0x3df2c1?_0xa439af(0x1db)+_0x3df2c1:_0x277546)+_0xa439af(0x282)+_0x1c4c13+_0xa439af(0x1cb));_0x248d55+=_0xa439af(0x1f3),_0x248d55+=_0xa439af(0x259),_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x248d55+=_0xa439af(0x213),_0x248d55+=_0xa439af(0x1e8);if(_0x3f1197==_0xa439af(0x23d))_0x248d55+=_0xa439af(0x1f7)+_0x1c4c13+_0xa439af(0x206);else _0x3f1197==_0xa439af(0x1ff)&&(_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20'+_0x1c4c13+'EditRule,\x0a');_0x248d55+=_0xa439af(0x24d),_0x248d55+='\x20\x20\x20\x20},\x0a',_0x3f1197=='edit'&&(_0x248d55+=_0xa439af(0x246),_0x248d55+=_0xa439af(0x275)+_0x10eccd['Field']+_0xa439af(0x20b),_0x248d55+='\x20\x20\x20\x20},\x0a'),_0x248d55+='\x20\x20\x20\x20methods:\x20{\x0a',_0x248d55+=_0xa439af(0x1ef),_0x248d55+=_0xa439af(0x23e),_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a',_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a',_0x248d55+=_0xa439af(0x25b),_0x248d55+=_0xa439af(0x210),_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a',_0x248d55+=_0xa439af(0x23a)+_0x494531+'.'+(_0x3f1197==_0xa439af(0x23d)?_0xa439af(0x23d):_0xa439af(0x1ff))+_0xa439af(0x229),_0x248d55+=_0xa439af(0x1fa),_0x248d55+=_0xa439af(0x245),_0x248d55+='\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',_0x248d55+=_0xa439af(0x256),_0x248d55+=_0xa439af(0x228),_0x248d55+=_0xa439af(0x250),_0x3f1197==_0xa439af(0x1ff)&&(_0x248d55+=_0xa439af(0x1ef),_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a',_0x248d55+=_0xa439af(0x1f0),_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20getDetail('+_0x10eccd[_0xa439af(0x1d0)]+')\x20{\x0a',_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20('+_0x10eccd[_0xa439af(0x1d0)]+_0xa439af(0x25e),_0x248d55+=_0xa439af(0x1ec),_0x248d55+=_0xa439af(0x23a)+_0x494531+'.detail({\x20'+_0x10eccd[_0xa439af(0x1d0)]+'\x20}).then(res=>{\x0a',_0x248d55+=_0xa439af(0x21b),_0x248d55+=_0xa439af(0x279),_0x248d55+='\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',_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a',_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a',_0x248d55+=_0xa439af(0x258),_0x248d55+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'),_0x248d55+=_0xa439af(0x255),_0x248d55+='}\x0a',_0x248d55+=_0xa439af(0x1f9),fs['mkdirSync']((0x0,path_1['dirname'])(_0x3c823d),{'recursive':!![]}),fs['writeFileSync'](_0x3c823d,_0x248d55,_0xa439af(0x1fd));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x25c2b6=a14_0x589a;function a14_0x589a(_0x131ad7,_0x218426){const _0x58ac98=a14_0x2767();return a14_0x589a=function(_0xf7d5e4,_0x1300e0){_0xf7d5e4=_0xf7d5e4-0xe1;let _0x276787=_0x58ac98[_0xf7d5e4];return _0x276787;},a14_0x589a(_0x131ad7,_0x218426);}(function(_0x17b4cf,_0x42f77a){const _0x406c19=a14_0x589a,_0x22694e=_0x17b4cf();while(!![]){try{const _0x381738=parseInt(_0x406c19(0xf6))/0x1*(-parseInt(_0x406c19(0xec))/0x2)+-parseInt(_0x406c19(0xe9))/0x3*(-parseInt(_0x406c19(0xe3))/0x4)+-parseInt(_0x406c19(0xf5))/0x5*(parseInt(_0x406c19(0xfe))/0x6)+parseInt(_0x406c19(0x105))/0x7*(-parseInt(_0x406c19(0x100))/0x8)+-parseInt(_0x406c19(0x103))/0x9*(-parseInt(_0x406c19(0x10d))/0xa)+parseInt(_0x406c19(0x101))/0xb*(-parseInt(_0x406c19(0xed))/0xc)+parseInt(_0x406c19(0x10b))/0xd;if(_0x381738===_0x42f77a)break;else _0x22694e['push'](_0x22694e['shift']());}catch(_0x3daed7){_0x22694e['push'](_0x22694e['shift']());}}}(a14_0x2767,0xd601d));function a14_0x2767(){const _0x5b7812=['\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','436557iveXcV','writeFileSync','apps-','261746wxkqNt','24cGZXUi',',\x20component:\x20()=>\x20import(\x27./template/','replace','\x20\x20\x20\x20path:\x20\x22/','dirname','/routes.js','{\x20path:\x20\x22','/add/index.vue\x27),meta:\x20{\x20name:\x20\x22','61365bCGmaZ','1Igfjvd','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','utf-8','\x20\x20\x20\x20]\x0a','search','mkdirSync','padEnd','\x20\x20\x20\x20children:[\x0a','582wtYzxO','string','112YAxFQG','8806754ZMSVeY','toString','810EtfwNW','existsSync','161497wOCtIp','cwd','/pages/','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','\x22,\x0a','readFileSync','26209027uYEyOg','path','72320hSZAkW','\x20\x20\x20\x20component:\x20layout,\x0a','\x20\x20\x20\x20//\x20redirect:\x20\x22/','40KfHnVn','/pages/apps/','(((.+)+)+)+$','//\x20add\x20route\x20here'];a14_0x2767=function(){return _0x5b7812;};return a14_0x2767();}const a14_0x1300e0=(function(){let _0x341e9b=!![];return function(_0x352034,_0xbb5a82){const _0x4f21fc=_0x341e9b?function(){if(_0xbb5a82){const _0x30b404=_0xbb5a82['apply'](_0x352034,arguments);return _0xbb5a82=null,_0x30b404;}}:function(){};return _0x341e9b=![],_0x4f21fc;};}()),a14_0xf7d5e4=a14_0x1300e0(this,function(){const _0x4a1c32=a14_0x589a;return a14_0xf7d5e4[_0x4a1c32(0x102)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a14_0xf7d5e4)[_0x4a1c32(0xfa)](_0x4a1c32(0xe5));});a14_0xf7d5e4();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a14_0x25c2b6(0x10c));async function default_1({tablestartUpShort2:_0x1f745f,moduleName:_0x254058,controller:_0xf0e1ee,Comment:_0x35699c,apporbasic:_0x13f6f4,Primary:_0x3ba282}){await createRoutes({'tablestartUpShort2':_0x1f745f,'moduleName':_0x254058,'controller':_0xf0e1ee,'Comment':_0x35699c,'apporbasic':_0x13f6f4,'Primary':_0x3ba282});}async function createRoutes({tablestartUpShort2:_0x119ff0,moduleName:_0x50b899,controller:_0x126eec,Comment:_0xa9e7ad,apporbasic:_0x4ca1f5,Primary:_0x4214d8}){const _0x54942a=a14_0x25c2b6;let _0x2cb83c=process[_0x54942a(0x106)]()+'/vue'+(typeof _0x126eec==_0x54942a(0xff)?'/'+_0x126eec:'');_0x50b899?_0x2cb83c=_0x2cb83c+(_0x54942a(0xe4)+_0x50b899+_0x54942a(0xf2)):_0x2cb83c=_0x2cb83c+(_0x54942a(0x107)+_0x4ca1f5+'/routes.js');if(!fs[_0x54942a(0x104)](_0x2cb83c)){let _0x5d5ddf=_0x54942a(0x108);_0x5d5ddf+='export\x20default\x20{\x0a',_0x5d5ddf+=_0x54942a(0xf0)+(_0x50b899?'apps-'+_0x50b899+'/':_0x4ca1f5+'/')+_0x54942a(0x109),_0x5d5ddf+=_0x54942a(0xe2)+(_0x50b899?_0x54942a(0xeb)+_0x50b899+'/':_0x4ca1f5+'/')+_0x54942a(0x109),_0x5d5ddf+=_0x54942a(0xe1),_0x5d5ddf+=_0x54942a(0xfd),_0x5d5ddf+=_0x54942a(0xe7),_0x5d5ddf+=_0x54942a(0xf9),_0x5d5ddf+='}\x0a',fs[_0x54942a(0xfb)]((0x0,path_1[_0x54942a(0xf1)])(_0x2cb83c),{'recursive':!![]}),fs[_0x54942a(0xea)](_0x2cb83c,_0x5d5ddf,_0x54942a(0xf8));}const _0x5693b2=fs[_0x54942a(0x10a)](_0x2cb83c,_0x54942a(0xf8));fs[_0x54942a(0xea)](_0x2cb83c,_0x5693b2[_0x54942a(0xef)](_0x54942a(0xe6),_0x54942a(0xf3)+(_0x119ff0+'\x22')[_0x54942a(0xfc)](0x14)+(_0x54942a(0xee)+_0x119ff0+'/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0xa9e7ad+'\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here'))[_0x54942a(0xef)]('//\x20add\x20route\x20here',_0x54942a(0xf3)+(_0x119ff0+'/add\x22')[_0x54942a(0xfc)](0x14)+(_0x54942a(0xee)+_0x119ff0+_0x54942a(0xf4)+_0xa9e7ad+_0x54942a(0xe8)))[_0x54942a(0xef)](_0x54942a(0xe6),_0x54942a(0xf3)+(_0x119ff0+'/edit\x22')[_0x54942a(0xfc)](0x14)+(',\x20component:\x20()=>\x20import(\x27./template/'+_0x119ff0+_0x54942a(0xf7)+_0xa9e7ad+'编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here')));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15_0x218961=a15_0x114a;(function(_0x1fb16d,_0x38744b){const _0x4a898f=a15_0x114a,_0x4938ee=_0x1fb16d();while(!![]){try{const _0x1b3b81=parseInt(_0x4a898f(0x11d))/0x1*(-parseInt(_0x4a898f(0x11f))/0x2)+-parseInt(_0x4a898f(0x10a))/0x3+-parseInt(_0x4a898f(0x102))/0x4+-parseInt(_0x4a898f(0x13d))/0x5*(parseInt(_0x4a898f(0x10d))/0x6)+-parseInt(_0x4a898f(0x115))/0x7*(-parseInt(_0x4a898f(0x125))/0x8)+parseInt(_0x4a898f(0x11b))/0x9*(-parseInt(_0x4a898f(0x120))/0xa)+parseInt(_0x4a898f(0x114))/0xb;if(_0x1b3b81===_0x38744b)break;else _0x4938ee['push'](_0x4938ee['shift']());}catch(_0x13796c){_0x4938ee['push'](_0x4938ee['shift']());}}}(a15_0x2fd7,0x58c52));const a15_0x4d3a1d=(function(){let _0xaa650f=!![];return function(_0x4b3c8e,_0x3d6d6e){const _0x57523b=_0xaa650f?function(){if(_0x3d6d6e){const _0x1b41ff=_0x3d6d6e['apply'](_0x4b3c8e,arguments);return _0x3d6d6e=null,_0x1b41ff;}}:function(){};return _0xaa650f=![],_0x57523b;};}()),a15_0x3a185e=a15_0x4d3a1d(this,function(){const _0x415550=a15_0x114a;return a15_0x3a185e[_0x415550(0x11c)]()['search']('(((.+)+)+)+$')[_0x415550(0x11c)]()[_0x415550(0x12d)](a15_0x3a185e)['search'](_0x415550(0xf8));});a15_0x3a185e();'use strict';Object[a15_0x218961(0x137)](exports,'__esModule',{'value':!![]}),exports[a15_0x218961(0x100)]=default_1;const fs=require('fs'),helper_1=require(a15_0x218961(0x128));async function default_1({tablestartUpShort:_0x40417b,tablestartUpShort2:_0x291b1f,moduleName:_0x3d258b,controller:_0x20108d,Comment:_0x2025fc,apporbasic:_0x2613b8,Primary:_0x18c4da,Fields:_0x360a9b}){const _0x470afa=a15_0x218961;let _0x3921a2=process['cwd']()+'/vue'+(typeof _0x20108d==_0x470afa(0x122)?'/'+_0x20108d:'');_0x3d258b?_0x3921a2=_0x3921a2+(_0x470afa(0x121)+_0x3d258b+'/validators/'+_0x40417b):_0x3921a2=_0x3921a2+(_0x470afa(0x130)+_0x2613b8+_0x470afa(0xfb)+_0x40417b),!fs['existsSync'](_0x3921a2)&&fs[_0x470afa(0x139)](_0x3921a2,{'recursive':!![]}),await CreateRule(_0x3921a2,{'tablestartUpShort':_0x40417b,'Comment':_0x2025fc,'Fields':_0x360a9b}),await updateRule(_0x3921a2,{'tablestartUpShort':_0x40417b,'Comment':_0x2025fc,'Fields':_0x360a9b});}async function CreateRule(_0x18103f,{tablestartUpShort:_0x46c112,Comment:_0x4f6beb,Fields:_0x35fd3b}){const _0x366524=a15_0x218961,_0x1f3c04=_0x18103f+_0x366524(0x106);if(!fs['existsSync'](_0x1f3c04)){let _0x5a9a2d='',_0x17cba5='';for(let _0x52304e in _0x35fd3b){let _0x1e194e=_0x35fd3b[_0x52304e],_0x2c4ae8=(0x0,helper_1[_0x366524(0x141)])(_0x1e194e[_0x366524(0x118)]);if(_0x1e194e[_0x366524(0x12e)]==_0x366524(0x10f)||_0x1e194e['Field']==_0x366524(0x13b)||_0x1e194e[_0x366524(0x12e)]==_0x366524(0x113)||_0x1e194e['Field']==_0x366524(0x105))continue;if([_0x366524(0x109),_0x366524(0x123),_0x366524(0x10e)][_0x366524(0xfe)](_0x2c4ae8)!=-0x1)_0x5a9a2d+=_0x366524(0x110)+_0x1e194e[_0x366524(0x124)]+'\x0a',_0x5a9a2d+='\x20\x20\x20\x20'+_0x1e194e[_0x366524(0x12e)]+_0x366524(0x132),_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)&&(_0x5a9a2d+=_0x366524(0x112)+_0x1e194e[_0x366524(0x124)]+_0x366524(0x13f)+(_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)?_0x366524(0x104):_0x366524(0xfa))+_0x366524(0x13a)),_0x5a9a2d+='\x20\x20\x20\x20],\x0a\x0a';else{if(['float',_0x366524(0x10b),_0x366524(0x12f),_0x366524(0x133)][_0x366524(0xfe)](_0x2c4ae8)!=-0x1)_0x5a9a2d+='\x20\x20\x20\x20//\x20'+_0x1e194e[_0x366524(0x124)]+'\x0a',_0x5a9a2d+=_0x366524(0x12b)+_0x1e194e[_0x366524(0x12e)]+_0x366524(0x132),_0x5a9a2d+=_0x366524(0x108)+_0x1e194e[_0x366524(0x124)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)&&(_0x5a9a2d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1e194e['Comment']+_0x366524(0x13f)+(_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)?_0x366524(0x104):_0x366524(0xfa))+_0x366524(0x13a)),_0x5a9a2d+=_0x366524(0x10c);else{if([_0x366524(0x136)][_0x366524(0xfe)](_0x2c4ae8)!=-0x1)_0x5a9a2d+=_0x366524(0x110)+_0x1e194e['Comment']+'\x0a',_0x5a9a2d+=_0x366524(0x12b)+_0x1e194e['Field']+_0x366524(0x132),_0x5a9a2d+=_0x366524(0x108)+_0x1e194e[_0x366524(0x124)]+_0x366524(0x126),_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)&&(_0x5a9a2d+=_0x366524(0x112)+_0x1e194e[_0x366524(0x124)]+_0x366524(0x13f)+(_0x1e194e['Null']!=_0x366524(0x12a)?_0x366524(0x104):_0x366524(0xfa))+'\x20},\x0a'),_0x5a9a2d+=_0x366524(0x10c);else{if(_0x2c4ae8==_0x366524(0x107))_0x5a9a2d+=_0x366524(0x110)+_0x1e194e['Comment']+'\x0a',_0x5a9a2d+=_0x366524(0x12b)+_0x1e194e[_0x366524(0x12e)]+_0x366524(0x132),_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)&&(_0x5a9a2d+=_0x366524(0x112)+_0x1e194e['Comment']+'不能为空`,\x20required:\x20'+(_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)?_0x366524(0x104):'true')+'\x20},\x0a'),_0x5a9a2d+=_0x366524(0x10c);else{if(_0x2c4ae8=='enum'){let _0x5bfaf8=(0x0,helper_1['getEnum'])(_0x1e194e[_0x366524(0x118)]);_0x5a9a2d+=_0x366524(0x110)+_0x1e194e[_0x366524(0x124)]+'\x0a',_0x5a9a2d+=_0x366524(0x12b)+_0x1e194e['Field']+_0x366524(0x132),_0x5a9a2d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x1e194e[_0x366524(0x124)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x5bfaf8[_0x366524(0x101)](_0x366524(0x116))+_0x366524(0x11e),_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)&&(_0x5a9a2d+=_0x366524(0x112)+_0x1e194e[_0x366524(0x124)]+'不能为空`,\x20required:\x20'+(_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)?_0x366524(0x104):_0x366524(0xfa))+_0x366524(0x13a)),_0x5a9a2d+=_0x366524(0x10c);}else[_0x366524(0xff),_0x366524(0x13e),_0x366524(0x142)][_0x366524(0xfe)](_0x2c4ae8)>-0x1?(_0x5a9a2d+=_0x366524(0x110)+_0x1e194e[_0x366524(0x124)]+'\x0a',_0x5a9a2d+=_0x366524(0x12b)+_0x1e194e[_0x366524(0x12e)]+_0x366524(0x132),_0x5a9a2d+=_0x366524(0x108)+_0x1e194e[_0x366524(0x124)]+_0x366524(0x138),_0x1e194e[_0x366524(0x111)]!='YES'&&(_0x5a9a2d+=_0x366524(0x112)+_0x1e194e['Comment']+_0x366524(0x13f)+(_0x1e194e['Null']!=_0x366524(0x12a)?_0x366524(0x104):'true')+_0x366524(0x13a)),_0x5a9a2d+=_0x366524(0x10c)):(_0x5a9a2d+=_0x366524(0x110)+_0x1e194e[_0x366524(0x124)]+'\x0a',_0x5a9a2d+=_0x366524(0x12b)+_0x1e194e[_0x366524(0x12e)]+_0x366524(0x132),_0x5a9a2d+=_0x366524(0x108)+_0x1e194e[_0x366524(0x124)]+_0x366524(0x117),_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)&&(_0x5a9a2d+=_0x366524(0x112)+_0x1e194e[_0x366524(0x124)]+'不能为空`,\x20required:\x20'+(_0x1e194e[_0x366524(0x111)]!=_0x366524(0x12a)?_0x366524(0x104):_0x366524(0xfa))+_0x366524(0x13a)),_0x5a9a2d+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x17cba5+='\x0a',_0x17cba5+=_0x366524(0x129),_0x17cba5+='\x20*\x20'+_0x4f6beb+'\x0a',_0x17cba5+=_0x366524(0x12c),_0x17cba5+='\x20*\x20**/\x0a',_0x17cba5+=_0x366524(0xfc)+_0x46c112+'AddRule\x20=\x20{\x0a',_0x17cba5+=_0x366524(0x11a),_0x17cba5+=_0x366524(0x134),_0x17cba5=_0x17cba5[_0x366524(0x131)](_0x366524(0x11a),_0x5a9a2d),fs[_0x366524(0x103)](_0x1f3c04,_0x17cba5,'utf-8');}}function a15_0x114a(_0x56cce5,_0x3f691b){const _0x74108b=a15_0x2fd7();return a15_0x114a=function(_0x3a185e,_0x4d3a1d){_0x3a185e=_0x3a185e-0xf7;let _0x2fd7cc=_0x74108b[_0x3a185e];return _0x2fd7cc;},a15_0x114a(_0x56cce5,_0x3f691b);}async function updateRule(_0x432641,{tablestartUpShort:_0x108d23,Comment:_0x317034,Fields:_0x2da885}){const _0xf86cb0=a15_0x218961,_0x3daabe=_0x432641+'/edit.js';if(!fs[_0xf86cb0(0xf9)](_0x3daabe)){let _0x1634ef='',_0x101e91='';for(let _0x497417 in _0x2da885){let _0x406fdd=_0x2da885[_0x497417],_0x573404=(0x0,helper_1[_0xf86cb0(0x141)])(_0x406fdd[_0xf86cb0(0x118)]);if(_0x406fdd[_0xf86cb0(0x12e)]==_0xf86cb0(0x10f)||_0x406fdd[_0xf86cb0(0x12e)]==_0xf86cb0(0x13b)||_0x406fdd[_0xf86cb0(0x12e)]==_0xf86cb0(0x113)||_0x406fdd['Field']=='deleted_at')continue;if([_0xf86cb0(0x109),_0xf86cb0(0x123),_0xf86cb0(0x10e)][_0xf86cb0(0xfe)](_0x573404)!=-0x1)_0x1634ef+=_0xf86cb0(0x110)+_0x406fdd[_0xf86cb0(0x124)]+'\x0a',_0x1634ef+='\x20\x20\x20\x20'+_0x406fdd['Field']+_0xf86cb0(0x132),_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)&&(_0x1634ef+=_0xf86cb0(0x112)+_0x406fdd[_0xf86cb0(0x124)]+_0xf86cb0(0x13f)+(_0x406fdd[_0xf86cb0(0x111)]!='YES'?'false':_0xf86cb0(0xfa))+'\x20},\x0a'),_0x1634ef+=_0xf86cb0(0x10c);else{if([_0xf86cb0(0xf7),'double','decimal',_0xf86cb0(0x133)][_0xf86cb0(0xfe)](_0x573404)!=-0x1)_0x1634ef+=_0xf86cb0(0x110)+_0x406fdd['Comment']+'\x0a',_0x1634ef+='\x20\x20\x20\x20'+_0x406fdd['Field']+':\x20[\x0a',_0x1634ef+=_0xf86cb0(0x108)+_0x406fdd[_0xf86cb0(0x124)]+_0xf86cb0(0x126),_0x406fdd['Null']!='YES'&&(_0x1634ef+=_0xf86cb0(0x112)+_0x406fdd[_0xf86cb0(0x124)]+'不能为空`,\x20required:\x20'+(_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)?_0xf86cb0(0x104):_0xf86cb0(0xfa))+'\x20},\x0a'),_0x1634ef+=_0xf86cb0(0x10c);else{if([_0xf86cb0(0x136)]['indexOf'](_0x573404)!=-0x1)_0x1634ef+='\x20\x20\x20\x20//\x20'+_0x406fdd['Comment']+'\x0a',_0x1634ef+='\x20\x20\x20\x20'+_0x406fdd[_0xf86cb0(0x12e)]+':\x20[\x0a',_0x1634ef+=_0xf86cb0(0x108)+_0x406fdd[_0xf86cb0(0x124)]+_0xf86cb0(0x126),_0x406fdd[_0xf86cb0(0x111)]!='YES'&&(_0x1634ef+=_0xf86cb0(0x112)+_0x406fdd['Comment']+_0xf86cb0(0x13f)+(_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)?_0xf86cb0(0x104):_0xf86cb0(0xfa))+_0xf86cb0(0x13a)),_0x1634ef+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x573404==_0xf86cb0(0x107))_0x1634ef+=_0xf86cb0(0x110)+_0x406fdd[_0xf86cb0(0x124)]+'\x0a',_0x1634ef+=_0xf86cb0(0x12b)+_0x406fdd[_0xf86cb0(0x12e)]+_0xf86cb0(0x132),_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)&&(_0x1634ef+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x406fdd[_0xf86cb0(0x124)]+'不能为空`,\x20required:\x20'+(_0x406fdd[_0xf86cb0(0x111)]!='YES'?'false':_0xf86cb0(0xfa))+_0xf86cb0(0x13a)),_0x1634ef+=_0xf86cb0(0x10c);else{if(_0x573404==_0xf86cb0(0x119)){let _0x534450=(0x0,helper_1[_0xf86cb0(0x135)])(_0x406fdd[_0xf86cb0(0x118)]);_0x1634ef+=_0xf86cb0(0x110)+_0x406fdd['Comment']+'\x0a',_0x1634ef+='\x20\x20\x20\x20'+_0x406fdd[_0xf86cb0(0x12e)]+_0xf86cb0(0x132),_0x1634ef+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x406fdd[_0xf86cb0(0x124)]+_0xf86cb0(0xfd)+_0x534450[_0xf86cb0(0x101)]('\x27,\x20\x27')+_0xf86cb0(0x11e),_0x406fdd['Null']!=_0xf86cb0(0x12a)&&(_0x1634ef+=_0xf86cb0(0x112)+_0x406fdd[_0xf86cb0(0x124)]+'不能为空`,\x20required:\x20'+(_0x406fdd['Null']!=_0xf86cb0(0x12a)?_0xf86cb0(0x104):'true')+_0xf86cb0(0x13a)),_0x1634ef+='\x20\x20\x20\x20],\x0a\x0a';}else['date',_0xf86cb0(0x13e),'timestamp'][_0xf86cb0(0xfe)](_0x573404)>-0x1?(_0x1634ef+='\x20\x20\x20\x20//\x20'+_0x406fdd['Comment']+'\x0a',_0x1634ef+=_0xf86cb0(0x12b)+_0x406fdd['Field']+_0xf86cb0(0x132),_0x1634ef+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x406fdd['Comment']+_0xf86cb0(0x138),_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)&&(_0x1634ef+=_0xf86cb0(0x112)+_0x406fdd[_0xf86cb0(0x124)]+'不能为空`,\x20required:\x20'+(_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)?_0xf86cb0(0x104):_0xf86cb0(0xfa))+_0xf86cb0(0x13a)),_0x1634ef+=_0xf86cb0(0x10c)):(_0x1634ef+='\x20\x20\x20\x20//\x20'+_0x406fdd[_0xf86cb0(0x124)]+'\x0a',_0x1634ef+='\x20\x20\x20\x20'+_0x406fdd[_0xf86cb0(0x12e)]+_0xf86cb0(0x132),_0x1634ef+=_0xf86cb0(0x108)+_0x406fdd[_0xf86cb0(0x124)]+_0xf86cb0(0x117),_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)&&(_0x1634ef+=_0xf86cb0(0x112)+_0x406fdd[_0xf86cb0(0x124)]+_0xf86cb0(0x13f)+(_0x406fdd[_0xf86cb0(0x111)]!=_0xf86cb0(0x12a)?_0xf86cb0(0x104):_0xf86cb0(0xfa))+_0xf86cb0(0x13a)),_0x1634ef+=_0xf86cb0(0x10c));}}}}}_0x101e91+='\x0a',_0x101e91+='/**\x0a',_0x101e91+=_0xf86cb0(0x140)+_0x317034+'\x0a',_0x101e91+=_0xf86cb0(0x13c),_0x101e91+='\x20*\x20**/\x0a',_0x101e91+=_0xf86cb0(0xfc)+_0x108d23+_0xf86cb0(0x127),_0x101e91+=_0xf86cb0(0x11a),_0x101e91+='}\x0a\x0a',_0x101e91=_0x101e91[_0xf86cb0(0x131)](_0xf86cb0(0x11a),_0x1634ef),fs[_0xf86cb0(0x103)](_0x3daabe,_0x101e91,'utf-8');}}function a15_0x2fd7(){const _0x446721=['2WDSNZP','4166410sUnHpc','/pages/apps/','string','longtext','Comment','8zodoRF','`,\x20type:\x20\x22number\x22\x20},\x0a','EditRule\x20=\x20{\x0a','../helper','/**\x0a','YES','\x20\x20\x20\x20','\x20*\x20数据添加验证\x0a','constructor','Field','decimal','/pages/','replace',':\x20[\x0a','number','}\x0a\x0a','getEnum','tinyint','defineProperty','`,\x20type:\x20\x22date\x22\x20},\x0a','mkdirSync','\x20},\x0a','created_at','\x20*\x20数据更新验证\x0a','11525LckymC','datetime','不能为空`,\x20required:\x20','\x20*\x20','getProp','timestamp','float','(((.+)+)+)+$','existsSync','true','/validators/','export\x20const\x20','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','indexOf','date','default','join','375876EyDDHx','writeFileSync','false','deleted_at','/add.js','json','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','text','671796qLoyMA','double','\x20\x20\x20\x20],\x0a\x0a','1434MOAhDq','mediumtext','displayorder','\x20\x20\x20\x20//\x20','Null','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','updated_at','23707849knynqu','101962XBDlBq','\x27,\x20\x27','`,\x20type:\x20\x22string\x22\x20},\x0a','Type','enum','%RuleColumn%','9UqGtdN','toString','520786ARzszP','\x27]\x20},\x0a'];a15_0x2fd7=function(){return _0x446721;};return a15_0x2fd7();}
|
|
1
|
+
const a15_0x5a6e0a=a15_0x2503;(function(_0x5d990d,_0x370101){const _0x396fb0=a15_0x2503,_0xbd81e5=_0x5d990d();while(!![]){try{const _0xeb37a0=-parseInt(_0x396fb0(0x1f6))/0x1*(-parseInt(_0x396fb0(0x1af))/0x2)+-parseInt(_0x396fb0(0x1d7))/0x3+parseInt(_0x396fb0(0x1c5))/0x4+parseInt(_0x396fb0(0x1c7))/0x5+-parseInt(_0x396fb0(0x1e6))/0x6*(parseInt(_0x396fb0(0x1b8))/0x7)+parseInt(_0x396fb0(0x1ea))/0x8+-parseInt(_0x396fb0(0x1e8))/0x9*(-parseInt(_0x396fb0(0x1c0))/0xa);if(_0xeb37a0===_0x370101)break;else _0xbd81e5['push'](_0xbd81e5['shift']());}catch(_0x292214){_0xbd81e5['push'](_0xbd81e5['shift']());}}}(a15_0x5a2b,0xad4a8));const a15_0x288c81=(function(){let _0x36a2d4=!![];return function(_0x52e6f0,_0xac01fc){const _0x142afc=_0x36a2d4?function(){const _0x57e4ad=a15_0x2503;if(_0xac01fc){const _0x4bbebe=_0xac01fc[_0x57e4ad(0x1f4)](_0x52e6f0,arguments);return _0xac01fc=null,_0x4bbebe;}}:function(){};return _0x36a2d4=![],_0x142afc;};}()),a15_0x5da56c=a15_0x288c81(this,function(){const _0x3ea822=a15_0x2503;return a15_0x5da56c[_0x3ea822(0x1aa)]()[_0x3ea822(0x1cf)](_0x3ea822(0x1ef))['toString']()[_0x3ea822(0x1e0)](a15_0x5da56c)[_0x3ea822(0x1cf)](_0x3ea822(0x1ef));});a15_0x5da56c();function a15_0x5a2b(){const _0x2b8c80=['(((.+)+)+)+$','\x20*\x20数据更新验证\x0a','export\x20const\x20','\x20*\x20**/\x0a','/pages/','apply','longtext','6KOVDPW','replace','\x27]\x20},\x0a','toString','true','datetime','/validators/','float','162374ptPogi','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','YES','default','utf-8','Comment','/add.js','double','indexOf','1957781crkTox','tinyint','\x20*\x20','cwd','getProp','string','text','AddRule\x20=\x20{\x0a','5387890glfaHV','number','\x20\x20\x20\x20//\x20','updated_at','Type','462964ekMyos','\x20},\x0a','5161510HheiDX',':\x20[\x0a','decimal','\x20\x20\x20\x20],\x0a\x0a','/vue','/pages/apps/','enum','EditRule\x20=\x20{\x0a','search','\x27,\x20\x27','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','json','join','不能为空`,\x20required:\x20','Null','existsSync','3305166eivirv','getEnum','displayorder','`,\x20type:\x20\x22string\x22\x20},\x0a','`,\x20type:\x20\x22number\x22\x20},\x0a','%RuleColumn%','\x20*\x20数据添加验证\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','writeFileSync','constructor','/**\x0a','date','deleted_at','../helper','false','30inNhnc','}\x0a\x0a','9vCAaps','\x20\x20\x20\x20','8287864nmNiiI','defineProperty','Field','mediumtext','timestamp'];a15_0x5a2b=function(){return _0x2b8c80;};return a15_0x5a2b();}function a15_0x2503(_0x17e1dc,_0xfdb2ac){const _0x30569e=a15_0x5a2b();return a15_0x2503=function(_0x5da56c,_0x288c81){_0x5da56c=_0x5da56c-0x1aa;let _0x5a2b58=_0x30569e[_0x5da56c];return _0x5a2b58;},a15_0x2503(_0x17e1dc,_0xfdb2ac);}'use strict';Object[a15_0x5a6e0a(0x1eb)](exports,'__esModule',{'value':!![]}),exports[a15_0x5a6e0a(0x1b2)]=default_1;const fs=require('fs'),helper_1=require(a15_0x5a6e0a(0x1e4));async function default_1({tablestartUpShort:_0x51d252,tablestartUpShort2:_0x65ed25,moduleName:_0xb6430b,controller:_0xec7766,Comment:_0xff0e2b,apporbasic:_0x2e6b05,Primary:_0x4bcdd4,Fields:_0x4e8f4b}){const _0x409475=a15_0x5a6e0a;let _0x4aa67d=process[_0x409475(0x1bb)]()+_0x409475(0x1cb)+(typeof _0xec7766==_0x409475(0x1bd)?'/'+_0xec7766:'');_0xb6430b?_0x4aa67d=_0x4aa67d+(_0x409475(0x1cc)+_0xb6430b+_0x409475(0x1ad)+_0x51d252):_0x4aa67d=_0x4aa67d+(_0x409475(0x1f3)+_0x2e6b05+_0x409475(0x1ad)+_0x51d252),!fs[_0x409475(0x1d6)](_0x4aa67d)&&fs['mkdirSync'](_0x4aa67d,{'recursive':!![]}),await CreateRule(_0x4aa67d,{'tablestartUpShort':_0x51d252,'Comment':_0xff0e2b,'Fields':_0x4e8f4b}),await updateRule(_0x4aa67d,{'tablestartUpShort':_0x51d252,'Comment':_0xff0e2b,'Fields':_0x4e8f4b});}async function CreateRule(_0x4ebd1c,{tablestartUpShort:_0x45f3ca,Comment:_0x4d106c,Fields:_0xb3fe73}){const _0x32a33f=a15_0x5a6e0a,_0x1a366d=_0x4ebd1c+_0x32a33f(0x1b5);if(!fs[_0x32a33f(0x1d6)](_0x1a366d)){let _0x498425='',_0x5b012='';for(let _0x33522f in _0xb3fe73){let _0x4c84ac=_0xb3fe73[_0x33522f],_0x1e4c94=(0x0,helper_1[_0x32a33f(0x1bc)])(_0x4c84ac['Type']);if(_0x4c84ac['Field']==_0x32a33f(0x1d9)||_0x4c84ac[_0x32a33f(0x1ec)]=='created_at'||_0x4c84ac[_0x32a33f(0x1ec)]==_0x32a33f(0x1c3)||_0x4c84ac[_0x32a33f(0x1ec)]==_0x32a33f(0x1e3))continue;if([_0x32a33f(0x1be),_0x32a33f(0x1f5),_0x32a33f(0x1ed)][_0x32a33f(0x1b7)](_0x1e4c94)!=-0x1)_0x498425+=_0x32a33f(0x1c2)+_0x4c84ac['Comment']+'\x0a',_0x498425+=_0x32a33f(0x1e9)+_0x4c84ac['Field']+_0x32a33f(0x1c8),_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)&&(_0x498425+=_0x32a33f(0x1d1)+_0x4c84ac[_0x32a33f(0x1b4)]+'不能为空`,\x20required:\x20'+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?_0x32a33f(0x1e5):'true')+_0x32a33f(0x1c6)),_0x498425+=_0x32a33f(0x1ca);else{if([_0x32a33f(0x1ae),_0x32a33f(0x1b6),_0x32a33f(0x1c9),_0x32a33f(0x1c1)]['indexOf'](_0x1e4c94)!=-0x1)_0x498425+=_0x32a33f(0x1c2)+_0x4c84ac[_0x32a33f(0x1b4)]+'\x0a',_0x498425+=_0x32a33f(0x1e9)+_0x4c84ac[_0x32a33f(0x1ec)]+':\x20[\x0a',_0x498425+=_0x32a33f(0x1de)+_0x4c84ac[_0x32a33f(0x1b4)]+_0x32a33f(0x1db),_0x4c84ac['Null']!=_0x32a33f(0x1b1)&&(_0x498425+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4c84ac[_0x32a33f(0x1b4)]+_0x32a33f(0x1d4)+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?_0x32a33f(0x1e5):'true')+_0x32a33f(0x1c6)),_0x498425+=_0x32a33f(0x1ca);else{if([_0x32a33f(0x1b9)][_0x32a33f(0x1b7)](_0x1e4c94)!=-0x1)_0x498425+=_0x32a33f(0x1c2)+_0x4c84ac[_0x32a33f(0x1b4)]+'\x0a',_0x498425+='\x20\x20\x20\x20'+_0x4c84ac[_0x32a33f(0x1ec)]+_0x32a33f(0x1c8),_0x498425+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4c84ac['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)&&(_0x498425+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4c84ac[_0x32a33f(0x1b4)]+'不能为空`,\x20required:\x20'+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?'false':_0x32a33f(0x1ab))+_0x32a33f(0x1c6)),_0x498425+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x1e4c94=='json')_0x498425+=_0x32a33f(0x1c2)+_0x4c84ac[_0x32a33f(0x1b4)]+'\x0a',_0x498425+=_0x32a33f(0x1e9)+_0x4c84ac[_0x32a33f(0x1ec)]+':\x20[\x0a',_0x4c84ac[_0x32a33f(0x1d5)]!='YES'&&(_0x498425+=_0x32a33f(0x1d1)+_0x4c84ac[_0x32a33f(0x1b4)]+_0x32a33f(0x1d4)+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?_0x32a33f(0x1e5):'true')+_0x32a33f(0x1c6)),_0x498425+=_0x32a33f(0x1ca);else{if(_0x1e4c94==_0x32a33f(0x1cd)){let _0x3a9f14=(0x0,helper_1[_0x32a33f(0x1d8)])(_0x4c84ac['Type']);_0x498425+='\x20\x20\x20\x20//\x20'+_0x4c84ac['Comment']+'\x0a',_0x498425+=_0x32a33f(0x1e9)+_0x4c84ac['Field']+':\x20[\x0a',_0x498425+=_0x32a33f(0x1de)+_0x4c84ac['Comment']+_0x32a33f(0x1b0)+_0x3a9f14[_0x32a33f(0x1d3)](_0x32a33f(0x1d0))+'\x27]\x20},\x0a',_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)&&(_0x498425+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4c84ac[_0x32a33f(0x1b4)]+_0x32a33f(0x1d4)+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?'false':_0x32a33f(0x1ab))+_0x32a33f(0x1c6)),_0x498425+=_0x32a33f(0x1ca);}else[_0x32a33f(0x1e2),'datetime',_0x32a33f(0x1ee)]['indexOf'](_0x1e4c94)>-0x1?(_0x498425+=_0x32a33f(0x1c2)+_0x4c84ac[_0x32a33f(0x1b4)]+'\x0a',_0x498425+='\x20\x20\x20\x20'+_0x4c84ac[_0x32a33f(0x1ec)]+_0x32a33f(0x1c8),_0x498425+=_0x32a33f(0x1de)+_0x4c84ac[_0x32a33f(0x1b4)]+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x4c84ac['Null']!='YES'&&(_0x498425+=_0x32a33f(0x1d1)+_0x4c84ac[_0x32a33f(0x1b4)]+_0x32a33f(0x1d4)+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?_0x32a33f(0x1e5):'true')+_0x32a33f(0x1c6)),_0x498425+=_0x32a33f(0x1ca)):(_0x498425+=_0x32a33f(0x1c2)+_0x4c84ac[_0x32a33f(0x1b4)]+'\x0a',_0x498425+=_0x32a33f(0x1e9)+_0x4c84ac[_0x32a33f(0x1ec)]+_0x32a33f(0x1c8),_0x498425+=_0x32a33f(0x1de)+_0x4c84ac[_0x32a33f(0x1b4)]+_0x32a33f(0x1da),_0x4c84ac['Null']!='YES'&&(_0x498425+=_0x32a33f(0x1d1)+_0x4c84ac[_0x32a33f(0x1b4)]+'不能为空`,\x20required:\x20'+(_0x4c84ac[_0x32a33f(0x1d5)]!=_0x32a33f(0x1b1)?_0x32a33f(0x1e5):_0x32a33f(0x1ab))+_0x32a33f(0x1c6)),_0x498425+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x5b012+='\x0a',_0x5b012+=_0x32a33f(0x1e1),_0x5b012+=_0x32a33f(0x1ba)+_0x4d106c+'\x0a',_0x5b012+=_0x32a33f(0x1dd),_0x5b012+=_0x32a33f(0x1f2),_0x5b012+=_0x32a33f(0x1f1)+_0x45f3ca+_0x32a33f(0x1bf),_0x5b012+=_0x32a33f(0x1dc),_0x5b012+=_0x32a33f(0x1e7),_0x5b012=_0x5b012[_0x32a33f(0x1f7)]('%RuleColumn%',_0x498425),fs['writeFileSync'](_0x1a366d,_0x5b012,_0x32a33f(0x1b3));}}async function updateRule(_0x17c04a,{tablestartUpShort:_0x30964a,Comment:_0x114634,Fields:_0xd1f016}){const _0x380f04=a15_0x5a6e0a,_0x3baf67=_0x17c04a+'/edit.js';if(!fs[_0x380f04(0x1d6)](_0x3baf67)){let _0x1f1f12='',_0xc8078a='';for(let _0x1c89de in _0xd1f016){let _0x430549=_0xd1f016[_0x1c89de],_0x2cee4b=(0x0,helper_1[_0x380f04(0x1bc)])(_0x430549['Type']);if(_0x430549[_0x380f04(0x1ec)]==_0x380f04(0x1d9)||_0x430549[_0x380f04(0x1ec)]=='created_at'||_0x430549[_0x380f04(0x1ec)]==_0x380f04(0x1c3)||_0x430549[_0x380f04(0x1ec)]=='deleted_at')continue;if([_0x380f04(0x1be),'longtext',_0x380f04(0x1ed)][_0x380f04(0x1b7)](_0x2cee4b)!=-0x1)_0x1f1f12+=_0x380f04(0x1c2)+_0x430549[_0x380f04(0x1b4)]+'\x0a',_0x1f1f12+=_0x380f04(0x1e9)+_0x430549[_0x380f04(0x1ec)]+':\x20[\x0a',_0x430549['Null']!=_0x380f04(0x1b1)&&(_0x1f1f12+=_0x380f04(0x1d1)+_0x430549['Comment']+_0x380f04(0x1d4)+(_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)?_0x380f04(0x1e5):'true')+_0x380f04(0x1c6)),_0x1f1f12+=_0x380f04(0x1ca);else{if(['float',_0x380f04(0x1b6),_0x380f04(0x1c9),_0x380f04(0x1c1)][_0x380f04(0x1b7)](_0x2cee4b)!=-0x1)_0x1f1f12+='\x20\x20\x20\x20//\x20'+_0x430549['Comment']+'\x0a',_0x1f1f12+=_0x380f04(0x1e9)+_0x430549[_0x380f04(0x1ec)]+_0x380f04(0x1c8),_0x1f1f12+=_0x380f04(0x1de)+_0x430549['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x430549['Null']!=_0x380f04(0x1b1)&&(_0x1f1f12+=_0x380f04(0x1d1)+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1d4)+(_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)?_0x380f04(0x1e5):'true')+_0x380f04(0x1c6)),_0x1f1f12+=_0x380f04(0x1ca);else{if([_0x380f04(0x1b9)]['indexOf'](_0x2cee4b)!=-0x1)_0x1f1f12+='\x20\x20\x20\x20//\x20'+_0x430549[_0x380f04(0x1b4)]+'\x0a',_0x1f1f12+=_0x380f04(0x1e9)+_0x430549['Field']+_0x380f04(0x1c8),_0x1f1f12+=_0x380f04(0x1de)+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1db),_0x430549['Null']!=_0x380f04(0x1b1)&&(_0x1f1f12+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1d4)+(_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)?_0x380f04(0x1e5):_0x380f04(0x1ab))+_0x380f04(0x1c6)),_0x1f1f12+=_0x380f04(0x1ca);else{if(_0x2cee4b==_0x380f04(0x1d2))_0x1f1f12+=_0x380f04(0x1c2)+_0x430549[_0x380f04(0x1b4)]+'\x0a',_0x1f1f12+='\x20\x20\x20\x20'+_0x430549[_0x380f04(0x1ec)]+_0x380f04(0x1c8),_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)&&(_0x1f1f12+=_0x380f04(0x1d1)+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1d4)+(_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)?_0x380f04(0x1e5):_0x380f04(0x1ab))+'\x20},\x0a'),_0x1f1f12+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x2cee4b=='enum'){let _0x373eeb=(0x0,helper_1[_0x380f04(0x1d8)])(_0x430549[_0x380f04(0x1c4)]);_0x1f1f12+=_0x380f04(0x1c2)+_0x430549[_0x380f04(0x1b4)]+'\x0a',_0x1f1f12+='\x20\x20\x20\x20'+_0x430549[_0x380f04(0x1ec)]+_0x380f04(0x1c8),_0x1f1f12+=_0x380f04(0x1de)+_0x430549['Comment']+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x373eeb[_0x380f04(0x1d3)](_0x380f04(0x1d0))+_0x380f04(0x1f8),_0x430549[_0x380f04(0x1d5)]!='YES'&&(_0x1f1f12+=_0x380f04(0x1d1)+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1d4)+(_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)?'false':_0x380f04(0x1ab))+_0x380f04(0x1c6)),_0x1f1f12+=_0x380f04(0x1ca);}else['date',_0x380f04(0x1ac),'timestamp']['indexOf'](_0x2cee4b)>-0x1?(_0x1f1f12+=_0x380f04(0x1c2)+_0x430549[_0x380f04(0x1b4)]+'\x0a',_0x1f1f12+='\x20\x20\x20\x20'+_0x430549['Field']+_0x380f04(0x1c8),_0x1f1f12+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x430549[_0x380f04(0x1b4)]+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x430549['Null']!=_0x380f04(0x1b1)&&(_0x1f1f12+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1d4)+(_0x430549[_0x380f04(0x1d5)]!=_0x380f04(0x1b1)?_0x380f04(0x1e5):'true')+_0x380f04(0x1c6)),_0x1f1f12+=_0x380f04(0x1ca)):(_0x1f1f12+=_0x380f04(0x1c2)+_0x430549['Comment']+'\x0a',_0x1f1f12+=_0x380f04(0x1e9)+_0x430549['Field']+_0x380f04(0x1c8),_0x1f1f12+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x430549['Comment']+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x430549['Null']!=_0x380f04(0x1b1)&&(_0x1f1f12+=_0x380f04(0x1d1)+_0x430549[_0x380f04(0x1b4)]+_0x380f04(0x1d4)+(_0x430549['Null']!=_0x380f04(0x1b1)?_0x380f04(0x1e5):_0x380f04(0x1ab))+_0x380f04(0x1c6)),_0x1f1f12+=_0x380f04(0x1ca));}}}}}_0xc8078a+='\x0a',_0xc8078a+='/**\x0a',_0xc8078a+='\x20*\x20'+_0x114634+'\x0a',_0xc8078a+=_0x380f04(0x1f0),_0xc8078a+=_0x380f04(0x1f2),_0xc8078a+=_0x380f04(0x1f1)+_0x30964a+_0x380f04(0x1ce),_0xc8078a+=_0x380f04(0x1dc),_0xc8078a+=_0x380f04(0x1e7),_0xc8078a=_0xc8078a[_0x380f04(0x1f7)](_0x380f04(0x1dc),_0x1f1f12),fs[_0x380f04(0x1df)](_0x3baf67,_0xc8078a,_0x380f04(0x1b3));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x197f3f=a16_0x13b7;(function(_0x28f23a,_0x4aa16a){const _0x2efd63=a16_0x13b7,_0xdb4727=_0x28f23a();while(!![]){try{const _0x3c5cf=-parseInt(_0x2efd63(0x11f))/0x1*(parseInt(_0x2efd63(0x126))/0x2)+parseInt(_0x2efd63(0x136))/0x3+parseInt(_0x2efd63(0x13b))/0x4+-parseInt(_0x2efd63(0x113))/0x5*(parseInt(_0x2efd63(0x112))/0x6)+-parseInt(_0x2efd63(0x12f))/0x7*(parseInt(_0x2efd63(0x132))/0x8)+-parseInt(_0x2efd63(0x139))/0x9+parseInt(_0x2efd63(0x11a))/0xa;if(_0x3c5cf===_0x4aa16a)break;else _0xdb4727['push'](_0xdb4727['shift']());}catch(_0x54b130){_0xdb4727['push'](_0xdb4727['shift']());}}}(a16_0x1511,0x38d68));const a16_0x3f49d7=(function(){let _0x4372d1=!![];return function(_0x6844b3,_0x168dc7){const _0x3f176b=_0x4372d1?function(){const _0x5ea2d5=a16_0x13b7;if(_0x168dc7){const _0x3495b6=_0x168dc7[_0x5ea2d5(0x124)](_0x6844b3,arguments);return _0x168dc7=null,_0x3495b6;}}:function(){};return _0x4372d1=![],_0x3f176b;};}()),a16_0x2541aa=a16_0x3f49d7(this,function(){const _0x25901a=a16_0x13b7;return a16_0x2541aa['toString']()[_0x25901a(0x128)](_0x25901a(0x121))[_0x25901a(0x137)]()[_0x25901a(0x140)](a16_0x2541aa)[_0x25901a(0x128)](_0x25901a(0x121));});function a16_0x1511(){const _0x33888e=['232AiGJpP','@详情\x0a','\x20\x20\x20\x20return\x20request(`POST`,\x20`','utf-8','2154BnUxbh','toString','/apis/apps/','3263751bJSdWg',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','518972xdZnXZ','dirname','number','@修改\x0a','/add`,\x20params)\x0a','constructor','getProp','\x20\x20\x20\x20return\x20request(`GET`,\x20`','Edit(','}`)\x0a','/edit/${','Detail(','104316agOwlh','95ZIWqRO','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','../helper','defineProperty','path','../','11430180gNyZDc','}\x0a\x0a','cwd','/apis/','default','3969Xahzps','@列表\x0a','(((.+)+)+)+$','/vue','text','apply','//\x20','6pyGCRB','request\x27;\x0a\x0a','search','string','Type','__esModule','Field','export\x20function\x20','/list`,\x20params)\x0a','81053SBcGGO','indexOf','/detail/${'];a16_0x1511=function(){return _0x33888e;};return a16_0x1511();}a16_0x2541aa();'use strict';Object[a16_0x197f3f(0x117)](exports,a16_0x197f3f(0x12b),{'value':!![]}),exports[a16_0x197f3f(0x11e)]=default_1;function a16_0x13b7(_0xa41de,_0x1905c3){const _0x3b8b84=a16_0x1511();return a16_0x13b7=function(_0x2541aa,_0x3f49d7){_0x2541aa=_0x2541aa-0x10e;let _0x151158=_0x3b8b84[_0x2541aa];return _0x151158;},a16_0x13b7(_0xa41de,_0x1905c3);}const fs=require('fs'),path_1=require(a16_0x197f3f(0x118)),helper_1=require(a16_0x197f3f(0x116));async function default_1({tablestartUpShort:_0x3a6874,tablestartUpShort2:_0x3240c7,moduleName:_0x2f3cd0,controller:_0x51e382,Comment:_0x4bdcfe,apporbasic:_0x44492a,Primary:_0x2d8d15}){const _0x120d27=a16_0x197f3f;let _0x294ee5=process[_0x120d27(0x11c)]()+_0x120d27(0x122)+(typeof _0x51e382==_0x120d27(0x129)?'/'+_0x51e382:'');_0x2f3cd0?_0x294ee5=_0x294ee5+(_0x120d27(0x138)+_0x2f3cd0+'/'+_0x3a6874+'.ts'):_0x294ee5=_0x294ee5+(_0x120d27(0x11d)+_0x44492a+'/'+_0x3a6874+'.ts');if(!fs['existsSync'](_0x294ee5)){const _0x5abc59=[_0x120d27(0x123),'mediumtext',_0x120d27(0x129)][_0x120d27(0x130)]((0x0,helper_1[_0x120d27(0x141)])(_0x2d8d15[_0x120d27(0x12a)]))==-0x1,_0x3bb23d=''+(typeof _0x51e382==_0x120d27(0x129)?_0x51e382+'/':'')+(_0x2f3cd0?_0x2f3cd0+'/':'')+_0x3240c7;let _0x4064e9='import\x20{\x20request\x20}\x20from\x20\x27'+(_0x2f3cd0?'../../':_0x120d27(0x119))+_0x120d27(0x127);_0x4064e9+=_0x120d27(0x125)+_0x4bdcfe+_0x120d27(0x133),_0x4064e9+=_0x120d27(0x12d)+_0x3a6874+_0x120d27(0x111)+_0x2d8d15[_0x120d27(0x12c)]+':\x20'+(_0x5abc59?_0x120d27(0x13d):'string')+')\x20{\x0a',_0x4064e9+=_0x120d27(0x142)+_0x3bb23d+_0x120d27(0x131)+_0x2d8d15[_0x120d27(0x12c)]+_0x120d27(0x10f),_0x4064e9+='}\x0a\x0a',_0x4064e9+='//\x20'+_0x4bdcfe+'@添加\x0a',_0x4064e9+=_0x120d27(0x12d)+_0x3a6874+'Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x4064e9+=_0x120d27(0x134)+_0x3bb23d+_0x120d27(0x13f),_0x4064e9+=_0x120d27(0x11b),_0x4064e9+=_0x120d27(0x125)+_0x4bdcfe+_0x120d27(0x13e),_0x4064e9+='export\x20function\x20'+_0x3a6874+_0x120d27(0x10e)+_0x2d8d15[_0x120d27(0x12c)]+':\x20'+(_0x5abc59?'number':'string')+_0x120d27(0x13a),_0x4064e9+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x3bb23d+_0x120d27(0x110)+_0x2d8d15['Field']+'}`,\x20params)\x0a',_0x4064e9+='}\x0a\x0a',_0x4064e9+=_0x120d27(0x125)+_0x4bdcfe+_0x120d27(0x120),_0x4064e9+=_0x120d27(0x12d)+_0x3a6874+_0x120d27(0x115),_0x4064e9+=_0x120d27(0x142)+_0x3bb23d+_0x120d27(0x12e),_0x4064e9+=_0x120d27(0x11b),_0x4064e9+=_0x120d27(0x125)+_0x4bdcfe+'@删除\x0a',_0x4064e9+=_0x120d27(0x12d)+_0x3a6874+_0x120d27(0x114),_0x4064e9+=_0x120d27(0x134)+_0x3bb23d+'/remove`,\x20params)\x0a',_0x4064e9+=_0x120d27(0x11b),fs['mkdirSync']((0x0,path_1[_0x120d27(0x13c)])(_0x294ee5),{'recursive':!![]}),fs['writeFileSync'](_0x294ee5,_0x4064e9,_0x120d27(0x135));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x163a0c=a17_0xbe69;(function(_0x14b6a5,_0x163367){const _0x4e5c12=a17_0xbe69,_0x15f398=_0x14b6a5();while(!![]){try{const _0x1c4123=parseInt(_0x4e5c12(0x141))/0x1+parseInt(_0x4e5c12(0x161))/0x2+parseInt(_0x4e5c12(0x159))/0x3*(-parseInt(_0x4e5c12(0x143))/0x4)+-parseInt(_0x4e5c12(0x15f))/0x5*(-parseInt(_0x4e5c12(0x148))/0x6)+parseInt(_0x4e5c12(0x136))/0x7*(-parseInt(_0x4e5c12(0x14e))/0x8)+-parseInt(_0x4e5c12(0x13c))/0x9*(parseInt(_0x4e5c12(0x15e))/0xa)+parseInt(_0x4e5c12(0x15a))/0xb;if(_0x1c4123===_0x163367)break;else _0x15f398['push'](_0x15f398['shift']());}catch(_0x107e69){_0x15f398['push'](_0x15f398['shift']());}}}(a17_0x54aa,0x6c9d3));const a17_0x14a9d3=(function(){let _0x18e965=!![];return function(_0x2c2a11,_0x6c84fb){const _0x526217=_0x18e965?function(){const _0x241c1c=a17_0xbe69;if(_0x6c84fb){const _0x4ffa5d=_0x6c84fb[_0x241c1c(0x149)](_0x2c2a11,arguments);return _0x6c84fb=null,_0x4ffa5d;}}:function(){};return _0x18e965=![],_0x526217;};}()),a17_0x5dadf0=a17_0x14a9d3(this,function(){const _0x5f0184=a17_0xbe69;return a17_0x5dadf0[_0x5f0184(0x139)]()[_0x5f0184(0x15d)](_0x5f0184(0x145))['toString']()[_0x5f0184(0x14d)](a17_0x5dadf0)['search'](_0x5f0184(0x145));});function a17_0x54aa(){const _0x4c4fb7=['utf-8','padEnd','2947JGfRaI','\x20\x20\x20\x20</page-layout>\x0a','indexOf','toString','</script>\x0a\x0a','mkdirSync','639VaQQtP','replace','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','{title:\x20\x22','/vue','755966PgObcW','<template>\x0a','28ncPhdE','/layout.vue','(((.+)+)+)+$','<script\x20lang=\x22ts\x22\x20setup>\x0a','dirname','18eYcuuX','apply','/list\x22','//\x20add\x20menu\x20here','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','constructor','1168gDoqOG','/pages/apps/','readFileSync','\x20\x20\x20\x20])\x0a','writeFileSync','defineProperty','/pages/','/apps-','__esModule',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','default','331437onUBar','2627108SHNKDJ','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','search','18920zvfcWu','419185DqrxEv','cwd','335458mOQQcc'];a17_0x54aa=function(){return _0x4c4fb7;};return a17_0x54aa();}a17_0x5dadf0();'use strict';Object[a17_0x163a0c(0x153)](exports,a17_0x163a0c(0x156),{'value':!![]}),exports[a17_0x163a0c(0x158)]=default_1;const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x9fa452,controller:_0x392c4d,moduleName:_0x19ea2a,Comment:_0x40d4f1,apporbasic:_0x172660}){const _0x364470=a17_0x163a0c;let _0x2a274b=process[_0x364470(0x160)]()+_0x364470(0x140)+(typeof _0x392c4d=='string'?'/'+_0x392c4d:'');_0x19ea2a?_0x2a274b=_0x2a274b+(_0x364470(0x14f)+_0x19ea2a+_0x364470(0x144)):_0x2a274b=_0x2a274b+(_0x364470(0x154)+_0x172660+'/layout.vue');await createLayout(_0x2a274b,{'moduleName':_0x19ea2a});const _0xb8229e=fs[_0x364470(0x150)](_0x2a274b,_0x364470(0x162)),_0x148b83=_0x364470(0x13f)+(_0x40d4f1+'\x22')['padEnd'](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x19ea2a=='string'?_0x364470(0x155)+_0x19ea2a+'/':'/'+_0x172660+'/')+_0x9fa452+_0x364470(0x14a))[_0x364470(0x163)](0x14)+'}';_0xb8229e[_0x364470(0x138)](_0x148b83)==-0x1&&fs[_0x364470(0x152)](_0x2a274b,_0xb8229e[_0x364470(0x13d)](_0x364470(0x14b),_0x148b83+_0x364470(0x157)));}function a17_0xbe69(_0x4c5982,_0xf14fde){const _0x4db278=a17_0x54aa();return a17_0xbe69=function(_0x5dadf0,_0x14a9d3){_0x5dadf0=_0x5dadf0-0x136;let _0x54aa5c=_0x4db278[_0x5dadf0];return _0x54aa5c;},a17_0xbe69(_0x4c5982,_0xf14fde);}async function createLayout(_0x1c3c1c,{moduleName:_0xabac88}){const _0x211ee1=a17_0x163a0c;if(!fs['existsSync'](_0x1c3c1c)){let _0x574118=_0x211ee1(0x142);_0x574118+=_0x211ee1(0x13e)+_0xabac88+_0x211ee1(0x14c),_0x574118+=_0x211ee1(0x137),_0x574118+='</template>\x0a\x0a',_0x574118+=_0x211ee1(0x146),_0x574118+=_0x211ee1(0x15c),_0x574118+=_0x211ee1(0x15b),_0x574118+=_0x211ee1(0x151),_0x574118+=_0x211ee1(0x13a),fs[_0x211ee1(0x13b)]((0x0,path_1[_0x211ee1(0x147)])(_0x1c3c1c),{'recursive':!![]}),fs[_0x211ee1(0x152)](_0x1c3c1c,_0x574118,_0x211ee1(0x162));}}
|