anncic-apihelper 3.7.40 → 3.7.42

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 a23_0x4e58ca=a23_0x4002;(function(_0x3772cc,_0x317f95){const _0x29e4a9=a23_0x4002,_0x221247=_0x3772cc();while(!![]){try{const _0x34b071=-parseInt(_0x29e4a9(0x2a5))/0x1*(-parseInt(_0x29e4a9(0x1f8))/0x2)+parseInt(_0x29e4a9(0x1df))/0x3+parseInt(_0x29e4a9(0x284))/0x4+-parseInt(_0x29e4a9(0x25f))/0x5+-parseInt(_0x29e4a9(0x201))/0x6*(parseInt(_0x29e4a9(0x264))/0x7)+parseInt(_0x29e4a9(0x25e))/0x8+parseInt(_0x29e4a9(0x25c))/0x9*(-parseInt(_0x29e4a9(0x295))/0xa);if(_0x34b071===_0x317f95)break;else _0x221247['push'](_0x221247['shift']());}catch(_0x45ad38){_0x221247['push'](_0x221247['shift']());}}}(a23_0x1ca7,0xa1546));const a23_0x14c892=(function(){let _0x1b4cc7=!![];return function(_0x249c0b,_0xdf70e1){const _0x17318a=_0x1b4cc7?function(){const _0x2bea27=a23_0x4002;if(_0xdf70e1){const _0x379bbc=_0xdf70e1[_0x2bea27(0x283)](_0x249c0b,arguments);return _0xdf70e1=null,_0x379bbc;}}:function(){};return _0x1b4cc7=![],_0x17318a;};}()),a23_0x431387=a23_0x14c892(this,function(){const _0x3aba4a=a23_0x4002;return a23_0x431387['toString']()[_0x3aba4a(0x1d0)](_0x3aba4a(0x2af))[_0x3aba4a(0x293)]()[_0x3aba4a(0x206)](a23_0x431387)[_0x3aba4a(0x1d0)](_0x3aba4a(0x2af));});a23_0x431387();'use strict';Object[a23_0x4e58ca(0x1d5)](exports,a23_0x4e58ca(0x238),{'value':!![]});const fs=require('fs'),path_1=require('path'),helper_1=require('../helper');async function default_1({moduleName:_0x1221f0,controller:_0x29bbdb,tablestartUpShort:_0x2634b1,tablestartUpShort2:_0x31f945,Primary:_0x422329,Fields:_0x542794,apporbasic:_0x520cb2,Comment:_0xb35560,vuedialog:_0xf223b7}){const _0x1b305d=a23_0x4e58ca;await createIndex({'moduleName':_0x1221f0,'controller':_0x29bbdb,'tablestartUpShort':_0x2634b1,'tablestartUpShort2':_0x31f945,'Primary':_0x422329,'Fields':_0x542794,'apporbasic':_0x520cb2,'vuedialog':_0xf223b7}),await createSearch({'moduleName':_0x1221f0,'controller':_0x29bbdb,'tablestartUpShort2':_0x31f945,'Primary':_0x422329,'Fields':_0x542794,'apporbasic':_0x520cb2,'vuedialog':_0xf223b7}),!_0xf223b7?(await createAddOrEdit({'moduleName':_0x1221f0,'controller':_0x29bbdb,'tablestartUpShort':_0x2634b1,'tablestartUpShort2':_0x31f945,'Primary':_0x422329,'Fields':_0x542794,'apporbasic':_0x520cb2,'Comment':_0xb35560},'add'),await createAddOrEdit({'moduleName':_0x1221f0,'controller':_0x29bbdb,'tablestartUpShort':_0x2634b1,'tablestartUpShort2':_0x31f945,'Primary':_0x422329,'Fields':_0x542794,'apporbasic':_0x520cb2,'Comment':_0xb35560},_0x1b305d(0x1e4))):(await createAddOrEditDialog({'moduleName':_0x1221f0,'controller':_0x29bbdb,'tablestartUpShort':_0x2634b1,'tablestartUpShort2':_0x31f945,'Primary':_0x422329,'Fields':_0x542794,'apporbasic':_0x520cb2,'Comment':_0xb35560},_0x1b305d(0x265)),await createAddOrEditDialog({'moduleName':_0x1221f0,'controller':_0x29bbdb,'tablestartUpShort':_0x2634b1,'tablestartUpShort2':_0x31f945,'Primary':_0x422329,'Fields':_0x542794,'apporbasic':_0x520cb2,'Comment':_0xb35560},'edit'));}function a23_0x1ca7(){const _0x51c064=['\x22\x20split=\x22-\x22\x20clearable/>','<elplus-select-search\x20v-model=\x22formdata.','</script>\x0a','=${scope.row.','\x22\x20placeholder=\x22请选择','enum','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','Remove,\x20','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','string','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','\x20\x20\x20\x20formdata.value\x20=\x20{},\x20','tinyint','List,\x20','tags','substring','cwd',')\x20{\x0a','created_at','\x20/>','\x20\x20\x20\x20}\x20else\x20{\x0a','Comment','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','<dialog-add-vue\x20ref=\x22refDialogAdd\x22\x20@save=\x22LoadDatas()\x22\x20/>','639rPVXmK','<el-input\x20v-model=\x22formdata.','6769320FgiWbj','1833580Mzdqwl','//\x20获取详情\x0a','\x0a\x20\x20\x20\x20</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0a',')\x20=>\x20{\x0a','<=\x22>','9246461rrmgML','add','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','</el-select>','getDetail(route?.query?.','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x22\x20prop=\x22','Field','\x20\x20\x20\x20formdata.value\x20=\x20{},\x20refDialog?.value?.open();\x0a','\x22\x20:limit=\x225\x22\x20','\x20\x20\x20\x20\x20\x20\x20\x20','Type','<template\x20#reference>',',\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>','_end\x22\x20placeholder=\x22选择','</template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','<el-select\x20v-model=\x22formdata.','<dialog-edit-vue\x20ref=\x22refDialogEdit\x22\x20@save=\x22LoadDatas()\x22/>','\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\x20route\x20=\x20useRoute(),\x20table\x20=\x20reactive({\x0a\x20\x20\x20\x20data:\x20[],\x0a\x20\x20\x20\x20select:\x20[],\x0a\x20\x20\x20\x20search:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20_page:\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_size:\x2020,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_count:\x200,\x0a\x20\x20\x20\x20}\x0a})\x0a\x0a\x0a/**\x0a\x20*\x20获取数据列表\x0a\x20*\x20@param\x20page\x20分页-当前页\x0a\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20*\x20**/\x0aconst\x20LoadDatas\x20=\x20(page?:\x20number,\x20size?:\x20number,\x20sortable\x20=\x20{})\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20page\x20&&\x20(table.search._page\x20=\x20page),\x20size\x20&&\x20(table.search._size\x20=\x20size);\x0a\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','Detail\x20}\x20from\x20\x27@/apis/','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','.vue','<el-avatar\x20:src=\x22scope.row.','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','\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','imgs','\x27;\x0a\x0a','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','apply','414820ODlPiD','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20</page-main>\x0a',':\x20item.','\x20as\x20unknown\x20as\x20','number','indexOf','num','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20(','mkdirSync','>=\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','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','toString','writeFileSync','45470cGIBhT','<el-date-picker\x20v-model=\x22formdata.','\x20\x20\x20\x20<elplus-dialog\x20ref=\x22refDialog\x22\x20:loading=\x22loading\x22\x20title=\x22','`)\x22>\x0a','timestamp','<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@/','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','/add`)\x22\x20@click=\x22','getProp','/pages/apps/','<el-option\x20label=\x22','mediumtext','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','const\x20handlerSave\x20=\x20()=>{\x0a','import\x20{\x20','266003HobVCj','displayorder','\x22\x20:limit=\x221\x22\x20','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20value=\x22','\x22>\x0a','getEnum','\x20\x20\x20\x20\x20\x20\x20\x20$notify.error(err\x20||\x20\x27网络请求错误\x27)\x0a','module=\x22','<script\x20lang=\x22ts\x22\x20setup>\x0a','(((.+)+)+)+$','</template>','Edit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20prop=\x22displayorder\x22\x20align=\x22center\x22\x20width=\x2280\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-input\x20v-model=\x22scope.row.displayorder\x22\x20type=\x22number\x22\x20@change=\x22handlerFieldChange(scope.row,\x27displayorder\x27)\x22></el-input>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/','substr','text','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','Edit\x20}\x20from\x20\x27@/apis/','import\x20dialogEditVue\x20from\x20\x27./components/dialog-edit.vue\x27;','\x22\x20\x20placeholder=\x22请输入','\x20\x20\x20\x20<page-main>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','index.vue','List(Object.assign({},\x20route?.query\x20||\x20{},\x20table.search\x20||\x20{},\x20sortable)).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20table.data\x20=\x20res.data\x20||\x20[],\x20table.search\x20=\x20{\x20...table.search,\x20...res?.extra?.pageinfo\x20||\x20{},\x20_count:\x20res?.extra?.pagetotal\x20||\x200\x20};\x0a\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a\x20\x20\x20\x20});\x0a}\x0a\x0a/**\x0a\x20*\x20删除数据\x0a\x20*\x20**/\x0aconst\x20handlerRemove\x20=\x20(item:any)\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20$confirm(`确定删除数据吗?`,\x20\x27提示\x27,\x20{\x20confirmButtonText:\x20\x27确定\x27,\x20cancelButtonText:\x20\x27取消\x27,\x20type:\x20\x27warning\x27\x20}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20style=\x22cursor:pointer\x22/>','<elplus-select-search\x20v-model=\x22props.search.','}`)','search','/index.vue','/pages/','const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a','/vue','defineProperty','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20:model=\x22formdata\x22\x20:rules=\x22','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20()\x20=>\x20{\x0a','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','length','<elplus-select-tags\x20v-model=\x22formdata.','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','edit/:','<template\x20#default=\x22scope\x22>','2770209dVTSga','/remove`)\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22danger\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</elplus-table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Add\x20}\x20from\x20\x27@/apis/','\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','thumb','edit','<el-input-number\x20v-model=\x22props.search.','</a>','//\x20保存数据\x0a','<attachment-image\x20v-model=\x22formdata.','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','tag','$refs?.refDialogAdd?.open()','\x22\x20api=\x22','thumbs','<el-date-picker\x20v-model=\x22props.search.','<el-input-number\x20v-model=\x22formdata.','\x20\x20\x20\x20','}\x0a\x0a\x0a','Detail(','apps/','<el-table-column\x20prop=','$router.push(`edit?',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','6oPPzTU','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','_start\x22\x20placeholder=\x22选择','</el-popover>','/components/dialog-','6Icwuab','img','}\x0a\x0a','Edit(item.','\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>','constructor','<a\x20:href=\x22scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<el-form-item\x20label=\x22','\x20\x20\x20\x20if\x20(','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20emits(\x27save\x27),\x20refDialog?.value?.close()\x0a','$refs?.refDialogEdit?.open(scope.row.id)','<el-input\x20v-model=\x22props.search.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20class=\x22block\x22>','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','dirname','item.','_ids','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','<elplus-switch\x20v-model=\x22scope.row\x22\x20field=\x22','\x20\x20\x20\x20</elplus-dialog>\x0a','import\x20dialogAddVue\x20from\x20\x27./components/dialog-add.vue\x27;','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','\x22\x20/>','</el-form-item>','<tinymce-editor\x20v-model=\x22formdata.','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','\x20\x20\x20\x20})\x0a','item).then(res=>{\x0a','\x20label=\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@/','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','/edit/:','existsSync','padEnd','<img\x20:src=\x22scope.row.','logo','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','/list/','Edit,\x20','_id','Remove({\x20','\x22\x20placeholder=\x22选择','\x22\x20placeholder=\x22请输入或选择','\x22\x20clearable>','date','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','longtext','$router.push(`add`)','</el-table-column>','datetime','__esModule','utf-8','`)\x22\x20@click=\x22','Add','\x22\x20placeholder=\x22请输入','deleted_at','\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.','\x20\x20\x20\x20\x20\x20\x20\x20formdata.value\x20=\x20res?.data\x20||\x20{},\x20refDialog?.value?.open();\x0a','updated_at','const\x20getDetail\x20=\x20('];a23_0x1ca7=function(){return _0x51c064;};return a23_0x1ca7();}exports['default']=default_1;function a23_0x4002(_0x4c6bc4,_0x3db5f4){const _0x55beef=a23_0x1ca7();return a23_0x4002=function(_0x431387,_0x14c892){_0x431387=_0x431387-0x1cc;let _0x1ca7fe=_0x55beef[_0x431387];return _0x1ca7fe;},a23_0x4002(_0x4c6bc4,_0x3db5f4);}async function createIndex({moduleName:_0x5e5544,controller:_0x3526f1,tablestartUpShort:_0x4052f4,tablestartUpShort2:_0x3107be,Primary:_0x44a5ed,Fields:_0x36a192,apporbasic:_0x17ed45,vuedialog:_0x212a74}){const _0x48e76c=a23_0x4e58ca;let _0x4c0209=process['cwd']()+'/vue'+(typeof _0x3526f1=='string'?'/'+_0x3526f1:'');_0x5e5544?_0x4c0209=_0x4c0209+(_0x48e76c(0x29e)+_0x5e5544+'/'+_0x3107be+(!_0x212a74?_0x48e76c(0x22b):'/')+'index.vue'):_0x4c0209=_0x4c0209+(_0x48e76c(0x1d2)+_0x17ed45+'/'+_0x3107be+(!_0x212a74?_0x48e76c(0x22b):'/')+_0x48e76c(0x2bc));if(!fs[_0x48e76c(0x226)](_0x4c0209)){let _0xf151dd=_0x48e76c(0x1f5)+('\x22'+_0x44a5ed[_0x48e76c(0x26b)]+'\x22')[_0x48e76c(0x227)](0x14)+(_0x48e76c(0x221)+(_0x44a5ed[_0x48e76c(0x259)]||'编号')+_0x48e76c(0x218));for(let _0x4bda1d in _0x36a192){const _0x36353e=_0x36a192[_0x4bda1d];if([_0x48e76c(0x256),_0x48e76c(0x240),'deleted_at',_0x48e76c(0x2a6)][_0x48e76c(0x28a)](_0x4bda1d)!=-0x1)continue;if(_0x4bda1d[_0x48e76c(0x253)](_0x4bda1d[_0x48e76c(0x1da)]-0x3)==_0x48e76c(0x202)||_0x4bda1d['substring'](_0x4bda1d[_0x48e76c(0x1da)]-0x5)==_0x48e76c(0x1e3)||_0x4bda1d==_0x48e76c(0x1e3)||_0x4bda1d[_0x48e76c(0x253)](_0x4bda1d[_0x48e76c(0x1da)]-0x4)==_0x48e76c(0x229)||_0x4bda1d==_0x48e76c(0x229))_0xf151dd+='\x0a'+_0x48e76c(0x1d7)+_0x48e76c(0x1f5)+('\x22'+_0x4bda1d+'\x22')[_0x48e76c(0x227)](0x14)+(_0x48e76c(0x221)+(_0x36353e['Comment']||_0x36353e[_0x48e76c(0x26b)])+_0x48e76c(0x291)),_0xf151dd+='\x0a'+_0x48e76c(0x233)+_0x48e76c(0x1de),_0xf151dd+='\x0a'+_0x48e76c(0x1fb)+_0x48e76c(0x1fc),_0xf151dd+='\x0a'+_0x48e76c(0x208)+(_0x48e76c(0x207)+_0x4bda1d+_0x48e76c(0x1ea)),_0xf151dd+='\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'+(_0x48e76c(0x228)+_0x4bda1d+_0x48e76c(0x269)),_0xf151dd+='\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'+_0x48e76c(0x1e6),_0xf151dd+='\x0a'+_0x48e76c(0x208)+_0x48e76c(0x270),_0xf151dd+='\x0a'+_0x48e76c(0x20e)+(_0x48e76c(0x27c)+_0x4bda1d+_0x48e76c(0x1cd)),_0xf151dd+='\x0a'+_0x48e76c(0x208)+'</template>',_0xf151dd+='\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'+_0x48e76c(0x1ff),_0xf151dd+='\x0a'+_0x48e76c(0x233)+_0x48e76c(0x2b0),_0xf151dd+='\x0a'+_0x48e76c(0x1d7)+_0x48e76c(0x236);else{if([_0x48e76c(0x250)][_0x48e76c(0x28a)]((0x0,helper_1[_0x48e76c(0x29d)])(_0x36353e['Type']))!=-0x1)_0xf151dd+='\x0a'+_0x48e76c(0x1d7)+_0x48e76c(0x1f5)+('\x22'+_0x4bda1d+'\x22')['padEnd'](0x14)+(_0x48e76c(0x221)+(_0x36353e[_0x48e76c(0x259)]||_0x36353e[_0x48e76c(0x26b)])+'\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22>'),_0xf151dd+='\x0a'+_0x48e76c(0x233)+_0x48e76c(0x1de),_0xf151dd+='\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'+(_0x48e76c(0x215)+_0x4bda1d+'\x22\x20active-text=\x22启用\x22\x20inactive-text=\x22禁用\x22\x20@change=\x22handlerFieldChange\x22\x20/>'),_0xf151dd+='\x0a'+_0x48e76c(0x233)+_0x48e76c(0x2b0),_0xf151dd+='\x0a'+_0x48e76c(0x1d7)+_0x48e76c(0x236);else[_0x48e76c(0x2b4)][_0x48e76c(0x28a)]((0x0,helper_1[_0x48e76c(0x29d)])(_0x36353e[_0x48e76c(0x26f)]))==-0x1&&(_0xf151dd+='\x0a'+_0x48e76c(0x1d7)+_0x48e76c(0x1f5)+('\x22'+_0x4bda1d+'\x22')[_0x48e76c(0x227)](0x14)+(_0x48e76c(0x221)+(_0x36353e['Comment']||_0x36353e[_0x48e76c(0x26b)])+_0x48e76c(0x21d)));}}const _0x3f7445=''+(typeof _0x3526f1==_0x48e76c(0x24d)?_0x3526f1+'/':'')+(_0x5e5544?_0x5e5544+'/':'')+_0x3107be;fs['mkdirSync']((0x0,path_1[_0x48e76c(0x211)])(_0x4c0209),{'recursive':!![]}),fs[_0x48e76c(0x294)](_0x4c0209,_0x48e76c(0x29a)+_0x3f7445+_0x48e76c(0x29c)+(!_0x212a74?_0x48e76c(0x235):_0x48e76c(0x1ec))+_0x48e76c(0x1e2)+_0xf151dd+_0x48e76c(0x2b2)+_0x3f7445+_0x48e76c(0x225)+_0x44a5ed[_0x48e76c(0x26b)]+_0x48e76c(0x23a)+(!_0x212a74?_0x48e76c(0x1f6)+_0x44a5ed[_0x48e76c(0x26b)]+_0x48e76c(0x245)+_0x44a5ed[_0x48e76c(0x26b)]+_0x48e76c(0x1cf):_0x48e76c(0x20c))+_0x48e76c(0x222)+_0x3f7445+_0x48e76c(0x1e0)+(!_0x212a74?'':_0x48e76c(0x25b))+_0x48e76c(0x27e)+(!_0x212a74?'':_0x48e76c(0x276))+_0x48e76c(0x261)+(!_0x212a74?'':_0x48e76c(0x217))+'\x0a'+(!_0x212a74?'':_0x48e76c(0x2b8))+'\x0aimport\x20{\x20'+_0x4052f4+_0x48e76c(0x251)+_0x4052f4+_0x48e76c(0x24b)+_0x4052f4+_0x48e76c(0x2b7)+(_0x5e5544?_0x48e76c(0x1f4)+_0x5e5544:''+_0x17ed45)+'/'+_0x4052f4+_0x48e76c(0x277)+_0x4052f4+_0x48e76c(0x1cc)+_0x4052f4+_0x48e76c(0x22e)+_0x44a5ed[_0x48e76c(0x26b)]+_0x48e76c(0x287)+_0x44a5ed[_0x48e76c(0x26b)]+_0x48e76c(0x23e)+_0x44a5ed['Field']+_0x48e76c(0x1f7)+_0x4052f4+_0x48e76c(0x204)+_0x44a5ed[_0x48e76c(0x26b)]+_0x48e76c(0x271),'utf-8');}}async function createSearch({moduleName:_0x1f4524,tablestartUpShort2:_0x220191,controller:_0x22721f,Primary:_0x23a7f5,Fields:_0x34bda5,apporbasic:_0x5676f9,vuedialog:_0x4edd48}){const _0x31bda4=a23_0x4e58ca;let _0x370789=process[_0x31bda4(0x254)]()+_0x31bda4(0x1d4)+(typeof _0x22721f==_0x31bda4(0x24d)?'/'+_0x22721f:'');_0x1f4524?_0x370789=_0x370789+(_0x31bda4(0x29e)+_0x1f4524+'/'+_0x220191+(!_0x4edd48?_0x31bda4(0x22b):'/')+'components/search.vue'):_0x370789=_0x370789+(_0x31bda4(0x1d2)+_0x5676f9+'/'+_0x220191+(!_0x4edd48?_0x31bda4(0x22b):'/')+'components/search.vue');if(!fs[_0x31bda4(0x226)](_0x370789)){let _0x404d4a='';_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x23a7f5[_0x31bda4(0x259)]||'编号')+'\x22>'),_0x404d4a+='\x0a'+_0x31bda4(0x26e)+(_0x31bda4(0x20d)+_0x23a7f5['Field']+'\x22\x20placeholder=\x22请输入'+(_0x23a7f5['Comment']||'编号')+_0x31bda4(0x249)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+_0x31bda4(0x21a);for(let _0x28582b in _0x34bda5){const _0x5d2458=_0x34bda5[_0x28582b];if(['updated_at',_0x31bda4(0x23d),'displayorder'][_0x31bda4(0x28a)](_0x28582b)!=-0x1)continue;if(_0x28582b['substring'](_0x28582b[_0x31bda4(0x1da)]-0x3)==_0x31bda4(0x202)||_0x28582b[_0x31bda4(0x253)](_0x28582b[_0x31bda4(0x1da)]-0x5)==_0x31bda4(0x1e3)||_0x28582b==_0x31bda4(0x1e3)||_0x28582b[_0x31bda4(0x253)](_0x28582b['length']-0x4)==_0x31bda4(0x229)||_0x28582b==_0x31bda4(0x229))continue;if(_0x28582b[_0x31bda4(0x253)](_0x28582b['length']-0x3)==_0x31bda4(0x28b))_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458[_0x31bda4(0x259)]||_0x5d2458[_0x31bda4(0x26b)])+'\x22>'),_0x404d4a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x31bda4(0x1e5)+_0x28582b+'\x22\x20placeholder=\x22请输入'+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x1fa)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+_0x31bda4(0x21a)+'\x0a';else{if(_0x28582b['endsWith'](_0x31bda4(0x22d))){let _0x31d063=''+(typeof _0x22721f==_0x31bda4(0x24d)?_0x22721f+'/':'')+(_0x1f4524?_0x1f4524+'/':'')+_0x220191;_0x404d4a+='\x0a'+_0x31bda4(0x26e)+(_0x31bda4(0x209)+(_0x5d2458[_0x31bda4(0x259)]||_0x5d2458[_0x31bda4(0x26b)])+'\x22>'),_0x404d4a+='\x0a'+_0x31bda4(0x285)+(_0x31bda4(0x1ce)+_0x28582b+_0x31bda4(0x1ed)+_0x31d063+_0x31bda4(0x27a)),_0x404d4a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x31bda4(0x21a)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x5d2458[_0x31bda4(0x26f)])){case'enum':_0x404d4a+='\x0a'+'\x20\x20\x20\x20'+(_0x31bda4(0x209)+(_0x5d2458[_0x31bda4(0x259)]||_0x5d2458[_0x31bda4(0x26b)])+'\x22>'),_0x404d4a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select\x20v-model=\x22props.search.'+_0x28582b+_0x31bda4(0x246)+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x231));for(let _0x487ad of(0x0,helper_1[_0x31bda4(0x2ab)])(_0x5d2458[_0x31bda4(0x26f)])){_0x404d4a+='\x0a'+_0x31bda4(0x285)+(_0x31bda4(0x29f)+_0x487ad+_0x31bda4(0x2a9)+_0x487ad+_0x31bda4(0x219));}_0x404d4a+='\x0a'+_0x31bda4(0x26e)+_0x31bda4(0x267),_0x404d4a+='\x0a'+'\x20\x20\x20\x20'+_0x31bda4(0x21a)+'\x0a';break;case'date':_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458[_0x31bda4(0x259)]||_0x5d2458['Field'])+'>=\x22>'),_0x404d4a+='\x0a'+_0x31bda4(0x26e)+(_0x31bda4(0x1ef)+_0x28582b+_0x31bda4(0x1fe)+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x210)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+_0x31bda4(0x21a)+'\x0a',_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458[_0x31bda4(0x259)]||_0x5d2458[_0x31bda4(0x26b)])+_0x31bda4(0x263)),_0x404d4a+='\x0a'+_0x31bda4(0x26e)+('<el-date-picker\x20v-model=\x22props.search.'+_0x28582b+_0x31bda4(0x272)+_0x5d2458['Comment']+_0x31bda4(0x2a8)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+_0x31bda4(0x21a)+'\x0a';break;case _0x31bda4(0x237):_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458['Comment']||_0x5d2458[_0x31bda4(0x26b)])+_0x31bda4(0x28f)),_0x404d4a+='\x0a'+_0x31bda4(0x26e)+(_0x31bda4(0x1ef)+_0x28582b+'_start\x22\x20placeholder=\x22选择'+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x266)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+'</el-form-item>'+'\x0a',_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458['Comment']||_0x5d2458[_0x31bda4(0x26b)])+_0x31bda4(0x263)),_0x404d4a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22props.search.'+_0x28582b+_0x31bda4(0x272)+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x2a2)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+_0x31bda4(0x21a)+'\x0a';break;case'timestamp':_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458[_0x31bda4(0x259)]||_0x5d2458[_0x31bda4(0x26b)])+_0x31bda4(0x28f)),_0x404d4a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x31bda4(0x1ef)+_0x28582b+_0x31bda4(0x1fe)+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x266)),_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+_0x31bda4(0x21a)+'\x0a',_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+('<el-form-item\x20label=\x22'+(_0x5d2458['Comment']||_0x5d2458[_0x31bda4(0x26b)])+'<=\x22>'),_0x404d4a+='\x0a'+_0x31bda4(0x26e)+(_0x31bda4(0x1ef)+_0x28582b+_0x31bda4(0x272)+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x2a2)),_0x404d4a+='\x0a'+'\x20\x20\x20\x20'+_0x31bda4(0x21a)+'\x0a';break;case _0x31bda4(0x24d):_0x404d4a+='\x0a'+_0x31bda4(0x1f1)+(_0x31bda4(0x209)+(_0x5d2458['Comment']||_0x5d2458[_0x31bda4(0x26b)])+'\x22>'),_0x404d4a+='\x0a'+_0x31bda4(0x26e)+('<el-input\x20v-model=\x22props.search.'+_0x28582b+_0x31bda4(0x23c)+_0x5d2458[_0x31bda4(0x259)]+_0x31bda4(0x249)),_0x404d4a+='\x0a'+'\x20\x20\x20\x20'+_0x31bda4(0x21a)+'\x0a';}}}fs[_0x31bda4(0x28e)]((0x0,path_1[_0x31bda4(0x211)])(_0x370789),{'recursive':!![]}),fs[_0x31bda4(0x294)](_0x370789,'<template>\x0a\x20\x20\x20\x20'+_0x404d4a+_0x31bda4(0x205),_0x31bda4(0x239));}}async function createAddOrEdit({moduleName:_0x544aac,controller:_0xa04e11,tablestartUpShort:_0x2a370a,tablestartUpShort2:_0x480e04,Primary:_0x1b19e5,Fields:_0x891ee0,apporbasic:_0x285331,Comment:_0x340ea6},_0x12dfeb=a23_0x4e58ca(0x265)){const _0x53042e=a23_0x4e58ca;let _0x46b629=process['cwd']()+_0x53042e(0x1d4)+(typeof _0xa04e11=='string'?'/'+_0xa04e11:'');_0x544aac?_0x46b629=_0x46b629+(_0x53042e(0x29e)+_0x544aac+'/'+_0x480e04+'/'+_0x12dfeb+_0x53042e(0x1d1)):_0x46b629=_0x46b629+(_0x53042e(0x1d2)+_0x285331+'/'+_0x480e04+'/'+_0x12dfeb+_0x53042e(0x1d1));if(!fs[_0x53042e(0x226)](_0x46b629)){const _0x565f04=['text',_0x53042e(0x2a0),_0x53042e(0x24d)][_0x53042e(0x28a)]((0x0,helper_1[_0x53042e(0x29d)])(_0x1b19e5['Type']))==-0x1,_0x273250=''+(typeof _0xa04e11==_0x53042e(0x24d)?_0xa04e11+'/':'')+(_0x544aac?_0x544aac+'/':'')+_0x480e04;let _0x15ffbe='';for(let _0x47e0b9 in _0x891ee0){const _0x451dba=_0x891ee0[_0x47e0b9];if([_0x53042e(0x256),_0x53042e(0x240),_0x53042e(0x23d),_0x53042e(0x2a6)]['indexOf'](_0x47e0b9)!=-0x1)continue;if(_0x47e0b9[_0x53042e(0x253)](_0x47e0b9['length']-0x4)==_0x53042e(0x280)||_0x47e0b9[_0x53042e(0x253)](_0x47e0b9[_0x53042e(0x1da)]-0x6)==_0x53042e(0x1ee))_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+_0x53042e(0x26a)+_0x47e0b9+'\x22\x20class=\x22block\x22>'),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x53042e(0x1e8)+_0x47e0b9+_0x53042e(0x26d)+(_0x544aac?_0x53042e(0x2ad)+_0x544aac+'\x22':'')+_0x53042e(0x257)),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x47e0b9[_0x53042e(0x253)](_0x47e0b9['length']-0x3)==_0x53042e(0x202)||_0x47e0b9[_0x53042e(0x253)](_0x47e0b9[_0x53042e(0x1da)]-0x5)==_0x53042e(0x1e3)||_0x47e0b9=='thumb'||_0x47e0b9[_0x53042e(0x253)](_0x47e0b9[_0x53042e(0x1da)]-0x4)==_0x53042e(0x229)||_0x47e0b9=='logo')_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba['Field'])+_0x53042e(0x26a)+_0x47e0b9+'\x22\x20class=\x22block\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+('<attachment-image\x20v-model=\x22formdata.'+_0x47e0b9+_0x53042e(0x2a7)+(_0x544aac?_0x53042e(0x2ad)+_0x544aac+'\x22':'')+'/>'),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53042e(0x21a)+'\x0a';else{if(_0x47e0b9[_0x53042e(0x253)](_0x47e0b9['length']-0x4)==_0x53042e(0x252)||_0x47e0b9[_0x53042e(0x253)](_0x47e0b9[_0x53042e(0x1da)]-0x3)==_0x53042e(0x1eb))_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+'\x22\x20prop=\x22'+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x1db)+_0x47e0b9+_0x53042e(0x230)+_0x451dba[_0x53042e(0x259)]+_0x53042e(0x242)),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53042e(0x21a)+'\x0a';else{if(_0x47e0b9[_0x53042e(0x2b3)](-0x3)=='num')_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x1f0)+_0x47e0b9+_0x53042e(0x23c)+_0x451dba[_0x53042e(0x259)]+_0x53042e(0x1dc)),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';else{if(_0x47e0b9['substr'](-0x4)==_0x53042e(0x213))_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba['Field'])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x25d)+_0x47e0b9+_0x53042e(0x23c)+_0x451dba['Comment']+'\x22\x20clearable/>'),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53042e(0x21a)+'\x0a';else{if(_0x47e0b9['substr'](-0x3)==_0x53042e(0x22d)){let _0x29c7da=''+(typeof _0xa04e11==_0x53042e(0x24d)?_0xa04e11+'/':'')+(_0x544aac?_0x544aac+'/':'')+_0x480e04;_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba['Field'])+'\x22\x20prop=\x22'+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x243)+_0x47e0b9+_0x53042e(0x1ed)+_0x29c7da+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';}else switch((0x0,helper_1[_0x53042e(0x29d)])(_0x451dba[_0x53042e(0x26f)])){case _0x53042e(0x289):_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x1f0)+_0x47e0b9+_0x53042e(0x23c)+_0x451dba['Comment']+_0x53042e(0x1dc)),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';break;case _0x53042e(0x247):_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba['Comment']||_0x451dba[_0x53042e(0x26b)])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x275)+_0x47e0b9+'\x22\x20placeholder=\x22请选择'+_0x451dba[_0x53042e(0x259)]+_0x53042e(0x231));for(let _0x24a1be of(0x0,helper_1[_0x53042e(0x2ab)])(_0x451dba['Type'])){_0x15ffbe+='\x0a'+_0x53042e(0x233)+(_0x53042e(0x29f)+_0x24a1be+_0x53042e(0x2a9)+_0x24a1be+_0x53042e(0x219));}_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+'</el-select>',_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';break;case _0x53042e(0x2b4):_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x451dba[_0x53042e(0x259)]||_0x451dba['Field'])+_0x53042e(0x26a)+_0x47e0b9+'\x22\x20class=\x22block\x22>'),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x47e0b9+_0x53042e(0x2b9)+_0x451dba['Comment']+_0x53042e(0x248)),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53042e(0x21a)+'\x0a';break;case'longtext':_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+_0x53042e(0x26a)+_0x47e0b9+'\x22\x20class=\x22block\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x21b)+_0x47e0b9+'\x22\x20'+(_0x544aac?'module=\x22'+_0x544aac+'\x22':'')+'/>'),_0x15ffbe+='\x0a'+_0x53042e(0x285)+'</el-form-item>'+'\x0a';break;case _0x53042e(0x2a0):_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba['Comment']||_0x451dba['Field'])+_0x53042e(0x26a)+_0x47e0b9+_0x53042e(0x20f)),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<tinymce-editor\x20v-model=\x22formdata.'+_0x47e0b9+'\x22\x20'+(_0x544aac?_0x53042e(0x2ad)+_0x544aac+'\x22':'')+'/>'),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';break;case _0x53042e(0x232):_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x53042e(0x296)+_0x47e0b9+_0x53042e(0x22f)+_0x451dba['Comment']+_0x53042e(0x21c)),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53042e(0x21a)+'\x0a';break;case _0x53042e(0x237):_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba['Field'])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+('<el-date-picker\x20v-model=\x22formdata.'+_0x47e0b9+_0x53042e(0x22f)+_0x451dba[_0x53042e(0x259)]+_0x53042e(0x2a1)),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';break;case _0x53042e(0x299):_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x53042e(0x209)+(_0x451dba['Comment']||_0x451dba['Field'])+_0x53042e(0x26a)+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+(_0x53042e(0x296)+_0x47e0b9+_0x53042e(0x22f)+_0x451dba[_0x53042e(0x259)]+_0x53042e(0x2a1)),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';break;default:_0x15ffbe+='\x0a'+_0x53042e(0x285)+(_0x53042e(0x209)+(_0x451dba[_0x53042e(0x259)]||_0x451dba[_0x53042e(0x26b)])+'\x22\x20prop=\x22'+_0x47e0b9+'\x22>'),_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x47e0b9+_0x53042e(0x23c)+_0x451dba[_0x53042e(0x259)]+_0x53042e(0x249)),_0x15ffbe+='\x0a'+_0x53042e(0x285)+'</el-form-item>'+'\x0a';}}}}}}}_0x15ffbe+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x53042e(0x214),_0x15ffbe+='\x0a'+_0x53042e(0x1d7)+_0x53042e(0x1d9),_0x15ffbe+='\x0a'+_0x53042e(0x285)+_0x53042e(0x21a)+'\x0a';let _0x8e5e7f='<template>\x0a';_0x8e5e7f+=_0x53042e(0x2ba),_0x8e5e7f+=_0x53042e(0x274)+(_0x12dfeb==_0x53042e(0x265)?'添加'+_0x340ea6:'编辑'+_0x340ea6)+_0x53042e(0x292)+_0x2a370a+(_0x12dfeb==_0x53042e(0x265)?'Add':_0x53042e(0x2b1))+_0x53042e(0x29b)+_0x273250+'/'+(_0x12dfeb=='add'?_0x53042e(0x265):_0x53042e(0x1dd)+_0x1b19e5[_0x53042e(0x26b)])+_0x53042e(0x298),_0x8e5e7f+=_0x53042e(0x285)+_0x15ffbe+'\x0a\x0a',_0x8e5e7f+=_0x53042e(0x278),_0x8e5e7f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/'+_0x273250+'/'+(_0x12dfeb==_0x53042e(0x265)?_0x53042e(0x265):_0x53042e(0x1dd)+_0x1b19e5[_0x53042e(0x26b)])+_0x53042e(0x1e9),_0x8e5e7f+=_0x53042e(0x28c),_0x8e5e7f+=_0x53042e(0x2b5),_0x8e5e7f+=_0x53042e(0x286),_0x8e5e7f+='</template>\x0a',_0x8e5e7f+='<script\x20lang=\x22ts\x22\x20setup>\x0a';if(_0x12dfeb==_0x53042e(0x265))_0x8e5e7f+=_0x53042e(0x2a4)+_0x2a370a+_0x53042e(0x24c),_0x8e5e7f+=_0x53042e(0x2a4)+_0x2a370a+'Add\x20}\x20from\x20\x27@/apis/'+(_0x544aac?_0x53042e(0x1f4)+_0x544aac:''+_0x285331)+'/'+_0x2a370a+_0x53042e(0x281);else _0x12dfeb==_0x53042e(0x1e4)&&(_0x8e5e7f+=_0x53042e(0x2a4)+_0x2a370a+_0x53042e(0x21e),_0x8e5e7f+=_0x53042e(0x2a4)+_0x2a370a+_0x53042e(0x22c)+_0x2a370a+_0x53042e(0x279)+(_0x544aac?_0x53042e(0x1f4)+_0x544aac:''+_0x285331)+'/'+_0x2a370a+'\x27;\x0a\x0a');_0x8e5e7f+=_0x53042e(0x1d3);if(_0x12dfeb==_0x53042e(0x265))_0x8e5e7f+=_0x53042e(0x223);else _0x12dfeb=='edit'&&(_0x8e5e7f+=_0x53042e(0x282));_0x8e5e7f+=_0x53042e(0x1e7),_0x8e5e7f+='const\x20handlerSave\x20=\x20()=>{\x0a',_0x8e5e7f+=_0x53042e(0x1fd),_0x8e5e7f+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x2a370a+(_0x12dfeb==_0x53042e(0x265)?_0x53042e(0x23b):_0x53042e(0x2b1))+'('+(_0x12dfeb==_0x53042e(0x1e4)?_0x53042e(0x212)+_0x1b19e5[_0x53042e(0x26b)]+',\x20':'')+_0x53042e(0x220),_0x8e5e7f+=_0x53042e(0x27f),_0x8e5e7f+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x8e5e7f+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a',_0x8e5e7f+='\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x8e5e7f+=_0x53042e(0x21f),_0x8e5e7f+=_0x53042e(0x203),_0x12dfeb==_0x53042e(0x1e4)&&(_0x8e5e7f+=_0x53042e(0x260),_0x8e5e7f+=_0x53042e(0x241)+_0x1b19e5[_0x53042e(0x26b)]+':\x20'+(_0x565f04?_0x53042e(0x289):_0x53042e(0x24d))+')\x20=>\x20{\x0a',_0x8e5e7f+=_0x53042e(0x20a)+_0x1b19e5['Field']+_0x53042e(0x255),_0x8e5e7f+=_0x53042e(0x25a),_0x8e5e7f+=_0x53042e(0x26e)+_0x2a370a+_0x53042e(0x1f3)+_0x1b19e5['Field']+').then(res\x20=>\x20{\x0a',_0x8e5e7f+=_0x53042e(0x2b6),_0x8e5e7f+=_0x53042e(0x24e),_0x8e5e7f+=_0x53042e(0x27d),_0x8e5e7f+='\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x8e5e7f+=_0x53042e(0x258),_0x8e5e7f+=_0x53042e(0x1f9),_0x8e5e7f+='\x20\x20\x20\x20}\x0a',_0x8e5e7f+=_0x53042e(0x1f2),_0x8e5e7f+=_0x53042e(0x268)+_0x1b19e5[_0x53042e(0x26b)]+_0x53042e(0x288)+(_0x565f04?_0x53042e(0x289):'string')+')\x0a'),_0x8e5e7f+='</script>\x0a',fs[_0x53042e(0x28e)]((0x0,path_1[_0x53042e(0x211)])(_0x46b629),{'recursive':!![]}),fs[_0x53042e(0x294)](_0x46b629,_0x8e5e7f,_0x53042e(0x239));}}async function createAddOrEditDialog({moduleName:_0x2136fc,controller:_0x1f750f,tablestartUpShort:_0x4b3272,tablestartUpShort2:_0x27cffd,Primary:_0x4fa0f8,Fields:_0x43750f,apporbasic:_0x559b4d,Comment:_0x37069c},_0xe3a28a=a23_0x4e58ca(0x265)){const _0x4e76d8=a23_0x4e58ca;let _0x39f5e8=process['cwd']()+_0x4e76d8(0x1d4)+(typeof _0x1f750f=='string'?'/'+_0x1f750f:'');_0x2136fc?_0x39f5e8=_0x39f5e8+('/pages/apps/'+_0x2136fc+'/'+_0x27cffd+_0x4e76d8(0x200)+_0xe3a28a+_0x4e76d8(0x27b)):_0x39f5e8=_0x39f5e8+(_0x4e76d8(0x1d2)+_0x559b4d+'/'+_0x27cffd+_0x4e76d8(0x200)+_0xe3a28a+_0x4e76d8(0x27b));if(!fs[_0x4e76d8(0x226)](_0x39f5e8)){const _0x5209bd=''+(typeof _0x1f750f==_0x4e76d8(0x24d)?_0x1f750f+'/':'')+(_0x2136fc?_0x2136fc+'/':'')+_0x27cffd;let _0x458cba='';for(let _0x4bcaa3 in _0x43750f){const _0x34bd85=_0x43750f[_0x4bcaa3];if(['created_at',_0x4e76d8(0x240),_0x4e76d8(0x23d),_0x4e76d8(0x2a6)]['indexOf'](_0x4bcaa3)!=-0x1)continue;if(_0x4bcaa3[_0x4e76d8(0x253)](_0x4bcaa3[_0x4e76d8(0x1da)]-0x4)==_0x4e76d8(0x280)||_0x4bcaa3['substring'](_0x4bcaa3[_0x4e76d8(0x1da)]-0x6)=='thumbs')_0x458cba+='\x0a'+_0x4e76d8(0x285)+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+_0x4e76d8(0x20f)),_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x1e8)+_0x4bcaa3+_0x4e76d8(0x26d)+(_0x2136fc?_0x4e76d8(0x2ad)+_0x2136fc+'\x22':'')+'\x20/>'),_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x4bcaa3['substring'](_0x4bcaa3[_0x4e76d8(0x1da)]-0x3)==_0x4e76d8(0x202)||_0x4bcaa3['substring'](_0x4bcaa3[_0x4e76d8(0x1da)]-0x5)==_0x4e76d8(0x1e3)||_0x4bcaa3=='thumb'||_0x4bcaa3['substring'](_0x4bcaa3['length']-0x4)=='logo'||_0x4bcaa3=='logo')_0x458cba+='\x0a'+_0x4e76d8(0x285)+('<el-form-item\x20label=\x22'+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85['Field'])+_0x4e76d8(0x26a)+_0x4bcaa3+_0x4e76d8(0x20f)),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x1e8)+_0x4bcaa3+_0x4e76d8(0x2a7)+(_0x2136fc?_0x4e76d8(0x2ad)+_0x2136fc+'\x22':'')+'/>'),_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4e76d8(0x21a)+'\x0a';else{if(_0x4bcaa3[_0x4e76d8(0x253)](_0x4bcaa3['length']-0x4)==_0x4e76d8(0x252)||_0x4bcaa3[_0x4e76d8(0x253)](_0x4bcaa3['length']-0x3)==_0x4e76d8(0x1eb))_0x458cba+='\x0a'+_0x4e76d8(0x285)+('<el-form-item\x20label=\x22'+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x1db)+_0x4bcaa3+_0x4e76d8(0x230)+_0x34bd85[_0x4e76d8(0x259)]+_0x4e76d8(0x242)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';else{if(_0x4bcaa3[_0x4e76d8(0x2b3)](-0x3)==_0x4e76d8(0x28b))_0x458cba+='\x0a'+_0x4e76d8(0x285)+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+'\x22\x20prop=\x22'+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x1f0)+_0x4bcaa3+_0x4e76d8(0x23c)+_0x34bd85['Comment']+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>'),_0x458cba+='\x0a'+_0x4e76d8(0x285)+'</el-form-item>'+'\x0a';else{if(_0x4bcaa3[_0x4e76d8(0x2b3)](-0x4)==_0x4e76d8(0x213))_0x458cba+='\x0a'+_0x4e76d8(0x285)+(_0x4e76d8(0x209)+(_0x34bd85['Comment']||_0x34bd85[_0x4e76d8(0x26b)])+'\x22\x20prop=\x22'+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x25d)+_0x4bcaa3+_0x4e76d8(0x23c)+_0x34bd85[_0x4e76d8(0x259)]+_0x4e76d8(0x249)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';else{if(_0x4bcaa3[_0x4e76d8(0x2b3)](-0x3)=='_id'){let _0x1109a9=''+(typeof _0x1f750f==_0x4e76d8(0x24d)?_0x1f750f+'/':'')+(_0x2136fc?_0x2136fc+'/':'')+_0x27cffd;_0x458cba+='\x0a'+_0x4e76d8(0x285)+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x243)+_0x4bcaa3+_0x4e76d8(0x1ed)+_0x1109a9+_0x4e76d8(0x27a)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';}else switch((0x0,helper_1[_0x4e76d8(0x29d)])(_0x34bd85[_0x4e76d8(0x26f)])){case _0x4e76d8(0x289):_0x458cba+='\x0a'+_0x4e76d8(0x285)+('<el-form-item\x20label=\x22'+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+('<el-input-number\x20v-model=\x22formdata.'+_0x4bcaa3+_0x4e76d8(0x23c)+_0x34bd85[_0x4e76d8(0x259)]+_0x4e76d8(0x1dc)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';break;case _0x4e76d8(0x247):_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x275)+_0x4bcaa3+'\x22\x20placeholder=\x22请选择'+_0x34bd85[_0x4e76d8(0x259)]+'\x22\x20clearable>');for(let _0x347271 of(0x0,helper_1[_0x4e76d8(0x2ab)])(_0x34bd85[_0x4e76d8(0x26f)])){_0x458cba+='\x0a'+_0x4e76d8(0x233)+(_0x4e76d8(0x29f)+_0x347271+_0x4e76d8(0x2a9)+_0x347271+'\x22\x20/>');}_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+_0x4e76d8(0x267),_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x4e76d8(0x2b4):_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+'\x22\x20prop=\x22'+_0x4bcaa3+_0x4e76d8(0x20f)),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x25d)+_0x4bcaa3+_0x4e76d8(0x2b9)+_0x34bd85['Comment']+_0x4e76d8(0x248)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';break;case _0x4e76d8(0x234):_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22\x20class=\x22block\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x21b)+_0x4bcaa3+'\x22\x20'+(_0x2136fc?_0x4e76d8(0x2ad)+_0x2136fc+'\x22':'')+'/>'),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';break;case _0x4e76d8(0x2a0):_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x209)+(_0x34bd85['Comment']||_0x34bd85[_0x4e76d8(0x26b)])+'\x22\x20prop=\x22'+_0x4bcaa3+_0x4e76d8(0x20f)),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x21b)+_0x4bcaa3+'\x22\x20'+(_0x2136fc?_0x4e76d8(0x2ad)+_0x2136fc+'\x22':'')+'/>'),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';break;case _0x4e76d8(0x232):_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x209)+(_0x34bd85['Comment']||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4e76d8(0x296)+_0x4bcaa3+_0x4e76d8(0x22f)+_0x34bd85[_0x4e76d8(0x259)]+_0x4e76d8(0x21c)),_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4e76d8(0x21a)+'\x0a';break;case _0x4e76d8(0x237):_0x458cba+='\x0a'+_0x4e76d8(0x285)+('<el-form-item\x20label=\x22'+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85['Field'])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x296)+_0x4bcaa3+_0x4e76d8(0x22f)+_0x34bd85[_0x4e76d8(0x259)]+_0x4e76d8(0x2a1)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';break;case _0x4e76d8(0x299):_0x458cba+='\x0a'+_0x4e76d8(0x285)+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+(_0x4e76d8(0x296)+_0x4bcaa3+'\x22\x20placeholder=\x22选择'+_0x34bd85[_0x4e76d8(0x259)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';break;default:_0x458cba+='\x0a'+_0x4e76d8(0x285)+(_0x4e76d8(0x209)+(_0x34bd85[_0x4e76d8(0x259)]||_0x34bd85[_0x4e76d8(0x26b)])+_0x4e76d8(0x26a)+_0x4bcaa3+'\x22>'),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+('<el-input\x20v-model=\x22formdata.'+_0x4bcaa3+_0x4e76d8(0x23c)+_0x34bd85[_0x4e76d8(0x259)]+_0x4e76d8(0x249)),_0x458cba+='\x0a'+_0x4e76d8(0x285)+'</el-form-item>'+'\x0a';}}}}}}}_0x458cba+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4e76d8(0x214),_0x458cba+='\x0a'+_0x4e76d8(0x1d7)+_0x4e76d8(0x1d9),_0x458cba+='\x0a'+_0x4e76d8(0x285)+_0x4e76d8(0x21a)+'\x0a';let _0x3b42c8='<template>\x0a';_0x3b42c8+=_0x4e76d8(0x297)+(_0xe3a28a==_0x4e76d8(0x265)?'添加'+_0x37069c:'编辑'+_0x37069c)+_0x4e76d8(0x2aa),_0x3b42c8+=_0x4e76d8(0x1d6)+_0x4b3272+(_0xe3a28a==_0x4e76d8(0x265)?_0x4e76d8(0x23b):_0x4e76d8(0x2b1))+'Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/'+_0x5209bd+'/'+(_0xe3a28a=='add'?'add':_0x4e76d8(0x1dd)+_0x4fa0f8[_0x4e76d8(0x26b)])+'`)\x22>\x0a',_0x3b42c8+=_0x4e76d8(0x285)+_0x458cba+'\x0a\x0a',_0x3b42c8+=_0x4e76d8(0x2b5),_0x3b42c8+=_0x4e76d8(0x22a),_0x3b42c8+=_0x4e76d8(0x2bb)+_0x5209bd+'/'+(_0xe3a28a==_0x4e76d8(0x265)?_0x4e76d8(0x265):_0x4e76d8(0x1dd)+_0x4fa0f8[_0x4e76d8(0x26b)])+_0x4e76d8(0x1e9),_0x3b42c8+=_0x4e76d8(0x24a),_0x3b42c8+=_0x4e76d8(0x216),_0x3b42c8+=_0x4e76d8(0x273),_0x3b42c8+=_0x4e76d8(0x2ae);if(_0xe3a28a==_0x4e76d8(0x265))_0x3b42c8+=_0x4e76d8(0x2a4)+_0x4b3272+_0x4e76d8(0x24c),_0x3b42c8+=_0x4e76d8(0x2a4)+_0x4b3272+_0x4e76d8(0x1e1)+(_0x2136fc?_0x4e76d8(0x1f4)+_0x2136fc:''+_0x559b4d)+'/'+_0x4b3272+'\x27;\x0a\x0a';else _0xe3a28a==_0x4e76d8(0x1e4)&&(_0x3b42c8+=_0x4e76d8(0x2a4)+_0x4b3272+_0x4e76d8(0x21e),_0x3b42c8+=_0x4e76d8(0x2a4)+_0x4b3272+'Detail,\x20'+_0x4b3272+'Edit\x20}\x20from\x20\x27@/apis/'+(_0x2136fc?_0x4e76d8(0x1f4)+_0x2136fc:''+_0x559b4d)+'/'+_0x4b3272+_0x4e76d8(0x281));if(_0xe3a28a==_0x4e76d8(0x265))_0x3b42c8+=_0x4e76d8(0x1d8),_0x3b42c8+=_0x4e76d8(0x26c),_0x3b42c8+=_0x4e76d8(0x203);else _0xe3a28a==_0x4e76d8(0x1e4)&&(_0x3b42c8+=_0x4e76d8(0x28d)+_0x4fa0f8[_0x4e76d8(0x26b)]+_0x4e76d8(0x262),_0x3b42c8+=_0x4e76d8(0x24f)+_0x4b3272+'Detail('+_0x4fa0f8[_0x4e76d8(0x26b)]+').then(res\x20=>\x20{\x0a',_0x3b42c8+=_0x4e76d8(0x23f),_0x3b42c8+=_0x4e76d8(0x224),_0x3b42c8+=_0x4e76d8(0x2ac),_0x3b42c8+=_0x4e76d8(0x21f),_0x3b42c8+=_0x4e76d8(0x203));;_0x3b42c8+='//\x20保存数据\x0a',_0x3b42c8+=_0x4e76d8(0x2a3),_0x3b42c8+=_0x4e76d8(0x1fd),_0x3b42c8+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x4b3272+(_0xe3a28a==_0x4e76d8(0x265)?_0x4e76d8(0x23b):_0x4e76d8(0x2b1))+'('+(_0xe3a28a=='edit'?_0x4e76d8(0x212)+_0x4fa0f8[_0x4e76d8(0x26b)]+',\x20':'')+_0x4e76d8(0x220),_0x3b42c8+=_0x4e76d8(0x20b),_0x3b42c8+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x3b42c8+=_0x4e76d8(0x290),_0x3b42c8+='\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x3b42c8+=_0x4e76d8(0x21f),_0x3b42c8+=_0x4e76d8(0x203),_0x3b42c8+='defineExpose({\x20open\x20})\x0a',_0x3b42c8+=_0x4e76d8(0x244),fs[_0x4e76d8(0x28e)]((0x0,path_1[_0x4e76d8(0x211)])(_0x39f5e8),{'recursive':!![]}),fs[_0x4e76d8(0x294)](_0x39f5e8,_0x3b42c8,_0x4e76d8(0x239));}}
1
+ const a23_0x5ce92a=a23_0x4439;(function(_0x33c33a,_0x18f411){const _0x2a933c=a23_0x4439,_0x5d2434=_0x33c33a();while(!![]){try{const _0x4e2ec6=-parseInt(_0x2a933c(0xd0))/0x1+parseInt(_0x2a933c(0x100))/0x2+parseInt(_0x2a933c(0xf6))/0x3+-parseInt(_0x2a933c(0xb1))/0x4+parseInt(_0x2a933c(0xdd))/0x5*(-parseInt(_0x2a933c(0xb6))/0x6)+-parseInt(_0x2a933c(0xce))/0x7*(parseInt(_0x2a933c(0xb7))/0x8)+parseInt(_0x2a933c(0x116))/0x9;if(_0x4e2ec6===_0x18f411)break;else _0x5d2434['push'](_0x5d2434['shift']());}catch(_0x5d0905){_0x5d2434['push'](_0x5d2434['shift']());}}}(a23_0x178b,0x7f9df));const a23_0x5ddc62=(function(){let _0x537d66=!![];return function(_0x12bb59,_0x21ff33){const _0x182094=_0x537d66?function(){const _0x3dffa6=a23_0x4439;if(_0x21ff33){const _0x3cdd31=_0x21ff33[_0x3dffa6(0x111)](_0x12bb59,arguments);return _0x21ff33=null,_0x3cdd31;}}:function(){};return _0x537d66=![],_0x182094;};}()),a23_0x36310b=a23_0x5ddc62(this,function(){const _0x58488=a23_0x4439;return a23_0x36310b[_0x58488(0x14c)]()[_0x58488(0x149)]('(((.+)+)+)+$')[_0x58488(0x14c)]()['constructor'](a23_0x36310b)[_0x58488(0x149)](_0x58488(0x15b));});a23_0x36310b();'use strict';function a23_0x4439(_0x312ad7,_0x26511b){const _0x39fead=a23_0x178b();return a23_0x4439=function(_0x36310b,_0x5ddc62){_0x36310b=_0x36310b-0x86;let _0x178b23=_0x39fead[_0x36310b];return _0x178b23;},a23_0x4439(_0x312ad7,_0x26511b);}Object[a23_0x5ce92a(0x9b)](exports,'__esModule',{'value':!![]});function a23_0x178b(){const _0x2df0b0=['`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','<el-input-number\x20v-model=\x22props.search.','apps/','edit','const\x20handlerSave\x20=\x20()=>{\x0a','\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','$router.push(`add`)','dirname','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','</script>\x0a','\x20\x20\x20\x20}\x0a','(((.+)+)+)+$','Type','\x20\x20\x20\x20</elplus-dialog>\x0a','\x22\x20split=\x22-\x22\x20clearable/>','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','Add\x20}\x20from\x20\x27@/apis/','<tinymce-editor\x20v-model=\x22formdata.','>=\x22>','}\x0a\x0a','//\x20保存数据\x0a','tags','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','\x22\x20placeholder=\x22请输入','Remove({\x20','datetime',':\x20item.','getProp','Remove,\x20','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','add','Edit\x20}\x20from\x20\x27@/apis/','/pages/apps/','existsSync','\x22\x20clearable/>','List(Object.assign({},\x20route?.query\x20||\x20{},\x20table.search\x20||\x20{},\x20sortable)).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20table.data\x20=\x20res.data\x20||\x20[],\x20table.search\x20=\x20{\x20...table.search,\x20...res?.extra?.pageinfo\x20||\x20{},\x20_count:\x20res?.extra?.pagetotal\x20||\x200\x20};\x0a\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a\x20\x20\x20\x20});\x0a}\x0a\x0a/**\x0a\x20*\x20删除数据\x0a\x20*\x20**/\x0aconst\x20handlerRemove\x20=\x20(item:any)\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20$confirm(`确定删除数据吗?`,\x20\x27提示\x27,\x20{\x20confirmButtonText:\x20\x27确定\x27,\x20cancelButtonText:\x20\x27取消\x27,\x20type:\x20\x27warning\x27\x20}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20:model=\x22formdata\x22\x20:rules=\x22','<elplus-select-search\x20v-model=\x22formdata.','substr','\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','defineProperty','<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\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x22\x20prop=\x22','\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>','\x20\x20\x20\x20\x20\x20\x20\x20','tinyint','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','deleted_at','<template>\x0a\x20\x20\x20\x20','<=\x22>','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','<template\x20#default=\x22scope\x22>','utf-8','<attachment-image\x20v-model=\x22formdata.','\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\x20route\x20=\x20useRoute(),\x20table\x20=\x20reactive({\x0a\x20\x20\x20\x20data:\x20[],\x0a\x20\x20\x20\x20select:\x20[],\x0a\x20\x20\x20\x20search:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20_page:\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_size:\x2020,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_count:\x200,\x0a\x20\x20\x20\x20}\x0a})\x0a\x0a\x0a/**\x0a\x20*\x20获取数据列表\x0a\x20*\x20@param\x20page\x20分页-当前页\x0a\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20*\x20**/\x0aconst\x20LoadDatas\x20=\x20(page?:\x20number,\x20size?:\x20number,\x20sortable\x20=\x20{})\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20page\x20&&\x20(table.search._page\x20=\x20page),\x20size\x20&&\x20(table.search._size\x20=\x20size);\x0a\x20\x20\x20\x20','mkdirSync','components/search.vue','\x22\x20:limit=\x225\x22\x20','/components/dialog-','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','847440vpzSVf','length','_end\x22\x20placeholder=\x22选择','Detail(','<el-input\x20v-model=\x22formdata.','2670BFDmhV','897928QiTQsG',').then(res\x20=>\x20{\x0a','date','/vue','<el-form-item\x20label=\x22','Field','\x22\x20/>','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22>','string','/index.vue','_ids','const\x20getDetail\x20=\x20(','\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.','<elplus-switch\x20v-model=\x22scope.row\x22\x20field=\x22','\x22\x20value=\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@/','<el-avatar\x20:src=\x22scope.row.','Edit','/remove`)\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22danger\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</elplus-table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','<el-table-column\x20prop=','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','</el-select>','\x22\x20class=\x22block\x22>','28tuGaKO','\x20label=\x22','367824uPNDHK','<img\x20:src=\x22scope.row.','longtext','\x20/>','const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20()\x20=>\x20{\x0a','logo','_id','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','<elplus-select-tags\x20v-model=\x22formdata.','cwd','/pages/','<el-date-picker\x20v-model=\x22props.search.','<dialog-add-vue\x20ref=\x22refDialogAdd\x22\x20@save=\x22LoadDatas()\x22\x20/>','10810XGCzfY',')\x20=>\x20{\x0a','index.vue','<el-select\x20v-model=\x22formdata.','<el-select\x20v-model=\x22props.search.','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','$router.push(`edit?','\x22\x20:limit=\x221\x22\x20','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','<el-input\x20v-model=\x22props.search.','//\x20获取详情\x0a','\x20\x20\x20\x20}\x20else\x20{\x0a','writeFileSync','\x0a\x20\x20\x20\x20</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0a','<el-option\x20label=\x22','</el-popover>','updated_at','padEnd','img','</a>','\x22\x20placeholder=\x22选择','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20emits(\x27save\x27),\x20refDialog?.value?.close()\x0a','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20prop=\x22displayorder\x22\x20align=\x22center\x22\x20width=\x2280\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-input\x20v-model=\x22scope.row.displayorder\x22\x20type=\x22number\x22\x20@change=\x22handlerFieldChange(scope.row,\x27displayorder\x27)\x22></el-input>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/','\x27;\x0a\x0a','2656836KJkSCO','tag','Edit(item.',',\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>','mediumtext','\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','import\x20dialogAddVue\x20from\x20\x27./components/dialog-add.vue\x27;','\x22\x20api=\x22','item).then(res=>{\x0a','Edit,\x20','1124570Pjgcvm','endsWith','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','substring','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','$refs?.refDialogAdd?.open()','</template>','number','</el-table-column>','}`)','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x22\x20\x20placeholder=\x22请输入','num','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','text','Detail\x20}\x20from\x20\x27@/apis/','module=\x22','apply','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','_start\x22\x20placeholder=\x22选择','displayorder','9590040RxabWf','<el-date-picker\x20v-model=\x22formdata.','`)\x22\x20@click=\x22','\x20\x20\x20\x20<elplus-dialog\x20ref=\x22refDialog\x22\x20:loading=\x22loading\x22\x20title=\x22','\x20\x20\x20\x20</page-main>\x0a','`)\x22>\x0a','timestamp','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','<a\x20:href=\x22scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22>\x0a','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','\x22\x20placeholder=\x22请选择','<template>\x0a','\x20\x20\x20\x20formdata.value\x20=\x20{},\x20','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','created_at','enum','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','getEnum','edit/:','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','}\x0a\x0a\x0a','path','<script\x20lang=\x22ts\x22\x20setup>\x0a','/list/','Add','\x20\x20\x20\x20<page-main>\x0a','defineExpose({\x20open\x20})\x0a','\x22\x20style=\x22cursor:pointer\x22/>','List,\x20','\x22\x20clearable>','indexOf','thumb','.vue','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20','\x22\x20placeholder=\x22请输入或选择','\x0aimport\x20{\x20','Comment','item.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27),\x20router.back();\x0a','<el-input-number\x20v-model=\x22formdata.','../helper','<elplus-select-search\x20v-model=\x22props.search.','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','import\x20{\x20','search','\x22\x20\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','</el-form-item>','toString'];a23_0x178b=function(){return _0x2df0b0;};return a23_0x178b();}const fs=require('fs'),path_1=require(a23_0x5ce92a(0x130)),helper_1=require(a23_0x5ce92a(0x145));async function default_1({moduleName:_0x2870dd,controller:_0x18079a,tablestartUpShort:_0x3aed19,tablestartUpShort2:_0x1ae1b7,Primary:_0x50ea83,Fields:_0x3f1266,apporbasic:_0x1c856e,Comment:_0x13aa2e,vuedialog:_0x2f79b3}){const _0x485b69=a23_0x5ce92a;await createIndex({'moduleName':_0x2870dd,'controller':_0x18079a,'tablestartUpShort':_0x3aed19,'tablestartUpShort2':_0x1ae1b7,'Primary':_0x50ea83,'Fields':_0x3f1266,'apporbasic':_0x1c856e,'vuedialog':_0x2f79b3}),await createSearch({'moduleName':_0x2870dd,'controller':_0x18079a,'tablestartUpShort2':_0x1ae1b7,'Primary':_0x50ea83,'Fields':_0x3f1266,'apporbasic':_0x1c856e,'vuedialog':_0x2f79b3}),!_0x2f79b3?(await createAddOrEdit({'moduleName':_0x2870dd,'controller':_0x18079a,'tablestartUpShort':_0x3aed19,'tablestartUpShort2':_0x1ae1b7,'Primary':_0x50ea83,'Fields':_0x3f1266,'apporbasic':_0x1c856e,'Comment':_0x13aa2e},_0x485b69(0x90)),await createAddOrEdit({'moduleName':_0x2870dd,'controller':_0x18079a,'tablestartUpShort':_0x3aed19,'tablestartUpShort2':_0x1ae1b7,'Primary':_0x50ea83,'Fields':_0x3f1266,'apporbasic':_0x1c856e,'Comment':_0x13aa2e},_0x485b69(0x150))):(await createAddOrEditDialog({'moduleName':_0x2870dd,'controller':_0x18079a,'tablestartUpShort':_0x3aed19,'tablestartUpShort2':_0x1ae1b7,'Primary':_0x50ea83,'Fields':_0x3f1266,'apporbasic':_0x1c856e,'Comment':_0x13aa2e},_0x485b69(0x90)),await createAddOrEditDialog({'moduleName':_0x2870dd,'controller':_0x18079a,'tablestartUpShort':_0x3aed19,'tablestartUpShort2':_0x1ae1b7,'Primary':_0x50ea83,'Fields':_0x3f1266,'apporbasic':_0x1c856e,'Comment':_0x13aa2e},_0x485b69(0x150)));}exports['default']=default_1;async function createIndex({moduleName:_0x3f3933,controller:_0x2ce315,tablestartUpShort:_0x23053,tablestartUpShort2:_0x47063d,Primary:_0x37e739,Fields:_0x3be62f,apporbasic:_0x2a3a1a,vuedialog:_0x56dcd4}){const _0xa8ad80=a23_0x5ce92a;let _0x424290=process[_0xa8ad80(0xd9)]()+_0xa8ad80(0xba)+(typeof _0x2ce315==_0xa8ad80(0xbf)?'/'+_0x2ce315:'');_0x3f3933?_0x424290=_0x424290+('/pages/apps/'+_0x3f3933+'/'+_0x47063d+(!_0x56dcd4?'/list/':'/')+_0xa8ad80(0xdf)):_0x424290=_0x424290+('/pages/'+_0x2a3a1a+'/'+_0x47063d+(!_0x56dcd4?_0xa8ad80(0x132):'/')+_0xa8ad80(0xdf));if(!fs['existsSync'](_0x424290)){let _0x6c880a=_0xa8ad80(0xca)+('\x22'+_0x37e739[_0xa8ad80(0xbc)]+'\x22')[_0xa8ad80(0xef)](0x14)+(_0xa8ad80(0xcf)+(_0x37e739[_0xa8ad80(0x140)]||'编号')+_0xa8ad80(0x8f));for(let _0xf524b4 in _0x3be62f){const _0x182ec9=_0x3be62f[_0xf524b4];if(['created_at','updated_at','deleted_at',_0xa8ad80(0x115)]['indexOf'](_0xf524b4)!=-0x1)continue;if(_0xf524b4[_0xa8ad80(0x103)](_0xf524b4[_0xa8ad80(0xb2)]-0x3)==_0xa8ad80(0xf0)||_0xf524b4['substring'](_0xf524b4['length']-0x5)=='thumb'||_0xf524b4=='thumb'||_0xf524b4[_0xa8ad80(0x103)](_0xf524b4[_0xa8ad80(0xb2)]-0x4)==_0xa8ad80(0xd5)||_0xf524b4=='logo')_0x6c880a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa8ad80(0xca)+('\x22'+_0xf524b4+'\x22')[_0xa8ad80(0xef)](0x14)+(_0xa8ad80(0xcf)+(_0x182ec9[_0xa8ad80(0x140)]||_0x182ec9[_0xa8ad80(0xbc)])+_0xa8ad80(0x104)),_0x6c880a+='\x0a'+_0xa8ad80(0x12c)+_0xa8ad80(0xa8),_0x6c880a+='\x0a'+_0xa8ad80(0x9a)+_0xa8ad80(0x122),_0x6c880a+='\x0a'+_0xa8ad80(0x120)+(_0xa8ad80(0x11e)+_0xf524b4+_0xa8ad80(0x8e)),_0x6c880a+='\x0a'+_0xa8ad80(0x11d)+(_0xa8ad80(0xd1)+_0xf524b4+'\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>'),_0x6c880a+='\x0a'+_0xa8ad80(0x120)+_0xa8ad80(0xf1),_0x6c880a+='\x0a'+_0xa8ad80(0x120)+'<template\x20#reference>',_0x6c880a+='\x0a'+_0xa8ad80(0x11d)+(_0xa8ad80(0xc7)+_0xf524b4+_0xa8ad80(0x136)),_0x6c880a+='\x0a'+_0xa8ad80(0x120)+_0xa8ad80(0x106),_0x6c880a+='\x0a'+_0xa8ad80(0x9a)+_0xa8ad80(0xed),_0x6c880a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa8ad80(0x106),_0x6c880a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa8ad80(0x108);else{if([_0xa8ad80(0xa1)][_0xa8ad80(0x139)]((0x0,helper_1[_0xa8ad80(0x8c)])(_0x182ec9[_0xa8ad80(0x15c)]))!=-0x1)_0x6c880a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa8ad80(0xca)+('\x22'+_0xf524b4+'\x22')[_0xa8ad80(0xef)](0x14)+('\x20label=\x22'+(_0x182ec9['Comment']||_0x182ec9['Field'])+_0xa8ad80(0xbe)),_0x6c880a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa8ad80(0xa8),_0x6c880a+='\x0a'+_0xa8ad80(0x9a)+(_0xa8ad80(0xc4)+_0xf524b4+'\x22\x20active-text=\x22启用\x22\x20inactive-text=\x22禁用\x22\x20@change=\x22handlerFieldChange\x22\x20/>'),_0x6c880a+='\x0a'+_0xa8ad80(0x12c)+'</template>',_0x6c880a+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xa8ad80(0x108);else[_0xa8ad80(0x10e)][_0xa8ad80(0x139)]((0x0,helper_1['getProp'])(_0x182ec9[_0xa8ad80(0x15c)]))==-0x1&&(_0x6c880a+='\x0a'+_0xa8ad80(0xcb)+_0xa8ad80(0xca)+('\x22'+_0xf524b4+'\x22')[_0xa8ad80(0xef)](0x14)+(_0xa8ad80(0xcf)+(_0x182ec9[_0xa8ad80(0x140)]||_0x182ec9[_0xa8ad80(0xbc)])+_0xa8ad80(0xa7)));}}const _0x4668f5=''+(typeof _0x2ce315==_0xa8ad80(0xbf)?_0x2ce315+'/':'')+(_0x3f3933?_0x3f3933+'/':'')+_0x47063d;fs[_0xa8ad80(0xac)]((0x0,path_1[_0xa8ad80(0x154)])(_0x424290),{'recursive':!![]}),fs[_0xa8ad80(0xea)](_0x424290,_0xa8ad80(0x9c)+_0x4668f5+'/add`)\x22\x20@click=\x22'+(!_0x56dcd4?_0xa8ad80(0x153):_0xa8ad80(0x105))+_0xa8ad80(0x14a)+_0x6c880a+_0xa8ad80(0xf4)+_0x4668f5+'/edit/:'+_0x37e739[_0xa8ad80(0xbc)]+_0xa8ad80(0x118)+(!_0x56dcd4?_0xa8ad80(0xe3)+_0x37e739['Field']+_0xa8ad80(0x112)+_0x37e739[_0xa8ad80(0xbc)]+_0xa8ad80(0x109):'$refs?.refDialogEdit?.open(scope.row.id)')+_0xa8ad80(0xc6)+_0x4668f5+_0xa8ad80(0xc9)+(!_0x56dcd4?'':_0xa8ad80(0xdc))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(!_0x56dcd4?'':'<dialog-edit-vue\x20ref=\x22refDialogEdit\x22\x20@save=\x22LoadDatas()\x22/>')+_0xa8ad80(0xeb)+(!_0x56dcd4?'':_0xa8ad80(0xfc))+'\x0a'+(!_0x56dcd4?'':'import\x20dialogEditVue\x20from\x20\x27./components/dialog-edit.vue\x27;')+_0xa8ad80(0x13f)+_0x23053+_0xa8ad80(0x137)+_0x23053+_0xa8ad80(0x8d)+_0x23053+_0xa8ad80(0x91)+(_0x3f3933?_0xa8ad80(0x14f)+_0x3f3933:''+_0x2a3a1a)+'/'+_0x23053+_0xa8ad80(0xab)+_0x23053+_0xa8ad80(0x95)+_0x23053+_0xa8ad80(0x89)+_0x37e739[_0xa8ad80(0xbc)]+_0xa8ad80(0x8b)+_0x37e739[_0xa8ad80(0xbc)]+_0xa8ad80(0xc3)+_0x37e739['Field']+')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x23053+_0xa8ad80(0xf8)+_0x37e739[_0xa8ad80(0xbc)]+_0xa8ad80(0xf9),_0xa8ad80(0xa9));}}async function createSearch({moduleName:_0x596096,tablestartUpShort2:_0x3f59d6,controller:_0x141145,Primary:_0x6cd502,Fields:_0x306a8c,apporbasic:_0xb21077,vuedialog:_0x137d49}){const _0x52f75f=a23_0x5ce92a;let _0x1acb72=process[_0x52f75f(0xd9)]()+_0x52f75f(0xba)+(typeof _0x141145=='string'?'/'+_0x141145:'');_0x596096?_0x1acb72=_0x1acb72+('/pages/apps/'+_0x596096+'/'+_0x3f59d6+(!_0x137d49?_0x52f75f(0x132):'/')+_0x52f75f(0xad)):_0x1acb72=_0x1acb72+(_0x52f75f(0xda)+_0xb21077+'/'+_0x3f59d6+(!_0x137d49?_0x52f75f(0x132):'/')+'components/search.vue');if(!fs[_0x52f75f(0x93)](_0x1acb72)){let _0x4b9bcd='';_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+(_0x52f75f(0xbb)+(_0x6cd502[_0x52f75f(0x140)]||'编号')+'\x22>'),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22props.search.'+_0x6cd502[_0x52f75f(0xbc)]+_0x52f75f(0x88)+(_0x6cd502[_0x52f75f(0x140)]||'编号')+_0x52f75f(0x94)),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b);for(let _0x296799 in _0x306a8c){const _0x4b3dde=_0x306a8c[_0x296799];if(['updated_at',_0x52f75f(0xa4),_0x52f75f(0x115)][_0x52f75f(0x139)](_0x296799)!=-0x1)continue;if(_0x296799[_0x52f75f(0x103)](_0x296799[_0x52f75f(0xb2)]-0x3)=='img'||_0x296799['substring'](_0x296799[_0x52f75f(0xb2)]-0x5)==_0x52f75f(0x13a)||_0x296799==_0x52f75f(0x13a)||_0x296799['substring'](_0x296799[_0x52f75f(0xb2)]-0x4)==_0x52f75f(0xd5)||_0x296799==_0x52f75f(0xd5))continue;if(_0x296799[_0x52f75f(0x103)](_0x296799['length']-0x3)==_0x52f75f(0x10c))_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+(_0x52f75f(0xbb)+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde[_0x52f75f(0xbc)])+'\x22>'),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x52f75f(0x14e)+_0x296799+_0x52f75f(0x88)+_0x4b3dde[_0x52f75f(0x140)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>'),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+_0x52f75f(0x14b)+'\x0a';else{if(_0x296799[_0x52f75f(0x101)](_0x52f75f(0xd6))){let _0x4bf23a=''+(typeof _0x141145=='string'?_0x141145+'/':'')+(_0x596096?_0x596096+'/':'')+_0x3f59d6;_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+(_0x52f75f(0xbb)+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde[_0x52f75f(0xbc)])+'\x22>'),_0x4b9bcd+='\x0a'+_0x52f75f(0x142)+(_0x52f75f(0x146)+_0x296799+_0x52f75f(0xfd)+_0x4bf23a+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+_0x52f75f(0x14b)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x4b3dde[_0x52f75f(0x15c)])){case _0x52f75f(0x128):_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+(_0x52f75f(0xbb)+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde['Field'])+'\x22>'),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x52f75f(0xe1)+_0x296799+_0x52f75f(0x123)+_0x4b3dde[_0x52f75f(0x140)]+'\x22\x20clearable>');for(let _0x5a92e3 of(0x0,helper_1[_0x52f75f(0x12a)])(_0x4b3dde[_0x52f75f(0x15c)])){_0x4b9bcd+='\x0a'+_0x52f75f(0x142)+(_0x52f75f(0xec)+_0x5a92e3+_0x52f75f(0xc5)+_0x5a92e3+_0x52f75f(0xbd));}_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+_0x52f75f(0xcc),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b)+'\x0a';break;case'date':_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+(_0x52f75f(0xbb)+(_0x4b3dde['Comment']||_0x4b3dde['Field'])+_0x52f75f(0x163)),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x52f75f(0xdb)+_0x296799+_0x52f75f(0x114)+_0x4b3dde['Comment']+_0x52f75f(0xe2)),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b)+'\x0a',_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+(_0x52f75f(0xbb)+(_0x4b3dde['Comment']||_0x4b3dde['Field'])+_0x52f75f(0xa6)),_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+(_0x52f75f(0xdb)+_0x296799+_0x52f75f(0xb3)+_0x4b3dde[_0x52f75f(0x140)]+_0x52f75f(0xb0)),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b)+'\x0a';break;case _0x52f75f(0x8a):_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+(_0x52f75f(0xbb)+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde[_0x52f75f(0xbc)])+'>=\x22>'),_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+(_0x52f75f(0xdb)+_0x296799+_0x52f75f(0x114)+_0x4b3dde[_0x52f75f(0x140)]+_0x52f75f(0x102)),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b)+'\x0a',_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+(_0x52f75f(0xbb)+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde[_0x52f75f(0xbc)])+_0x52f75f(0xa6)),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x52f75f(0xdb)+_0x296799+'_end\x22\x20placeholder=\x22选择'+_0x4b3dde[_0x52f75f(0x140)]+_0x52f75f(0x9d)),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x52f75f(0x11c):_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+(_0x52f75f(0xbb)+(_0x4b3dde['Comment']||_0x4b3dde[_0x52f75f(0xbc)])+_0x52f75f(0x163)),_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+(_0x52f75f(0xdb)+_0x296799+_0x52f75f(0x114)+_0x4b3dde['Comment']+_0x52f75f(0x102)),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b)+'\x0a',_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+('<el-form-item\x20label=\x22'+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde['Field'])+_0x52f75f(0xa6)),_0x4b9bcd+='\x0a'+_0x52f75f(0xa0)+('<el-date-picker\x20v-model=\x22props.search.'+_0x296799+_0x52f75f(0xb3)+_0x4b3dde['Comment']+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case _0x52f75f(0xbf):_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20'+(_0x52f75f(0xbb)+(_0x4b3dde[_0x52f75f(0x140)]||_0x4b3dde[_0x52f75f(0xbc)])+'\x22>'),_0x4b9bcd+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x52f75f(0xe7)+_0x296799+'\x22\x20placeholder=\x22请输入'+_0x4b3dde[_0x52f75f(0x140)]+_0x52f75f(0x94)),_0x4b9bcd+='\x0a'+_0x52f75f(0x13d)+_0x52f75f(0x14b)+'\x0a';}}}fs['mkdirSync']((0x0,path_1[_0x52f75f(0x154)])(_0x1acb72),{'recursive':!![]}),fs['writeFileSync'](_0x1acb72,_0x52f75f(0xa5)+_0x4b9bcd+_0x52f75f(0x9f),'utf-8');}}async function createAddOrEdit({moduleName:_0x52e128,controller:_0x556223,tablestartUpShort:_0x5a3687,tablestartUpShort2:_0x1ff406,Primary:_0x1334f5,Fields:_0x6be0ad,apporbasic:_0x576b65,Comment:_0x1f87c2},_0x2a8d9a=a23_0x5ce92a(0x90)){const _0x51669f=a23_0x5ce92a;let _0xa16754=process[_0x51669f(0xd9)]()+'/vue'+(typeof _0x556223==_0x51669f(0xbf)?'/'+_0x556223:'');_0x52e128?_0xa16754=_0xa16754+(_0x51669f(0x92)+_0x52e128+'/'+_0x1ff406+'/'+_0x2a8d9a+_0x51669f(0xc0)):_0xa16754=_0xa16754+(_0x51669f(0xda)+_0x576b65+'/'+_0x1ff406+'/'+_0x2a8d9a+_0x51669f(0xc0));if(!fs['existsSync'](_0xa16754)){const _0x26feed=['text',_0x51669f(0xfa),_0x51669f(0xbf)][_0x51669f(0x139)]((0x0,helper_1[_0x51669f(0x8c)])(_0x1334f5[_0x51669f(0x15c)]))==-0x1,_0x5f227a=''+(typeof _0x556223==_0x51669f(0xbf)?_0x556223+'/':'')+(_0x52e128?_0x52e128+'/':'')+_0x1ff406;let _0x11b966='';for(let _0x4f150c in _0x6be0ad){const _0x45d5ec=_0x6be0ad[_0x4f150c];if([_0x51669f(0x127),_0x51669f(0xee),_0x51669f(0xa4),_0x51669f(0x115)][_0x51669f(0x139)](_0x4f150c)!=-0x1)continue;if(_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x4)=='imgs'||_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x6)=='thumbs')_0x11b966+='\x0a'+_0x51669f(0x142)+(_0x51669f(0xbb)+(_0x45d5ec['Comment']||_0x45d5ec['Field'])+_0x51669f(0x9e)+_0x4f150c+_0x51669f(0xcd)),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0xaa)+_0x4f150c+_0x51669f(0xae)+(_0x52e128?'module=\x22'+_0x52e128+'\x22':'')+_0x51669f(0xd3)),_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x3)==_0x51669f(0xf0)||_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x5)==_0x51669f(0x13a)||_0x4f150c==_0x51669f(0x13a)||_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x4)==_0x51669f(0xd5)||_0x4f150c==_0x51669f(0xd5))_0x11b966+='\x0a'+_0x51669f(0x142)+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+_0x51669f(0xcd)),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0xaa)+_0x4f150c+'\x22\x20:limit=\x221\x22\x20'+(_0x52e128?_0x51669f(0x110)+_0x52e128+'\x22':'')+'/>'),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';else{if(_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x4)=='tags'||_0x4f150c[_0x51669f(0x103)](_0x4f150c[_0x51669f(0xb2)]-0x3)==_0x51669f(0xf7))_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0xd8)+_0x4f150c+_0x51669f(0x13e)+_0x45d5ec[_0x51669f(0x140)]+_0x51669f(0x15e)),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';else{if(_0x4f150c[_0x51669f(0x98)](-0x3)==_0x51669f(0x10c))_0x11b966+='\x0a'+_0x51669f(0x142)+('<el-form-item\x20label=\x22'+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0x144)+_0x4f150c+_0x51669f(0x88)+_0x45d5ec['Comment']+_0x51669f(0xa2)),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';else{if(_0x4f150c[_0x51669f(0x98)](-0x4)==_0x51669f(0xc1))_0x11b966+='\x0a'+_0x51669f(0x142)+('<el-form-item\x20label=\x22'+(_0x45d5ec['Comment']||_0x45d5ec[_0x51669f(0xbc)])+'\x22\x20prop=\x22'+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0xb5)+_0x4f150c+_0x51669f(0x88)+_0x45d5ec[_0x51669f(0x140)]+'\x22\x20clearable/>'),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';else{if(_0x4f150c[_0x51669f(0x98)](-0x3)=='_id'){let _0x47b89d=''+(typeof _0x556223==_0x51669f(0xbf)?_0x556223+'/':'')+(_0x52e128?_0x52e128+'/':'')+_0x1ff406;_0x11b966+='\x0a'+_0x51669f(0x142)+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0x97)+_0x4f150c+_0x51669f(0xfd)+_0x47b89d+_0x51669f(0x10a)),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';}else switch((0x0,helper_1[_0x51669f(0x8c)])(_0x45d5ec[_0x51669f(0x15c)])){case _0x51669f(0x107):_0x11b966+='\x0a'+_0x51669f(0x142)+('<el-form-item\x20label=\x22'+(_0x45d5ec['Comment']||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0x144)+_0x4f150c+_0x51669f(0x88)+_0x45d5ec[_0x51669f(0x140)]+_0x51669f(0xa2)),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';break;case _0x51669f(0x128):_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+('<el-select\x20v-model=\x22formdata.'+_0x4f150c+_0x51669f(0x123)+_0x45d5ec['Comment']+_0x51669f(0x138));for(let _0x15b1ff of(0x0,helper_1[_0x51669f(0x12a)])(_0x45d5ec[_0x51669f(0x15c)])){_0x11b966+='\x0a'+_0x51669f(0x12c)+('<el-option\x20label=\x22'+_0x15b1ff+_0x51669f(0xc5)+_0x15b1ff+'\x22\x20/>');}_0x11b966+='\x0a'+_0x51669f(0xcb)+'</el-select>',_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';break;case _0x51669f(0x10e):_0x11b966+='\x0a'+_0x51669f(0x142)+('<el-form-item\x20label=\x22'+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+_0x51669f(0xcd)),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0xb5)+_0x4f150c+_0x51669f(0x10b)+_0x45d5ec[_0x51669f(0x140)]+_0x51669f(0x129)),_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';break;case'longtext':_0x11b966+='\x0a'+_0x51669f(0x142)+(_0x51669f(0xbb)+(_0x45d5ec['Comment']||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+_0x51669f(0xcd)),_0x11b966+='\x0a'+_0x51669f(0xcb)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x4f150c+'\x22\x20'+(_0x52e128?_0x51669f(0x110)+_0x52e128+'\x22':'')+'/>'),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';break;case'mediumtext':_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec['Field'])+_0x51669f(0x9e)+_0x4f150c+_0x51669f(0xcd)),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0x162)+_0x4f150c+'\x22\x20'+(_0x52e128?_0x51669f(0x110)+_0x52e128+'\x22':'')+'/>'),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';break;case _0x51669f(0xb9):_0x11b966+='\x0a'+_0x51669f(0x142)+('<el-form-item\x20label=\x22'+(_0x45d5ec['Comment']||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51669f(0x117)+_0x4f150c+'\x22\x20placeholder=\x22选择'+_0x45d5ec['Comment']+_0x51669f(0x147)),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';break;case'datetime':_0x11b966+='\x0a'+_0x51669f(0x142)+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0x117)+_0x4f150c+'\x22\x20placeholder=\x22选择'+_0x45d5ec[_0x51669f(0x140)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0x14b)+'\x0a';break;case _0x51669f(0x11c):_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+_0x51669f(0x9e)+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+_0x51669f(0xcb)+(_0x51669f(0x117)+_0x4f150c+'\x22\x20placeholder=\x22选择'+_0x45d5ec[_0x51669f(0x140)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x51669f(0x14b)+'\x0a';break;default:_0x11b966+='\x0a'+_0x51669f(0x142)+(_0x51669f(0xbb)+(_0x45d5ec[_0x51669f(0x140)]||_0x45d5ec[_0x51669f(0xbc)])+'\x22\x20prop=\x22'+_0x4f150c+'\x22>'),_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51669f(0xb5)+_0x4f150c+_0x51669f(0x88)+_0x45d5ec[_0x51669f(0x140)]+_0x51669f(0x94)),_0x11b966+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';}}}}}}}_0x11b966+='\x0a'+_0x51669f(0x142)+_0x51669f(0xd7),_0x11b966+='\x0a'+_0x51669f(0xcb)+_0x51669f(0x126),_0x11b966+='\x0a'+_0x51669f(0x142)+'</el-form-item>'+'\x0a';let _0x3e8b49=_0x51669f(0x124);_0x3e8b49+=_0x51669f(0x134),_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22'+(_0x2a8d9a=='add'?'添加'+_0x1f87c2:'编辑'+_0x1f87c2)+_0x51669f(0x155)+_0x5a3687+(_0x2a8d9a=='add'?'Add':'Edit')+_0x51669f(0x12e)+_0x5f227a+'/'+(_0x2a8d9a=='add'?_0x51669f(0x90):_0x51669f(0x12b)+_0x1334f5['Field'])+'`)\x22>\x0a',_0x3e8b49+=_0x51669f(0x142)+_0x11b966+'\x0a\x0a',_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a',_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/'+_0x5f227a+'/'+(_0x2a8d9a==_0x51669f(0x90)?_0x51669f(0x90):'edit/:'+_0x1334f5['Field'])+_0x51669f(0x14d),_0x3e8b49+=_0x51669f(0x12d),_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a',_0x3e8b49+=_0x51669f(0x11a),_0x3e8b49+='</template>\x0a',_0x3e8b49+=_0x51669f(0x131);if(_0x2a8d9a==_0x51669f(0x90))_0x3e8b49+='import\x20{\x20'+_0x5a3687+_0x51669f(0x157),_0x3e8b49+=_0x51669f(0x148)+_0x5a3687+_0x51669f(0x161)+(_0x52e128?_0x51669f(0x14f)+_0x52e128:''+_0x576b65)+'/'+_0x5a3687+_0x51669f(0xf5);else _0x2a8d9a=='edit'&&(_0x3e8b49+=_0x51669f(0x148)+_0x5a3687+_0x51669f(0x156),_0x3e8b49+=_0x51669f(0x148)+_0x5a3687+_0x51669f(0xff)+_0x5a3687+_0x51669f(0x10f)+(_0x52e128?_0x51669f(0x14f)+_0x52e128:''+_0x576b65)+'/'+_0x5a3687+_0x51669f(0xf5));_0x3e8b49+='const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a';if(_0x2a8d9a==_0x51669f(0x90))_0x3e8b49+='const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a';else _0x2a8d9a==_0x51669f(0x150)&&(_0x3e8b49+='const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a');_0x3e8b49+=_0x51669f(0x165),_0x3e8b49+=_0x51669f(0x151),_0x3e8b49+=_0x51669f(0x10d),_0x3e8b49+=_0x51669f(0xe6)+_0x5a3687+(_0x2a8d9a==_0x51669f(0x90)?_0x51669f(0x133):_0x51669f(0xc8))+'('+(_0x2a8d9a==_0x51669f(0x150)?_0x51669f(0x141)+_0x1334f5['Field']+',\x20':'')+'item).then(res=>{\x0a',_0x3e8b49+=_0x51669f(0x143),_0x3e8b49+=_0x51669f(0x15f),_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a',_0x3e8b49+=_0x51669f(0xa3),_0x3e8b49+='\x20\x20\x20\x20})\x0a',_0x3e8b49+='}\x0a\x0a',_0x2a8d9a==_0x51669f(0x150)&&(_0x3e8b49+=_0x51669f(0xe8),_0x3e8b49+=_0x51669f(0xc2)+_0x1334f5[_0x51669f(0xbc)]+':\x20'+(_0x26feed?_0x51669f(0x107):_0x51669f(0xbf))+_0x51669f(0xde),_0x3e8b49+='\x20\x20\x20\x20if\x20('+_0x1334f5['Field']+')\x20{\x0a',_0x3e8b49+=_0x51669f(0x87),_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5a3687+_0x51669f(0xb4)+_0x1334f5[_0x51669f(0xbc)]+_0x51669f(0xb8),_0x3e8b49+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a',_0x3e8b49+=_0x51669f(0x11f),_0x3e8b49+='\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',_0x3e8b49+=_0x51669f(0xa3),_0x3e8b49+=_0x51669f(0xe9),_0x3e8b49+=_0x51669f(0xe5),_0x3e8b49+=_0x51669f(0x15a),_0x3e8b49+=_0x51669f(0x12f),_0x3e8b49+='getDetail(route?.query?.'+_0x1334f5[_0x51669f(0xbc)]+'\x20as\x20unknown\x20as\x20'+(_0x26feed?_0x51669f(0x107):_0x51669f(0xbf))+')\x0a'),_0x3e8b49+=_0x51669f(0x159),fs[_0x51669f(0xac)]((0x0,path_1[_0x51669f(0x154)])(_0xa16754),{'recursive':!![]}),fs['writeFileSync'](_0xa16754,_0x3e8b49,'utf-8');}}async function createAddOrEditDialog({moduleName:_0x2ee722,controller:_0x5d9ba0,tablestartUpShort:_0x5d7871,tablestartUpShort2:_0x18be9c,Primary:_0x11614d,Fields:_0x2bf06d,apporbasic:_0x1683fe,Comment:_0x5bb64c},_0x2da268='add'){const _0x470cb4=a23_0x5ce92a;let _0x21079f=process['cwd']()+_0x470cb4(0xba)+(typeof _0x5d9ba0==_0x470cb4(0xbf)?'/'+_0x5d9ba0:'');_0x2ee722?_0x21079f=_0x21079f+('/pages/apps/'+_0x2ee722+'/'+_0x18be9c+_0x470cb4(0xaf)+_0x2da268+_0x470cb4(0x13b)):_0x21079f=_0x21079f+('/pages/'+_0x1683fe+'/'+_0x18be9c+'/components/dialog-'+_0x2da268+'.vue');if(!fs['existsSync'](_0x21079f)){const _0x56c130=''+(typeof _0x5d9ba0==_0x470cb4(0xbf)?_0x5d9ba0+'/':'')+(_0x2ee722?_0x2ee722+'/':'')+_0x18be9c;let _0x3ad1b0='';for(let _0x95a941 in _0x2bf06d){const _0x46d2e0=_0x2bf06d[_0x95a941];if([_0x470cb4(0x127),_0x470cb4(0xee),_0x470cb4(0xa4),_0x470cb4(0x115)][_0x470cb4(0x139)](_0x95a941)!=-0x1)continue;if(_0x95a941[_0x470cb4(0x103)](_0x95a941[_0x470cb4(0xb2)]-0x4)=='imgs'||_0x95a941[_0x470cb4(0x103)](_0x95a941[_0x470cb4(0xb2)]-0x6)=='thumbs')_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+('<el-form-item\x20label=\x22'+(_0x46d2e0['Comment']||_0x46d2e0['Field'])+'\x22\x20prop=\x22'+_0x95a941+_0x470cb4(0xcd)),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+(_0x470cb4(0xaa)+_0x95a941+_0x470cb4(0xae)+(_0x2ee722?'module=\x22'+_0x2ee722+'\x22':'')+_0x470cb4(0xd3)),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+_0x470cb4(0x14b)+'\x0a';else{if(_0x95a941[_0x470cb4(0x103)](_0x95a941['length']-0x3)=='img'||_0x95a941[_0x470cb4(0x103)](_0x95a941[_0x470cb4(0xb2)]-0x5)=='thumb'||_0x95a941==_0x470cb4(0x13a)||_0x95a941[_0x470cb4(0x103)](_0x95a941[_0x470cb4(0xb2)]-0x4)=='logo'||_0x95a941==_0x470cb4(0xd5))_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0['Comment']||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+_0x470cb4(0xcd)),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0xaa)+_0x95a941+_0x470cb4(0xe4)+(_0x2ee722?_0x470cb4(0x110)+_0x2ee722+'\x22':'')+'/>'),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+'</el-form-item>'+'\x0a';else{if(_0x95a941[_0x470cb4(0x103)](_0x95a941[_0x470cb4(0xb2)]-0x4)==_0x470cb4(0x86)||_0x95a941[_0x470cb4(0x103)](_0x95a941['length']-0x3)=='tag')_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0xbb)+(_0x46d2e0['Comment']||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0xd8)+_0x95a941+_0x470cb4(0x13e)+_0x46d2e0['Comment']+_0x470cb4(0x15e)),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+'</el-form-item>'+'\x0a';else{if(_0x95a941[_0x470cb4(0x98)](-0x3)==_0x470cb4(0x10c))_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+'\x22\x20prop=\x22'+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+('<el-input-number\x20v-model=\x22formdata.'+_0x95a941+_0x470cb4(0x88)+_0x46d2e0[_0x470cb4(0x140)]+_0x470cb4(0xa2)),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x95a941[_0x470cb4(0x98)](-0x4)==_0x470cb4(0xc1))_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0['Comment']||_0x46d2e0[_0x470cb4(0xbc)])+'\x22\x20prop=\x22'+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0xb5)+_0x95a941+'\x22\x20placeholder=\x22请输入'+_0x46d2e0['Comment']+_0x470cb4(0x94)),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+'</el-form-item>'+'\x0a';else{if(_0x95a941[_0x470cb4(0x98)](-0x3)=='_id'){let _0x16825a=''+(typeof _0x5d9ba0==_0x470cb4(0xbf)?_0x5d9ba0+'/':'')+(_0x2ee722?_0x2ee722+'/':'')+_0x18be9c;_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0x97)+_0x95a941+_0x470cb4(0xfd)+_0x16825a+_0x470cb4(0x10a)),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+_0x470cb4(0x14b)+'\x0a';}else switch((0x0,helper_1[_0x470cb4(0x8c)])(_0x46d2e0['Type'])){case _0x470cb4(0x107):_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+(_0x470cb4(0x144)+_0x95a941+_0x470cb4(0x88)+_0x46d2e0['Comment']+_0x470cb4(0xa2)),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x470cb4(0x14b)+'\x0a';break;case _0x470cb4(0x128):_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+(_0x470cb4(0xe0)+_0x95a941+_0x470cb4(0x123)+_0x46d2e0[_0x470cb4(0x140)]+_0x470cb4(0x138));for(let _0x3b7bb3 of(0x0,helper_1[_0x470cb4(0x12a)])(_0x46d2e0[_0x470cb4(0x15c)])){_0x3ad1b0+='\x0a'+_0x470cb4(0x12c)+('<el-option\x20label=\x22'+_0x3b7bb3+_0x470cb4(0xc5)+_0x3b7bb3+'\x22\x20/>');}_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x470cb4(0xcc),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+'</el-form-item>'+'\x0a';break;case _0x470cb4(0x10e):_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+('<el-form-item\x20label=\x22'+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+'\x22\x20prop=\x22'+_0x95a941+_0x470cb4(0xcd)),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+(_0x470cb4(0xb5)+_0x95a941+_0x470cb4(0x10b)+_0x46d2e0[_0x470cb4(0x140)]+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+'</el-form-item>'+'\x0a';break;case _0x470cb4(0xd2):_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0['Field'])+_0x470cb4(0x9e)+_0x95a941+'\x22\x20class=\x22block\x22>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0x162)+_0x95a941+'\x22\x20'+(_0x2ee722?_0x470cb4(0x110)+_0x2ee722+'\x22':'')+'/>'),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+'</el-form-item>'+'\x0a';break;case _0x470cb4(0xfa):_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x46d2e0['Comment']||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+_0x470cb4(0xcd)),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0x162)+_0x95a941+'\x22\x20'+(_0x2ee722?_0x470cb4(0x110)+_0x2ee722+'\x22':'')+'/>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x470cb4(0x14b)+'\x0a';break;case'date':_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+('<el-form-item\x20label=\x22'+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x470cb4(0x117)+_0x95a941+_0x470cb4(0xf2)+_0x46d2e0[_0x470cb4(0x140)]+_0x470cb4(0x147)),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x470cb4(0x14b)+'\x0a';break;case _0x470cb4(0x8a):_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+_0x470cb4(0x9e)+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+(_0x470cb4(0x117)+_0x95a941+_0x470cb4(0xf2)+_0x46d2e0[_0x470cb4(0x140)]+_0x470cb4(0x13c)),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+_0x470cb4(0x14b)+'\x0a';break;case _0x470cb4(0x11c):_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0['Field'])+'\x22\x20prop=\x22'+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+(_0x470cb4(0x117)+_0x95a941+_0x470cb4(0xf2)+_0x46d2e0['Comment']+_0x470cb4(0x13c)),_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+_0x470cb4(0x14b)+'\x0a';break;default:_0x3ad1b0+='\x0a'+_0x470cb4(0x142)+(_0x470cb4(0xbb)+(_0x46d2e0[_0x470cb4(0x140)]||_0x46d2e0[_0x470cb4(0xbc)])+'\x22\x20prop=\x22'+_0x95a941+'\x22>'),_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+('<el-input\x20v-model=\x22formdata.'+_0x95a941+_0x470cb4(0x88)+_0x46d2e0[_0x470cb4(0x140)]+'\x22\x20clearable/>'),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x470cb4(0x14b)+'\x0a';}}}}}}}_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x3ad1b0+='\x0a'+_0x470cb4(0xcb)+_0x470cb4(0x126),_0x3ad1b0+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x470cb4(0x14b)+'\x0a';let _0x18a6e5=_0x470cb4(0x124);_0x18a6e5+=_0x470cb4(0x119)+(_0x2da268=='add'?'添加'+_0x5bb64c:'编辑'+_0x5bb64c)+_0x470cb4(0x121),_0x18a6e5+=_0x470cb4(0x96)+_0x5d7871+(_0x2da268==_0x470cb4(0x90)?_0x470cb4(0x133):_0x470cb4(0xc8))+_0x470cb4(0x12e)+_0x56c130+'/'+(_0x2da268==_0x470cb4(0x90)?'add':_0x470cb4(0x12b)+_0x11614d[_0x470cb4(0xbc)])+_0x470cb4(0x11b),_0x18a6e5+=_0x470cb4(0x142)+_0x3ad1b0+'\x0a\x0a',_0x18a6e5+='\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a',_0x18a6e5+=_0x470cb4(0x160),_0x18a6e5+=_0x470cb4(0x158)+_0x56c130+'/'+(_0x2da268==_0x470cb4(0x90)?_0x470cb4(0x90):_0x470cb4(0x12b)+_0x11614d[_0x470cb4(0xbc)])+_0x470cb4(0x14d),_0x18a6e5+=_0x470cb4(0xfb),_0x18a6e5+=_0x470cb4(0x15d),_0x18a6e5+='</template>\x0a',_0x18a6e5+=_0x470cb4(0x131);if(_0x2da268==_0x470cb4(0x90))_0x18a6e5+=_0x470cb4(0x148)+_0x5d7871+_0x470cb4(0x157),_0x18a6e5+=_0x470cb4(0x148)+_0x5d7871+_0x470cb4(0x161)+(_0x2ee722?_0x470cb4(0x14f)+_0x2ee722:''+_0x1683fe)+'/'+_0x5d7871+_0x470cb4(0xf5);else _0x2da268==_0x470cb4(0x150)&&(_0x18a6e5+=_0x470cb4(0x148)+_0x5d7871+_0x470cb4(0x156),_0x18a6e5+=_0x470cb4(0x148)+_0x5d7871+'Detail,\x20'+_0x5d7871+_0x470cb4(0x91)+(_0x2ee722?_0x470cb4(0x14f)+_0x2ee722:''+_0x1683fe)+'/'+_0x5d7871+_0x470cb4(0xf5));if(_0x2da268==_0x470cb4(0x90))_0x18a6e5+=_0x470cb4(0xd4),_0x18a6e5+='\x20\x20\x20\x20formdata.value\x20=\x20{},\x20refDialog?.value?.open();\x0a',_0x18a6e5+=_0x470cb4(0x164);else _0x2da268=='edit'&&(_0x18a6e5+='const\x20loading\x20=\x20ref(false),\x20refDialog\x20=\x20ref(null),\x20refForm\x20=\x20ref(null),\x20formdata\x20=\x20ref<any>({}),\x20emits\x20=\x20defineEmits([\x27save\x27]),\x20open\x20=\x20('+_0x11614d[_0x470cb4(0xbc)]+_0x470cb4(0xde),_0x18a6e5+=_0x470cb4(0x125)+_0x5d7871+_0x470cb4(0xb4)+_0x11614d['Field']+').then(res\x20=>\x20{\x0a',_0x18a6e5+='\x20\x20\x20\x20\x20\x20\x20\x20formdata.value\x20=\x20res?.data\x20||\x20{},\x20refDialog?.value?.open();\x0a',_0x18a6e5+=_0x470cb4(0x152),_0x18a6e5+='\x20\x20\x20\x20\x20\x20\x20\x20$notify.error(err\x20||\x20\x27网络请求错误\x27)\x0a',_0x18a6e5+=_0x470cb4(0x99),_0x18a6e5+=_0x470cb4(0x164));;_0x18a6e5+='//\x20保存数据\x0a',_0x18a6e5+='const\x20handlerSave\x20=\x20()=>{\x0a',_0x18a6e5+='\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a',_0x18a6e5+=_0x470cb4(0xe6)+_0x5d7871+(_0x2da268==_0x470cb4(0x90)?_0x470cb4(0x133):_0x470cb4(0xc8))+'('+(_0x2da268==_0x470cb4(0x150)?_0x470cb4(0x141)+_0x11614d[_0x470cb4(0xbc)]+',\x20':'')+_0x470cb4(0xfe),_0x18a6e5+=_0x470cb4(0xf3),_0x18a6e5+=_0x470cb4(0x15f),_0x18a6e5+=_0x470cb4(0x113),_0x18a6e5+=_0x470cb4(0xa3),_0x18a6e5+=_0x470cb4(0x99),_0x18a6e5+=_0x470cb4(0x164),_0x18a6e5+=_0x470cb4(0x135),_0x18a6e5+=_0x470cb4(0x159),fs['mkdirSync']((0x0,path_1['dirname'])(_0x21079f),{'recursive':!![]}),fs[_0x470cb4(0xea)](_0x21079f,_0x18a6e5,_0x470cb4(0xa9));}}
@@ -1 +1 @@
1
- const a24_0x565e26=a24_0x2612;function a24_0x2612(_0xfd6830,_0x299373){const _0x49fb4b=a24_0x2c62();return a24_0x2612=function(_0x2fa61a,_0x26a34a){_0x2fa61a=_0x2fa61a-0x150;let _0x2c6244=_0x49fb4b[_0x2fa61a];return _0x2c6244;},a24_0x2612(_0xfd6830,_0x299373);}(function(_0x43d87d,_0x51cc50){const _0x2e00f8=a24_0x2612,_0x55c728=_0x43d87d();while(!![]){try{const _0x5068a8=-parseInt(_0x2e00f8(0x15b))/0x1+parseInt(_0x2e00f8(0x17c))/0x2*(parseInt(_0x2e00f8(0x170))/0x3)+-parseInt(_0x2e00f8(0x17a))/0x4*(-parseInt(_0x2e00f8(0x174))/0x5)+parseInt(_0x2e00f8(0x16a))/0x6*(parseInt(_0x2e00f8(0x16e))/0x7)+-parseInt(_0x2e00f8(0x154))/0x8*(-parseInt(_0x2e00f8(0x171))/0x9)+parseInt(_0x2e00f8(0x177))/0xa*(parseInt(_0x2e00f8(0x161))/0xb)+-parseInt(_0x2e00f8(0x15d))/0xc*(parseInt(_0x2e00f8(0x157))/0xd);if(_0x5068a8===_0x51cc50)break;else _0x55c728['push'](_0x55c728['shift']());}catch(_0x5c0e98){_0x55c728['push'](_0x55c728['shift']());}}}(a24_0x2c62,0xa3f1a));const a24_0x26a34a=(function(){let _0x335ccf=!![];return function(_0x5d0c9b,_0x3513c2){const _0x3c6b2e=_0x335ccf?function(){const _0xf0103b=a24_0x2612;if(_0x3513c2){const _0x19c95e=_0x3513c2[_0xf0103b(0x179)](_0x5d0c9b,arguments);return _0x3513c2=null,_0x19c95e;}}:function(){};return _0x335ccf=![],_0x3c6b2e;};}()),a24_0x2fa61a=a24_0x26a34a(this,function(){const _0x557817=a24_0x2612;return a24_0x2fa61a[_0x557817(0x164)]()[_0x557817(0x156)]('(((.+)+)+)+$')[_0x557817(0x164)]()[_0x557817(0x168)](a24_0x2fa61a)[_0x557817(0x156)]('(((.+)+)+)+$');});a24_0x2fa61a();'use strict';Object['defineProperty'](exports,a24_0x565e26(0x173),{'value':!![]});function a24_0x2c62(){const _0xacc0d2=['8lGdKGS','string','search','169sBtEhp','{\x20path:\x20\x22',',\x20component:\x20()=>\x20import(\x27./','cwd','578998PgkufG','replace','2497752GZlwRf','/routes.ts','/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','\x20\x20\x20\x20children:[\x0a','55cqFrQn','\x22\x20}\x20}','existsSync','toString','/pages/apps/','dirname','/pages/','constructor','\x20\x20\x20\x20component:\x20()\x20=>\x20import(`./layout.vue`),\x0a','534012FtXvep','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','\x22,\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','105FPtfLm','apps-','3jHLASv','5275323GnskrX','readFileSync','__esModule','3843795odAmPH','mkdirSync','utf-8','1045150aRnKYf','//\x20add\x20route\x20here','apply','4yvlCDh','writeFileSync','1487798KLLprP','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','\x20\x20\x20\x20//\x20redirect:\x20\x22/','/list\x22','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','padEnd','indexOf'];a24_0x2c62=function(){return _0xacc0d2;};return a24_0x2c62();}const fs=require('fs'),path_1=require('path');async function default_1({tablestartUpShort2:_0x585b9a,moduleName:_0x57c070,controller:_0x265adc,Comment:_0x3c04b4,apporbasic:_0x1e23e7,vuedialog:_0x4dc86f}){await createRoutes({'tablestartUpShort2':_0x585b9a,'moduleName':_0x57c070,'controller':_0x265adc,'Comment':_0x3c04b4,'apporbasic':_0x1e23e7,'vuedialog':_0x4dc86f});}exports['default']=default_1;async function createRoutes({tablestartUpShort2:_0x2fc454,moduleName:_0x400222,controller:_0x52fea1,Comment:_0x36e89f,apporbasic:_0x50f12a,vuedialog:_0xb0638b}){const _0x4d5c07=a24_0x565e26;let _0x25be24=process[_0x4d5c07(0x15a)]()+'/vue'+(typeof _0x52fea1==_0x4d5c07(0x155)?'/'+_0x52fea1:'');_0x400222?_0x25be24=_0x25be24+(_0x4d5c07(0x165)+_0x400222+_0x4d5c07(0x15e)):_0x25be24=_0x25be24+(_0x4d5c07(0x167)+_0x50f12a+_0x4d5c07(0x15e));if(!fs[_0x4d5c07(0x163)](_0x25be24)){let _0x48011e='';_0x48011e+='export\x20default\x20{\x0a',_0x48011e+='\x20\x20\x20\x20path:\x20\x22/'+(_0x400222?_0x4d5c07(0x16f)+_0x400222+'/':_0x50f12a+'/')+_0x4d5c07(0x16c),_0x48011e+=_0x4d5c07(0x17e)+(_0x400222?_0x4d5c07(0x16f)+_0x400222+'/':_0x50f12a+'/')+'\x22,\x0a',_0x48011e+=_0x4d5c07(0x169),_0x48011e+=_0x4d5c07(0x160),_0x48011e+=_0x4d5c07(0x150),_0x48011e+='\x20\x20\x20\x20]\x0a',_0x48011e+='}\x0a',fs[_0x4d5c07(0x175)]((0x0,path_1[_0x4d5c07(0x166)])(_0x25be24),{'recursive':!![]}),fs[_0x4d5c07(0x17b)](_0x25be24,_0x48011e,_0x4d5c07(0x176));}const _0x573925=fs[_0x4d5c07(0x172)](_0x25be24,_0x4d5c07(0x176));let _0x43c67d;!_0xb0638b?_0x43c67d=_0x4d5c07(0x158)+(_0x2fc454+_0x4d5c07(0x17f))[_0x4d5c07(0x152)](0x14)+(_0x4d5c07(0x159)+_0x2fc454+_0x4d5c07(0x16b)+_0x36e89f+_0x4d5c07(0x162)):_0x43c67d=_0x4d5c07(0x158)+(_0x2fc454+'\x22')['padEnd'](0x14)+(',\x20component:\x20()=>\x20import(\x27./'+_0x2fc454+_0x4d5c07(0x151)+_0x36e89f+'\x22\x20}\x20}');if(_0x573925[_0x4d5c07(0x153)](_0x43c67d)==-0x1){let _0x127f6e=_0x573925[_0x4d5c07(0x15c)]('//\x20add\x20route\x20here',_0x43c67d+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here');!_0xb0638b&&(_0x127f6e=_0x127f6e[_0x4d5c07(0x15c)](_0x4d5c07(0x178),_0x4d5c07(0x158)+(_0x2fc454+'/add\x22')[_0x4d5c07(0x152)](0x14)+(_0x4d5c07(0x159)+_0x2fc454+'/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0x36e89f+_0x4d5c07(0x16d))),_0x127f6e=_0x127f6e[_0x4d5c07(0x15c)](_0x4d5c07(0x178),_0x4d5c07(0x158)+(_0x2fc454+'/edit\x22')[_0x4d5c07(0x152)](0x14)+(_0x4d5c07(0x159)+_0x2fc454+_0x4d5c07(0x15f)+_0x36e89f+_0x4d5c07(0x17d)))),fs[_0x4d5c07(0x17b)](_0x25be24,_0x127f6e);}}
1
+ const a24_0xf76984=a24_0x4d37;(function(_0x33618b,_0x3e7c1f){const _0x4638a8=a24_0x4d37,_0x34b2b7=_0x33618b();while(!![]){try{const _0x1c1d6a=-parseInt(_0x4638a8(0x1b0))/0x1+-parseInt(_0x4638a8(0x1bb))/0x2+parseInt(_0x4638a8(0x1b5))/0x3+-parseInt(_0x4638a8(0x1a9))/0x4+parseInt(_0x4638a8(0x1b8))/0x5+parseInt(_0x4638a8(0x1c8))/0x6+-parseInt(_0x4638a8(0x1cf))/0x7*(parseInt(_0x4638a8(0x1b9))/0x8);if(_0x1c1d6a===_0x3e7c1f)break;else _0x34b2b7['push'](_0x34b2b7['shift']());}catch(_0x578b15){_0x34b2b7['push'](_0x34b2b7['shift']());}}}(a24_0x9c92,0x817de));const a24_0x22b171=(function(){let _0x36abb1=!![];return function(_0x48212b,_0x64e52e){const _0x13db42=_0x36abb1?function(){const _0xd4dbb9=a24_0x4d37;if(_0x64e52e){const _0x4fe28a=_0x64e52e[_0xd4dbb9(0x1be)](_0x48212b,arguments);return _0x64e52e=null,_0x4fe28a;}}:function(){};return _0x36abb1=![],_0x13db42;};}()),a24_0x56e513=a24_0x22b171(this,function(){const _0x521595=a24_0x4d37;return a24_0x56e513[_0x521595(0x1a4)]()[_0x521595(0x1b1)](_0x521595(0x1c2))[_0x521595(0x1a4)]()[_0x521595(0x1cc)](a24_0x56e513)[_0x521595(0x1b1)](_0x521595(0x1c2));});a24_0x56e513();function a24_0x4d37(_0x5c558a,_0xebde93){const _0x54dcac=a24_0x9c92();return a24_0x4d37=function(_0x56e513,_0x22b171){_0x56e513=_0x56e513-0x19f;let _0x9c928a=_0x54dcac[_0x56e513];return _0x9c928a;},a24_0x4d37(_0x5c558a,_0xebde93);}'use strict';Object[a24_0xf76984(0x1b7)](exports,a24_0xf76984(0x1a5),{'value':!![]});function a24_0x9c92(){const _0x458833=['/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','5971212LThgDV',',\x20component:\x20()=>\x20import(\x27./','string','/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','constructor','\x22,\x0a','\x20\x20\x20\x20//\x20redirect:\x20\x22/','28DUlYRv','\x20\x20\x20\x20path:\x20\x22/','apps-','existsSync','default','path','export\x20default\x20{\x0a','{\x20path:\x20\x22',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','toString','__esModule','\x22\x20}\x20}','\x20\x20\x20\x20]\x0a','replace','2718800IewKsZ','writeFileSync','/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','/pages/','\x20\x20\x20\x20component:\x20()\x20=>\x20import(`./layout.vue`),\x0a','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','208953xUcqdw','search','dirname','utf-8','padEnd','2151588ZEvpfW','/pages/apps/','defineProperty','2489405GZjqBA','730064BsYHZv','/vue','852392mszxWq','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','cwd','apply','/list\x22','\x20\x20\x20\x20children:[\x0a','/edit\x22','(((.+)+)+)+$','/routes.ts','indexOf','//\x20add\x20route\x20here','/add\x22'];a24_0x9c92=function(){return _0x458833;};return a24_0x9c92();}const fs=require('fs'),path_1=require(a24_0xf76984(0x1a0));async function default_1({tablestartUpShort2:_0x4543f7,moduleName:_0x2f0c43,controller:_0x12c37b,Comment:_0x1bb4ed,apporbasic:_0x301850,vuedialog:_0x24cbbb}){await createRoutes({'tablestartUpShort2':_0x4543f7,'moduleName':_0x2f0c43,'controller':_0x12c37b,'Comment':_0x1bb4ed,'apporbasic':_0x301850,'vuedialog':_0x24cbbb});}exports[a24_0xf76984(0x19f)]=default_1;async function createRoutes({tablestartUpShort2:_0xc5601d,moduleName:_0x492380,controller:_0x4f55fd,Comment:_0x4291aa,apporbasic:_0x494d79,vuedialog:_0x52e075}){const _0x2572a3=a24_0xf76984;let _0x37d224=process[_0x2572a3(0x1bd)]()+_0x2572a3(0x1ba)+(typeof _0x4f55fd==_0x2572a3(0x1ca)?'/'+_0x4f55fd:'');_0x492380?_0x37d224=_0x37d224+(_0x2572a3(0x1b6)+_0x492380+_0x2572a3(0x1c3)):_0x37d224=_0x37d224+(_0x2572a3(0x1ad)+_0x494d79+_0x2572a3(0x1c3));if(!fs[_0x2572a3(0x1d2)](_0x37d224)){let _0x2d7e74='';_0x2d7e74+=_0x2572a3(0x1a1),_0x2d7e74+=_0x2572a3(0x1d0)+(_0x492380?_0x2572a3(0x1d1)+_0x492380+'/':_0x494d79+'/')+_0x2572a3(0x1cd),_0x2d7e74+=_0x2572a3(0x1ce)+(_0x492380?_0x2572a3(0x1d1)+_0x492380+'/':_0x494d79+'/')+_0x2572a3(0x1cd),_0x2d7e74+=_0x2572a3(0x1ae),_0x2d7e74+=_0x2572a3(0x1c0),_0x2d7e74+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x2d7e74+=_0x2572a3(0x1a7),_0x2d7e74+='}\x0a',fs['mkdirSync']((0x0,path_1[_0x2572a3(0x1b2)])(_0x37d224),{'recursive':!![]}),fs[_0x2572a3(0x1aa)](_0x37d224,_0x2d7e74,_0x2572a3(0x1b3));}const _0x97ffa3=fs['readFileSync'](_0x37d224,_0x2572a3(0x1b3));let _0x59fff3;!_0x52e075?_0x59fff3=_0x2572a3(0x1a2)+(_0xc5601d+_0x2572a3(0x1bf))[_0x2572a3(0x1b4)](0x14)+(_0x2572a3(0x1c9)+_0xc5601d+_0x2572a3(0x1ab)+_0x4291aa+'\x22\x20}\x20}'):_0x59fff3=_0x2572a3(0x1a2)+(_0xc5601d+'\x22')['padEnd'](0x14)+(',\x20component:\x20()=>\x20import(\x27./'+_0xc5601d+_0x2572a3(0x1cb)+_0x4291aa+_0x2572a3(0x1a6));if(_0x97ffa3[_0x2572a3(0x1c4)](_0x59fff3)==-0x1){let _0x2c34fd=_0x97ffa3[_0x2572a3(0x1a8)](_0x2572a3(0x1c5),_0x59fff3+_0x2572a3(0x1a3));!_0x52e075&&(_0x2c34fd=_0x2c34fd[_0x2572a3(0x1a8)]('//\x20add\x20route\x20here',_0x2572a3(0x1a2)+(_0xc5601d+_0x2572a3(0x1c6))['padEnd'](0x14)+(_0x2572a3(0x1c9)+_0xc5601d+_0x2572a3(0x1c7)+_0x4291aa+_0x2572a3(0x1af))),_0x2c34fd=_0x2c34fd[_0x2572a3(0x1a8)](_0x2572a3(0x1c5),'{\x20path:\x20\x22'+(_0xc5601d+_0x2572a3(0x1c1))[_0x2572a3(0x1b4)](0x14)+(_0x2572a3(0x1c9)+_0xc5601d+_0x2572a3(0x1ac)+_0x4291aa+_0x2572a3(0x1bc)))),fs[_0x2572a3(0x1aa)](_0x37d224,_0x2c34fd);}}
@@ -1 +1 @@
1
- const a25_0x4dff87=a25_0x323b;(function(_0xe310a5,_0x471c85){const _0x429350=a25_0x323b,_0x4bd7e9=_0xe310a5();while(!![]){try{const _0x8fb2b8=parseInt(_0x429350(0xeb))/0x1*(-parseInt(_0x429350(0xd9))/0x2)+parseInt(_0x429350(0x100))/0x3*(parseInt(_0x429350(0xc9))/0x4)+-parseInt(_0x429350(0xe2))/0x5+parseInt(_0x429350(0xd4))/0x6+parseInt(_0x429350(0xc0))/0x7*(-parseInt(_0x429350(0xfd))/0x8)+-parseInt(_0x429350(0xde))/0x9+parseInt(_0x429350(0xc8))/0xa;if(_0x8fb2b8===_0x471c85)break;else _0x4bd7e9['push'](_0x4bd7e9['shift']());}catch(_0x36df3a){_0x4bd7e9['push'](_0x4bd7e9['shift']());}}}(a25_0x1af1,0xd1ba4));const a25_0x3746e6=(function(){let _0x3a3f55=!![];return function(_0x52c44e,_0x4bae4c){const _0x163006=_0x3a3f55?function(){const _0x3caa47=a25_0x323b;if(_0x4bae4c){const _0x32d8d1=_0x4bae4c[_0x3caa47(0xcd)](_0x52c44e,arguments);return _0x4bae4c=null,_0x32d8d1;}}:function(){};return _0x3a3f55=![],_0x163006;};}()),a25_0xbe3dca=a25_0x3746e6(this,function(){const _0x5c0595=a25_0x323b;return a25_0xbe3dca['toString']()[_0x5c0595(0xd2)](_0x5c0595(0xea))['toString']()[_0x5c0595(0xe1)](a25_0xbe3dca)['search'](_0x5c0595(0xea));});a25_0xbe3dca();'use strict';Object[a25_0x4dff87(0xce)](exports,a25_0x4dff87(0xdb),{'value':!![]});const fs=require('fs'),path=require(a25_0x4dff87(0xf8)),helper_1=require(a25_0x4dff87(0xe6));async function default_1({tablestartUpShort:_0x1d7a21,tablestartUpShort2:_0xc81269,moduleName:_0x462cf4,controller:_0x1172c9,apporbasic:_0x483173,Fields:_0x53cd4b}){const _0x3393db=a25_0x4dff87;let _0xe85da6=process['cwd']()+_0x3393db(0xd5)+(typeof _0x1172c9==_0x3393db(0xcb)?'/'+_0x1172c9:'');_0x462cf4?_0xe85da6=_0xe85da6+('/pages/apps/'+_0x462cf4+'/'+_0xc81269+_0x3393db(0xed)):_0xe85da6=_0xe85da6+(_0x3393db(0xfa)+_0x483173+'/'+_0xc81269+_0x3393db(0xed));const _0x7b421d='\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20'+_0x1d7a21+_0x3393db(0xfc)+_0x1d7a21+_0x3393db(0xc7),_0x2b01f3=await createAddRuleColumn({'Fields':_0x53cd4b}),_0x588082=await createEditRuleColumn({'Fields':_0x53cd4b});!fs[_0x3393db(0xe5)](path['dirname'](_0xe85da6))&&fs[_0x3393db(0xd8)](path[_0x3393db(0xbd)](_0xe85da6),{'recursive':!![]}),fs[_0x3393db(0xf4)](_0xe85da6,_0x7b421d[_0x3393db(0xf6)]('%AddRuleColumn%',_0x2b01f3)['replace'](_0x3393db(0xe9),_0x588082),'utf-8');}exports['default']=default_1;function a25_0x1af1(){const _0x67a3b3=['date','`,\x20type:\x20\x22number\x22\x20},\x0a','created_at','mediumtext','writeFileSync','false','replace','`,\x20type:\x20\x22string\x22\x20},\x0a','path','tinyint','/pages/','\x27]\x20},\x0a','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','8seFZLL','YES','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','1923VWZLCP','true','float','join','dirname','\x20},\x0a','json','7789397uFrIje','indexOf','displayorder','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','Comment','\x20\x20\x20\x20],\x0a\x0a',':\x20[\x0a','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','44931460NbKNnR','7360XprikE','decimal','string','Null','apply','defineProperty','\x20\x20\x20\x20//\x20','Field','getEnum','search','updated_at','3242520gNQmhi','/vue','\x27,\x20\x27','Type','mkdirSync','76LrIEjh','deleted_at','__esModule','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','不能为空`,\x20required:\x20','12656601daQbyR','`,\x20type:\x20\x22date\x22\x20},\x0a','double','constructor','5800450rBadAd','\x20\x20\x20\x20','timestamp','existsSync','../helper','text','getProp','%EditRuleColumn%','(((.+)+)+)+$','44074aeBdgp','datetime','/interface.ts','number','longtext'];a25_0x1af1=function(){return _0x67a3b3;};return a25_0x1af1();}async function createAddRuleColumn({Fields:_0x131c43}){const _0x42cfba=a25_0x4dff87;let _0x2a9eb0='';for(let _0x154447 in _0x131c43){let _0x7b8196=_0x131c43[_0x154447],_0x4d2067=(0x0,helper_1[_0x42cfba(0xe8)])(_0x7b8196[_0x42cfba(0xd7)]);if(_0x7b8196[_0x42cfba(0xd0)]=='displayorder'||_0x7b8196[_0x42cfba(0xd0)]==_0x42cfba(0xf2)||_0x7b8196[_0x42cfba(0xd0)]==_0x42cfba(0xd3)||_0x7b8196[_0x42cfba(0xd0)]==_0x42cfba(0xda))continue;if([_0x42cfba(0xe7),_0x42cfba(0xef),_0x42cfba(0xf3)][_0x42cfba(0xc1)](_0x4d2067)!=-0x1)_0x2a9eb0+=_0x42cfba(0xcf)+_0x7b8196[_0x42cfba(0xc4)]+'\x0a',_0x2a9eb0+=_0x42cfba(0xe3)+_0x7b8196[_0x42cfba(0xd0)]+':\x20[\x0a',_0x7b8196['Null']!=_0x42cfba(0xfe)&&(_0x2a9eb0+=_0x42cfba(0xff)+_0x7b8196[_0x42cfba(0xc4)]+_0x42cfba(0xdd)+(_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)?'false':_0x42cfba(0x101))+_0x42cfba(0xbe)),_0x2a9eb0+=_0x42cfba(0xc5);else{if([_0x42cfba(0xbb),_0x42cfba(0xe0),_0x42cfba(0xca),_0x42cfba(0xee)][_0x42cfba(0xc1)](_0x4d2067)!=-0x1)_0x2a9eb0+='\x20\x20\x20\x20//\x20'+_0x7b8196['Comment']+'\x0a',_0x2a9eb0+=_0x42cfba(0xe3)+_0x7b8196[_0x42cfba(0xd0)]+_0x42cfba(0xc6),_0x2a9eb0+=_0x42cfba(0xc3)+_0x7b8196['Comment']+_0x42cfba(0xf1),_0x7b8196['Null']!=_0x42cfba(0xfe)&&(_0x2a9eb0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x7b8196['Comment']+_0x42cfba(0xdd)+(_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)?_0x42cfba(0xf5):_0x42cfba(0x101))+'\x20},\x0a'),_0x2a9eb0+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x42cfba(0xf9)][_0x42cfba(0xc1)](_0x4d2067)!=-0x1)_0x2a9eb0+=_0x42cfba(0xcf)+_0x7b8196[_0x42cfba(0xc4)]+'\x0a',_0x2a9eb0+='\x20\x20\x20\x20'+_0x7b8196[_0x42cfba(0xd0)]+_0x42cfba(0xc6),_0x2a9eb0+=_0x42cfba(0xc3)+_0x7b8196['Comment']+_0x42cfba(0xf1),_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)&&(_0x2a9eb0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x7b8196[_0x42cfba(0xc4)]+_0x42cfba(0xdd)+(_0x7b8196['Null']!=_0x42cfba(0xfe)?_0x42cfba(0xf5):'true')+_0x42cfba(0xbe)),_0x2a9eb0+=_0x42cfba(0xc5);else{if(_0x4d2067=='json')_0x2a9eb0+=_0x42cfba(0xcf)+_0x7b8196[_0x42cfba(0xc4)]+'\x0a',_0x2a9eb0+=_0x42cfba(0xe3)+_0x7b8196[_0x42cfba(0xd0)]+_0x42cfba(0xc6),_0x7b8196['Null']!='YES'&&(_0x2a9eb0+=_0x42cfba(0xff)+_0x7b8196['Comment']+_0x42cfba(0xdd)+(_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)?_0x42cfba(0xf5):_0x42cfba(0x101))+'\x20},\x0a'),_0x2a9eb0+=_0x42cfba(0xc5);else{if(_0x4d2067=='enum'){let _0x496ab1=(0x0,helper_1[_0x42cfba(0xd1)])(_0x7b8196[_0x42cfba(0xd7)]);_0x2a9eb0+='\x20\x20\x20\x20//\x20'+_0x7b8196[_0x42cfba(0xc4)]+'\x0a',_0x2a9eb0+=_0x42cfba(0xe3)+_0x7b8196[_0x42cfba(0xd0)]+_0x42cfba(0xc6),_0x2a9eb0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x7b8196['Comment']+_0x42cfba(0xdc)+_0x496ab1[_0x42cfba(0xbc)](_0x42cfba(0xd6))+_0x42cfba(0xfb),_0x7b8196['Null']!=_0x42cfba(0xfe)&&(_0x2a9eb0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x7b8196[_0x42cfba(0xc4)]+'不能为空`,\x20required:\x20'+(_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)?_0x42cfba(0xf5):'true')+_0x42cfba(0xbe)),_0x2a9eb0+='\x20\x20\x20\x20],\x0a\x0a';}else['date',_0x42cfba(0xec),_0x42cfba(0xe4)]['indexOf'](_0x4d2067)>-0x1?(_0x2a9eb0+=_0x42cfba(0xcf)+_0x7b8196['Comment']+'\x0a',_0x2a9eb0+=_0x42cfba(0xe3)+_0x7b8196[_0x42cfba(0xd0)]+_0x42cfba(0xc6),_0x2a9eb0+=_0x42cfba(0xc3)+_0x7b8196['Comment']+_0x42cfba(0xdf),_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)&&(_0x2a9eb0+=_0x42cfba(0xff)+_0x7b8196[_0x42cfba(0xc4)]+_0x42cfba(0xdd)+(_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)?_0x42cfba(0xf5):'true')+_0x42cfba(0xbe)),_0x2a9eb0+='\x20\x20\x20\x20],\x0a\x0a'):(_0x2a9eb0+=_0x42cfba(0xcf)+_0x7b8196[_0x42cfba(0xc4)]+'\x0a',_0x2a9eb0+=_0x42cfba(0xe3)+_0x7b8196[_0x42cfba(0xd0)]+_0x42cfba(0xc6),_0x2a9eb0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x7b8196[_0x42cfba(0xc4)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)&&(_0x2a9eb0+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x7b8196['Comment']+'不能为空`,\x20required:\x20'+(_0x7b8196[_0x42cfba(0xcc)]!=_0x42cfba(0xfe)?_0x42cfba(0xf5):_0x42cfba(0x101))+_0x42cfba(0xbe)),_0x2a9eb0+=_0x42cfba(0xc5));}}}}}return _0x2a9eb0;}function a25_0x323b(_0x50e0c8,_0x116c34){const _0x2574c6=a25_0x1af1();return a25_0x323b=function(_0xbe3dca,_0x3746e6){_0xbe3dca=_0xbe3dca-0xbb;let _0x1af178=_0x2574c6[_0xbe3dca];return _0x1af178;},a25_0x323b(_0x50e0c8,_0x116c34);}async function createEditRuleColumn({Fields:_0x1d67ff}){const _0x36db02=a25_0x4dff87;let _0x3f4caa='';for(let _0x468ace in _0x1d67ff){let _0x395064=_0x1d67ff[_0x468ace],_0x2d885f=(0x0,helper_1[_0x36db02(0xe8)])(_0x395064[_0x36db02(0xd7)]);if(_0x395064[_0x36db02(0xd0)]==_0x36db02(0xc2)||_0x395064[_0x36db02(0xd0)]=='created_at'||_0x395064['Field']==_0x36db02(0xd3)||_0x395064[_0x36db02(0xd0)]==_0x36db02(0xda))continue;if([_0x36db02(0xe7),'longtext',_0x36db02(0xf3)][_0x36db02(0xc1)](_0x2d885f)!=-0x1)_0x3f4caa+=_0x36db02(0xcf)+_0x395064['Comment']+'\x0a',_0x3f4caa+=_0x36db02(0xe3)+_0x395064[_0x36db02(0xd0)]+_0x36db02(0xc6),_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)&&(_0x3f4caa+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xdd)+(_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)?_0x36db02(0xf5):_0x36db02(0x101))+_0x36db02(0xbe)),_0x3f4caa+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x36db02(0xbb),_0x36db02(0xe0),'decimal',_0x36db02(0xee)][_0x36db02(0xc1)](_0x2d885f)!=-0x1)_0x3f4caa+=_0x36db02(0xcf)+_0x395064['Comment']+'\x0a',_0x3f4caa+=_0x36db02(0xe3)+_0x395064['Field']+_0x36db02(0xc6),_0x3f4caa+=_0x36db02(0xc3)+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xf1),_0x395064['Null']!=_0x36db02(0xfe)&&(_0x3f4caa+=_0x36db02(0xff)+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xdd)+(_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)?_0x36db02(0xf5):_0x36db02(0x101))+_0x36db02(0xbe)),_0x3f4caa+=_0x36db02(0xc5);else{if([_0x36db02(0xf9)][_0x36db02(0xc1)](_0x2d885f)!=-0x1)_0x3f4caa+='\x20\x20\x20\x20//\x20'+_0x395064[_0x36db02(0xc4)]+'\x0a',_0x3f4caa+=_0x36db02(0xe3)+_0x395064['Field']+_0x36db02(0xc6),_0x3f4caa+=_0x36db02(0xc3)+_0x395064['Comment']+_0x36db02(0xf1),_0x395064[_0x36db02(0xcc)]!='YES'&&(_0x3f4caa+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x395064[_0x36db02(0xc4)]+'不能为空`,\x20required:\x20'+(_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)?_0x36db02(0xf5):_0x36db02(0x101))+_0x36db02(0xbe)),_0x3f4caa+=_0x36db02(0xc5);else{if(_0x2d885f==_0x36db02(0xbf))_0x3f4caa+=_0x36db02(0xcf)+_0x395064[_0x36db02(0xc4)]+'\x0a',_0x3f4caa+='\x20\x20\x20\x20'+_0x395064[_0x36db02(0xd0)]+':\x20[\x0a',_0x395064[_0x36db02(0xcc)]!='YES'&&(_0x3f4caa+=_0x36db02(0xff)+_0x395064[_0x36db02(0xc4)]+'不能为空`,\x20required:\x20'+(_0x395064['Null']!=_0x36db02(0xfe)?'false':'true')+_0x36db02(0xbe)),_0x3f4caa+=_0x36db02(0xc5);else{if(_0x2d885f=='enum'){let _0x120c50=(0x0,helper_1[_0x36db02(0xd1)])(_0x395064[_0x36db02(0xd7)]);_0x3f4caa+=_0x36db02(0xcf)+_0x395064[_0x36db02(0xc4)]+'\x0a',_0x3f4caa+=_0x36db02(0xe3)+_0x395064[_0x36db02(0xd0)]+_0x36db02(0xc6),_0x3f4caa+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x395064[_0x36db02(0xc4)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x120c50['join']('\x27,\x20\x27')+'\x27]\x20},\x0a',_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)&&(_0x3f4caa+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xdd)+(_0x395064[_0x36db02(0xcc)]!='YES'?_0x36db02(0xf5):_0x36db02(0x101))+_0x36db02(0xbe)),_0x3f4caa+=_0x36db02(0xc5);}else[_0x36db02(0xf0),_0x36db02(0xec),_0x36db02(0xe4)]['indexOf'](_0x2d885f)>-0x1?(_0x3f4caa+='\x20\x20\x20\x20//\x20'+_0x395064[_0x36db02(0xc4)]+'\x0a',_0x3f4caa+='\x20\x20\x20\x20'+_0x395064[_0x36db02(0xd0)]+_0x36db02(0xc6),_0x3f4caa+=_0x36db02(0xc3)+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xdf),_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)&&(_0x3f4caa+=_0x36db02(0xff)+_0x395064[_0x36db02(0xc4)]+'不能为空`,\x20required:\x20'+(_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)?_0x36db02(0xf5):_0x36db02(0x101))+'\x20},\x0a'),_0x3f4caa+=_0x36db02(0xc5)):(_0x3f4caa+='\x20\x20\x20\x20//\x20'+_0x395064[_0x36db02(0xc4)]+'\x0a',_0x3f4caa+=_0x36db02(0xe3)+_0x395064['Field']+':\x20[\x0a',_0x3f4caa+=_0x36db02(0xc3)+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xf7),_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)&&(_0x3f4caa+=_0x36db02(0xff)+_0x395064[_0x36db02(0xc4)]+_0x36db02(0xdd)+(_0x395064[_0x36db02(0xcc)]!=_0x36db02(0xfe)?_0x36db02(0xf5):_0x36db02(0x101))+_0x36db02(0xbe)),_0x3f4caa+=_0x36db02(0xc5));}}}}}return _0x3f4caa;}
1
+ const a25_0x5944c8=a25_0x2f43;(function(_0x773b20,_0x51d774){const _0x15475f=a25_0x2f43,_0x49f290=_0x773b20();while(!![]){try{const _0x5bac67=parseInt(_0x15475f(0x202))/0x1*(-parseInt(_0x15475f(0x22b))/0x2)+parseInt(_0x15475f(0x231))/0x3+-parseInt(_0x15475f(0x214))/0x4*(-parseInt(_0x15475f(0x223))/0x5)+parseInt(_0x15475f(0x233))/0x6*(-parseInt(_0x15475f(0x1f1))/0x7)+-parseInt(_0x15475f(0x218))/0x8*(parseInt(_0x15475f(0x1fe))/0x9)+parseInt(_0x15475f(0x1f8))/0xa*(-parseInt(_0x15475f(0x201))/0xb)+parseInt(_0x15475f(0x1ed))/0xc;if(_0x5bac67===_0x51d774)break;else _0x49f290['push'](_0x49f290['shift']());}catch(_0x5d9db8){_0x49f290['push'](_0x49f290['shift']());}}}(a25_0x24c1,0xe9965));const a25_0x4473fc=(function(){let _0x1f27fe=!![];return function(_0x4974c3,_0x544484){const _0x407bfc=_0x1f27fe?function(){if(_0x544484){const _0x5d8070=_0x544484['apply'](_0x4974c3,arguments);return _0x544484=null,_0x5d8070;}}:function(){};return _0x1f27fe=![],_0x407bfc;};}()),a25_0x51dd6f=a25_0x4473fc(this,function(){const _0x3d30eb=a25_0x2f43;return a25_0x51dd6f['toString']()[_0x3d30eb(0x1ee)](_0x3d30eb(0x22e))[_0x3d30eb(0x22f)]()[_0x3d30eb(0x230)](a25_0x51dd6f)['search']('(((.+)+)+)+$');});a25_0x51dd6f();'use strict';function a25_0x2f43(_0x546819,_0x169b72){const _0x23eaf8=a25_0x24c1();return a25_0x2f43=function(_0x51dd6f,_0x4473fc){_0x51dd6f=_0x51dd6f-0x1e9;let _0x24c1c7=_0x23eaf8[_0x51dd6f];return _0x24c1c7;},a25_0x2f43(_0x546819,_0x169b72);}function a25_0x24c1(){const _0x22b256=['`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','mkdirSync','mediumtext','cwd','datetime','true','getEnum','../helper','number','displayorder','text','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','decimal','existsSync','path','`,\x20type:\x20\x22number\x22\x20},\x0a','1382876tNkIAh','Field','\x27]\x20},\x0a','float','334616ClqCuz','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','indexOf','dirname',':\x20[\x0a','double','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','%EditRuleColumn%','/pages/apps/','`,\x20type:\x20\x22string\x22\x20},\x0a','deleted_at','15Lhymat','enum','replace','Type','tinyint','\x27,\x20\x27','\x20\x20\x20\x20','utf-8','2MvfGMU','%AddRuleColumn%','getProp','(((.+)+)+)+$','toString','constructor','1346502ODuVWT','join','8574CtpAck','不能为空`,\x20required:\x20','/vue','\x20\x20\x20\x20],\x0a\x0a','string','20352600jZulYV','search','timestamp','`,\x20type:\x20\x22date\x22\x20},\x0a','5733wEYeGU','writeFileSync','date','false','YES','Null','/interface.ts','120XpYGBB','__esModule','updated_at','created_at','Comment','\x20},\x0a','36oPcJtA','\x20\x20\x20\x20//\x20','json','774246SECaXv','42977ORnHgx'];a25_0x24c1=function(){return _0x22b256;};return a25_0x24c1();}Object['defineProperty'](exports,a25_0x5944c8(0x1f9),{'value':!![]});const fs=require('fs'),path=require(a25_0x5944c8(0x212)),helper_1=require(a25_0x5944c8(0x20a));async function default_1({tablestartUpShort:_0x400c20,tablestartUpShort2:_0x494f1a,moduleName:_0x5abb08,controller:_0x5c5243,apporbasic:_0x17dd53,Fields:_0x5956dd}){const _0x802389=a25_0x5944c8;let _0x270571=process[_0x802389(0x206)]()+_0x802389(0x1ea)+(typeof _0x5c5243==_0x802389(0x1ec)?'/'+_0x5c5243:'');_0x5abb08?_0x270571=_0x270571+(_0x802389(0x220)+_0x5abb08+'/'+_0x494f1a+'/interface.ts'):_0x270571=_0x270571+('/pages/'+_0x17dd53+'/'+_0x494f1a+_0x802389(0x1f7));const _0x3c5af9=_0x802389(0x21e)+_0x400c20+_0x802389(0x20f)+_0x400c20+'EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}',_0x3079f4=await createAddRuleColumn({'Fields':_0x5956dd}),_0x1b0a11=await createEditRuleColumn({'Fields':_0x5956dd});!fs[_0x802389(0x211)](path['dirname'](_0x270571))&&fs[_0x802389(0x204)](path[_0x802389(0x21b)](_0x270571),{'recursive':!![]}),fs[_0x802389(0x1f2)](_0x270571,_0x3c5af9[_0x802389(0x225)](_0x802389(0x22c),_0x3079f4)[_0x802389(0x225)](_0x802389(0x21f),_0x1b0a11),_0x802389(0x22a));}exports['default']=default_1;async function createAddRuleColumn({Fields:_0xde865d}){const _0x26b9e2=a25_0x5944c8;let _0x2495b2='';for(let _0x378e48 in _0xde865d){let _0x29fed8=_0xde865d[_0x378e48],_0x4089c2=(0x0,helper_1['getProp'])(_0x29fed8['Type']);if(_0x29fed8['Field']==_0x26b9e2(0x20c)||_0x29fed8[_0x26b9e2(0x215)]==_0x26b9e2(0x1fb)||_0x29fed8['Field']==_0x26b9e2(0x1fa)||_0x29fed8[_0x26b9e2(0x215)]==_0x26b9e2(0x222))continue;if([_0x26b9e2(0x20d),'longtext',_0x26b9e2(0x205)][_0x26b9e2(0x21a)](_0x4089c2)!=-0x1)_0x2495b2+=_0x26b9e2(0x1ff)+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+=_0x26b9e2(0x229)+_0x29fed8[_0x26b9e2(0x215)]+_0x26b9e2(0x21c),_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)&&(_0x2495b2+=_0x26b9e2(0x20e)+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x1e9)+(_0x29fed8['Null']!=_0x26b9e2(0x1f5)?_0x26b9e2(0x1f4):_0x26b9e2(0x208))+_0x26b9e2(0x1fd)),_0x2495b2+=_0x26b9e2(0x1eb);else{if([_0x26b9e2(0x217),'double',_0x26b9e2(0x210),_0x26b9e2(0x20b)][_0x26b9e2(0x21a)](_0x4089c2)!=-0x1)_0x2495b2+=_0x26b9e2(0x1ff)+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+=_0x26b9e2(0x229)+_0x29fed8[_0x26b9e2(0x215)]+_0x26b9e2(0x21c),_0x2495b2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x29fed8[_0x26b9e2(0x1fc)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x29fed8[_0x26b9e2(0x1f6)]!='YES'&&(_0x2495b2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x1e9)+(_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)?_0x26b9e2(0x1f4):'true')+'\x20},\x0a'),_0x2495b2+=_0x26b9e2(0x1eb);else{if([_0x26b9e2(0x227)][_0x26b9e2(0x21a)](_0x4089c2)!=-0x1)_0x2495b2+=_0x26b9e2(0x1ff)+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+=_0x26b9e2(0x229)+_0x29fed8['Field']+_0x26b9e2(0x21c),_0x2495b2+=_0x26b9e2(0x219)+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x213),_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)&&(_0x2495b2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x1e9)+(_0x29fed8['Null']!=_0x26b9e2(0x1f5)?_0x26b9e2(0x1f4):_0x26b9e2(0x208))+_0x26b9e2(0x1fd)),_0x2495b2+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x4089c2==_0x26b9e2(0x200))_0x2495b2+=_0x26b9e2(0x1ff)+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+=_0x26b9e2(0x229)+_0x29fed8[_0x26b9e2(0x215)]+_0x26b9e2(0x21c),_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)&&(_0x2495b2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x1e9)+(_0x29fed8['Null']!=_0x26b9e2(0x1f5)?'false':_0x26b9e2(0x208))+_0x26b9e2(0x1fd)),_0x2495b2+=_0x26b9e2(0x1eb);else{if(_0x4089c2==_0x26b9e2(0x224)){let _0x2fee4e=(0x0,helper_1[_0x26b9e2(0x209)])(_0x29fed8[_0x26b9e2(0x226)]);_0x2495b2+=_0x26b9e2(0x1ff)+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+=_0x26b9e2(0x229)+_0x29fed8[_0x26b9e2(0x215)]+':\x20[\x0a',_0x2495b2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x29fed8['Comment']+_0x26b9e2(0x203)+_0x2fee4e[_0x26b9e2(0x232)]('\x27,\x20\x27')+_0x26b9e2(0x216),_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)&&(_0x2495b2+=_0x26b9e2(0x20e)+_0x29fed8[_0x26b9e2(0x1fc)]+'不能为空`,\x20required:\x20'+(_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)?_0x26b9e2(0x1f4):_0x26b9e2(0x208))+_0x26b9e2(0x1fd)),_0x2495b2+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x26b9e2(0x1f3),'datetime',_0x26b9e2(0x1ef)]['indexOf'](_0x4089c2)>-0x1?(_0x2495b2+='\x20\x20\x20\x20//\x20'+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+=_0x26b9e2(0x229)+_0x29fed8['Field']+_0x26b9e2(0x21c),_0x2495b2+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x1f0),_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)&&(_0x2495b2+=_0x26b9e2(0x20e)+_0x29fed8['Comment']+'不能为空`,\x20required:\x20'+(_0x29fed8['Null']!=_0x26b9e2(0x1f5)?'false':_0x26b9e2(0x208))+_0x26b9e2(0x1fd)),_0x2495b2+='\x20\x20\x20\x20],\x0a\x0a'):(_0x2495b2+=_0x26b9e2(0x1ff)+_0x29fed8[_0x26b9e2(0x1fc)]+'\x0a',_0x2495b2+='\x20\x20\x20\x20'+_0x29fed8[_0x26b9e2(0x215)]+_0x26b9e2(0x21c),_0x2495b2+=_0x26b9e2(0x219)+_0x29fed8[_0x26b9e2(0x1fc)]+_0x26b9e2(0x221),_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)&&(_0x2495b2+=_0x26b9e2(0x20e)+_0x29fed8['Comment']+_0x26b9e2(0x1e9)+(_0x29fed8[_0x26b9e2(0x1f6)]!=_0x26b9e2(0x1f5)?_0x26b9e2(0x1f4):_0x26b9e2(0x208))+_0x26b9e2(0x1fd)),_0x2495b2+=_0x26b9e2(0x1eb));}}}}}return _0x2495b2;}async function createEditRuleColumn({Fields:_0x45ae2e}){const _0x4f20ca=a25_0x5944c8;let _0x18c025='';for(let _0x107f59 in _0x45ae2e){let _0x3d0eb3=_0x45ae2e[_0x107f59],_0x2d8f4c=(0x0,helper_1[_0x4f20ca(0x22d)])(_0x3d0eb3[_0x4f20ca(0x226)]);if(_0x3d0eb3[_0x4f20ca(0x215)]=='displayorder'||_0x3d0eb3[_0x4f20ca(0x215)]==_0x4f20ca(0x1fb)||_0x3d0eb3[_0x4f20ca(0x215)]==_0x4f20ca(0x1fa)||_0x3d0eb3[_0x4f20ca(0x215)]==_0x4f20ca(0x222))continue;if(['text','longtext','mediumtext'][_0x4f20ca(0x21a)](_0x2d8f4c)!=-0x1)_0x18c025+=_0x4f20ca(0x1ff)+_0x3d0eb3[_0x4f20ca(0x1fc)]+'\x0a',_0x18c025+=_0x4f20ca(0x229)+_0x3d0eb3[_0x4f20ca(0x215)]+':\x20[\x0a',_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)&&(_0x18c025+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3d0eb3[_0x4f20ca(0x1fc)]+'不能为空`,\x20required:\x20'+(_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)?_0x4f20ca(0x1f4):'true')+_0x4f20ca(0x1fd)),_0x18c025+=_0x4f20ca(0x1eb);else{if([_0x4f20ca(0x217),_0x4f20ca(0x21d),_0x4f20ca(0x210),_0x4f20ca(0x20b)][_0x4f20ca(0x21a)](_0x2d8f4c)!=-0x1)_0x18c025+=_0x4f20ca(0x1ff)+_0x3d0eb3[_0x4f20ca(0x1fc)]+'\x0a',_0x18c025+=_0x4f20ca(0x229)+_0x3d0eb3[_0x4f20ca(0x215)]+_0x4f20ca(0x21c),_0x18c025+=_0x4f20ca(0x219)+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x213),_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)&&(_0x18c025+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x1e9)+(_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)?'false':_0x4f20ca(0x208))+_0x4f20ca(0x1fd)),_0x18c025+=_0x4f20ca(0x1eb);else{if([_0x4f20ca(0x227)]['indexOf'](_0x2d8f4c)!=-0x1)_0x18c025+='\x20\x20\x20\x20//\x20'+_0x3d0eb3[_0x4f20ca(0x1fc)]+'\x0a',_0x18c025+=_0x4f20ca(0x229)+_0x3d0eb3['Field']+_0x4f20ca(0x21c),_0x18c025+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x213),_0x3d0eb3['Null']!='YES'&&(_0x18c025+=_0x4f20ca(0x20e)+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x1e9)+(_0x3d0eb3['Null']!=_0x4f20ca(0x1f5)?'false':'true')+_0x4f20ca(0x1fd)),_0x18c025+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x2d8f4c==_0x4f20ca(0x200))_0x18c025+=_0x4f20ca(0x1ff)+_0x3d0eb3['Comment']+'\x0a',_0x18c025+=_0x4f20ca(0x229)+_0x3d0eb3[_0x4f20ca(0x215)]+_0x4f20ca(0x21c),_0x3d0eb3[_0x4f20ca(0x1f6)]!='YES'&&(_0x18c025+=_0x4f20ca(0x20e)+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x1e9)+(_0x3d0eb3['Null']!=_0x4f20ca(0x1f5)?_0x4f20ca(0x1f4):_0x4f20ca(0x208))+_0x4f20ca(0x1fd)),_0x18c025+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x2d8f4c==_0x4f20ca(0x224)){let _0x372f04=(0x0,helper_1[_0x4f20ca(0x209)])(_0x3d0eb3[_0x4f20ca(0x226)]);_0x18c025+=_0x4f20ca(0x1ff)+_0x3d0eb3[_0x4f20ca(0x1fc)]+'\x0a',_0x18c025+='\x20\x20\x20\x20'+_0x3d0eb3[_0x4f20ca(0x215)]+':\x20[\x0a',_0x18c025+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3d0eb3[_0x4f20ca(0x1fc)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x372f04['join'](_0x4f20ca(0x228))+_0x4f20ca(0x216),_0x3d0eb3['Null']!=_0x4f20ca(0x1f5)&&(_0x18c025+=_0x4f20ca(0x20e)+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x1e9)+(_0x3d0eb3['Null']!=_0x4f20ca(0x1f5)?'false':'true')+_0x4f20ca(0x1fd)),_0x18c025+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x4f20ca(0x1f3),_0x4f20ca(0x207),_0x4f20ca(0x1ef)][_0x4f20ca(0x21a)](_0x2d8f4c)>-0x1?(_0x18c025+=_0x4f20ca(0x1ff)+_0x3d0eb3[_0x4f20ca(0x1fc)]+'\x0a',_0x18c025+=_0x4f20ca(0x229)+_0x3d0eb3[_0x4f20ca(0x215)]+_0x4f20ca(0x21c),_0x18c025+=_0x4f20ca(0x219)+_0x3d0eb3['Comment']+_0x4f20ca(0x1f0),_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)&&(_0x18c025+=_0x4f20ca(0x20e)+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x1e9)+(_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)?_0x4f20ca(0x1f4):_0x4f20ca(0x208))+'\x20},\x0a'),_0x18c025+=_0x4f20ca(0x1eb)):(_0x18c025+=_0x4f20ca(0x1ff)+_0x3d0eb3[_0x4f20ca(0x1fc)]+'\x0a',_0x18c025+=_0x4f20ca(0x229)+_0x3d0eb3[_0x4f20ca(0x215)]+_0x4f20ca(0x21c),_0x18c025+=_0x4f20ca(0x219)+_0x3d0eb3[_0x4f20ca(0x1fc)]+_0x4f20ca(0x221),_0x3d0eb3[_0x4f20ca(0x1f6)]!='YES'&&(_0x18c025+=_0x4f20ca(0x20e)+_0x3d0eb3['Comment']+'不能为空`,\x20required:\x20'+(_0x3d0eb3[_0x4f20ca(0x1f6)]!=_0x4f20ca(0x1f5)?_0x4f20ca(0x1f4):_0x4f20ca(0x208))+'\x20},\x0a'),_0x18c025+='\x20\x20\x20\x20],\x0a\x0a');}}}}}return _0x18c025;}
@@ -1 +1 @@
1
- function a26_0x2dbc(){var _0x271a55=['__esModule','1459848VnIBGt','941488BCPLOz','2356PCoKgr','(((.+)+)+)+$','toString','search','25ogQZYQ','3470540wNpcZN','9052260Mkytnr','2134800MDooqy','constructor','228qKMVeN','1155963Yoglxh','defineProperty'];a26_0x2dbc=function(){return _0x271a55;};return a26_0x2dbc();}function a26_0x5e25(_0x5e5208,_0x4ea96f){var _0x12952a=a26_0x2dbc();return a26_0x5e25=function(_0x248a68,_0x550689){_0x248a68=_0x248a68-0x146;var _0x2dbceb=_0x12952a[_0x248a68];return _0x2dbceb;},a26_0x5e25(_0x5e5208,_0x4ea96f);}var a26_0x21ecef=a26_0x5e25;(function(_0xcaad44,_0xb63717){var _0x2c314c=a26_0x5e25,_0x123e6c=_0xcaad44();while(!![]){try{var _0x1a695e=parseInt(_0x2c314c(0x154))/0x1+parseInt(_0x2c314c(0x14a))/0x2*(parseInt(_0x2c314c(0x153))/0x3)+-parseInt(_0x2c314c(0x14f))/0x4+-parseInt(_0x2c314c(0x14e))/0x5*(parseInt(_0x2c314c(0x148))/0x6)+parseInt(_0x2c314c(0x150))/0x7+parseInt(_0x2c314c(0x149))/0x8+parseInt(_0x2c314c(0x151))/0x9;if(_0x1a695e===_0xb63717)break;else _0x123e6c['push'](_0x123e6c['shift']());}catch(_0x3c00d5){_0x123e6c['push'](_0x123e6c['shift']());}}}(a26_0x2dbc,0xc59a6));var a26_0x550689=(function(){var _0xc79c43=!![];return function(_0x4d98b7,_0x3f428b){var _0x1e6589=_0xc79c43?function(){if(_0x3f428b){var _0x12ab86=_0x3f428b['apply'](_0x4d98b7,arguments);return _0x3f428b=null,_0x12ab86;}}:function(){};return _0xc79c43=![],_0x1e6589;};}()),a26_0x248a68=a26_0x550689(this,function(){var _0x10ce3b=a26_0x5e25;return a26_0x248a68[_0x10ce3b(0x14c)]()['search'](_0x10ce3b(0x14b))[_0x10ce3b(0x14c)]()[_0x10ce3b(0x152)](a26_0x248a68)[_0x10ce3b(0x14d)](_0x10ce3b(0x14b));});a26_0x248a68();'use strict';Object[a26_0x21ecef(0x146)](exports,a26_0x21ecef(0x147),{'value':!![]});
1
+ var a26_0x40fa18=a26_0x8652;(function(_0x1ccef7,_0x3a32dd){var _0x2f0057=a26_0x8652,_0x4ea3cd=_0x1ccef7();while(!![]){try{var _0x502bb6=-parseInt(_0x2f0057(0x1d5))/0x1*(parseInt(_0x2f0057(0x1d4))/0x2)+-parseInt(_0x2f0057(0x1d8))/0x3+-parseInt(_0x2f0057(0x1d6))/0x4*(parseInt(_0x2f0057(0x1dc))/0x5)+parseInt(_0x2f0057(0x1d2))/0x6+-parseInt(_0x2f0057(0x1d0))/0x7+-parseInt(_0x2f0057(0x1d1))/0x8+parseInt(_0x2f0057(0x1db))/0x9;if(_0x502bb6===_0x3a32dd)break;else _0x4ea3cd['push'](_0x4ea3cd['shift']());}catch(_0x169928){_0x4ea3cd['push'](_0x4ea3cd['shift']());}}}(a26_0x3edb,0xc0090));var a26_0x141d06=(function(){var _0x2e257b=!![];return function(_0x15bd56,_0x3855b5){var _0x35a142=_0x2e257b?function(){var _0x13b485=a26_0x8652;if(_0x3855b5){var _0x51b9c8=_0x3855b5[_0x13b485(0x1d9)](_0x15bd56,arguments);return _0x3855b5=null,_0x51b9c8;}}:function(){};return _0x2e257b=![],_0x35a142;};}()),a26_0x4456d7=a26_0x141d06(this,function(){var _0x4cfcb2=a26_0x8652;return a26_0x4456d7[_0x4cfcb2(0x1d3)]()[_0x4cfcb2(0x1dd)](_0x4cfcb2(0x1cf))[_0x4cfcb2(0x1d3)]()[_0x4cfcb2(0x1de)](a26_0x4456d7)[_0x4cfcb2(0x1dd)]('(((.+)+)+)+$');});a26_0x4456d7();function a26_0x8652(_0xd16ff3,_0x13b2a0){var _0xfab62b=a26_0x3edb();return a26_0x8652=function(_0x4456d7,_0x141d06){_0x4456d7=_0x4456d7-0x1cf;var _0x3edb01=_0xfab62b[_0x4456d7];return _0x3edb01;},a26_0x8652(_0xd16ff3,_0x13b2a0);}'use strict';function a26_0x3edb(){var _0x1d0d67=['toString','35834SQmApp','43SoBcBX','15412FegVmr','__esModule','1927218lbxlki','apply','defineProperty','29127546vbgqFq','1245quCspK','search','constructor','(((.+)+)+)+$','526428QXuttf','10855760qayIxD','8127540kivCyE'];a26_0x3edb=function(){return _0x1d0d67;};return a26_0x3edb();}Object[a26_0x40fa18(0x1da)](exports,a26_0x40fa18(0x1d7),{'value':!![]});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anncic-apihelper",
3
- "version": "3.7.40",
3
+ "version": "3.7.42",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist"
@@ -15,12 +15,12 @@
15
15
  "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
16
16
  },
17
17
  "dependencies": {
18
- "@anncic-api/typeorm": "^3.7.40"
18
+ "@anncic-api/typeorm": "^3.7.42"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "20.10.0",
22
22
  "javascript-obfuscator": "^4.0.2",
23
23
  "typescript": "^4.9.5"
24
24
  },
25
- "gitHead": "e174e7ac705ea6a3ab7439992cd105fa2e8cbb82"
25
+ "gitHead": "9e53620c0627eb2775312778db6e771090d93a7f"
26
26
  }