anncic-apihelper 3.4.80 → 3.4.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const a18_0x1e4182=a18_0x3ab1;(function(_0x3fd37,_0x5e1560){const _0x4e39f8=a18_0x3ab1,_0x4b75e6=_0x3fd37();while(!![]){try{const _0x9c6b43=parseInt(_0x4e39f8(0x12d))/0x1*(parseInt(_0x4e39f8(0x167))/0x2)+parseInt(_0x4e39f8(0x117))/0x3+-parseInt(_0x4e39f8(0x12a))/0x4+parseInt(_0x4e39f8(0x1a8))/0x5+parseInt(_0x4e39f8(0x154))/0x6+parseInt(_0x4e39f8(0x134))/0x7*(-parseInt(_0x4e39f8(0x173))/0x8)+-parseInt(_0x4e39f8(0x121))/0x9;if(_0x9c6b43===_0x5e1560)break;else _0x4b75e6['push'](_0x4b75e6['shift']());}catch(_0x14afd7){_0x4b75e6['push'](_0x4b75e6['shift']());}}}(a18_0x1982,0x7f122));const a18_0x54e273=(function(){let _0x227fa0=!![];return function(_0x24bffc,_0xd0dfd2){const _0x5ef89=_0x227fa0?function(){const _0x29f034=a18_0x3ab1;if(_0xd0dfd2){const _0x32385f=_0xd0dfd2[_0x29f034(0x128)](_0x24bffc,arguments);return _0xd0dfd2=null,_0x32385f;}}:function(){};return _0x227fa0=![],_0x5ef89;};}()),a18_0x3e31f6=a18_0x54e273(this,function(){const _0x59786e=a18_0x3ab1;return a18_0x3e31f6[_0x59786e(0x158)]()[_0x59786e(0x161)](_0x59786e(0x166))['toString']()['constructor'](a18_0x3e31f6)[_0x59786e(0x161)]('(((.+)+)+)+$');});function a18_0x1982(){const _0x4e6898=['apps/','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','_start\x22\x20placeholder=\x22选择','`)\x22>\x0a','<el-input\x20v-model=\x22props.search.','img','Edit','../helper','utf-8','Edit(item.','/pages/','<el-input-number\x20v-model=\x22formdata.','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','mkdirSync','\x20\x20\x20\x20}\x20else\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','thumbs','getProp','Comment','</a>','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','\x20as\x20unknown\x20as\x20','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','import\x20{\x20','cwd','\x22\x20placeholder=\x22请选择','/list/components/search.vue','__esModule','tags','_id','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','2099898QrkkYk','\x22\x20/>','<el-input\x20v-model=\x22formdata.','List,\x20','Remove,\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','Detail\x20}\x20from\x20\x27@/apis/','<a\x20:href=\x22scope.row.','\x22\x20prop=\x22','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','9376974FUuqDg','<el-date-picker\x20v-model=\x22formdata.','}\x0a\x0a','\x22\x20placeholder=\x22请输入','\x20\x20\x20\x20','text','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','apply','Field','2323236FVlolT','//\x20保存数据\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','234488zmCrkR','\x20\x20\x20\x20if\x20(','</el-select>','\x20\x20\x20\x20\x20\x20\x20\x20\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\x20clearable/>','<el-select\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','7aZyhef','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','indexOf','<el-select\x20v-model=\x22props.search.','\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','}\x0a\x0a\x0a','\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\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:\x20200,\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','timestamp','\x20label=\x22','<attachment-image\x20v-model=\x22formdata.','item.','endsWith','\x20\x20\x20\x20\x20\x20\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','</template>\x0a','Add','displayorder','/index.vue','<el-table-column\x20prop=','</el-form-item>','num','datetime','tag','\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','substring','Edit,\x20','}`)\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@/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','_end\x22\x20placeholder=\x22选择','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','5268600WxSIDR','<elplus-select-tags\x20v-model=\x22formdata.','\x27;\x0a\x0a','/add`)\x22\x20@click=\x22$router.push(`add`)\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','toString','getEnum','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','dirname','Edit\x20}\x20from\x20\x27@/apis/','const\x20handlerSave\x20=\x20()=>{\x0a','/vue','padEnd','_ids','search','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','=${scope.row.','defineProperty','<el-option\x20label=\x22','(((.+)+)+)+$','2dDnlox','date','List(Object.assign(table.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','<template>\x0a','substr','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','module=\x22','mediumtext','\x22\x20placeholder=\x22请输入或选择','const\x20getDetail\x20=\x20(','3044120IUJOst','updated_at','Remove({\x20','</el-popover>','</template>','\x22\x20class=\x22block\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','deleted_at','\x22\x20style=\x22cursor:pointer\x22/>','\x22\x20placeholder=\x22选择','logo','\x22\x20value=\x22','<el-date-picker\x20v-model=\x22props.search.','/edit/:','<img\x20:src=\x22scope.row.','<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@/','/list/index.vue','<el-input-number\x20v-model=\x22props.search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getDetail(route?.query?.',').then(res\x20=>\x20{\x0a','/pages/apps/','\x22\x20clearable>','thumb','\x22\x20\x20placeholder=\x22请输入','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','enum','existsSync','longtext','edit','\x22\x20split=\x22-\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','imgs','add','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/','length','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','writeFileSync','<el-avatar\x20:src=\x22scope.row.',',\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>','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<template>\x0a\x20\x20\x20\x20','number','<el-form-item\x20label=\x22','/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</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0aimport\x20{\x20','default','</el-table-column>','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','<elplus-select-search\x20v-model=\x22formdata.','<tinymce-editor\x20v-model=\x22formdata.','edit/:','3555690JltGJe','<elplus-select-search\x20v-model=\x22props.search.',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','Type','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','created_at','string','\x20\x20\x20\x20</page-main>\x0a','\x20/>','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>'];a18_0x1982=function(){return _0x4e6898;};return a18_0x1982();}a18_0x3e31f6();'use strict';Object[a18_0x1e4182(0x164)](exports,a18_0x1e4182(0x111),{'value':!![]}),exports[a18_0x1e4182(0x1a2)]=default_1;const fs=require('fs'),path_1=require('path'),helper_1=require(a18_0x1e4182(0xfc));async function default_1({moduleName:_0x397dc6,controller:_0x18fda2,tablestartUpShort:_0x468d88,tablestartUpShort2:_0x40c0d4,Primary:_0x4e5811,Fields:_0x2c8ed9,apporbasic:_0x156e9c,Comment:_0x2d1621}){const _0x355399=a18_0x1e4182;await createIndex({'moduleName':_0x397dc6,'controller':_0x18fda2,'tablestartUpShort':_0x468d88,'tablestartUpShort2':_0x40c0d4,'Primary':_0x4e5811,'Fields':_0x2c8ed9,'apporbasic':_0x156e9c}),await createSearch({'moduleName':_0x397dc6,'controller':_0x18fda2,'tablestartUpShort2':_0x40c0d4,'Primary':_0x4e5811,'Fields':_0x2c8ed9,'apporbasic':_0x156e9c}),await createAddOrEdit({'moduleName':_0x397dc6,'controller':_0x18fda2,'tablestartUpShort':_0x468d88,'tablestartUpShort2':_0x40c0d4,'Primary':_0x4e5811,'Fields':_0x2c8ed9,'apporbasic':_0x156e9c,'Comment':_0x2d1621},_0x355399(0x195)),await createAddOrEdit({'moduleName':_0x397dc6,'controller':_0x18fda2,'tablestartUpShort':_0x468d88,'tablestartUpShort2':_0x40c0d4,'Primary':_0x4e5811,'Fields':_0x2c8ed9,'apporbasic':_0x156e9c,'Comment':_0x2d1621},_0x355399(0x190));}async function createIndex({moduleName:_0x3ace8c,controller:_0x156857,tablestartUpShort:_0x59e8fb,tablestartUpShort2:_0x3c15ff,Primary:_0xa43c3d,Fields:_0x360916,apporbasic:_0xeb76c6}){const _0x13acbc=a18_0x1e4182;let _0x302b77=process['cwd']()+'/vue'+(typeof _0x156857=='string'?'/'+_0x156857:'');_0x3ace8c?_0x302b77=_0x302b77+(_0x13acbc(0x188)+_0x3ace8c+'/'+_0x3c15ff+_0x13acbc(0x183)):_0x302b77=_0x302b77+(_0x13acbc(0xff)+_0xeb76c6+'/'+_0x3c15ff+_0x13acbc(0x183));if(!fs[_0x13acbc(0x18e)](_0x302b77)){let _0x37900f=_0x13acbc(0x148)+('\x22'+_0xa43c3d[_0x13acbc(0x129)]+'\x22')['padEnd'](0x14)+('\x20label=\x22'+(_0xa43c3d[_0x13acbc(0x108)]||'编号')+_0x13acbc(0x102));for(let _0x282016 in _0x360916){const _0x39eeea=_0x360916[_0x282016];if(['created_at',_0x13acbc(0x174),'deleted_at',_0x13acbc(0x146)][_0x13acbc(0x136)](_0x282016)!=-0x1)continue;if(_0x282016['substring'](_0x282016[_0x13acbc(0x197)]-0x3)==_0x13acbc(0xfa)||_0x282016[_0x13acbc(0x14e)](_0x282016[_0x13acbc(0x197)]-0x5)==_0x13acbc(0x18a)||_0x282016==_0x13acbc(0x18a)||_0x282016[_0x13acbc(0x14e)](_0x282016['length']-0x4)=='logo'||_0x282016==_0x13acbc(0x17d))_0x37900f+='\x0a'+_0x13acbc(0x179)+_0x13acbc(0x148)+('\x22'+_0x282016+'\x22')[_0x13acbc(0x15f)](0x14)+(_0x13acbc(0x13e)+(_0x39eeea[_0x13acbc(0x108)]||_0x39eeea['Field'])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x37900f+='\x0a'+_0x13acbc(0x185)+'<template\x20#default=\x22scope\x22>',_0x37900f+='\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'+_0x13acbc(0x120),_0x37900f+='\x0a'+_0x13acbc(0x142)+(_0x13acbc(0x11e)+_0x282016+_0x13acbc(0x10c)),_0x37900f+='\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'+(_0x13acbc(0x181)+_0x282016+_0x13acbc(0xf4)),_0x37900f+='\x0a'+_0x13acbc(0x142)+_0x13acbc(0x109),_0x37900f+='\x0a'+_0x13acbc(0x142)+'<template\x20#reference>',_0x37900f+='\x0a'+_0x13acbc(0x130)+(_0x13acbc(0x19a)+_0x282016+_0x13acbc(0x17b)),_0x37900f+='\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'+_0x13acbc(0x177),_0x37900f+='\x0a'+_0x13acbc(0x1ac)+_0x13acbc(0x176),_0x37900f+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x13acbc(0x177),_0x37900f+='\x0a'+_0x13acbc(0x179)+_0x13acbc(0x1a3);else[_0x13acbc(0x126)]['indexOf']((0x0,helper_1[_0x13acbc(0x107)])(_0x39eeea[_0x13acbc(0x1ab)]))==-0x1&&(_0x37900f+='\x0a'+_0x13acbc(0x179)+_0x13acbc(0x148)+('\x22'+_0x282016+'\x22')['padEnd'](0x14)+(_0x13acbc(0x13e)+(_0x39eeea[_0x13acbc(0x108)]||_0x39eeea[_0x13acbc(0x129)])+_0x13acbc(0x12c)));}const _0x2b3457=''+(typeof _0x156857=='string'?_0x156857+'/':'')+(_0x3ace8c?_0x3ace8c+'/':'')+_0x3c15ff;fs['mkdirSync']((0x0,path_1[_0x13acbc(0x15b)])(_0x302b77),{'recursive':!![]}),fs['writeFileSync'](_0x302b77,_0x13acbc(0x182)+_0x2b3457+_0x13acbc(0x157)+_0x37900f+_0x13acbc(0x196)+_0x2b3457+_0x13acbc(0x180)+_0xa43c3d[_0x13acbc(0x129)]+'`)\x22\x20@click=\x22$router.push(`edit?'+_0xa43c3d[_0x13acbc(0x129)]+_0x13acbc(0x163)+_0xa43c3d[_0x13acbc(0x129)]+_0x13acbc(0x150)+_0x2b3457+_0x13acbc(0x1a1)+_0x59e8fb+_0x13acbc(0x11a)+_0x59e8fb+_0x13acbc(0x11b)+_0x59e8fb+_0x13acbc(0x15c)+(_0x3ace8c?_0x13acbc(0xf5)+_0x3ace8c:''+_0xeb76c6)+'/'+_0x59e8fb+_0x13acbc(0x13c)+_0x59e8fb+_0x13acbc(0x169)+_0x59e8fb+_0x13acbc(0x175)+_0xa43c3d[_0x13acbc(0x129)]+':\x20item.'+_0xa43c3d['Field']+'\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.'+_0xa43c3d[_0x13acbc(0x129)]+_0x13acbc(0x1aa)+_0x59e8fb+_0x13acbc(0xfe)+_0xa43c3d[_0x13acbc(0x129)]+_0x13acbc(0x19b),_0x13acbc(0xfd));}}async function createSearch({moduleName:_0x181ffd,tablestartUpShort2:_0x2a7319,controller:_0x18bffd,Primary:_0x110248,Fields:_0x24e0d8,apporbasic:_0x1d01c2}){const _0x4703ed=a18_0x1e4182;let _0x3cb4bc=process[_0x4703ed(0x10e)]()+_0x4703ed(0x15e)+(typeof _0x18bffd==_0x4703ed(0xf1)?'/'+_0x18bffd:'');_0x181ffd?_0x3cb4bc=_0x3cb4bc+(_0x4703ed(0x188)+_0x181ffd+'/'+_0x2a7319+_0x4703ed(0x110)):_0x3cb4bc=_0x3cb4bc+(_0x4703ed(0xff)+_0x1d01c2+'/'+_0x2a7319+_0x4703ed(0x110));if(!fs['existsSync'](_0x3cb4bc)){let _0x184c07='';_0x184c07+='\x0a'+_0x4703ed(0x125)+('<el-form-item\x20label=\x22'+(_0x110248[_0x4703ed(0x108)]||'编号')+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0xf9)+_0x110248[_0x4703ed(0x129)]+_0x4703ed(0x124)+(_0x110248[_0x4703ed(0x108)]||'编号')+_0x4703ed(0x131)),_0x184c07+='\x0a'+_0x4703ed(0x125)+'</el-form-item>';for(let _0x4f1b91 in _0x24e0d8){const _0x4e53d1=_0x24e0d8[_0x4f1b91];if([_0x4703ed(0x174),_0x4703ed(0x17a),_0x4703ed(0x146)][_0x4703ed(0x136)](_0x4f1b91)!=-0x1)continue;if(_0x4f1b91[_0x4703ed(0x14e)](_0x4f1b91[_0x4703ed(0x197)]-0x3)==_0x4703ed(0xfa)||_0x4f1b91[_0x4703ed(0x14e)](_0x4f1b91[_0x4703ed(0x197)]-0x5)==_0x4703ed(0x18a)||_0x4f1b91=='thumb'||_0x4f1b91['substring'](_0x4f1b91['length']-0x4)=='logo'||_0x4f1b91==_0x4703ed(0x17d))continue;if(_0x4f1b91[_0x4703ed(0x14e)](_0x4f1b91[_0x4703ed(0x197)]-0x3)==_0x4703ed(0x14a))_0x184c07+='\x0a'+'\x20\x20\x20\x20'+(_0x4703ed(0x1a0)+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1['Field'])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0x184)+_0x4f1b91+_0x4703ed(0x124)+_0x4e53d1[_0x4703ed(0x108)]+_0x4703ed(0x10a)),_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a';else{if(_0x4f1b91[_0x4703ed(0x141)](_0x4703ed(0x113))){let _0x390530=''+(typeof _0x18bffd==_0x4703ed(0xf1)?_0x18bffd+'/':'')+(_0x181ffd?_0x181ffd+'/':'')+_0x2a7319;_0x184c07+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4703ed(0x1a0)+(_0x4e53d1['Comment']||_0x4e53d1[_0x4703ed(0x129)])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x16d)+(_0x4703ed(0x1a9)+_0x4f1b91+'\x22\x20api=\x22'+_0x390530+_0x4703ed(0x193)),_0x184c07+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4703ed(0x149)+'\x0a';}else switch((0x0,helper_1[_0x4703ed(0x107)])(_0x4e53d1[_0x4703ed(0x1ab)])){case _0x4703ed(0x18d):_0x184c07+='\x0a'+_0x4703ed(0x125)+(_0x4703ed(0x1a0)+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1[_0x4703ed(0x129)])+'\x22>'),_0x184c07+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4703ed(0x137)+_0x4f1b91+_0x4703ed(0x10f)+_0x4e53d1['Comment']+_0x4703ed(0x189));for(let _0x4e9ca1 of(0x0,helper_1[_0x4703ed(0x159)])(_0x4e53d1['Type'])){_0x184c07+='\x0a'+_0x4703ed(0x16d)+(_0x4703ed(0x165)+_0x4e9ca1+'\x22\x20value=\x22'+_0x4e9ca1+_0x4703ed(0x118));}_0x184c07+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-select>',_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a';break;case _0x4703ed(0x168):_0x184c07+='\x0a'+_0x4703ed(0x125)+(_0x4703ed(0x1a0)+(_0x4e53d1['Comment']||_0x4e53d1[_0x4703ed(0x129)])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0x17f)+_0x4f1b91+_0x4703ed(0xf7)+_0x4e53d1[_0x4703ed(0x108)]+_0x4703ed(0x19c)),_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a',_0x184c07+='\x0a'+_0x4703ed(0x125)+(_0x4703ed(0x1a0)+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1['Field'])+'\x22>'),_0x184c07+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4703ed(0x17f)+_0x4f1b91+_0x4703ed(0x152)+_0x4e53d1[_0x4703ed(0x108)]+_0x4703ed(0x198)),_0x184c07+='\x0a'+_0x4703ed(0x125)+'</el-form-item>'+'\x0a';break;case _0x4703ed(0x14b):_0x184c07+='\x0a'+_0x4703ed(0x125)+('<el-form-item\x20label=\x22'+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1['Field'])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0x17f)+_0x4f1b91+'_start\x22\x20placeholder=\x22选择'+_0x4e53d1[_0x4703ed(0x108)]+_0x4703ed(0x114)),_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a',_0x184c07+='\x0a'+_0x4703ed(0x125)+(_0x4703ed(0x1a0)+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1['Field'])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0x17f)+_0x4f1b91+_0x4703ed(0x152)+_0x4e53d1[_0x4703ed(0x108)]+_0x4703ed(0x16e)),_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a';break;case _0x4703ed(0x13d):_0x184c07+='\x0a'+'\x20\x20\x20\x20'+(_0x4703ed(0x1a0)+(_0x4e53d1['Comment']||_0x4e53d1[_0x4703ed(0x129)])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0x17f)+_0x4f1b91+_0x4703ed(0xf7)+_0x4e53d1[_0x4703ed(0x108)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a',_0x184c07+='\x0a'+_0x4703ed(0x125)+(_0x4703ed(0x1a0)+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1[_0x4703ed(0x129)])+'\x22>'),_0x184c07+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4703ed(0x17f)+_0x4f1b91+_0x4703ed(0x152)+_0x4e53d1[_0x4703ed(0x108)]+_0x4703ed(0x16e)),_0x184c07+='\x0a'+_0x4703ed(0x125)+_0x4703ed(0x149)+'\x0a';break;case _0x4703ed(0xf1):_0x184c07+='\x0a'+_0x4703ed(0x125)+('<el-form-item\x20label=\x22'+(_0x4e53d1[_0x4703ed(0x108)]||_0x4e53d1[_0x4703ed(0x129)])+'\x22>'),_0x184c07+='\x0a'+_0x4703ed(0x138)+(_0x4703ed(0xf9)+_0x4f1b91+'\x22\x20placeholder=\x22请输入'+_0x4e53d1['Comment']+_0x4703ed(0x131)),_0x184c07+='\x0a'+'\x20\x20\x20\x20'+_0x4703ed(0x149)+'\x0a';}}}fs[_0x4703ed(0x103)]((0x0,path_1[_0x4703ed(0x15b)])(_0x3cb4bc),{'recursive':!![]}),fs[_0x4703ed(0x199)](_0x3cb4bc,_0x4703ed(0x19e)+_0x184c07+'\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>',_0x4703ed(0xfd));}}function a18_0x3ab1(_0x2d30b2,_0x2e5fad){const _0x10fcb=a18_0x1982();return a18_0x3ab1=function(_0x3e31f6,_0x54e273){_0x3e31f6=_0x3e31f6-0xf1;let _0x19820e=_0x10fcb[_0x3e31f6];return _0x19820e;},a18_0x3ab1(_0x2d30b2,_0x2e5fad);}async function createAddOrEdit({moduleName:_0x135f4b,controller:_0xcb308a,tablestartUpShort:_0x21db42,tablestartUpShort2:_0x13c48e,Primary:_0x1183d5,Fields:_0x55fc64,apporbasic:_0x500da7,Comment:_0x5da82d},_0x417ad9=a18_0x1e4182(0x195)){const _0x13000f=a18_0x1e4182;let _0x9208d=process[_0x13000f(0x10e)]()+_0x13000f(0x15e)+(typeof _0xcb308a==_0x13000f(0xf1)?'/'+_0xcb308a:'');_0x135f4b?_0x9208d=_0x9208d+(_0x13000f(0x188)+_0x135f4b+'/'+_0x13c48e+'/'+_0x417ad9+'/index.vue'):_0x9208d=_0x9208d+('/pages/'+_0x500da7+'/'+_0x13c48e+'/'+_0x417ad9+_0x13000f(0x147));if(!fs['existsSync'](_0x9208d)){const _0x1f8057=['text','mediumtext','string'][_0x13000f(0x136)]((0x0,helper_1['getProp'])(_0x1183d5[_0x13000f(0x1ab)]))==-0x1,_0x1acf35=''+(typeof _0xcb308a==_0x13000f(0xf1)?_0xcb308a+'/':'')+(_0x135f4b?_0x135f4b+'/':'')+_0x13c48e;let _0xd85fef='';for(let _0x361469 in _0x55fc64){const _0xefcccd=_0x55fc64[_0x361469];if([_0x13000f(0x1ad),_0x13000f(0x174),_0x13000f(0x17a),_0x13000f(0x146)]['indexOf'](_0x361469)!=-0x1)continue;if(_0x361469[_0x13000f(0x14e)](_0x361469[_0x13000f(0x197)]-0x4)==_0x13000f(0x194)||_0x361469[_0x13000f(0x14e)](_0x361469[_0x13000f(0x197)]-0x6)==_0x13000f(0x106))_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd['Field'])+_0x13000f(0x11f)+_0x361469+_0x13000f(0x178)),_0xd85fef+='\x0a'+_0x13000f(0x179)+('<attachment-image\x20v-model=\x22formdata.'+_0x361469+'\x22\x20:limit=\x225\x22\x20'+(_0x135f4b?'module=\x22'+_0x135f4b+'\x22':'')+_0x13000f(0xf3)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+'</el-form-item>'+'\x0a';else{if(_0x361469['substring'](_0x361469[_0x13000f(0x197)]-0x3)==_0x13000f(0xfa)||_0x361469[_0x13000f(0x14e)](_0x361469[_0x13000f(0x197)]-0x5)==_0x13000f(0x18a)||_0x361469=='thumb'||_0x361469['substring'](_0x361469[_0x13000f(0x197)]-0x4)==_0x13000f(0x17d)||_0x361469==_0x13000f(0x17d))_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+_0x13000f(0x178)),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x13000f(0x13f)+_0x361469+'\x22\x20:limit=\x221\x22\x20'+(_0x135f4b?_0x13000f(0x16f)+_0x135f4b+'\x22':'')+'/>'),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';else{if(_0x361469[_0x13000f(0x14e)](_0x361469[_0x13000f(0x197)]-0x4)==_0x13000f(0x112)||_0x361469['substring'](_0x361469[_0x13000f(0x197)]-0x3)==_0x13000f(0x14c))_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd['Field'])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x155)+_0x361469+_0x13000f(0x171)+_0xefcccd['Comment']+_0x13000f(0x191)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';else{if(_0x361469[_0x13000f(0x16b)](-0x3)==_0x13000f(0x14a))_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+'\x22\x20prop=\x22'+_0x361469+'\x22>'),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input-number\x20v-model=\x22formdata.'+_0x361469+'\x22\x20placeholder=\x22请输入'+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x13a)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';else{if(_0x361469[_0x13000f(0x16b)](-0x4)==_0x13000f(0x160))_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd['Comment']||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x119)+_0x361469+_0x13000f(0x124)+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x131)),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x13000f(0x149)+'\x0a';else{if(_0x361469[_0x13000f(0x16b)](-0x3)=='_id'){let _0x2fd6ad=''+(typeof _0xcb308a==_0x13000f(0xf1)?_0xcb308a+'/':'')+(_0x135f4b?_0x135f4b+'/':'')+_0x13c48e;_0xd85fef+='\x0a'+_0x13000f(0x16d)+('<el-form-item\x20label=\x22'+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x1a5)+_0x361469+'\x22\x20api=\x22'+_0x2fd6ad+_0x13000f(0x193)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';}else switch((0x0,helper_1[_0x13000f(0x107)])(_0xefcccd[_0x13000f(0x1ab)])){case'number':_0xd85fef+='\x0a'+_0x13000f(0x16d)+('<el-form-item\x20label=\x22'+(_0xefcccd['Comment']||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x100)+_0x361469+_0x13000f(0x124)+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x13a)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';break;case _0x13000f(0x18d):_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+'\x22\x20prop=\x22'+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x132)+_0x361469+'\x22\x20placeholder=\x22请选择'+_0xefcccd[_0x13000f(0x108)]+'\x22\x20clearable>');for(let _0x16561f of(0x0,helper_1[_0x13000f(0x159)])(_0xefcccd['Type'])){_0xd85fef+='\x0a'+_0x13000f(0x185)+(_0x13000f(0x165)+_0x16561f+_0x13000f(0x17e)+_0x16561f+'\x22\x20/>');}_0xd85fef+='\x0a'+_0x13000f(0x179)+_0x13000f(0x12f),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';break;case'text':_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x13000f(0x1a0)+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+_0x13000f(0x178)),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x119)+_0x361469+_0x13000f(0x18b)+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x101)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';break;case _0x13000f(0x18f):_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x13000f(0x1a0)+(_0xefcccd['Comment']||_0xefcccd['Field'])+_0x13000f(0x11f)+_0x361469+_0x13000f(0x178)),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x1a6)+_0x361469+'\x22\x20'+(_0x135f4b?_0x13000f(0x16f)+_0x135f4b+'\x22':'')+'/>'),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';break;case _0x13000f(0x170):_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd['Comment']||_0xefcccd[_0x13000f(0x129)])+'\x22\x20prop=\x22'+_0x361469+_0x13000f(0x178)),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x13000f(0x1a6)+_0x361469+'\x22\x20'+(_0x135f4b?'module=\x22'+_0x135f4b+'\x22':'')+'/>'),_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';break;case _0x13000f(0x168):_0xd85fef+='\x0a'+_0x13000f(0x16d)+('<el-form-item\x20label=\x22'+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+('<el-date-picker\x20v-model=\x22formdata.'+_0x361469+_0x13000f(0x17c)+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x19d)),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x13000f(0x14b):_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd['Comment']||_0xefcccd['Field'])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x13000f(0x122)+_0x361469+'\x22\x20placeholder=\x22选择'+_0xefcccd[_0x13000f(0x108)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0xd85fef+='\x0a'+_0x13000f(0x16d)+'</el-form-item>'+'\x0a';break;case _0x13000f(0x13d):_0xd85fef+='\x0a'+_0x13000f(0x16d)+('<el-form-item\x20label=\x22'+(_0xefcccd[_0x13000f(0x108)]||_0xefcccd[_0x13000f(0x129)])+'\x22\x20prop=\x22'+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+(_0x13000f(0x122)+_0x361469+_0x13000f(0x17c)+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x1a4)),_0xd85fef+='\x0a'+_0x13000f(0x16d)+'</el-form-item>'+'\x0a';break;default:_0xd85fef+='\x0a'+_0x13000f(0x16d)+(_0x13000f(0x1a0)+(_0xefcccd['Comment']||_0xefcccd[_0x13000f(0x129)])+_0x13000f(0x11f)+_0x361469+'\x22>'),_0xd85fef+='\x0a'+_0x13000f(0x179)+('<el-input\x20v-model=\x22formdata.'+_0x361469+_0x13000f(0x124)+_0xefcccd[_0x13000f(0x108)]+_0x13000f(0x131)),_0xd85fef+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x13000f(0x149)+'\x0a';}}}}}}}_0xd85fef+='\x0a'+_0x13000f(0x16d)+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0xd85fef+='\x0a'+_0x13000f(0x179)+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0xd85fef+='\x0a'+_0x13000f(0x16d)+_0x13000f(0x149)+'\x0a';let _0x3951f6=_0x13000f(0x16a);_0x3951f6+='\x20\x20\x20\x20<page-main>\x0a',_0x3951f6+=_0x13000f(0x127)+(_0x417ad9=='add'?'添加'+_0x5da82d:'编辑'+_0x5da82d)+_0x13000f(0xf6)+_0x21db42+(_0x417ad9==_0x13000f(0x195)?'Add':'Edit')+_0x13000f(0x162)+_0x1acf35+'/'+(_0x417ad9=='add'?'add':_0x13000f(0x1a7)+_0x1183d5['Field'])+_0x13000f(0xf8),_0x3951f6+=_0x13000f(0x16d)+_0xd85fef+'\x0a\x0a',_0x3951f6+=_0x13000f(0x16c),_0x3951f6+=_0x13000f(0x116)+_0x1acf35+'/'+(_0x417ad9==_0x13000f(0x195)?_0x13000f(0x195):'edit/:'+_0x1183d5['Field'])+_0x13000f(0x18c),_0x3951f6+=_0x13000f(0x11c),_0x3951f6+=_0x13000f(0x139),_0x3951f6+=_0x13000f(0xf2),_0x3951f6+=_0x13000f(0x144),_0x3951f6+='<script\x20lang=\x22ts\x22\x20setup>\x0a';if(_0x417ad9==_0x13000f(0x195))_0x3951f6+='import\x20{\x20'+_0x21db42+_0x13000f(0x153),_0x3951f6+='import\x20{\x20'+_0x21db42+'Add\x20}\x20from\x20\x27@/apis/'+(_0x135f4b?_0x13000f(0xf5)+_0x135f4b:''+_0x500da7)+'/'+_0x21db42+'\x27;\x0a\x0a';else _0x417ad9==_0x13000f(0x190)&&(_0x3951f6+=_0x13000f(0x10d)+_0x21db42+'EditRule\x20}\x20from\x20\x27../interface\x27;\x0a',_0x3951f6+=_0x13000f(0x10d)+_0x21db42+_0x13000f(0x14f)+_0x21db42+_0x13000f(0x11d)+(_0x135f4b?_0x13000f(0xf5)+_0x135f4b:''+_0x500da7)+'/'+_0x21db42+_0x13000f(0x156));_0x3951f6+='const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a';if(_0x417ad9=='add')_0x3951f6+=_0x13000f(0x115);else _0x417ad9==_0x13000f(0x190)&&(_0x3951f6+=_0x13000f(0x15a));_0x3951f6+=_0x13000f(0x12b),_0x3951f6+=_0x13000f(0x15d),_0x3951f6+='\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a',_0x3951f6+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x21db42+(_0x417ad9=='add'?_0x13000f(0x145):_0x13000f(0xfb))+'('+(_0x417ad9==_0x13000f(0x190)?_0x13000f(0x140)+_0x1183d5['Field']+',\x20':'')+'item).then(res=>{\x0a',_0x3951f6+='\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',_0x3951f6+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x3951f6+=_0x13000f(0x151),_0x3951f6+=_0x13000f(0x192),_0x3951f6+='\x20\x20\x20\x20})\x0a',_0x3951f6+=_0x13000f(0x123),_0x417ad9==_0x13000f(0x190)&&(_0x3951f6+='//\x20获取详情\x0a',_0x3951f6+=_0x13000f(0x172)+_0x1183d5[_0x13000f(0x129)]+':\x20'+(_0x1f8057?_0x13000f(0x19f):'string')+_0x13000f(0x143),_0x3951f6+=_0x13000f(0x12e)+_0x1183d5[_0x13000f(0x129)]+')\x20{\x0a',_0x3951f6+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a',_0x3951f6+=_0x13000f(0x138)+_0x21db42+'Detail('+_0x1183d5[_0x13000f(0x129)]+_0x13000f(0x187),_0x3951f6+=_0x13000f(0x133),_0x3951f6+=_0x13000f(0x135),_0x3951f6+=_0x13000f(0x14d),_0x3951f6+=_0x13000f(0x192),_0x3951f6+=_0x13000f(0x104),_0x3951f6+=_0x13000f(0x105),_0x3951f6+='\x20\x20\x20\x20}\x0a',_0x3951f6+=_0x13000f(0x13b),_0x3951f6+=_0x13000f(0x186)+_0x1183d5['Field']+_0x13000f(0x10b)+(_0x1f8057?'number':_0x13000f(0xf1))+')\x0a'),_0x3951f6+='</script>\x0a',fs[_0x13000f(0x103)]((0x0,path_1[_0x13000f(0x15b)])(_0x9208d),{'recursive':!![]}),fs[_0x13000f(0x199)](_0x9208d,_0x3951f6,_0x13000f(0xfd));}}
1
+ const a18_0x43029e=a18_0x8e68;(function(_0x4ab493,_0x4dac80){const _0x32e1ba=a18_0x8e68,_0x2bb198=_0x4ab493();while(!![]){try{const _0x71d3dd=parseInt(_0x32e1ba(0x169))/0x1*(parseInt(_0x32e1ba(0x1b7))/0x2)+-parseInt(_0x32e1ba(0x129))/0x3+-parseInt(_0x32e1ba(0x158))/0x4*(parseInt(_0x32e1ba(0x180))/0x5)+parseInt(_0x32e1ba(0x1c6))/0x6+-parseInt(_0x32e1ba(0x161))/0x7*(-parseInt(_0x32e1ba(0x1c1))/0x8)+-parseInt(_0x32e1ba(0x1b1))/0x9+parseInt(_0x32e1ba(0x191))/0xa;if(_0x71d3dd===_0x4dac80)break;else _0x2bb198['push'](_0x2bb198['shift']());}catch(_0x4c532c){_0x2bb198['push'](_0x2bb198['shift']());}}}(a18_0x89f3,0xc84c2));const a18_0x47aedf=(function(){let _0x51fe12=!![];return function(_0x1d3f2b,_0x379823){const _0xfc908b=_0x51fe12?function(){const _0x69e830=a18_0x8e68;if(_0x379823){const _0x13c97c=_0x379823[_0x69e830(0x198)](_0x1d3f2b,arguments);return _0x379823=null,_0x13c97c;}}:function(){};return _0x51fe12=![],_0xfc908b;};}()),a18_0x57724d=a18_0x47aedf(this,function(){const _0x84db37=a18_0x8e68;return a18_0x57724d[_0x84db37(0x151)]()[_0x84db37(0x13a)]('(((.+)+)+)+$')[_0x84db37(0x151)]()[_0x84db37(0x1cd)](a18_0x57724d)[_0x84db37(0x13a)](_0x84db37(0x170));});a18_0x57724d();function a18_0x8e68(_0x3444b9,_0xc194f3){const _0x3eb555=a18_0x89f3();return a18_0x8e68=function(_0x57724d,_0x47aedf){_0x57724d=_0x57724d-0x129;let _0x89f3ea=_0x3eb555[_0x57724d];return _0x89f3ea;},a18_0x8e68(_0x3444b9,_0xc194f3);}'use strict';Object[a18_0x43029e(0x139)](exports,a18_0x43029e(0x140),{'value':!![]}),exports[a18_0x43029e(0x1a1)]=default_1;const fs=require('fs'),path_1=require(a18_0x43029e(0x1b2)),helper_1=require(a18_0x43029e(0x1d9));function a18_0x89f3(){const _0x17df87=['<el-input-number\x20v-model=\x22formdata.',')\x20{\x0a','\x22\x20clearable/>','<elplus-select-tags\x20v-model=\x22formdata.','437276ZftTNj','\x22\x20style=\x22cursor:pointer\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','writeFileSync','dirname','/index.vue','`)\x22>\x0a','\x22\x20\x20placeholder=\x22请输入','1186oCKUZY','mediumtext','apps/','padEnd',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','</template>','<img\x20:src=\x22scope.row.','(((.+)+)+)+$','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','length','item).then(res=>{\x0a','Field','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','Type','\x27;\x0a\x0a','item.','substring','string','\x22\x20placeholder=\x22请输入或选择','\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\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','25VhUiaQ','<el-input\x20v-model=\x22formdata.','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','}`)\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@/','enum','created_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20/>','const\x20handlerSave\x20=\x20()=>{\x0a','img','imgs','_ids','/vue','\x22\x20prop=\x22','21127470WRefGc','//\x20获取详情\x0a','\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20<page-main>\x0a','displayorder','num','</el-table-column>','apply','text','Remove,\x20','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','/add`)\x22\x20@click=\x22$router.push(`add`)\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','Edit','\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\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','default','<el-input-number\x20v-model=\x22props.search.','<el-select\x20v-model=\x22formdata.','Edit,\x20','datetime','\x22\x20split=\x22-\x22\x20clearable/>','edit/:','<tinymce-editor\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x22\x20placeholder=\x22请输入','\x22\x20api=\x22','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','<a\x20:href=\x22scope.row.','tag','9020061fnlPyr','path','\x22\x20clearable>','longtext',').then(res\x20=>\x20{\x0a','tags','546bEIXik','\x20\x20\x20\x20if\x20(','timestamp','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-select\x20v-model=\x22props.search.','logo','<template>\x0a','add','\x20as\x20unknown\x20as\x20','40PNfQtQ','Detail\x20}\x20from\x20\x27@/apis/','\x20\x20\x20\x20})\x0a','<el-input\x20v-model=\x22props.search.','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','4209630rGvXtG','/list/index.vue','/list/components/search.vue','\x22\x20value=\x22','Detail(','\x20\x20\x20\x20</page-main>\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</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0aimport\x20{\x20','constructor','<elplus-select-search\x20v-model=\x22formdata.','/pages/apps/','getDetail(route?.query?.','Add\x20}\x20from\x20\x27@/apis/','<el-date-picker\x20v-model=\x22props.search.','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','updated_at','Edit(item.','\x20\x20\x20\x20}\x20else\x20{\x0a','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','}\x0a\x0a\x0a','../helper','number','/pages/','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','_start\x22\x20placeholder=\x22选择','<template>\x0a\x20\x20\x20\x20','cwd','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','<el-table-column\x20prop=','deleted_at','getEnum','2486664TVgSaZ','\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.','<el-option\x20label=\x22','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<attachment-image\x20v-model=\x22formdata.','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','const\x20getDetail\x20=\x20(','<el-date-picker\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','utf-8','`)\x22\x20@click=\x22$router.push(`edit?','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','<template\x20#reference>','Edit\x20}\x20from\x20\x27@/apis/','<el-form-item\x20label=\x22','\x22\x20class=\x22block\x22>','defineProperty','search','\x20/>','substr','\x20label=\x22','Comment','</script>\x0a','__esModule','thumb','indexOf','=${scope.row.','_end\x22\x20placeholder=\x22选择','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','Remove({\x20','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','</el-select>','date','</el-form-item>','module=\x22','List(Object.assign(table.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','\x20\x20\x20\x20','\x22\x20placeholder=\x22请选择','toString','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','mkdirSync','import\x20{\x20','existsSync','<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选择','639148gweYBR','getProp','\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','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','edit'];a18_0x89f3=function(){return _0x17df87;};return a18_0x89f3();}async function default_1({moduleName:_0x46a23d,controller:_0x44df24,tablestartUpShort:_0x40357c,tablestartUpShort2:_0x3ba850,Primary:_0x50d354,Fields:_0x44f92b,apporbasic:_0x373bd8,Comment:_0x174aff}){const _0x189985=a18_0x43029e;await createIndex({'moduleName':_0x46a23d,'controller':_0x44df24,'tablestartUpShort':_0x40357c,'tablestartUpShort2':_0x3ba850,'Primary':_0x50d354,'Fields':_0x44f92b,'apporbasic':_0x373bd8}),await createSearch({'moduleName':_0x46a23d,'controller':_0x44df24,'tablestartUpShort2':_0x3ba850,'Primary':_0x50d354,'Fields':_0x44f92b,'apporbasic':_0x373bd8}),await createAddOrEdit({'moduleName':_0x46a23d,'controller':_0x44df24,'tablestartUpShort':_0x40357c,'tablestartUpShort2':_0x3ba850,'Primary':_0x50d354,'Fields':_0x44f92b,'apporbasic':_0x373bd8,'Comment':_0x174aff},_0x189985(0x1bf)),await createAddOrEdit({'moduleName':_0x46a23d,'controller':_0x44df24,'tablestartUpShort':_0x40357c,'tablestartUpShort2':_0x3ba850,'Primary':_0x50d354,'Fields':_0x44f92b,'apporbasic':_0x373bd8,'Comment':_0x174aff},_0x189985(0x15c));}async function createIndex({moduleName:_0xe7d326,controller:_0x114c63,tablestartUpShort:_0x5aaf5f,tablestartUpShort2:_0x279892,Primary:_0x45daaf,Fields:_0x2c9d95,apporbasic:_0x5843cb}){const _0x4406db=a18_0x43029e;let _0x337448=process['cwd']()+_0x4406db(0x18f)+(typeof _0x114c63==_0x4406db(0x17c)?'/'+_0x114c63:'');_0xe7d326?_0x337448=_0x337448+('/pages/apps/'+_0xe7d326+'/'+_0x279892+_0x4406db(0x1c7)):_0x337448=_0x337448+(_0x4406db(0x1db)+_0x5843cb+'/'+_0x279892+_0x4406db(0x1c7));if(!fs[_0x4406db(0x155)](_0x337448)){let _0x38e3d5=_0x4406db(0x1e1)+('\x22'+_0x45daaf[_0x4406db(0x175)]+'\x22')[_0x4406db(0x16c)](0x14)+('\x20label=\x22'+(_0x45daaf[_0x4406db(0x13e)]||'编号')+_0x4406db(0x1ab));for(let _0x5c8f30 in _0x2c9d95){const _0x3d0920=_0x2c9d95[_0x5c8f30];if([_0x4406db(0x188),_0x4406db(0x1d4),_0x4406db(0x1e2),'displayorder']['indexOf'](_0x5c8f30)!=-0x1)continue;if(_0x5c8f30[_0x4406db(0x17b)](_0x5c8f30[_0x4406db(0x173)]-0x3)==_0x4406db(0x18c)||_0x5c8f30[_0x4406db(0x17b)](_0x5c8f30['length']-0x5)==_0x4406db(0x141)||_0x5c8f30==_0x4406db(0x141)||_0x5c8f30[_0x4406db(0x17b)](_0x5c8f30[_0x4406db(0x173)]-0x4)==_0x4406db(0x1bd)||_0x5c8f30=='logo')_0x38e3d5+='\x0a'+_0x4406db(0x131)+_0x4406db(0x1e1)+('\x22'+_0x5c8f30+'\x22')[_0x4406db(0x16c)](0x14)+(_0x4406db(0x13d)+(_0x3d0920[_0x4406db(0x13e)]||_0x3d0920[_0x4406db(0x175)])+_0x4406db(0x1d3)),_0x38e3d5+='\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>',_0x38e3d5+='\x0a'+_0x4406db(0x176)+_0x4406db(0x185),_0x38e3d5+='\x0a'+_0x4406db(0x1bb)+(_0x4406db(0x1af)+_0x5c8f30+'\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>'),_0x38e3d5+='\x0a'+_0x4406db(0x189)+(_0x4406db(0x16f)+_0x5c8f30+_0x4406db(0x171)),_0x38e3d5+='\x0a'+_0x4406db(0x1bb)+'</a>',_0x38e3d5+='\x0a'+_0x4406db(0x1bb)+_0x4406db(0x135),_0x38e3d5+='\x0a'+_0x4406db(0x189)+('<el-avatar\x20:src=\x22scope.row.'+_0x5c8f30+_0x4406db(0x162)),_0x38e3d5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</template>',_0x38e3d5+='\x0a'+_0x4406db(0x176)+'</el-popover>',_0x38e3d5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4406db(0x16e),_0x38e3d5+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4406db(0x197);else[_0x4406db(0x199)][_0x4406db(0x142)]((0x0,helper_1[_0x4406db(0x159)])(_0x3d0920['Type']))==-0x1&&(_0x38e3d5+='\x0a'+_0x4406db(0x131)+_0x4406db(0x1e1)+('\x22'+_0x5c8f30+'\x22')[_0x4406db(0x16c)](0x14)+(_0x4406db(0x13d)+(_0x3d0920[_0x4406db(0x13e)]||_0x3d0920[_0x4406db(0x175)])+_0x4406db(0x19b)));}const _0x5742eb=''+(typeof _0x114c63==_0x4406db(0x17c)?_0x114c63+'/':'')+(_0xe7d326?_0xe7d326+'/':'')+_0x279892;fs['mkdirSync']((0x0,path_1[_0x4406db(0x165)])(_0x337448),{'recursive':!![]}),fs[_0x4406db(0x164)](_0x337448,_0x4406db(0x156)+_0x5742eb+_0x4406db(0x19d)+_0x38e3d5+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/'+_0x5742eb+'/edit/:'+_0x45daaf[_0x4406db(0x175)]+_0x4406db(0x133)+_0x45daaf[_0x4406db(0x175)]+_0x4406db(0x143)+_0x45daaf[_0x4406db(0x175)]+_0x4406db(0x186)+_0x5742eb+_0x4406db(0x1cc)+_0x5aaf5f+'List,\x20'+_0x5aaf5f+_0x4406db(0x19a)+_0x5aaf5f+_0x4406db(0x136)+(_0xe7d326?_0x4406db(0x16b)+_0xe7d326:''+_0x5843cb)+'/'+_0x5aaf5f+'\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\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:\x20200,\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'+_0x5aaf5f+_0x4406db(0x14e)+_0x5aaf5f+_0x4406db(0x147)+_0x45daaf['Field']+':\x20item.'+_0x45daaf[_0x4406db(0x175)]+_0x4406db(0x12a)+_0x45daaf[_0x4406db(0x175)]+_0x4406db(0x16d)+_0x5aaf5f+_0x4406db(0x1d5)+_0x45daaf['Field']+',\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>',_0x4406db(0x132));}}async function createSearch({moduleName:_0x580896,tablestartUpShort2:_0xdea0ba,controller:_0x5ac02c,Primary:_0x1e94bc,Fields:_0x35e4ce,apporbasic:_0x26bbdd}){const _0x2a19e3=a18_0x43029e;let _0x51c89c=process['cwd']()+'/vue'+(typeof _0x5ac02c==_0x2a19e3(0x17c)?'/'+_0x5ac02c:'');_0x580896?_0x51c89c=_0x51c89c+(_0x2a19e3(0x1cf)+_0x580896+'/'+_0xdea0ba+_0x2a19e3(0x1c8)):_0x51c89c=_0x51c89c+(_0x2a19e3(0x1db)+_0x26bbdd+'/'+_0xdea0ba+_0x2a19e3(0x1c8));if(!fs[_0x2a19e3(0x155)](_0x51c89c)){let _0x5a52ce='';_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x1e94bc[_0x2a19e3(0x13e)]||'编号')+'\x22>'),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2a19e3(0x1c4)+_0x1e94bc['Field']+_0x2a19e3(0x1ac)+(_0x1e94bc[_0x2a19e3(0x13e)]||'编号')+_0x2a19e3(0x15f)),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20'+_0x2a19e3(0x14c);for(let _0x519ac9 in _0x35e4ce){const _0x194ab4=_0x35e4ce[_0x519ac9];if([_0x2a19e3(0x1d4),'deleted_at',_0x2a19e3(0x195)][_0x2a19e3(0x142)](_0x519ac9)!=-0x1)continue;if(_0x519ac9[_0x2a19e3(0x17b)](_0x519ac9[_0x2a19e3(0x173)]-0x3)=='img'||_0x519ac9['substring'](_0x519ac9[_0x2a19e3(0x173)]-0x5)==_0x2a19e3(0x141)||_0x519ac9==_0x2a19e3(0x141)||_0x519ac9[_0x2a19e3(0x17b)](_0x519ac9['length']-0x4)==_0x2a19e3(0x1bd)||_0x519ac9==_0x2a19e3(0x1bd))continue;if(_0x519ac9['substring'](_0x519ac9['length']-0x3)==_0x2a19e3(0x196))_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x194ab4['Comment']||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2a19e3(0x1a2)+_0x519ac9+_0x2a19e3(0x1ac)+_0x194ab4[_0x2a19e3(0x13e)]+_0x2a19e3(0x145)),_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+_0x2a19e3(0x14c)+'\x0a';else{if(_0x519ac9['endsWith']('_id')){let _0x506c0b=''+(typeof _0x5ac02c=='string'?_0x5ac02c+'/':'')+(_0x580896?_0x580896+'/':'')+_0xdea0ba;_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+(_0x2a19e3(0x137)+(_0x194ab4[_0x2a19e3(0x13e)]||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x172)+('<elplus-select-search\x20v-model=\x22props.search.'+_0x519ac9+_0x2a19e3(0x1ad)+_0x506c0b+_0x2a19e3(0x12c)),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2a19e3(0x14c)+'\x0a';}else switch((0x0,helper_1[_0x2a19e3(0x159)])(_0x194ab4[_0x2a19e3(0x178)])){case _0x2a19e3(0x187):_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x194ab4[_0x2a19e3(0x13e)]||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2a19e3(0x1bc)+_0x519ac9+_0x2a19e3(0x150)+_0x194ab4[_0x2a19e3(0x13e)]+_0x2a19e3(0x1b3));for(let _0x2ed3dd of(0x0,helper_1[_0x2a19e3(0x1e3)])(_0x194ab4[_0x2a19e3(0x178)])){_0x5a52ce+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2a19e3(0x12b)+_0x2ed3dd+_0x2a19e3(0x1c9)+_0x2ed3dd+'\x22\x20/>');}_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+'</el-select>',_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+_0x2a19e3(0x14c)+'\x0a';break;case _0x2a19e3(0x14b):_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x194ab4[_0x2a19e3(0x13e)]||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+('<el-date-picker\x20v-model=\x22props.search.'+_0x519ac9+_0x2a19e3(0x1dd)+_0x194ab4['Comment']+'开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+_0x2a19e3(0x14c)+'\x0a',_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x194ab4[_0x2a19e3(0x13e)]||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+('<el-date-picker\x20v-model=\x22props.search.'+_0x519ac9+_0x2a19e3(0x144)+_0x194ab4[_0x2a19e3(0x13e)]+_0x2a19e3(0x12e)),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20'+_0x2a19e3(0x14c)+'\x0a';break;case'datetime':_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x194ab4['Comment']||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+(_0x2a19e3(0x1d2)+_0x519ac9+_0x2a19e3(0x1dd)+_0x194ab4['Comment']+_0x2a19e3(0x182)),_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+_0x2a19e3(0x14c)+'\x0a',_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+('<el-form-item\x20label=\x22'+(_0x194ab4[_0x2a19e3(0x13e)]||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+(_0x2a19e3(0x1d2)+_0x519ac9+_0x2a19e3(0x144)+_0x194ab4[_0x2a19e3(0x13e)]+_0x2a19e3(0x1ba)),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20'+_0x2a19e3(0x14c)+'\x0a';break;case _0x2a19e3(0x1b9):_0x5a52ce+='\x0a'+'\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x194ab4['Comment']||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+(_0x2a19e3(0x1d2)+_0x519ac9+_0x2a19e3(0x1dd)+_0x194ab4['Comment']+_0x2a19e3(0x182)),_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+'</el-form-item>'+'\x0a',_0x5a52ce+='\x0a'+'\x20\x20\x20\x20'+(_0x2a19e3(0x137)+(_0x194ab4[_0x2a19e3(0x13e)]||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+(_0x2a19e3(0x1d2)+_0x519ac9+_0x2a19e3(0x144)+_0x194ab4[_0x2a19e3(0x13e)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x5a52ce+='\x0a'+'\x20\x20\x20\x20'+_0x2a19e3(0x14c)+'\x0a';break;case _0x2a19e3(0x17c):_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+(_0x2a19e3(0x137)+(_0x194ab4['Comment']||_0x194ab4[_0x2a19e3(0x175)])+'\x22>'),_0x5a52ce+='\x0a'+_0x2a19e3(0x193)+(_0x2a19e3(0x1c4)+_0x519ac9+'\x22\x20placeholder=\x22请输入'+_0x194ab4[_0x2a19e3(0x13e)]+_0x2a19e3(0x15f)),_0x5a52ce+='\x0a'+_0x2a19e3(0x14f)+'</el-form-item>'+'\x0a';}}}fs[_0x2a19e3(0x153)]((0x0,path_1[_0x2a19e3(0x165)])(_0x51c89c),{'recursive':!![]}),fs[_0x2a19e3(0x164)](_0x51c89c,_0x2a19e3(0x1de)+_0x5a52ce+'\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>',_0x2a19e3(0x132));}}async function createAddOrEdit({moduleName:_0x5895c0,controller:_0x40a6fe,tablestartUpShort:_0x15d9fc,tablestartUpShort2:_0x16664b,Primary:_0x21e10e,Fields:_0x12e9e3,apporbasic:_0x44d2e1,Comment:_0x529e20},_0x2cde71=a18_0x43029e(0x1bf)){const _0x3ea997=a18_0x43029e;let _0xdb2cad=process[_0x3ea997(0x1df)]()+_0x3ea997(0x18f)+(typeof _0x40a6fe==_0x3ea997(0x17c)?'/'+_0x40a6fe:'');_0x5895c0?_0xdb2cad=_0xdb2cad+(_0x3ea997(0x1cf)+_0x5895c0+'/'+_0x16664b+'/'+_0x2cde71+'/index.vue'):_0xdb2cad=_0xdb2cad+(_0x3ea997(0x1db)+_0x44d2e1+'/'+_0x16664b+'/'+_0x2cde71+_0x3ea997(0x166));if(!fs['existsSync'](_0xdb2cad)){const _0x539ff7=[_0x3ea997(0x199),'mediumtext','string']['indexOf']((0x0,helper_1[_0x3ea997(0x159)])(_0x21e10e['Type']))==-0x1,_0x19c672=''+(typeof _0x40a6fe=='string'?_0x40a6fe+'/':'')+(_0x5895c0?_0x5895c0+'/':'')+_0x16664b;let _0x3786e2='';for(let _0x67631e in _0x12e9e3){const _0x40b8f0=_0x12e9e3[_0x67631e];if(['created_at','updated_at',_0x3ea997(0x1e2),_0x3ea997(0x195)][_0x3ea997(0x142)](_0x67631e)!=-0x1)continue;if(_0x67631e[_0x3ea997(0x17b)](_0x67631e[_0x3ea997(0x173)]-0x4)==_0x3ea997(0x18d)||_0x67631e[_0x3ea997(0x17b)](_0x67631e[_0x3ea997(0x173)]-0x6)=='thumbs')_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+'\x22\x20prop=\x22'+_0x67631e+_0x3ea997(0x138)),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x12d)+_0x67631e+'\x22\x20:limit=\x225\x22\x20'+(_0x5895c0?_0x3ea997(0x14d)+_0x5895c0+'\x22':'')+_0x3ea997(0x13b)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';else{if(_0x67631e[_0x3ea997(0x17b)](_0x67631e[_0x3ea997(0x173)]-0x3)=='img'||_0x67631e[_0x3ea997(0x17b)](_0x67631e[_0x3ea997(0x173)]-0x5)==_0x3ea997(0x141)||_0x67631e==_0x3ea997(0x141)||_0x67631e['substring'](_0x67631e[_0x3ea997(0x173)]-0x4)==_0x3ea997(0x1bd)||_0x67631e=='logo')_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+_0x3ea997(0x138)),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x12d)+_0x67631e+'\x22\x20:limit=\x221\x22\x20'+(_0x5895c0?_0x3ea997(0x14d)+_0x5895c0+'\x22':'')+'/>'),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';else{if(_0x67631e['substring'](_0x67631e['length']-0x4)==_0x3ea997(0x1b6)||_0x67631e[_0x3ea997(0x17b)](_0x67631e[_0x3ea997(0x173)]-0x3)==_0x3ea997(0x1b0))_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0['Field'])+_0x3ea997(0x190)+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x160)+_0x67631e+_0x3ea997(0x17d)+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x1a6)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';else{if(_0x67631e[_0x3ea997(0x13c)](-0x3)==_0x3ea997(0x196))_0x3786e2+='\x0a'+_0x3ea997(0x172)+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x15d)+_0x67631e+_0x3ea997(0x1ac)+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x177)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';else{if(_0x67631e[_0x3ea997(0x13c)](-0x4)==_0x3ea997(0x18e))_0x3786e2+='\x0a'+_0x3ea997(0x172)+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+'\x22\x20prop=\x22'+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x181)+_0x67631e+_0x3ea997(0x1ac)+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x15f)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';else{if(_0x67631e[_0x3ea997(0x13c)](-0x3)=='_id'){let _0x49c449=''+(typeof _0x40a6fe==_0x3ea997(0x17c)?_0x40a6fe+'/':'')+(_0x5895c0?_0x5895c0+'/':'')+_0x16664b;_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x1ce)+_0x67631e+_0x3ea997(0x1ad)+_0x49c449+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3ea997(0x14c)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x40b8f0[_0x3ea997(0x178)])){case'number':_0x3786e2+='\x0a'+_0x3ea997(0x172)+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+'\x22\x20prop=\x22'+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x15d)+_0x67631e+'\x22\x20placeholder=\x22请输入'+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x177)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;case'enum':_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+'\x22\x20prop=\x22'+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x1a3)+_0x67631e+_0x3ea997(0x150)+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x1b3));for(let _0x5a58aa of(0x0,helper_1[_0x3ea997(0x1e3)])(_0x40b8f0['Type'])){_0x3786e2+='\x0a'+_0x3ea997(0x163)+(_0x3ea997(0x12b)+_0x5a58aa+_0x3ea997(0x1c9)+_0x5a58aa+_0x3ea997(0x18a));}_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3ea997(0x14a),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;case'text':_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+'\x22\x20prop=\x22'+_0x67631e+_0x3ea997(0x138)),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x181)+_0x67631e+_0x3ea997(0x168)+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x183)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;case _0x3ea997(0x1b4):_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+'\x22\x20class=\x22block\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x1a8)+_0x67631e+'\x22\x20'+(_0x5895c0?_0x3ea997(0x14d)+_0x5895c0+'\x22':'')+'/>'),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;case _0x3ea997(0x16a):_0x3786e2+='\x0a'+_0x3ea997(0x172)+('<el-form-item\x20label=\x22'+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+_0x3ea997(0x138)),_0x3786e2+='\x0a'+_0x3ea997(0x131)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x67631e+'\x22\x20'+(_0x5895c0?_0x3ea997(0x14d)+_0x5895c0+'\x22':'')+'/>'),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;case _0x3ea997(0x14b):_0x3786e2+='\x0a'+_0x3ea997(0x172)+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x130)+_0x67631e+_0x3ea997(0x157)+_0x40b8f0['Comment']+_0x3ea997(0x1a0)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;case _0x3ea997(0x1a5):_0x3786e2+='\x0a'+_0x3ea997(0x172)+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0[_0x3ea997(0x175)])+_0x3ea997(0x190)+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+('<el-date-picker\x20v-model=\x22formdata.'+_0x67631e+'\x22\x20placeholder=\x22选择'+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x149)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+'</el-form-item>'+'\x0a';break;case _0x3ea997(0x1b9):_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0['Field'])+'\x22\x20prop=\x22'+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+(_0x3ea997(0x130)+_0x67631e+_0x3ea997(0x157)+_0x40b8f0['Comment']+_0x3ea997(0x149)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x14c)+'\x0a';break;default:_0x3786e2+='\x0a'+_0x3ea997(0x172)+(_0x3ea997(0x137)+(_0x40b8f0[_0x3ea997(0x13e)]||_0x40b8f0['Field'])+_0x3ea997(0x190)+_0x67631e+'\x22>'),_0x3786e2+='\x0a'+_0x3ea997(0x131)+('<el-input\x20v-model=\x22formdata.'+_0x67631e+_0x3ea997(0x1ac)+_0x40b8f0[_0x3ea997(0x13e)]+_0x3ea997(0x15f)),_0x3786e2+='\x0a'+_0x3ea997(0x172)+'</el-form-item>'+'\x0a';}}}}}}}_0x3786e2+='\x0a'+_0x3ea997(0x172)+_0x3ea997(0x1c5),_0x3786e2+='\x0a'+_0x3ea997(0x131)+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x3786e2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3ea997(0x14c)+'\x0a';let _0x25a92b=_0x3ea997(0x1be);_0x25a92b+=_0x3ea997(0x194),_0x25a92b+='\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22'+(_0x2cde71==_0x3ea997(0x1bf)?'添加'+_0x529e20:'编辑'+_0x529e20)+_0x3ea997(0x1dc)+_0x15d9fc+(_0x2cde71==_0x3ea997(0x1bf)?'Add':_0x3ea997(0x19e))+_0x3ea997(0x146)+_0x19c672+'/'+(_0x2cde71=='add'?'add':_0x3ea997(0x1a7)+_0x21e10e[_0x3ea997(0x175)])+_0x3ea997(0x167),_0x25a92b+=_0x3ea997(0x172)+_0x3786e2+'\x0a\x0a',_0x25a92b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x25a92b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/'+_0x19c672+'/'+(_0x2cde71==_0x3ea997(0x1bf)?_0x3ea997(0x1bf):_0x3ea997(0x1a7)+_0x21e10e['Field'])+_0x3ea997(0x148),_0x25a92b+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x25a92b+=_0x3ea997(0x15b),_0x25a92b+=_0x3ea997(0x1cb),_0x25a92b+='</template>\x0a',_0x25a92b+='<script\x20lang=\x22ts\x22\x20setup>\x0a';if(_0x2cde71==_0x3ea997(0x1bf))_0x25a92b+=_0x3ea997(0x154)+_0x15d9fc+_0x3ea997(0x134),_0x25a92b+=_0x3ea997(0x154)+_0x15d9fc+_0x3ea997(0x1d1)+(_0x5895c0?'apps/'+_0x5895c0:''+_0x44d2e1)+'/'+_0x15d9fc+_0x3ea997(0x179);else _0x2cde71==_0x3ea997(0x15c)&&(_0x25a92b+=_0x3ea997(0x154)+_0x15d9fc+_0x3ea997(0x19c),_0x25a92b+='import\x20{\x20'+_0x15d9fc+_0x3ea997(0x1a4)+_0x15d9fc+_0x3ea997(0x1c2)+(_0x5895c0?_0x3ea997(0x16b)+_0x5895c0:''+_0x44d2e1)+'/'+_0x15d9fc+_0x3ea997(0x179));_0x25a92b+='const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a';if(_0x2cde71==_0x3ea997(0x1bf))_0x25a92b+='const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a';else _0x2cde71=='edit'&&(_0x25a92b+=_0x3ea997(0x1d7));_0x25a92b+='//\x20保存数据\x0a',_0x25a92b+=_0x3ea997(0x18b),_0x25a92b+=_0x3ea997(0x1e0),_0x25a92b+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x15d9fc+(_0x2cde71==_0x3ea997(0x1bf)?'Add':_0x3ea997(0x19e))+'('+(_0x2cde71==_0x3ea997(0x15c)?_0x3ea997(0x17a)+_0x21e10e[_0x3ea997(0x175)]+',\x20':'')+_0x3ea997(0x174),_0x25a92b+=_0x3ea997(0x19f),_0x25a92b+=_0x3ea997(0x1a9),_0x25a92b+=_0x3ea997(0x17e),_0x25a92b+=_0x3ea997(0x152),_0x25a92b+=_0x3ea997(0x1c3),_0x25a92b+='}\x0a\x0a',_0x2cde71==_0x3ea997(0x15c)&&(_0x25a92b+=_0x3ea997(0x192),_0x25a92b+=_0x3ea997(0x12f)+_0x21e10e[_0x3ea997(0x175)]+':\x20'+(_0x539ff7?'number':_0x3ea997(0x17c))+')\x20=>\x20{\x0a',_0x25a92b+=_0x3ea997(0x1b8)+_0x21e10e[_0x3ea997(0x175)]+_0x3ea997(0x15e),_0x25a92b+=_0x3ea997(0x184),_0x25a92b+=_0x3ea997(0x193)+_0x15d9fc+_0x3ea997(0x1ca)+_0x21e10e[_0x3ea997(0x175)]+_0x3ea997(0x1b5),_0x25a92b+=_0x3ea997(0x17f),_0x25a92b+=_0x3ea997(0x1ae),_0x25a92b+=_0x3ea997(0x15a),_0x25a92b+=_0x3ea997(0x152),_0x25a92b+=_0x3ea997(0x1d6),_0x25a92b+=_0x3ea997(0x1aa),_0x25a92b+='\x20\x20\x20\x20}\x0a',_0x25a92b+=_0x3ea997(0x1d8),_0x25a92b+=_0x3ea997(0x1d0)+_0x21e10e['Field']+_0x3ea997(0x1c0)+(_0x539ff7?_0x3ea997(0x1da):_0x3ea997(0x17c))+')\x0a'),_0x25a92b+=_0x3ea997(0x13f),fs[_0x3ea997(0x153)]((0x0,path_1[_0x3ea997(0x165)])(_0xdb2cad),{'recursive':!![]}),fs['writeFileSync'](_0xdb2cad,_0x25a92b,'utf-8');}}
@@ -1 +1 @@
1
- const a19_0x143d43=a19_0x5710;(function(_0x5931f1,_0x56188d){const _0x40b80a=a19_0x5710,_0x54a52b=_0x5931f1();while(!![]){try{const _0x52f4ce=-parseInt(_0x40b80a(0x1cb))/0x1*(parseInt(_0x40b80a(0x1d9))/0x2)+-parseInt(_0x40b80a(0x1b5))/0x3*(parseInt(_0x40b80a(0x1a9))/0x4)+parseInt(_0x40b80a(0x1c3))/0x5*(parseInt(_0x40b80a(0x1d8))/0x6)+-parseInt(_0x40b80a(0x1d6))/0x7*(parseInt(_0x40b80a(0x1da))/0x8)+parseInt(_0x40b80a(0x1ac))/0x9+-parseInt(_0x40b80a(0x1b9))/0xa*(-parseInt(_0x40b80a(0x1b2))/0xb)+-parseInt(_0x40b80a(0x1c5))/0xc;if(_0x52f4ce===_0x56188d)break;else _0x54a52b['push'](_0x54a52b['shift']());}catch(_0x5c59fe){_0x54a52b['push'](_0x54a52b['shift']());}}}(a19_0x2583,0x40b32));const a19_0x13de87=(function(){let _0x4f3cd4=!![];return function(_0xf59e33,_0x18a6db){const _0x5ee2ec=_0x4f3cd4?function(){const _0x6acf32=a19_0x5710;if(_0x18a6db){const _0x4bd543=_0x18a6db[_0x6acf32(0x1b8)](_0xf59e33,arguments);return _0x18a6db=null,_0x4bd543;}}:function(){};return _0x4f3cd4=![],_0x5ee2ec;};}()),a19_0xbe759e=a19_0x13de87(this,function(){const _0x2a7542=a19_0x5710;return a19_0xbe759e[_0x2a7542(0x1be)]()[_0x2a7542(0x1b0)]('(((.+)+)+)+$')[_0x2a7542(0x1be)]()[_0x2a7542(0x1a4)](a19_0xbe759e)[_0x2a7542(0x1b0)]('(((.+)+)+)+$');});a19_0xbe759e();'use strict';Object[a19_0x143d43(0x1d3)](exports,a19_0x143d43(0x1d4),{'value':!![]}),exports[a19_0x143d43(0x1d0)]=default_1;const fs=require('fs'),path_1=require(a19_0x143d43(0x1a8));async function default_1({tablestartUpShort2:_0x6c6300,moduleName:_0x186af7,controller:_0x5089fe,Comment:_0x3648ec,apporbasic:_0x52ef7c,Primary:_0xe819ae}){await createRoutes({'tablestartUpShort2':_0x6c6300,'moduleName':_0x186af7,'controller':_0x5089fe,'Comment':_0x3648ec,'apporbasic':_0x52ef7c,'Primary':_0xe819ae});}async function createRoutes({tablestartUpShort2:_0x5b6793,moduleName:_0x3aa7ce,controller:_0x12a953,Comment:_0x105de3,apporbasic:_0x5a981d,Primary:_0x38729c}){const _0x21905b=a19_0x143d43;let _0x480397=process[_0x21905b(0x1c1)]()+_0x21905b(0x1d1)+(typeof _0x12a953==_0x21905b(0x1ad)?'/'+_0x12a953:'');_0x3aa7ce?_0x480397=_0x480397+('/router/modules/apps/'+_0x3aa7ce+_0x21905b(0x1a7)):_0x480397=_0x480397+(_0x21905b(0x1b3)+_0x5a981d+_0x21905b(0x1a7));if(!fs[_0x21905b(0x1cd)](_0x480397)){let _0x5a3366='';_0x5a3366+=_0x21905b(0x1c0),_0x5a3366+='\x20\x20\x20\x20path:\x20\x22/'+(_0x3aa7ce?_0x21905b(0x1b4)+_0x3aa7ce+'/':_0x5a981d+'/')+'\x22,\x0a',_0x5a3366+=_0x21905b(0x1c4)+(_0x3aa7ce?'apps-'+_0x3aa7ce+'/':_0x5a981d+'/')+_0x21905b(0x1c2),_0x5a3366+=_0x21905b(0x1ce)+(_0x3aa7ce?'../../../':_0x21905b(0x1b6))+_0x21905b(0x1d7)+(_0x3aa7ce?_0x21905b(0x1bb)+_0x3aa7ce:''+_0x5a981d)+_0x21905b(0x1bf),_0x5a3366+=_0x21905b(0x1a6),_0x5a3366+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x5a3366+=_0x21905b(0x1aa),_0x5a3366+='}\x0a',fs['mkdirSync']((0x0,path_1[_0x21905b(0x1d2)])(_0x480397),{'recursive':!![]}),fs['writeFileSync'](_0x480397,_0x5a3366,_0x21905b(0x1c6));}const _0x136502=fs[_0x21905b(0x1c9)](_0x480397,_0x21905b(0x1c6)),_0x345682='{\x20path:\x20\x22'+(_0x5b6793+_0x21905b(0x1b1))[_0x21905b(0x1b7)](0x14)+(_0x21905b(0x1c8)+(_0x3aa7ce?_0x21905b(0x1cf):_0x21905b(0x1b6))+_0x21905b(0x1d7)+(_0x3aa7ce?_0x21905b(0x1bb)+_0x3aa7ce:''+_0x5a981d)+'/'+_0x5b6793+_0x21905b(0x1c7)+_0x105de3+_0x21905b(0x1d5));_0x136502[_0x21905b(0x1cc)](_0x345682)==-0x1&&fs['writeFileSync'](_0x480397,_0x136502[_0x21905b(0x1bc)](_0x21905b(0x1bd),_0x345682+_0x21905b(0x1a5))[_0x21905b(0x1bc)](_0x21905b(0x1bd),_0x21905b(0x1ca)+(_0x5b6793+'/add\x22')[_0x21905b(0x1b7)](0x14)+(',\x20component:\x20()=>\x20import(\x27'+(_0x3aa7ce?_0x21905b(0x1cf):_0x21905b(0x1b6))+_0x21905b(0x1d7)+(_0x3aa7ce?_0x21905b(0x1bb)+_0x3aa7ce:''+_0x5a981d)+'/'+_0x5b6793+'/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0x105de3+_0x21905b(0x1ab)))[_0x21905b(0x1bc)](_0x21905b(0x1bd),'{\x20path:\x20\x22'+(_0x5b6793+_0x21905b(0x1af))[_0x21905b(0x1b7)](0x14)+(_0x21905b(0x1c8)+(_0x3aa7ce?_0x21905b(0x1cf):'../../')+_0x21905b(0x1d7)+(_0x3aa7ce?_0x21905b(0x1bb)+_0x3aa7ce:''+_0x5a981d)+'/'+_0x5b6793+_0x21905b(0x1ae)+_0x105de3+_0x21905b(0x1ba))));}function a19_0x5710(_0x3eada9,_0x12b0f7){const _0x6e5e9a=a19_0x2583();return a19_0x5710=function(_0xbe759e,_0x13de87){_0xbe759e=_0xbe759e-0x1a4;let _0x2583a4=_0x6e5e9a[_0xbe759e];return _0x2583a4;},a19_0x5710(_0x3eada9,_0x12b0f7);}function a19_0x2583(){const _0x4fb328=['198805bbgTld','\x20\x20\x20\x20//\x20redirect:\x20\x22/','978732PTHioc','utf-8','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22',',\x20component:\x20()=>\x20import(\x27','readFileSync','{\x20path:\x20\x22','180607DEGukq','indexOf','existsSync','\x20\x20\x20\x20component:\x20()\x20=>\x20import(`','../../../','default','/vue','dirname','defineProperty','__esModule','\x22\x20}\x20}','1882426eadgMr','pages/','66MSMXRt','2qxRciJ','8gZifDg','constructor',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','\x20\x20\x20\x20children:[\x0a','.ts','path','28FItWha','\x20\x20\x20\x20]\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','1791864ZuYxnS','string','/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','/edit\x22','search','/list\x22','5489RIUzff','/router/modules/','apps-','62682BOFCEe','../../','padEnd','apply','6130DLfshb','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','apps/','replace','//\x20add\x20route\x20here','toString','/layout.vue`),\x0a','export\x20default\x20{\x0a','cwd','\x22,\x0a'];a19_0x2583=function(){return _0x4fb328;};return a19_0x2583();}
1
+ const a19_0x4e79c1=a19_0x1dca;(function(_0x4ca2b2,_0x2db359){const _0x2476ea=a19_0x1dca,_0x167107=_0x4ca2b2();while(!![]){try{const _0x2fc7d5=-parseInt(_0x2476ea(0x107))/0x1*(-parseInt(_0x2476ea(0x10f))/0x2)+parseInt(_0x2476ea(0x10e))/0x3+parseInt(_0x2476ea(0x125))/0x4+-parseInt(_0x2476ea(0x124))/0x5*(parseInt(_0x2476ea(0x121))/0x6)+parseInt(_0x2476ea(0x12c))/0x7+parseInt(_0x2476ea(0x103))/0x8*(parseInt(_0x2476ea(0x12b))/0x9)+-parseInt(_0x2476ea(0x108))/0xa;if(_0x2fc7d5===_0x2db359)break;else _0x167107['push'](_0x167107['shift']());}catch(_0x45648e){_0x167107['push'](_0x167107['shift']());}}}(a19_0x3ee9,0x2d9b0));const a19_0x4925dd=(function(){let _0x18037=!![];return function(_0x116bb7,_0x546891){const _0x3239bc=_0x18037?function(){const _0x5117ef=a19_0x1dca;if(_0x546891){const _0x16e9f1=_0x546891[_0x5117ef(0x12f)](_0x116bb7,arguments);return _0x546891=null,_0x16e9f1;}}:function(){};return _0x18037=![],_0x3239bc;};}()),a19_0x4f159d=a19_0x4925dd(this,function(){const _0x598d8b=a19_0x1dca;return a19_0x4f159d[_0x598d8b(0x112)]()['search'](_0x598d8b(0x126))[_0x598d8b(0x112)]()[_0x598d8b(0xff)](a19_0x4f159d)[_0x598d8b(0x12e)](_0x598d8b(0x126));});a19_0x4f159d();'use strict';Object[a19_0x4e79c1(0x118)](exports,a19_0x4e79c1(0x11d),{'value':!![]}),exports[a19_0x4e79c1(0x12d)]=default_1;function a19_0x1dca(_0x1a6522,_0x410d8f){const _0x132a62=a19_0x3ee9();return a19_0x1dca=function(_0x4f159d,_0x4925dd){_0x4f159d=_0x4f159d-0xfe;let _0x3ee9c2=_0x132a62[_0x4f159d];return _0x3ee9c2;},a19_0x1dca(_0x1a6522,_0x410d8f);}const fs=require('fs'),path_1=require(a19_0x4e79c1(0x11c));async function default_1({tablestartUpShort2:_0x5665a9,moduleName:_0x1451e8,controller:_0x349b43,Comment:_0xa27a15,apporbasic:_0xf61f1c,Primary:_0x5c002a}){await createRoutes({'tablestartUpShort2':_0x5665a9,'moduleName':_0x1451e8,'controller':_0x349b43,'Comment':_0xa27a15,'apporbasic':_0xf61f1c,'Primary':_0x5c002a});}function a19_0x3ee9(){const _0x21d7e3=['7480BkHVPm',',\x20component:\x20()=>\x20import(\x27','\x20\x20\x20\x20children:[\x0a','pages/','306615TUhZbd','5474870lROgUl','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','string','apps/','replace','\x22,\x0a','71367oErEEJ','2CjqYHS','/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','indexOf','toString','//\x20add\x20route\x20here','cwd','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','export\x20default\x20{\x0a','readFileSync','defineProperty',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','utf-8','path','__esModule','dirname','{\x20path:\x20\x22','/router/modules/apps/','45528nYznZf','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','existsSync','50lDsVph','649788QErBRI','(((.+)+)+)+$','../../','\x22\x20}\x20}','/router/modules/','padEnd','27fkAyfm','2201577muOvnI','default','search','apply','mkdirSync','writeFileSync','/layout.vue`),\x0a','apps-','constructor','/edit\x22','/vue','../../../'];a19_0x3ee9=function(){return _0x21d7e3;};return a19_0x3ee9();}async function createRoutes({tablestartUpShort2:_0x1f74bc,moduleName:_0x573136,controller:_0x34069d,Comment:_0x39c721,apporbasic:_0xf47d47,Primary:_0x320155}){const _0x3d43f4=a19_0x4e79c1;let _0x2c2116=process[_0x3d43f4(0x114)]()+_0x3d43f4(0x101)+(typeof _0x34069d==_0x3d43f4(0x10a)?'/'+_0x34069d:'');_0x573136?_0x2c2116=_0x2c2116+(_0x3d43f4(0x120)+_0x573136+'.ts'):_0x2c2116=_0x2c2116+(_0x3d43f4(0x129)+_0xf47d47+'.ts');if(!fs[_0x3d43f4(0x123)](_0x2c2116)){let _0x15d91e='';_0x15d91e+=_0x3d43f4(0x116),_0x15d91e+='\x20\x20\x20\x20path:\x20\x22/'+(_0x573136?'apps-'+_0x573136+'/':_0xf47d47+'/')+_0x3d43f4(0x10d),_0x15d91e+='\x20\x20\x20\x20//\x20redirect:\x20\x22/'+(_0x573136?_0x3d43f4(0xfe)+_0x573136+'/':_0xf47d47+'/')+_0x3d43f4(0x10d),_0x15d91e+='\x20\x20\x20\x20component:\x20()\x20=>\x20import(`'+(_0x573136?_0x3d43f4(0x102):_0x3d43f4(0x127))+_0x3d43f4(0x106)+(_0x573136?_0x3d43f4(0x10b)+_0x573136:''+_0xf47d47)+_0x3d43f4(0x132),_0x15d91e+=_0x3d43f4(0x105),_0x15d91e+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x15d91e+='\x20\x20\x20\x20]\x0a',_0x15d91e+='}\x0a',fs[_0x3d43f4(0x130)]((0x0,path_1[_0x3d43f4(0x11e)])(_0x2c2116),{'recursive':!![]}),fs[_0x3d43f4(0x131)](_0x2c2116,_0x15d91e,_0x3d43f4(0x11b));}const _0x5aad08=fs[_0x3d43f4(0x117)](_0x2c2116,'utf-8'),_0x42fd62=_0x3d43f4(0x11f)+(_0x1f74bc+'/list\x22')[_0x3d43f4(0x12a)](0x14)+(_0x3d43f4(0x104)+(_0x573136?_0x3d43f4(0x102):_0x3d43f4(0x127))+_0x3d43f4(0x106)+(_0x573136?_0x3d43f4(0x10b)+_0x573136:''+_0xf47d47)+'/'+_0x1f74bc+_0x3d43f4(0x122)+_0x39c721+_0x3d43f4(0x128));_0x5aad08[_0x3d43f4(0x111)](_0x42fd62)==-0x1&&fs[_0x3d43f4(0x131)](_0x2c2116,_0x5aad08['replace'](_0x3d43f4(0x113),_0x42fd62+_0x3d43f4(0x119))[_0x3d43f4(0x10c)](_0x3d43f4(0x113),_0x3d43f4(0x11f)+(_0x1f74bc+'/add\x22')[_0x3d43f4(0x12a)](0x14)+(_0x3d43f4(0x104)+(_0x573136?'../../../':_0x3d43f4(0x127))+_0x3d43f4(0x106)+(_0x573136?'apps/'+_0x573136:''+_0xf47d47)+'/'+_0x1f74bc+_0x3d43f4(0x11a)+_0x39c721+_0x3d43f4(0x109)))[_0x3d43f4(0x10c)](_0x3d43f4(0x113),_0x3d43f4(0x11f)+(_0x1f74bc+_0x3d43f4(0x100))[_0x3d43f4(0x12a)](0x14)+(_0x3d43f4(0x104)+(_0x573136?_0x3d43f4(0x102):_0x3d43f4(0x127))+_0x3d43f4(0x106)+(_0x573136?'apps/'+_0x573136:''+_0xf47d47)+'/'+_0x1f74bc+_0x3d43f4(0x110)+_0x39c721+_0x3d43f4(0x115))));}
@@ -1 +1 @@
1
- const a20_0x56cca9=a20_0x4d95;(function(_0x28b26b,_0x169ed5){const _0x56c3c6=a20_0x4d95,_0x2ffb43=_0x28b26b();while(!![]){try{const _0x174f19=-parseInt(_0x56c3c6(0x97))/0x1+-parseInt(_0x56c3c6(0xa2))/0x2*(-parseInt(_0x56c3c6(0x70))/0x3)+-parseInt(_0x56c3c6(0xaf))/0x4*(-parseInt(_0x56c3c6(0x77))/0x5)+parseInt(_0x56c3c6(0x9f))/0x6+parseInt(_0x56c3c6(0x7f))/0x7*(-parseInt(_0x56c3c6(0xad))/0x8)+parseInt(_0x56c3c6(0x82))/0x9*(parseInt(_0x56c3c6(0x9b))/0xa)+-parseInt(_0x56c3c6(0x75))/0xb*(parseInt(_0x56c3c6(0x72))/0xc);if(_0x174f19===_0x169ed5)break;else _0x2ffb43['push'](_0x2ffb43['shift']());}catch(_0xd1c42){_0x2ffb43['push'](_0x2ffb43['shift']());}}}(a20_0x366a,0xa89de));function a20_0x4d95(_0x169355,_0x2c57aa){const _0x4fff4a=a20_0x366a();return a20_0x4d95=function(_0x20467c,_0xa5accf){_0x20467c=_0x20467c-0x67;let _0x366a07=_0x4fff4a[_0x20467c];return _0x366a07;},a20_0x4d95(_0x169355,_0x2c57aa);}const a20_0xa5accf=(function(){let _0x1c1968=!![];return function(_0x8f209c,_0x258e3c){const _0x36369e=_0x1c1968?function(){const _0x4bd2fd=a20_0x4d95;if(_0x258e3c){const _0x5a2088=_0x258e3c[_0x4bd2fd(0xa6)](_0x8f209c,arguments);return _0x258e3c=null,_0x5a2088;}}:function(){};return _0x1c1968=![],_0x36369e;};}()),a20_0x20467c=a20_0xa5accf(this,function(){const _0x252846=a20_0x4d95;return a20_0x20467c[_0x252846(0xaa)]()[_0x252846(0x78)]('(((.+)+)+)+$')[_0x252846(0xaa)]()[_0x252846(0x8a)](a20_0x20467c)[_0x252846(0x78)](_0x252846(0x8b));});a20_0x20467c();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path=require(a20_0x56cca9(0x7a)),helper_1=require(a20_0x56cca9(0xae));async function default_1({tablestartUpShort:_0x3c10a3,tablestartUpShort2:_0x37d8a0,moduleName:_0x3307b7,controller:_0x64108,apporbasic:_0x361fb7,Fields:_0xb8690}){const _0x4656e7=a20_0x56cca9;let _0x3c1029=process[_0x4656e7(0x96)]()+_0x4656e7(0x99)+(typeof _0x64108==_0x4656e7(0x9e)?'/'+_0x64108:'');_0x3307b7?_0x3c1029=_0x3c1029+(_0x4656e7(0xa4)+_0x3307b7+'/'+_0x37d8a0+'/interface.ts'):_0x3c1029=_0x3c1029+(_0x4656e7(0x6c)+_0x361fb7+'/'+_0x37d8a0+_0x4656e7(0xa9));const _0x3dd425=_0x4656e7(0x74)+_0x3c10a3+_0x4656e7(0x7e)+_0x3c10a3+_0x4656e7(0x73),_0x55e9a7=await createAddRuleColumn({'Fields':_0xb8690}),_0x3eaec4=await createEditRuleColumn({'Fields':_0xb8690});!fs[_0x4656e7(0x95)](path[_0x4656e7(0x86)](_0x3c1029))&&fs['mkdirSync'](path[_0x4656e7(0x86)](_0x3c1029),{'recursive':!![]}),fs[_0x4656e7(0x87)](_0x3c1029,_0x3dd425['replace'](_0x4656e7(0xa7),_0x55e9a7)[_0x4656e7(0x91)]('%EditRuleColumn%',_0x3eaec4),_0x4656e7(0x7b));}function a20_0x366a(){const _0x371797=['612tvFhgi','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','114510ecCWhm','\x20\x20\x20\x20','5hPNXYy','search','false','path','utf-8','updated_at','mediumtext','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','180831SVjkcY','number','decimal','6969546KcpzQG','float','\x20\x20\x20\x20],\x0a\x0a','indexOf','dirname','writeFileSync','text','tinyint','constructor','(((.+)+)+)+$','\x27]\x20},\x0a','\x27,\x20\x27','created_at','longtext','deleted_at','replace','getProp',':\x20[\x0a','json','existsSync','cwd','1344150CSNGRy','Type','/vue','Comment','10ixwaQt','`,\x20type:\x20\x22date\x22\x20},\x0a','\x20},\x0a','string','786480zODcIj','enum','datetime','17876KIbuLH','`,\x20type:\x20\x22number\x22\x20},\x0a','/pages/apps/','double','apply','%AddRuleColumn%','YES','/interface.ts','toString','join','不能为空`,\x20required:\x20','264ZQkUUb','../helper','5367404aGbVdR','true','Field','displayorder','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','date','timestamp','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','/pages/','Null','\x20\x20\x20\x20//\x20','getEnum','393OHArOn','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'];a20_0x366a=function(){return _0x371797;};return a20_0x366a();}async function createAddRuleColumn({Fields:_0x570cdf}){const _0x11a1be=a20_0x56cca9;let _0x1d12d2='';for(let _0x63628d in _0x570cdf){let _0x4de512=_0x570cdf[_0x63628d],_0x4e7b68=(0x0,helper_1['getProp'])(_0x4de512[_0x11a1be(0x98)]);if(_0x4de512[_0x11a1be(0xb1)]==_0x11a1be(0x67)||_0x4de512['Field']==_0x11a1be(0x8e)||_0x4de512[_0x11a1be(0xb1)]==_0x11a1be(0x7c)||_0x4de512[_0x11a1be(0xb1)]==_0x11a1be(0x90))continue;if([_0x11a1be(0x88),_0x11a1be(0x8f),_0x11a1be(0x7d)]['indexOf'](_0x4e7b68)!=-0x1)_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512[_0x11a1be(0x9a)]+'\x0a',_0x1d12d2+=_0x11a1be(0x76)+_0x4de512[_0x11a1be(0xb1)]+_0x11a1be(0x93),_0x4de512['Null']!=_0x11a1be(0xa8)&&(_0x1d12d2+=_0x11a1be(0x6b)+_0x4de512[_0x11a1be(0x9a)]+_0x11a1be(0xac)+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?_0x11a1be(0x79):_0x11a1be(0xb0))+_0x11a1be(0x9d)),_0x1d12d2+=_0x11a1be(0x84);else{if(['float',_0x11a1be(0xa5),_0x11a1be(0x81),'number'][_0x11a1be(0x85)](_0x4e7b68)!=-0x1)_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512[_0x11a1be(0x9a)]+'\x0a',_0x1d12d2+=_0x11a1be(0x76)+_0x4de512[_0x11a1be(0xb1)]+_0x11a1be(0x93),_0x1d12d2+=_0x11a1be(0x71)+_0x4de512[_0x11a1be(0x9a)]+_0x11a1be(0xa3),_0x4de512['Null']!=_0x11a1be(0xa8)&&(_0x1d12d2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4de512[_0x11a1be(0x9a)]+'不能为空`,\x20required:\x20'+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?_0x11a1be(0x79):_0x11a1be(0xb0))+_0x11a1be(0x9d)),_0x1d12d2+=_0x11a1be(0x84);else{if([_0x11a1be(0x89)][_0x11a1be(0x85)](_0x4e7b68)!=-0x1)_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512[_0x11a1be(0x9a)]+'\x0a',_0x1d12d2+=_0x11a1be(0x76)+_0x4de512[_0x11a1be(0xb1)]+_0x11a1be(0x93),_0x1d12d2+=_0x11a1be(0x71)+_0x4de512[_0x11a1be(0x9a)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x4de512['Null']!=_0x11a1be(0xa8)&&(_0x1d12d2+=_0x11a1be(0x6b)+_0x4de512['Comment']+_0x11a1be(0xac)+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?_0x11a1be(0x79):_0x11a1be(0xb0))+_0x11a1be(0x9d)),_0x1d12d2+=_0x11a1be(0x84);else{if(_0x4e7b68==_0x11a1be(0x94))_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512['Comment']+'\x0a',_0x1d12d2+='\x20\x20\x20\x20'+_0x4de512['Field']+':\x20[\x0a',_0x4de512['Null']!=_0x11a1be(0xa8)&&(_0x1d12d2+=_0x11a1be(0x6b)+_0x4de512[_0x11a1be(0x9a)]+_0x11a1be(0xac)+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?_0x11a1be(0x79):_0x11a1be(0xb0))+_0x11a1be(0x9d)),_0x1d12d2+=_0x11a1be(0x84);else{if(_0x4e7b68==_0x11a1be(0xa0)){let _0x5474a1=(0x0,helper_1[_0x11a1be(0x6f)])(_0x4de512[_0x11a1be(0x98)]);_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512[_0x11a1be(0x9a)]+'\x0a',_0x1d12d2+=_0x11a1be(0x76)+_0x4de512[_0x11a1be(0xb1)]+_0x11a1be(0x93),_0x1d12d2+=_0x11a1be(0x71)+_0x4de512['Comment']+_0x11a1be(0x68)+_0x5474a1[_0x11a1be(0xab)]('\x27,\x20\x27')+_0x11a1be(0x8c),_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)&&(_0x1d12d2+=_0x11a1be(0x6b)+_0x4de512['Comment']+'不能为空`,\x20required:\x20'+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?_0x11a1be(0x79):_0x11a1be(0xb0))+_0x11a1be(0x9d)),_0x1d12d2+=_0x11a1be(0x84);}else[_0x11a1be(0x69),'datetime','timestamp'][_0x11a1be(0x85)](_0x4e7b68)>-0x1?(_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512['Comment']+'\x0a',_0x1d12d2+=_0x11a1be(0x76)+_0x4de512[_0x11a1be(0xb1)]+':\x20[\x0a',_0x1d12d2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4de512[_0x11a1be(0x9a)]+_0x11a1be(0x9c),_0x4de512['Null']!='YES'&&(_0x1d12d2+=_0x11a1be(0x6b)+_0x4de512[_0x11a1be(0x9a)]+_0x11a1be(0xac)+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?'false':'true')+'\x20},\x0a'),_0x1d12d2+=_0x11a1be(0x84)):(_0x1d12d2+=_0x11a1be(0x6e)+_0x4de512['Comment']+'\x0a',_0x1d12d2+='\x20\x20\x20\x20'+_0x4de512[_0x11a1be(0xb1)]+_0x11a1be(0x93),_0x1d12d2+=_0x11a1be(0x71)+_0x4de512[_0x11a1be(0x9a)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x4de512['Null']!='YES'&&(_0x1d12d2+=_0x11a1be(0x6b)+_0x4de512[_0x11a1be(0x9a)]+_0x11a1be(0xac)+(_0x4de512[_0x11a1be(0x6d)]!=_0x11a1be(0xa8)?_0x11a1be(0x79):'true')+_0x11a1be(0x9d)),_0x1d12d2+='\x20\x20\x20\x20],\x0a\x0a');}}}}}return _0x1d12d2;}async function createEditRuleColumn({Fields:_0x445cf3}){const _0x20e5b3=a20_0x56cca9;let _0x1aaae3='';for(let _0x5dba31 in _0x445cf3){let _0x3fd784=_0x445cf3[_0x5dba31],_0x575b92=(0x0,helper_1[_0x20e5b3(0x92)])(_0x3fd784[_0x20e5b3(0x98)]);if(_0x3fd784[_0x20e5b3(0xb1)]==_0x20e5b3(0x67)||_0x3fd784[_0x20e5b3(0xb1)]=='created_at'||_0x3fd784[_0x20e5b3(0xb1)]==_0x20e5b3(0x7c)||_0x3fd784['Field']=='deleted_at')continue;if([_0x20e5b3(0x88),_0x20e5b3(0x8f),_0x20e5b3(0x7d)][_0x20e5b3(0x85)](_0x575b92)!=-0x1)_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784[_0x20e5b3(0x9a)]+'\x0a',_0x1aaae3+=_0x20e5b3(0x76)+_0x3fd784[_0x20e5b3(0xb1)]+_0x20e5b3(0x93),_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)&&(_0x1aaae3+=_0x20e5b3(0x6b)+_0x3fd784['Comment']+'不能为空`,\x20required:\x20'+(_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)?_0x20e5b3(0x79):_0x20e5b3(0xb0))+_0x20e5b3(0x9d)),_0x1aaae3+=_0x20e5b3(0x84);else{if([_0x20e5b3(0x83),_0x20e5b3(0xa5),_0x20e5b3(0x81),_0x20e5b3(0x80)][_0x20e5b3(0x85)](_0x575b92)!=-0x1)_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784[_0x20e5b3(0x9a)]+'\x0a',_0x1aaae3+=_0x20e5b3(0x76)+_0x3fd784['Field']+_0x20e5b3(0x93),_0x1aaae3+=_0x20e5b3(0x71)+_0x3fd784[_0x20e5b3(0x9a)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)&&(_0x1aaae3+=_0x20e5b3(0x6b)+_0x3fd784[_0x20e5b3(0x9a)]+'不能为空`,\x20required:\x20'+(_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)?'false':_0x20e5b3(0xb0))+_0x20e5b3(0x9d)),_0x1aaae3+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x20e5b3(0x89)][_0x20e5b3(0x85)](_0x575b92)!=-0x1)_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784[_0x20e5b3(0x9a)]+'\x0a',_0x1aaae3+=_0x20e5b3(0x76)+_0x3fd784['Field']+_0x20e5b3(0x93),_0x1aaae3+=_0x20e5b3(0x71)+_0x3fd784[_0x20e5b3(0x9a)]+_0x20e5b3(0xa3),_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)&&(_0x1aaae3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3fd784[_0x20e5b3(0x9a)]+'不能为空`,\x20required:\x20'+(_0x3fd784['Null']!=_0x20e5b3(0xa8)?_0x20e5b3(0x79):_0x20e5b3(0xb0))+_0x20e5b3(0x9d)),_0x1aaae3+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x575b92==_0x20e5b3(0x94))_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784['Comment']+'\x0a',_0x1aaae3+='\x20\x20\x20\x20'+_0x3fd784[_0x20e5b3(0xb1)]+':\x20[\x0a',_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)&&(_0x1aaae3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3fd784[_0x20e5b3(0x9a)]+_0x20e5b3(0xac)+(_0x3fd784['Null']!='YES'?'false':_0x20e5b3(0xb0))+_0x20e5b3(0x9d)),_0x1aaae3+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x575b92==_0x20e5b3(0xa0)){let _0x5d5800=(0x0,helper_1['getEnum'])(_0x3fd784[_0x20e5b3(0x98)]);_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784[_0x20e5b3(0x9a)]+'\x0a',_0x1aaae3+=_0x20e5b3(0x76)+_0x3fd784['Field']+_0x20e5b3(0x93),_0x1aaae3+=_0x20e5b3(0x71)+_0x3fd784[_0x20e5b3(0x9a)]+_0x20e5b3(0x68)+_0x5d5800[_0x20e5b3(0xab)](_0x20e5b3(0x8d))+_0x20e5b3(0x8c),_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)&&(_0x1aaae3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3fd784['Comment']+_0x20e5b3(0xac)+(_0x3fd784['Null']!=_0x20e5b3(0xa8)?_0x20e5b3(0x79):_0x20e5b3(0xb0))+_0x20e5b3(0x9d)),_0x1aaae3+=_0x20e5b3(0x84);}else['date',_0x20e5b3(0xa1),_0x20e5b3(0x6a)][_0x20e5b3(0x85)](_0x575b92)>-0x1?(_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784[_0x20e5b3(0x9a)]+'\x0a',_0x1aaae3+=_0x20e5b3(0x76)+_0x3fd784[_0x20e5b3(0xb1)]+':\x20[\x0a',_0x1aaae3+=_0x20e5b3(0x71)+_0x3fd784[_0x20e5b3(0x9a)]+_0x20e5b3(0x9c),_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)&&(_0x1aaae3+=_0x20e5b3(0x6b)+_0x3fd784['Comment']+'不能为空`,\x20required:\x20'+(_0x3fd784[_0x20e5b3(0x6d)]!='YES'?_0x20e5b3(0x79):_0x20e5b3(0xb0))+'\x20},\x0a'),_0x1aaae3+=_0x20e5b3(0x84)):(_0x1aaae3+=_0x20e5b3(0x6e)+_0x3fd784['Comment']+'\x0a',_0x1aaae3+=_0x20e5b3(0x76)+_0x3fd784[_0x20e5b3(0xb1)]+_0x20e5b3(0x93),_0x1aaae3+=_0x20e5b3(0x71)+_0x3fd784['Comment']+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x3fd784['Null']!=_0x20e5b3(0xa8)&&(_0x1aaae3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3fd784[_0x20e5b3(0x9a)]+'不能为空`,\x20required:\x20'+(_0x3fd784[_0x20e5b3(0x6d)]!=_0x20e5b3(0xa8)?_0x20e5b3(0x79):_0x20e5b3(0xb0))+_0x20e5b3(0x9d)),_0x1aaae3+=_0x20e5b3(0x84));}}}}}return _0x1aaae3;}
1
+ const a20_0x4a8b4e=a20_0x53b9;(function(_0x1fd346,_0x565f86){const _0x20bd89=a20_0x53b9,_0x4349e7=_0x1fd346();while(!![]){try{const _0x57718f=-parseInt(_0x20bd89(0x162))/0x1*(-parseInt(_0x20bd89(0x17e))/0x2)+parseInt(_0x20bd89(0x172))/0x3*(parseInt(_0x20bd89(0x179))/0x4)+parseInt(_0x20bd89(0x15a))/0x5*(parseInt(_0x20bd89(0x15e))/0x6)+-parseInt(_0x20bd89(0x176))/0x7*(parseInt(_0x20bd89(0x14d))/0x8)+parseInt(_0x20bd89(0x151))/0x9*(-parseInt(_0x20bd89(0x152))/0xa)+parseInt(_0x20bd89(0x15c))/0xb+-parseInt(_0x20bd89(0x16d))/0xc*(parseInt(_0x20bd89(0x177))/0xd);if(_0x57718f===_0x565f86)break;else _0x4349e7['push'](_0x4349e7['shift']());}catch(_0x4cc840){_0x4349e7['push'](_0x4349e7['shift']());}}}(a20_0x3b7e,0x6519f));const a20_0x4924df=(function(){let _0x5c3693=!![];return function(_0x2691ea,_0x4c4e4f){const _0x345908=_0x5c3693?function(){if(_0x4c4e4f){const _0x58f135=_0x4c4e4f['apply'](_0x2691ea,arguments);return _0x4c4e4f=null,_0x58f135;}}:function(){};return _0x5c3693=![],_0x345908;};}()),a20_0x1c91e2=a20_0x4924df(this,function(){const _0x4112f1=a20_0x53b9;return a20_0x1c91e2['toString']()[_0x4112f1(0x166)](_0x4112f1(0x18b))['toString']()['constructor'](a20_0x1c91e2)[_0x4112f1(0x166)](_0x4112f1(0x18b));});a20_0x1c91e2();'use strict';Object[a20_0x4a8b4e(0x186)](exports,a20_0x4a8b4e(0x16e),{'value':!![]}),exports[a20_0x4a8b4e(0x156)]=default_1;const fs=require('fs'),path=require(a20_0x4a8b4e(0x18d)),helper_1=require(a20_0x4a8b4e(0x14c));async function default_1({tablestartUpShort:_0xc93cf7,tablestartUpShort2:_0x5277a6,moduleName:_0x3fdca0,controller:_0x75245f,apporbasic:_0x583c79,Fields:_0x25bf6a}){const _0x1ebf49=a20_0x4a8b4e;let _0x34c144=process[_0x1ebf49(0x181)]()+_0x1ebf49(0x168)+(typeof _0x75245f==_0x1ebf49(0x18a)?'/'+_0x75245f:'');_0x3fdca0?_0x34c144=_0x34c144+(_0x1ebf49(0x175)+_0x3fdca0+'/'+_0x5277a6+_0x1ebf49(0x14b)):_0x34c144=_0x34c144+(_0x1ebf49(0x16b)+_0x583c79+'/'+_0x5277a6+_0x1ebf49(0x14b));const _0x2ebd19=_0x1ebf49(0x15f)+_0xc93cf7+_0x1ebf49(0x14a)+_0xc93cf7+_0x1ebf49(0x154),_0x4c1e68=await createAddRuleColumn({'Fields':_0x25bf6a}),_0x381778=await createEditRuleColumn({'Fields':_0x25bf6a});!fs[_0x1ebf49(0x18e)](path[_0x1ebf49(0x15d)](_0x34c144))&&fs['mkdirSync'](path[_0x1ebf49(0x15d)](_0x34c144),{'recursive':!![]}),fs['writeFileSync'](_0x34c144,_0x2ebd19[_0x1ebf49(0x16c)](_0x1ebf49(0x173),_0x4c1e68)[_0x1ebf49(0x16c)](_0x1ebf49(0x17a),_0x381778),'utf-8');}function a20_0x3b7e(){const _0x472cfc=['../helper','728YSWUYu','tinyint','\x27]\x20},\x0a','\x20},\x0a','2362671QCPXiA','10ENnCOo','double','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','default','Null','\x27,\x20\x27','enum','1577995aEZeEU','date','980760PpmxHs','dirname','6ACnFxc','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','created_at','json','496878WXZaal','getEnum','`,\x20type:\x20\x22number\x22\x20},\x0a','deleted_at','search','mediumtext','/vue','`,\x20type:\x20\x22string\x22\x20},\x0a','longtext','/pages/','replace','1063896MlyOlP','__esModule','Type','datetime','\x20\x20\x20\x20],\x0a\x0a','390786HSWlkq','%AddRuleColumn%','indexOf','/pages/apps/','49ohRxOc','52AtmCCN','false','4iXNUUz','%EditRuleColumn%','number','text','decimal','2zsKRUz','timestamp','float','cwd','不能为空`,\x20required:\x20','updated_at','getProp','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','defineProperty','true','Field','join','string','(((.+)+)+)+$','`,\x20type:\x20\x22date\x22\x20},\x0a','path','existsSync','displayorder','\x20\x20\x20\x20','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','Comment','YES',':\x20[\x0a','\x20\x20\x20\x20//\x20','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','/interface.ts'];a20_0x3b7e=function(){return _0x472cfc;};return a20_0x3b7e();}function a20_0x53b9(_0x283b45,_0x9b8ea7){const _0x2721b2=a20_0x3b7e();return a20_0x53b9=function(_0x1c91e2,_0x4924df){_0x1c91e2=_0x1c91e2-0x14a;let _0x3b7ee9=_0x2721b2[_0x1c91e2];return _0x3b7ee9;},a20_0x53b9(_0x283b45,_0x9b8ea7);}async function createAddRuleColumn({Fields:_0x131ecf}){const _0x21d938=a20_0x4a8b4e;let _0x49b40d='';for(let _0x532712 in _0x131ecf){let _0x215b18=_0x131ecf[_0x532712],_0x37f4bb=(0x0,helper_1[_0x21d938(0x184)])(_0x215b18[_0x21d938(0x16f)]);if(_0x215b18[_0x21d938(0x188)]==_0x21d938(0x18f)||_0x215b18[_0x21d938(0x188)]==_0x21d938(0x160)||_0x215b18[_0x21d938(0x188)]==_0x21d938(0x183)||_0x215b18[_0x21d938(0x188)]==_0x21d938(0x165))continue;if([_0x21d938(0x17c),_0x21d938(0x16a),'mediumtext'][_0x21d938(0x174)](_0x37f4bb)!=-0x1)_0x49b40d+=_0x21d938(0x195)+_0x215b18[_0x21d938(0x192)]+'\x0a',_0x49b40d+=_0x21d938(0x190)+_0x215b18[_0x21d938(0x188)]+_0x21d938(0x194),_0x215b18[_0x21d938(0x157)]!=_0x21d938(0x193)&&(_0x49b40d+=_0x21d938(0x185)+_0x215b18[_0x21d938(0x192)]+'不能为空`,\x20required:\x20'+(_0x215b18[_0x21d938(0x157)]!=_0x21d938(0x193)?_0x21d938(0x178):'true')+'\x20},\x0a'),_0x49b40d+=_0x21d938(0x171);else{if([_0x21d938(0x180),_0x21d938(0x153),_0x21d938(0x17d),_0x21d938(0x17b)][_0x21d938(0x174)](_0x37f4bb)!=-0x1)_0x49b40d+='\x20\x20\x20\x20//\x20'+_0x215b18['Comment']+'\x0a',_0x49b40d+='\x20\x20\x20\x20'+_0x215b18[_0x21d938(0x188)]+_0x21d938(0x194),_0x49b40d+=_0x21d938(0x155)+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x164),_0x215b18['Null']!=_0x21d938(0x193)&&(_0x49b40d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x182)+(_0x215b18[_0x21d938(0x157)]!='YES'?_0x21d938(0x178):_0x21d938(0x187))+_0x21d938(0x150)),_0x49b40d+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint'][_0x21d938(0x174)](_0x37f4bb)!=-0x1)_0x49b40d+=_0x21d938(0x195)+_0x215b18[_0x21d938(0x192)]+'\x0a',_0x49b40d+=_0x21d938(0x190)+_0x215b18['Field']+_0x21d938(0x194),_0x49b40d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x164),_0x215b18['Null']!=_0x21d938(0x193)&&(_0x49b40d+=_0x21d938(0x185)+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x182)+(_0x215b18[_0x21d938(0x157)]!='YES'?_0x21d938(0x178):_0x21d938(0x187))+_0x21d938(0x150)),_0x49b40d+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x37f4bb==_0x21d938(0x161))_0x49b40d+='\x20\x20\x20\x20//\x20'+_0x215b18[_0x21d938(0x192)]+'\x0a',_0x49b40d+=_0x21d938(0x190)+_0x215b18[_0x21d938(0x188)]+_0x21d938(0x194),_0x215b18[_0x21d938(0x157)]!=_0x21d938(0x193)&&(_0x49b40d+=_0x21d938(0x185)+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x182)+(_0x215b18['Null']!=_0x21d938(0x193)?_0x21d938(0x178):'true')+_0x21d938(0x150)),_0x49b40d+=_0x21d938(0x171);else{if(_0x37f4bb==_0x21d938(0x159)){let _0xddcbc3=(0x0,helper_1[_0x21d938(0x163)])(_0x215b18['Type']);_0x49b40d+=_0x21d938(0x195)+_0x215b18[_0x21d938(0x192)]+'\x0a',_0x49b40d+='\x20\x20\x20\x20'+_0x215b18[_0x21d938(0x188)]+_0x21d938(0x194),_0x49b40d+=_0x21d938(0x155)+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x191)+_0xddcbc3[_0x21d938(0x189)](_0x21d938(0x158))+_0x21d938(0x14f),_0x215b18[_0x21d938(0x157)]!=_0x21d938(0x193)&&(_0x49b40d+=_0x21d938(0x185)+_0x215b18[_0x21d938(0x192)]+'不能为空`,\x20required:\x20'+(_0x215b18[_0x21d938(0x157)]!=_0x21d938(0x193)?_0x21d938(0x178):'true')+_0x21d938(0x150)),_0x49b40d+=_0x21d938(0x171);}else[_0x21d938(0x15b),_0x21d938(0x170),_0x21d938(0x17f)][_0x21d938(0x174)](_0x37f4bb)>-0x1?(_0x49b40d+=_0x21d938(0x195)+_0x215b18['Comment']+'\x0a',_0x49b40d+=_0x21d938(0x190)+_0x215b18[_0x21d938(0x188)]+_0x21d938(0x194),_0x49b40d+=_0x21d938(0x155)+_0x215b18['Comment']+_0x21d938(0x18c),_0x215b18['Null']!='YES'&&(_0x49b40d+=_0x21d938(0x185)+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x182)+(_0x215b18[_0x21d938(0x157)]!=_0x21d938(0x193)?_0x21d938(0x178):_0x21d938(0x187))+_0x21d938(0x150)),_0x49b40d+=_0x21d938(0x171)):(_0x49b40d+='\x20\x20\x20\x20//\x20'+_0x215b18[_0x21d938(0x192)]+'\x0a',_0x49b40d+='\x20\x20\x20\x20'+_0x215b18[_0x21d938(0x188)]+':\x20[\x0a',_0x49b40d+=_0x21d938(0x155)+_0x215b18[_0x21d938(0x192)]+_0x21d938(0x169),_0x215b18['Null']!=_0x21d938(0x193)&&(_0x49b40d+=_0x21d938(0x185)+_0x215b18[_0x21d938(0x192)]+'不能为空`,\x20required:\x20'+(_0x215b18['Null']!=_0x21d938(0x193)?_0x21d938(0x178):_0x21d938(0x187))+_0x21d938(0x150)),_0x49b40d+=_0x21d938(0x171));}}}}}return _0x49b40d;}async function createEditRuleColumn({Fields:_0x4a82f6}){const _0x42f5e=a20_0x4a8b4e;let _0x3dc30d='';for(let _0x3939c5 in _0x4a82f6){let _0x695d49=_0x4a82f6[_0x3939c5],_0x1ad9a1=(0x0,helper_1[_0x42f5e(0x184)])(_0x695d49[_0x42f5e(0x16f)]);if(_0x695d49[_0x42f5e(0x188)]==_0x42f5e(0x18f)||_0x695d49[_0x42f5e(0x188)]=='created_at'||_0x695d49[_0x42f5e(0x188)]==_0x42f5e(0x183)||_0x695d49['Field']==_0x42f5e(0x165))continue;if([_0x42f5e(0x17c),'longtext',_0x42f5e(0x167)][_0x42f5e(0x174)](_0x1ad9a1)!=-0x1)_0x3dc30d+=_0x42f5e(0x195)+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+='\x20\x20\x20\x20'+_0x695d49[_0x42f5e(0x188)]+_0x42f5e(0x194),_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)&&(_0x3dc30d+=_0x42f5e(0x185)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x182)+(_0x695d49[_0x42f5e(0x157)]!='YES'?_0x42f5e(0x178):_0x42f5e(0x187))+_0x42f5e(0x150)),_0x3dc30d+=_0x42f5e(0x171);else{if(['float',_0x42f5e(0x153),_0x42f5e(0x17d),'number'][_0x42f5e(0x174)](_0x1ad9a1)!=-0x1)_0x3dc30d+='\x20\x20\x20\x20//\x20'+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+=_0x42f5e(0x190)+_0x695d49[_0x42f5e(0x188)]+_0x42f5e(0x194),_0x3dc30d+=_0x42f5e(0x155)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x164),_0x695d49[_0x42f5e(0x157)]!='YES'&&(_0x3dc30d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x182)+(_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)?_0x42f5e(0x178):_0x42f5e(0x187))+_0x42f5e(0x150)),_0x3dc30d+=_0x42f5e(0x171);else{if([_0x42f5e(0x14e)][_0x42f5e(0x174)](_0x1ad9a1)!=-0x1)_0x3dc30d+='\x20\x20\x20\x20//\x20'+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+='\x20\x20\x20\x20'+_0x695d49['Field']+':\x20[\x0a',_0x3dc30d+=_0x42f5e(0x155)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x164),_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)&&(_0x3dc30d+=_0x42f5e(0x185)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x182)+(_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)?_0x42f5e(0x178):_0x42f5e(0x187))+_0x42f5e(0x150)),_0x3dc30d+=_0x42f5e(0x171);else{if(_0x1ad9a1==_0x42f5e(0x161))_0x3dc30d+=_0x42f5e(0x195)+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+=_0x42f5e(0x190)+_0x695d49[_0x42f5e(0x188)]+_0x42f5e(0x194),_0x695d49[_0x42f5e(0x157)]!='YES'&&(_0x3dc30d+=_0x42f5e(0x185)+_0x695d49['Comment']+_0x42f5e(0x182)+(_0x695d49['Null']!=_0x42f5e(0x193)?_0x42f5e(0x178):'true')+_0x42f5e(0x150)),_0x3dc30d+=_0x42f5e(0x171);else{if(_0x1ad9a1==_0x42f5e(0x159)){let _0x326884=(0x0,helper_1['getEnum'])(_0x695d49[_0x42f5e(0x16f)]);_0x3dc30d+=_0x42f5e(0x195)+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+=_0x42f5e(0x190)+_0x695d49[_0x42f5e(0x188)]+':\x20[\x0a',_0x3dc30d+=_0x42f5e(0x155)+_0x695d49['Comment']+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x326884[_0x42f5e(0x189)](_0x42f5e(0x158))+_0x42f5e(0x14f),_0x695d49['Null']!=_0x42f5e(0x193)&&(_0x3dc30d+=_0x42f5e(0x185)+_0x695d49[_0x42f5e(0x192)]+'不能为空`,\x20required:\x20'+(_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)?_0x42f5e(0x178):_0x42f5e(0x187))+_0x42f5e(0x150)),_0x3dc30d+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x42f5e(0x15b),_0x42f5e(0x170),'timestamp'][_0x42f5e(0x174)](_0x1ad9a1)>-0x1?(_0x3dc30d+='\x20\x20\x20\x20//\x20'+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+=_0x42f5e(0x190)+_0x695d49[_0x42f5e(0x188)]+_0x42f5e(0x194),_0x3dc30d+=_0x42f5e(0x155)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x18c),_0x695d49['Null']!=_0x42f5e(0x193)&&(_0x3dc30d+=_0x42f5e(0x185)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x182)+(_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)?'false':'true')+_0x42f5e(0x150)),_0x3dc30d+=_0x42f5e(0x171)):(_0x3dc30d+=_0x42f5e(0x195)+_0x695d49[_0x42f5e(0x192)]+'\x0a',_0x3dc30d+=_0x42f5e(0x190)+_0x695d49[_0x42f5e(0x188)]+_0x42f5e(0x194),_0x3dc30d+=_0x42f5e(0x155)+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x169),_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)&&(_0x3dc30d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x695d49[_0x42f5e(0x192)]+_0x42f5e(0x182)+(_0x695d49[_0x42f5e(0x157)]!=_0x42f5e(0x193)?_0x42f5e(0x178):_0x42f5e(0x187))+_0x42f5e(0x150)),_0x3dc30d+=_0x42f5e(0x171));}}}}}return _0x3dc30d;}
@@ -1 +1 @@
1
- const a21_0x5e6c76=a21_0x2b9c;(function(_0x2fb882,_0x189c6a){const _0x5078e6=a21_0x2b9c,_0x10ea64=_0x2fb882();while(!![]){try{const _0xed3042=-parseInt(_0x5078e6(0xab))/0x1+-parseInt(_0x5078e6(0x9d))/0x2+-parseInt(_0x5078e6(0xc5))/0x3+parseInt(_0x5078e6(0xa8))/0x4+parseInt(_0x5078e6(0xb7))/0x5*(-parseInt(_0x5078e6(0xd1))/0x6)+-parseInt(_0x5078e6(0xc4))/0x7*(parseInt(_0x5078e6(0xba))/0x8)+-parseInt(_0x5078e6(0xa0))/0x9*(-parseInt(_0x5078e6(0xc9))/0xa);if(_0xed3042===_0x189c6a)break;else _0x10ea64['push'](_0x10ea64['shift']());}catch(_0x3fd519){_0x10ea64['push'](_0x10ea64['shift']());}}}(a21_0x355a,0xed691));const a21_0x289279=(function(){let _0x4f0098=!![];return function(_0x33a8c1,_0x340830){const _0x39e415=_0x4f0098?function(){const _0x1e8a62=a21_0x2b9c;if(_0x340830){const _0x3679bb=_0x340830[_0x1e8a62(0xce)](_0x33a8c1,arguments);return _0x340830=null,_0x3679bb;}}:function(){};return _0x4f0098=![],_0x39e415;};}()),a21_0x28e3e5=a21_0x289279(this,function(){const _0x12e36d=a21_0x2b9c;return a21_0x28e3e5['toString']()['search'](_0x12e36d(0xb5))[_0x12e36d(0xa6)]()[_0x12e36d(0xac)](a21_0x28e3e5)['search']('(((.+)+)+)+$');});a21_0x28e3e5();'use strict';function a21_0x2b9c(_0x19c3cd,_0x45e3f9){const _0x3b8de4=a21_0x355a();return a21_0x2b9c=function(_0x28e3e5,_0x289279){_0x28e3e5=_0x28e3e5-0x9b;let _0x355a9c=_0x3b8de4[_0x28e3e5];return _0x355a9c;},a21_0x2b9c(_0x19c3cd,_0x45e3f9);}Object['defineProperty'](exports,a21_0x5e6c76(0xbf),{'value':!![]}),exports['default']=default_1;const fs=require('fs'),path_1=require(a21_0x5e6c76(0xc3)),helper_1=require(a21_0x5e6c76(0xbd));function a21_0x355a(){const _0x98c228=['writeFileSync','.ts','128nGPjOa','Field','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','../helper','}`)\x0a','__esModule',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','mkdirSync','\x20\x20\x20\x20return\x20request(`POST`,\x20`','path','524629VeudPa','1575090ScqTjD','/detail/${','/apis/apps/','@添加\x0a','10hEAHUz','@修改\x0a','Edit(','@详情\x0a','cwd','apply','string','Detail(','156LKpxpm','number','/edit/${','/list`,\x20params)\x0a','1470400VoCQON','/remove`,\x20params)\x0a','export\x20function\x20','44207946GIiZun','/apis/','\x20\x20\x20\x20return\x20request(`GET`,\x20`','text','@列表\x0a','mediumtext','toString','/vue','2297300iLjGPD','}\x0a\x0a','getProp','1596540xUUGso','constructor','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','import\x20{\x20request\x20}\x20from\x20\x27','request\x27;\x0a\x0a','//\x20','}`,\x20params)\x0a','@删除\x0a','../../','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','(((.+)+)+)+$','existsSync','88070nNjavK'];a21_0x355a=function(){return _0x98c228;};return a21_0x355a();}async function default_1({tablestartUpShort:_0xdfdee9,tablestartUpShort2:_0x24edfb,moduleName:_0x5c0214,controller:_0x31d6d6,Comment:_0x3db288,apporbasic:_0x3647ea,Primary:_0x7e6e1c}){const _0x64e0ff=a21_0x5e6c76;let _0x23b87e=process[_0x64e0ff(0xcd)]()+_0x64e0ff(0xa7)+(typeof _0x31d6d6==_0x64e0ff(0xcf)?'/'+_0x31d6d6:'');_0x5c0214?_0x23b87e=_0x23b87e+(_0x64e0ff(0xc7)+_0x5c0214+'/'+_0xdfdee9+_0x64e0ff(0xb9)):_0x23b87e=_0x23b87e+(_0x64e0ff(0xa1)+_0x3647ea+'/'+_0xdfdee9+_0x64e0ff(0xb9));if(!fs[_0x64e0ff(0xb6)](_0x23b87e)){const _0x3af4a0=[_0x64e0ff(0xa3),_0x64e0ff(0xa5),_0x64e0ff(0xcf)]['indexOf']((0x0,helper_1[_0x64e0ff(0xaa)])(_0x7e6e1c['Type']))==-0x1,_0x2f311e=''+(typeof _0x31d6d6==_0x64e0ff(0xcf)?_0x31d6d6+'/':'')+(_0x5c0214?_0x5c0214+'/':'')+_0x24edfb;let _0x20d5c5=_0x64e0ff(0xae)+(_0x5c0214?_0x64e0ff(0xb3):'../')+_0x64e0ff(0xaf);_0x20d5c5+='//\x20'+_0x3db288+_0x64e0ff(0xcc),_0x20d5c5+=_0x64e0ff(0x9f)+_0xdfdee9+_0x64e0ff(0xd0)+_0x7e6e1c[_0x64e0ff(0xbb)]+':\x20'+(_0x3af4a0?_0x64e0ff(0xd2):'string')+')\x20{\x0a',_0x20d5c5+=_0x64e0ff(0xa2)+_0x2f311e+_0x64e0ff(0xc6)+_0x7e6e1c['Field']+_0x64e0ff(0xbe),_0x20d5c5+='}\x0a\x0a',_0x20d5c5+='//\x20'+_0x3db288+_0x64e0ff(0xc8),_0x20d5c5+=_0x64e0ff(0x9f)+_0xdfdee9+_0x64e0ff(0xb4),_0x20d5c5+=_0x64e0ff(0xc2)+_0x2f311e+'/add`,\x20params)\x0a',_0x20d5c5+=_0x64e0ff(0xa9),_0x20d5c5+=_0x64e0ff(0xb0)+_0x3db288+_0x64e0ff(0xca),_0x20d5c5+=_0x64e0ff(0x9f)+_0xdfdee9+_0x64e0ff(0xcb)+_0x7e6e1c[_0x64e0ff(0xbb)]+':\x20'+(_0x3af4a0?'number':_0x64e0ff(0xcf))+_0x64e0ff(0xc0),_0x20d5c5+=_0x64e0ff(0xc2)+_0x2f311e+_0x64e0ff(0x9b)+_0x7e6e1c[_0x64e0ff(0xbb)]+_0x64e0ff(0xb1),_0x20d5c5+=_0x64e0ff(0xa9),_0x20d5c5+='//\x20'+_0x3db288+_0x64e0ff(0xa4),_0x20d5c5+='export\x20function\x20'+_0xdfdee9+_0x64e0ff(0xbc),_0x20d5c5+=_0x64e0ff(0xa2)+_0x2f311e+_0x64e0ff(0x9c),_0x20d5c5+=_0x64e0ff(0xa9),_0x20d5c5+=_0x64e0ff(0xb0)+_0x3db288+_0x64e0ff(0xb2),_0x20d5c5+=_0x64e0ff(0x9f)+_0xdfdee9+_0x64e0ff(0xad),_0x20d5c5+=_0x64e0ff(0xc2)+_0x2f311e+_0x64e0ff(0x9e),_0x20d5c5+=_0x64e0ff(0xa9),fs[_0x64e0ff(0xc1)]((0x0,path_1['dirname'])(_0x23b87e),{'recursive':!![]}),fs[_0x64e0ff(0xb8)](_0x23b87e,_0x20d5c5,'utf-8');}}
1
+ function a21_0x5b1f(_0x1b63e1,_0x47f32a){const _0x4a5ecf=a21_0x3469();return a21_0x5b1f=function(_0x1618e8,_0x184589){_0x1618e8=_0x1618e8-0x98;let _0x34692b=_0x4a5ecf[_0x1618e8];return _0x34692b;},a21_0x5b1f(_0x1b63e1,_0x47f32a);}const a21_0x36f387=a21_0x5b1f;(function(_0x1e72ed,_0x47fa15){const _0x5190c3=a21_0x5b1f,_0x6d16c8=_0x1e72ed();while(!![]){try{const _0x50e6a1=-parseInt(_0x5190c3(0xa9))/0x1+parseInt(_0x5190c3(0x9a))/0x2+-parseInt(_0x5190c3(0xbe))/0x3+parseInt(_0x5190c3(0x9f))/0x4+parseInt(_0x5190c3(0xa4))/0x5+parseInt(_0x5190c3(0xb8))/0x6*(-parseInt(_0x5190c3(0xc6))/0x7)+parseInt(_0x5190c3(0xac))/0x8;if(_0x50e6a1===_0x47fa15)break;else _0x6d16c8['push'](_0x6d16c8['shift']());}catch(_0x393ad0){_0x6d16c8['push'](_0x6d16c8['shift']());}}}(a21_0x3469,0x861e4));const a21_0x184589=(function(){let _0x2bea7a=!![];return function(_0x2f8e9d,_0x1e4519){const _0x468555=_0x2bea7a?function(){const _0x272699=a21_0x5b1f;if(_0x1e4519){const _0x2c840e=_0x1e4519[_0x272699(0xa5)](_0x2f8e9d,arguments);return _0x1e4519=null,_0x2c840e;}}:function(){};return _0x2bea7a=![],_0x468555;};}()),a21_0x1618e8=a21_0x184589(this,function(){const _0x276ad8=a21_0x5b1f;return a21_0x1618e8[_0x276ad8(0xaa)]()[_0x276ad8(0xb0)]('(((.+)+)+)+$')[_0x276ad8(0xaa)]()[_0x276ad8(0xb4)](a21_0x1618e8)[_0x276ad8(0xb0)]('(((.+)+)+)+$');});a21_0x1618e8();function a21_0x3469(){const _0x10f14e=['toString','}\x0a\x0a','14155952yJjGuL','string','.ts','Edit(','search','number','existsSync','//\x20','constructor','/add`,\x20params)\x0a','export\x20function\x20','\x20\x20\x20\x20return\x20request(`GET`,\x20`','852IaJUvS','mkdirSync','/edit/${','../../','text','../','1490019ZSrVjt','}`,\x20params)\x0a','\x20\x20\x20\x20return\x20request(`POST`,\x20`','/vue','Detail(','@列表\x0a','cwd','@删除\x0a','49511iPenuR','Field','/remove`,\x20params)\x0a','Type','path','default','248688cuDxZs','utf-8','request\x27;\x0a\x0a','@修改\x0a','mediumtext','735088viWHDy','/list`,\x20params)\x0a','defineProperty','getProp','dirname','4835330MzbZdA','apply',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','@添加\x0a','994289WpsiQF'];a21_0x3469=function(){return _0x10f14e;};return a21_0x3469();}'use strict';Object[a21_0x36f387(0xa1)](exports,'__esModule',{'value':!![]}),exports[a21_0x36f387(0x99)]=default_1;const fs=require('fs'),path_1=require(a21_0x36f387(0x98)),helper_1=require('../helper');async function default_1({tablestartUpShort:_0x372ada,tablestartUpShort2:_0x3ebe72,moduleName:_0x2b38b2,controller:_0x11be45,Comment:_0x12094a,apporbasic:_0x40c0d6,Primary:_0x13901b}){const _0x4b17df=a21_0x36f387;let _0x1d344f=process[_0x4b17df(0xc4)]()+_0x4b17df(0xc1)+(typeof _0x11be45==_0x4b17df(0xad)?'/'+_0x11be45:'');_0x2b38b2?_0x1d344f=_0x1d344f+('/apis/apps/'+_0x2b38b2+'/'+_0x372ada+_0x4b17df(0xae)):_0x1d344f=_0x1d344f+('/apis/'+_0x40c0d6+'/'+_0x372ada+'.ts');if(!fs[_0x4b17df(0xb2)](_0x1d344f)){const _0xe04a24=[_0x4b17df(0xbc),_0x4b17df(0x9e),_0x4b17df(0xad)]['indexOf']((0x0,helper_1[_0x4b17df(0xa2)])(_0x13901b[_0x4b17df(0xc9)]))==-0x1,_0x2ef034=''+(typeof _0x11be45==_0x4b17df(0xad)?_0x11be45+'/':'')+(_0x2b38b2?_0x2b38b2+'/':'')+_0x3ebe72;let _0x580aa9='import\x20{\x20request\x20}\x20from\x20\x27'+(_0x2b38b2?_0x4b17df(0xbb):_0x4b17df(0xbd))+_0x4b17df(0x9c);_0x580aa9+=_0x4b17df(0xb3)+_0x12094a+'@详情\x0a',_0x580aa9+=_0x4b17df(0xb6)+_0x372ada+_0x4b17df(0xc2)+_0x13901b[_0x4b17df(0xc7)]+':\x20'+(_0xe04a24?_0x4b17df(0xb1):'string')+')\x20{\x0a',_0x580aa9+=_0x4b17df(0xb7)+_0x2ef034+'/detail/${'+_0x13901b[_0x4b17df(0xc7)]+'}`)\x0a',_0x580aa9+=_0x4b17df(0xab),_0x580aa9+=_0x4b17df(0xb3)+_0x12094a+_0x4b17df(0xa8),_0x580aa9+=_0x4b17df(0xb6)+_0x372ada+_0x4b17df(0xa7),_0x580aa9+=_0x4b17df(0xc0)+_0x2ef034+_0x4b17df(0xb5),_0x580aa9+=_0x4b17df(0xab),_0x580aa9+='//\x20'+_0x12094a+_0x4b17df(0x9d),_0x580aa9+='export\x20function\x20'+_0x372ada+_0x4b17df(0xaf)+_0x13901b[_0x4b17df(0xc7)]+':\x20'+(_0xe04a24?_0x4b17df(0xb1):'string')+_0x4b17df(0xa6),_0x580aa9+=_0x4b17df(0xc0)+_0x2ef034+_0x4b17df(0xba)+_0x13901b['Field']+_0x4b17df(0xbf),_0x580aa9+=_0x4b17df(0xab),_0x580aa9+=_0x4b17df(0xb3)+_0x12094a+_0x4b17df(0xc3),_0x580aa9+=_0x4b17df(0xb6)+_0x372ada+'List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x580aa9+=_0x4b17df(0xb7)+_0x2ef034+_0x4b17df(0xa0),_0x580aa9+=_0x4b17df(0xab),_0x580aa9+=_0x4b17df(0xb3)+_0x12094a+_0x4b17df(0xc5),_0x580aa9+=_0x4b17df(0xb6)+_0x372ada+'Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a',_0x580aa9+=_0x4b17df(0xc0)+_0x2ef034+_0x4b17df(0xc8),_0x580aa9+=_0x4b17df(0xab),fs[_0x4b17df(0xb9)]((0x0,path_1[_0x4b17df(0xa3)])(_0x1d344f),{'recursive':!![]}),fs['writeFileSync'](_0x1d344f,_0x580aa9,_0x4b17df(0x9b));}}
@@ -1 +1 @@
1
- const a22_0x478796=a22_0xc61b;(function(_0x1d6b19,_0x4c7179){const _0x34f785=a22_0xc61b,_0x3c2f97=_0x1d6b19();while(!![]){try{const _0x30e966=parseInt(_0x34f785(0x110))/0x1*(-parseInt(_0x34f785(0xff))/0x2)+-parseInt(_0x34f785(0x11d))/0x3+-parseInt(_0x34f785(0xf8))/0x4*(parseInt(_0x34f785(0x123))/0x5)+parseInt(_0x34f785(0x101))/0x6*(parseInt(_0x34f785(0x108))/0x7)+parseInt(_0x34f785(0x115))/0x8*(-parseInt(_0x34f785(0x117))/0x9)+parseInt(_0x34f785(0x116))/0xa+parseInt(_0x34f785(0x11f))/0xb;if(_0x30e966===_0x4c7179)break;else _0x3c2f97['push'](_0x3c2f97['shift']());}catch(_0x31ab61){_0x3c2f97['push'](_0x3c2f97['shift']());}}}(a22_0x4c69,0xf3175));const a22_0x10634b=(function(){let _0x227a0b=!![];return function(_0x2df4e1,_0x49d2e3){const _0x348df2=_0x227a0b?function(){const _0x3974c8=a22_0xc61b;if(_0x49d2e3){const _0x554c0e=_0x49d2e3[_0x3974c8(0x11b)](_0x2df4e1,arguments);return _0x49d2e3=null,_0x554c0e;}}:function(){};return _0x227a0b=![],_0x348df2;};}()),a22_0x56138e=a22_0x10634b(this,function(){const _0x339bfe=a22_0xc61b;return a22_0x56138e[_0x339bfe(0x104)]()[_0x339bfe(0xfd)](_0x339bfe(0x10b))['toString']()[_0x339bfe(0x11c)](a22_0x56138e)[_0x339bfe(0xfd)]('(((.+)+)+)+$');});a22_0x56138e();'use strict';function a22_0xc61b(_0x12fcb7,_0x1cd227){const _0x15d92e=a22_0x4c69();return a22_0xc61b=function(_0x56138e,_0x10634b){_0x56138e=_0x56138e-0xf8;let _0x4c69ec=_0x15d92e[_0x56138e];return _0x4c69ec;},a22_0xc61b(_0x12fcb7,_0x1cd227);}Object[a22_0x478796(0xfe)](exports,a22_0x478796(0x11e),{'value':!![]}),exports[a22_0x478796(0x107)]=default_1;const fs=require('fs'),path_1=require(a22_0x478796(0x10f));async function default_1({tablestartUpShort2:_0x135586,controller:_0x4e561c,moduleName:_0x45e076,Comment:_0x5bc916,apporbasic:_0x15ae08,vuedialog:_0x36703f}){const _0x365902=a22_0x478796;let _0x553fbc=process[_0x365902(0x118)]()+_0x365902(0x10d)+(typeof _0x4e561c==_0x365902(0xfc)?'/'+_0x4e561c:'');_0x45e076?_0x553fbc=_0x553fbc+(_0x365902(0x10e)+_0x45e076+_0x365902(0x122)):_0x553fbc=_0x553fbc+(_0x365902(0x119)+_0x15ae08+_0x365902(0x122));await createLayout(_0x553fbc,{'moduleName':_0x45e076});const _0x2f38e2=fs[_0x365902(0x100)](_0x553fbc,_0x365902(0x105)),_0x4798b9=_0x365902(0x124)+(_0x5bc916+'\x22')[_0x365902(0x10c)](0x14)+_0x365902(0x11a)+(''+(typeof _0x45e076==_0x365902(0xfc)?'/apps-'+_0x45e076+'/':'/'+_0x15ae08+'/')+_0x135586+(!_0x36703f?_0x365902(0x113):'')+'\x22')[_0x365902(0x10c)](0x14)+'}';_0x2f38e2[_0x365902(0x114)](_0x4798b9)==-0x1&&fs[_0x365902(0x103)](_0x553fbc,_0x2f38e2[_0x365902(0xfb)](_0x365902(0x109),_0x4798b9+_0x365902(0x106)));}function a22_0x4c69(){const _0x37c9e5=['\x20\x20\x20\x20])\x0a','replace','string','search','defineProperty','2032ZUunar','readFileSync','54JUfklK','<script\x20lang=\x22ts\x22\x20setup>\x0a','writeFileSync','toString','utf-8',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','default','1453473SvwfVW','//\x20add\x20menu\x20here','existsSync','(((.+)+)+)+$','padEnd','/vue','/pages/apps/','path','271fPGGKE','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','/list','indexOf','184gZWWzl','10300930ifFLxf','511047cJJyBT','cwd','/pages/',',\x20path:\x20\x22','apply','constructor','3791391aYcGmO','__esModule','18679419zdWGws','</template>\x0a\x0a','\x20\x20\x20\x20</page-layout>\x0a','/layout.vue','3780650sYjpoN','{title:\x20\x22','4OaQpjo','mkdirSync'];a22_0x4c69=function(){return _0x37c9e5;};return a22_0x4c69();}async function createLayout(_0x38ca50,{moduleName:_0x456909}){const _0x3633de=a22_0x478796;if(!fs[_0x3633de(0x10a)](_0x38ca50)){let _0x3c1644='<template>\x0a';_0x3c1644+=_0x3633de(0x111)+_0x456909+_0x3633de(0x112),_0x3c1644+=_0x3633de(0x121),_0x3c1644+=_0x3633de(0x120),_0x3c1644+=_0x3633de(0x102),_0x3c1644+='\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a',_0x3c1644+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0x3c1644+=_0x3633de(0xfa),_0x3c1644+='</script>\x0a\x0a',fs[_0x3633de(0xf9)]((0x0,path_1['dirname'])(_0x38ca50),{'recursive':!![]}),fs[_0x3633de(0x103)](_0x38ca50,_0x3c1644,_0x3633de(0x105));}}
1
+ const a22_0x1da5a3=a22_0x188a;function a22_0x188a(_0x22afeb,_0x537d71){const _0x555577=a22_0x5c37();return a22_0x188a=function(_0x322636,_0x1add54){_0x322636=_0x322636-0x14e;let _0x5c3758=_0x555577[_0x322636];return _0x5c3758;},a22_0x188a(_0x22afeb,_0x537d71);}(function(_0x4222fb,_0x55c542){const _0x14447f=a22_0x188a,_0x4efc58=_0x4222fb();while(!![]){try{const _0x443775=parseInt(_0x14447f(0x151))/0x1+parseInt(_0x14447f(0x16d))/0x2+-parseInt(_0x14447f(0x161))/0x3+parseInt(_0x14447f(0x155))/0x4+parseInt(_0x14447f(0x159))/0x5+-parseInt(_0x14447f(0x14e))/0x6*(parseInt(_0x14447f(0x15d))/0x7)+-parseInt(_0x14447f(0x167))/0x8;if(_0x443775===_0x55c542)break;else _0x4efc58['push'](_0x4efc58['shift']());}catch(_0x551118){_0x4efc58['push'](_0x4efc58['shift']());}}}(a22_0x5c37,0xd3321));const a22_0x1add54=(function(){let _0x5544e4=!![];return function(_0x1be705,_0x42fb68){const _0x102861=_0x5544e4?function(){const _0x7c7ef6=a22_0x188a;if(_0x42fb68){const _0x25af64=_0x42fb68[_0x7c7ef6(0x15b)](_0x1be705,arguments);return _0x42fb68=null,_0x25af64;}}:function(){};return _0x5544e4=![],_0x102861;};}()),a22_0x322636=a22_0x1add54(this,function(){const _0x3faf61=a22_0x188a;return a22_0x322636['toString']()[_0x3faf61(0x150)](_0x3faf61(0x16e))['toString']()['constructor'](a22_0x322636)[_0x3faf61(0x150)](_0x3faf61(0x16e));});a22_0x322636();'use strict';function a22_0x5c37(){const _0x3e1370=['/layout.vue','<template>\x0a','</template>\x0a\x0a','2491404CtPQXk','/apps-','search','1533583BmYSwQ','/pages/','default','dirname','5629332rpJMef','path','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','readFileSync','6579145LyLMTo','</script>\x0a\x0a','apply','utf-8','7amYSIQ',',\x20path:\x20\x22','/vue','/pages/apps/','2631687ZRsapU','writeFileSync','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','//\x20add\x20menu\x20here','\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','/list','25332344JleRbv','existsSync','padEnd','{title:\x20\x22',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','<script\x20lang=\x22ts\x22\x20setup>\x0a','2134636LTeQQx','(((.+)+)+)+$'];a22_0x5c37=function(){return _0x3e1370;};return a22_0x5c37();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a22_0x1da5a3(0x153)]=default_1;const fs=require('fs'),path_1=require(a22_0x1da5a3(0x156));async function default_1({tablestartUpShort2:_0x41a83e,controller:_0x2631c2,moduleName:_0x2dbeec,Comment:_0x4a86b6,apporbasic:_0x2ace05,vuedialog:_0xe78ae3}){const _0x24ffba=a22_0x1da5a3;let _0x22c49e=process['cwd']()+_0x24ffba(0x15f)+(typeof _0x2631c2=='string'?'/'+_0x2631c2:'');_0x2dbeec?_0x22c49e=_0x22c49e+(_0x24ffba(0x160)+_0x2dbeec+_0x24ffba(0x16f)):_0x22c49e=_0x22c49e+(_0x24ffba(0x152)+_0x2ace05+_0x24ffba(0x16f));await createLayout(_0x22c49e,{'moduleName':_0x2dbeec});const _0x205b51=fs[_0x24ffba(0x158)](_0x22c49e,_0x24ffba(0x15c)),_0xe3d278=_0x24ffba(0x16a)+(_0x4a86b6+'\x22')[_0x24ffba(0x169)](0x14)+_0x24ffba(0x15e)+(''+(typeof _0x2dbeec=='string'?_0x24ffba(0x14f)+_0x2dbeec+'/':'/'+_0x2ace05+'/')+_0x41a83e+(!_0xe78ae3?_0x24ffba(0x166):'')+'\x22')[_0x24ffba(0x169)](0x14)+'}';_0x205b51['indexOf'](_0xe3d278)==-0x1&&fs[_0x24ffba(0x162)](_0x22c49e,_0x205b51['replace'](_0x24ffba(0x164),_0xe3d278+_0x24ffba(0x16b)));}async function createLayout(_0x5be943,{moduleName:_0x386cc2}){const _0x2d994f=a22_0x1da5a3;if(!fs[_0x2d994f(0x168)](_0x5be943)){let _0x13c092=_0x2d994f(0x170);_0x13c092+=_0x2d994f(0x165)+_0x386cc2+_0x2d994f(0x157),_0x13c092+='\x20\x20\x20\x20</page-layout>\x0a',_0x13c092+=_0x2d994f(0x171),_0x13c092+=_0x2d994f(0x16c),_0x13c092+='\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a',_0x13c092+=_0x2d994f(0x163),_0x13c092+='\x20\x20\x20\x20])\x0a',_0x13c092+=_0x2d994f(0x15a),fs['mkdirSync']((0x0,path_1[_0x2d994f(0x154)])(_0x5be943),{'recursive':!![]}),fs[_0x2d994f(0x162)](_0x5be943,_0x13c092,_0x2d994f(0x15c));}}