anncic-apihelper 3.2.9 → 3.2.11
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.d.ts +9 -0
- package/dist/templateVueV2/Api.js +1 -0
- package/dist/templateVueV2/Layout.d.ts +7 -0
- package/dist/templateVueV2/Layout.js +1 -0
- package/dist/templateVueV2/LayoutVue.d.ts +10 -0
- package/dist/templateVueV2/LayoutVue.js +1 -0
- package/dist/templateVueV2/Router.d.ts +8 -0
- package/dist/templateVueV2/Router.js +1 -0
- package/dist/templateVueV2/Validator.d.ts +8 -0
- package/dist/templateVueV2/Validator.js +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10_0x449217=a10_0x5b9c;(function(_0x453049,_0x587c6a){const _0x3bad1e=a10_0x5b9c,_0x38b687=_0x453049();while(!![]){try{const _0x4ce120=parseInt(_0x3bad1e(0x111))/0x1*(parseInt(_0x3bad1e(0x108))/0x2)+parseInt(_0x3bad1e(0x127))/0x3+parseInt(_0x3bad1e(0xe7))/0x4*(parseInt(_0x3bad1e(0xd8))/0x5)+-parseInt(_0x3bad1e(0xf3))/0x6+-parseInt(_0x3bad1e(0xd9))/0x7+-parseInt(_0x3bad1e(0xda))/0x8*(-parseInt(_0x3bad1e(0x122))/0x9)+-parseInt(_0x3bad1e(0x10b))/0xa*(parseInt(_0x3bad1e(0xe0))/0xb);if(_0x4ce120===_0x587c6a)break;else _0x38b687['push'](_0x38b687['shift']());}catch(_0x323fde){_0x38b687['push'](_0x38b687['shift']());}}}(a10_0x26ae,0xb2fba));const a10_0x8b7c2=(function(){let _0x12ed2d=!![];return function(_0x4696e8,_0x62fcc8){const _0x5609e6=_0x12ed2d?function(){if(_0x62fcc8){const _0x1ead5a=_0x62fcc8['apply'](_0x4696e8,arguments);return _0x62fcc8=null,_0x1ead5a;}}:function(){};return _0x12ed2d=![],_0x5609e6;};}()),a10_0x232489=a10_0x8b7c2(this,function(){const _0x263e62=a10_0x5b9c;return a10_0x232489['toString']()['search'](_0x263e62(0x120))['toString']()[_0x263e62(0x132)](a10_0x232489)['search'](_0x263e62(0x120));});function a10_0x5b9c(_0x51b29c,_0x182ec4){const _0x2e44d6=a10_0x26ae();return a10_0x5b9c=function(_0x232489,_0x8b7c2){_0x232489=_0x232489-0xcf;let _0x26ae04=_0x2e44d6[_0x232489];return _0x26ae04;},a10_0x5b9c(_0x51b29c,_0x182ec4);}function a10_0x26ae(){const _0x48382b=['\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','1685922lSIzxw','created_at','../helper','_start?:\x20string;\x0a\x0a','?:\x20number;\x0a\x0a','Field','DTOSearch\x20extends\x20OmitDto(','substring','?:\x20\x27','Null','\x27\x20|\x20\x27','constructor','\x27;\x0a\x0a','.required()','\x27,\x20\x27','\x27,\x20RuleType.number())\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','YES','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','\x20*\x20数据更新验证\x0a','/Update.ts','\x20\x20\x20\x20','float',':\x20string;\x0a\x0a','/enums/','\x20*\x20**/\x0a','\x27))\x0a','boolean','import\x20{\x20','_end?:\x20string;\x0a\x0a','longtext','20htAlFE','1441076PZrDeq','1570040Utjfcm','/validators/','decimal','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','datetime','/Search.ts','594fPZdif','mediumtext','\x20*\x20','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','toUpperCase','/**\x0a','tinyint','228184RXiGhs','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','date','@/apps/','Type','writeFileSync','double','/Create.ts','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','%DtoColumn%','DTOUpdate\x20{\x0a\x0a','text','4608240xLqwza','getProp','Enum,\x20\x27','string','enum','\x27,\x20RuleType.string())\x0a','indexOf','\x20*\x20数据添加验证\x0a','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','updated_at','\x27,\x20RuleType.any())\x0a','\x27)))\x0a','DTOCreate\x20{\x0a\x0a','existsSync','timestamp','mkdirSync','_between?:\x20string[];\x0a\x0a','deleted_at','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','json','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','431686UiChst','displayorder','export\x20class\x20','215410qnHzLi','Enum\x20}\x20from\x20\x27','\x27;\x0a',':\x20number;\x0a\x0a','?:\x20string;\x0a\x0a','replace','6cVwvyr','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','toLowerCase','join','\x27,\x20RuleType.string().valid(\x27','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','Comment',':\x20\x27','\x20\x20\x20\x20@Rule(\x27','getEnum','utf-8','number','(((.+)+)+)+$','}\x0a\x0a','36sTXOvr','\x27,\x20RuleType.number()','\x27,\x20RuleType.string()','DTOCreate\x20extends\x20OmitDto('];a10_0x26ae=function(){return _0x48382b;};return a10_0x26ae();}a10_0x232489();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),helper_1=require(a10_0x449217(0x129));async function default_1({controllers:_0x75b5d3,tablestartUp:_0x361ba4,tablestartUpShort:_0x4fe68f,basedir:_0x2fd1de,Primary:_0x32cf3c,Fields:_0x136fbf,Comment:_0x35529a,moduleName:_0x5f0da6,apporbasic:_0x10b9d0}){const _0xed949b=a10_0x449217,_0x519cfb=_0x2fd1de+(_0xed949b(0xdb)+_0x4fe68f);!fs[_0xed949b(0x100)](_0x519cfb)&&fs[_0xed949b(0x102)](_0x519cfb,{'recursive':!![]}),await DTOCreate({'controllers':_0x75b5d3,'tablestartUp':_0x361ba4,'tablestartUpShort':_0x4fe68f,'basedir':_0x2fd1de,'Fields':_0x136fbf,'Comment':_0x35529a,'moduleName':_0x5f0da6,'apporbasic':_0x10b9d0}),await DTOUpdate({'controllers':_0x75b5d3,'tablestartUp':_0x361ba4,'tablestartUpShort':_0x4fe68f,'basedir':_0x2fd1de,'Fields':_0x136fbf,'Comment':_0x35529a,'moduleName':_0x5f0da6,'apporbasic':_0x10b9d0}),await DTOSearch({'controllers':_0x75b5d3,'tablestartUp':_0x361ba4,'tablestartUpShort':_0x4fe68f,'basedir':_0x2fd1de,'Fields':_0x136fbf,'Primary':_0x32cf3c,'Comment':_0x35529a,'moduleName':_0x5f0da6,'apporbasic':_0x10b9d0});}exports['default']=default_1;async function DTOCreate({controllers:_0x3dd873,tablestartUp:_0x5f397b,tablestartUpShort:_0x20923e,basedir:_0x23c17b,Fields:_0x453d2f,Comment:_0x155a61,moduleName:_0x512619,apporbasic:_0x31771b}){const _0x59a149=a10_0x449217,_0x523ed7=_0x23c17b+('/validators/'+_0x20923e+_0x59a149(0xee));if(!fs[_0x59a149(0x100)](_0x523ed7)){let _0x5b0514='',_0x2109ba='',_0x4cfe86=![];for(let _0x22b374 in _0x453d2f){let _0x46e498=_0x453d2f[_0x22b374],_0x17ac92=(0x0,helper_1[_0x59a149(0xf4)])(_0x46e498[_0x59a149(0xeb)]);if(_0x46e498[_0x59a149(0x12c)]=='displayorder'||_0x46e498[_0x59a149(0x12c)]==_0x59a149(0x128)||_0x46e498[_0x59a149(0x12c)]=='updated_at'||_0x46e498[_0x59a149(0x12c)]==_0x59a149(0x104))continue;if([_0x59a149(0xf2),_0x59a149(0xd7),_0x59a149(0xe1)]['indexOf'](_0x17ac92)!=-0x1)_0x5b0514+=_0x59a149(0x11c)+_0x46e498[_0x59a149(0x11a)]+_0x59a149(0xf8),_0x5b0514+=_0x59a149(0x13c)+_0x46e498[_0x59a149(0x12c)]+_0x59a149(0x10f);else{if(['float',_0x59a149(0xed),_0x59a149(0xdc),_0x59a149(0x11f)][_0x59a149(0xf9)](_0x17ac92)!=-0x1)_0x5b0514+='\x20\x20\x20\x20@Rule(\x27'+_0x46e498['Comment']+_0x59a149(0x123)+(_0x46e498['Null']!=_0x59a149(0x138)?_0x59a149(0x134):'')+')\x0a',_0x5b0514+='\x20\x20\x20\x20'+_0x46e498[_0x59a149(0x12c)]+(_0x46e498[_0x59a149(0x130)]!=_0x59a149(0x138)?'?':'')+_0x59a149(0x10e);else{if([_0x59a149(0xe6)][_0x59a149(0xf9)](_0x17ac92)!=-0x1)_0x4cfe86=!![],_0x5b0514+=_0x59a149(0x11c)+_0x46e498['Comment']+_0x59a149(0x105)+_0x5f397b+'Enum,\x20\x27'+_0x46e498[_0x59a149(0x12c)]+'\x27))'+(_0x46e498[_0x59a149(0x130)]!=_0x59a149(0x138)?'.required()':'')+')\x0a',_0x5b0514+=_0x59a149(0x13c)+_0x46e498[_0x59a149(0x12c)]+(_0x46e498[_0x59a149(0x130)]!=_0x59a149(0x138)?'?':'')+_0x59a149(0x10e);else{if(_0x17ac92==_0x59a149(0x106))_0x5b0514+=_0x59a149(0x11c)+_0x46e498['Comment']+_0x59a149(0xfd),_0x5b0514+=_0x59a149(0x13c)+_0x46e498[_0x59a149(0x12c)]+(_0x46e498[_0x59a149(0x130)]!='YES'?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x17ac92==_0x59a149(0xf7)){let _0x164a05=(0x0,helper_1[_0x59a149(0x11d)])(_0x46e498[_0x59a149(0xeb)]);_0x5b0514+=_0x59a149(0x11c)+_0x46e498[_0x59a149(0x11a)]+_0x59a149(0x118)+_0x164a05[_0x59a149(0x117)]('\x27,\x20\x27')+'\x27)'+(_0x46e498[_0x59a149(0x130)]!=_0x59a149(0x138)?'.required()':'')+')\x0a',_0x5b0514+=_0x59a149(0x13c)+_0x46e498[_0x59a149(0x12c)]+(_0x46e498[_0x59a149(0x130)]!=_0x59a149(0x138)?'?':'')+_0x59a149(0x11b)+_0x164a05[_0x59a149(0x117)](_0x59a149(0x131))+_0x59a149(0x133);}else['date','datetime',_0x59a149(0x101)][_0x59a149(0xf9)](_0x17ac92)>-0x1?(_0x5b0514+=_0x59a149(0x11c)+_0x46e498[_0x59a149(0x11a)]+'\x27,\x20RuleType.date()'+(_0x46e498['Null']!=_0x59a149(0x138)?'.required()':'')+')\x0a',_0x5b0514+='\x20\x20\x20\x20'+_0x46e498[_0x59a149(0x12c)]+(_0x46e498['Null']!=_0x59a149(0x138)?'?':'')+_0x59a149(0xd0)):(_0x5b0514+=_0x59a149(0x11c)+_0x46e498[_0x59a149(0x11a)]+_0x59a149(0x124)+(_0x46e498['Null']!=_0x59a149(0x138)?_0x59a149(0x134):'')+')\x0a',_0x5b0514+=_0x59a149(0x13c)+_0x46e498[_0x59a149(0x12c)]+(_0x46e498['Null']!=_0x59a149(0x138)?'?':'')+_0x59a149(0xd0));}}}}}_0x5b0514+=_0x59a149(0xe8),_0x5b0514+=_0x59a149(0x126);(_0x3dd873===null||_0x3dd873===void 0x0?void 0x0:_0x3dd873['find'](_0x1881d6=>typeof _0x1881d6!=_0x59a149(0xd4)))?_0x2109ba+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x2109ba+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x4cfe86&&(_0x2109ba+=_0x59a149(0xd5)+_0x5f397b+_0x59a149(0x10c)+(typeof _0x512619==_0x59a149(0xf6)?_0x59a149(0xea)+_0x512619:'@/'+_0x31771b)+'/enums/'+_0x20923e+_0x59a149(0x10d));_0x2109ba+='\x0a',_0x2109ba+=_0x59a149(0xe5),_0x2109ba+='\x20*\x20'+_0x155a61+'\x0a',_0x2109ba+=_0x59a149(0xfa),_0x2109ba+=_0x59a149(0xd2),_0x2109ba+='export\x20class\x20'+_0x5f397b+_0x59a149(0xff),_0x2109ba+='%DtoColumn%',_0x2109ba+=_0x59a149(0x121);for(const _0x35697d of _0x3dd873){typeof _0x35697d==_0x59a149(0xf6)&&(_0x2109ba+=_0x59a149(0x10a)+_0x35697d['substring'](0x0,0x1)[_0x59a149(0xe4)]()+_0x35697d['substring'](0x1)[_0x59a149(0x116)]()+_0x5f397b+_0x59a149(0x125)+_0x5f397b+'DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x2109ba+=_0x59a149(0x121));}_0x2109ba=_0x2109ba[_0x59a149(0x110)](_0x59a149(0xf0),_0x5b0514),fs['writeFileSync'](_0x523ed7,_0x2109ba,_0x59a149(0x11e));}}async function DTOUpdate({controllers:_0x189871,tablestartUp:_0x25c9fa,tablestartUpShort:_0x1e5a08,basedir:_0x31c6a2,Fields:_0xee7745,Comment:_0x861c72,moduleName:_0x3d5159,apporbasic:_0xf2aa40}){const _0x4524a5=a10_0x449217,_0x45022e=_0x31c6a2+(_0x4524a5(0xdb)+_0x1e5a08+_0x4524a5(0x13b));if(!fs['existsSync'](_0x45022e)){let _0x2baab5='',_0x1fc649='',_0x4912fc=![];for(let _0x71647 in _0xee7745){let _0x541c98=_0xee7745[_0x71647],_0x4fbf4b=(0x0,helper_1[_0x4524a5(0xf4)])(_0x541c98[_0x4524a5(0xeb)]);if(_0x541c98[_0x4524a5(0x12c)]==_0x4524a5(0x109)||_0x541c98[_0x4524a5(0x12c)]==_0x4524a5(0x128)||_0x541c98[_0x4524a5(0x12c)]==_0x4524a5(0xfc)||_0x541c98[_0x4524a5(0x12c)]==_0x4524a5(0x104))continue;if(['text',_0x4524a5(0xd7),'mediumtext'][_0x4524a5(0xf9)](_0x4fbf4b)!=-0x1)_0x2baab5+=_0x4524a5(0x11c)+_0x541c98[_0x4524a5(0x11a)]+_0x4524a5(0xf8),_0x2baab5+=_0x4524a5(0x13c)+_0x541c98['Field']+_0x4524a5(0x10f);else{if([_0x4524a5(0xcf),_0x4524a5(0xed),_0x4524a5(0xdc),'number'][_0x4524a5(0xf9)](_0x4fbf4b)!=-0x1)_0x2baab5+=_0x4524a5(0x11c)+_0x541c98[_0x4524a5(0x11a)]+'\x27,\x20RuleType.number())\x0a',_0x2baab5+=_0x4524a5(0x13c)+_0x541c98['Field']+_0x4524a5(0x12b);else{if(['tinyint'][_0x4524a5(0xf9)](_0x4fbf4b)!=-0x1)_0x4912fc=!![],_0x2baab5+=_0x4524a5(0x11c)+_0x541c98[_0x4524a5(0x11a)]+'\x27,\x20RuleType.number().valid(...getAnnEnumArray('+_0x25c9fa+'Enum,\x20\x27'+_0x541c98[_0x4524a5(0x12c)]+_0x4524a5(0xfe),_0x2baab5+=_0x4524a5(0x13c)+_0x541c98[_0x4524a5(0x12c)]+_0x4524a5(0x12b);else{if(_0x4fbf4b==_0x4524a5(0x106))_0x2baab5+=_0x4524a5(0x11c)+_0x541c98[_0x4524a5(0x11a)]+_0x4524a5(0xfd),_0x2baab5+=_0x4524a5(0x13c)+_0x541c98[_0x4524a5(0x12c)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x4fbf4b=='enum'){let _0xd5b45c=(0x0,helper_1[_0x4524a5(0x11d)])(_0x541c98[_0x4524a5(0xeb)]);_0x2baab5+=_0x4524a5(0x11c)+_0x541c98[_0x4524a5(0x11a)]+_0x4524a5(0x118)+_0xd5b45c[_0x4524a5(0x117)](_0x4524a5(0x135))+_0x4524a5(0xd3),_0x2baab5+=_0x4524a5(0x13c)+_0x541c98[_0x4524a5(0x12c)]+_0x4524a5(0x12f)+_0xd5b45c[_0x4524a5(0x117)](_0x4524a5(0x131))+_0x4524a5(0x133);}else[_0x4524a5(0xe9),_0x4524a5(0xde),'timestamp'][_0x4524a5(0xf9)](_0x4fbf4b)>-0x1?(_0x2baab5+=_0x4524a5(0x11c)+_0x541c98['Comment']+'\x27,\x20RuleType.date())\x0a',_0x2baab5+=_0x4524a5(0x13c)+_0x541c98[_0x4524a5(0x12c)]+'?:\x20string;\x0a\x0a'):(_0x2baab5+=_0x4524a5(0x11c)+_0x541c98['Comment']+_0x4524a5(0xf8),_0x2baab5+=_0x4524a5(0x13c)+_0x541c98[_0x4524a5(0x12c)]+'?:\x20string;\x0a\x0a');}}}}}_0x2baab5+=_0x4524a5(0xe8),_0x2baab5+='\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a';(_0x189871===null||_0x189871===void 0x0?void 0x0:_0x189871['find'](_0xcb1648=>typeof _0xcb1648!='boolean'))?_0x1fc649+=_0x4524a5(0x137):_0x1fc649+=_0x4524a5(0x107);_0x4912fc&&(_0x1fc649+=_0x4524a5(0xd5)+_0x25c9fa+_0x4524a5(0x10c)+(typeof _0x3d5159==_0x4524a5(0xf6)?'@/apps/'+_0x3d5159:'@/'+_0xf2aa40)+_0x4524a5(0xd1)+_0x1e5a08+_0x4524a5(0x10d));_0x1fc649+='\x0a',_0x1fc649+=_0x4524a5(0xe5),_0x1fc649+=_0x4524a5(0xe2)+_0x861c72+'\x0a',_0x1fc649+=_0x4524a5(0x13a),_0x1fc649+=_0x4524a5(0xd2),_0x1fc649+='export\x20class\x20'+_0x25c9fa+_0x4524a5(0xf1),_0x1fc649+=_0x4524a5(0xf0),_0x1fc649+=_0x4524a5(0x121);for(const _0x147206 of _0x189871){typeof _0x147206=='string'&&(_0x1fc649+=_0x4524a5(0x10a)+_0x147206['substring'](0x0,0x1)['toUpperCase']()+_0x147206[_0x4524a5(0x12e)](0x1)[_0x4524a5(0x116)]()+_0x25c9fa+'DTOUpdate\x20extends\x20OmitDto('+_0x25c9fa+_0x4524a5(0x115),_0x1fc649+='}\x0a\x0a');}_0x1fc649=_0x1fc649['replace'](_0x4524a5(0xf0),_0x2baab5),fs[_0x4524a5(0xec)](_0x45022e,_0x1fc649,_0x4524a5(0x11e));}}async function DTOSearch({controllers:_0x29a8a7,tablestartUp:_0xb45038,tablestartUpShort:_0x34175b,basedir:_0x3d452b,Fields:_0x2860b7,Primary:_0x1dda53,Comment:_0x15f852,moduleName:_0x16f0c5,apporbasic:_0x1fa52f}){const _0x20e30c=a10_0x449217,_0xe0d074=_0x3d452b+('/validators/'+_0x34175b+_0x20e30c(0xdf));if(!fs[_0x20e30c(0x100)](_0xe0d074)){let _0x168dc0='',_0x576825='',_0x7a70fb=![];for(let _0x3f1e73 of[{[_0x1dda53['Field']]:_0x1dda53},_0x2860b7]){for(let _0x50b2bd in _0x3f1e73){let _0x27cb43=_0x3f1e73[_0x50b2bd],_0x1b6e2e=(0x0,helper_1[_0x20e30c(0xf4)])(_0x27cb43[_0x20e30c(0xeb)]);if(_0x27cb43['Field']==_0x20e30c(0x109)||_0x27cb43[_0x20e30c(0x12c)]==_0x20e30c(0x128)||_0x27cb43[_0x20e30c(0x12c)]==_0x20e30c(0xfc)||_0x27cb43[_0x20e30c(0x12c)]==_0x20e30c(0x104))continue;if([_0x20e30c(0xf2),'longtext',_0x20e30c(0xe1)][_0x20e30c(0xf9)](_0x1b6e2e)!=-0x1){}else{if([_0x20e30c(0xcf),_0x20e30c(0xed),_0x20e30c(0xdc),'number'][_0x20e30c(0xf9)](_0x1b6e2e)!=-0x1)_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43[_0x20e30c(0x11a)]+_0x20e30c(0x136),_0x168dc0+=_0x20e30c(0x13c)+_0x27cb43[_0x20e30c(0x12c)]+'?:\x20number;\x0a\x0a';else{if([_0x20e30c(0xe6)][_0x20e30c(0xf9)](_0x1b6e2e)!=-0x1)_0x7a70fb=!![],_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43[_0x20e30c(0x11a)]+_0x20e30c(0x105)+_0xb45038+_0x20e30c(0xf5)+_0x27cb43[_0x20e30c(0x12c)]+_0x20e30c(0xfe),_0x168dc0+=_0x20e30c(0x13c)+_0x27cb43[_0x20e30c(0x12c)]+_0x20e30c(0x12b);else{if(_0x1b6e2e=='json'){}else{if(_0x1b6e2e==_0x20e30c(0xf7)){let _0x1db408=(0x0,helper_1[_0x20e30c(0x11d)])(_0x27cb43[_0x20e30c(0xeb)]);_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43[_0x20e30c(0x11a)]+_0x20e30c(0x118)+_0x1db408[_0x20e30c(0x117)](_0x20e30c(0x135))+_0x20e30c(0xd3),_0x168dc0+=_0x20e30c(0x13c)+_0x27cb43[_0x20e30c(0x12c)]+'?:\x20\x27'+_0x1db408['join'](_0x20e30c(0x131))+_0x20e30c(0x133);}else[_0x20e30c(0xe9),_0x20e30c(0xde),_0x20e30c(0x101)][_0x20e30c(0xf9)](_0x1b6e2e)>-0x1?(_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43['Comment']+'\x27,\x20RuleType.string())\x0a',_0x168dc0+=_0x20e30c(0x13c)+_0x27cb43[_0x20e30c(0x12c)]+_0x20e30c(0x10f),_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43[_0x20e30c(0x11a)]+_0x20e30c(0xfb),_0x168dc0+=_0x20e30c(0x13c)+_0x27cb43[_0x20e30c(0x12c)]+_0x20e30c(0x103),_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43[_0x20e30c(0x11a)]+_0x20e30c(0xef),_0x168dc0+='\x20\x20\x20\x20'+_0x27cb43[_0x20e30c(0x12c)]+_0x20e30c(0x12a),_0x168dc0+=_0x20e30c(0x11c)+_0x27cb43[_0x20e30c(0x11a)]+'\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x168dc0+='\x20\x20\x20\x20'+_0x27cb43['Field']+_0x20e30c(0xd6)):(_0x168dc0+='\x20\x20\x20\x20@Rule(\x27'+_0x27cb43['Comment']+_0x20e30c(0xf8),_0x168dc0+=_0x20e30c(0x13c)+_0x27cb43[_0x20e30c(0x12c)]+'?:\x20string;\x0a\x0a');}}}}}}_0x168dc0+=_0x20e30c(0xe8),_0x168dc0+=_0x20e30c(0x126),_0x168dc0+=_0x20e30c(0x114),_0x168dc0+=_0x20e30c(0x112),_0x168dc0+=_0x20e30c(0xe3),_0x168dc0+=_0x20e30c(0x119),_0x168dc0+='\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x168dc0+='\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a',_0x168dc0+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x168dc0+='\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a',_0x168dc0+=_0x20e30c(0x139),_0x168dc0+='\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a',_0x168dc0+=_0x20e30c(0xdd),_0x168dc0+='\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a';(_0x29a8a7===null||_0x29a8a7===void 0x0?void 0x0:_0x29a8a7['find'](_0x15bb94=>typeof _0x15bb94!=_0x20e30c(0xd4)))?_0x576825+='import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a':_0x576825+=_0x20e30c(0x107);_0x7a70fb&&(_0x576825+='import\x20{\x20'+_0xb45038+_0x20e30c(0x10c)+(typeof _0x16f0c5=='string'?_0x20e30c(0xea)+_0x16f0c5:'@/'+_0x1fa52f)+_0x20e30c(0xd1)+_0x34175b+_0x20e30c(0x10d));_0x576825+='\x0a',_0x576825+=_0x20e30c(0xe5),_0x576825+='\x20*\x20'+_0x15f852+'\x0a',_0x576825+='\x20*\x20数据检索验证\x0a',_0x576825+=_0x20e30c(0xd2),_0x576825+=_0x20e30c(0x10a)+_0xb45038+'DTOSearch\x20{\x0a\x0a',_0x576825+='%SearchDtoColumn%',_0x576825+=_0x20e30c(0x121);for(const _0x119eb8 of _0x29a8a7){typeof _0x119eb8==_0x20e30c(0xf6)&&(_0x576825+='export\x20class\x20'+_0x119eb8[_0x20e30c(0x12e)](0x0,0x1)[_0x20e30c(0xe4)]()+_0x119eb8[_0x20e30c(0x12e)](0x1)[_0x20e30c(0x116)]()+_0xb45038+_0x20e30c(0x12d)+_0xb45038+_0x20e30c(0x113),_0x576825+='}\x0a\x0a');}_0x576825=_0x576825[_0x20e30c(0x110)]('%SearchDtoColumn%',_0x168dc0),fs[_0x20e30c(0xec)](_0xe0d074,_0x576825,_0x20e30c(0x11e));}}
|
|
1
|
+
const a10_0x364b0f=a10_0x587a;(function(_0x16550e,_0x3a8768){const _0x1b5ceb=a10_0x587a,_0x4c69f2=_0x16550e();while(!![]){try{const _0x155d9c=parseInt(_0x1b5ceb(0xf5))/0x1+-parseInt(_0x1b5ceb(0x12c))/0x2*(parseInt(_0x1b5ceb(0x13d))/0x3)+-parseInt(_0x1b5ceb(0xe5))/0x4+-parseInt(_0x1b5ceb(0xfb))/0x5+-parseInt(_0x1b5ceb(0x114))/0x6+-parseInt(_0x1b5ceb(0xe8))/0x7*(parseInt(_0x1b5ceb(0x102))/0x8)+parseInt(_0x1b5ceb(0x129))/0x9*(parseInt(_0x1b5ceb(0x108))/0xa);if(_0x155d9c===_0x3a8768)break;else _0x4c69f2['push'](_0x4c69f2['shift']());}catch(_0x2233d2){_0x4c69f2['push'](_0x4c69f2['shift']());}}}(a10_0x40ce,0x31429));function a10_0x40ce(){const _0x15fa31=['created_at','\x27,\x20\x27','\x27;\x0a\x0a','/Search.ts','\x27,\x20RuleType.any())\x0a',':\x20number;\x0a\x0a','369AewvIF','../helper','?:\x20\x27','54Lrzmpo','YES','\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a','timestamp','indexOf','import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','import\x20{\x20Rule,\x20RuleType,\x20OmitDto\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a','datetime','substring','text','\x27,\x20RuleType.number().valid(...getAnnEnumArray(','/validators/','\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','}\x0a\x0a','\x20\x20\x20\x20created_at_start?:\x20string;\x0a\x0a','replace','json','40221JTuuAf','\x27;\x0a','longtext','\x20\x20\x20\x20','DTOUpdate\x20{\x0a\x0a','DTOUpdate\x20extends\x20OmitDto(','Comment','\x27,\x20RuleType.string())\x0a','\x20\x20\x20\x20updated_at_start?:\x20string;\x0a\x0a','writeFileSync','\x27))','toUpperCase','DTOSearch\x20{\x0a\x0a','tinyint','Enum,\x20\x27',':\x20string;\x0a\x0a','date','default','toLowerCase','\x20\x20\x20\x20displayorder?:\x20number;\x0a\x0a','apply','string','DTOCreate\x20extends\x20OmitDto(','float','defineProperty','DTOSearch,\x20[\x27displayorder\x27])\x20{\x0a\x0a','getEnum','\x20*\x20数据更新验证\x0a','Null','\x20*\x20数据检索验证\x0a','\x27,\x20RuleType.number()','DTOSearch\x20extends\x20OmitDto(','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a','__esModule','466564jcVKZp','mediumtext','export\x20class\x20','7BGspAO','double','utf-8','existsSync','\x27))\x0a','import\x20{\x20','\x27)))\x0a','?:\x20string;\x0a\x0a','.required()','getProp','join','DTOCreate\x20{\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','102661XTNkws','\x27,\x20RuleType.string(),\x20\x27<\x20起始时间(之前)\x27)\x0a','boolean','\x20\x20\x20\x20created_at_end?:\x20string;\x0a\x0a','Field','\x27,\x20RuleType.number())\x0a','2013280LGDDWL','\x20*\x20**/\x0a','deleted_at','DTOUpdate,\x20[\x27displayorder\x27])\x20{\x0a\x0a','%DtoColumn%','\x27,\x20RuleType.string().valid(\x27','\x27,\x20RuleType.date()','642608TROJpJ','Type','\x20*\x20','\x27,\x20RuleType.string(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','\x27,\x20RuleType.string()','displayorder','267330myaXlX','find','?:\x20number;\x0a\x0a','/Update.ts','constructor','updated_at','\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a','(((.+)+)+)+$','\x20\x20\x20\x20updated_at_between?:\x20string[];\x0a\x0a',':\x20\x27','\x27,\x20RuleType.date())\x0a','/enums/','211998smShSC','number','search','/Create.ts','\x20\x20\x20\x20@Rule(\x27','\x20\x20\x20\x20updated_at_end?:\x20string;\x0a\x0a','\x20\x20\x20\x20@Rule(\x27创建时间\x27,\x20RuleType.date(),\x20\x27>=\x20起始时间(之后)\x27)\x0a','_between?:\x20string[];\x0a\x0a','Enum\x20}\x20from\x20\x27','decimal','_end?:\x20string;\x0a\x0a','\x20\x20\x20\x20created_at_between?:\x20string[];\x0a\x0a','toString','\x27\x20|\x20\x27','enum'];a10_0x40ce=function(){return _0x15fa31;};return a10_0x40ce();}const a10_0x258dfc=(function(){let _0x3ec8f6=!![];return function(_0x35319b,_0x36d2b0){const _0x4373a0=_0x3ec8f6?function(){const _0x137e3a=a10_0x587a;if(_0x36d2b0){const _0x85474e=_0x36d2b0[_0x137e3a(0xd7)](_0x35319b,arguments);return _0x36d2b0=null,_0x85474e;}}:function(){};return _0x3ec8f6=![],_0x4373a0;};}()),a10_0x21c6b3=a10_0x258dfc(this,function(){const _0x21e3a0=a10_0x587a;return a10_0x21c6b3['toString']()[_0x21e3a0(0x116)]('(((.+)+)+)+$')[_0x21e3a0(0x120)]()[_0x21e3a0(0x10c)](a10_0x21c6b3)[_0x21e3a0(0x116)](_0x21e3a0(0x10f));});a10_0x21c6b3();'use strict';Object[a10_0x364b0f(0xdb)](exports,a10_0x364b0f(0xe4),{'value':!![]});function a10_0x587a(_0x3e6fd9,_0xd9d790){const _0x16b4f1=a10_0x40ce();return a10_0x587a=function(_0x21c6b3,_0x258dfc){_0x21c6b3=_0x21c6b3-0xc4;let _0x40ce8c=_0x16b4f1[_0x21c6b3];return _0x40ce8c;},a10_0x587a(_0x3e6fd9,_0xd9d790);}const fs=require('fs'),helper_1=require(a10_0x364b0f(0x12a));async function default_1({controllers:_0x1eaa68,tablestartUp:_0x46c79b,tablestartUpShort:_0x30fd78,basedir:_0x3a72b6,Primary:_0x31d6fb,Fields:_0x4e3108,Comment:_0x51929b,moduleName:_0x24eb6c,apporbasic:_0x29bd63}){const _0x3eee11=a10_0x364b0f,_0x27dbd0=_0x3a72b6+(_0x3eee11(0x137)+_0x30fd78);!fs[_0x3eee11(0xeb)](_0x27dbd0)&&fs['mkdirSync'](_0x27dbd0,{'recursive':!![]}),await DTOCreate({'controllers':_0x1eaa68,'tablestartUp':_0x46c79b,'tablestartUpShort':_0x30fd78,'basedir':_0x3a72b6,'Fields':_0x4e3108,'Comment':_0x51929b,'moduleName':_0x24eb6c,'apporbasic':_0x29bd63}),await DTOUpdate({'controllers':_0x1eaa68,'tablestartUp':_0x46c79b,'tablestartUpShort':_0x30fd78,'basedir':_0x3a72b6,'Fields':_0x4e3108,'Comment':_0x51929b,'moduleName':_0x24eb6c,'apporbasic':_0x29bd63}),await DTOSearch({'controllers':_0x1eaa68,'tablestartUp':_0x46c79b,'tablestartUpShort':_0x30fd78,'basedir':_0x3a72b6,'Fields':_0x4e3108,'Primary':_0x31d6fb,'Comment':_0x51929b,'moduleName':_0x24eb6c,'apporbasic':_0x29bd63});}exports[a10_0x364b0f(0xd4)]=default_1;async function DTOCreate({controllers:_0x1cf93c,tablestartUp:_0x5d1396,tablestartUpShort:_0x4c9886,basedir:_0xf992f7,Fields:_0x146e75,Comment:_0xbe5bfa,moduleName:_0x11c5b9,apporbasic:_0x4b2075}){const _0x393ca1=a10_0x364b0f,_0x3c0695=_0xf992f7+(_0x393ca1(0x137)+_0x4c9886+_0x393ca1(0x117));if(!fs[_0x393ca1(0xeb)](_0x3c0695)){let _0x5008d5='',_0x44b242='',_0x32cadf=![];for(let _0xc7f20d in _0x146e75){let _0x575f2d=_0x146e75[_0xc7f20d],_0x3c0065=(0x0,helper_1[_0x393ca1(0xf1)])(_0x575f2d['Type']);if(_0x575f2d[_0x393ca1(0xf9)]==_0x393ca1(0x107)||_0x575f2d[_0x393ca1(0xf9)]==_0x393ca1(0x123)||_0x575f2d[_0x393ca1(0xf9)]==_0x393ca1(0x10d)||_0x575f2d[_0x393ca1(0xf9)]==_0x393ca1(0xfd))continue;if([_0x393ca1(0x135),_0x393ca1(0xc5),_0x393ca1(0xe6)][_0x393ca1(0x130)](_0x3c0065)!=-0x1)_0x5008d5+='\x20\x20\x20\x20@Rule(\x27'+_0x575f2d[_0x393ca1(0xc9)]+'\x27,\x20RuleType.string())\x0a',_0x5008d5+='\x20\x20\x20\x20'+_0x575f2d['Field']+_0x393ca1(0xef);else{if(['float',_0x393ca1(0xe9),_0x393ca1(0x11d),'number'][_0x393ca1(0x130)](_0x3c0065)!=-0x1)_0x5008d5+=_0x393ca1(0x118)+_0x575f2d['Comment']+_0x393ca1(0xe1)+(_0x575f2d[_0x393ca1(0xdf)]!='YES'?_0x393ca1(0xf0):'')+')\x0a',_0x5008d5+=_0x393ca1(0xc6)+_0x575f2d[_0x393ca1(0xf9)]+(_0x575f2d['Null']!=_0x393ca1(0x12d)?'?':'')+':\x20number;\x0a\x0a';else{if([_0x393ca1(0xd0)][_0x393ca1(0x130)](_0x3c0065)!=-0x1)_0x32cadf=!![],_0x5008d5+=_0x393ca1(0x118)+_0x575f2d[_0x393ca1(0xc9)]+_0x393ca1(0x136)+_0x5d1396+_0x393ca1(0xd1)+_0x575f2d['Field']+_0x393ca1(0xcd)+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?'.required()':'')+')\x0a',_0x5008d5+=_0x393ca1(0xc6)+_0x575f2d[_0x393ca1(0xf9)]+(_0x575f2d[_0x393ca1(0xdf)]!='YES'?'?':'')+_0x393ca1(0x128);else{if(_0x3c0065=='json')_0x5008d5+=_0x393ca1(0x118)+_0x575f2d[_0x393ca1(0xc9)]+_0x393ca1(0x127),_0x5008d5+=_0x393ca1(0xc6)+_0x575f2d[_0x393ca1(0xf9)]+(_0x575f2d['Null']!=_0x393ca1(0x12d)?'?':'')+':\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x3c0065==_0x393ca1(0x122)){let _0xfb816a=(0x0,helper_1[_0x393ca1(0xdd)])(_0x575f2d[_0x393ca1(0x103)]);_0x5008d5+=_0x393ca1(0x118)+_0x575f2d['Comment']+_0x393ca1(0x100)+_0xfb816a[_0x393ca1(0xf2)](_0x393ca1(0x124))+'\x27)'+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?'.required()':'')+')\x0a',_0x5008d5+=_0x393ca1(0xc6)+_0x575f2d[_0x393ca1(0xf9)]+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?'?':'')+_0x393ca1(0x111)+_0xfb816a[_0x393ca1(0xf2)](_0x393ca1(0x121))+_0x393ca1(0x125);}else[_0x393ca1(0xd3),_0x393ca1(0x133),_0x393ca1(0x12f)]['indexOf'](_0x3c0065)>-0x1?(_0x5008d5+=_0x393ca1(0x118)+_0x575f2d[_0x393ca1(0xc9)]+_0x393ca1(0x101)+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?_0x393ca1(0xf0):'')+')\x0a',_0x5008d5+='\x20\x20\x20\x20'+_0x575f2d[_0x393ca1(0xf9)]+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?'?':'')+_0x393ca1(0xd2)):(_0x5008d5+=_0x393ca1(0x118)+_0x575f2d[_0x393ca1(0xc9)]+_0x393ca1(0x106)+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?_0x393ca1(0xf0):'')+')\x0a',_0x5008d5+=_0x393ca1(0xc6)+_0x575f2d[_0x393ca1(0xf9)]+(_0x575f2d[_0x393ca1(0xdf)]!=_0x393ca1(0x12d)?'?':'')+_0x393ca1(0xd2));}}}}}_0x5008d5+=_0x393ca1(0x12e),_0x5008d5+=_0x393ca1(0xd6);(_0x1cf93c===null||_0x1cf93c===void 0x0?void 0x0:_0x1cf93c[_0x393ca1(0x109)](_0x33e5fd=>typeof _0x33e5fd!=_0x393ca1(0xf7)))?_0x44b242+=_0x393ca1(0x132):_0x44b242+=_0x393ca1(0x131);_0x32cadf&&(_0x44b242+=_0x393ca1(0xed)+_0x5d1396+'Enum\x20}\x20from\x20\x27'+(typeof _0x11c5b9==_0x393ca1(0xd8)?'@/apps/'+_0x11c5b9:'@/'+_0x4b2075)+_0x393ca1(0x113)+_0x4c9886+_0x393ca1(0xc4));_0x44b242+='\x0a',_0x44b242+='/**\x0a',_0x44b242+=_0x393ca1(0x104)+_0xbe5bfa+'\x0a',_0x44b242+='\x20*\x20数据添加验证\x0a',_0x44b242+=_0x393ca1(0xfc),_0x44b242+='export\x20class\x20'+_0x5d1396+_0x393ca1(0xf3),_0x44b242+=_0x393ca1(0xff),_0x44b242+=_0x393ca1(0x139);for(const _0x43c1ab of _0x1cf93c){typeof _0x43c1ab==_0x393ca1(0xd8)&&(_0x44b242+=_0x393ca1(0xe7)+_0x43c1ab[_0x393ca1(0x134)](0x0,0x1)['toUpperCase']()+_0x43c1ab[_0x393ca1(0x134)](0x1)[_0x393ca1(0xd5)]()+_0x5d1396+_0x393ca1(0xd9)+_0x5d1396+'DTOCreate,\x20[\x27displayorder\x27])\x20{\x0a\x0a',_0x44b242+='}\x0a\x0a');}_0x44b242=_0x44b242[_0x393ca1(0x13b)](_0x393ca1(0xff),_0x5008d5),fs[_0x393ca1(0xcc)](_0x3c0695,_0x44b242,'utf-8');}}async function DTOUpdate({controllers:_0x7910c1,tablestartUp:_0x469e1d,tablestartUpShort:_0x444455,basedir:_0x4576aa,Fields:_0x1575df,Comment:_0x9ee3ca,moduleName:_0x53c4c8,apporbasic:_0x5d8bc1}){const _0x1c761e=a10_0x364b0f,_0x3df7f6=_0x4576aa+('/validators/'+_0x444455+_0x1c761e(0x10b));if(!fs[_0x1c761e(0xeb)](_0x3df7f6)){let _0x4f9183='',_0x17717e='',_0x200144=![];for(let _0xd02303 in _0x1575df){let _0x485c9b=_0x1575df[_0xd02303],_0x286cfc=(0x0,helper_1[_0x1c761e(0xf1)])(_0x485c9b['Type']);if(_0x485c9b[_0x1c761e(0xf9)]==_0x1c761e(0x107)||_0x485c9b[_0x1c761e(0xf9)]==_0x1c761e(0x123)||_0x485c9b['Field']==_0x1c761e(0x10d)||_0x485c9b[_0x1c761e(0xf9)]=='deleted_at')continue;if(['text','longtext',_0x1c761e(0xe6)][_0x1c761e(0x130)](_0x286cfc)!=-0x1)_0x4f9183+=_0x1c761e(0x118)+_0x485c9b['Comment']+_0x1c761e(0xca),_0x4f9183+=_0x1c761e(0xc6)+_0x485c9b['Field']+_0x1c761e(0xef);else{if([_0x1c761e(0xda),_0x1c761e(0xe9),_0x1c761e(0x11d),_0x1c761e(0x115)][_0x1c761e(0x130)](_0x286cfc)!=-0x1)_0x4f9183+=_0x1c761e(0x118)+_0x485c9b[_0x1c761e(0xc9)]+'\x27,\x20RuleType.number())\x0a',_0x4f9183+=_0x1c761e(0xc6)+_0x485c9b[_0x1c761e(0xf9)]+_0x1c761e(0x10a);else{if(['tinyint'][_0x1c761e(0x130)](_0x286cfc)!=-0x1)_0x200144=!![],_0x4f9183+=_0x1c761e(0x118)+_0x485c9b[_0x1c761e(0xc9)]+_0x1c761e(0x136)+_0x469e1d+_0x1c761e(0xd1)+_0x485c9b['Field']+_0x1c761e(0xee),_0x4f9183+='\x20\x20\x20\x20'+_0x485c9b[_0x1c761e(0xf9)]+_0x1c761e(0x10a);else{if(_0x286cfc==_0x1c761e(0x13c))_0x4f9183+=_0x1c761e(0x118)+_0x485c9b['Comment']+_0x1c761e(0x127),_0x4f9183+=_0x1c761e(0xc6)+_0x485c9b[_0x1c761e(0xf9)]+'?:\x20any\x20|\x20any[];\x0a\x0a';else{if(_0x286cfc==_0x1c761e(0x122)){let _0x20f695=(0x0,helper_1[_0x1c761e(0xdd)])(_0x485c9b[_0x1c761e(0x103)]);_0x4f9183+=_0x1c761e(0x118)+_0x485c9b['Comment']+_0x1c761e(0x100)+_0x20f695[_0x1c761e(0xf2)](_0x1c761e(0x124))+_0x1c761e(0xec),_0x4f9183+='\x20\x20\x20\x20'+_0x485c9b[_0x1c761e(0xf9)]+_0x1c761e(0x12b)+_0x20f695[_0x1c761e(0xf2)]('\x27\x20|\x20\x27')+_0x1c761e(0x125);}else[_0x1c761e(0xd3),_0x1c761e(0x133),_0x1c761e(0x12f)][_0x1c761e(0x130)](_0x286cfc)>-0x1?(_0x4f9183+=_0x1c761e(0x118)+_0x485c9b[_0x1c761e(0xc9)]+_0x1c761e(0x112),_0x4f9183+='\x20\x20\x20\x20'+_0x485c9b[_0x1c761e(0xf9)]+_0x1c761e(0xef)):(_0x4f9183+=_0x1c761e(0x118)+_0x485c9b[_0x1c761e(0xc9)]+_0x1c761e(0xca),_0x4f9183+=_0x1c761e(0xc6)+_0x485c9b[_0x1c761e(0xf9)]+_0x1c761e(0xef));}}}}}_0x4f9183+='\x20\x20\x20\x20@Rule(\x27默认排序\x27,\x20RuleType.number())\x0a',_0x4f9183+=_0x1c761e(0xd6);(_0x7910c1===null||_0x7910c1===void 0x0?void 0x0:_0x7910c1[_0x1c761e(0x109)](_0x278292=>typeof _0x278292!=_0x1c761e(0xf7)))?_0x17717e+=_0x1c761e(0x132):_0x17717e+=_0x1c761e(0x131);_0x200144&&(_0x17717e+=_0x1c761e(0xed)+_0x469e1d+_0x1c761e(0x11c)+(typeof _0x53c4c8=='string'?'@/apps/'+_0x53c4c8:'@/'+_0x5d8bc1)+_0x1c761e(0x113)+_0x444455+'\x27;\x0a');_0x17717e+='\x0a',_0x17717e+='/**\x0a',_0x17717e+=_0x1c761e(0x104)+_0x9ee3ca+'\x0a',_0x17717e+=_0x1c761e(0xde),_0x17717e+=_0x1c761e(0xfc),_0x17717e+=_0x1c761e(0xe7)+_0x469e1d+_0x1c761e(0xc7),_0x17717e+=_0x1c761e(0xff),_0x17717e+=_0x1c761e(0x139);for(const _0x2dcddc of _0x7910c1){typeof _0x2dcddc==_0x1c761e(0xd8)&&(_0x17717e+='export\x20class\x20'+_0x2dcddc[_0x1c761e(0x134)](0x0,0x1)[_0x1c761e(0xce)]()+_0x2dcddc[_0x1c761e(0x134)](0x1)['toLowerCase']()+_0x469e1d+_0x1c761e(0xc8)+_0x469e1d+_0x1c761e(0xfe),_0x17717e+=_0x1c761e(0x139));}_0x17717e=_0x17717e[_0x1c761e(0x13b)](_0x1c761e(0xff),_0x4f9183),fs[_0x1c761e(0xcc)](_0x3df7f6,_0x17717e,_0x1c761e(0xea));}}async function DTOSearch({controllers:_0x38ab50,tablestartUp:_0x51531b,tablestartUpShort:_0xb237dc,basedir:_0x91edb9,Fields:_0x5804cb,Primary:_0x2330b9,Comment:_0x100e61,moduleName:_0xf267b3,apporbasic:_0x490195}){const _0x127150=a10_0x364b0f,_0x311d95=_0x91edb9+('/validators/'+_0xb237dc+_0x127150(0x126));if(!fs[_0x127150(0xeb)](_0x311d95)){let _0x17098b='',_0x5df59c='',_0x3d3fa7=![];for(let _0x5840b5 of[{[_0x2330b9[_0x127150(0xf9)]]:_0x2330b9},_0x5804cb]){for(let _0x4499f8 in _0x5840b5){let _0x4277f5=_0x5840b5[_0x4499f8],_0x50146d=(0x0,helper_1[_0x127150(0xf1)])(_0x4277f5[_0x127150(0x103)]);if(_0x4277f5[_0x127150(0xf9)]=='displayorder'||_0x4277f5['Field']==_0x127150(0x123)||_0x4277f5[_0x127150(0xf9)]==_0x127150(0x10d)||_0x4277f5[_0x127150(0xf9)]=='deleted_at')continue;if([_0x127150(0x135),_0x127150(0xc5),_0x127150(0xe6)][_0x127150(0x130)](_0x50146d)!=-0x1){}else{if([_0x127150(0xda),'double','decimal',_0x127150(0x115)]['indexOf'](_0x50146d)!=-0x1)_0x17098b+=_0x127150(0x118)+_0x4277f5[_0x127150(0xc9)]+_0x127150(0xfa),_0x17098b+=_0x127150(0xc6)+_0x4277f5['Field']+_0x127150(0x10a);else{if([_0x127150(0xd0)][_0x127150(0x130)](_0x50146d)!=-0x1)_0x3d3fa7=!![],_0x17098b+=_0x127150(0x118)+_0x4277f5[_0x127150(0xc9)]+_0x127150(0x136)+_0x51531b+_0x127150(0xd1)+_0x4277f5[_0x127150(0xf9)]+'\x27)))\x0a',_0x17098b+=_0x127150(0xc6)+_0x4277f5[_0x127150(0xf9)]+'?:\x20number;\x0a\x0a';else{if(_0x50146d==_0x127150(0x13c)){}else{if(_0x50146d==_0x127150(0x122)){let _0x3d8097=(0x0,helper_1[_0x127150(0xdd)])(_0x4277f5[_0x127150(0x103)]);_0x17098b+=_0x127150(0x118)+_0x4277f5[_0x127150(0xc9)]+'\x27,\x20RuleType.string().valid(\x27'+_0x3d8097[_0x127150(0xf2)]('\x27,\x20\x27')+_0x127150(0xec),_0x17098b+='\x20\x20\x20\x20'+_0x4277f5[_0x127150(0xf9)]+_0x127150(0x12b)+_0x3d8097[_0x127150(0xf2)](_0x127150(0x121))+_0x127150(0x125);}else[_0x127150(0xd3),_0x127150(0x133),_0x127150(0x12f)][_0x127150(0x130)](_0x50146d)>-0x1?(_0x17098b+=_0x127150(0x118)+_0x4277f5['Comment']+'\x27,\x20RuleType.string())\x0a',_0x17098b+='\x20\x20\x20\x20'+_0x4277f5['Field']+'?:\x20string;\x0a\x0a',_0x17098b+='\x20\x20\x20\x20@Rule(\x27'+_0x4277f5[_0x127150(0xc9)]+_0x127150(0x10e),_0x17098b+=_0x127150(0xc6)+_0x4277f5[_0x127150(0xf9)]+_0x127150(0x11b),_0x17098b+=_0x127150(0x118)+_0x4277f5['Comment']+_0x127150(0x105),_0x17098b+='\x20\x20\x20\x20'+_0x4277f5[_0x127150(0xf9)]+'_start?:\x20string;\x0a\x0a',_0x17098b+='\x20\x20\x20\x20@Rule(\x27'+_0x4277f5['Comment']+_0x127150(0xf6),_0x17098b+=_0x127150(0xc6)+_0x4277f5[_0x127150(0xf9)]+_0x127150(0x11e)):(_0x17098b+=_0x127150(0x118)+_0x4277f5['Comment']+_0x127150(0xca),_0x17098b+=_0x127150(0xc6)+_0x4277f5[_0x127150(0xf9)]+'?:\x20string;\x0a\x0a');}}}}}}_0x17098b+=_0x127150(0x12e),_0x17098b+=_0x127150(0xd6),_0x17098b+=_0x127150(0xf4),_0x17098b+=_0x127150(0x11f),_0x17098b+=_0x127150(0x11a),_0x17098b+=_0x127150(0x13a),_0x17098b+=_0x127150(0xe3),_0x17098b+=_0x127150(0xf8),_0x17098b+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.array().items(RuleType.string()),\x20\x27在选定时间之内\x27)\x0a',_0x17098b+=_0x127150(0x110),_0x17098b+=_0x127150(0x138),_0x17098b+=_0x127150(0xcb),_0x17098b+='\x20\x20\x20\x20@Rule(\x27修改时间\x27,\x20RuleType.date(),\x20\x27<\x20起始时间(之前)\x27)\x0a',_0x17098b+=_0x127150(0x119);(_0x38ab50===null||_0x38ab50===void 0x0?void 0x0:_0x38ab50[_0x127150(0x109)](_0x533da0=>typeof _0x533da0!=_0x127150(0xf7)))?_0x5df59c+=_0x127150(0x132):_0x5df59c+='import\x20{\x20Rule,\x20RuleType\x20}\x20from\x20\x27@anncic-api/validator\x27;\x0a\x0a';_0x3d3fa7&&(_0x5df59c+=_0x127150(0xed)+_0x51531b+_0x127150(0x11c)+(typeof _0xf267b3==_0x127150(0xd8)?'@/apps/'+_0xf267b3:'@/'+_0x490195)+_0x127150(0x113)+_0xb237dc+_0x127150(0xc4));_0x5df59c+='\x0a',_0x5df59c+='/**\x0a',_0x5df59c+=_0x127150(0x104)+_0x100e61+'\x0a',_0x5df59c+=_0x127150(0xe0),_0x5df59c+='\x20*\x20**/\x0a',_0x5df59c+=_0x127150(0xe7)+_0x51531b+_0x127150(0xcf),_0x5df59c+='%SearchDtoColumn%',_0x5df59c+=_0x127150(0x139);for(const _0x5aff11 of _0x38ab50){typeof _0x5aff11==_0x127150(0xd8)&&(_0x5df59c+=_0x127150(0xe7)+_0x5aff11[_0x127150(0x134)](0x0,0x1)[_0x127150(0xce)]()+_0x5aff11[_0x127150(0x134)](0x1)[_0x127150(0xd5)]()+_0x51531b+_0x127150(0xe2)+_0x51531b+_0x127150(0xdc),_0x5df59c+=_0x127150(0x139));}_0x5df59c=_0x5df59c[_0x127150(0x13b)]('%SearchDtoColumn%',_0x17098b),fs['writeFileSync'](_0x311d95,_0x5df59c,_0x127150(0xea));}}
|
package/dist/templateVue/Api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x1b8b25=a11_0x17a4;(function(_0x12b0b9,_0x178b32){const _0x4f894f=a11_0x17a4,_0x1920ae=_0x12b0b9();while(!![]){try{const _0x4ceada=-parseInt(_0x4f894f(0x1b0))/0x1*(parseInt(_0x4f894f(0x1a6))/0x2)+parseInt(_0x4f894f(0x1bb))/0x3*(-parseInt(_0x4f894f(0x19a))/0x4)+parseInt(_0x4f894f(0x1b3))/0x5*(parseInt(_0x4f894f(0x1b1))/0x6)+parseInt(_0x4f894f(0x1b4))/0x7+parseInt(_0x4f894f(0x1ac))/0x8+-parseInt(_0x4f894f(0x190))/0x9*(parseInt(_0x4f894f(0x19b))/0xa)+parseInt(_0x4f894f(0x1b6))/0xb;if(_0x4ceada===_0x178b32)break;else _0x1920ae['push'](_0x1920ae['shift']());}catch(_0x40e1d4){_0x1920ae['push'](_0x1920ae['shift']());}}}(a11_0x5cb6,0x89b15));const a11_0x2cc675=(function(){let _0x40c80d=!![];return function(_0x1066a4,_0x42e503){const _0x1f9079=_0x40c80d?function(){const _0x4a6f37=a11_0x17a4;if(_0x42e503){const _0x1ff8ed=_0x42e503[_0x4a6f37(0x197)](_0x1066a4,arguments);return _0x42e503=null,_0x1ff8ed;}}:function(){};return _0x40c80d=![],_0x1f9079;};}()),a11_0x5c0db5=a11_0x2cc675(this,function(){const _0x10b4a5=a11_0x17a4;return a11_0x5c0db5['toString']()[_0x10b4a5(0x1a5)](_0x10b4a5(0x1bc))['toString']()['constructor'](a11_0x5c0db5)[_0x10b4a5(0x1a5)](_0x10b4a5(0x1bc));});function a11_0x5cb6(){const _0x3fcb0c=['4023222PgjQDn','\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27','16159693XCFGyu','__esModule','@添加\x27,\x0a','/add','//\x20','2127GhoSIX','(((.+)+)+)+$','\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27','/remove','@编辑\x27,\x0a','@详情\x27,\x0a','default','1827fzQGVF','@删除\x27,\x0a','\x20\x20\x20\x20add:{\x0a','Field','/pages/apps/','existsSync','\x20\x20\x20\x20edit:{\x0a','apply','\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a','\x20\x20\x20\x20},\x0a','4132czXEcd','52620kPpmSC','export\x20const\x20','\x20=\x20{\x0a','utf-8','dirname','\x20\x20\x20\x20remove:{\x0a','\x20\x20\x20\x20detail:{\x0a','\x20\x20\x20\x20list:{\x0a','/vue','/apis/','search','514npJKDQ','mkdirSync','.js','/list','string','cwd','3345600djWZKg','@列表\x27,\x0a','path','writeFileSync','866LIIPFo','4290hzhaHE','defineProperty','875apdbbZ'];a11_0x5cb6=function(){return _0x3fcb0c;};return a11_0x5cb6();}a11_0x5c0db5();'use strict';Object[a11_0x1b8b25(0x1b2)](exports,a11_0x1b8b25(0x1b7),{'value':!![]});function a11_0x17a4(_0x1d6a96,_0x23ea42){const _0x4d8688=a11_0x5cb6();return a11_0x17a4=function(_0x5c0db5,_0x2cc675){_0x5c0db5=_0x5c0db5-0x18c;let _0x5cb608=_0x4d8688[_0x5c0db5];return _0x5cb608;},a11_0x17a4(_0x1d6a96,_0x23ea42);}const fs=require('fs'),path_1=require(a11_0x1b8b25(0x1ae));async function default_1({tablestartUpShort:_0x3ed2f2,tablestartUpShort2:_0x41ff22,moduleName:_0xf864b,controller:_0x832c56,Comment:_0x5050c1,apporbasic:_0x3c426e,Primary:_0x598ffe}){const _0x5f0cb2=a11_0x1b8b25;let _0x239721=process[_0x5f0cb2(0x1ab)]()+_0x5f0cb2(0x1a3)+(typeof _0x832c56==_0x5f0cb2(0x1aa)?'/'+_0x832c56:'');_0xf864b?_0x239721=_0x239721+(_0x5f0cb2(0x194)+_0xf864b+_0x5f0cb2(0x1a4)+_0x3ed2f2+_0x5f0cb2(0x1a8)):_0x239721=_0x239721+('/pages/'+_0x3c426e+'/apis/'+_0x3ed2f2+_0x5f0cb2(0x1a8));if(!fs[_0x5f0cb2(0x195)](_0x239721)){const _0x55694c=''+(typeof _0x832c56=='string'?_0x832c56+'/':'')+(_0xf864b?_0xf864b+'/':'')+_0x41ff22+_0x5f0cb2(0x1b9),_0x46c536=''+(typeof _0x832c56==_0x5f0cb2(0x1aa)?_0x832c56+'/':'')+(_0xf864b?_0xf864b+'/':'')+_0x41ff22+_0x5f0cb2(0x1a9),_0x592ed9=''+(typeof _0x832c56==_0x5f0cb2(0x1aa)?_0x832c56+'/':'')+(_0xf864b?_0xf864b+'/':'')+_0x41ff22+'/edit/:'+_0x598ffe[_0x5f0cb2(0x193)],_0x5680b0=''+(typeof _0x832c56==_0x5f0cb2(0x1aa)?_0x832c56+'/':'')+(_0xf864b?_0xf864b+'/':'')+_0x41ff22+'/detail/:'+_0x598ffe[_0x5f0cb2(0x193)],_0x42557a=''+(typeof _0x832c56==_0x5f0cb2(0x1aa)?_0x832c56+'/':'')+(_0xf864b?_0xf864b+'/':'')+_0x41ff22+_0x5f0cb2(0x18c);let _0x45c122='\x0a\x0a';_0x45c122+=_0x5f0cb2(0x1ba)+_0x5050c1+'\x0a',_0x45c122+=_0x5f0cb2(0x19c)+_0x3ed2f2+_0x5f0cb2(0x19d),_0x45c122+=_0x5f0cb2(0x192),_0x45c122+=_0x5f0cb2(0x198),_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5050c1+_0x5f0cb2(0x1b8),_0x45c122+=_0x5f0cb2(0x1b5)+_0x55694c+'\x27\x0a',_0x45c122+=_0x5f0cb2(0x199),_0x45c122+=_0x5f0cb2(0x196),_0x45c122+=_0x5f0cb2(0x198),_0x45c122+=_0x5f0cb2(0x1bd)+_0x5050c1+_0x5f0cb2(0x18d),_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x592ed9+'\x27\x0a',_0x45c122+='\x20\x20\x20\x20},\x0a',_0x45c122+=_0x5f0cb2(0x1a2),_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a',_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5050c1+_0x5f0cb2(0x1ad),_0x45c122+=_0x5f0cb2(0x1b5)+_0x46c536+'\x27\x0a',_0x45c122+='\x20\x20\x20\x20},\x0a',_0x45c122+=_0x5f0cb2(0x1a1),_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27get\x27,\x0a',_0x45c122+=_0x5f0cb2(0x1bd)+_0x5050c1+_0x5f0cb2(0x18e),_0x45c122+=_0x5f0cb2(0x1b5)+_0x5680b0+'\x27\x0a',_0x45c122+='\x20\x20\x20\x20},\x0a',_0x45c122+=_0x5f0cb2(0x1a0),_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20method:\x20\x27post\x27,\x0a',_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20name:\x20\x27'+_0x5050c1+_0x5f0cb2(0x191),_0x45c122+='\x20\x20\x20\x20\x20\x20\x20\x20api:\x20\x27'+_0x42557a+'\x27\x0a',_0x45c122+='\x20\x20\x20\x20}\x0a',_0x45c122+='}\x0a',fs[_0x5f0cb2(0x1a7)]((0x0,path_1[_0x5f0cb2(0x19f)])(_0x239721),{'recursive':!![]}),fs[_0x5f0cb2(0x1af)](_0x239721,_0x45c122,_0x5f0cb2(0x19e));}}exports[a11_0x1b8b25(0x18f)]=default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x33a489=a12_0x412f;(function(_0xf4ffc0,_0x2d30a4){const _0x31d630=a12_0x412f,_0x2615a9=_0xf4ffc0();while(!![]){try{const _0x20171f=-parseInt(_0x31d630(0x17f))/0x1+parseInt(_0x31d630(0x184))/0x2*(parseInt(_0x31d630(0x183))/0x3)+parseInt(_0x31d630(0x18e))/0x4+parseInt(_0x31d630(0x188))/0x5+parseInt(_0x31d630(0x17c))/0x6+parseInt(_0x31d630(0x18c))/0x7*(-parseInt(_0x31d630(0x195))/0x8)+-parseInt(_0x31d630(0x186))/0x9;if(_0x20171f===_0x2d30a4)break;else _0x2615a9['push'](_0x2615a9['shift']());}catch(_0x4abe06){_0x2615a9['push'](_0x2615a9['shift']());}}}(a12_0x424d,0xbb0da));const a12_0x56c5e6=(function(){let _0xe0a1cb=!![];return function(_0x93a3ef,_0x43936f){const _0x31cad6=_0xe0a1cb?function(){const _0x11bf24=a12_0x412f;if(_0x43936f){const _0x4f45a8=_0x43936f[_0x11bf24(0x192)](_0x93a3ef,arguments);return _0x43936f=null,_0x4f45a8;}}:function(){};return _0xe0a1cb=![],_0x31cad6;};}()),a12_0x7712ed=a12_0x56c5e6(this,function(){const _0x5b9b6a=a12_0x412f;return a12_0x7712ed[_0x5b9b6a(0x197)]()[_0x5b9b6a(0x176)]('(((.+)+)+)+$')[_0x5b9b6a(0x197)]()[_0x5b9b6a(0x18b)](a12_0x7712ed)[_0x5b9b6a(0x176)](_0x5b9b6a(0x196));});a12_0x7712ed();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x1cbe09,controller:_0x4bbf81,moduleName:_0x1a5b5e,Comment:_0x1ea9f4,apporbasic:_0x408c74}){const _0x380cf9=a12_0x412f;let _0x2cde30=process[_0x380cf9(0x182)]()+_0x380cf9(0x179)+(typeof _0x4bbf81==_0x380cf9(0x199)?'/'+_0x4bbf81:'');_0x1a5b5e?_0x2cde30=_0x2cde30+(_0x380cf9(0x174)+_0x1a5b5e+_0x380cf9(0x178)):_0x2cde30=_0x2cde30+(_0x380cf9(0x187)+_0x408c74+_0x380cf9(0x178));await createLayout(_0x2cde30);const _0x5c0e66=fs['readFileSync'](_0x2cde30,_0x380cf9(0x194));fs[_0x380cf9(0x173)](_0x2cde30,_0x5c0e66['replace'](_0x380cf9(0x181),_0x380cf9(0x17b)+(_0x1ea9f4+'\x22')[_0x380cf9(0x18a)](0x14)+',\x20path:\x20\x22'+(''+(typeof _0x1a5b5e==_0x380cf9(0x199)?_0x380cf9(0x17a)+_0x1a5b5e+'/':'/'+_0x408c74+'/')+_0x1cbe09+'\x22')['padEnd'](0x14)+'},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here'));}function a12_0x424d(){const _0x4524b6=['</template>\x0a\x0a','//\x20add\x20menu\x20here','cwd','3BBpWFP','1606634RwjepE','default','15351129sKxTBl','/pages/','6389470xJpsUa','<template>\x0a','padEnd','constructor','28nslBkJ','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20menus:\x20[\x0a','434248vKYltm','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20:menus=\x22menus\x22>\x0a\x0a','export\x20default\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','apply','</script>\x0a\x0a','utf-8','341816wEdZDQ','(((.+)+)+)+$','toString','\x20\x20\x20\x20},\x0a','string','writeFileSync','/pages/apps/','existsSync','search','dirname','/layout.vue','/vue','/apps-','{title:\x20\x22','5440212mygsCP','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20]\x0a','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','453716vgmFpZ'];a12_0x424d=function(){return _0x4524b6;};return a12_0x424d();}exports[a12_0x33a489(0x185)]=default_1;function a12_0x412f(_0x238e3a,_0x404dbe){const _0x4b3a72=a12_0x424d();return a12_0x412f=function(_0x7712ed,_0x56c5e6){_0x7712ed=_0x7712ed-0x173;let _0x424d14=_0x4b3a72[_0x7712ed];return _0x424d14;},a12_0x412f(_0x238e3a,_0x404dbe);}async function createLayout(_0x508959){const _0x404f1f=a12_0x33a489;if(!fs[_0x404f1f(0x175)](_0x508959)){let _0x3c676a=_0x404f1f(0x189);_0x3c676a+=_0x404f1f(0x18f),_0x3c676a+='\x20\x20\x20\x20</page-layout>\x0a',_0x3c676a+=_0x404f1f(0x180),_0x3c676a+='<script>\x0a',_0x3c676a+=_0x404f1f(0x190),_0x3c676a+='\x20\x20\x20\x20data()\x20{\x0a',_0x3c676a+=_0x404f1f(0x191),_0x3c676a+=_0x404f1f(0x18d),_0x3c676a+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x3c676a+=_0x404f1f(0x17d),_0x3c676a+=_0x404f1f(0x17e),_0x3c676a+=_0x404f1f(0x198),_0x3c676a+='}\x0a',_0x3c676a+=_0x404f1f(0x193),fs['mkdirSync']((0x0,path_1[_0x404f1f(0x177)])(_0x508959),{'recursive':!![]}),fs['writeFileSync'](_0x508959,_0x3c676a,_0x404f1f(0x194));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13_0x372d56=a13_0x4ee4;(function(_0x338c6f,_0xda57d0){const _0x51f5fb=a13_0x4ee4,_0x5ba8d1=_0x338c6f();while(!![]){try{const _0x1b3f4e=-parseInt(_0x51f5fb(0x207))/0x1*(-parseInt(_0x51f5fb(0x23d))/0x2)+-parseInt(_0x51f5fb(0x194))/0x3*(-parseInt(_0x51f5fb(0x221))/0x4)+-parseInt(_0x51f5fb(0x1ef))/0x5+parseInt(_0x51f5fb(0x18b))/0x6+-parseInt(_0x51f5fb(0x225))/0x7+-parseInt(_0x51f5fb(0x233))/0x8+parseInt(_0x51f5fb(0x1fe))/0x9*(-parseInt(_0x51f5fb(0x1ad))/0xa);if(_0x1b3f4e===_0xda57d0)break;else _0x5ba8d1['push'](_0x5ba8d1['shift']());}catch(_0x313d50){_0x5ba8d1['push'](_0x5ba8d1['shift']());}}}(a13_0x11f3,0xa37f1));const a13_0x533dd9=(function(){let _0x31a722=!![];return function(_0x885337,_0x1fd7f1){const _0x24a795=_0x31a722?function(){const _0x327851=a13_0x4ee4;if(_0x1fd7f1){const _0x599acc=_0x1fd7f1[_0x327851(0x1e7)](_0x885337,arguments);return _0x1fd7f1=null,_0x599acc;}}:function(){};return _0x31a722=![],_0x24a795;};}()),a13_0x30c413=a13_0x533dd9(this,function(){const _0x108050=a13_0x4ee4;return a13_0x30c413[_0x108050(0x1e5)]()['search'](_0x108050(0x1ab))[_0x108050(0x1e5)]()['constructor'](a13_0x30c413)[_0x108050(0x1d4)](_0x108050(0x1ab));});a13_0x30c413();'use strict';function a13_0x4ee4(_0x2e1acb,_0x17f2eb){const _0x19e658=a13_0x11f3();return a13_0x4ee4=function(_0x30c413,_0x533dd9){_0x30c413=_0x30c413-0x188;let _0x11f3fc=_0x19e658[_0x30c413];return _0x11f3fc;},a13_0x4ee4(_0x2e1acb,_0x17f2eb);}Object[a13_0x372d56(0x1d3)](exports,a13_0x372d56(0x1e9),{'value':!![]});const fs=require('fs'),path_1=require('path'),helper_1=require(a13_0x372d56(0x18c));async function default_1({moduleName:_0x16dd37,controller:_0x1d498b,tablestartUpShort:_0x256d01,tablestartUpShort2:_0x5d5eff,Primary:_0x54bc3b,Fields:_0x2213e5,apporbasic:_0x43cf0e,Comment:_0x3f3d02}){const _0x2a4b24=a13_0x372d56;await createIndex({'moduleName':_0x16dd37,'controller':_0x1d498b,'tablestartUpShort':_0x256d01,'tablestartUpShort2':_0x5d5eff,'Primary':_0x54bc3b,'Fields':_0x2213e5,'apporbasic':_0x43cf0e}),await createSearch({'moduleName':_0x16dd37,'controller':_0x1d498b,'tablestartUpShort2':_0x5d5eff,'Primary':_0x54bc3b,'Fields':_0x2213e5,'apporbasic':_0x43cf0e}),await createAddOrEdit({'moduleName':_0x16dd37,'controller':_0x1d498b,'tablestartUpShort':_0x256d01,'tablestartUpShort2':_0x5d5eff,'Primary':_0x54bc3b,'Fields':_0x2213e5,'apporbasic':_0x43cf0e,'Comment':_0x3f3d02},_0x2a4b24(0x19f)),await createAddOrEdit({'moduleName':_0x16dd37,'controller':_0x1d498b,'tablestartUpShort':_0x256d01,'tablestartUpShort2':_0x5d5eff,'Primary':_0x54bc3b,'Fields':_0x2213e5,'apporbasic':_0x43cf0e,'Comment':_0x3f3d02},_0x2a4b24(0x1ba));}function a13_0x11f3(){const _0x45f8c7=['\x22\x20:min=\x221\x22\x20:max=\x22100\x22\x20/>','utf-8','\x22\x20prop=\x22','\x22\x20\x20placeholder=\x22请输入','num','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a','<el-table-column\x20prop=','/validators/','<script>\x0a','/list/components/search.vue','edit','<img\x20:src=\x22scope.row.','.edit.hasPrem()\x22\x20@click=\x22$router.push(`/','\x22\x20class=\x22block\x22>','Field','/index.vue','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>',');\x0a','thumbs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\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}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a','Api.','\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}).catch(err\x20=>\x20{\x0a','\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$confirm(\x27此操作将永久删除,\x20是否继续?\x27,\x20\x27提示\x27,\x20{confirmButtonText:\x20\x27确定\x27,cancelButtonText:\x20\x27取消\x27,type:\x20\x27warning\x27}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20this.$router.back();\x0a','\x20\x20\x20\x20mounted(){\x0a','</el-select>','<template\x20#default=\x22scope\x22>','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','endsWith',':\x20item.','defineProperty','search','_start\x22\x20placeholder=\x22选择','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','\x20\x20\x20\x20},\x0a','tags','\x22\x20clearable>','default','<el-select-search\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','<template>\x0a\x20\x20\x20\x20','<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','</el-form-item>','_end\x22\x20placeholder=\x22选择','timestamp','padEnd','/template/','\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','toString','\x22\x20:limit=\x225\x22\x20/>','apply','apps/','__esModule','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/list/index.vue','\x22\x20placeholder=\x22选择','\x22\x20clearable/>','<el-input\x20v-model=\x22search.','1824450XbnWTq','<el-select\x20v-model=\x22formdata.','.hasPrem()\x22>\x0a','/edit\x27\x0a','<el-date-picker\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false,\x20this.$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','Comment','<el-input\x20v-model.number=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20/>','</template>','/vue','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a','36xODqsz','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a','writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','/pages/','\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','logo','2XJvRlj','existsSync','\x20label=\x22','<template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20getDetail(','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','.remove({\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20:min=\x221\x22\x20:max=\x22100\x22\x20clearable/>','\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-select-tags\x20v-model=\x22formdata.','datetime','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','/add\x27\x0a','<el-input-number\x20v-model=\x22search.','\x22\x20placeholder=\x22请选择','created_at','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20/>','updated_at','string','\x20}).then(res=>{\x0a','/pages/apps/','\x22\x20:min=\x221\x22\x20/>','<page-images\x20v-model=\x22formdata.','date','2377804pgvmmW','\x20\x20\x20\x20methods:\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','_id','2932013csNIsj','<el-input-number\x20v-model=\x22formdata.','thumb','Type','/edit?','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20item\x20要保存的数据\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','getProp','<el-select-search\x20v-model=\x22search.','\x20\x20\x20\x20</page-form>\x0a','</script>\x0a','<template\x20#reference>','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','5398280DsfikH','\x20}).then(res=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.LoadDatas()\x20,\x20this.$notify.success(res?.message\x20||\x20\x27删除成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false\x20,\x20this.$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(()=>{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a}\x0a</script>','\x22\x20api=\x22','\x22\x20value=\x22','\x20\x20\x20\x20data(){\x0a','=${scope.row.','_ids','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a','1004210ypzTck','displayorder','(item).then(res=>{\x0a','$appsApi.','number','getEnum','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','\x22\x20placeholder=\x22请输入','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<a\x20:href=\x22scope.row.','\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\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20','3984354IlnIMC','../helper','</el-popover>','mediumtext','apps-','<el-date-picker\x20v-model=\x22formdata.','<page-editor\x20v-model=\x22formdata.','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','6xHMQTN','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','imgs','substr','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','/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','dirname','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','deleted_at','export\x20default\x20{\x0a','<el-input\x20v-model=\x22formdata.','add','indexOf','longtext','cwd','enum','import\x20{\x20','img','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-form-item\x20label=\x22','<el-option\x20label=\x22',')\x20{\x0a','.add.hasPrem()\x22\x20@click=\x22$router.push(`/','(((.+)+)+)+$','\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','1822390PxYNXQ','AddRule,\x0a','\x22\x20split=\x22-\x22\x20clearable/>'];a13_0x11f3=function(){return _0x45f8c7;};return a13_0x11f3();}exports[a13_0x372d56(0x1da)]=default_1;async function createIndex({moduleName:_0x2bd615,controller:_0x69ac37,tablestartUpShort:_0xb8ca40,tablestartUpShort2:_0x4b6717,Primary:_0x3d57ec,Fields:_0x45fd71,apporbasic:_0x550ef5}){const _0x3f6c21=a13_0x372d56;let _0x289acc=process[_0x3f6c21(0x1a2)]()+_0x3f6c21(0x1fa)+(typeof _0x69ac37==_0x3f6c21(0x21b)?'/'+_0x69ac37:'');_0x2bd615?_0x289acc=_0x289acc+(_0x3f6c21(0x21d)+_0x2bd615+_0x3f6c21(0x1e3)+_0x4b6717+'/list/index.vue'):_0x289acc=_0x289acc+(_0x3f6c21(0x202)+_0x550ef5+_0x3f6c21(0x1e3)+_0x4b6717+_0x3f6c21(0x1eb));if(!fs[_0x3f6c21(0x208)](_0x289acc)){const _0xbb3c25=(typeof _0x2bd615==_0x3f6c21(0x21b)?_0x3f6c21(0x240)+_0x2bd615+'.':'$'+_0x550ef5+_0x3f6c21(0x1c7))+(''+_0xb8ca40);let _0x3399f8=_0x3f6c21(0x1b6)+('\x22'+_0x3d57ec[_0x3f6c21(0x1be)]+'\x22')[_0x3f6c21(0x1e2)](0x14)+(_0x3f6c21(0x209)+(_0x3d57ec['Comment']||'编号')+_0x3f6c21(0x20c));for(let _0x261556 in _0x45fd71){const _0x498768=_0x45fd71[_0x261556];if([_0x3f6c21(0x217),_0x3f6c21(0x21a),_0x3f6c21(0x19c),'displayorder'][_0x3f6c21(0x1a0)](_0x261556)!=-0x1)continue;if(_0x261556[_0x3f6c21(0x197)](-0x3)==_0x3f6c21(0x1a5)||_0x261556[_0x3f6c21(0x197)](-0x5)==_0x3f6c21(0x227)||_0x261556=='thumb'||_0x261556[_0x3f6c21(0x197)](-0x4)==_0x3f6c21(0x206)||_0x261556=='logo')_0x3399f8+='\x0a'+_0x3f6c21(0x1ea)+_0x3f6c21(0x1b6)+('\x22'+_0x261556+'\x22')[_0x3f6c21(0x1e2)](0x14)+(_0x3f6c21(0x209)+(_0x498768[_0x3f6c21(0x1f7)]||_0x498768[_0x3f6c21(0x1be)])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x3399f8+='\x0a'+_0x3f6c21(0x195)+_0x3f6c21(0x1cf),_0x3399f8+='\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-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0x3399f8+='\x0a'+_0x3f6c21(0x1a6)+(_0x3f6c21(0x246)+_0x261556+_0x3f6c21(0x1f5)),_0x3399f8+='\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'+('<img\x20:src=\x22scope.row.'+_0x261556+_0x3f6c21(0x213)),_0x3399f8+='\x0a'+_0x3f6c21(0x1a6)+'</a>',_0x3399f8+='\x0a'+_0x3f6c21(0x1a6)+_0x3f6c21(0x230),_0x3399f8+='\x0a'+_0x3f6c21(0x189)+(_0x3f6c21(0x1bb)+_0x261556+'\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>'),_0x3399f8+='\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'+_0x3f6c21(0x1f9),_0x3399f8+='\x0a'+_0x3f6c21(0x193)+_0x3f6c21(0x18d),_0x3399f8+='\x0a'+_0x3f6c21(0x195)+_0x3f6c21(0x1f9),_0x3399f8+='\x0a'+_0x3f6c21(0x1ea)+'</el-table-column>';else['text',_0x3f6c21(0x1a1)][_0x3f6c21(0x1a0)]((0x0,helper_1['getProp'])(_0x498768[_0x3f6c21(0x228)]))==-0x1&&(_0x3399f8+='\x0a'+_0x3f6c21(0x1ea)+_0x3f6c21(0x1b6)+('\x22'+_0x261556+'\x22')[_0x3f6c21(0x1e2)](0x14)+(_0x3f6c21(0x209)+(_0x498768['Comment']||_0x498768['Field'])+_0x3f6c21(0x23b)));}fs[_0x3f6c21(0x204)]((0x0,path_1[_0x3f6c21(0x19a)])(_0x289acc),{'recursive':!![]}),fs[_0x3f6c21(0x200)](_0x289acc,_0x3f6c21(0x1de)+_0xbb3c25+_0x3f6c21(0x1aa)+(_0x2bd615?_0x3f6c21(0x18f)+_0x2bd615+'/':_0x550ef5+'/')+_0x4b6717+_0x3f6c21(0x199)+_0x3399f8+_0x3f6c21(0x1ac)+_0xbb3c25+_0x3f6c21(0x1bc)+(_0x2bd615?_0x3f6c21(0x18f)+_0x2bd615+'/':_0x550ef5+'/')+_0x4b6717+_0x3f6c21(0x229)+_0x3d57ec[_0x3f6c21(0x1be)]+_0x3f6c21(0x238)+_0x3d57ec[_0x3f6c21(0x1be)]+'}`)\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'+_0xbb3c25+'.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.'+_0xbb3c25+'.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.'+_0x3d57ec[_0x3f6c21(0x1be)]+_0x3f6c21(0x1ca)+_0xbb3c25+_0x3f6c21(0x20d)+_0x3d57ec[_0x3f6c21(0x1be)]+_0x3f6c21(0x1d2)+_0x3d57ec[_0x3f6c21(0x1be)]+_0x3f6c21(0x234),'utf-8');}}async function createSearch({moduleName:_0x115ab6,tablestartUpShort2:_0x5a002b,controller:_0x2d6bef,Primary:_0x1569cd,Fields:_0x5d13d2,apporbasic:_0xa4d8f}){const _0x3251cd=a13_0x372d56;let _0x5a4724=process['cwd']()+_0x3251cd(0x1fa)+(typeof _0x2d6bef==_0x3251cd(0x21b)?'/'+_0x2d6bef:'');_0x115ab6?_0x5a4724=_0x5a4724+(_0x3251cd(0x21d)+_0x115ab6+_0x3251cd(0x1e3)+_0x5a002b+_0x3251cd(0x1b9)):_0x5a4724=_0x5a4724+(_0x3251cd(0x202)+_0xa4d8f+'/template/'+_0x5a002b+'/list/components/search.vue');if(!fs[_0x3251cd(0x208)](_0x5a4724)){let _0x177e49='';_0x177e49+='\x0a'+_0x3251cd(0x18a)+(_0x3251cd(0x1a7)+(_0x1569cd[_0x3251cd(0x1f7)]||'编号')+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+(_0x3251cd(0x1ee)+_0x1569cd[_0x3251cd(0x1be)]+_0x3251cd(0x244)+(_0x1569cd[_0x3251cd(0x1f7)]||'编号')+_0x3251cd(0x1ed)),_0x177e49+='\x0a'+'\x20\x20\x20\x20'+_0x3251cd(0x1df);for(let _0x5f4a65 in _0x5d13d2){const _0x14f7af=_0x5d13d2[_0x5f4a65];if([_0x3251cd(0x21a),'deleted_at',_0x3251cd(0x23e)][_0x3251cd(0x1a0)](_0x5f4a65)!=-0x1)continue;if(_0x5f4a65[_0x3251cd(0x197)](-0x3)==_0x3251cd(0x1b4))_0x177e49+='\x0a'+'\x20\x20\x20\x20'+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+(_0x3251cd(0x215)+_0x5f4a65+_0x3251cd(0x244)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x20f)),_0x177e49+='\x0a'+'\x20\x20\x20\x20'+_0x3251cd(0x1df)+'\x0a';else{if(_0x5f4a65[_0x3251cd(0x1d1)](_0x3251cd(0x224))){let _0x13faed=''+(typeof _0x2d6bef==_0x3251cd(0x21b)?_0x2d6bef+'/':'')+(_0x115ab6?_0x115ab6+'/':'')+_0x5a002b;_0x177e49+='\x0a'+_0x3251cd(0x1fc)+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x19b)+(_0x3251cd(0x22d)+_0x5f4a65+_0x3251cd(0x235)+_0x13faed+_0x3251cd(0x1fb)),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0x3251cd(0x22c)])(_0x14f7af[_0x3251cd(0x228)])){case _0x3251cd(0x1a3):_0x177e49+='\x0a'+'\x20\x20\x20\x20'+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select\x20v-model=\x22search.'+_0x5f4a65+_0x3251cd(0x216)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x1d9));for(let _0x4dae6f of(0x0,helper_1['getEnum'])(_0x14f7af[_0x3251cd(0x228)])){_0x177e49+='\x0a'+_0x3251cd(0x19b)+(_0x3251cd(0x1a8)+_0x4dae6f+'\x22\x20value=\x22'+_0x4dae6f+'\x22\x20/>');}_0x177e49+='\x0a'+_0x3251cd(0x1fc)+_0x3251cd(0x1ce),_0x177e49+='\x0a'+'\x20\x20\x20\x20'+_0x3251cd(0x1df)+'\x0a';break;case _0x3251cd(0x220):_0x177e49+='\x0a'+_0x3251cd(0x18a)+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+(_0x3251cd(0x1f3)+_0x5f4a65+_0x3251cd(0x1d5)+_0x14f7af['Comment']+'开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x177e49+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x177e49+='\x0a'+_0x3251cd(0x18a)+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af['Field'])+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+('<el-date-picker\x20v-model=\x22search.'+_0x5f4a65+_0x3251cd(0x1e0)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x245)),_0x177e49+='\x0a'+_0x3251cd(0x18a)+_0x3251cd(0x1df)+'\x0a';break;case _0x3251cd(0x212):_0x177e49+='\x0a'+_0x3251cd(0x18a)+('<el-form-item\x20label=\x22'+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af['Field'])+'\x22>'),_0x177e49+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3251cd(0x1f3)+_0x5f4a65+_0x3251cd(0x1d5)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x1c0)),_0x177e49+='\x0a'+_0x3251cd(0x18a)+_0x3251cd(0x1df)+'\x0a',_0x177e49+='\x0a'+_0x3251cd(0x18a)+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af['Field'])+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+(_0x3251cd(0x1f3)+_0x5f4a65+_0x3251cd(0x1e0)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x232)),_0x177e49+='\x0a'+_0x3251cd(0x18a)+_0x3251cd(0x1df)+'\x0a';break;case'timestamp':_0x177e49+='\x0a'+_0x3251cd(0x18a)+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3251cd(0x1f3)+_0x5f4a65+'_start\x22\x20placeholder=\x22选择'+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x1c0)),_0x177e49+='\x0a'+'\x20\x20\x20\x20'+_0x3251cd(0x1df)+'\x0a',_0x177e49+='\x0a'+'\x20\x20\x20\x20'+(_0x3251cd(0x1a7)+(_0x14f7af['Comment']||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3251cd(0x1f3)+_0x5f4a65+_0x3251cd(0x1e0)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x232)),_0x177e49+='\x0a'+_0x3251cd(0x18a)+_0x3251cd(0x1df)+'\x0a';break;case _0x3251cd(0x21b):_0x177e49+='\x0a'+'\x20\x20\x20\x20'+(_0x3251cd(0x1a7)+(_0x14f7af[_0x3251cd(0x1f7)]||_0x14f7af[_0x3251cd(0x1be)])+'\x22>'),_0x177e49+='\x0a'+_0x3251cd(0x1fc)+('<el-input\x20v-model=\x22search.'+_0x5f4a65+_0x3251cd(0x244)+_0x14f7af[_0x3251cd(0x1f7)]+_0x3251cd(0x1ed)),_0x177e49+='\x0a'+_0x3251cd(0x18a)+_0x3251cd(0x1df)+'\x0a';}}}fs[_0x3251cd(0x204)]((0x0,path_1[_0x3251cd(0x19a)])(_0x5a4724),{'recursive':!![]}),fs[_0x3251cd(0x200)](_0x5a4724,_0x3251cd(0x1dd)+_0x177e49+_0x3251cd(0x210),_0x3251cd(0x1b1));}}async function createAddOrEdit({moduleName:_0x361562,controller:_0x2b1f46,tablestartUpShort:_0x23f1dd,tablestartUpShort2:_0x30d673,Primary:_0x2f20fd,Fields:_0x42b3e5,apporbasic:_0xb12e62,Comment:_0x2764b6},_0x39e857=a13_0x372d56(0x19f)){const _0x3a3811=a13_0x372d56;let _0x417c88=process[_0x3a3811(0x1a2)]()+_0x3a3811(0x1fa)+(typeof _0x2b1f46=='string'?'/'+_0x2b1f46:'');_0x361562?_0x417c88=_0x417c88+(_0x3a3811(0x21d)+_0x361562+_0x3a3811(0x1e3)+_0x30d673+'/'+_0x39e857+_0x3a3811(0x1bf)):_0x417c88=_0x417c88+(_0x3a3811(0x202)+_0xb12e62+'/template/'+_0x30d673+'/'+_0x39e857+'/index.vue');if(!fs['existsSync'](_0x417c88)){const _0x1e6fd6=(typeof _0x361562==_0x3a3811(0x21b)?_0x3a3811(0x240)+_0x361562+'.':'$'+_0xb12e62+_0x3a3811(0x1c7))+(''+_0x23f1dd);let _0x3ba9b5='';for(let _0x140522 in _0x42b3e5){const _0x3b9ad8=_0x42b3e5[_0x140522];if([_0x3a3811(0x217),'updated_at',_0x3a3811(0x19c),_0x3a3811(0x23e)][_0x3a3811(0x1a0)](_0x140522)!=-0x1)continue;if(_0x140522[_0x3a3811(0x197)](-0x4)==_0x3a3811(0x196)||_0x140522['substr'](-0x5)==_0x3a3811(0x1c2))_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+'\x22\x20prop=\x22'+_0x140522+'\x22\x20class=\x22block\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x21f)+_0x140522+_0x3a3811(0x1e6)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+'</el-form-item>'+'\x0a';else{if(_0x140522['substr'](-0x3)==_0x3a3811(0x1a5)||_0x140522[_0x3a3811(0x197)](-0x5)==_0x3a3811(0x227)||_0x140522==_0x3a3811(0x227)||_0x140522[_0x3a3811(0x197)](-0x4)=='logo'||_0x140522=='logo')_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+_0x3a3811(0x1bd)),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x21f)+_0x140522+'\x22\x20:limit=\x221\x22\x20/>'),_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3a3811(0x1df)+'\x0a';else{if(_0x140522['substr'](-0x4)==_0x3a3811(0x1d8))_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3a3811(0x211)+_0x140522+'\x22\x20placeholder=\x22请输入或选择'+_0x3b9ad8['Comment']+_0x3a3811(0x1af)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';else{if(_0x140522['substr'](-0x3)==_0x3a3811(0x1b4))_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+('<el-input-number\x20v-model=\x22formdata.'+_0x140522+_0x3a3811(0x244)+_0x3b9ad8[_0x3a3811(0x1f7)]+_0x3a3811(0x1b0)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';else{if(_0x140522['substr'](-0x4)==_0x3a3811(0x239))_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+('<el-form-item\x20label=\x22'+(_0x3b9ad8['Comment']||_0x3b9ad8['Field'])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+('<el-input\x20v-model=\x22formdata.'+_0x140522+_0x3a3811(0x244)+_0x3b9ad8['Comment']+_0x3a3811(0x1ed)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';else{if(_0x140522[_0x3a3811(0x197)](-0x3)==_0x3a3811(0x224)){let _0x4d812d=''+(typeof _0x2b1f46==_0x3a3811(0x21b)?_0x2b1f46+'/':'')+(_0x361562?_0x361562+'/':'')+_0x30d673;_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8['Field'])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x1db)+_0x140522+'\x22\x20api=\x22'+_0x4d812d+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3a3811(0x1df)+'\x0a';}else switch((0x0,helper_1[_0x3a3811(0x22c)])(_0x3b9ad8[_0x3a3811(0x228)])){case _0x3a3811(0x241):_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x226)+_0x140522+_0x3a3811(0x244)+_0x3b9ad8[_0x3a3811(0x1f7)]+_0x3a3811(0x21e)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+'</el-form-item>'+'\x0a';break;case _0x3a3811(0x1a3):_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x1f0)+_0x140522+_0x3a3811(0x216)+_0x3b9ad8[_0x3a3811(0x1f7)]+'\x22\x20clearable>');for(let _0x4be2e2 of(0x0,helper_1[_0x3a3811(0x242)])(_0x3b9ad8[_0x3a3811(0x228)])){_0x3ba9b5+='\x0a'+_0x3a3811(0x1ea)+(_0x3a3811(0x1a8)+_0x4be2e2+_0x3a3811(0x236)+_0x4be2e2+_0x3a3811(0x219));}_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+_0x3a3811(0x1ce),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';break;case'text':_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8['Comment']||_0x3b9ad8[_0x3a3811(0x1be)])+'\x22\x20prop=\x22'+_0x140522+_0x3a3811(0x1bd)),_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x140522+_0x3a3811(0x1b3)+_0x3b9ad8[_0x3a3811(0x1f7)]+_0x3a3811(0x192)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+'</el-form-item>'+'\x0a';break;case'longtext':_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+('<el-form-item\x20label=\x22'+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+'\x22\x20prop=\x22'+_0x140522+_0x3a3811(0x1bd)),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x191)+_0x140522+_0x3a3811(0x219)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';break;case _0x3a3811(0x18e):_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+_0x3a3811(0x1bd)),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+('<page-editor\x20v-model=\x22formdata.'+_0x140522+_0x3a3811(0x219)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+'</el-form-item>'+'\x0a';break;case _0x3a3811(0x220):_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+'\x22\x20prop=\x22'+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x190)+_0x140522+_0x3a3811(0x1ec)+_0x3b9ad8[_0x3a3811(0x1f7)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+'</el-form-item>'+'\x0a';break;case _0x3a3811(0x212):_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8['Comment']||_0x3b9ad8['Field'])+'\x22\x20prop=\x22'+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3a3811(0x190)+_0x140522+_0x3a3811(0x1ec)+_0x3b9ad8['Comment']+_0x3a3811(0x218)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+'</el-form-item>'+'\x0a';break;case _0x3a3811(0x1e1):_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+('<el-form-item\x20label=\x22'+(_0x3b9ad8['Comment']||_0x3b9ad8[_0x3a3811(0x1be)])+'\x22\x20prop=\x22'+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x190)+_0x140522+_0x3a3811(0x1ec)+_0x3b9ad8[_0x3a3811(0x1f7)]+_0x3a3811(0x218)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';break;default:_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+(_0x3a3811(0x1a7)+(_0x3b9ad8[_0x3a3811(0x1f7)]||_0x3b9ad8[_0x3a3811(0x1be)])+_0x3a3811(0x1b2)+_0x140522+'\x22>'),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+(_0x3a3811(0x19e)+_0x140522+'\x22\x20placeholder=\x22请输入'+_0x3b9ad8[_0x3a3811(0x1f7)]+_0x3a3811(0x1ed)),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';}}}}}}}_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x23a),_0x3ba9b5+='\x0a'+_0x3a3811(0x19b)+_0x3a3811(0x1f8),_0x3ba9b5+='\x0a'+_0x3a3811(0x1fc)+_0x3a3811(0x1df)+'\x0a';let _0x2d5b7b=_0x3a3811(0x20a);_0x2d5b7b+='\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22'+(_0x39e857==_0x3a3811(0x19f)?'添加'+_0x2764b6:'编辑'+_0x2764b6)+_0x3a3811(0x1d6)+_0x1e6fd6+'.'+(_0x39e857==_0x3a3811(0x19f)?_0x3a3811(0x19f):_0x3a3811(0x1ba))+_0x3a3811(0x1f1),_0x2d5b7b+=_0x3a3811(0x1fc)+_0x3ba9b5+'\x0a',_0x2d5b7b+=_0x3a3811(0x231),_0x2d5b7b+=_0x3a3811(0x1cb)+_0x1e6fd6+'.'+(_0x39e857=='add'?_0x3a3811(0x19f):_0x3a3811(0x1ba))+'.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',_0x2d5b7b+=_0x3a3811(0x1c8),_0x2d5b7b+=_0x3a3811(0x22e),_0x2d5b7b+='</template>\x0a',_0x2d5b7b+=_0x3a3811(0x1b8);if(_0x39e857==_0x3a3811(0x19f))_0x2d5b7b+=_0x3a3811(0x1a4)+_0x23f1dd+'AddRule\x20}\x20from\x20\x27@'+(_0x361562?_0x3a3811(0x1e8)+_0x361562:_0xb12e62)+'/validators/'+_0x23f1dd+_0x3a3811(0x214);else _0x39e857==_0x3a3811(0x1ba)&&(_0x2d5b7b+=_0x3a3811(0x1a4)+_0x23f1dd+'EditRule\x20}\x20from\x20\x27@'+(_0x361562?_0x3a3811(0x1e8)+_0x361562:_0xb12e62)+_0x3a3811(0x1b7)+_0x23f1dd+_0x3a3811(0x1f2));_0x2d5b7b+=_0x3a3811(0x19d),_0x2d5b7b+=_0x3a3811(0x237),_0x2d5b7b+=_0x3a3811(0x203),_0x2d5b7b+=_0x3a3811(0x1b5),_0x2d5b7b+=_0x3a3811(0x1ff);if(_0x39e857==_0x3a3811(0x19f))_0x2d5b7b+=_0x3a3811(0x223)+_0x23f1dd+_0x3a3811(0x1ae);else _0x39e857==_0x3a3811(0x1ba)&&(_0x2d5b7b+=_0x3a3811(0x223)+_0x23f1dd+'EditRule,\x0a');_0x2d5b7b+=_0x3a3811(0x1f6),_0x2d5b7b+='\x20\x20\x20\x20},\x0a',_0x39e857==_0x3a3811(0x1ba)&&(_0x2d5b7b+=_0x3a3811(0x1cd),_0x2d5b7b+=_0x3a3811(0x198)+_0x2f20fd[_0x3a3811(0x1be)]+_0x3a3811(0x1c1),_0x2d5b7b+=_0x3a3811(0x1d7)),_0x2d5b7b+=_0x3a3811(0x222),_0x2d5b7b+=_0x3a3811(0x1dc),_0x2d5b7b+=_0x3a3811(0x243),_0x2d5b7b+=_0x3a3811(0x22a),_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a',_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a',_0x2d5b7b+=_0x3a3811(0x23c),_0x2d5b7b+=_0x3a3811(0x1c6),_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.'+_0x1e6fd6+'.'+(_0x39e857==_0x3a3811(0x19f)?_0x3a3811(0x19f):_0x3a3811(0x1ba))+_0x3a3811(0x23f),_0x2d5b7b+=_0x3a3811(0x1cc),_0x2d5b7b+=_0x3a3811(0x205),_0x2d5b7b+=_0x3a3811(0x1f4),_0x2d5b7b+=_0x3a3811(0x20e),_0x2d5b7b+=_0x3a3811(0x188),_0x2d5b7b+=_0x3a3811(0x1d0),_0x39e857==_0x3a3811(0x1ba)&&(_0x2d5b7b+=_0x3a3811(0x1dc),_0x2d5b7b+=_0x3a3811(0x1fd),_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a',_0x2d5b7b+=_0x3a3811(0x20b)+_0x2f20fd[_0x3a3811(0x1be)]+')\x20{\x0a',_0x2d5b7b+=_0x3a3811(0x201)+_0x2f20fd[_0x3a3811(0x1be)]+_0x3a3811(0x1a9),_0x2d5b7b+=_0x3a3811(0x1c3),_0x2d5b7b+=_0x3a3811(0x1c4)+_0x1e6fd6+'.detail({\x20'+_0x2f20fd[_0x3a3811(0x1be)]+_0x3a3811(0x21c),_0x2d5b7b+='\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',_0x2d5b7b+=_0x3a3811(0x1c9),_0x2d5b7b+=_0x3a3811(0x1e4),_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a',_0x2d5b7b+=_0x3a3811(0x22b),_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a',_0x2d5b7b+=_0x3a3811(0x1c5),_0x2d5b7b+='\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a'),_0x2d5b7b+='\x20\x20\x20\x20},\x0a',_0x2d5b7b+='}\x0a',_0x2d5b7b+=_0x3a3811(0x22f),fs[_0x3a3811(0x204)]((0x0,path_1[_0x3a3811(0x19a)])(_0x417c88),{'recursive':!![]}),fs['writeFileSync'](_0x417c88,_0x2d5b7b,_0x3a3811(0x1b1));}}
|
|
1
|
+
const a13_0xa96bc4=a13_0x43e9;(function(_0xf6c1f0,_0x3492f3){const _0x467f1c=a13_0x43e9,_0x267e15=_0xf6c1f0();while(!![]){try{const _0x1a05cb=parseInt(_0x467f1c(0x1ae))/0x1+parseInt(_0x467f1c(0x17a))/0x2*(-parseInt(_0x467f1c(0x12f))/0x3)+-parseInt(_0x467f1c(0x1c8))/0x4+parseInt(_0x467f1c(0x1cc))/0x5*(-parseInt(_0x467f1c(0x1c9))/0x6)+-parseInt(_0x467f1c(0x148))/0x7*(parseInt(_0x467f1c(0x168))/0x8)+-parseInt(_0x467f1c(0x132))/0x9*(parseInt(_0x467f1c(0x19b))/0xa)+parseInt(_0x467f1c(0x183))/0xb;if(_0x1a05cb===_0x3492f3)break;else _0x267e15['push'](_0x267e15['shift']());}catch(_0x52047f){_0x267e15['push'](_0x267e15['shift']());}}}(a13_0x5b34,0x1de16));const a13_0x31d666=(function(){let _0x32f0ed=!![];return function(_0x58f399,_0x57f0e2){const _0x10f8fb=_0x32f0ed?function(){const _0x5c57f7=a13_0x43e9;if(_0x57f0e2){const _0x1676ad=_0x57f0e2[_0x5c57f7(0x1d3)](_0x58f399,arguments);return _0x57f0e2=null,_0x1676ad;}}:function(){};return _0x32f0ed=![],_0x10f8fb;};}()),a13_0x11610b=a13_0x31d666(this,function(){const _0x3e764a=a13_0x43e9;return a13_0x11610b[_0x3e764a(0x1c2)]()[_0x3e764a(0x1ca)](_0x3e764a(0x184))[_0x3e764a(0x1c2)]()[_0x3e764a(0x15e)](a13_0x11610b)[_0x3e764a(0x1ca)](_0x3e764a(0x184));});a13_0x11610b();'use strict';function a13_0x5b34(){const _0x308802=['writeFileSync','\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\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20:min=\x221\x22\x20/>','string','\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\x27\x0a','\x22\x20placeholder=\x22请输入','/vue','<el-input-number\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Type','<el-select\x20v-model=\x22formdata.','</el-table-column>','21dPkPFu','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','<el-date-picker\x20v-model=\x22formdata.','<template\x20#reference>','getEnum','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x20\x20\x20\x20','text','edit','\x20\x20\x20\x20},\x0a','/pages/','mkdirSync','displayorder','_ids','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',');\x0a','padEnd','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20','<el-date-picker\x20v-model=\x22search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','constructor','timestamp','img','/pages/apps/','\x22\x20placeholder=\x22选择','EditRule,\x0a','logo','/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','<el-option\x20label=\x22','Api.','317624zmhBqK','\x22\x20\x20placeholder=\x22请输入','\x22\x20class=\x22block\x22>','.remove({\x20','<img\x20:src=\x22scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$router.back();\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20this.getDetail(this.$route.query?.','\x22\x20split=\x22-\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','</el-popover>','\x22\x20clearable/>','<script>\x0a','<el-select-search\x20v-model=\x22search.','\x22\x20style=\x22width:\x2040px;\x20cursor:pointer\x22\x20/>','.hasPrem()\x22>\x0a','dirname','getProp','2UmiDOa','/validators/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formrule:\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(','\x0a</template>\x0a<script>\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20props:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a\x20\x20\x20\x20}\x0a}\x0a</script>','number','</a>','Comment','existsSync','3858217jdQSDH','(((.+)+)+)+$','\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','<el-input\x20v-model=\x22formdata.','substr','(item).then(res=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','tags','indexOf','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a','\x22\x20prop=\x22','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>',':\x20item.','imgs','cwd','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20mounted(){\x0a','Field','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','enum','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a','<el-input-number\x20v-model=\x22formdata.','deleted_at','601900iHzwyI','AddRule,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true,\x20this.formdata\x20=\x20{}\x0a','\x22\x20value=\x22','\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}else{\x0a','num','$appsApi.','/edit?','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22','<template\x20#default=\x22scope\x22>','/index.vue','\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@param\x20item\x20要保存的数据\x0a','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20label=\x22','\x22\x20:model=\x22formdata\x22\x20:rules=\x22formrule\x22\x20:disabled=\x22!','path','\x22\x20/>','213541PPpsyo','<el-form-item\x20label=\x22','\x22\x20api=\x22','_id','\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a','apps-','date','/list/index.vue','</script>\x0a','_start\x22\x20placeholder=\x22选择','.remove.hasPrem()\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</page-table>\x0a\x20\x20\x20\x20</page>\x0a</template>\x0a<script>\x0aimport\x20search\x20from\x20\x22./components/search.vue\x22\x0aexport\x20default\x20{\x0a\x20\x20\x20\x20components:\x20{\x20search\x20},\x0a\x20\x20\x20\x20data(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20table:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data:[],\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search:{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_page:1,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_size:20,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20_count:0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20mounted()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20Object.assign(this.table.search,this.$route.params,this.$route.query),this.LoadDatas();\x0a\x20\x20\x20\x20},\x0a\x20\x20\x20\x20methods:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20/**\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取数据列表\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20page\x20分页-当前页\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a\x20\x20\x20\x20\x20\x20\x20\x20LoadDatas(page\x20,\x20size,\x20sortable\x20=\x20{}){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page\x20&&\x20(this.table.search._page\x20=\x20page),size\x20&&\x20(this.table.search._size\x20=\x20size),this.loading\x20=\x20true;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.','\x20\x20\x20\x20<page-form\x20ref=\x22form\x22\x20title=\x22','thumb','/template/','import\x20{\x20','.add.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\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','endsWith','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','toString','<el-table-column\x20prop=','</el-select>','_end\x22\x20placeholder=\x22选择','\x22\x20:limit=\x221\x22\x20/>','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','299548gDNsdu','2250nKJSkw','search','<page-images\x20v-model=\x22formdata.','2095VauHQE','apps/','utf-8','\x20\x20\x20\x20data(){\x0a','\x20\x20\x20\x20\x20\x20\x20\x20handlerSave(){\x0a','datetime','<page-editor\x20v-model=\x22formdata.','apply','default','\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>\x0a','updated_at','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','\x22\x20placeholder=\x22请选择','add','.detail({\x20','\x22\x20placeholder=\x22请输入或选择','</template>','<el-input\x20v-model=\x22search.','mediumtext','AddRule\x20}\x20from\x20\x27@','91761MEtDPg','</el-form-item>','longtext','9UUNlSq','\x22\x20clearable>','defineProperty','\x20}).then(res=>{\x0a','__esModule','\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20保存\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','thumbs'];a13_0x5b34=function(){return _0x308802;};return a13_0x5b34();}Object[a13_0xa96bc4(0x134)](exports,a13_0xa96bc4(0x136),{'value':!![]});const fs=require('fs'),path_1=require(a13_0xa96bc4(0x1ac)),helper_1=require('../helper');function a13_0x43e9(_0x200a80,_0x2ef146){const _0x46a4f0=a13_0x5b34();return a13_0x43e9=function(_0x11610b,_0x31d666){_0x11610b=_0x11610b-0x127;let _0x5b341f=_0x46a4f0[_0x11610b];return _0x5b341f;},a13_0x43e9(_0x200a80,_0x2ef146);}async function default_1({moduleName:_0x45e4e1,controller:_0x2812b8,tablestartUpShort:_0x273a6b,tablestartUpShort2:_0x112b49,Primary:_0xaddfcf,Fields:_0x3989eb,apporbasic:_0x467aa0,Comment:_0x557eca}){const _0x589445=a13_0xa96bc4;await createIndex({'moduleName':_0x45e4e1,'controller':_0x2812b8,'tablestartUpShort':_0x273a6b,'tablestartUpShort2':_0x112b49,'Primary':_0xaddfcf,'Fields':_0x3989eb,'apporbasic':_0x467aa0}),await createSearch({'moduleName':_0x45e4e1,'controller':_0x2812b8,'tablestartUpShort2':_0x112b49,'Primary':_0xaddfcf,'Fields':_0x3989eb,'apporbasic':_0x467aa0}),await createAddOrEdit({'moduleName':_0x45e4e1,'controller':_0x2812b8,'tablestartUpShort':_0x273a6b,'tablestartUpShort2':_0x112b49,'Primary':_0xaddfcf,'Fields':_0x3989eb,'apporbasic':_0x467aa0,'Comment':_0x557eca},'add'),await createAddOrEdit({'moduleName':_0x45e4e1,'controller':_0x2812b8,'tablestartUpShort':_0x273a6b,'tablestartUpShort2':_0x112b49,'Primary':_0xaddfcf,'Fields':_0x3989eb,'apporbasic':_0x467aa0,'Comment':_0x557eca},_0x589445(0x150));}exports[a13_0xa96bc4(0x1d4)]=default_1;async function createIndex({moduleName:_0x28b971,controller:_0x3f6e8f,tablestartUpShort:_0x233c12,tablestartUpShort2:_0x2c04cb,Primary:_0x56e408,Fields:_0x36d245,apporbasic:_0x1744c0}){const _0x250e0e=a13_0xa96bc4;let _0xbe753b=process[_0x250e0e(0x191)]()+_0x250e0e(0x142)+(typeof _0x3f6e8f=='string'?'/'+_0x3f6e8f:'');_0x28b971?_0xbe753b=_0xbe753b+(_0x250e0e(0x161)+_0x28b971+_0x250e0e(0x1bb)+_0x2c04cb+_0x250e0e(0x1b5)):_0xbe753b=_0xbe753b+(_0x250e0e(0x152)+_0x1744c0+_0x250e0e(0x1bb)+_0x2c04cb+_0x250e0e(0x1b5));if(!fs[_0x250e0e(0x182)](_0xbe753b)){const _0x3c6c8f=(typeof _0x28b971==_0x250e0e(0x13e)?_0x250e0e(0x1a2)+_0x28b971+'.':'$'+_0x1744c0+_0x250e0e(0x167))+(''+_0x233c12);let _0x25835b=_0x250e0e(0x1c3)+('\x22'+_0x56e408[_0x250e0e(0x194)]+'\x22')[_0x250e0e(0x158)](0x14)+(_0x250e0e(0x1aa)+(_0x56e408[_0x250e0e(0x181)]||'编号')+'\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>');for(let _0x1e351e in _0x36d245){const _0x6f7a08=_0x36d245[_0x1e351e];if(['created_at',_0x250e0e(0x1d7),_0x250e0e(0x19a),_0x250e0e(0x154)]['indexOf'](_0x1e351e)!=-0x1)continue;if(_0x1e351e[_0x250e0e(0x187)](-0x3)==_0x250e0e(0x160)||_0x1e351e[_0x250e0e(0x187)](-0x5)==_0x250e0e(0x1ba)||_0x1e351e==_0x250e0e(0x1ba)||_0x1e351e['substr'](-0x4)==_0x250e0e(0x164)||_0x1e351e==_0x250e0e(0x164))_0x25835b+='\x0a'+_0x250e0e(0x1be)+_0x250e0e(0x1c3)+('\x22'+_0x1e351e+'\x22')[_0x250e0e(0x158)](0x14)+('\x20label=\x22'+(_0x6f7a08['Comment']||_0x6f7a08[_0x250e0e(0x194)])+_0x250e0e(0x1d8)),_0x25835b+='\x0a'+_0x250e0e(0x15a)+_0x250e0e(0x1a5),_0x25835b+='\x0a'+_0x250e0e(0x1d5)+'<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>',_0x25835b+='\x0a'+_0x250e0e(0x196)+('<a\x20:href=\x22scope.row.'+_0x1e351e+_0x250e0e(0x138)),_0x25835b+='\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'+('<img\x20:src=\x22scope.row.'+_0x1e351e+'\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>'),_0x25835b+='\x0a'+_0x250e0e(0x196)+_0x250e0e(0x180),_0x25835b+='\x0a'+_0x250e0e(0x196)+_0x250e0e(0x14b),_0x25835b+='\x0a'+_0x250e0e(0x144)+(_0x250e0e(0x16c)+_0x1e351e+_0x250e0e(0x176)),_0x25835b+='\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'+_0x250e0e(0x12b),_0x25835b+='\x0a'+_0x250e0e(0x1d5)+_0x250e0e(0x172),_0x25835b+='\x0a'+_0x250e0e(0x15a)+_0x250e0e(0x12b),_0x25835b+='\x0a'+_0x250e0e(0x1be)+_0x250e0e(0x147);else[_0x250e0e(0x14f),_0x250e0e(0x131)][_0x250e0e(0x18b)]((0x0,helper_1[_0x250e0e(0x179)])(_0x6f7a08[_0x250e0e(0x145)]))==-0x1&&(_0x25835b+='\x0a'+_0x250e0e(0x1be)+_0x250e0e(0x1c3)+('\x22'+_0x1e351e+'\x22')['padEnd'](0x14)+('\x20label=\x22'+(_0x6f7a08['Comment']||_0x6f7a08[_0x250e0e(0x194)])+_0x250e0e(0x14d)));}fs['mkdirSync']((0x0,path_1['dirname'])(_0xbe753b),{'recursive':!![]}),fs[_0x250e0e(0x13a)](_0xbe753b,'<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'+_0x3c6c8f+_0x250e0e(0x1bd)+(_0x28b971?_0x250e0e(0x1b3)+_0x28b971+'/':_0x1744c0+'/')+_0x2c04cb+_0x250e0e(0x165)+_0x25835b+'\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'+_0x3c6c8f+'.edit.hasPrem()\x22\x20@click=\x22$router.push(`/'+(_0x28b971?'apps-'+_0x28b971+'/':_0x1744c0+'/')+_0x2c04cb+_0x250e0e(0x1a3)+_0x56e408[_0x250e0e(0x194)]+'=${scope.row.'+_0x56e408['Field']+'}`)\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'+_0x3c6c8f+_0x250e0e(0x1b8)+_0x3c6c8f+'.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.'+_0x56e408[_0x250e0e(0x194)]+_0x250e0e(0x1a7)+_0x3c6c8f+_0x250e0e(0x16b)+_0x56e408['Field']+_0x250e0e(0x18f)+_0x56e408[_0x250e0e(0x194)]+_0x250e0e(0x13f),'utf-8');}}async function createSearch({moduleName:_0xa1ee49,tablestartUpShort2:_0x45085b,controller:_0x25e259,Primary:_0x252321,Fields:_0x116501,apporbasic:_0x5f02ca}){const _0x5f3749=a13_0xa96bc4;let _0x4863b7=process[_0x5f3749(0x191)]()+_0x5f3749(0x142)+(typeof _0x25e259==_0x5f3749(0x13e)?'/'+_0x25e259:'');_0xa1ee49?_0x4863b7=_0x4863b7+('/pages/apps/'+_0xa1ee49+'/template/'+_0x45085b+'/list/components/search.vue'):_0x4863b7=_0x4863b7+(_0x5f3749(0x152)+_0x5f02ca+_0x5f3749(0x1bb)+_0x45085b+'/list/components/search.vue');if(!fs['existsSync'](_0x4863b7)){let _0x379915='';_0x379915+='\x0a'+_0x5f3749(0x14e)+('<el-form-item\x20label=\x22'+(_0x252321[_0x5f3749(0x181)]||'编号')+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x15b)+(_0x5f3749(0x12c)+_0x252321['Field']+_0x5f3749(0x141)+(_0x252321[_0x5f3749(0x181)]||'编号')+_0x5f3749(0x173)),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130);for(let _0x677f87 in _0x116501){const _0x1bff13=_0x116501[_0x677f87];if([_0x5f3749(0x1d7),_0x5f3749(0x19a),_0x5f3749(0x154)][_0x5f3749(0x18b)](_0x677f87)!=-0x1)continue;if(_0x677f87[_0x5f3749(0x187)](-0x3)=='num')_0x379915+='\x0a'+'\x20\x20\x20\x20'+(_0x5f3749(0x1af)+(_0x1bff13[_0x5f3749(0x181)]||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5f3749(0x143)+_0x677f87+_0x5f3749(0x141)+_0x1bff13['Comment']+'\x22\x20:min=\x221\x22\x20:max=\x22100\x22\x20clearable/>'),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130)+'\x0a';else{if(_0x677f87[_0x5f3749(0x1c0)](_0x5f3749(0x1b1))){let _0x247fb8=''+(typeof _0x25e259==_0x5f3749(0x13e)?_0x25e259+'/':'')+(_0xa1ee49?_0xa1ee49+'/':'')+_0x45085b;_0x379915+='\x0a'+_0x5f3749(0x15b)+(_0x5f3749(0x1af)+(_0x1bff13['Comment']||_0x1bff13['Field'])+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x16e)+(_0x5f3749(0x175)+_0x677f87+_0x5f3749(0x1b0)+_0x247fb8+_0x5f3749(0x1c7)),_0x379915+='\x0a'+_0x5f3749(0x15b)+_0x5f3749(0x130)+'\x0a';}else switch((0x0,helper_1[_0x5f3749(0x179)])(_0x1bff13[_0x5f3749(0x145)])){case _0x5f3749(0x197):_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13['Comment']||_0x1bff13['Field'])+'\x22>'),_0x379915+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select\x20v-model=\x22search.'+_0x677f87+'\x22\x20placeholder=\x22请选择'+_0x1bff13['Comment']+_0x5f3749(0x133));for(let _0x22870c of(0x0,helper_1[_0x5f3749(0x14c)])(_0x1bff13[_0x5f3749(0x145)])){_0x379915+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5f3749(0x166)+_0x22870c+_0x5f3749(0x19e)+_0x22870c+'\x22\x20/>');}_0x379915+='\x0a'+_0x5f3749(0x15b)+_0x5f3749(0x1c4),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130)+'\x0a';break;case _0x5f3749(0x1b4):_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13[_0x5f3749(0x181)]||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5f3749(0x15c)+_0x677f87+_0x5f3749(0x1b7)+_0x1bff13['Comment']+_0x5f3749(0x1c1)),_0x379915+='\x0a'+_0x5f3749(0x14e)+'</el-form-item>'+'\x0a',_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13['Comment']||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x15b)+(_0x5f3749(0x15c)+_0x677f87+_0x5f3749(0x1c5)+_0x1bff13[_0x5f3749(0x181)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x379915+='\x0a'+'\x20\x20\x20\x20'+_0x5f3749(0x130)+'\x0a';break;case _0x5f3749(0x1d1):_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13[_0x5f3749(0x181)]||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x15b)+(_0x5f3749(0x15c)+_0x677f87+_0x5f3749(0x1b7)+_0x1bff13[_0x5f3749(0x181)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130)+'\x0a',_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13[_0x5f3749(0x181)]||_0x1bff13['Field'])+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x15b)+(_0x5f3749(0x15c)+_0x677f87+_0x5f3749(0x1c5)+_0x1bff13[_0x5f3749(0x181)]+_0x5f3749(0x1a9)),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130)+'\x0a';break;case _0x5f3749(0x15f):_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13[_0x5f3749(0x181)]||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x15b)+('<el-date-picker\x20v-model=\x22search.'+_0x677f87+'_start\x22\x20placeholder=\x22选择'+_0x1bff13[_0x5f3749(0x181)]+_0x5f3749(0x18e)),_0x379915+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13['Comment']||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5f3749(0x15c)+_0x677f87+_0x5f3749(0x1c5)+_0x1bff13[_0x5f3749(0x181)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130)+'\x0a';break;case _0x5f3749(0x13e):_0x379915+='\x0a'+_0x5f3749(0x14e)+(_0x5f3749(0x1af)+(_0x1bff13[_0x5f3749(0x181)]||_0x1bff13[_0x5f3749(0x194)])+'\x22>'),_0x379915+='\x0a'+_0x5f3749(0x15b)+(_0x5f3749(0x12c)+_0x677f87+_0x5f3749(0x141)+_0x1bff13[_0x5f3749(0x181)]+'\x22\x20clearable/>'),_0x379915+='\x0a'+_0x5f3749(0x14e)+_0x5f3749(0x130)+'\x0a';}}}fs[_0x5f3749(0x153)]((0x0,path_1[_0x5f3749(0x178)])(_0x4863b7),{'recursive':!![]}),fs['writeFileSync'](_0x4863b7,'<template>\x0a\x20\x20\x20\x20'+_0x379915+_0x5f3749(0x17e),_0x5f3749(0x1ce));}}async function createAddOrEdit({moduleName:_0x4d3a3d,controller:_0x48d5a3,tablestartUpShort:_0x579e53,tablestartUpShort2:_0x5c9d8c,Primary:_0x20a03e,Fields:_0x5e9233,apporbasic:_0x1b64c5,Comment:_0x127485},_0x259c79=a13_0xa96bc4(0x128)){const _0x535ba5=a13_0xa96bc4;let _0x154685=process['cwd']()+'/vue'+(typeof _0x48d5a3==_0x535ba5(0x13e)?'/'+_0x48d5a3:'');_0x4d3a3d?_0x154685=_0x154685+(_0x535ba5(0x161)+_0x4d3a3d+'/template/'+_0x5c9d8c+'/'+_0x259c79+_0x535ba5(0x1a6)):_0x154685=_0x154685+(_0x535ba5(0x152)+_0x1b64c5+'/template/'+_0x5c9d8c+'/'+_0x259c79+_0x535ba5(0x1a6));if(!fs[_0x535ba5(0x182)](_0x154685)){const _0x302b4b=(typeof _0x4d3a3d==_0x535ba5(0x13e)?_0x535ba5(0x1a2)+_0x4d3a3d+'.':'$'+_0x1b64c5+_0x535ba5(0x167))+(''+_0x579e53);let _0x42f85b='';for(let _0x4eebb9 in _0x5e9233){const _0x2fac63=_0x5e9233[_0x4eebb9];if(['created_at','updated_at','deleted_at',_0x535ba5(0x154)]['indexOf'](_0x4eebb9)!=-0x1)continue;if(_0x4eebb9['substr'](-0x4)==_0x535ba5(0x190)||_0x4eebb9[_0x535ba5(0x187)](-0x5)==_0x535ba5(0x139))_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63[_0x535ba5(0x194)])+'\x22\x20prop=\x22'+_0x4eebb9+_0x535ba5(0x16a)),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x1cb)+_0x4eebb9+'\x22\x20:limit=\x225\x22\x20/>'),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';else{if(_0x4eebb9[_0x535ba5(0x187)](-0x3)==_0x535ba5(0x160)||_0x4eebb9[_0x535ba5(0x187)](-0x5)==_0x535ba5(0x1ba)||_0x4eebb9==_0x535ba5(0x1ba)||_0x4eebb9[_0x535ba5(0x187)](-0x4)==_0x535ba5(0x164)||_0x4eebb9=='logo')_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22\x20class=\x22block\x22>'),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x1cb)+_0x4eebb9+_0x535ba5(0x1c6)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';else{if(_0x4eebb9[_0x535ba5(0x187)](-0x4)==_0x535ba5(0x18a))_0x42f85b+='\x0a'+_0x535ba5(0x15b)+('<el-form-item\x20label=\x22'+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63['Field'])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-tags\x20v-model=\x22formdata.'+_0x4eebb9+_0x535ba5(0x12a)+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x170)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+'</el-form-item>'+'\x0a';else{if(_0x4eebb9[_0x535ba5(0x187)](-0x3)==_0x535ba5(0x1a1))_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63[_0x535ba5(0x194)])+'\x22\x20prop=\x22'+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x199)+_0x4eebb9+_0x535ba5(0x141)+_0x2fac63['Comment']+'\x22\x20:min=\x221\x22\x20:max=\x22100\x22\x20/>'),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+'</el-form-item>'+'\x0a';else{if(_0x4eebb9[_0x535ba5(0x187)](-0x4)==_0x535ba5(0x155))_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x186)+_0x4eebb9+_0x535ba5(0x141)+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x173)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';else{if(_0x4eebb9[_0x535ba5(0x187)](-0x3)==_0x535ba5(0x1b1)){let _0x34abdf=''+(typeof _0x48d5a3==_0x535ba5(0x13e)?_0x48d5a3+'/':'')+(_0x4d3a3d?_0x4d3a3d+'/':'')+_0x5c9d8c;_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select-search\x20v-model=\x22formdata.'+_0x4eebb9+'\x22\x20api=\x22'+_0x34abdf+_0x535ba5(0x1c7)),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x2fac63['Type'])){case _0x535ba5(0x17f):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63['Field'])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x199)+_0x4eebb9+_0x535ba5(0x141)+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x13d)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';break;case _0x535ba5(0x197):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+('<el-form-item\x20label=\x22'+(_0x2fac63['Comment']||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x146)+_0x4eebb9+_0x535ba5(0x127)+_0x2fac63[_0x535ba5(0x181)]+'\x22\x20clearable>');for(let _0x18aaee of(0x0,helper_1[_0x535ba5(0x14c)])(_0x2fac63[_0x535ba5(0x145)])){_0x42f85b+='\x0a'+_0x535ba5(0x1be)+(_0x535ba5(0x166)+_0x18aaee+_0x535ba5(0x19e)+_0x18aaee+_0x535ba5(0x1ad));}_0x42f85b+='\x0a'+_0x535ba5(0x16e)+'</el-select>',_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';break;case _0x535ba5(0x14f):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+_0x535ba5(0x16a)),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+('<el-input\x20v-model=\x22formdata.'+_0x4eebb9+_0x535ba5(0x169)+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x195)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+'</el-form-item>'+'\x0a';break;case _0x535ba5(0x131):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63[_0x535ba5(0x194)])+'\x22\x20prop=\x22'+_0x4eebb9+'\x22\x20class=\x22block\x22>'),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x1d2)+_0x4eebb9+'\x22\x20/>'),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';break;case _0x535ba5(0x12d):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+_0x535ba5(0x16a)),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x1d2)+_0x4eebb9+_0x535ba5(0x1ad)),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case'date':_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x14a)+_0x4eebb9+'\x22\x20placeholder=\x22选择'+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x159)),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535ba5(0x130)+'\x0a';break;case _0x535ba5(0x1d1):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x14a)+_0x4eebb9+_0x535ba5(0x162)+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x13c)),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x535ba5(0x130)+'\x0a';break;case _0x535ba5(0x15f):_0x42f85b+='\x0a'+_0x535ba5(0x15b)+(_0x535ba5(0x1af)+(_0x2fac63['Comment']||_0x2fac63['Field'])+'\x22\x20prop=\x22'+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+_0x535ba5(0x16e)+(_0x535ba5(0x14a)+_0x4eebb9+'\x22\x20placeholder=\x22选择'+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x13c)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';break;default:_0x42f85b+='\x0a'+_0x535ba5(0x15b)+('<el-form-item\x20label=\x22'+(_0x2fac63[_0x535ba5(0x181)]||_0x2fac63[_0x535ba5(0x194)])+_0x535ba5(0x18d)+_0x4eebb9+'\x22>'),_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x535ba5(0x186)+_0x4eebb9+_0x535ba5(0x141)+_0x2fac63[_0x535ba5(0x181)]+_0x535ba5(0x173)),_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';}}}}}}}_0x42f85b+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x42f85b+='\x0a'+_0x535ba5(0x16e)+'<el-input\x20v-model.number=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20/>',_0x42f85b+='\x0a'+_0x535ba5(0x15b)+_0x535ba5(0x130)+'\x0a';let _0x49d1d7='<template>\x0a';_0x49d1d7+=_0x535ba5(0x1b9)+(_0x259c79==_0x535ba5(0x128)?'添加'+_0x127485:'编辑'+_0x127485)+_0x535ba5(0x1ab)+_0x302b4b+'.'+(_0x259c79==_0x535ba5(0x128)?_0x535ba5(0x128):_0x535ba5(0x150))+_0x535ba5(0x177),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x42f85b+'\x0a',_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x49d1d7+=_0x535ba5(0x1a4)+_0x302b4b+'.'+(_0x259c79=='add'?'add':_0x535ba5(0x150))+'.hasPrem()\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave(formdata)\x22>保存</el-button>\x0a',_0x49d1d7+=_0x535ba5(0x189),_0x49d1d7+='\x20\x20\x20\x20</page-form>\x0a',_0x49d1d7+=_0x535ba5(0x1d6),_0x49d1d7+=_0x535ba5(0x174);if(_0x259c79=='add')_0x49d1d7+='import\x20{\x20'+_0x579e53+_0x535ba5(0x12e)+(_0x4d3a3d?_0x535ba5(0x1cd)+_0x4d3a3d:_0x1b64c5)+'/validators/'+_0x579e53+_0x535ba5(0x140);else _0x259c79==_0x535ba5(0x150)&&(_0x49d1d7+=_0x535ba5(0x1bc)+_0x579e53+'EditRule\x20}\x20from\x20\x27@'+(_0x4d3a3d?_0x535ba5(0x1cd)+_0x4d3a3d:_0x1b64c5)+_0x535ba5(0x17b)+_0x579e53+'/edit\x27\x0a');_0x49d1d7+='export\x20default\x20{\x0a',_0x49d1d7+=_0x535ba5(0x1cf),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20return\x20{\x0a',_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading:\x20false,\x0a',_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formdata:\x20{},\x0a';if(_0x259c79==_0x535ba5(0x128))_0x49d1d7+=_0x535ba5(0x17c)+_0x579e53+_0x535ba5(0x19c);else _0x259c79==_0x535ba5(0x150)&&(_0x49d1d7+=_0x535ba5(0x17c)+_0x579e53+_0x535ba5(0x163));_0x49d1d7+=_0x535ba5(0x171),_0x49d1d7+='\x20\x20\x20\x20},\x0a',_0x259c79==_0x535ba5(0x150)&&(_0x49d1d7+=_0x535ba5(0x193),_0x49d1d7+=_0x535ba5(0x16f)+_0x20a03e[_0x535ba5(0x194)]+_0x535ba5(0x157),_0x49d1d7+=_0x535ba5(0x151)),_0x49d1d7+='\x20\x20\x20\x20methods:\x20{\x0a',_0x49d1d7+=_0x535ba5(0x1b2),_0x49d1d7+=_0x535ba5(0x137),_0x49d1d7+=_0x535ba5(0x1a8),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20**/\x0a',_0x49d1d7+=_0x535ba5(0x1d0),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.$refs?.form?.validate().then(item\x20=>\x20{\x0a',_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.loading\x20=\x20true;\x0a',_0x49d1d7+=_0x535ba5(0x15d)+_0x302b4b+'.'+(_0x259c79=='add'?'add':'edit')+_0x535ba5(0x188),_0x49d1d7+=_0x535ba5(0x185),_0x49d1d7+=_0x535ba5(0x156),_0x49d1d7+='\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',_0x49d1d7+=_0x535ba5(0x149),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x49d1d7+=_0x535ba5(0x19f),_0x259c79=='edit'&&(_0x49d1d7+=_0x535ba5(0x1b2),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20\x20*\x20获取详情\x0a',_0x49d1d7+=_0x535ba5(0x18c),_0x49d1d7+='\x20\x20\x20\x20\x20\x20\x20\x20getDetail('+_0x20a03e[_0x535ba5(0x194)]+')\x20{\x0a',_0x49d1d7+=_0x535ba5(0x17d)+_0x20a03e[_0x535ba5(0x194)]+')\x20{\x0a',_0x49d1d7+=_0x535ba5(0x19d),_0x49d1d7+=_0x535ba5(0x15d)+_0x302b4b+_0x535ba5(0x129)+_0x20a03e[_0x535ba5(0x194)]+_0x535ba5(0x135),_0x49d1d7+=_0x535ba5(0x13b),_0x49d1d7+=_0x535ba5(0x1bf),_0x49d1d7+='\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',_0x49d1d7+=_0x535ba5(0x198),_0x49d1d7+=_0x535ba5(0x1a0),_0x49d1d7+=_0x535ba5(0x16d),_0x49d1d7+=_0x535ba5(0x192),_0x49d1d7+=_0x535ba5(0x19f)),_0x49d1d7+=_0x535ba5(0x151),_0x49d1d7+='}\x0a',_0x49d1d7+=_0x535ba5(0x1b6),fs[_0x535ba5(0x153)]((0x0,path_1['dirname'])(_0x154685),{'recursive':!![]}),fs['writeFileSync'](_0x154685,_0x49d1d7,_0x535ba5(0x1ce));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x1b26a3=a14_0x1d67;(function(_0xe61f2,_0x2e4f8f){const _0x26ee6a=a14_0x1d67,_0x34509f=_0xe61f2();while(!![]){try{const _0x39788f=-parseInt(_0x26ee6a(0x1e6))/0x1*(parseInt(_0x26ee6a(0x1cd))/0x2)+parseInt(_0x26ee6a(0x1d8))/0x3+parseInt(_0x26ee6a(0x1c2))/0x4*(-parseInt(_0x26ee6a(0x1bf))/0x5)+-parseInt(_0x26ee6a(0x1e9))/0x6*(parseInt(_0x26ee6a(0x1bb))/0x7)+parseInt(_0x26ee6a(0x1d9))/0x8*(parseInt(_0x26ee6a(0x1b8))/0x9)+parseInt(_0x26ee6a(0x1d4))/0xa*(-parseInt(_0x26ee6a(0x1db))/0xb)+parseInt(_0x26ee6a(0x1d5))/0xc*(parseInt(_0x26ee6a(0x1c7))/0xd);if(_0x39788f===_0x2e4f8f)break;else _0x34509f['push'](_0x34509f['shift']());}catch(_0x5266b7){_0x34509f['push'](_0x34509f['shift']());}}}(a14_0x3a93,0x66c5d));function a14_0x1d67(_0x298b9d,_0x49ef4f){const _0x32e0c2=a14_0x3a93();return a14_0x1d67=function(_0x3f00d5,_0x4a8115){_0x3f00d5=_0x3f00d5-0x1b8;let _0x3a938c=_0x32e0c2[_0x3f00d5];return _0x3a938c;},a14_0x1d67(_0x298b9d,_0x49ef4f);}const a14_0x4a8115=(function(){let _0x1971af=!![];return function(_0x10dc3e,_0x96e3d3){const _0x41f6dd=_0x1971af?function(){const _0x19698a=a14_0x1d67;if(_0x96e3d3){const _0x5e7c8c=_0x96e3d3[_0x19698a(0x1c1)](_0x10dc3e,arguments);return _0x96e3d3=null,_0x5e7c8c;}}:function(){};return _0x1971af=![],_0x41f6dd;};}()),a14_0x3f00d5=a14_0x4a8115(this,function(){const _0x2fda68=a14_0x1d67;return a14_0x3f00d5['toString']()[_0x2fda68(0x1d1)]('(((.+)+)+)+$')[_0x2fda68(0x1c3)]()['constructor'](a14_0x3f00d5)[_0x2fda68(0x1d1)](_0x2fda68(0x1d0));});a14_0x3f00d5();'use strict';Object[a14_0x1b26a3(0x1be)](exports,a14_0x1b26a3(0x1d3),{'value':!![]});function a14_0x3a93(){const _0x1f27f0=['\x22,\x0a','cwd','(((.+)+)+)+$','search','path','__esModule','20OQerbT','6108552lDYzaH','\x20\x20\x20\x20component:\x20layout,\x0a','\x20\x20\x20\x20children:[\x0a','2159265matRUz','205928TdfeKc',',\x20component:\x20()=>\x20import(\x27./template/','4601938MXUGBg','/vue','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','{\x20path:\x20\x22','\x20\x20\x20\x20//\x20redirect:\x20\x22/','/edit/index.vue\x27),meta:\x20{\x20name:\x20\x22','existsSync','default','mkdirSync','replace','\x20\x20\x20\x20path:\x20\x22/','191047XgSPQy','/routes.js','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','192kkRjtR','apps-','//\x20add\x20route\x20here','36RKeTNC','/edit\x22','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','32144mlebYU','/add\x22','readFileSync','defineProperty','1407865viKZFU','/pages/apps/','apply','8LnCDgq','toString','dirname','writeFileSync','utf-8','39lViHsm','string','import\x20layout\x20from\x20\x22./layout.vue\x22\x0a\x0a','padEnd','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','\x20\x20\x20\x20]\x0a','4foQSuF'];a14_0x3a93=function(){return _0x1f27f0;};return a14_0x3a93();}const fs=require('fs'),path_1=require(a14_0x1b26a3(0x1d2));async function default_1({tablestartUpShort2:_0x2010ed,moduleName:_0x45ece5,controller:_0x1dea36,Comment:_0x539588,apporbasic:_0xfda99,Primary:_0x89bdaa}){await createRoutes({'tablestartUpShort2':_0x2010ed,'moduleName':_0x45ece5,'controller':_0x1dea36,'Comment':_0x539588,'apporbasic':_0xfda99,'Primary':_0x89bdaa});}exports[a14_0x1b26a3(0x1e2)]=default_1;async function createRoutes({tablestartUpShort2:_0x27ffd0,moduleName:_0x36a129,controller:_0x2c9ee3,Comment:_0x11c78f,apporbasic:_0x4a5fce,Primary:_0x5228c2}){const _0x12e984=a14_0x1b26a3;let _0x144b69=process[_0x12e984(0x1cf)]()+_0x12e984(0x1dc)+(typeof _0x2c9ee3==_0x12e984(0x1c8)?'/'+_0x2c9ee3:'');_0x36a129?_0x144b69=_0x144b69+(_0x12e984(0x1c0)+_0x36a129+'/routes.js'):_0x144b69=_0x144b69+('/pages/'+_0x4a5fce+_0x12e984(0x1e7));if(!fs[_0x12e984(0x1e1)](_0x144b69)){let _0x28a874=_0x12e984(0x1c9);_0x28a874+='export\x20default\x20{\x0a',_0x28a874+=_0x12e984(0x1e5)+(_0x36a129?'apps-'+_0x36a129+'/':_0x4a5fce+'/')+_0x12e984(0x1ce),_0x28a874+=_0x12e984(0x1df)+(_0x36a129?_0x12e984(0x1ea)+_0x36a129+'/':_0x4a5fce+'/')+_0x12e984(0x1ce),_0x28a874+=_0x12e984(0x1d6),_0x28a874+=_0x12e984(0x1d7),_0x28a874+=_0x12e984(0x1dd),_0x28a874+=_0x12e984(0x1cc),_0x28a874+='}\x0a',fs[_0x12e984(0x1e3)]((0x0,path_1[_0x12e984(0x1c4)])(_0x144b69),{'recursive':!![]}),fs[_0x12e984(0x1c5)](_0x144b69,_0x28a874,_0x12e984(0x1c6));}const _0x3dd39b=fs[_0x12e984(0x1bd)](_0x144b69,_0x12e984(0x1c6));fs[_0x12e984(0x1c5)](_0x144b69,_0x3dd39b[_0x12e984(0x1e4)]('//\x20add\x20route\x20here',_0x12e984(0x1de)+(_0x27ffd0+'\x22')[_0x12e984(0x1ca)](0x14)+(_0x12e984(0x1da)+_0x27ffd0+_0x12e984(0x1e8)+_0x11c78f+'\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here'))['replace'](_0x12e984(0x1eb),_0x12e984(0x1de)+(_0x27ffd0+_0x12e984(0x1bc))[_0x12e984(0x1ca)](0x14)+(_0x12e984(0x1da)+_0x27ffd0+'/add/index.vue\x27),meta:\x20{\x20name:\x20\x22'+_0x11c78f+_0x12e984(0x1cb)))[_0x12e984(0x1e4)]('//\x20add\x20route\x20here',_0x12e984(0x1de)+(_0x27ffd0+_0x12e984(0x1b9))['padEnd'](0x14)+(_0x12e984(0x1da)+_0x27ffd0+_0x12e984(0x1e0)+_0x11c78f+_0x12e984(0x1ba))));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15_0x2202fa=a15_0x2b74;function a15_0x2b74(_0x3f32bd,_0x1470d4){const _0x1f56db=a15_0x1b8f();return a15_0x2b74=function(_0x37d252,_0x1702d0){_0x37d252=_0x37d252-0x77;let _0x1b8fa4=_0x1f56db[_0x37d252];return _0x1b8fa4;},a15_0x2b74(_0x3f32bd,_0x1470d4);}(function(_0x4194b6,_0x198d4e){const _0x64be2d=a15_0x2b74,_0x58e866=_0x4194b6();while(!![]){try{const _0x26eca4=parseInt(_0x64be2d(0x94))/0x1*(-parseInt(_0x64be2d(0x8e))/0x2)+-parseInt(_0x64be2d(0x92))/0x3+-parseInt(_0x64be2d(0xbb))/0x4+parseInt(_0x64be2d(0xbc))/0x5+parseInt(_0x64be2d(0x78))/0x6+-parseInt(_0x64be2d(0x8f))/0x7+parseInt(_0x64be2d(0x98))/0x8*(parseInt(_0x64be2d(0x96))/0x9);if(_0x26eca4===_0x198d4e)break;else _0x58e866['push'](_0x58e866['shift']());}catch(_0x2b0752){_0x58e866['push'](_0x58e866['shift']());}}}(a15_0x1b8f,0x54b48));const a15_0x1702d0=(function(){let _0xce6f99=!![];return function(_0x59cebb,_0xdd605d){const _0x121425=_0xce6f99?function(){if(_0xdd605d){const _0x150e50=_0xdd605d['apply'](_0x59cebb,arguments);return _0xdd605d=null,_0x150e50;}}:function(){};return _0xce6f99=![],_0x121425;};}()),a15_0x37d252=a15_0x1702d0(this,function(){const _0x50f09a=a15_0x2b74;return a15_0x37d252[_0x50f09a(0x99)]()[_0x50f09a(0xa4)](_0x50f09a(0xbf))['toString']()[_0x50f09a(0xb7)](a15_0x37d252)[_0x50f09a(0xa4)](_0x50f09a(0xbf));});a15_0x37d252();'use strict';Object[a15_0x2202fa(0xaa)](exports,a15_0x2202fa(0x83),{'value':!![]});const fs=require('fs'),helper_1=require(a15_0x2202fa(0x9b));async function default_1({tablestartUpShort:_0x192132,tablestartUpShort2:_0x2dc611,moduleName:_0x4524e7,controller:_0x4b8aba,Comment:_0x552811,apporbasic:_0x25bf0e,Primary:_0x33f48e,Fields:_0x851f3b}){const _0x380356=a15_0x2202fa;let _0x593d9a=process['cwd']()+_0x380356(0x7f)+(typeof _0x4b8aba==_0x380356(0xa7)?'/'+_0x4b8aba:'');_0x4524e7?_0x593d9a=_0x593d9a+(_0x380356(0xa6)+_0x4524e7+'/validators/'+_0x192132):_0x593d9a=_0x593d9a+(_0x380356(0xb4)+_0x25bf0e+_0x380356(0xa1)+_0x192132),!fs[_0x380356(0xb8)](_0x593d9a)&&fs['mkdirSync'](_0x593d9a,{'recursive':!![]}),await CreateRule(_0x593d9a,{'tablestartUpShort':_0x192132,'Comment':_0x552811,'Fields':_0x851f3b}),await updateRule(_0x593d9a,{'tablestartUpShort':_0x192132,'Comment':_0x552811,'Fields':_0x851f3b});}exports[a15_0x2202fa(0xae)]=default_1;function a15_0x1b8f(){const _0x4a591e=['不能为空`,\x20required:\x20','number','__esModule','timestamp','getProp','YES','}\x0a\x0a','\x20*\x20','\x20*\x20数据更新验证\x0a','\x20*\x20**/\x0a','true','/**\x0a','\x20\x20\x20\x20],\x0a\x0a','2866Axdnyf','2803157reHvDl','enum','displayorder','1882395bPjYsA','Comment','167fritNK','AddRule\x20=\x20{\x0a','9AvFKus','date','11976680AlEVpM','toString','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','../helper','`,\x20type:\x20\x22date\x22\x20},\x0a','text','writeFileSync','replace',':\x20[\x0a','/validators/','updated_at','deleted_at','search','/add.js','/pages/apps/','string','%RuleColumn%','\x27]\x20},\x0a','defineProperty','`,\x20type:\x20\x22string\x22\x20},\x0a','\x20\x20\x20\x20//\x20','\x20\x20\x20\x20','default','Type','mediumtext','tinyint','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','Field','/pages/','\x20*\x20数据添加验证\x0a','export\x20const\x20','constructor','existsSync','created_at','getEnum','2586196HufcNV','1383945EOPziO','false','Null','(((.+)+)+)+$','double','join','\x27,\x20\x27','2921124PAuwhJ','datetime','utf-8','json','float','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','indexOf','/vue','\x20},\x0a'];a15_0x1b8f=function(){return _0x4a591e;};return a15_0x1b8f();}async function CreateRule(_0x48a398,{tablestartUpShort:_0x593b44,Comment:_0x560530,Fields:_0x5f47f5}){const _0x57123b=a15_0x2202fa,_0x1110ca=_0x48a398+_0x57123b(0xa5);if(!fs[_0x57123b(0xb8)](_0x1110ca)){let _0x79eb33='',_0x4a9277='';for(let _0x1f93d6 in _0x5f47f5){let _0x57961b=_0x5f47f5[_0x1f93d6],_0x19e91a=(0x0,helper_1[_0x57123b(0x85)])(_0x57961b['Type']);if(_0x57961b[_0x57123b(0xb3)]==_0x57123b(0x91)||_0x57961b[_0x57123b(0xb3)]=='created_at'||_0x57961b['Field']==_0x57123b(0xa2)||_0x57961b['Field']==_0x57123b(0xa3))continue;if([_0x57123b(0x9d),'longtext',_0x57123b(0xb0)][_0x57123b(0x7e)](_0x19e91a)!=-0x1)_0x79eb33+='\x20\x20\x20\x20//\x20'+_0x57961b[_0x57123b(0x93)]+'\x0a',_0x79eb33+=_0x57123b(0xad)+_0x57961b[_0x57123b(0xb3)]+_0x57123b(0xa0),_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+=_0x57123b(0x7d)+_0x57961b[_0x57123b(0x93)]+_0x57123b(0x81)+(_0x57961b['Null']!='YES'?_0x57123b(0xbd):'true')+'\x20},\x0a'),_0x79eb33+=_0x57123b(0x8d);else{if([_0x57123b(0x7c),'double','decimal',_0x57123b(0x82)][_0x57123b(0x7e)](_0x19e91a)!=-0x1)_0x79eb33+=_0x57123b(0xac)+_0x57961b['Comment']+'\x0a',_0x79eb33+=_0x57123b(0xad)+_0x57961b['Field']+_0x57123b(0xa0),_0x79eb33+=_0x57123b(0x9a)+_0x57961b[_0x57123b(0x93)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+=_0x57123b(0x7d)+_0x57961b['Comment']+_0x57123b(0x81)+(_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)?_0x57123b(0xbd):_0x57123b(0x8b))+_0x57123b(0x80)),_0x79eb33+=_0x57123b(0x8d);else{if([_0x57123b(0xb1)][_0x57123b(0x7e)](_0x19e91a)!=-0x1)_0x79eb33+=_0x57123b(0xac)+_0x57961b['Comment']+'\x0a',_0x79eb33+='\x20\x20\x20\x20'+_0x57961b['Field']+_0x57123b(0xa0),_0x79eb33+=_0x57123b(0x9a)+_0x57961b[_0x57123b(0x93)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+=_0x57123b(0x7d)+_0x57961b[_0x57123b(0x93)]+'不能为空`,\x20required:\x20'+(_0x57961b[_0x57123b(0xbe)]!='YES'?_0x57123b(0xbd):_0x57123b(0x8b))+'\x20},\x0a'),_0x79eb33+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x19e91a==_0x57123b(0x7b))_0x79eb33+=_0x57123b(0xac)+_0x57961b[_0x57123b(0x93)]+'\x0a',_0x79eb33+=_0x57123b(0xad)+_0x57961b[_0x57123b(0xb3)]+_0x57123b(0xa0),_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+=_0x57123b(0x7d)+_0x57961b['Comment']+_0x57123b(0x81)+(_0x57961b[_0x57123b(0xbe)]!='YES'?_0x57123b(0xbd):_0x57123b(0x8b))+_0x57123b(0x80)),_0x79eb33+=_0x57123b(0x8d);else{if(_0x19e91a==_0x57123b(0x90)){let _0x2231f0=(0x0,helper_1[_0x57123b(0xba)])(_0x57961b[_0x57123b(0xaf)]);_0x79eb33+=_0x57123b(0xac)+_0x57961b[_0x57123b(0x93)]+'\x0a',_0x79eb33+='\x20\x20\x20\x20'+_0x57961b[_0x57123b(0xb3)]+':\x20[\x0a',_0x79eb33+=_0x57123b(0x9a)+_0x57961b[_0x57123b(0x93)]+_0x57123b(0xb2)+_0x2231f0[_0x57123b(0xc1)](_0x57123b(0x77))+'\x27]\x20},\x0a',_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+=_0x57123b(0x7d)+_0x57961b[_0x57123b(0x93)]+_0x57123b(0x81)+(_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)?_0x57123b(0xbd):_0x57123b(0x8b))+_0x57123b(0x80)),_0x79eb33+=_0x57123b(0x8d);}else['date','datetime',_0x57123b(0x84)]['indexOf'](_0x19e91a)>-0x1?(_0x79eb33+=_0x57123b(0xac)+_0x57961b['Comment']+'\x0a',_0x79eb33+=_0x57123b(0xad)+_0x57961b[_0x57123b(0xb3)]+':\x20[\x0a',_0x79eb33+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x57961b['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x57961b[_0x57123b(0x93)]+_0x57123b(0x81)+(_0x57961b[_0x57123b(0xbe)]!='YES'?_0x57123b(0xbd):_0x57123b(0x8b))+_0x57123b(0x80)),_0x79eb33+=_0x57123b(0x8d)):(_0x79eb33+=_0x57123b(0xac)+_0x57961b[_0x57123b(0x93)]+'\x0a',_0x79eb33+=_0x57123b(0xad)+_0x57961b[_0x57123b(0xb3)]+':\x20[\x0a',_0x79eb33+=_0x57123b(0x9a)+_0x57961b[_0x57123b(0x93)]+_0x57123b(0xab),_0x57961b[_0x57123b(0xbe)]!=_0x57123b(0x86)&&(_0x79eb33+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x57961b[_0x57123b(0x93)]+_0x57123b(0x81)+(_0x57961b['Null']!=_0x57123b(0x86)?'false':_0x57123b(0x8b))+_0x57123b(0x80)),_0x79eb33+=_0x57123b(0x8d));}}}}}_0x4a9277+='\x0a',_0x4a9277+=_0x57123b(0x8c),_0x4a9277+=_0x57123b(0x88)+_0x560530+'\x0a',_0x4a9277+=_0x57123b(0xb5),_0x4a9277+='\x20*\x20**/\x0a',_0x4a9277+=_0x57123b(0xb6)+_0x593b44+_0x57123b(0x95),_0x4a9277+=_0x57123b(0xa8),_0x4a9277+=_0x57123b(0x87),_0x4a9277=_0x4a9277[_0x57123b(0x9f)](_0x57123b(0xa8),_0x79eb33),fs['writeFileSync'](_0x1110ca,_0x4a9277,_0x57123b(0x7a));}}async function updateRule(_0x3e8b35,{tablestartUpShort:_0x3d0e1b,Comment:_0x51b947,Fields:_0x133538}){const _0x54e97f=a15_0x2202fa,_0x50d5c8=_0x3e8b35+'/edit.js';if(!fs[_0x54e97f(0xb8)](_0x50d5c8)){let _0x49e4a3='',_0x2d6a51='';for(let _0x4e2d99 in _0x133538){let _0x31d279=_0x133538[_0x4e2d99],_0x27825e=(0x0,helper_1[_0x54e97f(0x85)])(_0x31d279['Type']);if(_0x31d279[_0x54e97f(0xb3)]==_0x54e97f(0x91)||_0x31d279['Field']==_0x54e97f(0xb9)||_0x31d279[_0x54e97f(0xb3)]==_0x54e97f(0xa2)||_0x31d279[_0x54e97f(0xb3)]==_0x54e97f(0xa3))continue;if([_0x54e97f(0x9d),'longtext',_0x54e97f(0xb0)][_0x54e97f(0x7e)](_0x27825e)!=-0x1)_0x49e4a3+=_0x54e97f(0xac)+_0x31d279['Comment']+'\x0a',_0x49e4a3+=_0x54e97f(0xad)+_0x31d279[_0x54e97f(0xb3)]+_0x54e97f(0xa0),_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)&&(_0x49e4a3+=_0x54e97f(0x7d)+_0x31d279[_0x54e97f(0x93)]+_0x54e97f(0x81)+(_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)?_0x54e97f(0xbd):_0x54e97f(0x8b))+_0x54e97f(0x80)),_0x49e4a3+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x54e97f(0x7c),_0x54e97f(0xc0),'decimal',_0x54e97f(0x82)][_0x54e97f(0x7e)](_0x27825e)!=-0x1)_0x49e4a3+=_0x54e97f(0xac)+_0x31d279[_0x54e97f(0x93)]+'\x0a',_0x49e4a3+=_0x54e97f(0xad)+_0x31d279['Field']+_0x54e97f(0xa0),_0x49e4a3+=_0x54e97f(0x9a)+_0x31d279[_0x54e97f(0x93)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x31d279[_0x54e97f(0xbe)]!='YES'&&(_0x49e4a3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x31d279[_0x54e97f(0x93)]+_0x54e97f(0x81)+(_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)?_0x54e97f(0xbd):_0x54e97f(0x8b))+_0x54e97f(0x80)),_0x49e4a3+=_0x54e97f(0x8d);else{if([_0x54e97f(0xb1)]['indexOf'](_0x27825e)!=-0x1)_0x49e4a3+=_0x54e97f(0xac)+_0x31d279[_0x54e97f(0x93)]+'\x0a',_0x49e4a3+='\x20\x20\x20\x20'+_0x31d279[_0x54e97f(0xb3)]+_0x54e97f(0xa0),_0x49e4a3+=_0x54e97f(0x9a)+_0x31d279['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)&&(_0x49e4a3+=_0x54e97f(0x7d)+_0x31d279['Comment']+_0x54e97f(0x81)+(_0x31d279['Null']!=_0x54e97f(0x86)?'false':_0x54e97f(0x8b))+_0x54e97f(0x80)),_0x49e4a3+=_0x54e97f(0x8d);else{if(_0x27825e==_0x54e97f(0x7b))_0x49e4a3+=_0x54e97f(0xac)+_0x31d279[_0x54e97f(0x93)]+'\x0a',_0x49e4a3+=_0x54e97f(0xad)+_0x31d279[_0x54e97f(0xb3)]+_0x54e97f(0xa0),_0x31d279[_0x54e97f(0xbe)]!='YES'&&(_0x49e4a3+=_0x54e97f(0x7d)+_0x31d279[_0x54e97f(0x93)]+'不能为空`,\x20required:\x20'+(_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)?'false':'true')+_0x54e97f(0x80)),_0x49e4a3+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x27825e==_0x54e97f(0x90)){let _0x2f8d82=(0x0,helper_1[_0x54e97f(0xba)])(_0x31d279[_0x54e97f(0xaf)]);_0x49e4a3+=_0x54e97f(0xac)+_0x31d279[_0x54e97f(0x93)]+'\x0a',_0x49e4a3+='\x20\x20\x20\x20'+_0x31d279['Field']+_0x54e97f(0xa0),_0x49e4a3+=_0x54e97f(0x9a)+_0x31d279[_0x54e97f(0x93)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x2f8d82['join']('\x27,\x20\x27')+_0x54e97f(0xa9),_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)&&(_0x49e4a3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x31d279[_0x54e97f(0x93)]+_0x54e97f(0x81)+(_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)?_0x54e97f(0xbd):_0x54e97f(0x8b))+_0x54e97f(0x80)),_0x49e4a3+=_0x54e97f(0x8d);}else[_0x54e97f(0x97),_0x54e97f(0x79),_0x54e97f(0x84)]['indexOf'](_0x27825e)>-0x1?(_0x49e4a3+='\x20\x20\x20\x20//\x20'+_0x31d279[_0x54e97f(0x93)]+'\x0a',_0x49e4a3+=_0x54e97f(0xad)+_0x31d279[_0x54e97f(0xb3)]+_0x54e97f(0xa0),_0x49e4a3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x31d279[_0x54e97f(0x93)]+_0x54e97f(0x9c),_0x31d279[_0x54e97f(0xbe)]!='YES'&&(_0x49e4a3+=_0x54e97f(0x7d)+_0x31d279[_0x54e97f(0x93)]+'不能为空`,\x20required:\x20'+(_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)?'false':_0x54e97f(0x8b))+'\x20},\x0a'),_0x49e4a3+=_0x54e97f(0x8d)):(_0x49e4a3+=_0x54e97f(0xac)+_0x31d279['Comment']+'\x0a',_0x49e4a3+=_0x54e97f(0xad)+_0x31d279[_0x54e97f(0xb3)]+_0x54e97f(0xa0),_0x49e4a3+=_0x54e97f(0x9a)+_0x31d279[_0x54e97f(0x93)]+_0x54e97f(0xab),_0x31d279['Null']!=_0x54e97f(0x86)&&(_0x49e4a3+=_0x54e97f(0x7d)+_0x31d279[_0x54e97f(0x93)]+_0x54e97f(0x81)+(_0x31d279[_0x54e97f(0xbe)]!=_0x54e97f(0x86)?_0x54e97f(0xbd):_0x54e97f(0x8b))+_0x54e97f(0x80)),_0x49e4a3+=_0x54e97f(0x8d));}}}}}_0x2d6a51+='\x0a',_0x2d6a51+=_0x54e97f(0x8c),_0x2d6a51+=_0x54e97f(0x88)+_0x51b947+'\x0a',_0x2d6a51+=_0x54e97f(0x89),_0x2d6a51+=_0x54e97f(0x8a),_0x2d6a51+='export\x20const\x20'+_0x3d0e1b+'EditRule\x20=\x20{\x0a',_0x2d6a51+='%RuleColumn%',_0x2d6a51+=_0x54e97f(0x87),_0x2d6a51=_0x2d6a51[_0x54e97f(0x9f)](_0x54e97f(0xa8),_0x49e4a3),fs[_0x54e97f(0x9e)](_0x50d5c8,_0x2d6a51,_0x54e97f(0x7a));}}
|
|
1
|
+
const a15_0x29d3eb=a15_0x114e;(function(_0x22a88a,_0x31ebf5){const _0x3b3e0e=a15_0x114e,_0x44ec87=_0x22a88a();while(!![]){try{const _0x2c64b4=-parseInt(_0x3b3e0e(0x1ec))/0x1*(-parseInt(_0x3b3e0e(0x1f5))/0x2)+-parseInt(_0x3b3e0e(0x21f))/0x3+parseInt(_0x3b3e0e(0x232))/0x4+-parseInt(_0x3b3e0e(0x226))/0x5+parseInt(_0x3b3e0e(0x22b))/0x6+-parseInt(_0x3b3e0e(0x221))/0x7+parseInt(_0x3b3e0e(0x214))/0x8;if(_0x2c64b4===_0x31ebf5)break;else _0x44ec87['push'](_0x44ec87['shift']());}catch(_0x171e22){_0x44ec87['push'](_0x44ec87['shift']());}}}(a15_0x5c93,0x4611a));const a15_0x2585af=(function(){let _0x48c9c2=!![];return function(_0x259a9b,_0x5046fd){const _0x498867=_0x48c9c2?function(){if(_0x5046fd){const _0x3d9623=_0x5046fd['apply'](_0x259a9b,arguments);return _0x5046fd=null,_0x3d9623;}}:function(){};return _0x48c9c2=![],_0x498867;};}()),a15_0x5c8ce0=a15_0x2585af(this,function(){const _0x5412d2=a15_0x114e;return a15_0x5c8ce0[_0x5412d2(0x1fd)]()['search'](_0x5412d2(0x1f4))[_0x5412d2(0x1fd)]()[_0x5412d2(0x22f)](a15_0x5c8ce0)[_0x5412d2(0x1fa)](_0x5412d2(0x1f4));});function a15_0x5c93(){const _0x48ba64=[':\x20[\x0a','json','indexOf','Field','../helper','Type','628902UrvSyp','\x20*\x20**/\x0a','4016327qhsIrT','longtext','\x27]\x20},\x0a','deleted_at','number','2821285YBGkiq','utf-8','replace','timestamp','`,\x20type:\x20\x22string\x22\x20},\x0a','2650812gBZVJO','\x20\x20\x20\x20],\x0a\x0a','double','AddRule\x20=\x20{\x0a','constructor','cwd','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','863092voTLUN','datetime','\x27,\x20\x27','tinyint','string','2vFWvli','/vue','/**\x0a','/validators/','\x20},\x0a','enum','writeFileSync','\x20\x20\x20\x20','(((.+)+)+)+$','25942YUDnMu','displayorder','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','decimal','/pages/','search','Null','export\x20const\x20','toString','false','join','`,\x20type:\x20\x22number\x22\x20},\x0a','true','\x20\x20\x20\x20//\x20','defineProperty','__esModule','default','Comment','getProp','mediumtext','updated_at','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','%RuleColumn%','/edit.js','getEnum','/pages/apps/','`,\x20type:\x20\x22date\x22\x20},\x0a','existsSync','date','float','created_at','7609096VFklBx','\x20*\x20','YES','不能为空`,\x20required:\x20','text'];a15_0x5c93=function(){return _0x48ba64;};return a15_0x5c93();}a15_0x5c8ce0();'use strict';Object[a15_0x29d3eb(0x203)](exports,a15_0x29d3eb(0x204),{'value':!![]});const fs=require('fs'),helper_1=require(a15_0x29d3eb(0x21d));async function default_1({tablestartUpShort:_0x5f040a,tablestartUpShort2:_0x1d77be,moduleName:_0x596dce,controller:_0x1ce8e3,Comment:_0x515722,apporbasic:_0x49af5c,Primary:_0x39ea1a,Fields:_0x11f460}){const _0x23d354=a15_0x29d3eb;let _0xc773c6=process[_0x23d354(0x230)]()+_0x23d354(0x1ed)+(typeof _0x1ce8e3==_0x23d354(0x1eb)?'/'+_0x1ce8e3:'');_0x596dce?_0xc773c6=_0xc773c6+(_0x23d354(0x20e)+_0x596dce+'/validators/'+_0x5f040a):_0xc773c6=_0xc773c6+(_0x23d354(0x1f9)+_0x49af5c+_0x23d354(0x1ef)+_0x5f040a),!fs[_0x23d354(0x210)](_0xc773c6)&&fs['mkdirSync'](_0xc773c6,{'recursive':!![]}),await CreateRule(_0xc773c6,{'tablestartUpShort':_0x5f040a,'Comment':_0x515722,'Fields':_0x11f460}),await updateRule(_0xc773c6,{'tablestartUpShort':_0x5f040a,'Comment':_0x515722,'Fields':_0x11f460});}exports[a15_0x29d3eb(0x205)]=default_1;function a15_0x114e(_0x5e7b3d,_0x27c300){const _0x418578=a15_0x5c93();return a15_0x114e=function(_0x5c8ce0,_0x2585af){_0x5c8ce0=_0x5c8ce0-0x1ea;let _0x5c93cf=_0x418578[_0x5c8ce0];return _0x5c93cf;},a15_0x114e(_0x5e7b3d,_0x27c300);}async function CreateRule(_0x495a82,{tablestartUpShort:_0x57cb4f,Comment:_0x27ea2c,Fields:_0x5cf50a}){const _0x1e4ebc=a15_0x29d3eb,_0x439a79=_0x495a82+'/add.js';if(!fs[_0x1e4ebc(0x210)](_0x439a79)){let _0x1f5239='',_0x2eb2c8='';for(let _0x3fb8c6 in _0x5cf50a){let _0x43e020=_0x5cf50a[_0x3fb8c6],_0x5effc3=(0x0,helper_1[_0x1e4ebc(0x207)])(_0x43e020[_0x1e4ebc(0x21e)]);if(_0x43e020[_0x1e4ebc(0x21c)]==_0x1e4ebc(0x1f6)||_0x43e020[_0x1e4ebc(0x21c)]==_0x1e4ebc(0x213)||_0x43e020[_0x1e4ebc(0x21c)]==_0x1e4ebc(0x209)||_0x43e020[_0x1e4ebc(0x21c)]==_0x1e4ebc(0x224))continue;if([_0x1e4ebc(0x218),_0x1e4ebc(0x222),_0x1e4ebc(0x208)][_0x1e4ebc(0x21b)](_0x5effc3)!=-0x1)_0x1f5239+=_0x1e4ebc(0x202)+_0x43e020[_0x1e4ebc(0x206)]+'\x0a',_0x1f5239+=_0x1e4ebc(0x1f3)+_0x43e020['Field']+_0x1e4ebc(0x219),_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)&&(_0x1f5239+=_0x1e4ebc(0x231)+_0x43e020[_0x1e4ebc(0x206)]+_0x1e4ebc(0x217)+(_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)?_0x1e4ebc(0x1fe):'true')+'\x20},\x0a'),_0x1f5239+=_0x1e4ebc(0x22c);else{if([_0x1e4ebc(0x212),_0x1e4ebc(0x22d),_0x1e4ebc(0x1f8),_0x1e4ebc(0x225)][_0x1e4ebc(0x21b)](_0x5effc3)!=-0x1)_0x1f5239+=_0x1e4ebc(0x202)+_0x43e020['Comment']+'\x0a',_0x1f5239+=_0x1e4ebc(0x1f3)+_0x43e020[_0x1e4ebc(0x21c)]+_0x1e4ebc(0x219),_0x1f5239+=_0x1e4ebc(0x20a)+_0x43e020[_0x1e4ebc(0x206)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x43e020['Null']!=_0x1e4ebc(0x216)&&(_0x1f5239+=_0x1e4ebc(0x231)+_0x43e020[_0x1e4ebc(0x206)]+_0x1e4ebc(0x217)+(_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)?_0x1e4ebc(0x1fe):_0x1e4ebc(0x201))+_0x1e4ebc(0x1f0)),_0x1f5239+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x1e4ebc(0x1ea)][_0x1e4ebc(0x21b)](_0x5effc3)!=-0x1)_0x1f5239+=_0x1e4ebc(0x202)+_0x43e020[_0x1e4ebc(0x206)]+'\x0a',_0x1f5239+=_0x1e4ebc(0x1f3)+_0x43e020['Field']+_0x1e4ebc(0x219),_0x1f5239+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x43e020['Comment']+_0x1e4ebc(0x200),_0x43e020['Null']!='YES'&&(_0x1f5239+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x43e020[_0x1e4ebc(0x206)]+_0x1e4ebc(0x217)+(_0x43e020['Null']!=_0x1e4ebc(0x216)?_0x1e4ebc(0x1fe):_0x1e4ebc(0x201))+_0x1e4ebc(0x1f0)),_0x1f5239+=_0x1e4ebc(0x22c);else{if(_0x5effc3=='json')_0x1f5239+=_0x1e4ebc(0x202)+_0x43e020['Comment']+'\x0a',_0x1f5239+=_0x1e4ebc(0x1f3)+_0x43e020[_0x1e4ebc(0x21c)]+':\x20[\x0a',_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)&&(_0x1f5239+=_0x1e4ebc(0x231)+_0x43e020[_0x1e4ebc(0x206)]+_0x1e4ebc(0x217)+(_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)?_0x1e4ebc(0x1fe):_0x1e4ebc(0x201))+_0x1e4ebc(0x1f0)),_0x1f5239+=_0x1e4ebc(0x22c);else{if(_0x5effc3==_0x1e4ebc(0x1f1)){let _0x633b55=(0x0,helper_1[_0x1e4ebc(0x20d)])(_0x43e020[_0x1e4ebc(0x21e)]);_0x1f5239+='\x20\x20\x20\x20//\x20'+_0x43e020['Comment']+'\x0a',_0x1f5239+=_0x1e4ebc(0x1f3)+_0x43e020['Field']+':\x20[\x0a',_0x1f5239+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x43e020[_0x1e4ebc(0x206)]+_0x1e4ebc(0x1f7)+_0x633b55[_0x1e4ebc(0x1ff)](_0x1e4ebc(0x234))+'\x27]\x20},\x0a',_0x43e020['Null']!=_0x1e4ebc(0x216)&&(_0x1f5239+=_0x1e4ebc(0x231)+_0x43e020[_0x1e4ebc(0x206)]+'不能为空`,\x20required:\x20'+(_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)?'false':_0x1e4ebc(0x201))+_0x1e4ebc(0x1f0)),_0x1f5239+='\x20\x20\x20\x20],\x0a\x0a';}else['date',_0x1e4ebc(0x233),_0x1e4ebc(0x229)][_0x1e4ebc(0x21b)](_0x5effc3)>-0x1?(_0x1f5239+=_0x1e4ebc(0x202)+_0x43e020[_0x1e4ebc(0x206)]+'\x0a',_0x1f5239+='\x20\x20\x20\x20'+_0x43e020['Field']+_0x1e4ebc(0x219),_0x1f5239+=_0x1e4ebc(0x20a)+_0x43e020[_0x1e4ebc(0x206)]+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x43e020[_0x1e4ebc(0x1fb)]!='YES'&&(_0x1f5239+=_0x1e4ebc(0x231)+_0x43e020[_0x1e4ebc(0x206)]+_0x1e4ebc(0x217)+(_0x43e020[_0x1e4ebc(0x1fb)]!=_0x1e4ebc(0x216)?_0x1e4ebc(0x1fe):_0x1e4ebc(0x201))+_0x1e4ebc(0x1f0)),_0x1f5239+='\x20\x20\x20\x20],\x0a\x0a'):(_0x1f5239+=_0x1e4ebc(0x202)+_0x43e020['Comment']+'\x0a',_0x1f5239+=_0x1e4ebc(0x1f3)+_0x43e020[_0x1e4ebc(0x21c)]+_0x1e4ebc(0x219),_0x1f5239+=_0x1e4ebc(0x20a)+_0x43e020[_0x1e4ebc(0x206)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x43e020[_0x1e4ebc(0x1fb)]!='YES'&&(_0x1f5239+=_0x1e4ebc(0x231)+_0x43e020['Comment']+_0x1e4ebc(0x217)+(_0x43e020['Null']!=_0x1e4ebc(0x216)?'false':_0x1e4ebc(0x201))+_0x1e4ebc(0x1f0)),_0x1f5239+=_0x1e4ebc(0x22c));}}}}}_0x2eb2c8+='\x0a',_0x2eb2c8+=_0x1e4ebc(0x1ee),_0x2eb2c8+=_0x1e4ebc(0x215)+_0x27ea2c+'\x0a',_0x2eb2c8+='\x20*\x20数据添加验证\x0a',_0x2eb2c8+=_0x1e4ebc(0x220),_0x2eb2c8+='export\x20const\x20'+_0x57cb4f+_0x1e4ebc(0x22e),_0x2eb2c8+=_0x1e4ebc(0x20b),_0x2eb2c8+='}\x0a\x0a',_0x2eb2c8=_0x2eb2c8[_0x1e4ebc(0x228)]('%RuleColumn%',_0x1f5239),fs[_0x1e4ebc(0x1f2)](_0x439a79,_0x2eb2c8,_0x1e4ebc(0x227));}}async function updateRule(_0x3118c3,{tablestartUpShort:_0x370788,Comment:_0x1d8322,Fields:_0x30580c}){const _0x4ee53f=a15_0x29d3eb,_0x1dd025=_0x3118c3+_0x4ee53f(0x20c);if(!fs['existsSync'](_0x1dd025)){let _0x7701bc='',_0x34706b='';for(let _0x520476 in _0x30580c){let _0x5ccc46=_0x30580c[_0x520476],_0x42a16d=(0x0,helper_1[_0x4ee53f(0x207)])(_0x5ccc46[_0x4ee53f(0x21e)]);if(_0x5ccc46[_0x4ee53f(0x21c)]=='displayorder'||_0x5ccc46[_0x4ee53f(0x21c)]=='created_at'||_0x5ccc46[_0x4ee53f(0x21c)]==_0x4ee53f(0x209)||_0x5ccc46['Field']==_0x4ee53f(0x224))continue;if([_0x4ee53f(0x218),'longtext','mediumtext'][_0x4ee53f(0x21b)](_0x42a16d)!=-0x1)_0x7701bc+=_0x4ee53f(0x202)+_0x5ccc46[_0x4ee53f(0x206)]+'\x0a',_0x7701bc+=_0x4ee53f(0x1f3)+_0x5ccc46[_0x4ee53f(0x21c)]+_0x4ee53f(0x219),_0x5ccc46[_0x4ee53f(0x1fb)]!='YES'&&(_0x7701bc+=_0x4ee53f(0x231)+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x217)+(_0x5ccc46[_0x4ee53f(0x1fb)]!='YES'?_0x4ee53f(0x1fe):_0x4ee53f(0x201))+_0x4ee53f(0x1f0)),_0x7701bc+=_0x4ee53f(0x22c);else{if(['float',_0x4ee53f(0x22d),_0x4ee53f(0x1f8),_0x4ee53f(0x225)]['indexOf'](_0x42a16d)!=-0x1)_0x7701bc+=_0x4ee53f(0x202)+_0x5ccc46['Comment']+'\x0a',_0x7701bc+=_0x4ee53f(0x1f3)+_0x5ccc46[_0x4ee53f(0x21c)]+_0x4ee53f(0x219),_0x7701bc+=_0x4ee53f(0x20a)+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x200),_0x5ccc46[_0x4ee53f(0x1fb)]!=_0x4ee53f(0x216)&&(_0x7701bc+=_0x4ee53f(0x231)+_0x5ccc46['Comment']+_0x4ee53f(0x217)+(_0x5ccc46[_0x4ee53f(0x1fb)]!='YES'?_0x4ee53f(0x1fe):_0x4ee53f(0x201))+_0x4ee53f(0x1f0)),_0x7701bc+=_0x4ee53f(0x22c);else{if([_0x4ee53f(0x1ea)][_0x4ee53f(0x21b)](_0x42a16d)!=-0x1)_0x7701bc+='\x20\x20\x20\x20//\x20'+_0x5ccc46[_0x4ee53f(0x206)]+'\x0a',_0x7701bc+='\x20\x20\x20\x20'+_0x5ccc46['Field']+_0x4ee53f(0x219),_0x7701bc+=_0x4ee53f(0x20a)+_0x5ccc46['Comment']+_0x4ee53f(0x200),_0x5ccc46['Null']!=_0x4ee53f(0x216)&&(_0x7701bc+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x217)+(_0x5ccc46[_0x4ee53f(0x1fb)]!=_0x4ee53f(0x216)?_0x4ee53f(0x1fe):'true')+'\x20},\x0a'),_0x7701bc+=_0x4ee53f(0x22c);else{if(_0x42a16d==_0x4ee53f(0x21a))_0x7701bc+=_0x4ee53f(0x202)+_0x5ccc46['Comment']+'\x0a',_0x7701bc+='\x20\x20\x20\x20'+_0x5ccc46[_0x4ee53f(0x21c)]+_0x4ee53f(0x219),_0x5ccc46[_0x4ee53f(0x1fb)]!='YES'&&(_0x7701bc+=_0x4ee53f(0x231)+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x217)+(_0x5ccc46[_0x4ee53f(0x1fb)]!=_0x4ee53f(0x216)?_0x4ee53f(0x1fe):_0x4ee53f(0x201))+'\x20},\x0a'),_0x7701bc+=_0x4ee53f(0x22c);else{if(_0x42a16d==_0x4ee53f(0x1f1)){let _0x55a589=(0x0,helper_1[_0x4ee53f(0x20d)])(_0x5ccc46[_0x4ee53f(0x21e)]);_0x7701bc+=_0x4ee53f(0x202)+_0x5ccc46[_0x4ee53f(0x206)]+'\x0a',_0x7701bc+=_0x4ee53f(0x1f3)+_0x5ccc46['Field']+_0x4ee53f(0x219),_0x7701bc+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x1f7)+_0x55a589[_0x4ee53f(0x1ff)]('\x27,\x20\x27')+_0x4ee53f(0x223),_0x5ccc46['Null']!=_0x4ee53f(0x216)&&(_0x7701bc+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x217)+(_0x5ccc46['Null']!=_0x4ee53f(0x216)?_0x4ee53f(0x1fe):'true')+_0x4ee53f(0x1f0)),_0x7701bc+=_0x4ee53f(0x22c);}else[_0x4ee53f(0x211),_0x4ee53f(0x233),_0x4ee53f(0x229)][_0x4ee53f(0x21b)](_0x42a16d)>-0x1?(_0x7701bc+=_0x4ee53f(0x202)+_0x5ccc46[_0x4ee53f(0x206)]+'\x0a',_0x7701bc+=_0x4ee53f(0x1f3)+_0x5ccc46['Field']+_0x4ee53f(0x219),_0x7701bc+=_0x4ee53f(0x20a)+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x20f),_0x5ccc46[_0x4ee53f(0x1fb)]!='YES'&&(_0x7701bc+=_0x4ee53f(0x231)+_0x5ccc46['Comment']+_0x4ee53f(0x217)+(_0x5ccc46[_0x4ee53f(0x1fb)]!=_0x4ee53f(0x216)?_0x4ee53f(0x1fe):_0x4ee53f(0x201))+_0x4ee53f(0x1f0)),_0x7701bc+=_0x4ee53f(0x22c)):(_0x7701bc+=_0x4ee53f(0x202)+_0x5ccc46[_0x4ee53f(0x206)]+'\x0a',_0x7701bc+=_0x4ee53f(0x1f3)+_0x5ccc46['Field']+_0x4ee53f(0x219),_0x7701bc+=_0x4ee53f(0x20a)+_0x5ccc46['Comment']+_0x4ee53f(0x22a),_0x5ccc46[_0x4ee53f(0x1fb)]!='YES'&&(_0x7701bc+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5ccc46[_0x4ee53f(0x206)]+_0x4ee53f(0x217)+(_0x5ccc46[_0x4ee53f(0x1fb)]!=_0x4ee53f(0x216)?'false':_0x4ee53f(0x201))+'\x20},\x0a'),_0x7701bc+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x34706b+='\x0a',_0x34706b+=_0x4ee53f(0x1ee),_0x34706b+=_0x4ee53f(0x215)+_0x1d8322+'\x0a',_0x34706b+='\x20*\x20数据更新验证\x0a',_0x34706b+=_0x4ee53f(0x220),_0x34706b+=_0x4ee53f(0x1fc)+_0x370788+'EditRule\x20=\x20{\x0a',_0x34706b+='%RuleColumn%',_0x34706b+='}\x0a\x0a',_0x34706b=_0x34706b['replace'](_0x4ee53f(0x20b),_0x7701bc),fs['writeFileSync'](_0x1dd025,_0x34706b,_0x4ee53f(0x227));}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default function ({ tablestartUpShort, tablestartUpShort2, moduleName, controller, Comment, apporbasic, Primary }: {
|
|
2
|
+
tablestartUpShort: any;
|
|
3
|
+
tablestartUpShort2: any;
|
|
4
|
+
moduleName: any;
|
|
5
|
+
controller: any;
|
|
6
|
+
Comment: any;
|
|
7
|
+
apporbasic: any;
|
|
8
|
+
Primary: any;
|
|
9
|
+
}): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a16_0x3de4e5=a16_0x247a;function a16_0x247a(_0x1e72f6,_0x29fd57){const _0x569013=a16_0x21fe();return a16_0x247a=function(_0x49a8cd,_0x4e816d){_0x49a8cd=_0x49a8cd-0x11e;let _0x21fee6=_0x569013[_0x49a8cd];return _0x21fee6;},a16_0x247a(_0x1e72f6,_0x29fd57);}(function(_0x3b45f8,_0x173983){const _0x253325=a16_0x247a,_0x5eed38=_0x3b45f8();while(!![]){try{const _0x8f1518=parseInt(_0x253325(0x12e))/0x1*(parseInt(_0x253325(0x12b))/0x2)+parseInt(_0x253325(0x153))/0x3*(parseInt(_0x253325(0x13d))/0x4)+parseInt(_0x253325(0x151))/0x5*(-parseInt(_0x253325(0x14c))/0x6)+parseInt(_0x253325(0x155))/0x7+-parseInt(_0x253325(0x129))/0x8*(-parseInt(_0x253325(0x14a))/0x9)+parseInt(_0x253325(0x14d))/0xa*(parseInt(_0x253325(0x13b))/0xb)+-parseInt(_0x253325(0x138))/0xc;if(_0x8f1518===_0x173983)break;else _0x5eed38['push'](_0x5eed38['shift']());}catch(_0x2b7760){_0x5eed38['push'](_0x5eed38['shift']());}}}(a16_0x21fe,0x9a789));const a16_0x4e816d=(function(){let _0x3b1c14=!![];return function(_0x1cf639,_0x32ba18){const _0x3dcb97=_0x3b1c14?function(){const _0x29dca9=a16_0x247a;if(_0x32ba18){const _0x6144dc=_0x32ba18[_0x29dca9(0x148)](_0x1cf639,arguments);return _0x32ba18=null,_0x6144dc;}}:function(){};return _0x3b1c14=![],_0x3dcb97;};}()),a16_0x49a8cd=a16_0x4e816d(this,function(){const _0x26c991=a16_0x247a;return a16_0x49a8cd['toString']()[_0x26c991(0x124)](_0x26c991(0x12c))[_0x26c991(0x149)]()['constructor'](a16_0x49a8cd)[_0x26c991(0x124)](_0x26c991(0x12c));});a16_0x49a8cd();function a16_0x21fe(){const _0x138ad8=['../helper','text','search','writeFileSync','@修改\x0a','\x20\x20\x20\x20return\x20request(`POST`,\x20`','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','8KridLU','mkdirSync','4mkEZIZ','(((.+)+)+)+$','__esModule','230889hsKUez','.ts','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','/detail/${','export\x20function\x20','path','Edit(','number','@列表\x0a','dirname','17190696MyQaDp','}\x0a\x0a','/add`,\x20params)\x0a','15136tsjDLo','string','4GNKzIs','Detail(','/edit/${','\x20\x20\x20\x20return\x20request(`GET`,\x20`',')\x20{\x0a','existsSync','/apis/','indexOf','}`)\x0a','/remove`,\x20params)\x0a','Field','apply','toString','2853036etWpED',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','12LwXSlB','2170hqtnvj','../../','getProp','/apis/apps/','1743240oOUmmA','//\x20','2255559AmgdOg','cwd','6533380RTQSmR','Type','@删除\x0a','../','/list`,\x20params)\x0a','}`,\x20params)\x0a','request\x27;\x0a\x0a'];a16_0x21fe=function(){return _0x138ad8;};return a16_0x21fe();}'use strict';Object['defineProperty'](exports,a16_0x3de4e5(0x12d),{'value':!![]});const fs=require('fs'),path_1=require(a16_0x3de4e5(0x133)),helper_1=require(a16_0x3de4e5(0x122));async function default_1({tablestartUpShort:_0x27b17c,tablestartUpShort2:_0x2ab028,moduleName:_0x5e2bed,controller:_0x394cf0,Comment:_0x31c62d,apporbasic:_0x1caa2a,Primary:_0x3e4648}){const _0x29b6c6=a16_0x3de4e5;let _0x3a7f9d=process[_0x29b6c6(0x154)]()+'/vue'+(typeof _0x394cf0==_0x29b6c6(0x13c)?'/'+_0x394cf0:'');_0x5e2bed?_0x3a7f9d=_0x3a7f9d+(_0x29b6c6(0x150)+_0x5e2bed+'/'+_0x27b17c+_0x29b6c6(0x12f)):_0x3a7f9d=_0x3a7f9d+(_0x29b6c6(0x143)+_0x1caa2a+'/'+_0x27b17c+_0x29b6c6(0x12f));if(!fs[_0x29b6c6(0x142)](_0x3a7f9d)){const _0x409926=[_0x29b6c6(0x123),'mediumtext',_0x29b6c6(0x13c)][_0x29b6c6(0x144)]((0x0,helper_1[_0x29b6c6(0x14f)])(_0x3e4648[_0x29b6c6(0x156)]))==-0x1,_0x496030=''+(typeof _0x394cf0==_0x29b6c6(0x13c)?_0x394cf0+'/':'')+(_0x5e2bed?_0x5e2bed+'/':'')+_0x2ab028;let _0x2b7b51='import\x20{\x20request\x20}\x20from\x20\x27'+(_0x5e2bed?_0x29b6c6(0x14e):_0x29b6c6(0x11e))+_0x29b6c6(0x121);_0x2b7b51+=_0x29b6c6(0x152)+_0x31c62d+'@详情\x0a',_0x2b7b51+='export\x20function\x20'+_0x27b17c+_0x29b6c6(0x13e)+_0x3e4648['Field']+':\x20'+(_0x409926?_0x29b6c6(0x135):_0x29b6c6(0x13c))+_0x29b6c6(0x141),_0x2b7b51+=_0x29b6c6(0x140)+_0x496030+_0x29b6c6(0x131)+_0x3e4648[_0x29b6c6(0x147)]+_0x29b6c6(0x145),_0x2b7b51+=_0x29b6c6(0x139),_0x2b7b51+=_0x29b6c6(0x152)+_0x31c62d+'@添加\x0a',_0x2b7b51+='export\x20function\x20'+_0x27b17c+_0x29b6c6(0x130),_0x2b7b51+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x496030+_0x29b6c6(0x13a),_0x2b7b51+=_0x29b6c6(0x139),_0x2b7b51+=_0x29b6c6(0x152)+_0x31c62d+_0x29b6c6(0x126),_0x2b7b51+=_0x29b6c6(0x132)+_0x27b17c+_0x29b6c6(0x134)+_0x3e4648[_0x29b6c6(0x147)]+':\x20'+(_0x409926?_0x29b6c6(0x135):_0x29b6c6(0x13c))+_0x29b6c6(0x14b),_0x2b7b51+=_0x29b6c6(0x127)+_0x496030+_0x29b6c6(0x13f)+_0x3e4648[_0x29b6c6(0x147)]+_0x29b6c6(0x120),_0x2b7b51+='}\x0a\x0a',_0x2b7b51+='//\x20'+_0x31c62d+_0x29b6c6(0x136),_0x2b7b51+='export\x20function\x20'+_0x27b17c+_0x29b6c6(0x128),_0x2b7b51+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x496030+_0x29b6c6(0x11f),_0x2b7b51+='}\x0a\x0a',_0x2b7b51+=_0x29b6c6(0x152)+_0x31c62d+_0x29b6c6(0x157),_0x2b7b51+=_0x29b6c6(0x132)+_0x27b17c+'Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x2b7b51+=_0x29b6c6(0x127)+_0x496030+_0x29b6c6(0x146),_0x2b7b51+=_0x29b6c6(0x139),fs[_0x29b6c6(0x12a)]((0x0,path_1[_0x29b6c6(0x137)])(_0x3a7f9d),{'recursive':!![]}),fs[_0x29b6c6(0x125)](_0x3a7f9d,_0x2b7b51,'utf-8');}}exports['default']=default_1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a17_0x3da314=a17_0x14a9;(function(_0xdc83e1,_0xb566a8){const _0x470670=a17_0x14a9,_0x24350a=_0xdc83e1();while(!![]){try{const _0x2310df=-parseInt(_0x470670(0x117))/0x1*(-parseInt(_0x470670(0x122))/0x2)+parseInt(_0x470670(0xf9))/0x3*(parseInt(_0x470670(0x124))/0x4)+parseInt(_0x470670(0xf7))/0x5*(parseInt(_0x470670(0xfa))/0x6)+parseInt(_0x470670(0x125))/0x7+-parseInt(_0x470670(0x114))/0x8+-parseInt(_0x470670(0x107))/0x9+parseInt(_0x470670(0x108))/0xa*(-parseInt(_0x470670(0x11d))/0xb);if(_0x2310df===_0xb566a8)break;else _0x24350a['push'](_0x24350a['shift']());}catch(_0x1ed618){_0x24350a['push'](_0x24350a['shift']());}}}(a17_0x4fad,0xda798));const a17_0x4da895=(function(){let _0xcc0efc=!![];return function(_0x151913,_0x41a8dc){const _0x3a4297=_0xcc0efc?function(){const _0x56be4f=a17_0x14a9;if(_0x41a8dc){const _0x5d971b=_0x41a8dc[_0x56be4f(0x105)](_0x151913,arguments);return _0x41a8dc=null,_0x5d971b;}}:function(){};return _0xcc0efc=![],_0x3a4297;};}()),a17_0x1add40=a17_0x4da895(this,function(){const _0x1999ca=a17_0x14a9;return a17_0x1add40[_0x1999ca(0x123)]()[_0x1999ca(0x11a)](_0x1999ca(0x10a))[_0x1999ca(0x123)]()[_0x1999ca(0x11c)](a17_0x1add40)[_0x1999ca(0x11a)](_0x1999ca(0x10a));});a17_0x1add40();'use strict';Object[a17_0x3da314(0xff)](exports,a17_0x3da314(0xfd),{'value':!![]});function a17_0x14a9(_0x274103,_0x3304e8){const _0xb21af9=a17_0x4fad();return a17_0x14a9=function(_0x1add40,_0x4da895){_0x1add40=_0x1add40-0xf7;let _0x4fad1b=_0xb21af9[_0x1add40];return _0x4fad1b;},a17_0x14a9(_0x274103,_0x3304e8);}const fs=require('fs'),path_1=require(a17_0x3da314(0x118));async function default_1({tablestartUpShort2:_0x3c01a3,controller:_0x33afb1,moduleName:_0x16351c,Comment:_0x4904e0,apporbasic:_0x11cbc4}){const _0x61b8be=a17_0x3da314;let _0x145276=process[_0x61b8be(0x10e)]()+_0x61b8be(0x120)+(typeof _0x33afb1==_0x61b8be(0x116)?'/'+_0x33afb1:'');_0x16351c?_0x145276=_0x145276+(_0x61b8be(0xf8)+_0x16351c+_0x61b8be(0x10b)):_0x145276=_0x145276+(_0x61b8be(0xfc)+_0x11cbc4+_0x61b8be(0x10b));await createLayout(_0x145276,{'moduleName':_0x16351c});const _0x546935=fs[_0x61b8be(0x11e)](_0x145276,_0x61b8be(0x106)),_0x117d1f=_0x61b8be(0x110)+(_0x4904e0+'\x22')[_0x61b8be(0x11b)](0x14)+_0x61b8be(0x119)+(''+(typeof _0x16351c==_0x61b8be(0x116)?_0x61b8be(0x111)+_0x16351c+'/':'/'+_0x11cbc4+'/')+_0x3c01a3+_0x61b8be(0x100))['padEnd'](0x14)+'}';_0x546935[_0x61b8be(0x103)](_0x117d1f)==-0x1&&fs['writeFileSync'](_0x145276,_0x546935['replace'](_0x61b8be(0x121),_0x117d1f+_0x61b8be(0x113)));}exports[a17_0x3da314(0x10d)]=default_1;async function createLayout(_0x1ce380,{moduleName:_0x5f20fb}){const _0x1108ac=a17_0x3da314;if(!fs['existsSync'](_0x1ce380)){let _0xc514ec='<template>\x0a';_0xc514ec+=_0x1108ac(0x115)+_0x5f20fb+_0x1108ac(0x109),_0xc514ec+=_0x1108ac(0xfe),_0xc514ec+=_0x1108ac(0x112),_0xc514ec+=_0x1108ac(0x11f),_0xc514ec+=_0x1108ac(0x10c),_0xc514ec+=_0x1108ac(0x101),_0xc514ec+=_0x1108ac(0x104),_0xc514ec+=_0x1108ac(0xfb),fs['mkdirSync']((0x0,path_1[_0x1108ac(0x102)])(_0x1ce380),{'recursive':!![]}),fs[_0x1108ac(0x10f)](_0x1ce380,_0xc514ec,_0x1108ac(0x106));}}function a17_0x4fad(){const _0x5d56ed=['/list\x22','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','dirname','indexOf','\x20\x20\x20\x20])\x0a','apply','utf-8','4213890sPvulr','3550vqLSaS','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','(((.+)+)+)+$','/layout.vue','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','default','cwd','writeFileSync','{title:\x20\x22','/apps-','</template>\x0a\x0a',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','6229656tueFKb','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','string','2KpgyYA','path',',\x20path:\x20\x22','search','padEnd','constructor','6787lubhWi','readFileSync','<script\x20lang=\x22ts\x22\x20setup>\x0a','/vue','//\x20add\x20menu\x20here','1051728oZBqcD','toString','4rdIMQN','799610daYCBo','5uruSSx','/pages/apps/','2453817QLtgSC','2261562igvgwS','</script>\x0a\x0a','/pages/','__esModule','\x20\x20\x20\x20</page-layout>\x0a','defineProperty'];a17_0x4fad=function(){return _0x5d56ed;};return a17_0x4fad();}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default function ({ moduleName, controller, tablestartUpShort, tablestartUpShort2, Primary, Fields, apporbasic, Comment }: {
|
|
2
|
+
moduleName: any;
|
|
3
|
+
controller: any;
|
|
4
|
+
tablestartUpShort: any;
|
|
5
|
+
tablestartUpShort2: any;
|
|
6
|
+
Primary: any;
|
|
7
|
+
Fields: any;
|
|
8
|
+
apporbasic: any;
|
|
9
|
+
Comment: any;
|
|
10
|
+
}): Promise<void>;
|