anncic-apihelper 3.7.2 → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configuration.js +1 -1
- package/dist/helper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/service/ApicreateService.js +1 -1
- package/dist/templateFun/Action.js +1 -1
- package/dist/templateFun/Common.js +1 -1
- package/dist/templateFun/Entities.js +1 -1
- package/dist/templateFun/Event.js +1 -1
- package/dist/templateFun/Handler.js +1 -1
- package/dist/templateFun/Search.js +1 -1
- package/dist/templateFun/Validator.js +1 -1
- package/dist/templateVue/Api.js +1 -1
- package/dist/templateVue/Layout.js +1 -1
- package/dist/templateVue/LayoutVue.js +1 -1
- package/dist/templateVue/Router.js +1 -1
- package/dist/templateVue/Validator.js +1 -1
- package/dist/templateVueV2/Api.js +1 -1
- package/dist/templateVueV2/Layout.js +1 -1
- package/dist/templateVueV2/LayoutVue.js +1 -1
- package/dist/templateVueV2/Router.js +1 -1
- package/dist/templateVueV2/Validator.js +1 -1
- package/dist/templateVueV3/Api.js +1 -1
- package/dist/templateVueV3/Layout.js +1 -1
- package/dist/templateVueV3/LayoutVue.js +1 -1
- package/dist/templateVueV3/Router.js +1 -1
- package/dist/templateVueV3/Validator.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
function a23_0x210a(_0x7c336d,_0x134bc8){const _0x10b26c=a23_0x272f();return a23_0x210a=function(_0xac233c,_0x1c4f6b){_0xac233c=_0xac233c-0x131;let _0x272f8e=_0x10b26c[_0xac233c];return _0x272f8e;},a23_0x210a(_0x7c336d,_0x134bc8);}const a23_0x1ee1f7=a23_0x210a;(function(_0x5ec488,_0x496190){const _0x4f6a2b=a23_0x210a,_0x3f5217=_0x5ec488();while(!![]){try{const _0x36ae28=parseInt(_0x4f6a2b(0x19f))/0x1+-parseInt(_0x4f6a2b(0x1b3))/0x2*(parseInt(_0x4f6a2b(0x1c2))/0x3)+parseInt(_0x4f6a2b(0x139))/0x4*(-parseInt(_0x4f6a2b(0x171))/0x5)+parseInt(_0x4f6a2b(0x16c))/0x6*(-parseInt(_0x4f6a2b(0x1a3))/0x7)+-parseInt(_0x4f6a2b(0x143))/0x8*(-parseInt(_0x4f6a2b(0x152))/0x9)+parseInt(_0x4f6a2b(0x1a1))/0xa+parseInt(_0x4f6a2b(0x1aa))/0xb;if(_0x36ae28===_0x496190)break;else _0x3f5217['push'](_0x3f5217['shift']());}catch(_0x409dc7){_0x3f5217['push'](_0x3f5217['shift']());}}}(a23_0x272f,0x42ca6));const a23_0x1c4f6b=(function(){let _0x15cd46=!![];return function(_0x4c45a6,_0x40d993){const _0x3f50d0=_0x15cd46?function(){const _0x55bd39=a23_0x210a;if(_0x40d993){const _0x44bc8d=_0x40d993[_0x55bd39(0x20d)](_0x4c45a6,arguments);return _0x40d993=null,_0x44bc8d;}}:function(){};return _0x15cd46=![],_0x3f50d0;};}()),a23_0xac233c=a23_0x1c4f6b(this,function(){const _0x84e133=a23_0x210a;return a23_0xac233c[_0x84e133(0x1ed)]()[_0x84e133(0x15f)]('(((.+)+)+)+$')['toString']()[_0x84e133(0x1d7)](a23_0xac233c)[_0x84e133(0x15f)](_0x84e133(0x199));});a23_0xac233c();'use strict';Object[a23_0x1ee1f7(0x142)](exports,'__esModule',{'value':!![]}),exports[a23_0x1ee1f7(0x203)]=default_1;const fs=require('fs'),path_1=require(a23_0x1ee1f7(0x20a)),helper_1=require(a23_0x1ee1f7(0x198));async function default_1({moduleName:_0x1bba48,controller:_0x5b7b34,tablestartUpShort:_0x24e3da,tablestartUpShort2:_0x3a352b,Primary:_0x385e78,Fields:_0x369015,apporbasic:_0x30d682,Comment:_0xe9a137,vuedialog:_0x319db9}){const _0x1fa83b=a23_0x1ee1f7;await createIndex({'moduleName':_0x1bba48,'controller':_0x5b7b34,'tablestartUpShort':_0x24e3da,'tablestartUpShort2':_0x3a352b,'Primary':_0x385e78,'Fields':_0x369015,'apporbasic':_0x30d682,'vuedialog':_0x319db9}),await createSearch({'moduleName':_0x1bba48,'controller':_0x5b7b34,'tablestartUpShort2':_0x3a352b,'Primary':_0x385e78,'Fields':_0x369015,'apporbasic':_0x30d682,'vuedialog':_0x319db9}),!_0x319db9?(await createAddOrEdit({'moduleName':_0x1bba48,'controller':_0x5b7b34,'tablestartUpShort':_0x24e3da,'tablestartUpShort2':_0x3a352b,'Primary':_0x385e78,'Fields':_0x369015,'apporbasic':_0x30d682,'Comment':_0xe9a137},_0x1fa83b(0x1e9)),await createAddOrEdit({'moduleName':_0x1bba48,'controller':_0x5b7b34,'tablestartUpShort':_0x24e3da,'tablestartUpShort2':_0x3a352b,'Primary':_0x385e78,'Fields':_0x369015,'apporbasic':_0x30d682,'Comment':_0xe9a137},'edit')):(await createAddOrEditDialog({'moduleName':_0x1bba48,'controller':_0x5b7b34,'tablestartUpShort':_0x24e3da,'tablestartUpShort2':_0x3a352b,'Primary':_0x385e78,'Fields':_0x369015,'apporbasic':_0x30d682,'Comment':_0xe9a137},'add'),await createAddOrEditDialog({'moduleName':_0x1bba48,'controller':_0x5b7b34,'tablestartUpShort':_0x24e3da,'tablestartUpShort2':_0x3a352b,'Primary':_0x385e78,'Fields':_0x369015,'apporbasic':_0x30d682,'Comment':_0xe9a137},_0x1fa83b(0x1d6)));}async function createIndex({moduleName:_0x31d401,controller:_0x45a5e3,tablestartUpShort:_0x3925dd,tablestartUpShort2:_0x50ae54,Primary:_0x7ad2a7,Fields:_0x1efa2e,apporbasic:_0x5890c8,vuedialog:_0x3dbeea}){const _0x59de23=a23_0x1ee1f7;let _0x44fd34=process[_0x59de23(0x197)]()+_0x59de23(0x1a0)+(typeof _0x45a5e3=='string'?'/'+_0x45a5e3:'');_0x31d401?_0x44fd34=_0x44fd34+(_0x59de23(0x19d)+_0x31d401+'/'+_0x50ae54+(!_0x3dbeea?_0x59de23(0x19a):'/')+'index.vue'):_0x44fd34=_0x44fd34+(_0x59de23(0x20f)+_0x5890c8+'/'+_0x50ae54+(!_0x3dbeea?_0x59de23(0x19a):'/')+_0x59de23(0x170));if(!fs[_0x59de23(0x1db)](_0x44fd34)){let _0x1c6a12='<el-table-column\x20prop='+('\x22'+_0x7ad2a7[_0x59de23(0x154)]+'\x22')[_0x59de23(0x195)](0x14)+(_0x59de23(0x186)+(_0x7ad2a7[_0x59de23(0x17b)]||'编号')+_0x59de23(0x200));for(let _0x1460aa in _0x1efa2e){const _0x22d085=_0x1efa2e[_0x1460aa];if([_0x59de23(0x173),_0x59de23(0x18a),_0x59de23(0x1bb),_0x59de23(0x18d)]['indexOf'](_0x1460aa)!=-0x1)continue;if(_0x1460aa[_0x59de23(0x1b4)](_0x1460aa[_0x59de23(0x210)]-0x3)==_0x59de23(0x1af)||_0x1460aa['substring'](_0x1460aa[_0x59de23(0x210)]-0x5)==_0x59de23(0x176)||_0x1460aa==_0x59de23(0x176)||_0x1460aa['substring'](_0x1460aa[_0x59de23(0x210)]-0x4)==_0x59de23(0x1f6)||_0x1460aa==_0x59de23(0x1f6))_0x1c6a12+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x59de23(0x1c4)+('\x22'+_0x1460aa+'\x22')[_0x59de23(0x195)](0x14)+(_0x59de23(0x186)+(_0x22d085['Comment']||_0x22d085['Field'])+_0x59de23(0x1bd)),_0x1c6a12+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x59de23(0x1ef),_0x1c6a12+='\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'+_0x59de23(0x177),_0x1c6a12+='\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'+(_0x59de23(0x1b8)+_0x1460aa+_0x59de23(0x211)),_0x1c6a12+='\x0a'+_0x59de23(0x216)+(_0x59de23(0x1a8)+_0x1460aa+'\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>'),_0x1c6a12+='\x0a'+_0x59de23(0x1fa)+'</a>',_0x1c6a12+='\x0a'+_0x59de23(0x1fa)+_0x59de23(0x1d8),_0x1c6a12+='\x0a'+_0x59de23(0x216)+(_0x59de23(0x1ca)+_0x1460aa+'\x22\x20style=\x22cursor:pointer\x22/>'),_0x1c6a12+='\x0a'+_0x59de23(0x1fa)+_0x59de23(0x147),_0x1c6a12+='\x0a'+_0x59de23(0x1fd)+'</el-popover>',_0x1c6a12+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x59de23(0x147),_0x1c6a12+='\x0a'+_0x59de23(0x213)+'</el-table-column>';else{if(['tinyint']['indexOf']((0x0,helper_1[_0x59de23(0x1f0)])(_0x22d085['Type']))!=-0x1)_0x1c6a12+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-table-column\x20prop='+('\x22'+_0x1460aa+'\x22')[_0x59de23(0x195)](0x14)+(_0x59de23(0x186)+(_0x22d085['Comment']||_0x22d085[_0x59de23(0x154)])+'\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22>'),_0x1c6a12+='\x0a'+_0x59de23(0x192)+_0x59de23(0x1ef),_0x1c6a12+='\x0a'+_0x59de23(0x1fd)+(_0x59de23(0x214)+_0x1460aa+_0x59de23(0x150)),_0x1c6a12+='\x0a'+_0x59de23(0x192)+_0x59de23(0x147),_0x1c6a12+='\x0a'+_0x59de23(0x213)+_0x59de23(0x191);else[_0x59de23(0x14d)][_0x59de23(0x148)]((0x0,helper_1['getProp'])(_0x22d085[_0x59de23(0x166)]))==-0x1&&(_0x1c6a12+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x59de23(0x1c4)+('\x22'+_0x1460aa+'\x22')[_0x59de23(0x195)](0x14)+(_0x59de23(0x186)+(_0x22d085[_0x59de23(0x17b)]||_0x22d085['Field'])+_0x59de23(0x1c9)));}}const _0x144dcd=''+(typeof _0x45a5e3==_0x59de23(0x205)?_0x45a5e3+'/':'')+(_0x31d401?_0x31d401+'/':'')+_0x50ae54;fs['mkdirSync']((0x0,path_1[_0x59de23(0x17d)])(_0x44fd34),{'recursive':!![]}),fs['writeFileSync'](_0x44fd34,'<template>\x0a\x20\x20\x20\x20<page-main>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<elplus-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20:loading=\x22loading\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\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$hasPrem(`get@/'+_0x144dcd+_0x59de23(0x159)+(!_0x3dbeea?_0x59de23(0x17e):_0x59de23(0x15c))+_0x59de23(0x215)+_0x1c6a12+_0x59de23(0x15e)+_0x144dcd+_0x59de23(0x1b7)+_0x7ad2a7[_0x59de23(0x154)]+_0x59de23(0x182)+(!_0x3dbeea?_0x59de23(0x18e)+_0x7ad2a7[_0x59de23(0x154)]+_0x59de23(0x13b)+_0x7ad2a7['Field']+_0x59de23(0x1a2):_0x59de23(0x138))+'\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\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/'+_0x144dcd+'/remove`)\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22danger\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</elplus-table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(!_0x3dbeea?'':_0x59de23(0x1cc))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(!_0x3dbeea?'':_0x59de23(0x1f8))+'\x0a\x20\x20\x20\x20</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0a'+(!_0x3dbeea?'':_0x59de23(0x1c7))+'\x0a'+(!_0x3dbeea?'':_0x59de23(0x1d0))+_0x59de23(0x1d2)+_0x3925dd+_0x59de23(0x18f)+_0x3925dd+_0x59de23(0x1d9)+_0x3925dd+_0x59de23(0x1ee)+(_0x31d401?_0x59de23(0x1da)+_0x31d401:''+_0x5890c8)+'/'+_0x3925dd+_0x59de23(0x15d)+_0x3925dd+_0x59de23(0x183)+_0x3925dd+_0x59de23(0x1f9)+_0x7ad2a7[_0x59de23(0x154)]+':\x20item.'+_0x7ad2a7[_0x59de23(0x154)]+_0x59de23(0x1bf)+_0x7ad2a7['Field']+_0x59de23(0x156)+_0x3925dd+_0x59de23(0x18c)+_0x7ad2a7['Field']+_0x59de23(0x1ae),_0x59de23(0x14e));}}async function createSearch({moduleName:_0x454c3f,tablestartUpShort2:_0x387709,controller:_0x1a9d15,Primary:_0x223d43,Fields:_0x2bc5a6,apporbasic:_0x22c08c,vuedialog:_0xb59104}){const _0x75e7c5=a23_0x1ee1f7;let _0x5e11af=process[_0x75e7c5(0x197)]()+_0x75e7c5(0x1a0)+(typeof _0x1a9d15==_0x75e7c5(0x205)?'/'+_0x1a9d15:'');_0x454c3f?_0x5e11af=_0x5e11af+(_0x75e7c5(0x19d)+_0x454c3f+'/'+_0x387709+(!_0xb59104?'/list/':'/')+_0x75e7c5(0x1e3)):_0x5e11af=_0x5e11af+(_0x75e7c5(0x20f)+_0x22c08c+'/'+_0x387709+(!_0xb59104?_0x75e7c5(0x19a):'/')+_0x75e7c5(0x1e3));if(!fs[_0x75e7c5(0x1db)](_0x5e11af)){let _0x25d2f6='';_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+(_0x75e7c5(0x193)+(_0x223d43[_0x75e7c5(0x17b)]||'编号')+'\x22>'),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+(_0x75e7c5(0x14a)+_0x223d43[_0x75e7c5(0x154)]+_0x75e7c5(0x1f5)+(_0x223d43[_0x75e7c5(0x17b)]||'编号')+'\x22\x20clearable/>'),_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+_0x75e7c5(0x204);for(let _0x3560ed in _0x2bc5a6){const _0x1ca5e9=_0x2bc5a6[_0x3560ed];if(['updated_at',_0x75e7c5(0x1bb),'displayorder']['indexOf'](_0x3560ed)!=-0x1)continue;if(_0x3560ed['substring'](_0x3560ed[_0x75e7c5(0x210)]-0x3)==_0x75e7c5(0x1af)||_0x3560ed['substring'](_0x3560ed[_0x75e7c5(0x210)]-0x5)==_0x75e7c5(0x176)||_0x3560ed==_0x75e7c5(0x176)||_0x3560ed[_0x75e7c5(0x1b4)](_0x3560ed[_0x75e7c5(0x210)]-0x4)==_0x75e7c5(0x1f6)||_0x3560ed==_0x75e7c5(0x1f6))continue;if(_0x3560ed[_0x75e7c5(0x1b4)](_0x3560ed[_0x75e7c5(0x210)]-0x3)==_0x75e7c5(0x161))_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+(_0x75e7c5(0x193)+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9['Field'])+'\x22>'),_0x25d2f6+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x75e7c5(0x1c3)+_0x3560ed+_0x75e7c5(0x1f5)+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x16e)),_0x25d2f6+='\x0a'+'\x20\x20\x20\x20'+_0x75e7c5(0x204)+'\x0a';else{if(_0x3560ed['endsWith'](_0x75e7c5(0x1a4))){let _0x36c3c5=''+(typeof _0x1a9d15==_0x75e7c5(0x205)?_0x1a9d15+'/':'')+(_0x454c3f?_0x454c3f+'/':'')+_0x387709;_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+('<el-form-item\x20label=\x22'+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9['Field'])+'\x22>'),_0x25d2f6+='\x0a'+_0x75e7c5(0x15a)+(_0x75e7c5(0x167)+_0x3560ed+_0x75e7c5(0x1eb)+_0x36c3c5+_0x75e7c5(0x131)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0x75e7c5(0x1f0)])(_0x1ca5e9['Type'])){case _0x75e7c5(0x163):_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+('<el-form-item\x20label=\x22'+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9['Field'])+'\x22>'),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+('<el-select\x20v-model=\x22props.search.'+_0x3560ed+'\x22\x20placeholder=\x22请选择'+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x1b1));for(let _0x3002aa of(0x0,helper_1[_0x75e7c5(0x1d3)])(_0x1ca5e9[_0x75e7c5(0x166)])){_0x25d2f6+='\x0a'+_0x75e7c5(0x15a)+(_0x75e7c5(0x14f)+_0x3002aa+_0x75e7c5(0x13f)+_0x3002aa+_0x75e7c5(0x1de));}_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+'</el-select>',_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+_0x75e7c5(0x204)+'\x0a';break;case'date':_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+(_0x75e7c5(0x193)+(_0x1ca5e9['Comment']||_0x1ca5e9[_0x75e7c5(0x154)])+_0x75e7c5(0x140)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+(_0x75e7c5(0x208)+_0x3560ed+'_start\x22\x20placeholder=\x22选择'+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x1cd)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+'</el-form-item>'+'\x0a',_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+(_0x75e7c5(0x193)+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9['Field'])+_0x75e7c5(0x17c)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+(_0x75e7c5(0x208)+_0x3560ed+_0x75e7c5(0x14c)+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x149)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+_0x75e7c5(0x204)+'\x0a';break;case'datetime':_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+(_0x75e7c5(0x193)+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9[_0x75e7c5(0x154)])+_0x75e7c5(0x140)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+(_0x75e7c5(0x208)+_0x3560ed+'_start\x22\x20placeholder=\x22选择'+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x1e2)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+_0x75e7c5(0x204)+'\x0a',_0x25d2f6+='\x0a'+'\x20\x20\x20\x20'+(_0x75e7c5(0x193)+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9[_0x75e7c5(0x154)])+_0x75e7c5(0x17c)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+(_0x75e7c5(0x208)+_0x3560ed+'_end\x22\x20placeholder=\x22选择'+_0x1ca5e9[_0x75e7c5(0x17b)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x25d2f6+='\x0a'+'\x20\x20\x20\x20'+_0x75e7c5(0x204)+'\x0a';break;case'timestamp':_0x25d2f6+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9[_0x75e7c5(0x154)])+_0x75e7c5(0x140)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+(_0x75e7c5(0x208)+_0x3560ed+_0x75e7c5(0x188)+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x1e2)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+_0x75e7c5(0x204)+'\x0a',_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+(_0x75e7c5(0x193)+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9[_0x75e7c5(0x154)])+'<=\x22>'),_0x25d2f6+='\x0a'+_0x75e7c5(0x1fb)+('<el-date-picker\x20v-model=\x22props.search.'+_0x3560ed+_0x75e7c5(0x14c)+_0x1ca5e9['Comment']+_0x75e7c5(0x134)),_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+'</el-form-item>'+'\x0a';break;case _0x75e7c5(0x205):_0x25d2f6+='\x0a'+_0x75e7c5(0x1f4)+('<el-form-item\x20label=\x22'+(_0x1ca5e9[_0x75e7c5(0x17b)]||_0x1ca5e9[_0x75e7c5(0x154)])+'\x22>'),_0x25d2f6+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x75e7c5(0x14a)+_0x3560ed+_0x75e7c5(0x1f5)+_0x1ca5e9[_0x75e7c5(0x17b)]+_0x75e7c5(0x135)),_0x25d2f6+='\x0a'+'\x20\x20\x20\x20'+_0x75e7c5(0x204)+'\x0a';}}}fs[_0x75e7c5(0x1c5)]((0x0,path_1[_0x75e7c5(0x17d)])(_0x5e11af),{'recursive':!![]}),fs[_0x75e7c5(0x1ec)](_0x5e11af,_0x75e7c5(0x189)+_0x25d2f6+'\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aconst\x20props\x20=\x20defineProps({\x0a\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a})\x0a</script>','utf-8');}}async function createAddOrEdit({moduleName:_0xf139c9,controller:_0x512f26,tablestartUpShort:_0x2429c9,tablestartUpShort2:_0x25b092,Primary:_0x3928ca,Fields:_0x1bf707,apporbasic:_0x5a3c49,Comment:_0x55500c},_0x224cdd='add'){const _0x24cf26=a23_0x1ee1f7;let _0x3065bf=process['cwd']()+_0x24cf26(0x1a0)+(typeof _0x512f26==_0x24cf26(0x205)?'/'+_0x512f26:'');_0xf139c9?_0x3065bf=_0x3065bf+('/pages/apps/'+_0xf139c9+'/'+_0x25b092+'/'+_0x224cdd+_0x24cf26(0x206)):_0x3065bf=_0x3065bf+('/pages/'+_0x5a3c49+'/'+_0x25b092+'/'+_0x224cdd+_0x24cf26(0x206));if(!fs[_0x24cf26(0x1db)](_0x3065bf)){const _0x1f4834=[_0x24cf26(0x14d),_0x24cf26(0x180),_0x24cf26(0x205)]['indexOf']((0x0,helper_1[_0x24cf26(0x1f0)])(_0x3928ca['Type']))==-0x1,_0xbdb07c=''+(typeof _0x512f26=='string'?_0x512f26+'/':'')+(_0xf139c9?_0xf139c9+'/':'')+_0x25b092;let _0x3be2d7='';for(let _0x361be0 in _0x1bf707){const _0x5d6485=_0x1bf707[_0x361be0];if([_0x24cf26(0x173),_0x24cf26(0x18a),_0x24cf26(0x1bb),_0x24cf26(0x18d)]['indexOf'](_0x361be0)!=-0x1)continue;if(_0x361be0[_0x24cf26(0x1b4)](_0x361be0['length']-0x4)==_0x24cf26(0x20e)||_0x361be0[_0x24cf26(0x1b4)](_0x361be0[_0x24cf26(0x210)]-0x6)==_0x24cf26(0x1a7))_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+('<el-form-item\x20label=\x22'+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485['Field'])+'\x22\x20prop=\x22'+_0x361be0+_0x24cf26(0x145)),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x16b)+_0x361be0+_0x24cf26(0x181)+(_0xf139c9?_0x24cf26(0x20c)+_0xf139c9+'\x22':'')+'\x20/>'),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+'</el-form-item>'+'\x0a';else{if(_0x361be0[_0x24cf26(0x1b4)](_0x361be0['length']-0x3)==_0x24cf26(0x1af)||_0x361be0[_0x24cf26(0x1b4)](_0x361be0[_0x24cf26(0x210)]-0x5)==_0x24cf26(0x176)||_0x361be0==_0x24cf26(0x176)||_0x361be0[_0x24cf26(0x1b4)](_0x361be0[_0x24cf26(0x210)]-0x4)=='logo'||_0x361be0==_0x24cf26(0x1f6))_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+(_0x24cf26(0x193)+(_0x5d6485['Comment']||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22\x20class=\x22block\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x16b)+_0x361be0+_0x24cf26(0x13c)+(_0xf139c9?_0x24cf26(0x20c)+_0xf139c9+'\x22':'')+'/>'),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';else{if(_0x361be0[_0x24cf26(0x1b4)](_0x361be0['length']-0x4)==_0x24cf26(0x1e8)||_0x361be0[_0x24cf26(0x1b4)](_0x361be0[_0x24cf26(0x210)]-0x3)==_0x24cf26(0x178))_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+('<el-form-item\x20label=\x22'+(_0x5d6485['Comment']||_0x5d6485['Field'])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x165)+_0x361be0+_0x24cf26(0x18b)+_0x5d6485[_0x24cf26(0x17b)]+_0x24cf26(0x162)),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';else{if(_0x361be0[_0x24cf26(0x1c0)](-0x3)==_0x24cf26(0x161))_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x133)+_0x361be0+_0x24cf26(0x1f5)+_0x5d6485[_0x24cf26(0x17b)]+_0x24cf26(0x1cf)),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x24cf26(0x204)+'\x0a';else{if(_0x361be0[_0x24cf26(0x1c0)](-0x4)==_0x24cf26(0x168))_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+(_0x24cf26(0x193)+(_0x5d6485['Comment']||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x17a)+_0x361be0+'\x22\x20placeholder=\x22请输入'+_0x5d6485[_0x24cf26(0x17b)]+_0x24cf26(0x135)),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+'</el-form-item>'+'\x0a';else{if(_0x361be0['substr'](-0x3)=='_id'){let _0x3378a5=''+(typeof _0x512f26==_0x24cf26(0x205)?_0x512f26+'/':'')+(_0xf139c9?_0xf139c9+'/':'')+_0x25b092;_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x201)+_0x361be0+_0x24cf26(0x1eb)+_0x3378a5+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';}else switch((0x0,helper_1[_0x24cf26(0x1f0)])(_0x5d6485[_0x24cf26(0x166)])){case'number':_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+('<el-form-item\x20label=\x22'+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x133)+_0x361be0+_0x24cf26(0x1f5)+_0x5d6485['Comment']+_0x24cf26(0x1cf)),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';break;case _0x24cf26(0x163):_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485['Field'])+'\x22\x20prop=\x22'+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x144)+_0x361be0+'\x22\x20placeholder=\x22请选择'+_0x5d6485[_0x24cf26(0x17b)]+_0x24cf26(0x1b1));for(let _0x43eb54 of(0x0,helper_1['getEnum'])(_0x5d6485[_0x24cf26(0x166)])){_0x3be2d7+='\x0a'+_0x24cf26(0x192)+('<el-option\x20label=\x22'+_0x43eb54+_0x24cf26(0x13f)+_0x43eb54+_0x24cf26(0x1de));}_0x3be2d7+='\x0a'+_0x24cf26(0x213)+_0x24cf26(0x1b6),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';break;case _0x24cf26(0x14d):_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22\x20class=\x22block\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x17a)+_0x361be0+'\x22\x20\x20placeholder=\x22请输入'+_0x5d6485[_0x24cf26(0x17b)]+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';break;case _0x24cf26(0x179):_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+('<el-form-item\x20label=\x22'+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+'\x22\x20prop=\x22'+_0x361be0+_0x24cf26(0x145)),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x361be0+'\x22\x20'+(_0xf139c9?'module=\x22'+_0xf139c9+'\x22':'')+'/>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x24cf26(0x204)+'\x0a';break;case'mediumtext':_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485['Field'])+_0x24cf26(0x1a5)+_0x361be0+_0x24cf26(0x145)),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x361be0+'\x22\x20'+(_0xf139c9?_0x24cf26(0x20c)+_0xf139c9+'\x22':'')+'/>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x24cf26(0x204)+'\x0a';break;case _0x24cf26(0x1c6):_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x19e)+_0x361be0+_0x24cf26(0x1a6)+_0x5d6485[_0x24cf26(0x17b)]+_0x24cf26(0x190)),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+'</el-form-item>'+'\x0a';break;case _0x24cf26(0x1e5):_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x19e)+_0x361be0+_0x24cf26(0x1a6)+_0x5d6485['Comment']+_0x24cf26(0x20b)),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';break;case _0x24cf26(0x19b):_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x24cf26(0x193)+(_0x5d6485[_0x24cf26(0x17b)]||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+(_0x24cf26(0x19e)+_0x361be0+_0x24cf26(0x1a6)+_0x5d6485[_0x24cf26(0x17b)]+_0x24cf26(0x20b)),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x24cf26(0x204)+'\x0a';break;default:_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+('<el-form-item\x20label=\x22'+(_0x5d6485['Comment']||_0x5d6485[_0x24cf26(0x154)])+_0x24cf26(0x1a5)+_0x361be0+'\x22>'),_0x3be2d7+='\x0a'+_0x24cf26(0x213)+('<el-input\x20v-model=\x22formdata.'+_0x361be0+_0x24cf26(0x1f5)+_0x5d6485[_0x24cf26(0x17b)]+'\x22\x20clearable/>'),_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x24cf26(0x204)+'\x0a';}}}}}}}_0x3be2d7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x3be2d7+='\x0a'+_0x24cf26(0x213)+_0x24cf26(0x1bc),_0x3be2d7+='\x0a'+_0x24cf26(0x15a)+_0x24cf26(0x204)+'\x0a';let _0x1e3432=_0x24cf26(0x1e7);_0x1e3432+='\x20\x20\x20\x20<page-main>\x0a',_0x1e3432+=_0x24cf26(0x15b)+(_0x224cdd==_0x24cf26(0x1e9)?'添加'+_0x55500c:'编辑'+_0x55500c)+_0x24cf26(0x209)+_0x2429c9+(_0x224cdd==_0x24cf26(0x1e9)?_0x24cf26(0x174):_0x24cf26(0x1ff))+'Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/'+_0xbdb07c+'/'+(_0x224cdd==_0x24cf26(0x1e9)?'add':_0x24cf26(0x1e1)+_0x3928ca[_0x24cf26(0x154)])+_0x24cf26(0x1fc),_0x1e3432+=_0x24cf26(0x15a)+_0x3be2d7+'\x0a\x0a',_0x1e3432+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x1e3432+=_0x24cf26(0x169)+_0xbdb07c+'/'+(_0x224cdd==_0x24cf26(0x1e9)?'add':'edit/:'+_0x3928ca[_0x24cf26(0x154)])+_0x24cf26(0x1cb),_0x1e3432+=_0x24cf26(0x172),_0x1e3432+=_0x24cf26(0x141),_0x1e3432+='\x20\x20\x20\x20</page-main>\x0a',_0x1e3432+=_0x24cf26(0x16f),_0x1e3432+=_0x24cf26(0x184);if(_0x224cdd==_0x24cf26(0x1e9))_0x1e3432+=_0x24cf26(0x1b9)+_0x2429c9+_0x24cf26(0x160),_0x1e3432+=_0x24cf26(0x1b9)+_0x2429c9+'Add\x20}\x20from\x20\x27@/apis/'+(_0xf139c9?'apps/'+_0xf139c9:''+_0x5a3c49)+'/'+_0x2429c9+'\x27;\x0a\x0a';else _0x224cdd==_0x24cf26(0x1d6)&&(_0x1e3432+=_0x24cf26(0x1b9)+_0x2429c9+'EditRule\x20}\x20from\x20\x27../interface\x27;\x0a',_0x1e3432+=_0x24cf26(0x1b9)+_0x2429c9+'Edit,\x20'+_0x2429c9+_0x24cf26(0x1e4)+(_0xf139c9?_0x24cf26(0x1da)+_0xf139c9:''+_0x5a3c49)+'/'+_0x2429c9+_0x24cf26(0x1ab));_0x1e3432+=_0x24cf26(0x194);if(_0x224cdd==_0x24cf26(0x1e9))_0x1e3432+=_0x24cf26(0x137);else _0x224cdd==_0x24cf26(0x1d6)&&(_0x1e3432+=_0x24cf26(0x202));_0x1e3432+=_0x24cf26(0x164),_0x1e3432+=_0x24cf26(0x13a),_0x1e3432+=_0x24cf26(0x175),_0x1e3432+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x2429c9+(_0x224cdd=='add'?'Add':_0x24cf26(0x1ff))+'('+(_0x224cdd==_0x24cf26(0x1d6)?_0x24cf26(0x1e6)+_0x3928ca[_0x24cf26(0x154)]+',\x20':'')+_0x24cf26(0x1fe),_0x1e3432+=_0x24cf26(0x13e),_0x1e3432+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x1e3432+=_0x24cf26(0x158),_0x1e3432+=_0x24cf26(0x207),_0x1e3432+=_0x24cf26(0x1dc),_0x1e3432+=_0x24cf26(0x151),_0x224cdd==_0x24cf26(0x1d6)&&(_0x1e3432+=_0x24cf26(0x1c1),_0x1e3432+=_0x24cf26(0x153)+_0x3928ca['Field']+':\x20'+(_0x1f4834?_0x24cf26(0x1c8):_0x24cf26(0x205))+_0x24cf26(0x1f7),_0x1e3432+=_0x24cf26(0x157)+_0x3928ca[_0x24cf26(0x154)]+_0x24cf26(0x1df),_0x1e3432+=_0x24cf26(0x196),_0x1e3432+=_0x24cf26(0x1fb)+_0x2429c9+_0x24cf26(0x1f2)+_0x3928ca[_0x24cf26(0x154)]+_0x24cf26(0x146),_0x1e3432+=_0x24cf26(0x132),_0x1e3432+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a',_0x1e3432+=_0x24cf26(0x1b5),_0x1e3432+=_0x24cf26(0x207),_0x1e3432+='\x20\x20\x20\x20}\x20else\x20{\x0a',_0x1e3432+=_0x24cf26(0x1e0),_0x1e3432+=_0x24cf26(0x14b),_0x1e3432+='}\x0a\x0a\x0a',_0x1e3432+='getDetail(route?.query?.'+_0x3928ca[_0x24cf26(0x154)]+'\x20as\x20unknown\x20as\x20'+(_0x1f4834?_0x24cf26(0x1c8):'string')+')\x0a'),_0x1e3432+=_0x24cf26(0x16a),fs[_0x24cf26(0x1c5)]((0x0,path_1[_0x24cf26(0x17d)])(_0x3065bf),{'recursive':!![]}),fs['writeFileSync'](_0x3065bf,_0x1e3432,_0x24cf26(0x14e));}}async function createAddOrEditDialog({moduleName:_0x45d32f,controller:_0x34a090,tablestartUpShort:_0x158d64,tablestartUpShort2:_0x43e54a,Primary:_0x498c7d,Fields:_0x1e0f00,apporbasic:_0x227265,Comment:_0x53e9d7},_0x195c65=a23_0x1ee1f7(0x1e9)){const _0x8159b6=a23_0x1ee1f7;let _0x4bda0a=process[_0x8159b6(0x197)]()+'/vue'+(typeof _0x34a090==_0x8159b6(0x205)?'/'+_0x34a090:'');_0x45d32f?_0x4bda0a=_0x4bda0a+(_0x8159b6(0x19d)+_0x45d32f+'/'+_0x43e54a+_0x8159b6(0x1f3)+_0x195c65+'.vue'):_0x4bda0a=_0x4bda0a+('/pages/'+_0x227265+'/'+_0x43e54a+_0x8159b6(0x1f3)+_0x195c65+'.vue');if(!fs['existsSync'](_0x4bda0a)){const _0xa2f5fa=''+(typeof _0x34a090=='string'?_0x34a090+'/':'')+(_0x45d32f?_0x45d32f+'/':'')+_0x43e54a;let _0xa48a87='';for(let _0xcbd25d in _0x1e0f00){const _0x561e71=_0x1e0f00[_0xcbd25d];if([_0x8159b6(0x173),_0x8159b6(0x18a),_0x8159b6(0x1bb),_0x8159b6(0x18d)][_0x8159b6(0x148)](_0xcbd25d)!=-0x1)continue;if(_0xcbd25d[_0x8159b6(0x1b4)](_0xcbd25d['length']-0x4)==_0x8159b6(0x20e)||_0xcbd25d[_0x8159b6(0x1b4)](_0xcbd25d[_0x8159b6(0x210)]-0x6)=='thumbs')_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71['Comment']||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+_0x8159b6(0x145)),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x16b)+_0xcbd25d+'\x22\x20:limit=\x225\x22\x20'+(_0x45d32f?_0x8159b6(0x20c)+_0x45d32f+'\x22':'')+'\x20/>'),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';else{if(_0xcbd25d[_0x8159b6(0x1b4)](_0xcbd25d['length']-0x3)=='img'||_0xcbd25d['substring'](_0xcbd25d[_0x8159b6(0x210)]-0x5)=='thumb'||_0xcbd25d==_0x8159b6(0x176)||_0xcbd25d[_0x8159b6(0x1b4)](_0xcbd25d['length']-0x4)=='logo'||_0xcbd25d=='logo')_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x193)+(_0x561e71['Comment']||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+_0x8159b6(0x145)),_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x16b)+_0xcbd25d+_0x8159b6(0x13c)+(_0x45d32f?'module=\x22'+_0x45d32f+'\x22':'')+'/>'),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';else{if(_0xcbd25d[_0x8159b6(0x1b4)](_0xcbd25d[_0x8159b6(0x210)]-0x4)==_0x8159b6(0x1e8)||_0xcbd25d[_0x8159b6(0x1b4)](_0xcbd25d['length']-0x3)==_0x8159b6(0x178))_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71['Comment']||_0x561e71[_0x8159b6(0x154)])+'\x22\x20prop=\x22'+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x165)+_0xcbd25d+_0x8159b6(0x18b)+_0x561e71['Comment']+_0x8159b6(0x162)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';else{if(_0xcbd25d['substr'](-0x3)==_0x8159b6(0x161))_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71['Field'])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x133)+_0xcbd25d+'\x22\x20placeholder=\x22请输入'+_0x561e71[_0x8159b6(0x17b)]+_0x8159b6(0x1cf)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';else{if(_0xcbd25d['substr'](-0x4)==_0x8159b6(0x168))_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71['Comment']||_0x561e71[_0x8159b6(0x154)])+'\x22\x20prop=\x22'+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x17a)+_0xcbd25d+_0x8159b6(0x1f5)+_0x561e71[_0x8159b6(0x17b)]+_0x8159b6(0x135)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';else{if(_0xcbd25d['substr'](-0x3)==_0x8159b6(0x1a4)){let _0x313d7b=''+(typeof _0x34a090==_0x8159b6(0x205)?_0x34a090+'/':'')+(_0x45d32f?_0x45d32f+'/':'')+_0x43e54a;_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x201)+_0xcbd25d+_0x8159b6(0x1eb)+_0x313d7b+_0x8159b6(0x131)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';}else switch((0x0,helper_1[_0x8159b6(0x1f0)])(_0x561e71[_0x8159b6(0x166)])){case'number':_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71['Field'])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x133)+_0xcbd25d+_0x8159b6(0x1f5)+_0x561e71[_0x8159b6(0x17b)]+_0x8159b6(0x1cf)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';break;case'enum':_0xa48a87+='\x0a'+_0x8159b6(0x15a)+('<el-form-item\x20label=\x22'+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x144)+_0xcbd25d+_0x8159b6(0x1b0)+_0x561e71[_0x8159b6(0x17b)]+_0x8159b6(0x1b1));for(let _0x44f783 of(0x0,helper_1['getEnum'])(_0x561e71[_0x8159b6(0x166)])){_0xa48a87+='\x0a'+_0x8159b6(0x192)+(_0x8159b6(0x14f)+_0x44f783+_0x8159b6(0x13f)+_0x44f783+'\x22\x20/>');}_0xa48a87+='\x0a'+_0x8159b6(0x213)+_0x8159b6(0x1b6),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';break;case _0x8159b6(0x14d):_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71['Comment']||_0x561e71['Field'])+_0x8159b6(0x1a5)+_0xcbd25d+_0x8159b6(0x145)),_0xa48a87+='\x0a'+_0x8159b6(0x213)+('<el-input\x20v-model=\x22formdata.'+_0xcbd25d+_0x8159b6(0x16d)+_0x561e71[_0x8159b6(0x17b)]+_0x8159b6(0x212)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+'</el-form-item>'+'\x0a';break;case _0x8159b6(0x179):_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+_0x8159b6(0x145)),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x19c)+_0xcbd25d+'\x22\x20'+(_0x45d32f?'module=\x22'+_0x45d32f+'\x22':'')+'/>'),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+'</el-form-item>'+'\x0a';break;case _0x8159b6(0x180):_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+_0x8159b6(0x145)),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x19c)+_0xcbd25d+'\x22\x20'+(_0x45d32f?_0x8159b6(0x20c)+_0x45d32f+'\x22':'')+'/>'),_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x8159b6(0x1c6):_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+(_0x8159b6(0x19e)+_0xcbd25d+_0x8159b6(0x1a6)+_0x561e71[_0x8159b6(0x17b)]+_0x8159b6(0x190)),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+'</el-form-item>'+'\x0a';break;case _0x8159b6(0x1e5):_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x19e)+_0xcbd25d+'\x22\x20placeholder=\x22选择'+_0x561e71[_0x8159b6(0x17b)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';break;case _0x8159b6(0x19b):_0xa48a87+='\x0a'+_0x8159b6(0x15a)+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71[_0x8159b6(0x154)])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+('<el-date-picker\x20v-model=\x22formdata.'+_0xcbd25d+'\x22\x20placeholder=\x22选择'+_0x561e71[_0x8159b6(0x17b)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';break;default:_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x8159b6(0x193)+(_0x561e71[_0x8159b6(0x17b)]||_0x561e71['Field'])+_0x8159b6(0x1a5)+_0xcbd25d+'\x22>'),_0xa48a87+='\x0a'+_0x8159b6(0x213)+('<el-input\x20v-model=\x22formdata.'+_0xcbd25d+_0x8159b6(0x1f5)+_0x561e71[_0x8159b6(0x17b)]+'\x22\x20clearable/>'),_0xa48a87+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x8159b6(0x204)+'\x0a';}}}}}}}_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x185),_0xa48a87+='\x0a'+_0x8159b6(0x213)+_0x8159b6(0x1bc),_0xa48a87+='\x0a'+_0x8159b6(0x15a)+_0x8159b6(0x204)+'\x0a';let _0x18af99=_0x8159b6(0x1e7);_0x18af99+=_0x8159b6(0x1f1)+(_0x195c65==_0x8159b6(0x1e9)?'添加'+_0x53e9d7:'编辑'+_0x53e9d7)+_0x8159b6(0x1ba),_0x18af99+=_0x8159b6(0x1a9)+_0x158d64+(_0x195c65=='add'?_0x8159b6(0x174):_0x8159b6(0x1ff))+_0x8159b6(0x1dd)+_0xa2f5fa+'/'+(_0x195c65==_0x8159b6(0x1e9)?'add':_0x8159b6(0x1e1)+_0x498c7d[_0x8159b6(0x154)])+_0x8159b6(0x1fc),_0x18af99+=_0x8159b6(0x15a)+_0xa48a87+'\x0a\x0a',_0x18af99+=_0x8159b6(0x141),_0x18af99+=_0x8159b6(0x13d),_0x18af99+=_0x8159b6(0x1d4)+_0xa2f5fa+'/'+(_0x195c65==_0x8159b6(0x1e9)?'add':_0x8159b6(0x1e1)+_0x498c7d[_0x8159b6(0x154)])+_0x8159b6(0x1cb),_0x18af99+=_0x8159b6(0x1b2),_0x18af99+=_0x8159b6(0x1ac),_0x18af99+=_0x8159b6(0x16f),_0x18af99+=_0x8159b6(0x184);if(_0x195c65==_0x8159b6(0x1e9))_0x18af99+=_0x8159b6(0x1b9)+_0x158d64+_0x8159b6(0x160),_0x18af99+=_0x8159b6(0x1b9)+_0x158d64+'Add\x20}\x20from\x20\x27@/apis/'+(_0x45d32f?_0x8159b6(0x1da)+_0x45d32f:''+_0x227265)+'/'+_0x158d64+'\x27;\x0a\x0a';else _0x195c65=='edit'&&(_0x18af99+=_0x8159b6(0x1b9)+_0x158d64+_0x8159b6(0x1d1),_0x18af99+=_0x8159b6(0x1b9)+_0x158d64+_0x8159b6(0x1ce)+_0x158d64+_0x8159b6(0x1ee)+(_0x45d32f?_0x8159b6(0x1da)+_0x45d32f:''+_0x227265)+'/'+_0x158d64+_0x8159b6(0x1ab));if(_0x195c65==_0x8159b6(0x1e9))_0x18af99+=_0x8159b6(0x17f),_0x18af99+='\x20\x20\x20\x20formdata.value\x20=\x20{},\x20refDialog?.value?.open();\x0a',_0x18af99+='}\x0a\x0a';else _0x195c65=='edit'&&(_0x18af99+='const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20('+_0x498c7d[_0x8159b6(0x154)]+')\x20=>\x20{\x0a',_0x18af99+=_0x8159b6(0x1ea)+_0x158d64+'Detail('+_0x498c7d[_0x8159b6(0x154)]+_0x8159b6(0x146),_0x18af99+=_0x8159b6(0x187),_0x18af99+=_0x8159b6(0x136),_0x18af99+=_0x8159b6(0x1ad),_0x18af99+=_0x8159b6(0x1dc),_0x18af99+=_0x8159b6(0x151));;_0x18af99+='//\x20保存数据\x0a',_0x18af99+=_0x8159b6(0x13a),_0x18af99+=_0x8159b6(0x175),_0x18af99+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x158d64+(_0x195c65==_0x8159b6(0x1e9)?_0x8159b6(0x174):_0x8159b6(0x1ff))+'('+(_0x195c65=='edit'?_0x8159b6(0x1e6)+_0x498c7d[_0x8159b6(0x154)]+',\x20':'')+_0x8159b6(0x1fe),_0x18af99+=_0x8159b6(0x1be),_0x18af99+=_0x8159b6(0x155),_0x18af99+=_0x8159b6(0x158),_0x18af99+=_0x8159b6(0x207),_0x18af99+=_0x8159b6(0x1dc),_0x18af99+='}\x0a\x0a',_0x18af99+=_0x8159b6(0x1d5),_0x18af99+=_0x8159b6(0x16a),fs[_0x8159b6(0x1c5)]((0x0,path_1[_0x8159b6(0x17d)])(_0x4bda0a),{'recursive':!![]}),fs[_0x8159b6(0x1ec)](_0x4bda0a,_0x18af99,_0x8159b6(0x14e));}}function a23_0x272f(){const _0x5c1a62=['\x22\x20class=\x22block\x22>',').then(res\x20=>\x20{\x0a','</template>','indexOf','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<el-input\x20v-model=\x22props.search.','\x20\x20\x20\x20}\x0a','_end\x22\x20placeholder=\x22选择','text','utf-8','<el-option\x20label=\x22','\x22\x20active-text=\x22启用\x22\x20inactive-text=\x22禁用\x22\x20@change=\x22handlerFieldChange\x22\x20/>','}\x0a\x0a','4226661qpldkC','const\x20getDetail\x20=\x20(','Field','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','\x20\x20\x20\x20if\x20(','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','/add`)\x22\x20@click=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','$refs?.refDialogAdd?.open()','\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\x20route\x20=\x20useRoute(),\x20table\x20=\x20reactive({\x0a\x20\x20\x20\x20data:\x20[],\x0a\x20\x20\x20\x20select:\x20[],\x0a\x20\x20\x20\x20search:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20_page:\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_size:\x2020,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_count:\x200,\x0a\x20\x20\x20\x20}\x0a})\x0a\x0a\x0a/**\x0a\x20*\x20获取数据列表\x0a\x20*\x20@param\x20page\x20分页-当前页\x0a\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20*\x20**/\x0aconst\x20LoadDatas\x20=\x20(page?:\x20number,\x20size?:\x20number,\x20sortable\x20=\x20{})\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20page\x20&&\x20(table.search._page\x20=\x20page),\x20size\x20&&\x20(table.search._size\x20=\x20size);\x0a\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20prop=\x22displayorder\x22\x20align=\x22center\x22\x20width=\x2280\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-input\x20v-model=\x22scope.row.displayorder\x22\x20type=\x22number\x22\x20@change=\x22handlerFieldChange(scope.row,\x27displayorder\x27)\x22></el-input>\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\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>\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$hasPrem(`get@/','search','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','num','\x22\x20split=\x22-\x22\x20clearable/>','enum','//\x20保存数据\x0a','<elplus-select-tags\x20v-model=\x22formdata.','Type','<elplus-select-search\x20v-model=\x22props.search.','_ids','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','</script>\x0a','<attachment-image\x20v-model=\x22formdata.','6qbgFuV','\x22\x20\x20placeholder=\x22请输入','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','</template>\x0a','index.vue','2629995sjkjwb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','created_at','Add','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','thumb','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','tag','longtext','<el-input\x20v-model=\x22formdata.','Comment','<=\x22>','dirname','$router.push(`add`)','const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20()\x20=>\x20{\x0a','mediumtext','\x22\x20:limit=\x225\x22\x20','`)\x22\x20@click=\x22','List(Object.assign({},\x20route?.query\x20||\x20{},\x20table.search\x20||\x20{},\x20sortable)).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20table.data\x20=\x20res.data\x20||\x20[],\x20table.search\x20=\x20{\x20...table.search,\x20...res?.extra?.pageinfo\x20||\x20{},\x20_count:\x20res?.extra?.pagetotal\x20||\x200\x20};\x0a\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a\x20\x20\x20\x20});\x0a}\x0a\x0a/**\x0a\x20*\x20删除数据\x0a\x20*\x20**/\x0aconst\x20handlerRemove\x20=\x20(item:any)\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20$confirm(`确定删除数据吗?`,\x20\x27提示\x27,\x20{\x20confirmButtonText:\x20\x27确定\x27,\x20cancelButtonText:\x20\x27取消\x27,\x20type:\x20\x27warning\x27\x20}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','<script\x20lang=\x22ts\x22\x20setup>\x0a','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20formdata.value\x20=\x20res?.data\x20||\x20{},\x20refDialog?.value?.open();\x0a','_start\x22\x20placeholder=\x22选择','<template>\x0a\x20\x20\x20\x20','updated_at','\x22\x20placeholder=\x22请输入或选择','Edit(item.','displayorder','$router.push(`edit?','List,\x20','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','</el-table-column>','\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','const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a','padEnd','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','cwd','../helper','(((.+)+)+)+$','/list/','timestamp','<tinymce-editor\x20v-model=\x22formdata.','/pages/apps/','<el-date-picker\x20v-model=\x22formdata.','76158OnhKvh','/vue','2967230rtUJUb','}`)','2661715DgECxx','_id','\x22\x20prop=\x22','\x22\x20placeholder=\x22选择','thumbs','<img\x20:src=\x22scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20:model=\x22formdata\x22\x20:rules=\x22','4190384vULuHk','\x27;\x0a\x0a','\x20\x20\x20\x20</elplus-dialog>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20$notify.error(err\x20||\x20\x27网络请求错误\x27)\x0a',',\x20{\x20[field]:\x20item[field]\x20}).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20typeof(res?.data)\x20!=\x20\x27undefined\x27\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20item\x20=\x20res.data;\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\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27操作失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a/**\x0a\x20*\x20加载数据\x0a\x20*\x20**/\x0aLoadDatas()\x0a\x0a</script>','img','\x22\x20placeholder=\x22请选择','\x22\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','2XgGGxS','substring','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20router.back();\x0a','</el-select>','/edit/:','<a\x20:href=\x22scope.row.','import\x20{\x20','\x22>\x0a','deleted_at','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20emits(\x27save\x27),\x20refDialog?.value?.close()\x0a','\x20}).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27删除成功\x27),\x20LoadDatas();\x0a\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20}).catch(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false;\x0a\x20\x20\x20\x20})\x0a}\x0a\x0a/**\x0a\x20*\x20修改字段状态\x0a\x20*\x20**/\x0a\x20const\x20handlerFieldChange\x20=\x20(item:\x20any,\x20field:string)=>{\x0a\x20\x20\x20\x20if\x20(item.','substr','//\x20获取详情\x0a','130908kibsyH','<el-input-number\x20v-model=\x22props.search.','<el-table-column\x20prop=','mkdirSync','date','import\x20dialogAddVue\x20from\x20\x27./components/dialog-add.vue\x27;','number','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','<el-avatar\x20:src=\x22scope.row.','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','<dialog-add-vue\x20ref=\x22refDialogAdd\x22\x20@save=\x22LoadDatas()\x22\x20/>','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','Detail,\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','import\x20dialogEditVue\x20from\x20\x27./components/dialog-edit.vue\x27;','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','\x0aimport\x20{\x20','getEnum','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','defineExpose({\x20open\x20})\x0a','edit','constructor','<template\x20#reference>','Remove,\x20','apps/','existsSync','\x20\x20\x20\x20})\x0a','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','\x22\x20/>',')\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','edit/:','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','components/search.vue','Detail\x20}\x20from\x20\x27@/apis/','datetime','item.','<template>\x0a','tags','add','\x20\x20\x20\x20formdata.value\x20=\x20{},\x20','\x22\x20api=\x22','writeFileSync','toString','Edit\x20}\x20from\x20\x27@/apis/','<template\x20#default=\x22scope\x22>','getProp','\x20\x20\x20\x20<elplus-dialog\x20ref=\x22refDialog\x22\x20:loading=\x22loading\x22\x20title=\x22','Detail(','/components/dialog-','\x20\x20\x20\x20','\x22\x20placeholder=\x22请输入','logo',')\x20=>\x20{\x0a','<dialog-edit-vue\x20ref=\x22refDialogEdit\x22\x20@save=\x22LoadDatas()\x22/>','Remove({\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20','`)\x22>\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','item).then(res=>{\x0a','Edit','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','<elplus-select-search\x20v-model=\x22formdata.','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','default','</el-form-item>','string','/index.vue','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','<el-date-picker\x20v-model=\x22props.search.','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','path','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','module=\x22','apply','imgs','/pages/','length','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<elplus-switch\x20v-model=\x22scope.row\x22\x20field=\x22','\x22\x20\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','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','<el-input-number\x20v-model=\x22formdata.','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20clearable/>','\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','$refs?.refDialogEdit?.open(scope.row.id)','4ATFEUD','const\x20handlerSave\x20=\x20()=>{\x0a','=${scope.row.','\x22\x20:limit=\x221\x22\x20','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20router.back();\x0a','\x22\x20value=\x22','>=\x22>','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','defineProperty','8fqesKg','<el-select\x20v-model=\x22formdata.'];a23_0x272f=function(){return _0x5c1a62;};return a23_0x272f();}
|
|
1
|
+
const a23_0x274723=a23_0xd2bd;(function(_0x43fe6b,_0x4d11f0){const _0x4b808e=a23_0xd2bd,_0x58d8e9=_0x43fe6b();while(!![]){try{const _0x4e967c=parseInt(_0x4b808e(0x1e8))/0x1+-parseInt(_0x4b808e(0x236))/0x2+-parseInt(_0x4b808e(0x21a))/0x3*(parseInt(_0x4b808e(0x292))/0x4)+parseInt(_0x4b808e(0x28e))/0x5*(-parseInt(_0x4b808e(0x1ff))/0x6)+-parseInt(_0x4b808e(0x201))/0x7*(parseInt(_0x4b808e(0x280))/0x8)+-parseInt(_0x4b808e(0x295))/0x9*(parseInt(_0x4b808e(0x220))/0xa)+parseInt(_0x4b808e(0x299))/0xb;if(_0x4e967c===_0x4d11f0)break;else _0x58d8e9['push'](_0x58d8e9['shift']());}catch(_0x12d647){_0x58d8e9['push'](_0x58d8e9['shift']());}}}(a23_0x2470,0xe6435));const a23_0x443097=(function(){let _0x1b164f=!![];return function(_0x455490,_0x47af2a){const _0x132945=_0x1b164f?function(){const _0x4c6bcd=a23_0xd2bd;if(_0x47af2a){const _0x58bacd=_0x47af2a[_0x4c6bcd(0x27f)](_0x455490,arguments);return _0x47af2a=null,_0x58bacd;}}:function(){};return _0x1b164f=![],_0x132945;};}()),a23_0x251488=a23_0x443097(this,function(){const _0x2dcffb=a23_0xd2bd;return a23_0x251488['toString']()[_0x2dcffb(0x23e)](_0x2dcffb(0x277))['toString']()[_0x2dcffb(0x27d)](a23_0x251488)['search']('(((.+)+)+)+$');});a23_0x251488();'use strict';Object[a23_0x274723(0x208)](exports,a23_0x274723(0x215),{'value':!![]}),exports[a23_0x274723(0x1fb)]=default_1;const fs=require('fs'),path_1=require(a23_0x274723(0x258)),helper_1=require('../helper');async function default_1({moduleName:_0x5e7756,controller:_0xf9cdf4,tablestartUpShort:_0x577c68,tablestartUpShort2:_0x15f7c1,Primary:_0x1937bb,Fields:_0x2386cb,apporbasic:_0x36b36c,Comment:_0x4dfc61,vuedialog:_0x1da67c}){const _0xc5081e=a23_0x274723;await createIndex({'moduleName':_0x5e7756,'controller':_0xf9cdf4,'tablestartUpShort':_0x577c68,'tablestartUpShort2':_0x15f7c1,'Primary':_0x1937bb,'Fields':_0x2386cb,'apporbasic':_0x36b36c,'vuedialog':_0x1da67c}),await createSearch({'moduleName':_0x5e7756,'controller':_0xf9cdf4,'tablestartUpShort2':_0x15f7c1,'Primary':_0x1937bb,'Fields':_0x2386cb,'apporbasic':_0x36b36c,'vuedialog':_0x1da67c}),!_0x1da67c?(await createAddOrEdit({'moduleName':_0x5e7756,'controller':_0xf9cdf4,'tablestartUpShort':_0x577c68,'tablestartUpShort2':_0x15f7c1,'Primary':_0x1937bb,'Fields':_0x2386cb,'apporbasic':_0x36b36c,'Comment':_0x4dfc61},_0xc5081e(0x252)),await createAddOrEdit({'moduleName':_0x5e7756,'controller':_0xf9cdf4,'tablestartUpShort':_0x577c68,'tablestartUpShort2':_0x15f7c1,'Primary':_0x1937bb,'Fields':_0x2386cb,'apporbasic':_0x36b36c,'Comment':_0x4dfc61},_0xc5081e(0x2b4))):(await createAddOrEditDialog({'moduleName':_0x5e7756,'controller':_0xf9cdf4,'tablestartUpShort':_0x577c68,'tablestartUpShort2':_0x15f7c1,'Primary':_0x1937bb,'Fields':_0x2386cb,'apporbasic':_0x36b36c,'Comment':_0x4dfc61},_0xc5081e(0x252)),await createAddOrEditDialog({'moduleName':_0x5e7756,'controller':_0xf9cdf4,'tablestartUpShort':_0x577c68,'tablestartUpShort2':_0x15f7c1,'Primary':_0x1937bb,'Fields':_0x2386cb,'apporbasic':_0x36b36c,'Comment':_0x4dfc61},'edit'));}function a23_0xd2bd(_0x3dc725,_0x5d75d1){const _0x4086b4=a23_0x2470();return a23_0xd2bd=function(_0x251488,_0x443097){_0x251488=_0x251488-0x1df;let _0x247011=_0x4086b4[_0x251488];return _0x247011;},a23_0xd2bd(_0x3dc725,_0x5d75d1);}async function createIndex({moduleName:_0x684a5d,controller:_0x3437e3,tablestartUpShort:_0x3a9ecb,tablestartUpShort2:_0x96c97a,Primary:_0x4ee8a7,Fields:_0x24bf2b,apporbasic:_0x14447e,vuedialog:_0x742366}){const _0x5f2347=a23_0x274723;let _0x4f0a6b=process[_0x5f2347(0x25e)]()+_0x5f2347(0x1fe)+(typeof _0x3437e3=='string'?'/'+_0x3437e3:'');_0x684a5d?_0x4f0a6b=_0x4f0a6b+(_0x5f2347(0x2a6)+_0x684a5d+'/'+_0x96c97a+(!_0x742366?_0x5f2347(0x20b):'/')+_0x5f2347(0x28f)):_0x4f0a6b=_0x4f0a6b+(_0x5f2347(0x27b)+_0x14447e+'/'+_0x96c97a+(!_0x742366?_0x5f2347(0x20b):'/')+_0x5f2347(0x28f));if(!fs[_0x5f2347(0x1ed)](_0x4f0a6b)){let _0x27a620='<el-table-column\x20prop='+('\x22'+_0x4ee8a7['Field']+'\x22')[_0x5f2347(0x20d)](0x14)+(_0x5f2347(0x283)+(_0x4ee8a7[_0x5f2347(0x2ad)]||'编号')+_0x5f2347(0x275));for(let _0xde301f in _0x24bf2b){const _0x5903b7=_0x24bf2b[_0xde301f];if(['created_at',_0x5f2347(0x21d),_0x5f2347(0x24e),_0x5f2347(0x229)][_0x5f2347(0x1e9)](_0xde301f)!=-0x1)continue;if(_0xde301f[_0x5f2347(0x26f)](_0xde301f['length']-0x3)==_0x5f2347(0x259)||_0xde301f['substring'](_0xde301f[_0x5f2347(0x1fd)]-0x5)==_0x5f2347(0x1e4)||_0xde301f==_0x5f2347(0x1e4)||_0xde301f[_0x5f2347(0x26f)](_0xde301f[_0x5f2347(0x1fd)]-0x4)=='logo'||_0xde301f==_0x5f2347(0x1f8))_0x27a620+='\x0a'+_0x5f2347(0x230)+_0x5f2347(0x24d)+('\x22'+_0xde301f+'\x22')[_0x5f2347(0x20d)](0x14)+('\x20label=\x22'+(_0x5903b7[_0x5f2347(0x2ad)]||_0x5903b7[_0x5f2347(0x294)])+_0x5f2347(0x234)),_0x27a620+='\x0a'+_0x5f2347(0x26b)+_0x5f2347(0x262),_0x27a620+='\x0a'+_0x5f2347(0x29e)+_0x5f2347(0x20a),_0x27a620+='\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'+('<a\x20:href=\x22scope.row.'+_0xde301f+'\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>'),_0x27a620+='\x0a'+_0x5f2347(0x274)+(_0x5f2347(0x22e)+_0xde301f+'\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>'),_0x27a620+='\x0a'+_0x5f2347(0x288)+_0x5f2347(0x241),_0x27a620+='\x0a'+_0x5f2347(0x288)+'<template\x20#reference>',_0x27a620+='\x0a'+_0x5f2347(0x274)+(_0x5f2347(0x2c0)+_0xde301f+_0x5f2347(0x2af)),_0x27a620+='\x0a'+_0x5f2347(0x288)+'</template>',_0x27a620+='\x0a'+_0x5f2347(0x29e)+'</el-popover>',_0x27a620+='\x0a'+_0x5f2347(0x26b)+_0x5f2347(0x28c),_0x27a620+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5f2347(0x25f);else{if([_0x5f2347(0x268)][_0x5f2347(0x1e9)]((0x0,helper_1[_0x5f2347(0x28d)])(_0x5903b7['Type']))!=-0x1)_0x27a620+='\x0a'+_0x5f2347(0x230)+_0x5f2347(0x24d)+('\x22'+_0xde301f+'\x22')[_0x5f2347(0x20d)](0x14)+('\x20label=\x22'+(_0x5903b7[_0x5f2347(0x2ad)]||_0x5903b7['Field'])+'\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22>'),_0x27a620+='\x0a'+_0x5f2347(0x26b)+_0x5f2347(0x262),_0x27a620+='\x0a'+_0x5f2347(0x29e)+(_0x5f2347(0x249)+_0xde301f+'\x22\x20active-text=\x22启用\x22\x20inactive-text=\x22禁用\x22\x20@change=\x22handlerFieldChange\x22\x20/>'),_0x27a620+='\x0a'+_0x5f2347(0x26b)+'</template>',_0x27a620+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5f2347(0x25f);else[_0x5f2347(0x257)][_0x5f2347(0x1e9)]((0x0,helper_1[_0x5f2347(0x28d)])(_0x5903b7['Type']))==-0x1&&(_0x27a620+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5f2347(0x24d)+('\x22'+_0xde301f+'\x22')[_0x5f2347(0x20d)](0x14)+(_0x5f2347(0x283)+(_0x5903b7[_0x5f2347(0x2ad)]||_0x5903b7['Field'])+_0x5f2347(0x2ba)));}}const _0x4f811a=''+(typeof _0x3437e3==_0x5f2347(0x2c2)?_0x3437e3+'/':'')+(_0x684a5d?_0x684a5d+'/':'')+_0x96c97a;fs[_0x5f2347(0x221)]((0x0,path_1[_0x5f2347(0x2bb)])(_0x4f0a6b),{'recursive':!![]}),fs[_0x5f2347(0x281)](_0x4f0a6b,_0x5f2347(0x22a)+_0x4f811a+_0x5f2347(0x2b6)+(!_0x742366?_0x5f2347(0x224):'$refs?.refDialogAdd?.open()')+_0x5f2347(0x232)+_0x27a620+_0x5f2347(0x27a)+_0x4f811a+'/edit/:'+_0x4ee8a7[_0x5f2347(0x294)]+_0x5f2347(0x2a9)+(!_0x742366?_0x5f2347(0x218)+_0x4ee8a7[_0x5f2347(0x294)]+'=${scope.row.'+_0x4ee8a7['Field']+_0x5f2347(0x263):_0x5f2347(0x226))+'\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\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/'+_0x4f811a+_0x5f2347(0x25b)+(!_0x742366?'':_0x5f2347(0x216))+_0x5f2347(0x245)+(!_0x742366?'':'<dialog-edit-vue\x20ref=\x22refDialogEdit\x22\x20@save=\x22LoadDatas()\x22/>')+_0x5f2347(0x2aa)+(!_0x742366?'':'import\x20dialogAddVue\x20from\x20\x27./components/dialog-add.vue\x27;')+'\x0a'+(!_0x742366?'':_0x5f2347(0x26d))+_0x5f2347(0x204)+_0x3a9ecb+'List,\x20'+_0x3a9ecb+'Remove,\x20'+_0x3a9ecb+_0x5f2347(0x247)+(_0x684a5d?_0x5f2347(0x1e0)+_0x684a5d:''+_0x14447e)+'/'+_0x3a9ecb+_0x5f2347(0x273)+_0x3a9ecb+_0x5f2347(0x279)+_0x3a9ecb+_0x5f2347(0x286)+_0x4ee8a7[_0x5f2347(0x294)]+_0x5f2347(0x243)+_0x4ee8a7[_0x5f2347(0x294)]+_0x5f2347(0x1fc)+_0x4ee8a7['Field']+_0x5f2347(0x28a)+_0x3a9ecb+'Edit(item.'+_0x4ee8a7[_0x5f2347(0x294)]+_0x5f2347(0x207),_0x5f2347(0x1f4));}}async function createSearch({moduleName:_0x58f64d,tablestartUpShort2:_0x560817,controller:_0x3138ed,Primary:_0x18906b,Fields:_0x1afa2e,apporbasic:_0x2d1cd9,vuedialog:_0x4ae5ac}){const _0x25496e=a23_0x274723;let _0xf953b2=process[_0x25496e(0x25e)]()+_0x25496e(0x1fe)+(typeof _0x3138ed=='string'?'/'+_0x3138ed:'');_0x58f64d?_0xf953b2=_0xf953b2+(_0x25496e(0x2a6)+_0x58f64d+'/'+_0x560817+(!_0x4ae5ac?'/list/':'/')+_0x25496e(0x282)):_0xf953b2=_0xf953b2+('/pages/'+_0x2d1cd9+'/'+_0x560817+(!_0x4ae5ac?_0x25496e(0x20b):'/')+_0x25496e(0x282));if(!fs[_0x25496e(0x1ed)](_0xf953b2)){let _0x512a9c='';_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x18906b['Comment']||'编号')+'\x22>'),_0x512a9c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x25496e(0x2b3)+_0x18906b[_0x25496e(0x294)]+'\x22\x20placeholder=\x22请输入'+(_0x18906b[_0x25496e(0x2ad)]||'编号')+_0x25496e(0x235)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b);for(let _0x695a4c in _0x1afa2e){const _0x148e3c=_0x1afa2e[_0x695a4c];if(['updated_at',_0x25496e(0x24e),_0x25496e(0x229)]['indexOf'](_0x695a4c)!=-0x1)continue;if(_0x695a4c['substring'](_0x695a4c[_0x25496e(0x1fd)]-0x3)=='img'||_0x695a4c['substring'](_0x695a4c[_0x25496e(0x1fd)]-0x5)=='thumb'||_0x695a4c=='thumb'||_0x695a4c[_0x25496e(0x26f)](_0x695a4c[_0x25496e(0x1fd)]-0x4)==_0x25496e(0x1f8)||_0x695a4c==_0x25496e(0x1f8))continue;if(_0x695a4c[_0x25496e(0x26f)](_0x695a4c[_0x25496e(0x1fd)]-0x3)==_0x25496e(0x251))_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c[_0x25496e(0x294)])+'\x22>'),_0x512a9c+='\x0a'+_0x25496e(0x21f)+('<el-input-number\x20v-model=\x22props.search.'+_0x695a4c+_0x25496e(0x284)+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x1ef)),_0x512a9c+='\x0a'+_0x25496e(0x212)+'</el-form-item>'+'\x0a';else{if(_0x695a4c[_0x25496e(0x2bc)](_0x25496e(0x25d))){let _0x57fa94=''+(typeof _0x3138ed==_0x25496e(0x2c2)?_0x3138ed+'/':'')+(_0x58f64d?_0x58f64d+'/':'')+_0x560817;_0x512a9c+='\x0a'+_0x25496e(0x21f)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c['Field'])+'\x22>'),_0x512a9c+='\x0a'+_0x25496e(0x2a8)+(_0x25496e(0x260)+_0x695a4c+'\x22\x20api=\x22'+_0x57fa94+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x512a9c+='\x0a'+_0x25496e(0x21f)+_0x25496e(0x23b)+'\x0a';}else switch((0x0,helper_1[_0x25496e(0x28d)])(_0x148e3c[_0x25496e(0x1ee)])){case _0x25496e(0x2b0):_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c['Field'])+'\x22>'),_0x512a9c+='\x0a'+_0x25496e(0x21f)+('<el-select\x20v-model=\x22props.search.'+_0x695a4c+_0x25496e(0x22f)+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x213));for(let _0x59c34b of(0x0,helper_1[_0x25496e(0x27e)])(_0x148e3c[_0x25496e(0x1ee)])){_0x512a9c+='\x0a'+_0x25496e(0x2a8)+(_0x25496e(0x266)+_0x59c34b+_0x25496e(0x211)+_0x59c34b+_0x25496e(0x1e3));}_0x512a9c+='\x0a'+_0x25496e(0x21f)+_0x25496e(0x217),_0x512a9c+='\x0a'+_0x25496e(0x212)+'</el-form-item>'+'\x0a';break;case _0x25496e(0x1f2):_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c[_0x25496e(0x294)])+_0x25496e(0x264)),_0x512a9c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x25496e(0x2b2)+_0x695a4c+_0x25496e(0x242)+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x203)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b)+'\x0a',_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c[_0x25496e(0x294)])+_0x25496e(0x1f0)),_0x512a9c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x25496e(0x2b2)+_0x695a4c+_0x25496e(0x244)+_0x148e3c['Comment']+_0x25496e(0x2a1)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b)+'\x0a';break;case'datetime':_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c[_0x25496e(0x294)])+_0x25496e(0x264)),_0x512a9c+='\x0a'+_0x25496e(0x21f)+(_0x25496e(0x2b2)+_0x695a4c+'_start\x22\x20placeholder=\x22选择'+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x24a)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b)+'\x0a',_0x512a9c+='\x0a'+'\x20\x20\x20\x20'+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c['Field'])+_0x25496e(0x1f0)),_0x512a9c+='\x0a'+_0x25496e(0x21f)+(_0x25496e(0x2b2)+_0x695a4c+_0x25496e(0x244)+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x1e6)),_0x512a9c+='\x0a'+_0x25496e(0x212)+'</el-form-item>'+'\x0a';break;case'timestamp':_0x512a9c+='\x0a'+_0x25496e(0x212)+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c[_0x25496e(0x294)])+_0x25496e(0x264)),_0x512a9c+='\x0a'+_0x25496e(0x21f)+(_0x25496e(0x2b2)+_0x695a4c+_0x25496e(0x242)+_0x148e3c['Comment']+_0x25496e(0x24a)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b)+'\x0a',_0x512a9c+='\x0a'+_0x25496e(0x212)+('<el-form-item\x20label=\x22'+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c['Field'])+_0x25496e(0x1f0)),_0x512a9c+='\x0a'+_0x25496e(0x21f)+(_0x25496e(0x2b2)+_0x695a4c+_0x25496e(0x244)+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x1e6)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b)+'\x0a';break;case'string':_0x512a9c+='\x0a'+'\x20\x20\x20\x20'+(_0x25496e(0x233)+(_0x148e3c[_0x25496e(0x2ad)]||_0x148e3c[_0x25496e(0x294)])+'\x22>'),_0x512a9c+='\x0a'+_0x25496e(0x21f)+(_0x25496e(0x2b3)+_0x695a4c+'\x22\x20placeholder=\x22请输入'+_0x148e3c[_0x25496e(0x2ad)]+_0x25496e(0x235)),_0x512a9c+='\x0a'+_0x25496e(0x212)+_0x25496e(0x23b)+'\x0a';}}}fs[_0x25496e(0x221)]((0x0,path_1[_0x25496e(0x2bb)])(_0xf953b2),{'recursive':!![]}),fs[_0x25496e(0x281)](_0xf953b2,_0x25496e(0x29c)+_0x512a9c+_0x25496e(0x1f3),_0x25496e(0x1f4));}}async function createAddOrEdit({moduleName:_0x15dc8c,controller:_0x11dd17,tablestartUpShort:_0x1f4814,tablestartUpShort2:_0x598eb6,Primary:_0x34f7c9,Fields:_0x4afe54,apporbasic:_0x44f5ab,Comment:_0x3874f3},_0x59a0cf=a23_0x274723(0x252)){const _0x5a6176=a23_0x274723;let _0x1a9dd7=process['cwd']()+_0x5a6176(0x1fe)+(typeof _0x11dd17==_0x5a6176(0x2c2)?'/'+_0x11dd17:'');_0x15dc8c?_0x1a9dd7=_0x1a9dd7+(_0x5a6176(0x2a6)+_0x15dc8c+'/'+_0x598eb6+'/'+_0x59a0cf+_0x5a6176(0x26c)):_0x1a9dd7=_0x1a9dd7+(_0x5a6176(0x27b)+_0x44f5ab+'/'+_0x598eb6+'/'+_0x59a0cf+_0x5a6176(0x26c));if(!fs[_0x5a6176(0x1ed)](_0x1a9dd7)){const _0x2bb7ae=[_0x5a6176(0x257),_0x5a6176(0x270),_0x5a6176(0x2c2)]['indexOf']((0x0,helper_1[_0x5a6176(0x28d)])(_0x34f7c9[_0x5a6176(0x1ee)]))==-0x1,_0x3771f3=''+(typeof _0x11dd17==_0x5a6176(0x2c2)?_0x11dd17+'/':'')+(_0x15dc8c?_0x15dc8c+'/':'')+_0x598eb6;let _0x1ba49a='';for(let _0x405bc9 in _0x4afe54){const _0x568ff0=_0x4afe54[_0x405bc9];if([_0x5a6176(0x205),_0x5a6176(0x21d),_0x5a6176(0x24e),_0x5a6176(0x229)][_0x5a6176(0x1e9)](_0x405bc9)!=-0x1)continue;if(_0x405bc9[_0x5a6176(0x26f)](_0x405bc9['length']-0x4)==_0x5a6176(0x24b)||_0x405bc9[_0x5a6176(0x26f)](_0x405bc9[_0x5a6176(0x1fd)]-0x6)==_0x5a6176(0x255))_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22\x20class=\x22block\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x2b8)+_0x405bc9+_0x5a6176(0x267)+(_0x15dc8c?_0x5a6176(0x2bf)+_0x15dc8c+'\x22':'')+_0x5a6176(0x210)),_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5a6176(0x23b)+'\x0a';else{if(_0x405bc9['substring'](_0x405bc9[_0x5a6176(0x1fd)]-0x3)==_0x5a6176(0x259)||_0x405bc9[_0x5a6176(0x26f)](_0x405bc9['length']-0x5)==_0x5a6176(0x1e4)||_0x405bc9=='thumb'||_0x405bc9[_0x5a6176(0x26f)](_0x405bc9[_0x5a6176(0x1fd)]-0x4)==_0x5a6176(0x1f8)||_0x405bc9=='logo')_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+_0x5a6176(0x21b)),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x2b8)+_0x405bc9+_0x5a6176(0x20c)+(_0x15dc8c?'module=\x22'+_0x15dc8c+'\x22':'')+'/>'),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';else{if(_0x405bc9[_0x5a6176(0x26f)](_0x405bc9[_0x5a6176(0x1fd)]-0x4)==_0x5a6176(0x20e)||_0x405bc9[_0x5a6176(0x26f)](_0x405bc9[_0x5a6176(0x1fd)]-0x3)==_0x5a6176(0x2ac))_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0['Comment']||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x202)+_0x405bc9+'\x22\x20placeholder=\x22请输入或选择'+_0x568ff0[_0x5a6176(0x2ad)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';else{if(_0x405bc9[_0x5a6176(0x29d)](-0x3)=='num')_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0['Comment']||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x276)+_0x405bc9+'\x22\x20placeholder=\x22请输入'+_0x568ff0[_0x5a6176(0x2ad)]+_0x5a6176(0x2bd)),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';else{if(_0x405bc9['substr'](-0x4)==_0x5a6176(0x248))_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0['Comment']||_0x568ff0[_0x5a6176(0x294)])+'\x22\x20prop=\x22'+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5a6176(0x240)+_0x405bc9+_0x5a6176(0x284)+_0x568ff0[_0x5a6176(0x2ad)]+_0x5a6176(0x235)),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';else{if(_0x405bc9['substr'](-0x3)==_0x5a6176(0x25d)){let _0x301a84=''+(typeof _0x11dd17==_0x5a6176(0x2c2)?_0x11dd17+'/':'')+(_0x15dc8c?_0x15dc8c+'/':'')+_0x598eb6;_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+('<el-form-item\x20label=\x22'+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x291)+_0x405bc9+'\x22\x20api=\x22'+_0x301a84+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';}else switch((0x0,helper_1[_0x5a6176(0x28d)])(_0x568ff0['Type'])){case'number':_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0['Comment']||_0x568ff0['Field'])+'\x22\x20prop=\x22'+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+('<el-input-number\x20v-model=\x22formdata.'+_0x405bc9+_0x5a6176(0x284)+_0x568ff0[_0x5a6176(0x2ad)]+_0x5a6176(0x2bd)),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';break;case'enum':_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+'\x22\x20prop=\x22'+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x269)+_0x405bc9+_0x5a6176(0x22f)+_0x568ff0['Comment']+_0x5a6176(0x213));for(let _0x548dc4 of(0x0,helper_1[_0x5a6176(0x27e)])(_0x568ff0['Type'])){_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5a6176(0x266)+_0x548dc4+_0x5a6176(0x211)+_0x548dc4+_0x5a6176(0x1e3));}_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5a6176(0x217),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';break;case'text':_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+'\x22\x20prop=\x22'+_0x405bc9+_0x5a6176(0x21b)),_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x405bc9+_0x5a6176(0x271)+_0x568ff0['Comment']+_0x5a6176(0x2a5)),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';break;case _0x5a6176(0x2b1):_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+('<el-form-item\x20label=\x22'+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0['Field'])+_0x5a6176(0x1f1)+_0x405bc9+_0x5a6176(0x21b)),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x2be)+_0x405bc9+'\x22\x20'+(_0x15dc8c?_0x5a6176(0x2bf)+_0x15dc8c+'\x22':'')+'/>'),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';break;case'mediumtext':_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+'\x22\x20prop=\x22'+_0x405bc9+'\x22\x20class=\x22block\x22>'),_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5a6176(0x2be)+_0x405bc9+'\x22\x20'+(_0x15dc8c?'module=\x22'+_0x15dc8c+'\x22':'')+'/>'),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';break;case _0x5a6176(0x1f2):_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0['Comment']||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x237)+_0x405bc9+_0x5a6176(0x22b)+_0x568ff0[_0x5a6176(0x2ad)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5a6176(0x23b)+'\x0a';break;case _0x5a6176(0x2a2):_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x237)+_0x405bc9+_0x5a6176(0x22b)+_0x568ff0[_0x5a6176(0x2ad)]+_0x5a6176(0x1f6)),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'</el-form-item>'+'\x0a';break;case _0x5a6176(0x29f):_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+('<el-form-item\x20label=\x22'+(_0x568ff0['Comment']||_0x568ff0[_0x5a6176(0x294)])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+_0x5a6176(0x230)+(_0x5a6176(0x237)+_0x405bc9+_0x5a6176(0x22b)+_0x568ff0[_0x5a6176(0x2ad)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';break;default:_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+(_0x5a6176(0x233)+(_0x568ff0[_0x5a6176(0x2ad)]||_0x568ff0['Field'])+_0x5a6176(0x1f1)+_0x405bc9+'\x22>'),_0x1ba49a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x405bc9+_0x5a6176(0x284)+_0x568ff0[_0x5a6176(0x2ad)]+_0x5a6176(0x235)),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';}}}}}}}_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x1ba49a+='\x0a'+_0x5a6176(0x230)+_0x5a6176(0x1ec),_0x1ba49a+='\x0a'+_0x5a6176(0x2a8)+_0x5a6176(0x23b)+'\x0a';let _0x5c3e9c=_0x5a6176(0x265);_0x5c3e9c+=_0x5a6176(0x227),_0x5c3e9c+=_0x5a6176(0x239)+(_0x59a0cf==_0x5a6176(0x252)?'添加'+_0x3874f3:'编辑'+_0x3874f3)+_0x5a6176(0x256)+_0x1f4814+(_0x59a0cf==_0x5a6176(0x252)?_0x5a6176(0x23c):'Edit')+_0x5a6176(0x26e)+_0x3771f3+'/'+(_0x59a0cf==_0x5a6176(0x252)?_0x5a6176(0x252):_0x5a6176(0x23a)+_0x34f7c9[_0x5a6176(0x294)])+'`)\x22>\x0a',_0x5c3e9c+=_0x5a6176(0x2a8)+_0x1ba49a+'\x0a\x0a',_0x5c3e9c+=_0x5a6176(0x223),_0x5c3e9c+=_0x5a6176(0x24c)+_0x3771f3+'/'+(_0x59a0cf==_0x5a6176(0x252)?_0x5a6176(0x252):_0x5a6176(0x23a)+_0x34f7c9['Field'])+_0x5a6176(0x290),_0x5c3e9c+=_0x5a6176(0x23d),_0x5c3e9c+=_0x5a6176(0x2ae),_0x5c3e9c+=_0x5a6176(0x21e),_0x5c3e9c+='</template>\x0a',_0x5c3e9c+='<script\x20lang=\x22ts\x22\x20setup>\x0a';if(_0x59a0cf==_0x5a6176(0x252))_0x5c3e9c+=_0x5a6176(0x246)+_0x1f4814+_0x5a6176(0x297),_0x5c3e9c+=_0x5a6176(0x246)+_0x1f4814+'Add\x20}\x20from\x20\x27@/apis/'+(_0x15dc8c?_0x5a6176(0x1e0)+_0x15dc8c:''+_0x44f5ab)+'/'+_0x1f4814+_0x5a6176(0x296);else _0x59a0cf==_0x5a6176(0x2b4)&&(_0x5c3e9c+=_0x5a6176(0x246)+_0x1f4814+_0x5a6176(0x1e7),_0x5c3e9c+=_0x5a6176(0x246)+_0x1f4814+_0x5a6176(0x285)+_0x1f4814+_0x5a6176(0x1f5)+(_0x15dc8c?_0x5a6176(0x1e0)+_0x15dc8c:''+_0x44f5ab)+'/'+_0x1f4814+'\x27;\x0a\x0a');_0x5c3e9c+=_0x5a6176(0x2b9);if(_0x59a0cf==_0x5a6176(0x252))_0x5c3e9c+=_0x5a6176(0x1ea);else _0x59a0cf==_0x5a6176(0x2b4)&&(_0x5c3e9c+=_0x5a6176(0x1eb));_0x5c3e9c+=_0x5a6176(0x21c),_0x5c3e9c+=_0x5a6176(0x254),_0x5c3e9c+='\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a',_0x5c3e9c+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x1f4814+(_0x59a0cf==_0x5a6176(0x252)?_0x5a6176(0x23c):_0x5a6176(0x228))+'('+(_0x59a0cf==_0x5a6176(0x2b4)?'item.'+_0x34f7c9['Field']+',\x20':'')+'item).then(res=>{\x0a',_0x5c3e9c+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20router.back();\x0a',_0x5c3e9c+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x5c3e9c+=_0x5a6176(0x219),_0x5c3e9c+=_0x5a6176(0x222),_0x5c3e9c+=_0x5a6176(0x225),_0x5c3e9c+='}\x0a\x0a',_0x59a0cf=='edit'&&(_0x5c3e9c+=_0x5a6176(0x24f),_0x5c3e9c+=_0x5a6176(0x28b)+_0x34f7c9['Field']+':\x20'+(_0x2bb7ae?_0x5a6176(0x272):_0x5a6176(0x2c2))+_0x5a6176(0x214),_0x5c3e9c+=_0x5a6176(0x2c1)+_0x34f7c9[_0x5a6176(0x294)]+')\x20{\x0a',_0x5c3e9c+=_0x5a6176(0x231),_0x5c3e9c+=_0x5a6176(0x21f)+_0x1f4814+_0x5a6176(0x293)+_0x34f7c9[_0x5a6176(0x294)]+_0x5a6176(0x1f7),_0x5c3e9c+=_0x5a6176(0x1fa),_0x5c3e9c+=_0x5a6176(0x2a3),_0x5c3e9c+=_0x5a6176(0x2ab),_0x5c3e9c+=_0x5a6176(0x222),_0x5c3e9c+=_0x5a6176(0x26a),_0x5c3e9c+='\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a',_0x5c3e9c+=_0x5a6176(0x238),_0x5c3e9c+=_0x5a6176(0x298),_0x5c3e9c+='getDetail(route?.query?.'+_0x34f7c9[_0x5a6176(0x294)]+_0x5a6176(0x2b5)+(_0x2bb7ae?_0x5a6176(0x272):_0x5a6176(0x2c2))+')\x0a'),_0x5c3e9c+=_0x5a6176(0x22d),fs[_0x5a6176(0x221)]((0x0,path_1[_0x5a6176(0x2bb)])(_0x1a9dd7),{'recursive':!![]}),fs['writeFileSync'](_0x1a9dd7,_0x5c3e9c,_0x5a6176(0x1f4));}}async function createAddOrEditDialog({moduleName:_0x22895b,controller:_0x2b0fa7,tablestartUpShort:_0x19525b,tablestartUpShort2:_0x2ce6f7,Primary:_0x2a04c3,Fields:_0x12bc89,apporbasic:_0x25691b,Comment:_0x58b91a},_0x5d52bf=a23_0x274723(0x252)){const _0xec5818=a23_0x274723;let _0x16303e=process[_0xec5818(0x25e)]()+'/vue'+(typeof _0x2b0fa7==_0xec5818(0x2c2)?'/'+_0x2b0fa7:'');_0x22895b?_0x16303e=_0x16303e+(_0xec5818(0x2a6)+_0x22895b+'/'+_0x2ce6f7+_0xec5818(0x278)+_0x5d52bf+'.vue'):_0x16303e=_0x16303e+('/pages/'+_0x25691b+'/'+_0x2ce6f7+'/components/dialog-'+_0x5d52bf+_0xec5818(0x287));if(!fs[_0xec5818(0x1ed)](_0x16303e)){const _0x3acdb8=''+(typeof _0x2b0fa7==_0xec5818(0x2c2)?_0x2b0fa7+'/':'')+(_0x22895b?_0x22895b+'/':'')+_0x2ce6f7;let _0x5adf6e='';for(let _0x2b6ebc in _0x12bc89){const _0x2a0257=_0x12bc89[_0x2b6ebc];if(['created_at',_0xec5818(0x21d),_0xec5818(0x24e),_0xec5818(0x229)][_0xec5818(0x1e9)](_0x2b6ebc)!=-0x1)continue;if(_0x2b6ebc['substring'](_0x2b6ebc[_0xec5818(0x1fd)]-0x4)==_0xec5818(0x24b)||_0x2b6ebc[_0xec5818(0x26f)](_0x2b6ebc[_0xec5818(0x1fd)]-0x6)==_0xec5818(0x255))_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+_0xec5818(0x21b)),_0x5adf6e+='\x0a'+_0xec5818(0x230)+(_0xec5818(0x2b8)+_0x2b6ebc+'\x22\x20:limit=\x225\x22\x20'+(_0x22895b?_0xec5818(0x2bf)+_0x22895b+'\x22':'')+_0xec5818(0x210)),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';else{if(_0x2b6ebc[_0xec5818(0x26f)](_0x2b6ebc[_0xec5818(0x1fd)]-0x3)==_0xec5818(0x259)||_0x2b6ebc[_0xec5818(0x26f)](_0x2b6ebc['length']-0x5)==_0xec5818(0x1e4)||_0x2b6ebc==_0xec5818(0x1e4)||_0x2b6ebc[_0xec5818(0x26f)](_0x2b6ebc[_0xec5818(0x1fd)]-0x4)==_0xec5818(0x1f8)||_0x2b6ebc==_0xec5818(0x1f8))_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x233)+(_0x2a0257['Comment']||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+_0xec5818(0x21b)),_0x5adf6e+='\x0a'+_0xec5818(0x230)+(_0xec5818(0x2b8)+_0x2b6ebc+_0xec5818(0x20c)+(_0x22895b?_0xec5818(0x2bf)+_0x22895b+'\x22':'')+'/>'),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';else{if(_0x2b6ebc['substring'](_0x2b6ebc[_0xec5818(0x1fd)]-0x4)==_0xec5818(0x20e)||_0x2b6ebc[_0xec5818(0x26f)](_0x2b6ebc[_0xec5818(0x1fd)]-0x3)==_0xec5818(0x2ac))_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x233)+(_0x2a0257['Comment']||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<elplus-select-tags\x20v-model=\x22formdata.'+_0x2b6ebc+_0xec5818(0x20f)+_0x2a0257[_0xec5818(0x2ad)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xec5818(0x23b)+'\x0a';else{if(_0x2b6ebc[_0xec5818(0x29d)](-0x3)==_0xec5818(0x251))_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+('<el-form-item\x20label=\x22'+(_0x2a0257['Comment']||_0x2a0257['Field'])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+('<el-input-number\x20v-model=\x22formdata.'+_0x2b6ebc+_0xec5818(0x284)+_0x2a0257[_0xec5818(0x2ad)]+_0xec5818(0x2bd)),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';else{if(_0x2b6ebc[_0xec5818(0x29d)](-0x4)=='_ids')_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257['Field'])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x240)+_0x2b6ebc+_0xec5818(0x284)+_0x2a0257[_0xec5818(0x2ad)]+'\x22\x20clearable/>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xec5818(0x23b)+'\x0a';else{if(_0x2b6ebc[_0xec5818(0x29d)](-0x3)==_0xec5818(0x25d)){let _0x152e4a=''+(typeof _0x2b0fa7==_0xec5818(0x2c2)?_0x2b0fa7+'/':'')+(_0x22895b?_0x22895b+'/':'')+_0x2ce6f7;_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<elplus-select-search\x20v-model=\x22formdata.'+_0x2b6ebc+'\x22\x20api=\x22'+_0x152e4a+_0xec5818(0x209)),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';}else switch((0x0,helper_1[_0xec5818(0x28d)])(_0x2a0257[_0xec5818(0x1ee)])){case _0xec5818(0x272):_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input-number\x20v-model=\x22formdata.'+_0x2b6ebc+'\x22\x20placeholder=\x22请输入'+_0x2a0257[_0xec5818(0x2ad)]+_0xec5818(0x2bd)),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xec5818(0x23b)+'\x0a';break;case _0xec5818(0x2b0):_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257['Comment']||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+(_0xec5818(0x269)+_0x2b6ebc+'\x22\x20placeholder=\x22请选择'+_0x2a0257['Comment']+_0xec5818(0x213));for(let _0x5a97c4 of(0x0,helper_1[_0xec5818(0x27e)])(_0x2a0257['Type'])){_0x5adf6e+='\x0a'+_0xec5818(0x26b)+('<el-option\x20label=\x22'+_0x5a97c4+_0xec5818(0x211)+_0x5a97c4+_0xec5818(0x1e3));}_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-select>',_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';break;case _0xec5818(0x257):_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257['Field'])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22\x20class=\x22block\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+(_0xec5818(0x240)+_0x2b6ebc+_0xec5818(0x271)+_0x2a0257['Comment']+_0xec5818(0x2a5)),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0xec5818(0x2b1):_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+_0xec5818(0x21b)),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x2be)+_0x2b6ebc+'\x22\x20'+(_0x22895b?_0xec5818(0x2bf)+_0x22895b+'\x22':'')+'/>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xec5818(0x23b)+'\x0a';break;case _0xec5818(0x270):_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22\x20class=\x22block\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x2b6ebc+'\x22\x20'+(_0x22895b?'module=\x22'+_0x22895b+'\x22':'')+'/>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xec5818(0x23b)+'\x0a';break;case _0xec5818(0x1f2):_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257['Field'])+'\x22\x20prop=\x22'+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+('<el-date-picker\x20v-model=\x22formdata.'+_0x2b6ebc+_0xec5818(0x22b)+_0x2a0257[_0xec5818(0x2ad)]+_0xec5818(0x261)),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';break;case _0xec5818(0x2a2):_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22formdata.'+_0x2b6ebc+_0xec5818(0x22b)+_0x2a0257[_0xec5818(0x2ad)]+_0xec5818(0x1f6)),_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0xec5818(0x29f):_0x5adf6e+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x2a0257[_0xec5818(0x2ad)]||_0x2a0257[_0xec5818(0x294)])+_0xec5818(0x1f1)+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+(_0xec5818(0x237)+_0x2b6ebc+'\x22\x20placeholder=\x22选择'+_0x2a0257[_0xec5818(0x2ad)]+_0xec5818(0x1f6)),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';break;default:_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+(_0xec5818(0x233)+(_0x2a0257['Comment']||_0x2a0257[_0xec5818(0x294)])+'\x22\x20prop=\x22'+_0x2b6ebc+'\x22>'),_0x5adf6e+='\x0a'+_0xec5818(0x230)+(_0xec5818(0x240)+_0x2b6ebc+_0xec5818(0x284)+_0x2a0257['Comment']+_0xec5818(0x235)),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x23b)+'\x0a';}}}}}}}_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+_0xec5818(0x253),_0x5adf6e+='\x0a'+_0xec5818(0x230)+_0xec5818(0x1ec),_0x5adf6e+='\x0a'+_0xec5818(0x2a8)+'</el-form-item>'+'\x0a';let _0x4edc70=_0xec5818(0x265);_0x4edc70+=_0xec5818(0x29b)+(_0x5d52bf==_0xec5818(0x252)?'添加'+_0x58b91a:'编辑'+_0x58b91a)+'\x22>\x0a',_0x4edc70+=_0xec5818(0x206)+_0x19525b+(_0x5d52bf==_0xec5818(0x252)?_0xec5818(0x23c):_0xec5818(0x228))+'Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/'+_0x3acdb8+'/'+(_0x5d52bf==_0xec5818(0x252)?'add':_0xec5818(0x23a)+_0x2a04c3[_0xec5818(0x294)])+_0xec5818(0x2a7),_0x4edc70+=_0xec5818(0x2a8)+_0x5adf6e+'\x0a\x0a',_0x4edc70+=_0xec5818(0x2ae),_0x4edc70+=_0xec5818(0x200),_0x4edc70+=_0xec5818(0x1df)+_0x3acdb8+'/'+(_0x5d52bf=='add'?'add':_0xec5818(0x23a)+_0x2a04c3[_0xec5818(0x294)])+_0xec5818(0x290),_0x4edc70+='\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x4edc70+=_0xec5818(0x25c),_0x4edc70+=_0xec5818(0x1e5),_0x4edc70+=_0xec5818(0x2a4);if(_0x5d52bf==_0xec5818(0x252))_0x4edc70+=_0xec5818(0x246)+_0x19525b+'AddRule\x20}\x20from\x20\x27../interface\x27;\x0a',_0x4edc70+=_0xec5818(0x246)+_0x19525b+'Add\x20}\x20from\x20\x27@/apis/'+(_0x22895b?_0xec5818(0x1e0)+_0x22895b:''+_0x25691b)+'/'+_0x19525b+_0xec5818(0x296);else _0x5d52bf==_0xec5818(0x2b4)&&(_0x4edc70+='import\x20{\x20'+_0x19525b+'EditRule\x20}\x20from\x20\x27../interface\x27;\x0a',_0x4edc70+=_0xec5818(0x246)+_0x19525b+_0xec5818(0x289)+_0x19525b+_0xec5818(0x247)+(_0x22895b?_0xec5818(0x1e0)+_0x22895b:''+_0x25691b)+'/'+_0x19525b+_0xec5818(0x296));if(_0x5d52bf=='add')_0x4edc70+=_0xec5818(0x27c),_0x4edc70+=_0xec5818(0x1e2),_0x4edc70+=_0xec5818(0x250);else _0x5d52bf==_0xec5818(0x2b4)&&(_0x4edc70+=_0xec5818(0x29a)+_0x2a04c3[_0xec5818(0x294)]+_0xec5818(0x214),_0x4edc70+=_0xec5818(0x2a0)+_0x19525b+_0xec5818(0x293)+_0x2a04c3[_0xec5818(0x294)]+_0xec5818(0x1f7),_0x4edc70+='\x20\x20\x20\x20\x20\x20\x20\x20formdata.value\x20=\x20res?.data\x20||\x20{},\x20refDialog?.value?.open();\x0a',_0x4edc70+=_0xec5818(0x23f),_0x4edc70+=_0xec5818(0x2b7),_0x4edc70+=_0xec5818(0x225),_0x4edc70+=_0xec5818(0x250));;_0x4edc70+=_0xec5818(0x21c),_0x4edc70+=_0xec5818(0x254),_0x4edc70+=_0xec5818(0x22c),_0x4edc70+=_0xec5818(0x1e1)+_0x19525b+(_0x5d52bf==_0xec5818(0x252)?_0xec5818(0x23c):_0xec5818(0x228))+'('+(_0x5d52bf=='edit'?_0xec5818(0x1f9)+_0x2a04c3['Field']+',\x20':'')+'item).then(res=>{\x0a',_0x4edc70+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20emits(\x27save\x27),\x20refDialog?.value?.close()\x0a',_0x4edc70+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x4edc70+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a',_0x4edc70+=_0xec5818(0x222),_0x4edc70+=_0xec5818(0x225),_0x4edc70+=_0xec5818(0x250),_0x4edc70+=_0xec5818(0x25a),_0x4edc70+=_0xec5818(0x22d),fs[_0xec5818(0x221)]((0x0,path_1[_0xec5818(0x2bb)])(_0x16303e),{'recursive':!![]}),fs[_0xec5818(0x281)](_0x16303e,_0x4edc70,'utf-8');}}function a23_0x2470(){const _0x1c97d7=['\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','default','\x20}).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27删除成功\x27),\x20LoadDatas();\x0a\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20}).catch(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false;\x0a\x20\x20\x20\x20})\x0a}\x0a\x0a/**\x0a\x20*\x20修改字段状态\x0a\x20*\x20**/\x0a\x20const\x20handlerFieldChange\x20=\x20(item:\x20any,\x20field:string)=>{\x0a\x20\x20\x20\x20if\x20(item.','length','/vue','9557226ZjfMPm','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','12712vUefGS','<elplus-select-tags\x20v-model=\x22formdata.','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x0aimport\x20{\x20','created_at','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20:model=\x22formdata\x22\x20:rules=\x22',',\x20{\x20[field]:\x20item[field]\x20}).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20typeof(res?.data)\x20!=\x20\x27undefined\x27\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20item\x20=\x20res.data;\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\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27操作失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a/**\x0a\x20*\x20加载数据\x0a\x20*\x20**/\x0aLoadDatas()\x0a\x0a</script>','defineProperty','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','/list/','\x22\x20:limit=\x221\x22\x20','padEnd','tags','\x22\x20placeholder=\x22请输入或选择','\x20/>','\x22\x20value=\x22','\x20\x20\x20\x20','\x22\x20clearable>',')\x20=>\x20{\x0a','__esModule','<dialog-add-vue\x20ref=\x22refDialogAdd\x22\x20@save=\x22LoadDatas()\x22\x20/>','</el-select>','$router.push(`edit?','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','27TvsNHK','\x22\x20class=\x22block\x22>','//\x20保存数据\x0a','updated_at','\x20\x20\x20\x20</page-main>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20','2530630DRItqa','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','$router.push(`add`)','\x20\x20\x20\x20})\x0a','$refs?.refDialogEdit?.open(scope.row.id)','\x20\x20\x20\x20<page-main>\x0a','Edit','displayorder','<template>\x0a\x20\x20\x20\x20<page-main>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<elplus-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20:loading=\x22loading\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\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$hasPrem(`get@/','\x22\x20placeholder=\x22选择','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','</script>\x0a','<img\x20:src=\x22scope.row.','\x22\x20placeholder=\x22请选择','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','\x22\x20\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-form-item\x20label=\x22','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','\x22\x20clearable/>','442414ezIORt','<el-date-picker\x20v-model=\x22formdata.','\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','edit/:','</el-form-item>','Add','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','search','\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','<el-input\x20v-model=\x22formdata.','</a>','_start\x22\x20placeholder=\x22选择',':\x20item.','_end\x22\x20placeholder=\x22选择','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','import\x20{\x20','Edit\x20}\x20from\x20\x27@/apis/','_ids','<elplus-switch\x20v-model=\x22scope.row\x22\x20field=\x22','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','imgs','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','<el-table-column\x20prop=','deleted_at','//\x20获取详情\x0a','}\x0a\x0a','num','add','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','const\x20handlerSave\x20=\x20()=>{\x0a','thumbs','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','text','path','img','defineExpose({\x20open\x20})\x0a','/remove`)\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22danger\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</elplus-table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20</elplus-dialog>\x0a','_id','cwd','</el-table-column>','<elplus-select-search\x20v-model=\x22props.search.','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<template\x20#default=\x22scope\x22>','}`)','>=\x22>','<template>\x0a','<el-option\x20label=\x22','\x22\x20:limit=\x225\x22\x20','tinyint','<el-select\x20v-model=\x22formdata.','\x20\x20\x20\x20}\x20else\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/index.vue','import\x20dialogEditVue\x20from\x20\x27./components/dialog-edit.vue\x27;','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','substring','mediumtext','\x22\x20\x20placeholder=\x22请输入','number','\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\x20route\x20=\x20useRoute(),\x20table\x20=\x20reactive({\x0a\x20\x20\x20\x20data:\x20[],\x0a\x20\x20\x20\x20select:\x20[],\x0a\x20\x20\x20\x20search:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20_page:\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_size:\x2020,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_count:\x200,\x0a\x20\x20\x20\x20}\x0a})\x0a\x0a\x0a/**\x0a\x20*\x20获取数据列表\x0a\x20*\x20@param\x20page\x20分页-当前页\x0a\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20*\x20**/\x0aconst\x20LoadDatas\x20=\x20(page?:\x20number,\x20size?:\x20number,\x20sortable\x20=\x20{})\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20page\x20&&\x20(table.search._page\x20=\x20page),\x20size\x20&&\x20(table.search._size\x20=\x20size);\x0a\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','<el-input-number\x20v-model=\x22formdata.','(((.+)+)+)+$','/components/dialog-','List(Object.assign({},\x20route?.query\x20||\x20{},\x20table.search\x20||\x20{},\x20sortable)).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20table.data\x20=\x20res.data\x20||\x20[],\x20table.search\x20=\x20{\x20...table.search,\x20...res?.extra?.pageinfo\x20||\x20{},\x20_count:\x20res?.extra?.pagetotal\x20||\x200\x20};\x0a\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a\x20\x20\x20\x20});\x0a}\x0a\x0a/**\x0a\x20*\x20删除数据\x0a\x20*\x20**/\x0aconst\x20handlerRemove\x20=\x20(item:any)\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20$confirm(`确定删除数据吗?`,\x20\x27提示\x27,\x20{\x20confirmButtonText:\x20\x27确定\x27,\x20cancelButtonText:\x20\x27取消\x27,\x20type:\x20\x27warning\x27\x20}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20prop=\x22displayorder\x22\x20align=\x22center\x22\x20width=\x2280\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-input\x20v-model=\x22scope.row.displayorder\x22\x20type=\x22number\x22\x20@change=\x22handlerFieldChange(scope.row,\x27displayorder\x27)\x22></el-input>\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\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>\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$hasPrem(`get@/','/pages/','const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20()\x20=>\x20{\x0a','constructor','getEnum','apply','256THACXe','writeFileSync','components/search.vue','\x20label=\x22','\x22\x20placeholder=\x22请输入','Edit,\x20','Remove({\x20','.vue','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Detail,\x20',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','const\x20getDetail\x20=\x20(','</template>','getProp','5maiFQD','index.vue','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','<elplus-select-search\x20v-model=\x22formdata.','820604UNLCFr','Detail(','Field','27YtTADF','\x27;\x0a\x0a','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','}\x0a\x0a\x0a','53550728RiPkhW','const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20(','\x20\x20\x20\x20<elplus-dialog\x20ref=\x22refDialog\x22\x20:loading=\x22loading\x22\x20title=\x22','<template>\x0a\x20\x20\x20\x20','substr','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','timestamp','\x20\x20\x20\x20formdata.value\x20=\x20{},\x20','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','datetime','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','<script\x20lang=\x22ts\x22\x20setup>\x0a','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','/pages/apps/','`)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','`)\x22\x20@click=\x22','\x0a\x20\x20\x20\x20</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20router.back();\x0a','tag','Comment','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','\x22\x20style=\x22cursor:pointer\x22/>','enum','longtext','<el-date-picker\x20v-model=\x22props.search.','<el-input\x20v-model=\x22props.search.','edit','\x20as\x20unknown\x20as\x20','/add`)\x22\x20@click=\x22','\x20\x20\x20\x20\x20\x20\x20\x20$notify.error(err\x20||\x20\x27网络请求错误\x27)\x0a','<attachment-image\x20v-model=\x22formdata.','const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','dirname','endsWith','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','<tinymce-editor\x20v-model=\x22formdata.','module=\x22','<el-avatar\x20:src=\x22scope.row.','\x20\x20\x20\x20if\x20(','string','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','apps/','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','\x20\x20\x20\x20formdata.value\x20=\x20{},\x20refDialog?.value?.open();\x0a','\x22\x20/>','thumb','</template>\x0a','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','552647wMsgcC','indexOf','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','existsSync','Type','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','<=\x22>','\x22\x20prop=\x22','date','\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aconst\x20props\x20=\x20defineProps({\x0a\x20\x20\x20\x20search:\x20{type:\x20Object\x20,default:\x20()=>{return\x20{}}},\x0a})\x0a</script>','utf-8','Detail\x20}\x20from\x20\x27@/apis/','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>',').then(res\x20=>\x20{\x0a','logo','item.'];a23_0x2470=function(){return _0x1c97d7;};return a23_0x2470();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x420f65=a24_0x1fb0;(function(_0x1ff4b0,_0xf5a2c5){const _0x39ae7b=a24_0x1fb0,_0x3095fe=_0x1ff4b0();while(!![]){try{const _0x28701d=-parseInt(_0x39ae7b(0x1ad))/0x1*(-parseInt(_0x39ae7b(0x1b5))/0x2)+parseInt(_0x39ae7b(0x1c0))/0x3*(parseInt(_0x39ae7b(0x1c5))/0x4)+-parseInt(_0x39ae7b(0x1cc))/0x5+-parseInt(_0x39ae7b(0x19d))/0x6+-parseInt(_0x39ae7b(0x19f))/0x7+-parseInt(_0x39ae7b(0x1ac))/0x8+-parseInt(_0x39ae7b(0x1c3))/0x9*(-parseInt(_0x39ae7b(0x1c1))/0xa);if(_0x28701d===_0xf5a2c5)break;else _0x3095fe['push'](_0x3095fe['shift']());}catch(_0x317faf){_0x3095fe['push'](_0x3095fe['shift']());}}}(a24_0x3ed0,0xafe9a));const a24_0x102775=(function(){let _0x273d41=!![];return function(_0x499473,_0x502f4c){const _0x21b34b=_0x273d41?function(){if(_0x502f4c){const _0xab6638=_0x502f4c['apply'](_0x499473,arguments);return _0x502f4c=null,_0xab6638;}}:function(){};return _0x273d41=![],_0x21b34b;};}()),a24_0x599b1b=a24_0x102775(this,function(){const _0x1f4420=a24_0x1fb0;return a24_0x599b1b[_0x1f4420(0x1c7)]()[_0x1f4420(0x1a5)](_0x1f4420(0x1a8))[_0x1f4420(0x1c7)]()[_0x1f4420(0x1c4)](a24_0x599b1b)['search'](_0x1f4420(0x1a8));});function a24_0x3ed0(){const _0x3072ab=['2205526LQptCH','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','\x20\x20\x20\x20]\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','cwd','utf-8','default','writeFileSync','existsSync','string','export\x20default\x20{\x0a','143016HRicob','44830lmSwWY','\x22,\x0a','2889ZjovRe','constructor','16zRmxod',',\x20component:\x20()=>\x20import(\x27./','toString','\x22\x20}\x20}',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/edit\x22','mkdirSync','2334625EiVrra','/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','apps-','3186396jaMtvQ','defineProperty','2007698beGrWR','/pages/','{\x20path:\x20\x22','/vue','/routes.ts','dirname','search','/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','padEnd','(((.+)+)+)+$','indexOf','\x20\x20\x20\x20children:[\x0a','path','5817208sjfWjU','1vEgjsv','/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','\x20\x20\x20\x20component:\x20()\x20=>\x20import(`./layout.vue`),\x0a','\x20\x20\x20\x20//\x20redirect:\x20\x22/','__esModule','replace','//\x20add\x20route\x20here','/pages/apps/'];a24_0x3ed0=function(){return _0x3072ab;};return a24_0x3ed0();}a24_0x599b1b();'use strict';Object[a24_0x420f65(0x19e)](exports,a24_0x420f65(0x1b1),{'value':!![]}),exports[a24_0x420f65(0x1bb)]=default_1;const fs=require('fs'),path_1=require(a24_0x420f65(0x1ab));function a24_0x1fb0(_0x211734,_0x8f0d73){const _0x29d3bd=a24_0x3ed0();return a24_0x1fb0=function(_0x599b1b,_0x102775){_0x599b1b=_0x599b1b-0x19d;let _0x3ed0aa=_0x29d3bd[_0x599b1b];return _0x3ed0aa;},a24_0x1fb0(_0x211734,_0x8f0d73);}async function default_1({tablestartUpShort2:_0x1c0d01,moduleName:_0x504fc5,controller:_0x65e6d8,Comment:_0x3f7665,apporbasic:_0x46fbc0,vuedialog:_0x58cf8a}){await createRoutes({'tablestartUpShort2':_0x1c0d01,'moduleName':_0x504fc5,'controller':_0x65e6d8,'Comment':_0x3f7665,'apporbasic':_0x46fbc0,'vuedialog':_0x58cf8a});}async function createRoutes({tablestartUpShort2:_0x58ab7f,moduleName:_0x34accb,controller:_0xdd7edb,Comment:_0xdb3109,apporbasic:_0x299819,vuedialog:_0x597988}){const _0x2e61e3=a24_0x420f65;let _0x452349=process[_0x2e61e3(0x1b9)]()+_0x2e61e3(0x1a2)+(typeof _0xdd7edb==_0x2e61e3(0x1be)?'/'+_0xdd7edb:'');_0x34accb?_0x452349=_0x452349+(_0x2e61e3(0x1b4)+_0x34accb+_0x2e61e3(0x1a3)):_0x452349=_0x452349+(_0x2e61e3(0x1a0)+_0x299819+_0x2e61e3(0x1a3));if(!fs[_0x2e61e3(0x1bd)](_0x452349)){let _0x275a19='';_0x275a19+=_0x2e61e3(0x1bf),_0x275a19+='\x20\x20\x20\x20path:\x20\x22/'+(_0x34accb?'apps-'+_0x34accb+'/':_0x299819+'/')+_0x2e61e3(0x1c2),_0x275a19+=_0x2e61e3(0x1b0)+(_0x34accb?_0x2e61e3(0x1ce)+_0x34accb+'/':_0x299819+'/')+_0x2e61e3(0x1c2),_0x275a19+=_0x2e61e3(0x1af),_0x275a19+=_0x2e61e3(0x1aa),_0x275a19+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x275a19+=_0x2e61e3(0x1b7),_0x275a19+='}\x0a',fs[_0x2e61e3(0x1cb)]((0x0,path_1[_0x2e61e3(0x1a4)])(_0x452349),{'recursive':!![]}),fs[_0x2e61e3(0x1bc)](_0x452349,_0x275a19,'utf-8');}const _0x5988c6=fs['readFileSync'](_0x452349,_0x2e61e3(0x1ba));let _0x16aa41;!_0x597988?_0x16aa41=_0x2e61e3(0x1a1)+(_0x58ab7f+'/list\x22')['padEnd'](0x14)+(_0x2e61e3(0x1c6)+_0x58ab7f+'/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0xdb3109+_0x2e61e3(0x1c8)):_0x16aa41=_0x2e61e3(0x1a1)+(_0x58ab7f+'\x22')[_0x2e61e3(0x1a7)](0x14)+(_0x2e61e3(0x1c6)+_0x58ab7f+_0x2e61e3(0x1a6)+_0xdb3109+'\x22\x20}\x20}');if(_0x5988c6[_0x2e61e3(0x1a9)](_0x16aa41)==-0x1){let _0x36c7cb=_0x5988c6[_0x2e61e3(0x1b2)](_0x2e61e3(0x1b3),_0x16aa41+_0x2e61e3(0x1c9));!_0x597988&&(_0x36c7cb=_0x36c7cb[_0x2e61e3(0x1b2)](_0x2e61e3(0x1b3),_0x2e61e3(0x1a1)+(_0x58ab7f+'/add\x22')[_0x2e61e3(0x1a7)](0x14)+(_0x2e61e3(0x1c6)+_0x58ab7f+_0x2e61e3(0x1ae)+_0xdb3109+_0x2e61e3(0x1b8))),_0x36c7cb=_0x36c7cb[_0x2e61e3(0x1b2)](_0x2e61e3(0x1b3),_0x2e61e3(0x1a1)+(_0x58ab7f+_0x2e61e3(0x1ca))[_0x2e61e3(0x1a7)](0x14)+(_0x2e61e3(0x1c6)+_0x58ab7f+_0x2e61e3(0x1cd)+_0xdb3109+_0x2e61e3(0x1b6)))),fs['writeFileSync'](_0x452349,_0x36c7cb);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x5ed6c2=a25_0x3c7b;(function(_0x34de0b,_0x474981){const _0x40d04a=a25_0x3c7b,_0x3bf7eb=_0x34de0b();while(!![]){try{const _0x43c249=-parseInt(_0x40d04a(0xb9))/0x1*(parseInt(_0x40d04a(0xbb))/0x2)+-parseInt(_0x40d04a(0xba))/0x3+parseInt(_0x40d04a(0xc3))/0x4+parseInt(_0x40d04a(0xd4))/0x5*(parseInt(_0x40d04a(0xc8))/0x6)+parseInt(_0x40d04a(0xf0))/0x7*(parseInt(_0x40d04a(0xf1))/0x8)+parseInt(_0x40d04a(0xaf))/0x9*(-parseInt(_0x40d04a(0xd9))/0xa)+parseInt(_0x40d04a(0xbc))/0xb;if(_0x43c249===_0x474981)break;else _0x3bf7eb['push'](_0x3bf7eb['shift']());}catch(_0x5afe6c){_0x3bf7eb['push'](_0x3bf7eb['shift']());}}}(a25_0x3cc4,0x8b34b));function a25_0x3c7b(_0x1b0a32,_0x5c5942){const _0x38c878=a25_0x3cc4();return a25_0x3c7b=function(_0x206f8d,_0x54d01e){_0x206f8d=_0x206f8d-0xae;let _0x3cc486=_0x38c878[_0x206f8d];return _0x3cc486;},a25_0x3c7b(_0x1b0a32,_0x5c5942);}const a25_0x54d01e=(function(){let _0x5801c6=!![];return function(_0x9a72a0,_0x503054){const _0x411908=_0x5801c6?function(){const _0x4a74af=a25_0x3c7b;if(_0x503054){const _0x3017e8=_0x503054[_0x4a74af(0xc2)](_0x9a72a0,arguments);return _0x503054=null,_0x3017e8;}}:function(){};return _0x5801c6=![],_0x411908;};}()),a25_0x206f8d=a25_0x54d01e(this,function(){const _0x5a069b=a25_0x3c7b;return a25_0x206f8d[_0x5a069b(0xe6)]()[_0x5a069b(0xdd)](_0x5a069b(0xc9))[_0x5a069b(0xe6)]()[_0x5a069b(0xe9)](a25_0x206f8d)[_0x5a069b(0xdd)](_0x5a069b(0xc9));});a25_0x206f8d();'use strict';Object[a25_0x5ed6c2(0xdb)](exports,a25_0x5ed6c2(0xbe),{'value':!![]}),exports[a25_0x5ed6c2(0xda)]=default_1;const fs=require('fs'),path=require(a25_0x5ed6c2(0xd1)),helper_1=require(a25_0x5ed6c2(0xc1));async function default_1({tablestartUpShort:_0x2f31d2,tablestartUpShort2:_0x877fc6,moduleName:_0x11b033,controller:_0x13a87e,apporbasic:_0x32503c,Fields:_0x26e5a2}){const _0x149183=a25_0x5ed6c2;let _0x2dba6b=process[_0x149183(0xe7)]()+'/vue'+(typeof _0x13a87e=='string'?'/'+_0x13a87e:'');_0x11b033?_0x2dba6b=_0x2dba6b+('/pages/apps/'+_0x11b033+'/'+_0x877fc6+_0x149183(0xe1)):_0x2dba6b=_0x2dba6b+(_0x149183(0xc5)+_0x32503c+'/'+_0x877fc6+_0x149183(0xe1));const _0x16eab1=_0x149183(0xef)+_0x2f31d2+_0x149183(0xb5)+_0x2f31d2+_0x149183(0xee),_0x469a1c=await createAddRuleColumn({'Fields':_0x26e5a2}),_0x20f84b=await createEditRuleColumn({'Fields':_0x26e5a2});!fs[_0x149183(0xb0)](path[_0x149183(0xf4)](_0x2dba6b))&&fs[_0x149183(0xf2)](path[_0x149183(0xf4)](_0x2dba6b),{'recursive':!![]}),fs['writeFileSync'](_0x2dba6b,_0x16eab1['replace'](_0x149183(0xb7),_0x469a1c)[_0x149183(0xf5)]('%EditRuleColumn%',_0x20f84b),_0x149183(0xb6));}async function createAddRuleColumn({Fields:_0x205fb6}){const _0x2237b2=a25_0x5ed6c2;let _0xc826f5='';for(let _0x16e71b in _0x205fb6){let _0x5f177b=_0x205fb6[_0x16e71b],_0x12994d=(0x0,helper_1['getProp'])(_0x5f177b[_0x2237b2(0xca)]);if(_0x5f177b[_0x2237b2(0xcd)]=='displayorder'||_0x5f177b[_0x2237b2(0xcd)]==_0x2237b2(0xf6)||_0x5f177b['Field']==_0x2237b2(0xec)||_0x5f177b[_0x2237b2(0xcd)]==_0x2237b2(0xc0))continue;if([_0x2237b2(0xd0),'longtext','mediumtext'][_0x2237b2(0xb4)](_0x12994d)!=-0x1)_0xc826f5+=_0x2237b2(0xb8)+_0x5f177b[_0x2237b2(0xde)]+'\x0a',_0xc826f5+='\x20\x20\x20\x20'+_0x5f177b[_0x2237b2(0xcd)]+_0x2237b2(0xb2),_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)&&(_0xc826f5+=_0x2237b2(0xe4)+_0x5f177b[_0x2237b2(0xde)]+_0x2237b2(0xea)+(_0x5f177b['Null']!=_0x2237b2(0xc6)?_0x2237b2(0xc7):_0x2237b2(0xe0))+_0x2237b2(0xb1)),_0xc826f5+=_0x2237b2(0xd8);else{if(['float',_0x2237b2(0xd6),_0x2237b2(0xeb),_0x2237b2(0xd7)][_0x2237b2(0xb4)](_0x12994d)!=-0x1)_0xc826f5+=_0x2237b2(0xb8)+_0x5f177b[_0x2237b2(0xde)]+'\x0a',_0xc826f5+=_0x2237b2(0xc4)+_0x5f177b[_0x2237b2(0xcd)]+':\x20[\x0a',_0xc826f5+=_0x2237b2(0xe8)+_0x5f177b[_0x2237b2(0xde)]+_0x2237b2(0xcf),_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)&&(_0xc826f5+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5f177b[_0x2237b2(0xde)]+'不能为空`,\x20required:\x20'+(_0x5f177b[_0x2237b2(0xbf)]!='YES'?_0x2237b2(0xc7):_0x2237b2(0xe0))+_0x2237b2(0xb1)),_0xc826f5+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint'][_0x2237b2(0xb4)](_0x12994d)!=-0x1)_0xc826f5+=_0x2237b2(0xb8)+_0x5f177b[_0x2237b2(0xde)]+'\x0a',_0xc826f5+=_0x2237b2(0xc4)+_0x5f177b[_0x2237b2(0xcd)]+_0x2237b2(0xb2),_0xc826f5+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5f177b['Comment']+_0x2237b2(0xcf),_0x5f177b['Null']!=_0x2237b2(0xc6)&&(_0xc826f5+=_0x2237b2(0xe4)+_0x5f177b[_0x2237b2(0xde)]+_0x2237b2(0xea)+(_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)?'false':_0x2237b2(0xe0))+_0x2237b2(0xb1)),_0xc826f5+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x12994d=='json')_0xc826f5+='\x20\x20\x20\x20//\x20'+_0x5f177b[_0x2237b2(0xde)]+'\x0a',_0xc826f5+=_0x2237b2(0xc4)+_0x5f177b[_0x2237b2(0xcd)]+':\x20[\x0a',_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)&&(_0xc826f5+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5f177b[_0x2237b2(0xde)]+_0x2237b2(0xea)+(_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)?_0x2237b2(0xc7):_0x2237b2(0xe0))+_0x2237b2(0xb1)),_0xc826f5+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x12994d==_0x2237b2(0xbd)){let _0x4f177d=(0x0,helper_1[_0x2237b2(0xdc)])(_0x5f177b[_0x2237b2(0xca)]);_0xc826f5+=_0x2237b2(0xb8)+_0x5f177b[_0x2237b2(0xde)]+'\x0a',_0xc826f5+=_0x2237b2(0xc4)+_0x5f177b[_0x2237b2(0xcd)]+':\x20[\x0a',_0xc826f5+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5f177b['Comment']+_0x2237b2(0xce)+_0x4f177d[_0x2237b2(0xd2)](_0x2237b2(0xe3))+_0x2237b2(0xe2),_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)&&(_0xc826f5+=_0x2237b2(0xe4)+_0x5f177b[_0x2237b2(0xde)]+_0x2237b2(0xea)+(_0x5f177b['Null']!=_0x2237b2(0xc6)?_0x2237b2(0xc7):_0x2237b2(0xe0))+'\x20},\x0a'),_0xc826f5+=_0x2237b2(0xd8);}else[_0x2237b2(0xd3),_0x2237b2(0xf3),_0x2237b2(0xae)]['indexOf'](_0x12994d)>-0x1?(_0xc826f5+='\x20\x20\x20\x20//\x20'+_0x5f177b['Comment']+'\x0a',_0xc826f5+='\x20\x20\x20\x20'+_0x5f177b[_0x2237b2(0xcd)]+_0x2237b2(0xb2),_0xc826f5+=_0x2237b2(0xe8)+_0x5f177b['Comment']+_0x2237b2(0xcb),_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)&&(_0xc826f5+=_0x2237b2(0xe4)+_0x5f177b[_0x2237b2(0xde)]+'不能为空`,\x20required:\x20'+(_0x5f177b[_0x2237b2(0xbf)]!=_0x2237b2(0xc6)?'false':_0x2237b2(0xe0))+_0x2237b2(0xb1)),_0xc826f5+=_0x2237b2(0xd8)):(_0xc826f5+='\x20\x20\x20\x20//\x20'+_0x5f177b[_0x2237b2(0xde)]+'\x0a',_0xc826f5+=_0x2237b2(0xc4)+_0x5f177b[_0x2237b2(0xcd)]+':\x20[\x0a',_0xc826f5+=_0x2237b2(0xe8)+_0x5f177b[_0x2237b2(0xde)]+_0x2237b2(0xcc),_0x5f177b[_0x2237b2(0xbf)]!='YES'&&(_0xc826f5+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5f177b['Comment']+_0x2237b2(0xea)+(_0x5f177b['Null']!='YES'?_0x2237b2(0xc7):'true')+_0x2237b2(0xb1)),_0xc826f5+=_0x2237b2(0xd8));}}}}}return _0xc826f5;}function a25_0x3cc4(){const _0x54eb55=['cwd','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','constructor','不能为空`,\x20required:\x20','decimal','updated_at','tinyint','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','3227FlEtyk','14296gBILib','mkdirSync','datetime','dirname','replace','created_at','timestamp','5517MJPWar','existsSync','\x20},\x0a',':\x20[\x0a','float','indexOf','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','utf-8','%AddRuleColumn%','\x20\x20\x20\x20//\x20','9ItIQws','3355707aUJcci','61648DiMUPy','10723614ZgGQkf','enum','__esModule','Null','deleted_at','../helper','apply','3966116OXHjbe','\x20\x20\x20\x20','/pages/','YES','false','462SnZrCz','(((.+)+)+)+$','Type','`,\x20type:\x20\x22date\x22\x20},\x0a','`,\x20type:\x20\x22string\x22\x20},\x0a','Field','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','`,\x20type:\x20\x22number\x22\x20},\x0a','text','path','join','date','2895yCQLxS','json','double','number','\x20\x20\x20\x20],\x0a\x0a','14170eMbpGd','default','defineProperty','getEnum','search','Comment','longtext','true','/interface.ts','\x27]\x20},\x0a','\x27,\x20\x27','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','displayorder','toString'];a25_0x3cc4=function(){return _0x54eb55;};return a25_0x3cc4();}async function createEditRuleColumn({Fields:_0x40086c}){const _0x283e0f=a25_0x5ed6c2;let _0x182010='';for(let _0x19fc33 in _0x40086c){let _0x28c2aa=_0x40086c[_0x19fc33],_0x1f6bff=(0x0,helper_1['getProp'])(_0x28c2aa[_0x283e0f(0xca)]);if(_0x28c2aa['Field']==_0x283e0f(0xe5)||_0x28c2aa[_0x283e0f(0xcd)]==_0x283e0f(0xf6)||_0x28c2aa[_0x283e0f(0xcd)]==_0x283e0f(0xec)||_0x28c2aa[_0x283e0f(0xcd)]==_0x283e0f(0xc0))continue;if(['text',_0x283e0f(0xdf),'mediumtext'][_0x283e0f(0xb4)](_0x1f6bff)!=-0x1)_0x182010+=_0x283e0f(0xb8)+_0x28c2aa[_0x283e0f(0xde)]+'\x0a',_0x182010+=_0x283e0f(0xc4)+_0x28c2aa['Field']+_0x283e0f(0xb2),_0x28c2aa['Null']!=_0x283e0f(0xc6)&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa['Comment']+'不能为空`,\x20required:\x20'+(_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)?_0x283e0f(0xc7):_0x283e0f(0xe0))+'\x20},\x0a'),_0x182010+=_0x283e0f(0xd8);else{if([_0x283e0f(0xb3),_0x283e0f(0xd6),_0x283e0f(0xeb),_0x283e0f(0xd7)]['indexOf'](_0x1f6bff)!=-0x1)_0x182010+=_0x283e0f(0xb8)+_0x28c2aa[_0x283e0f(0xde)]+'\x0a',_0x182010+='\x20\x20\x20\x20'+_0x28c2aa[_0x283e0f(0xcd)]+_0x283e0f(0xb2),_0x182010+=_0x283e0f(0xe8)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xcf),_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa['Comment']+_0x283e0f(0xea)+(_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)?_0x283e0f(0xc7):_0x283e0f(0xe0))+'\x20},\x0a'),_0x182010+=_0x283e0f(0xd8);else{if([_0x283e0f(0xed)][_0x283e0f(0xb4)](_0x1f6bff)!=-0x1)_0x182010+=_0x283e0f(0xb8)+_0x28c2aa['Comment']+'\x0a',_0x182010+=_0x283e0f(0xc4)+_0x28c2aa[_0x283e0f(0xcd)]+_0x283e0f(0xb2),_0x182010+=_0x283e0f(0xe8)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xcf),_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xea)+(_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)?_0x283e0f(0xc7):_0x283e0f(0xe0))+_0x283e0f(0xb1)),_0x182010+=_0x283e0f(0xd8);else{if(_0x1f6bff==_0x283e0f(0xd5))_0x182010+='\x20\x20\x20\x20//\x20'+_0x28c2aa[_0x283e0f(0xde)]+'\x0a',_0x182010+=_0x283e0f(0xc4)+_0x28c2aa[_0x283e0f(0xcd)]+_0x283e0f(0xb2),_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xea)+(_0x28c2aa['Null']!=_0x283e0f(0xc6)?'false':_0x283e0f(0xe0))+_0x283e0f(0xb1)),_0x182010+=_0x283e0f(0xd8);else{if(_0x1f6bff=='enum'){let _0x1381fd=(0x0,helper_1[_0x283e0f(0xdc)])(_0x28c2aa[_0x283e0f(0xca)]);_0x182010+=_0x283e0f(0xb8)+_0x28c2aa['Comment']+'\x0a',_0x182010+=_0x283e0f(0xc4)+_0x28c2aa[_0x283e0f(0xcd)]+':\x20[\x0a',_0x182010+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xce)+_0x1381fd[_0x283e0f(0xd2)](_0x283e0f(0xe3))+'\x27]\x20},\x0a',_0x28c2aa[_0x283e0f(0xbf)]!='YES'&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa['Comment']+_0x283e0f(0xea)+(_0x28c2aa[_0x283e0f(0xbf)]!='YES'?'false':_0x283e0f(0xe0))+_0x283e0f(0xb1)),_0x182010+=_0x283e0f(0xd8);}else['date',_0x283e0f(0xf3),_0x283e0f(0xae)][_0x283e0f(0xb4)](_0x1f6bff)>-0x1?(_0x182010+=_0x283e0f(0xb8)+_0x28c2aa[_0x283e0f(0xde)]+'\x0a',_0x182010+=_0x283e0f(0xc4)+_0x28c2aa[_0x283e0f(0xcd)]+_0x283e0f(0xb2),_0x182010+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xcb),_0x28c2aa['Null']!='YES'&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xea)+(_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)?_0x283e0f(0xc7):'true')+_0x283e0f(0xb1)),_0x182010+='\x20\x20\x20\x20],\x0a\x0a'):(_0x182010+='\x20\x20\x20\x20//\x20'+_0x28c2aa[_0x283e0f(0xde)]+'\x0a',_0x182010+=_0x283e0f(0xc4)+_0x28c2aa[_0x283e0f(0xcd)]+_0x283e0f(0xb2),_0x182010+=_0x283e0f(0xe8)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xcc),_0x28c2aa[_0x283e0f(0xbf)]!=_0x283e0f(0xc6)&&(_0x182010+=_0x283e0f(0xe4)+_0x28c2aa[_0x283e0f(0xde)]+_0x283e0f(0xea)+(_0x28c2aa[_0x283e0f(0xbf)]!='YES'?'false':_0x283e0f(0xe0))+_0x283e0f(0xb1)),_0x182010+=_0x283e0f(0xd8));}}}}}return _0x182010;}
|
|
1
|
+
const a25_0x4c9394=a25_0xa562;(function(_0x1dfad7,_0x445845){const _0x4cf8d5=a25_0xa562,_0x2c4f20=_0x1dfad7();while(!![]){try{const _0x4760c9=-parseInt(_0x4cf8d5(0x96))/0x1+-parseInt(_0x4cf8d5(0xca))/0x2*(-parseInt(_0x4cf8d5(0x91))/0x3)+-parseInt(_0x4cf8d5(0xc0))/0x4+parseInt(_0x4cf8d5(0xaf))/0x5+parseInt(_0x4cf8d5(0x9f))/0x6*(-parseInt(_0x4cf8d5(0x95))/0x7)+-parseInt(_0x4cf8d5(0xa5))/0x8*(-parseInt(_0x4cf8d5(0xb3))/0x9)+parseInt(_0x4cf8d5(0xb5))/0xa;if(_0x4760c9===_0x445845)break;else _0x2c4f20['push'](_0x2c4f20['shift']());}catch(_0xc0127b){_0x2c4f20['push'](_0x2c4f20['shift']());}}}(a25_0x2757,0xdd900));const a25_0x1d98a0=(function(){let _0xb3c359=!![];return function(_0x5b2ac5,_0x1c6792){const _0x49fef0=_0xb3c359?function(){const _0x1b0929=a25_0xa562;if(_0x1c6792){const _0x35af09=_0x1c6792[_0x1b0929(0x97)](_0x5b2ac5,arguments);return _0x1c6792=null,_0x35af09;}}:function(){};return _0xb3c359=![],_0x49fef0;};}()),a25_0x208c63=a25_0x1d98a0(this,function(){const _0x2a5b0a=a25_0xa562;return a25_0x208c63[_0x2a5b0a(0xac)]()[_0x2a5b0a(0x8e)](_0x2a5b0a(0x86))['toString']()[_0x2a5b0a(0xc8)](a25_0x208c63)[_0x2a5b0a(0x8e)](_0x2a5b0a(0x86));});a25_0x208c63();function a25_0xa562(_0x206960,_0x1de382){const _0xc37236=a25_0x2757();return a25_0xa562=function(_0x208c63,_0x1d98a0){_0x208c63=_0x208c63-0x85;let _0x2757ab=_0xc37236[_0x208c63];return _0x2757ab;},a25_0xa562(_0x206960,_0x1de382);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path=require(a25_0x4c9394(0x98)),helper_1=require(a25_0x4c9394(0xb1));async function default_1({tablestartUpShort:_0x470afb,tablestartUpShort2:_0x14a00e,moduleName:_0x312852,controller:_0x468321,apporbasic:_0x5324c8,Fields:_0x2c0884}){const _0x2f6915=a25_0x4c9394;let _0x3bb131=process[_0x2f6915(0x87)]()+_0x2f6915(0x9c)+(typeof _0x468321==_0x2f6915(0x90)?'/'+_0x468321:'');_0x312852?_0x3bb131=_0x3bb131+(_0x2f6915(0x9e)+_0x312852+'/'+_0x14a00e+_0x2f6915(0xbd)):_0x3bb131=_0x3bb131+('/pages/'+_0x5324c8+'/'+_0x14a00e+'/interface.ts');const _0x493ca8=_0x2f6915(0xa7)+_0x470afb+_0x2f6915(0xb7)+_0x470afb+_0x2f6915(0xa2),_0x2024bc=await createAddRuleColumn({'Fields':_0x2c0884}),_0x422fd2=await createEditRuleColumn({'Fields':_0x2c0884});!fs[_0x2f6915(0xa3)](path[_0x2f6915(0x8f)](_0x3bb131))&&fs['mkdirSync'](path[_0x2f6915(0x8f)](_0x3bb131),{'recursive':!![]}),fs[_0x2f6915(0x8c)](_0x3bb131,_0x493ca8[_0x2f6915(0xc5)](_0x2f6915(0x8b),_0x2024bc)['replace']('%EditRuleColumn%',_0x422fd2),'utf-8');}async function createAddRuleColumn({Fields:_0x3c1b9e}){const _0x3eac19=a25_0x4c9394;let _0x639274='';for(let _0x87f0b0 in _0x3c1b9e){let _0x3c5666=_0x3c1b9e[_0x87f0b0],_0x5cf20e=(0x0,helper_1[_0x3eac19(0x94)])(_0x3c5666[_0x3eac19(0xa0)]);if(_0x3c5666[_0x3eac19(0x88)]==_0x3eac19(0xb4)||_0x3c5666[_0x3eac19(0x88)]==_0x3eac19(0xab)||_0x3c5666[_0x3eac19(0x88)]==_0x3eac19(0x92)||_0x3c5666[_0x3eac19(0x88)]==_0x3eac19(0xa8))continue;if(['text',_0x3eac19(0x8a),_0x3eac19(0xa6)][_0x3eac19(0xc2)](_0x5cf20e)!=-0x1)_0x639274+=_0x3eac19(0xa1)+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+='\x20\x20\x20\x20'+_0x3c5666['Field']+_0x3eac19(0xbf),_0x3c5666['Null']!=_0x3eac19(0xaa)&&(_0x639274+=_0x3eac19(0xa4)+_0x3c5666['Comment']+_0x3eac19(0xba)+(_0x3c5666['Null']!=_0x3eac19(0xaa)?_0x3eac19(0xbb):_0x3eac19(0xc3))+_0x3eac19(0xad)),_0x639274+=_0x3eac19(0x9a);else{if(['float','double','decimal',_0x3eac19(0x89)][_0x3eac19(0xc2)](_0x5cf20e)!=-0x1)_0x639274+='\x20\x20\x20\x20//\x20'+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+='\x20\x20\x20\x20'+_0x3c5666[_0x3eac19(0x88)]+':\x20[\x0a',_0x639274+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3c5666['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x3c5666['Null']!='YES'&&(_0x639274+=_0x3eac19(0xa4)+_0x3c5666[_0x3eac19(0x99)]+_0x3eac19(0xba)+(_0x3c5666[_0x3eac19(0xc1)]!=_0x3eac19(0xaa)?_0x3eac19(0xbb):'true')+_0x3eac19(0xad)),_0x639274+=_0x3eac19(0x9a);else{if([_0x3eac19(0xc9)][_0x3eac19(0xc2)](_0x5cf20e)!=-0x1)_0x639274+=_0x3eac19(0xa1)+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+=_0x3eac19(0xbe)+_0x3c5666[_0x3eac19(0x88)]+_0x3eac19(0xbf),_0x639274+=_0x3eac19(0xb6)+_0x3c5666[_0x3eac19(0x99)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x3c5666['Null']!='YES'&&(_0x639274+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3c5666[_0x3eac19(0x99)]+_0x3eac19(0xba)+(_0x3c5666[_0x3eac19(0xc1)]!='YES'?'false':_0x3eac19(0xc3))+_0x3eac19(0xad)),_0x639274+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x5cf20e==_0x3eac19(0x93))_0x639274+=_0x3eac19(0xa1)+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+='\x20\x20\x20\x20'+_0x3c5666['Field']+_0x3eac19(0xbf),_0x3c5666['Null']!=_0x3eac19(0xaa)&&(_0x639274+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3c5666[_0x3eac19(0x99)]+_0x3eac19(0xba)+(_0x3c5666[_0x3eac19(0xc1)]!=_0x3eac19(0xaa)?_0x3eac19(0xbb):_0x3eac19(0xc3))+_0x3eac19(0xad)),_0x639274+=_0x3eac19(0x9a);else{if(_0x5cf20e==_0x3eac19(0xb9)){let _0x26cb69=(0x0,helper_1['getEnum'])(_0x3c5666[_0x3eac19(0xa0)]);_0x639274+=_0x3eac19(0xa1)+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+=_0x3eac19(0xbe)+_0x3c5666[_0x3eac19(0x88)]+':\x20[\x0a',_0x639274+=_0x3eac19(0xb6)+_0x3c5666[_0x3eac19(0x99)]+_0x3eac19(0x9d)+_0x26cb69[_0x3eac19(0xc6)](_0x3eac19(0xc7))+_0x3eac19(0xc4),_0x3c5666[_0x3eac19(0xc1)]!=_0x3eac19(0xaa)&&(_0x639274+=_0x3eac19(0xa4)+_0x3c5666['Comment']+_0x3eac19(0xba)+(_0x3c5666[_0x3eac19(0xc1)]!=_0x3eac19(0xaa)?_0x3eac19(0xbb):_0x3eac19(0xc3))+_0x3eac19(0xad)),_0x639274+=_0x3eac19(0x9a);}else[_0x3eac19(0xb2),_0x3eac19(0x85),_0x3eac19(0xb8)][_0x3eac19(0xc2)](_0x5cf20e)>-0x1?(_0x639274+='\x20\x20\x20\x20//\x20'+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+=_0x3eac19(0xbe)+_0x3c5666['Field']+':\x20[\x0a',_0x639274+=_0x3eac19(0xb6)+_0x3c5666[_0x3eac19(0x99)]+_0x3eac19(0x8d),_0x3c5666[_0x3eac19(0xc1)]!=_0x3eac19(0xaa)&&(_0x639274+=_0x3eac19(0xa4)+_0x3c5666['Comment']+_0x3eac19(0xba)+(_0x3c5666[_0x3eac19(0xc1)]!=_0x3eac19(0xaa)?_0x3eac19(0xbb):_0x3eac19(0xc3))+'\x20},\x0a'),_0x639274+=_0x3eac19(0x9a)):(_0x639274+=_0x3eac19(0xa1)+_0x3c5666[_0x3eac19(0x99)]+'\x0a',_0x639274+='\x20\x20\x20\x20'+_0x3c5666[_0x3eac19(0x88)]+':\x20[\x0a',_0x639274+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3c5666['Comment']+_0x3eac19(0xae),_0x3c5666['Null']!='YES'&&(_0x639274+=_0x3eac19(0xa4)+_0x3c5666['Comment']+'不能为空`,\x20required:\x20'+(_0x3c5666['Null']!=_0x3eac19(0xaa)?'false':_0x3eac19(0xc3))+_0x3eac19(0xad)),_0x639274+=_0x3eac19(0x9a));}}}}}return _0x639274;}function a25_0x2757(){const _0x458a1a=['writeFileSync','`,\x20type:\x20\x22date\x22\x20},\x0a','search','dirname','string','78MlvVZE','updated_at','json','getProp','623QEiKKv','1636940cCMEFa','apply','path','Comment','\x20\x20\x20\x20],\x0a\x0a','text','/vue','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','/pages/apps/','94008fnpBGJ','Type','\x20\x20\x20\x20//\x20','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','existsSync','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','8mdZFOE','mediumtext','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','deleted_at','float','YES','created_at','toString','\x20},\x0a','`,\x20type:\x20\x22string\x22\x20},\x0a','1107355xaAkLW','double','../helper','date','8687241kFapMa','displayorder','21095780XfnStS','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','timestamp','enum','不能为空`,\x20required:\x20','false','getEnum','/interface.ts','\x20\x20\x20\x20',':\x20[\x0a','3414536AvGjhY','Null','indexOf','true','\x27]\x20},\x0a','replace','join','\x27,\x20\x27','constructor','tinyint','115096kGqXnC','datetime','(((.+)+)+)+$','cwd','Field','number','longtext','%AddRuleColumn%'];a25_0x2757=function(){return _0x458a1a;};return a25_0x2757();}async function createEditRuleColumn({Fields:_0x1b40d9}){const _0x1e6345=a25_0x4c9394;let _0x3d4417='';for(let _0x371805 in _0x1b40d9){let _0x8c4a6=_0x1b40d9[_0x371805],_0x1a1a46=(0x0,helper_1[_0x1e6345(0x94)])(_0x8c4a6['Type']);if(_0x8c4a6[_0x1e6345(0x88)]=='displayorder'||_0x8c4a6[_0x1e6345(0x88)]==_0x1e6345(0xab)||_0x8c4a6[_0x1e6345(0x88)]==_0x1e6345(0x92)||_0x8c4a6[_0x1e6345(0x88)]==_0x1e6345(0xa8))continue;if([_0x1e6345(0x9b),_0x1e6345(0x8a),_0x1e6345(0xa6)]['indexOf'](_0x1a1a46)!=-0x1)_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6[_0x1e6345(0x99)]+'\x0a',_0x3d4417+='\x20\x20\x20\x20'+_0x8c4a6[_0x1e6345(0x88)]+_0x1e6345(0xbf),_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+_0x1e6345(0xba)+(_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)?_0x1e6345(0xbb):_0x1e6345(0xc3))+_0x1e6345(0xad)),_0x3d4417+=_0x1e6345(0x9a);else{if([_0x1e6345(0xa9),_0x1e6345(0xb0),'decimal',_0x1e6345(0x89)][_0x1e6345(0xc2)](_0x1a1a46)!=-0x1)_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6[_0x1e6345(0x99)]+'\x0a',_0x3d4417+=_0x1e6345(0xbe)+_0x8c4a6[_0x1e6345(0x88)]+':\x20[\x0a',_0x3d4417+=_0x1e6345(0xb6)+_0x8c4a6[_0x1e6345(0x99)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x8c4a6['Null']!=_0x1e6345(0xaa)&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+_0x1e6345(0xba)+(_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)?_0x1e6345(0xbb):_0x1e6345(0xc3))+_0x1e6345(0xad)),_0x3d4417+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x1e6345(0xc9)]['indexOf'](_0x1a1a46)!=-0x1)_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6[_0x1e6345(0x99)]+'\x0a',_0x3d4417+=_0x1e6345(0xbe)+_0x8c4a6[_0x1e6345(0x88)]+_0x1e6345(0xbf),_0x3d4417+=_0x1e6345(0xb6)+_0x8c4a6[_0x1e6345(0x99)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x8c4a6[_0x1e6345(0xc1)]!='YES'&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+_0x1e6345(0xba)+(_0x8c4a6[_0x1e6345(0xc1)]!='YES'?_0x1e6345(0xbb):'true')+_0x1e6345(0xad)),_0x3d4417+=_0x1e6345(0x9a);else{if(_0x1a1a46=='json')_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6[_0x1e6345(0x99)]+'\x0a',_0x3d4417+=_0x1e6345(0xbe)+_0x8c4a6[_0x1e6345(0x88)]+':\x20[\x0a',_0x8c4a6[_0x1e6345(0xc1)]!='YES'&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+'不能为空`,\x20required:\x20'+(_0x8c4a6['Null']!='YES'?_0x1e6345(0xbb):_0x1e6345(0xc3))+_0x1e6345(0xad)),_0x3d4417+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x1a1a46==_0x1e6345(0xb9)){let _0x22cc34=(0x0,helper_1[_0x1e6345(0xbc)])(_0x8c4a6['Type']);_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6['Comment']+'\x0a',_0x3d4417+=_0x1e6345(0xbe)+_0x8c4a6[_0x1e6345(0x88)]+_0x1e6345(0xbf),_0x3d4417+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x8c4a6['Comment']+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x22cc34[_0x1e6345(0xc6)](_0x1e6345(0xc7))+'\x27]\x20},\x0a',_0x8c4a6['Null']!=_0x1e6345(0xaa)&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+_0x1e6345(0xba)+(_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)?_0x1e6345(0xbb):_0x1e6345(0xc3))+'\x20},\x0a'),_0x3d4417+=_0x1e6345(0x9a);}else[_0x1e6345(0xb2),_0x1e6345(0x85),_0x1e6345(0xb8)][_0x1e6345(0xc2)](_0x1a1a46)>-0x1?(_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6[_0x1e6345(0x99)]+'\x0a',_0x3d4417+=_0x1e6345(0xbe)+_0x8c4a6[_0x1e6345(0x88)]+_0x1e6345(0xbf),_0x3d4417+=_0x1e6345(0xb6)+_0x8c4a6['Comment']+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+'不能为空`,\x20required:\x20'+(_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)?'false':_0x1e6345(0xc3))+'\x20},\x0a'),_0x3d4417+='\x20\x20\x20\x20],\x0a\x0a'):(_0x3d4417+=_0x1e6345(0xa1)+_0x8c4a6['Comment']+'\x0a',_0x3d4417+=_0x1e6345(0xbe)+_0x8c4a6['Field']+_0x1e6345(0xbf),_0x3d4417+=_0x1e6345(0xb6)+_0x8c4a6[_0x1e6345(0x99)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x8c4a6[_0x1e6345(0xc1)]!=_0x1e6345(0xaa)&&(_0x3d4417+=_0x1e6345(0xa4)+_0x8c4a6[_0x1e6345(0x99)]+_0x1e6345(0xba)+(_0x8c4a6[_0x1e6345(0xc1)]!='YES'?_0x1e6345(0xbb):'true')+_0x1e6345(0xad)),_0x3d4417+=_0x1e6345(0x9a));}}}}}return _0x3d4417;}
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a26_0x98efa7=a26_0x3822;(function(_0x45ff44,_0x25da3e){var _0x296e2f=a26_0x3822,_0xc555c4=_0x45ff44();while(!![]){try{var _0x56e401=-parseInt(_0x296e2f(0x12e))/0x1*(-parseInt(_0x296e2f(0x12c))/0x2)+parseInt(_0x296e2f(0x133))/0x3+-parseInt(_0x296e2f(0x136))/0x4*(-parseInt(_0x296e2f(0x134))/0x5)+parseInt(_0x296e2f(0x12a))/0x6*(-parseInt(_0x296e2f(0x12b))/0x7)+-parseInt(_0x296e2f(0x131))/0x8+parseInt(_0x296e2f(0x129))/0x9*(-parseInt(_0x296e2f(0x135))/0xa)+parseInt(_0x296e2f(0x12f))/0xb;if(_0x56e401===_0x25da3e)break;else _0xc555c4['push'](_0xc555c4['shift']());}catch(_0x4c6933){_0xc555c4['push'](_0xc555c4['shift']());}}}(a26_0x3124,0x510d6));var a26_0x4b6274=(function(){var _0x4ffeef=!![];return function(_0x5372f4,_0x58d0a5){var _0xeef72e=_0x4ffeef?function(){if(_0x58d0a5){var _0x1db1d3=_0x58d0a5['apply'](_0x5372f4,arguments);return _0x58d0a5=null,_0x1db1d3;}}:function(){};return _0x4ffeef=![],_0xeef72e;};}()),a26_0x52418d=a26_0x4b6274(this,function(){var _0x12be47=a26_0x3822;return a26_0x52418d[_0x12be47(0x132)]()[_0x12be47(0x128)](_0x12be47(0x12d))[_0x12be47(0x132)]()['constructor'](a26_0x52418d)[_0x12be47(0x128)](_0x12be47(0x12d));});a26_0x52418d();'use strict';function a26_0x3124(){var _0x5413fc=['4781183gJwNsI','__esModule','4750928EfjwdN','toString','694281dBAJOv','249680YtFjKI','30630MyqZZZ','40RUMOBT','search','1161ShwYlQ','492xoMKiT','17213YhRsok','3418ctdYxl','(((.+)+)+)+$','209hbXflv'];a26_0x3124=function(){return _0x5413fc;};return a26_0x3124();}function a26_0x3822(_0x71a88b,_0x45e787){var _0x3dd9a3=a26_0x3124();return a26_0x3822=function(_0x52418d,_0x4b6274){_0x52418d=_0x52418d-0x128;var _0x312495=_0x3dd9a3[_0x52418d];return _0x312495;},a26_0x3822(_0x71a88b,_0x45e787);}Object['defineProperty'](exports,a26_0x98efa7(0x130),{'value':!![]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anncic-apihelper",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.4",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@anncic-api/typeorm": "^3.7.
|
|
18
|
+
"@anncic-api/typeorm": "^3.7.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "20.10.0",
|
|
22
22
|
"javascript-obfuscator": "^4.0.2",
|
|
23
23
|
"typescript": "^5.5.4"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "d30ac0ec86b6e84d976377804ade361ce8ba63d5"
|
|
26
26
|
}
|