anncic-apihelper 3.7.20 → 3.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configuration.js +1 -1
- package/dist/helper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/service/ApicreateService.js +1 -1
- package/dist/templateFun/Action.js +1 -1
- package/dist/templateFun/Common.js +1 -1
- package/dist/templateFun/Entities.js +1 -1
- package/dist/templateFun/Event.js +1 -1
- package/dist/templateFun/Handler.js +1 -1
- package/dist/templateFun/Search.js +1 -1
- package/dist/templateFun/Validator.js +1 -1
- package/dist/templateVue/Api.js +1 -1
- package/dist/templateVue/Layout.js +1 -1
- package/dist/templateVue/LayoutVue.js +1 -1
- package/dist/templateVue/Router.js +1 -1
- package/dist/templateVue/Validator.js +1 -1
- package/dist/templateVueV2/Api.js +1 -1
- package/dist/templateVueV2/Layout.js +1 -1
- package/dist/templateVueV2/LayoutVue.js +1 -1
- package/dist/templateVueV2/Router.js +1 -1
- package/dist/templateVueV2/Validator.js +1 -1
- package/dist/templateVueV3/Api.js +1 -1
- package/dist/templateVueV3/Layout.js +1 -1
- package/dist/templateVueV3/LayoutVue.js +1 -1
- package/dist/templateVueV3/Router.js +1 -1
- package/dist/templateVueV3/Validator.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x49b899=a17_0x572a;(function(_0x102b90,_0x5ee4bc){const _0x4c5300=a17_0x572a,_0xda4de4=_0x102b90();while(!![]){try{const _0x4fc51c=-parseInt(_0x4c5300(0x1ec))/0x1+parseInt(_0x4c5300(0x20b))/0x2+-parseInt(_0x4c5300(0x20a))/0x3+-parseInt(_0x4c5300(0x1f7))/0x4+parseInt(_0x4c5300(0x1fb))/0x5+-parseInt(_0x4c5300(0x202))/0x6*(parseInt(_0x4c5300(0x1ef))/0x7)+parseInt(_0x4c5300(0x1ed))/0x8;if(_0x4fc51c===_0x5ee4bc)break;else _0xda4de4['push'](_0xda4de4['shift']());}catch(_0x3b103a){_0xda4de4['push'](_0xda4de4['shift']());}}}(a17_0x19be,0x62158));function a17_0x572a(_0x39634e,_0x2d2d46){const _0x4d6362=a17_0x19be();return a17_0x572a=function(_0x155d6f,_0x3ca7ff){_0x155d6f=_0x155d6f-0x1eb;let _0x19bea3=_0x4d6362[_0x155d6f];return _0x19bea3;},a17_0x572a(_0x39634e,_0x2d2d46);}const a17_0x3ca7ff=(function(){let _0x5126a8=!![];return function(_0x4caa2f,_0x1f77c8){const _0x10367a=_0x5126a8?function(){const _0x4d53ac=a17_0x572a;if(_0x1f77c8){const _0x1e0d32=_0x1f77c8[_0x4d53ac(0x206)](_0x4caa2f,arguments);return _0x1f77c8=null,_0x1e0d32;}}:function(){};return _0x5126a8=![],_0x10367a;};}()),a17_0x155d6f=a17_0x3ca7ff(this,function(){const _0x413502=a17_0x572a;return a17_0x155d6f[_0x413502(0x212)]()[_0x413502(0x201)](_0x413502(0x20e))['toString']()[_0x413502(0x211)](a17_0x155d6f)[_0x413502(0x201)](_0x413502(0x20e));});a17_0x155d6f();function a17_0x19be(){const _0x59aa09=['\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-','/layout.vue','indexOf','3309425qeWXOv','path','\x20\x20\x20\x20])\x0a','replace','dirname','{title:\x20\x22','search','1308846GNWaGL','\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a','/vue','utf-8','apply','existsSync','/list\x22','/pages/apps/','1993812ZJhgLW','242196OvfWPK','cwd','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a','(((.+)+)+)+$','</template>\x0a\x0a','/pages/','constructor','toString','/apps-','mkdirSync','<script\x20lang=\x22ts\x22\x20setup>\x0a','78423xzRWIP','12397016mnyDsV','readFileSync','21gayPWC','__esModule','default',',\x20path:\x20\x22',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','writeFileSync','string','\x20\x20\x20\x20</page-layout>\x0a','2133632PXNTXU'];a17_0x19be=function(){return _0x59aa09;};return a17_0x19be();}'use strict';Object['defineProperty'](exports,a17_0x49b899(0x1f0),{'value':!![]});const fs=require('fs'),path_1=require(a17_0x49b899(0x1fc));async function default_1({tablestartUpShort2:_0x3df72c,controller:_0x927a31,moduleName:_0x3908e0,Comment:_0x432458,apporbasic:_0x528d55}){const _0x387251=a17_0x49b899;let _0x51b20b=process[_0x387251(0x20c)]()+_0x387251(0x204)+(typeof _0x927a31==_0x387251(0x1f5)?'/'+_0x927a31:'');_0x3908e0?_0x51b20b=_0x51b20b+(_0x387251(0x209)+_0x3908e0+_0x387251(0x1f9)):_0x51b20b=_0x51b20b+(_0x387251(0x210)+_0x528d55+'/layout.vue');await createLayout(_0x51b20b,{'moduleName':_0x3908e0});const _0x1d4a7c=fs[_0x387251(0x1ee)](_0x51b20b,_0x387251(0x205)),_0x1e7421=_0x387251(0x200)+(_0x432458+'\x22')['padEnd'](0x14)+_0x387251(0x1f2)+(''+(typeof _0x3908e0==_0x387251(0x1f5)?_0x387251(0x213)+_0x3908e0+'/':'/'+_0x528d55+'/')+_0x3df72c+_0x387251(0x208))['padEnd'](0x14)+'}';_0x1d4a7c[_0x387251(0x1fa)](_0x1e7421)==-0x1&&fs[_0x387251(0x1f4)](_0x51b20b,_0x1d4a7c[_0x387251(0x1fe)]('//\x20add\x20menu\x20here',_0x1e7421+_0x387251(0x1f3)));}exports[a17_0x49b899(0x1f1)]=default_1;async function createLayout(_0x3352cb,{moduleName:_0x25808b}){const _0x82c0c3=a17_0x49b899;if(!fs[_0x82c0c3(0x207)](_0x3352cb)){let _0x1119e3='<template>\x0a';_0x1119e3+=_0x82c0c3(0x1f8)+_0x25808b+'/\x22\x20:menus=\x22menus\x22>\x0a\x0a',_0x1119e3+=_0x82c0c3(0x1f6),_0x1119e3+=_0x82c0c3(0x20f),_0x1119e3+=_0x82c0c3(0x1eb),_0x1119e3+=_0x82c0c3(0x203),_0x1119e3+=_0x82c0c3(0x20d),_0x1119e3+=_0x82c0c3(0x1fd),_0x1119e3+='</script>\x0a\x0a',fs[_0x82c0c3(0x214)]((0x0,path_1[_0x82c0c3(0x1ff)])(_0x3352cb),{'recursive':!![]}),fs[_0x82c0c3(0x1f4)](_0x3352cb,_0x1119e3,_0x82c0c3(0x205));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x2b70f0=a18_0x3e6a;(function(_0x2b9cd0,_0x5aa163){const _0x556734=a18_0x3e6a,_0x39f4bf=_0x2b9cd0();while(!![]){try{const _0x477fe3=-parseInt(_0x556734(0xfb))/0x1*(-parseInt(_0x556734(0x12a))/0x2)+-parseInt(_0x556734(0x142))/0x3*(parseInt(_0x556734(0x11b))/0x4)+-parseInt(_0x556734(0x108))/0x5+parseInt(_0x556734(0x147))/0x6+parseInt(_0x556734(0x13c))/0x7+parseInt(_0x556734(0xa4))/0x8*(parseInt(_0x556734(0xd8))/0x9)+-parseInt(_0x556734(0x144))/0xa*(parseInt(_0x556734(0xcd))/0xb);if(_0x477fe3===_0x5aa163)break;else _0x39f4bf['push'](_0x39f4bf['shift']());}catch(_0xdacb40){_0x39f4bf['push'](_0x39f4bf['shift']());}}}(a18_0x5197,0x30dc0));const a18_0x58a163=(function(){let _0x5e7776=!![];return function(_0x142733,_0x33789b){const _0x3c3cfa=_0x5e7776?function(){const _0x1309a5=a18_0x3e6a;if(_0x33789b){const _0x3e6b55=_0x33789b[_0x1309a5(0x139)](_0x142733,arguments);return _0x33789b=null,_0x3e6b55;}}:function(){};return _0x5e7776=![],_0x3c3cfa;};}()),a18_0x1af6b=a18_0x58a163(this,function(){const _0x583009=a18_0x3e6a;return a18_0x1af6b[_0x583009(0xd7)]()['search'](_0x583009(0xae))[_0x583009(0xd7)]()['constructor'](a18_0x1af6b)['search'](_0x583009(0xae));});a18_0x1af6b();function a18_0x5197(){const _0x4e79aa=['<el-select\x20v-model=\x22formdata.','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','num','\x20label=\x22','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','6402UzkTAZ','<el-input\x20v-model=\x22formdata.','substr','List(Object.assign(table.search\x20||\x20{},\x20sortable)).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20table.data\x20=\x20res.data\x20||\x20[],\x20table.search\x20=\x20{\x20...table.search,\x20...res?.extra?.pageinfo\x20||\x20{},\x20_count:\x20res?.extra?.pagetotal\x20||\x200\x20};\x0a\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a\x20\x20\x20\x20});\x0a}\x0a\x0a/**\x0a\x20*\x20删除数据\x0a\x20*\x20**/\x0aconst\x20handlerRemove\x20=\x20(item:any)\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20$confirm(`确定删除数据吗?`,\x20\x27提示\x27,\x20{\x20confirmButtonText:\x20\x27确定\x27,\x20cancelButtonText:\x20\x27取消\x27,\x20type:\x20\x27warning\x27\x20}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','displayorder','_end\x22\x20placeholder=\x22选择','length','text','logo','<template\x20#reference>','toString','89199wlLNdk','deleted_at','defineProperty','tag','date','\x22\x20placeholder=\x22请选择','utf-8','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','<attachment-image\x20v-model=\x22formdata.','endsWith','mkdirSync','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20</page-main>\x0a','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','<el-select\x20v-model=\x22props.search.','</a>','\x22\x20class=\x22block\x22>','</el-popover>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20clearable>','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','path','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','add','<el-input-number\x20v-model=\x22props.search.','Detail\x20}\x20from\x20\x27@/apis/','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','}\x0a\x0a\x0a','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\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','const\x20getDetail\x20=\x20(','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','1LStUtI','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','</template>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Detail(','List,\x20','\x22\x20:limit=\x225\x22\x20','<a\x20:href=\x22scope.row.','\x22\x20api=\x22','enum',')\x20=>\x20{\x0a','<el-input-number\x20v-model=\x22formdata.','getEnum','1298345BNrBbz','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','/list/components/search.vue','<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@/','updated_at','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','</template>\x0a','Edit\x20}\x20from\x20\x27@/apis/','/remove`)\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22danger\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</elplus-table>\x0a\x20\x20\x20\x20</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0aimport\x20{\x20','\x22\x20style=\x22cursor:pointer\x22/>','\x22\x20placeholder=\x22选择','`)\x22>\x0a','Comment','<elplus-select-search\x20v-model=\x22formdata.','/add`)\x22\x20@click=\x22$router.push(`add`)\x22\x20\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','//\x20获取详情\x0a','\x27;\x0a\x0a','124YeEBqX','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','<template\x20#default=\x22scope\x22>','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','dirname','_id','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','\x20\x20\x20\x20})\x0a','imgs','\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>','\x20as\x20unknown\x20as\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','<el-form-item\x20label=\x22','<template>\x0a\x20\x20\x20\x20','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','318878WEdnYA','item).then(res=>{\x0a','img',').then(res\x20=>\x20{\x0a','/index.vue','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','number','<el-input\x20v-model=\x22props.search.','getProp','module=\x22','/pages/apps/','<el-date-picker\x20v-model=\x22props.search.','Remove,\x20','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','apps/','apply','<tinymce-editor\x20v-model=\x22formdata.','<el-table-column\x20prop=','2225734HXDwil','<el-date-picker\x20v-model=\x22formdata.','\x22\x20prop=\x22','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x20/>','substring','27831FyeQOg','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','3720lQZvyz',':\x20item.','edit/:','1908000hBlrEN','\x22\x20value=\x22','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Field','/vue','import\x20{\x20','\x22\x20placeholder=\x22请输入','</el-select>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','indexOf','\x22\x20:limit=\x221\x22\x20','existsSync','<=\x22>','const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a','datetime',',\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>','timestamp','>=\x22>','136FIroSO','thumb','\x20\x20\x20\x20\x20\x20\x20\x20','created_at','\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>','_ids','cwd','string','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','(((.+)+)+)+$','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','Edit,\x20','\x22\x20clearable/>','const\x20handlerSave\x20=\x20()=>{\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','Add\x20}\x20from\x20\x27@/apis/','\x20\x20\x20\x20','</el-form-item>','Type','edit',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','<el-option\x20label=\x22','/pages/','writeFileSync','<template>\x0a','\x22\x20split=\x22-\x22\x20clearable/>','Add','_start\x22\x20placeholder=\x22选择','\x20\x20\x20\x20}\x0a','\x20\x20\x20\x20<page-main>\x0a','getDetail(route?.query?.','padEnd','tags','\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'];a18_0x5197=function(){return _0x4e79aa;};return a18_0x5197();}'use strict';Object[a18_0x2b70f0(0xda)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a18_0x2b70f0(0xed)),helper_1=require('../helper');async function default_1({moduleName:_0x4a21fa,controller:_0x4425b5,tablestartUpShort:_0x1dd194,tablestartUpShort2:_0x4843ca,Primary:_0xcbf6e8,Fields:_0x2b46ab,apporbasic:_0x2c4cb2,Comment:_0x1f8b9c}){const _0x13bed6=a18_0x2b70f0;await createIndex({'moduleName':_0x4a21fa,'controller':_0x4425b5,'tablestartUpShort':_0x1dd194,'tablestartUpShort2':_0x4843ca,'Primary':_0xcbf6e8,'Fields':_0x2b46ab,'apporbasic':_0x2c4cb2}),await createSearch({'moduleName':_0x4a21fa,'controller':_0x4425b5,'tablestartUpShort2':_0x4843ca,'Primary':_0xcbf6e8,'Fields':_0x2b46ab,'apporbasic':_0x2c4cb2}),await createAddOrEdit({'moduleName':_0x4a21fa,'controller':_0x4425b5,'tablestartUpShort':_0x1dd194,'tablestartUpShort2':_0x4843ca,'Primary':_0xcbf6e8,'Fields':_0x2b46ab,'apporbasic':_0x2c4cb2,'Comment':_0x1f8b9c},_0x13bed6(0xef)),await createAddOrEdit({'moduleName':_0x4a21fa,'controller':_0x4425b5,'tablestartUpShort':_0x1dd194,'tablestartUpShort2':_0x4843ca,'Primary':_0xcbf6e8,'Fields':_0x2b46ab,'apporbasic':_0x2c4cb2,'Comment':_0x1f8b9c},_0x13bed6(0xb8));}exports['default']=default_1;async function createIndex({moduleName:_0x2dd8cd,controller:_0x2dd216,tablestartUpShort:_0x59ca1f,tablestartUpShort2:_0x10894e,Primary:_0xf2a055,Fields:_0x3c57e5,apporbasic:_0x2bda13}){const _0x322a8b=a18_0x2b70f0;let _0x31f0d2=process[_0x322a8b(0xaa)]()+_0x322a8b(0x96)+(typeof _0x2dd216==_0x322a8b(0xab)?'/'+_0x2dd216:'');_0x2dd8cd?_0x31f0d2=_0x31f0d2+(_0x322a8b(0x134)+_0x2dd8cd+'/'+_0x10894e+'/list/index.vue'):_0x31f0d2=_0x31f0d2+(_0x322a8b(0xbb)+_0x2bda13+'/'+_0x10894e+'/list/index.vue');if(!fs[_0x322a8b(0x9d)](_0x31f0d2)){let _0x532204=_0x322a8b(0x13b)+('\x22'+_0xf2a055[_0x322a8b(0x14b)]+'\x22')[_0x322a8b(0xc4)](0x14)+(_0x322a8b(0xcb)+(_0xf2a055[_0x322a8b(0x116)]||'编号')+_0x322a8b(0xa8));for(let _0x396156 in _0x3c57e5){const _0x809e6f=_0x3c57e5[_0x396156];if([_0x322a8b(0xa7),'updated_at',_0x322a8b(0xd9),'displayorder'][_0x322a8b(0x9b)](_0x396156)!=-0x1)continue;if(_0x396156[_0x322a8b(0x141)](_0x396156[_0x322a8b(0xd3)]-0x3)==_0x322a8b(0x12c)||_0x396156[_0x322a8b(0x141)](_0x396156[_0x322a8b(0xd3)]-0x5)==_0x322a8b(0xa5)||_0x396156=='thumb'||_0x396156[_0x322a8b(0x141)](_0x396156[_0x322a8b(0xd3)]-0x4)=='logo'||_0x396156==_0x322a8b(0xd5))_0x532204+='\x0a'+_0x322a8b(0x9a)+_0x322a8b(0x13b)+('\x22'+_0x396156+'\x22')[_0x322a8b(0xc4)](0x14)+(_0x322a8b(0xcb)+(_0x809e6f['Comment']||_0x809e6f[_0x322a8b(0x14b)])+_0x322a8b(0xf3)),_0x532204+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x322a8b(0x11d),_0x532204+='\x0a'+_0x322a8b(0xea)+_0x322a8b(0xdf),_0x532204+='\x0a'+_0x322a8b(0x14a)+(_0x322a8b(0x102)+_0x396156+_0x322a8b(0xc9)),_0x532204+='\x0a'+_0x322a8b(0x10a)+('<img\x20:src=\x22scope.row.'+_0x396156+_0x322a8b(0xf2)),_0x532204+='\x0a'+_0x322a8b(0x14a)+_0x322a8b(0xe7),_0x532204+='\x0a'+_0x322a8b(0x14a)+_0x322a8b(0xd6),_0x532204+='\x0a'+_0x322a8b(0x10a)+('<el-avatar\x20:src=\x22scope.row.'+_0x396156+_0x322a8b(0x113)),_0x532204+='\x0a'+_0x322a8b(0x14a)+_0x322a8b(0xfd),_0x532204+='\x0a'+_0x322a8b(0xea)+_0x322a8b(0xe9),_0x532204+='\x0a'+_0x322a8b(0xfc)+_0x322a8b(0xfd),_0x532204+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-table-column>';else[_0x322a8b(0xd4)][_0x322a8b(0x9b)]((0x0,helper_1[_0x322a8b(0x132)])(_0x809e6f['Type']))==-0x1&&(_0x532204+='\x0a'+_0x322a8b(0x9a)+_0x322a8b(0x13b)+('\x22'+_0x396156+'\x22')[_0x322a8b(0xc4)](0x14)+('\x20label=\x22'+(_0x809e6f[_0x322a8b(0x116)]||_0x809e6f[_0x322a8b(0x14b)])+_0x322a8b(0xb3)));}const _0x1a0eaa=''+(typeof _0x2dd216==_0x322a8b(0xab)?_0x2dd216+'/':'')+(_0x2dd8cd?_0x2dd8cd+'/':'')+_0x10894e;fs['mkdirSync']((0x0,path_1['dirname'])(_0x31f0d2),{'recursive':!![]}),fs[_0x322a8b(0xbc)](_0x31f0d2,_0x322a8b(0x10d)+_0x1a0eaa+_0x322a8b(0x118)+_0x532204+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/'+_0x1a0eaa+'/edit/:'+_0xf2a055[_0x322a8b(0x14b)]+'`)\x22\x20@click=\x22$router.push(`edit?'+_0xf2a055[_0x322a8b(0x14b)]+'=${scope.row.'+_0xf2a055['Field']+'}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\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@/'+_0x1a0eaa+_0x322a8b(0x112)+_0x59ca1f+_0x322a8b(0x100)+_0x59ca1f+_0x322a8b(0x136)+_0x59ca1f+_0x322a8b(0x111)+(_0x2dd8cd?'apps/'+_0x2dd8cd:''+_0x2bda13)+'/'+_0x59ca1f+'\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\x20table\x20=\x20reactive({\x0a\x20\x20\x20\x20data:\x20[],\x0a\x20\x20\x20\x20select:\x20[],\x0a\x20\x20\x20\x20search:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20_page:\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_size:\x2020,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_count:\x20200,\x0a\x20\x20\x20\x20}\x0a})\x0a\x0a\x0a/**\x0a\x20*\x20获取数据列表\x0a\x20*\x20@param\x20page\x20分页-当前页\x0a\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20*\x20**/\x0aconst\x20LoadDatas\x20=\x20(page?:\x20number,\x20size?:\x20number,\x20sortable\x20=\x20{})\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20page\x20&&\x20(table.search._page\x20=\x20page),\x20size\x20&&\x20(table.search._size\x20=\x20size);\x0a\x20\x20\x20\x20'+_0x59ca1f+_0x322a8b(0xd0)+_0x59ca1f+'Remove({\x20'+_0xf2a055[_0x322a8b(0x14b)]+_0x322a8b(0x145)+_0xf2a055['Field']+'\x20}).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27删除成功\x27),\x20LoadDatas();\x0a\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27删除失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20}).catch(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false;\x0a\x20\x20\x20\x20})\x0a}\x0a\x0a/**\x0a\x20*\x20修改字段状态\x0a\x20*\x20**/\x0a\x20const\x20handlerFieldChange\x20=\x20(item:\x20any,\x20field:string)=>{\x0a\x20\x20\x20\x20if\x20(item.'+_0xf2a055['Field']+_0x322a8b(0xb9)+_0x59ca1f+'Edit(item.'+_0xf2a055[_0x322a8b(0x14b)]+_0x322a8b(0xa1),_0x322a8b(0xde));}}async function createSearch({moduleName:_0x442861,tablestartUpShort2:_0x45d1d1,controller:_0x4ee5fd,Primary:_0x5e62f4,Fields:_0xf2ee0c,apporbasic:_0x33890e}){const _0x378551=a18_0x2b70f0;let _0x5f432d=process[_0x378551(0xaa)]()+_0x378551(0x96)+(typeof _0x4ee5fd==_0x378551(0xab)?'/'+_0x4ee5fd:'');_0x442861?_0x5f432d=_0x5f432d+('/pages/apps/'+_0x442861+'/'+_0x45d1d1+'/list/components/search.vue'):_0x5f432d=_0x5f432d+(_0x378551(0xbb)+_0x33890e+'/'+_0x45d1d1+_0x378551(0x10c));if(!fs[_0x378551(0x9d)](_0x5f432d)){let _0x4dd8b6='';_0x4dd8b6+='\x0a'+_0x378551(0xb5)+(_0x378551(0x127)+(_0x5e62f4['Comment']||'编号')+'\x22>'),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0x131)+_0x5e62f4[_0x378551(0x14b)]+'\x22\x20placeholder=\x22请输入'+(_0x5e62f4[_0x378551(0x116)]||'编号')+_0x378551(0xb1)),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+_0x378551(0xb6);for(let _0x182898 in _0xf2ee0c){const _0x5b4680=_0xf2ee0c[_0x182898];if([_0x378551(0x10e),_0x378551(0xd9),_0x378551(0xd1)]['indexOf'](_0x182898)!=-0x1)continue;if(_0x182898[_0x378551(0x141)](_0x182898['length']-0x3)==_0x378551(0x12c)||_0x182898[_0x378551(0x141)](_0x182898[_0x378551(0xd3)]-0x5)=='thumb'||_0x182898==_0x378551(0xa5)||_0x182898[_0x378551(0x141)](_0x182898[_0x378551(0xd3)]-0x4)==_0x378551(0xd5)||_0x182898==_0x378551(0xd5))continue;if(_0x182898[_0x378551(0x141)](_0x182898['length']-0x3)==_0x378551(0xca))_0x4dd8b6+='\x0a'+_0x378551(0xb5)+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680[_0x378551(0x14b)])+'\x22>'),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0xf0)+_0x182898+'\x22\x20placeholder=\x22请输入'+_0x5b4680['Comment']+_0x378551(0x126)),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+_0x378551(0xb6)+'\x0a';else{if(_0x182898[_0x378551(0xe1)](_0x378551(0x120))){let _0x5d100b=''+(typeof _0x4ee5fd=='string'?_0x4ee5fd+'/':'')+(_0x442861?_0x442861+'/':'')+_0x45d1d1;_0x4dd8b6+='\x0a'+_0x378551(0xa6)+('<el-form-item\x20label=\x22'+(_0x5b4680[_0x378551(0x116)]||_0x5b4680['Field'])+'\x22>'),_0x4dd8b6+='\x0a'+_0x378551(0xfe)+('<elplus-select-search\x20v-model=\x22props.search.'+_0x182898+_0x378551(0x103)+_0x5d100b+_0x378551(0x137)),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+_0x378551(0xb6)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x5b4680['Type'])){case _0x378551(0x104):_0x4dd8b6+='\x0a'+_0x378551(0xb5)+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680['Field'])+'\x22>'),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0xe6)+_0x182898+_0x378551(0xdd)+_0x5b4680[_0x378551(0x116)]+_0x378551(0xeb));for(let _0x434163 of(0x0,helper_1[_0x378551(0x107)])(_0x5b4680['Type'])){_0x4dd8b6+='\x0a'+_0x378551(0xfe)+('<el-option\x20label=\x22'+_0x434163+'\x22\x20value=\x22'+_0x434163+_0x378551(0xf6));}_0x4dd8b6+='\x0a'+_0x378551(0xa6)+'</el-select>',_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+_0x378551(0xb6)+'\x0a';break;case _0x378551(0xdc):_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680[_0x378551(0x14b)])+_0x378551(0xa3)),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0x135)+_0x182898+_0x378551(0xc0)+_0x5b4680['Comment']+'开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+_0x378551(0xb6)+'\x0a',_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680[_0x378551(0x14b)])+_0x378551(0x9e)),_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22props.search.'+_0x182898+_0x378551(0xd2)+_0x5b4680[_0x378551(0x116)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+'</el-form-item>'+'\x0a';break;case _0x378551(0xa0):_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680[_0x378551(0x14b)])+_0x378551(0xa3)),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0x135)+_0x182898+'_start\x22\x20placeholder=\x22选择'+_0x5b4680[_0x378551(0x116)]+_0x378551(0xec)),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+'</el-form-item>'+'\x0a',_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680[_0x378551(0x14b)])+_0x378551(0x9e)),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0x135)+_0x182898+_0x378551(0xd2)+_0x5b4680[_0x378551(0x116)]+_0x378551(0x129)),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+_0x378551(0xb6)+'\x0a';break;case _0x378551(0xa2):_0x4dd8b6+='\x0a'+_0x378551(0xb5)+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680[_0x378551(0x14b)])+_0x378551(0xa3)),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+('<el-date-picker\x20v-model=\x22props.search.'+_0x182898+_0x378551(0xc0)+_0x5b4680['Comment']+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+_0x378551(0xb6)+'\x0a',_0x4dd8b6+='\x0a'+_0x378551(0xb5)+('<el-form-item\x20label=\x22'+(_0x5b4680[_0x378551(0x116)]||_0x5b4680['Field'])+_0x378551(0x9e)),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0x135)+_0x182898+_0x378551(0xd2)+_0x5b4680['Comment']+_0x378551(0x129)),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+_0x378551(0xb6)+'\x0a';break;case _0x378551(0xab):_0x4dd8b6+='\x0a'+'\x20\x20\x20\x20'+(_0x378551(0x127)+(_0x5b4680[_0x378551(0x116)]||_0x5b4680['Field'])+'\x22>'),_0x4dd8b6+='\x0a'+_0x378551(0xa6)+(_0x378551(0x131)+_0x182898+_0x378551(0x98)+_0x5b4680['Comment']+_0x378551(0xb1)),_0x4dd8b6+='\x0a'+_0x378551(0xb5)+_0x378551(0xb6)+'\x0a';}}}fs[_0x378551(0xe2)]((0x0,path_1[_0x378551(0x11f)])(_0x5f432d),{'recursive':!![]}),fs[_0x378551(0xbc)](_0x5f432d,_0x378551(0x128)+_0x4dd8b6+_0x378551(0x124),'utf-8');}}function a18_0x3e6a(_0x1de11b,_0x19cb2f){const _0x4f2300=a18_0x5197();return a18_0x3e6a=function(_0x1af6b,_0x58a163){_0x1af6b=_0x1af6b-0x96;let _0x51978c=_0x4f2300[_0x1af6b];return _0x51978c;},a18_0x3e6a(_0x1de11b,_0x19cb2f);}async function createAddOrEdit({moduleName:_0x2fc524,controller:_0x555d73,tablestartUpShort:_0x250d20,tablestartUpShort2:_0x1ba0fb,Primary:_0x1eddd9,Fields:_0x431442,apporbasic:_0x325ac1,Comment:_0xf454dd},_0x517e6a=a18_0x2b70f0(0xef)){const _0x56b111=a18_0x2b70f0;let _0x2f3c46=process[_0x56b111(0xaa)]()+'/vue'+(typeof _0x555d73==_0x56b111(0xab)?'/'+_0x555d73:'');_0x2fc524?_0x2f3c46=_0x2f3c46+(_0x56b111(0x134)+_0x2fc524+'/'+_0x1ba0fb+'/'+_0x517e6a+_0x56b111(0x12e)):_0x2f3c46=_0x2f3c46+('/pages/'+_0x325ac1+'/'+_0x1ba0fb+'/'+_0x517e6a+_0x56b111(0x12e));if(!fs[_0x56b111(0x9d)](_0x2f3c46)){const _0x373080=[_0x56b111(0xd4),'mediumtext',_0x56b111(0xab)][_0x56b111(0x9b)]((0x0,helper_1[_0x56b111(0x132)])(_0x1eddd9[_0x56b111(0xb7)]))==-0x1,_0xdf730f=''+(typeof _0x555d73==_0x56b111(0xab)?_0x555d73+'/':'')+(_0x2fc524?_0x2fc524+'/':'')+_0x1ba0fb;let _0x5a84a7='';for(let _0x454eb4 in _0x431442){const _0x10cabb=_0x431442[_0x454eb4];if([_0x56b111(0xa7),'updated_at','deleted_at',_0x56b111(0xd1)][_0x56b111(0x9b)](_0x454eb4)!=-0x1)continue;if(_0x454eb4['substring'](_0x454eb4[_0x56b111(0xd3)]-0x4)==_0x56b111(0x123)||_0x454eb4[_0x56b111(0x141)](_0x454eb4[_0x56b111(0xd3)]-0x6)=='thumbs')_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22\x20class=\x22block\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0xe0)+_0x454eb4+_0x56b111(0x101)+(_0x2fc524?_0x56b111(0x133)+_0x2fc524+'\x22':'')+_0x56b111(0x140)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';else{if(_0x454eb4[_0x56b111(0x141)](_0x454eb4[_0x56b111(0xd3)]-0x3)=='img'||_0x454eb4[_0x56b111(0x141)](_0x454eb4['length']-0x5)==_0x56b111(0xa5)||_0x454eb4==_0x56b111(0xa5)||_0x454eb4[_0x56b111(0x141)](_0x454eb4[_0x56b111(0xd3)]-0x4)==_0x56b111(0xd5)||_0x454eb4=='logo')_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+_0x56b111(0xe8)),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0xe0)+_0x454eb4+_0x56b111(0x9c)+(_0x2fc524?'module=\x22'+_0x2fc524+'\x22':'')+'/>'),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x454eb4[_0x56b111(0x141)](_0x454eb4[_0x56b111(0xd3)]-0x4)==_0x56b111(0xc5)||_0x454eb4[_0x56b111(0x141)](_0x454eb4[_0x56b111(0xd3)]-0x3)==_0x56b111(0xdb))_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb['Comment']||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+('<elplus-select-tags\x20v-model=\x22formdata.'+_0x454eb4+'\x22\x20placeholder=\x22请输入或选择'+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0xbe)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';else{if(_0x454eb4[_0x56b111(0xcf)](-0x3)==_0x56b111(0xca))_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0x106)+_0x454eb4+_0x56b111(0x98)+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0x109)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';else{if(_0x454eb4[_0x56b111(0xcf)](-0x4)==_0x56b111(0xa9))_0x5a84a7+='\x0a'+_0x56b111(0xfe)+('<el-form-item\x20label=\x22'+(_0x10cabb['Comment']||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0xce)+_0x454eb4+_0x56b111(0x98)+_0x10cabb['Comment']+_0x56b111(0xb1)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+'</el-form-item>'+'\x0a';else{if(_0x454eb4[_0x56b111(0xcf)](-0x3)==_0x56b111(0x120)){let _0x3c1438=''+(typeof _0x555d73=='string'?_0x555d73+'/':'')+(_0x2fc524?_0x2fc524+'/':'')+_0x1ba0fb;_0x5a84a7+='\x0a'+_0x56b111(0xfe)+('<el-form-item\x20label=\x22'+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0x117)+_0x454eb4+_0x56b111(0x103)+_0x3c1438+_0x56b111(0x137)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';}else switch((0x0,helper_1[_0x56b111(0x132)])(_0x10cabb[_0x56b111(0xb7)])){case'number':_0x5a84a7+='\x0a'+_0x56b111(0xfe)+('<el-form-item\x20label=\x22'+(_0x10cabb['Comment']||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+('<el-input-number\x20v-model=\x22formdata.'+_0x454eb4+_0x56b111(0x98)+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0x109)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';break;case _0x56b111(0x104):_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb['Comment']||_0x10cabb[_0x56b111(0x14b)])+'\x22\x20prop=\x22'+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0xc7)+_0x454eb4+_0x56b111(0xdd)+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0xeb));for(let _0x1f2b54 of(0x0,helper_1['getEnum'])(_0x10cabb[_0x56b111(0xb7)])){_0x5a84a7+='\x0a'+_0x56b111(0xfc)+(_0x56b111(0xba)+_0x1f2b54+_0x56b111(0x148)+_0x1f2b54+_0x56b111(0xf6));}_0x5a84a7+='\x0a'+_0x56b111(0x9a)+_0x56b111(0x99),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x56b111(0xb6)+'\x0a';break;case _0x56b111(0xd4):_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb['Field'])+_0x56b111(0x13e)+_0x454eb4+_0x56b111(0xe8)),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0xce)+_0x454eb4+'\x22\x20\x20placeholder=\x22请输入'+_0x10cabb[_0x56b111(0x116)]+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';break;case'longtext':_0x5a84a7+='\x0a'+_0x56b111(0xfe)+('<el-form-item\x20label=\x22'+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+_0x56b111(0xe8)),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0x13a)+_0x454eb4+'\x22\x20'+(_0x2fc524?_0x56b111(0x133)+_0x2fc524+'\x22':'')+'/>'),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';break;case'mediumtext':_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0x127)+(_0x10cabb['Comment']||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+_0x56b111(0xe8)),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x454eb4+'\x22\x20'+(_0x2fc524?_0x56b111(0x133)+_0x2fc524+'\x22':'')+'/>'),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';break;case _0x56b111(0xdc):_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb['Field'])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0x13d)+_0x454eb4+_0x56b111(0x114)+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0xe3)),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x56b111(0xb6)+'\x0a';break;case _0x56b111(0xa0):_0x5a84a7+='\x0a'+_0x56b111(0xfe)+(_0x56b111(0x127)+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0x13d)+_0x454eb4+_0x56b111(0x114)+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0xaf)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';break;case _0x56b111(0xa2):_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0x127)+(_0x10cabb['Comment']||_0x10cabb['Field'])+_0x56b111(0x13e)+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+(_0x56b111(0x13d)+_0x454eb4+_0x56b111(0x114)+_0x10cabb[_0x56b111(0x116)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';break;default:_0x5a84a7+='\x0a'+_0x56b111(0xfe)+('<el-form-item\x20label=\x22'+(_0x10cabb[_0x56b111(0x116)]||_0x10cabb[_0x56b111(0x14b)])+'\x22\x20prop=\x22'+_0x454eb4+'\x22>'),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x56b111(0xce)+_0x454eb4+'\x22\x20placeholder=\x22请输入'+_0x10cabb[_0x56b111(0x116)]+_0x56b111(0xb1)),_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0xb6)+'\x0a';}}}}}}}_0x5a84a7+='\x0a'+_0x56b111(0xfe)+_0x56b111(0x149),_0x5a84a7+='\x0a'+_0x56b111(0x9a)+_0x56b111(0xf5),_0x5a84a7+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x56b111(0xb6)+'\x0a';let _0x4a574d=_0x56b111(0xbd);_0x4a574d+=_0x56b111(0xc2),_0x4a574d+=_0x56b111(0x121)+(_0x517e6a==_0x56b111(0xef)?'添加'+_0xf454dd:'编辑'+_0xf454dd)+_0x56b111(0x143)+_0x250d20+(_0x517e6a=='add'?_0x56b111(0xbf):'Edit')+_0x56b111(0x10f)+_0xdf730f+'/'+(_0x517e6a==_0x56b111(0xef)?_0x56b111(0xef):_0x56b111(0x146)+_0x1eddd9['Field'])+_0x56b111(0x115),_0x4a574d+=_0x56b111(0xfe)+_0x5a84a7+'\x0a\x0a',_0x4a574d+=_0x56b111(0x10b),_0x4a574d+=_0x56b111(0x11c)+_0xdf730f+'/'+(_0x517e6a==_0x56b111(0xef)?'add':_0x56b111(0x146)+_0x1eddd9[_0x56b111(0x14b)])+_0x56b111(0xac),_0x4a574d+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x4a574d+=_0x56b111(0x12f),_0x4a574d+=_0x56b111(0xe4),_0x4a574d+=_0x56b111(0x110),_0x4a574d+='<script\x20lang=\x22ts\x22\x20setup>\x0a';if(_0x517e6a==_0x56b111(0xef))_0x4a574d+=_0x56b111(0x97)+_0x250d20+_0x56b111(0x11e),_0x4a574d+=_0x56b111(0x97)+_0x250d20+_0x56b111(0xb4)+(_0x2fc524?_0x56b111(0x138)+_0x2fc524:''+_0x325ac1)+'/'+_0x250d20+_0x56b111(0x11a);else _0x517e6a==_0x56b111(0xb8)&&(_0x4a574d+=_0x56b111(0x97)+_0x250d20+_0x56b111(0xe5),_0x4a574d+=_0x56b111(0x97)+_0x250d20+_0x56b111(0xb0)+_0x250d20+_0x56b111(0xf1)+(_0x2fc524?'apps/'+_0x2fc524:''+_0x325ac1)+'/'+_0x250d20+'\x27;\x0a\x0a');_0x4a574d+=_0x56b111(0x9f);if(_0x517e6a==_0x56b111(0xef))_0x4a574d+=_0x56b111(0xfa);else _0x517e6a=='edit'&&(_0x4a574d+='const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a');_0x4a574d+='//\x20保存数据\x0a',_0x4a574d+=_0x56b111(0xb2),_0x4a574d+=_0x56b111(0xc8),_0x4a574d+=_0x56b111(0xcc)+_0x250d20+(_0x517e6a==_0x56b111(0xef)?'Add':'Edit')+'('+(_0x517e6a==_0x56b111(0xb8)?'item.'+_0x1eddd9[_0x56b111(0x14b)]+',\x20':'')+_0x56b111(0x12b),_0x4a574d+=_0x56b111(0xc6),_0x4a574d+=_0x56b111(0xee),_0x4a574d+=_0x56b111(0xf8),_0x4a574d+=_0x56b111(0x13f),_0x4a574d+=_0x56b111(0x122),_0x4a574d+='}\x0a\x0a',_0x517e6a=='edit'&&(_0x4a574d+=_0x56b111(0x119),_0x4a574d+=_0x56b111(0xf9)+_0x1eddd9[_0x56b111(0x14b)]+':\x20'+(_0x373080?_0x56b111(0x130):_0x56b111(0xab))+_0x56b111(0x105),_0x4a574d+='\x20\x20\x20\x20if\x20('+_0x1eddd9['Field']+')\x20{\x0a',_0x4a574d+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a',_0x4a574d+=_0x56b111(0xa6)+_0x250d20+_0x56b111(0xff)+_0x1eddd9[_0x56b111(0x14b)]+_0x56b111(0x12d),_0x4a574d+=_0x56b111(0xf7),_0x4a574d+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a',_0x4a574d+='\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',_0x4a574d+=_0x56b111(0x13f),_0x4a574d+='\x20\x20\x20\x20}\x20else\x20{\x0a',_0x4a574d+=_0x56b111(0xad),_0x4a574d+=_0x56b111(0xc1),_0x4a574d+=_0x56b111(0xf4),_0x4a574d+=_0x56b111(0xc3)+_0x1eddd9[_0x56b111(0x14b)]+_0x56b111(0x125)+(_0x373080?_0x56b111(0x130):_0x56b111(0xab))+')\x0a'),_0x4a574d+='</script>\x0a',fs['mkdirSync']((0x0,path_1[_0x56b111(0x11f)])(_0x2f3c46),{'recursive':!![]}),fs[_0x56b111(0xbc)](_0x2f3c46,_0x4a574d,_0x56b111(0xde));}}
|
|
1
|
+
const a18_0x38cbfd=a18_0x5b1f;(function(_0x3458c9,_0x28a656){const _0x3b8327=a18_0x5b1f,_0x4926d2=_0x3458c9();while(!![]){try{const _0x23d4c0=-parseInt(_0x3b8327(0x14e))/0x1*(parseInt(_0x3b8327(0x186))/0x2)+-parseInt(_0x3b8327(0x163))/0x3+-parseInt(_0x3b8327(0x14f))/0x4+-parseInt(_0x3b8327(0x143))/0x5*(-parseInt(_0x3b8327(0x176))/0x6)+parseInt(_0x3b8327(0x19f))/0x7+-parseInt(_0x3b8327(0x15d))/0x8+parseInt(_0x3b8327(0x11b))/0x9;if(_0x23d4c0===_0x28a656)break;else _0x4926d2['push'](_0x4926d2['shift']());}catch(_0x339228){_0x4926d2['push'](_0x4926d2['shift']());}}}(a18_0x436c,0x65139));const a18_0x3b5843=(function(){let _0x1475a8=!![];return function(_0x3e09ae,_0x19adcd){const _0x35841a=_0x1475a8?function(){if(_0x19adcd){const _0x286357=_0x19adcd['apply'](_0x3e09ae,arguments);return _0x19adcd=null,_0x286357;}}:function(){};return _0x1475a8=![],_0x35841a;};}()),a18_0x52dd0d=a18_0x3b5843(this,function(){const _0xa2c384=a18_0x5b1f;return a18_0x52dd0d['toString']()[_0xa2c384(0x177)](_0xa2c384(0x128))['toString']()[_0xa2c384(0x16a)](a18_0x52dd0d)[_0xa2c384(0x177)](_0xa2c384(0x128));});a18_0x52dd0d();'use strict';Object[a18_0x38cbfd(0x155)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a18_0x38cbfd(0x13e)),helper_1=require(a18_0x38cbfd(0x131));async function default_1({moduleName:_0x553a63,controller:_0x46caee,tablestartUpShort:_0x1e2176,tablestartUpShort2:_0x1e10d5,Primary:_0x407296,Fields:_0x2d5eb1,apporbasic:_0x3f7653,Comment:_0x46bed1}){const _0x413743=a18_0x38cbfd;await createIndex({'moduleName':_0x553a63,'controller':_0x46caee,'tablestartUpShort':_0x1e2176,'tablestartUpShort2':_0x1e10d5,'Primary':_0x407296,'Fields':_0x2d5eb1,'apporbasic':_0x3f7653}),await createSearch({'moduleName':_0x553a63,'controller':_0x46caee,'tablestartUpShort2':_0x1e10d5,'Primary':_0x407296,'Fields':_0x2d5eb1,'apporbasic':_0x3f7653}),await createAddOrEdit({'moduleName':_0x553a63,'controller':_0x46caee,'tablestartUpShort':_0x1e2176,'tablestartUpShort2':_0x1e10d5,'Primary':_0x407296,'Fields':_0x2d5eb1,'apporbasic':_0x3f7653,'Comment':_0x46bed1},_0x413743(0x135)),await createAddOrEdit({'moduleName':_0x553a63,'controller':_0x46caee,'tablestartUpShort':_0x1e2176,'tablestartUpShort2':_0x1e10d5,'Primary':_0x407296,'Fields':_0x2d5eb1,'apporbasic':_0x3f7653,'Comment':_0x46bed1},_0x413743(0x17a));}function a18_0x436c(){const _0xe5a732=['//\x20获取详情\x0a','\x27;\x0a\x0a','dirname','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','</el-select>','thumb','<template>\x0a\x20\x20\x20\x20','path','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','<=\x22>','\x22\x20api=\x22','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22排序\x22\x20align=\x27center\x27\x20prop=\x22displayorder\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-table-column\x20label=\x22操作\x22\x20align=\x22center\x22\x20fixed=\x22right\x22\x20width=\x22100\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#default=\x22scope\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/','5nyvwSB','displayorder','=${scope.row.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','created_at','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','\x22\x20style=\x22cursor:pointer\x22/>','import\x20{\x20','updated_at','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','1IpZVMs','1163368iQlBdW','default','\x22\x20class=\x22block\x22>','}\x0a\x0a\x0a','Add','</el-popover>','defineProperty','\x20/>','<template\x20#default=\x22scope\x22>','<el-date-picker\x20v-model=\x22props.search.','\x20\x20\x20\x20','<el-option\x20label=\x22','\x22\x20prop=\x22','<el-table-column\x20prop=','2459144NUBTRr','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','<template>\x0a','getProp','apps/','</template>\x0a','2362476CaSbil','\x22\x20clearable/>','tags','datetime','<script\x20lang=\x22ts\x22\x20setup>\x0a','<elplus-select-tags\x20v-model=\x22formdata.','\x20label=\x22','constructor','<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>','\x22\x20:limit=\x221\x22\x20','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','<el-avatar\x20:src=\x22scope.row.','substr','getEnum','/list/components/search.vue','<el-form-item\x20label=\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','_end\x22\x20placeholder=\x22选择','823578GAeEMt','search','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','\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.','edit','\x20\x20\x20\x20}\x0a','const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a','Type','}`)\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@/','\x22\x20placeholder=\x22请输入','getDetail(route?.query?.','img','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','date','</el-table-column>','<attachment-image\x20v-model=\x22formdata.','722138CsbJCG','Detail\x20}\x20from\x20\x27@/apis/','<el-date-picker\x20v-model=\x22formdata.','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','const\x20handlerSave\x20=\x20()=>{\x0a','_ids','<template>\x0a\x20\x20\x20\x20<page-main>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<elplus-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20:loading=\x22loading\x22\x20@transform=\x22LoadDatas\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#search>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<search\x20v-model:search=\x22table.search\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#header>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/','List,\x20','mkdirSync','Edit\x20}\x20from\x20\x27@/apis/','<tinymce-editor\x20v-model=\x22formdata.','`)\x22>\x0a','\x20\x20\x20\x20</page-main>\x0a','edit/:','\x22\x20placeholder=\x22请选择','/pages/',').then(res\x20=>\x20{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20/>','</el-form-item>','/pages/apps/','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','item.','deleted_at','utf-8','724731jzAWRR','padEnd','_start\x22\x20placeholder=\x22选择','num','/index.vue','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\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>','<el-input\x20v-model=\x22props.search.','\x22\x20value=\x22','\x22\x20placeholder=\x22选择','List(Object.assign(table.search\x20||\x20{},\x20sortable)).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20table.data\x20=\x20res.data\x20||\x20[],\x20table.search\x20=\x20{\x20...table.search,\x20...res?.extra?.pageinfo\x20||\x20{},\x20_count:\x20res?.extra?.pagetotal\x20||\x200\x20};\x0a\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a\x20\x20\x20\x20});\x0a}\x0a\x0a/**\x0a\x20*\x20删除数据\x0a\x20*\x20**/\x0aconst\x20handlerRemove\x20=\x20(item:any)\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20$confirm(`确定删除数据吗?`,\x20\x27提示\x27,\x20{\x20confirmButtonText:\x20\x27确定\x27,\x20cancelButtonText:\x20\x27取消\x27,\x20type:\x20\x27warning\x27\x20}).then(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','<el-input-number\x20v-model=\x22props.search.','timestamp','//\x20保存数据\x0a',',\x20{\x20[field]:\x20item[field]\x20}).then(res\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if(\x20typeof(res?.data)\x20!=\x20\x27undefined\x27\x20){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20item\x20=\x20res.data;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.success(res?.message\x20||\x20\x27操作成功\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27操作失败\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a/**\x0a\x20*\x20加载数据\x0a\x20*\x20**/\x0aLoadDatas()\x0a\x0a</script>','logo','\x20\x20\x20\x20\x20\x20\x20\x20',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','text','Field','tag','module=\x22','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','<el-select\x20v-model=\x22formdata.','\x20\x20\x20\x20<page-main>\x0a','`)\x22\x20@click=\x22$router.push(`edit?','>=\x22>','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','number','existsSync','Edit(item.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','<el-input-number\x20v-model=\x22formdata.',':\x20item.','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20\x20placeholder=\x22请输入','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','indexOf','_id','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','length','longtext','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','</a>','item).then(res=>{\x0a','<elplus-select-search\x20v-model=\x22props.search.','Add\x20}\x20from\x20\x27@/apis/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','Edit','cwd','<template\x20#reference>','17280081gCXnBb','}\x0a\x0a','/add`)\x22\x20@click=\x22$router.push(`add`)\x22\x20\x20type=\x22primary\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','string','/vue','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','\x20\x20\x20\x20})\x0a',')\x20=>\x20{\x0a','\x20\x20\x20\x20if\x20(','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','imgs','\x22\x20clearable>','(((.+)+)+)+$','thumbs','\x22\x20:limit=\x225\x22\x20','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','writeFileSync','mediumtext','Edit,\x20','substring','../helper','<el-input\x20v-model=\x22formdata.','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','/edit/:','add','Comment'];a18_0x436c=function(){return _0xe5a732;};return a18_0x436c();}exports[a18_0x38cbfd(0x150)]=default_1;async function createIndex({moduleName:_0x4c0add,controller:_0x30ec15,tablestartUpShort:_0x39cd17,tablestartUpShort2:_0x37c3b9,Primary:_0x58aea3,Fields:_0x217847,apporbasic:_0x2b449b}){const _0x2f91b4=a18_0x38cbfd;let _0x3c99cc=process[_0x2f91b4(0x119)]()+_0x2f91b4(0x11f)+(typeof _0x30ec15==_0x2f91b4(0x11e)?'/'+_0x30ec15:'');_0x4c0add?_0x3c99cc=_0x3c99cc+('/pages/apps/'+_0x4c0add+'/'+_0x37c3b9+'/list/index.vue'):_0x3c99cc=_0x3c99cc+('/pages/'+_0x2b449b+'/'+_0x37c3b9+'/list/index.vue');if(!fs[_0x2f91b4(0x103)](_0x3c99cc)){let _0x5e19e6=_0x2f91b4(0x15c)+('\x22'+_0x58aea3[_0x2f91b4(0xf9)]+'\x22')[_0x2f91b4(0x1a0)](0x14)+('\x20label=\x22'+(_0x58aea3[_0x2f91b4(0x136)]||'编号')+'\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>');for(let _0x208f51 in _0x217847){const _0x2245df=_0x217847[_0x208f51];if([_0x2f91b4(0x147),_0x2f91b4(0x14b),_0x2f91b4(0x19d),_0x2f91b4(0x144)][_0x2f91b4(0x10c)](_0x208f51)!=-0x1)continue;if(_0x208f51[_0x2f91b4(0x130)](_0x208f51[_0x2f91b4(0x110)]-0x3)==_0x2f91b4(0x181)||_0x208f51[_0x2f91b4(0x130)](_0x208f51[_0x2f91b4(0x110)]-0x5)==_0x2f91b4(0x13c)||_0x208f51=='thumb'||_0x208f51[_0x2f91b4(0x130)](_0x208f51[_0x2f91b4(0x110)]-0x4)=='logo'||_0x208f51==_0x2f91b4(0xf5))_0x5e19e6+='\x0a'+_0x2f91b4(0x146)+_0x2f91b4(0x15c)+('\x22'+_0x208f51+'\x22')['padEnd'](0x14)+(_0x2f91b4(0x169)+(_0x2245df[_0x2f91b4(0x136)]||_0x2245df[_0x2f91b4(0xf9)])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x5e19e6+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2f91b4(0x157),_0x5e19e6+='\x0a'+_0x2f91b4(0x105)+_0x2f91b4(0x124),_0x5e19e6+='\x0a'+_0x2f91b4(0x10f)+('<a\x20:href=\x22scope.row.'+_0x208f51+_0x2f91b4(0x178)),_0x5e19e6+='\x0a'+_0x2f91b4(0x109)+('<img\x20:src=\x22scope.row.'+_0x208f51+_0x2f91b4(0x14c)),_0x5e19e6+='\x0a'+_0x2f91b4(0x10f)+_0x2f91b4(0x113),_0x5e19e6+='\x0a'+_0x2f91b4(0x10f)+_0x2f91b4(0x11a),_0x5e19e6+='\x0a'+_0x2f91b4(0x109)+(_0x2f91b4(0x16f)+_0x208f51+_0x2f91b4(0x149)),_0x5e19e6+='\x0a'+_0x2f91b4(0x10f)+'</template>',_0x5e19e6+='\x0a'+_0x2f91b4(0x105)+_0x2f91b4(0x154),_0x5e19e6+='\x0a'+_0x2f91b4(0x197)+'</template>',_0x5e19e6+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2f91b4(0x184);else[_0x2f91b4(0xf8)]['indexOf']((0x0,helper_1[_0x2f91b4(0x160)])(_0x2245df[_0x2f91b4(0x17d)]))==-0x1&&(_0x5e19e6+='\x0a'+_0x2f91b4(0x146)+_0x2f91b4(0x15c)+('\x22'+_0x208f51+'\x22')[_0x2f91b4(0x1a0)](0x14)+(_0x2f91b4(0x169)+(_0x2245df[_0x2f91b4(0x136)]||_0x2245df['Field'])+'\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>'));}const _0x47b2e4=''+(typeof _0x30ec15=='string'?_0x30ec15+'/':'')+(_0x4c0add?_0x4c0add+'/':'')+_0x37c3b9;fs[_0x2f91b4(0x18e)]((0x0,path_1[_0x2f91b4(0x139)])(_0x3c99cc),{'recursive':!![]}),fs[_0x2f91b4(0x12d)](_0x3c99cc,_0x2f91b4(0x18c)+_0x47b2e4+_0x2f91b4(0x11d)+_0x5e19e6+_0x2f91b4(0x142)+_0x47b2e4+_0x2f91b4(0x134)+_0x58aea3['Field']+_0x2f91b4(0xff)+_0x58aea3[_0x2f91b4(0xf9)]+_0x2f91b4(0x145)+_0x58aea3[_0x2f91b4(0xf9)]+_0x2f91b4(0x17e)+_0x47b2e4+'/remove`)\x22\x20@click=\x22handlerRemove(scope.row)\x22\x20type=\x22danger\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20删除\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-table-column>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</elplus-table>\x0a\x20\x20\x20\x20</page-main>\x0a</template>\x0a<script\x20lang=\x22ts\x22\x20setup>\x0aimport\x20search\x20from\x20\x27./components/search.vue\x27;\x0aimport\x20{\x20'+_0x39cd17+_0x2f91b4(0x18d)+_0x39cd17+'Remove,\x20'+_0x39cd17+_0x2f91b4(0x18f)+(_0x4c0add?'apps/'+_0x4c0add:''+_0x2b449b)+'/'+_0x39cd17+'\x27;\x0a\x0aconst\x20loading\x20=\x20ref(false),\x20table\x20=\x20reactive({\x0a\x20\x20\x20\x20data:\x20[],\x0a\x20\x20\x20\x20select:\x20[],\x0a\x20\x20\x20\x20search:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20_page:\x201,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_size:\x2020,\x0a\x20\x20\x20\x20\x20\x20\x20\x20_count:\x20200,\x0a\x20\x20\x20\x20}\x0a})\x0a\x0a\x0a/**\x0a\x20*\x20获取数据列表\x0a\x20*\x20@param\x20page\x20分页-当前页\x0a\x20*\x20@param\x20size\x20分页-每页数量\x0a\x20*\x20**/\x0aconst\x20LoadDatas\x20=\x20(page?:\x20number,\x20size?:\x20number,\x20sortable\x20=\x20{})\x20=>\x20{\x0a\x20\x20\x20\x20loading.value\x20=\x20true,\x20page\x20&&\x20(table.search._page\x20=\x20page),\x20size\x20&&\x20(table.search._size\x20=\x20size);\x0a\x20\x20\x20\x20'+_0x39cd17+_0x2f91b4(0xf0)+_0x39cd17+'Remove({\x20'+_0x58aea3['Field']+_0x2f91b4(0x108)+_0x58aea3[_0x2f91b4(0xf9)]+_0x2f91b4(0x179)+_0x58aea3[_0x2f91b4(0xf9)]+_0x2f91b4(0xf7)+_0x39cd17+_0x2f91b4(0x104)+_0x58aea3[_0x2f91b4(0xf9)]+_0x2f91b4(0xf4),_0x2f91b4(0x19e));}}function a18_0x5b1f(_0x6bf58e,_0x5acf92){const _0x411274=a18_0x436c();return a18_0x5b1f=function(_0x52dd0d,_0x3b5843){_0x52dd0d=_0x52dd0d-0xea;let _0x436caa=_0x411274[_0x52dd0d];return _0x436caa;},a18_0x5b1f(_0x6bf58e,_0x5acf92);}async function createSearch({moduleName:_0x18be45,tablestartUpShort2:_0x374963,controller:_0x11da64,Primary:_0x2302f6,Fields:_0x23afa6,apporbasic:_0x1d3d99}){const _0x4972bf=a18_0x38cbfd;let _0x10d8b3=process['cwd']()+_0x4972bf(0x11f)+(typeof _0x11da64==_0x4972bf(0x11e)?'/'+_0x11da64:'');_0x18be45?_0x10d8b3=_0x10d8b3+(_0x4972bf(0x19a)+_0x18be45+'/'+_0x374963+_0x4972bf(0x172)):_0x10d8b3=_0x10d8b3+(_0x4972bf(0x195)+_0x1d3d99+'/'+_0x374963+_0x4972bf(0x172));if(!fs[_0x4972bf(0x103)](_0x10d8b3)){let _0x575e98='';_0x575e98+='\x0a'+'\x20\x20\x20\x20'+(_0x4972bf(0x173)+(_0x2302f6[_0x4972bf(0x136)]||'编号')+'\x22>'),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0xed)+_0x2302f6[_0x4972bf(0xf9)]+_0x4972bf(0x17f)+(_0x2302f6['Comment']||'编号')+_0x4972bf(0x164)),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199);for(let _0x4e2c01 in _0x23afa6){const _0xa15e75=_0x23afa6[_0x4e2c01];if([_0x4972bf(0x14b),_0x4972bf(0x19d),_0x4972bf(0x144)][_0x4972bf(0x10c)](_0x4e2c01)!=-0x1)continue;if(_0x4e2c01[_0x4972bf(0x130)](_0x4e2c01[_0x4972bf(0x110)]-0x3)=='img'||_0x4e2c01['substring'](_0x4e2c01['length']-0x5)=='thumb'||_0x4e2c01=='thumb'||_0x4e2c01['substring'](_0x4e2c01[_0x4972bf(0x110)]-0x4)==_0x4972bf(0xf5)||_0x4e2c01==_0x4972bf(0xf5))continue;if(_0x4e2c01[_0x4972bf(0x130)](_0x4e2c01[_0x4972bf(0x110)]-0x3)=='num')_0x575e98+='\x0a'+_0x4972bf(0x159)+('<el-form-item\x20label=\x22'+(_0xa15e75[_0x4972bf(0x136)]||_0xa15e75[_0x4972bf(0xf9)])+'\x22>'),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0xf1)+_0x4e2c01+_0x4972bf(0x17f)+_0xa15e75[_0x4972bf(0x136)]+_0x4972bf(0x12b)),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199)+'\x0a';else{if(_0x4e2c01['endsWith']('_id')){let _0x5b22ab=''+(typeof _0x11da64=='string'?_0x11da64+'/':'')+(_0x18be45?_0x18be45+'/':'')+_0x374963;_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0x173)+(_0xa15e75[_0x4972bf(0x136)]||_0xa15e75[_0x4972bf(0xf9)])+'\x22>'),_0x575e98+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4972bf(0x115)+_0x4e2c01+_0x4972bf(0x141)+_0x5b22ab+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x575e98+='\x0a'+_0x4972bf(0xf6)+_0x4972bf(0x199)+'\x0a';}else switch((0x0,helper_1[_0x4972bf(0x160)])(_0xa15e75[_0x4972bf(0x17d)])){case'enum':_0x575e98+='\x0a'+_0x4972bf(0x159)+(_0x4972bf(0x173)+(_0xa15e75['Comment']||_0xa15e75[_0x4972bf(0xf9)])+'\x22>'),_0x575e98+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-select\x20v-model=\x22props.search.'+_0x4e2c01+_0x4972bf(0x194)+_0xa15e75['Comment']+_0x4972bf(0x127));for(let _0x3bf4cb of(0x0,helper_1[_0x4972bf(0x171)])(_0xa15e75[_0x4972bf(0x17d)])){_0x575e98+='\x0a'+_0x4972bf(0x182)+(_0x4972bf(0x15a)+_0x3bf4cb+_0x4972bf(0xee)+_0x3bf4cb+_0x4972bf(0x198));}_0x575e98+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4972bf(0x13b),_0x575e98+='\x0a'+_0x4972bf(0x159)+'</el-form-item>'+'\x0a';break;case _0x4972bf(0x183):_0x575e98+='\x0a'+_0x4972bf(0x159)+(_0x4972bf(0x173)+(_0xa15e75[_0x4972bf(0x136)]||_0xa15e75[_0x4972bf(0xf9)])+_0x4972bf(0x100)),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0x158)+_0x4e2c01+_0x4972bf(0x1a1)+_0xa15e75[_0x4972bf(0x136)]+'开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199)+'\x0a',_0x575e98+='\x0a'+_0x4972bf(0x159)+(_0x4972bf(0x173)+(_0xa15e75[_0x4972bf(0x136)]||_0xa15e75['Field'])+_0x4972bf(0x140)),_0x575e98+='\x0a'+_0x4972bf(0xf6)+('<el-date-picker\x20v-model=\x22props.search.'+_0x4e2c01+'_end\x22\x20placeholder=\x22选择'+_0xa15e75[_0x4972bf(0x136)]+'结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199)+'\x0a';break;case _0x4972bf(0x166):_0x575e98+='\x0a'+_0x4972bf(0x159)+('<el-form-item\x20label=\x22'+(_0xa15e75[_0x4972bf(0x136)]||_0xa15e75[_0x4972bf(0xf9)])+_0x4972bf(0x100)),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0x158)+_0x4e2c01+_0x4972bf(0x1a1)+_0xa15e75[_0x4972bf(0x136)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x575e98+='\x0a'+_0x4972bf(0x159)+'</el-form-item>'+'\x0a',_0x575e98+='\x0a'+'\x20\x20\x20\x20'+(_0x4972bf(0x173)+(_0xa15e75[_0x4972bf(0x136)]||_0xa15e75[_0x4972bf(0xf9)])+_0x4972bf(0x140)),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0x158)+_0x4e2c01+'_end\x22\x20placeholder=\x22选择'+_0xa15e75[_0x4972bf(0x136)]+_0x4972bf(0x120)),_0x575e98+='\x0a'+_0x4972bf(0x159)+'</el-form-item>'+'\x0a';break;case _0x4972bf(0xf2):_0x575e98+='\x0a'+_0x4972bf(0x159)+(_0x4972bf(0x173)+(_0xa15e75['Comment']||_0xa15e75['Field'])+_0x4972bf(0x100)),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0x158)+_0x4e2c01+_0x4972bf(0x1a1)+_0xa15e75[_0x4972bf(0x136)]+_0x4972bf(0x16e)),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199)+'\x0a',_0x575e98+='\x0a'+_0x4972bf(0x159)+('<el-form-item\x20label=\x22'+(_0xa15e75['Comment']||_0xa15e75['Field'])+_0x4972bf(0x140)),_0x575e98+='\x0a'+_0x4972bf(0xf6)+(_0x4972bf(0x158)+_0x4e2c01+_0x4972bf(0x175)+_0xa15e75['Comment']+_0x4972bf(0x120)),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199)+'\x0a';break;case _0x4972bf(0x11e):_0x575e98+='\x0a'+'\x20\x20\x20\x20'+(_0x4972bf(0x173)+(_0xa15e75['Comment']||_0xa15e75[_0x4972bf(0xf9)])+'\x22>'),_0x575e98+='\x0a'+_0x4972bf(0xf6)+('<el-input\x20v-model=\x22props.search.'+_0x4e2c01+'\x22\x20placeholder=\x22请输入'+_0xa15e75[_0x4972bf(0x136)]+'\x22\x20clearable/>'),_0x575e98+='\x0a'+_0x4972bf(0x159)+_0x4972bf(0x199)+'\x0a';}}}fs['mkdirSync']((0x0,path_1[_0x4972bf(0x139)])(_0x10d8b3),{'recursive':!![]}),fs[_0x4972bf(0x12d)](_0x10d8b3,_0x4972bf(0x13d)+_0x575e98+_0x4972bf(0xec),_0x4972bf(0x19e));}}async function createAddOrEdit({moduleName:_0x453172,controller:_0x14af88,tablestartUpShort:_0x2ada7c,tablestartUpShort2:_0x20e783,Primary:_0x52268d,Fields:_0x506405,apporbasic:_0x570cef,Comment:_0x2b811a},_0x35017f='add'){const _0x393d6f=a18_0x38cbfd;let _0x5afc1a=process['cwd']()+_0x393d6f(0x11f)+(typeof _0x14af88==_0x393d6f(0x11e)?'/'+_0x14af88:'');_0x453172?_0x5afc1a=_0x5afc1a+(_0x393d6f(0x19a)+_0x453172+'/'+_0x20e783+'/'+_0x35017f+_0x393d6f(0xea)):_0x5afc1a=_0x5afc1a+(_0x393d6f(0x195)+_0x570cef+'/'+_0x20e783+'/'+_0x35017f+_0x393d6f(0xea));if(!fs[_0x393d6f(0x103)](_0x5afc1a)){const _0x6ce6=[_0x393d6f(0xf8),_0x393d6f(0x12e),'string']['indexOf']((0x0,helper_1[_0x393d6f(0x160)])(_0x52268d[_0x393d6f(0x17d)]))==-0x1,_0xe83235=''+(typeof _0x14af88==_0x393d6f(0x11e)?_0x14af88+'/':'')+(_0x453172?_0x453172+'/':'')+_0x20e783;let _0x115f53='';for(let _0x245ebd in _0x506405){const _0x4dc70f=_0x506405[_0x245ebd];if([_0x393d6f(0x147),_0x393d6f(0x14b),'deleted_at',_0x393d6f(0x144)][_0x393d6f(0x10c)](_0x245ebd)!=-0x1)continue;if(_0x245ebd['substring'](_0x245ebd[_0x393d6f(0x110)]-0x4)==_0x393d6f(0x126)||_0x245ebd[_0x393d6f(0x130)](_0x245ebd[_0x393d6f(0x110)]-0x6)==_0x393d6f(0x129))_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22\x20class=\x22block\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x185)+_0x245ebd+_0x393d6f(0x12a)+(_0x453172?'module=\x22'+_0x453172+'\x22':'')+_0x393d6f(0x156)),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';else{if(_0x245ebd[_0x393d6f(0x130)](_0x245ebd[_0x393d6f(0x110)]-0x3)==_0x393d6f(0x181)||_0x245ebd['substring'](_0x245ebd['length']-0x5)==_0x393d6f(0x13c)||_0x245ebd==_0x393d6f(0x13c)||_0x245ebd[_0x393d6f(0x130)](_0x245ebd[_0x393d6f(0x110)]-0x4)==_0x393d6f(0xf5)||_0x245ebd=='logo')_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+_0x393d6f(0x151)),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x185)+_0x245ebd+_0x393d6f(0x16c)+(_0x453172?'module=\x22'+_0x453172+'\x22':'')+'/>'),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';else{if(_0x245ebd[_0x393d6f(0x130)](_0x245ebd['length']-0x4)==_0x393d6f(0x165)||_0x245ebd[_0x393d6f(0x130)](_0x245ebd['length']-0x3)==_0x393d6f(0xfa))_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x173)+(_0x4dc70f['Comment']||_0x4dc70f[_0x393d6f(0xf9)])+'\x22\x20prop=\x22'+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x168)+_0x245ebd+'\x22\x20placeholder=\x22请输入或选择'+_0x4dc70f[_0x393d6f(0x136)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';else{if(_0x245ebd[_0x393d6f(0x170)](-0x3)==_0x393d6f(0x1a2))_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f['Field'])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input-number\x20v-model=\x22formdata.'+_0x245ebd+_0x393d6f(0x17f)+_0x4dc70f[_0x393d6f(0x136)]+_0x393d6f(0xeb)),_0x115f53+='\x0a'+_0x393d6f(0x182)+'</el-form-item>'+'\x0a';else{if(_0x245ebd[_0x393d6f(0x170)](-0x4)==_0x393d6f(0x18b))_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x132)+_0x245ebd+_0x393d6f(0x17f)+_0x4dc70f['Comment']+_0x393d6f(0x164)),_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x393d6f(0x199)+'\x0a';else{if(_0x245ebd['substr'](-0x3)==_0x393d6f(0x10d)){let _0x59a8d3=''+(typeof _0x14af88=='string'?_0x14af88+'/':'')+(_0x453172?_0x453172+'/':'')+_0x20e783;_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+('<elplus-select-search\x20v-model=\x22formdata.'+_0x245ebd+_0x393d6f(0x141)+_0x59a8d3+_0x393d6f(0xfc)),_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x393d6f(0x199)+'\x0a';}else switch((0x0,helper_1[_0x393d6f(0x160)])(_0x4dc70f[_0x393d6f(0x17d)])){case _0x393d6f(0x102):_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f['Comment']||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x107)+_0x245ebd+_0x393d6f(0x17f)+_0x4dc70f[_0x393d6f(0x136)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>'),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';break;case'enum':_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f['Comment']||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0xfd)+_0x245ebd+_0x393d6f(0x194)+_0x4dc70f['Comment']+_0x393d6f(0x127));for(let _0x4fda61 of(0x0,helper_1[_0x393d6f(0x171)])(_0x4dc70f['Type'])){_0x115f53+='\x0a'+_0x393d6f(0x197)+('<el-option\x20label=\x22'+_0x4fda61+_0x393d6f(0xee)+_0x4fda61+'\x22\x20/>');}_0x115f53+='\x0a'+_0x393d6f(0x146)+'</el-select>',_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';break;case'text':_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+_0x393d6f(0x151)),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x132)+_0x245ebd+_0x393d6f(0x10a)+_0x4dc70f[_0x393d6f(0x136)]+_0x393d6f(0x12c)),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';break;case _0x393d6f(0x111):_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+'\x22\x20prop=\x22'+_0x245ebd+_0x393d6f(0x151)),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x190)+_0x245ebd+'\x22\x20'+(_0x453172?'module=\x22'+_0x453172+'\x22':'')+'/>'),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';break;case _0x393d6f(0x12e):_0x115f53+='\x0a'+_0x393d6f(0x182)+('<el-form-item\x20label=\x22'+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22\x20class=\x22block\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x245ebd+'\x22\x20'+(_0x453172?_0x393d6f(0xfb)+_0x453172+'\x22':'')+'/>'),_0x115f53+='\x0a'+_0x393d6f(0x182)+'</el-form-item>'+'\x0a';break;case _0x393d6f(0x183):_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x188)+_0x245ebd+'\x22\x20placeholder=\x22选择'+_0x4dc70f[_0x393d6f(0x136)]+'\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>'),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';break;case'datetime':_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f[_0x393d6f(0xf9)])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+('<el-date-picker\x20v-model=\x22formdata.'+_0x245ebd+_0x393d6f(0xef)+_0x4dc70f[_0x393d6f(0x136)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x393d6f(0x199)+'\x0a';break;case _0x393d6f(0xf2):_0x115f53+='\x0a'+_0x393d6f(0x182)+(_0x393d6f(0x173)+(_0x4dc70f[_0x393d6f(0x136)]||_0x4dc70f['Field'])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x188)+_0x245ebd+_0x393d6f(0xef)+_0x4dc70f[_0x393d6f(0x136)]+_0x393d6f(0x106)),_0x115f53+='\x0a'+_0x393d6f(0x182)+'</el-form-item>'+'\x0a';break;default:_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x393d6f(0x173)+(_0x4dc70f['Comment']||_0x4dc70f['Field'])+_0x393d6f(0x15b)+_0x245ebd+'\x22>'),_0x115f53+='\x0a'+_0x393d6f(0x146)+(_0x393d6f(0x132)+_0x245ebd+_0x393d6f(0x17f)+_0x4dc70f['Comment']+_0x393d6f(0x164)),_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';}}}}}}}_0x115f53+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x393d6f(0x16b),_0x115f53+='\x0a'+_0x393d6f(0x146)+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x115f53+='\x0a'+_0x393d6f(0x182)+_0x393d6f(0x199)+'\x0a';let _0x134754=_0x393d6f(0x15f);_0x134754+=_0x393d6f(0xfe),_0x134754+=_0x393d6f(0x101)+(_0x35017f==_0x393d6f(0x135)?'添加'+_0x2b811a:'编辑'+_0x2b811a)+'\x22\x20:model=\x22formdata\x22\x20:rules=\x22'+_0x2ada7c+(_0x35017f=='add'?_0x393d6f(0x153):_0x393d6f(0x118))+_0x393d6f(0x19b)+_0xe83235+'/'+(_0x35017f=='add'?_0x393d6f(0x135):_0x393d6f(0x193)+_0x52268d[_0x393d6f(0xf9)])+_0x393d6f(0x191),_0x134754+=_0x393d6f(0x182)+_0x115f53+'\x0a\x0a',_0x134754+=_0x393d6f(0x117),_0x134754+=_0x393d6f(0x125)+_0xe83235+'/'+(_0x35017f==_0x393d6f(0x135)?_0x393d6f(0x135):'edit/:'+_0x52268d[_0x393d6f(0xf9)])+_0x393d6f(0x112),_0x134754+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x134754+=_0x393d6f(0x14d),_0x134754+=_0x393d6f(0x192),_0x134754+=_0x393d6f(0x162),_0x134754+=_0x393d6f(0x167);if(_0x35017f==_0x393d6f(0x135))_0x134754+=_0x393d6f(0x14a)+_0x2ada7c+_0x393d6f(0x148),_0x134754+=_0x393d6f(0x14a)+_0x2ada7c+_0x393d6f(0x116)+(_0x453172?_0x393d6f(0x161)+_0x453172:''+_0x570cef)+'/'+_0x2ada7c+_0x393d6f(0x138);else _0x35017f=='edit'&&(_0x134754+=_0x393d6f(0x14a)+_0x2ada7c+_0x393d6f(0x133),_0x134754+=_0x393d6f(0x14a)+_0x2ada7c+_0x393d6f(0x12f)+_0x2ada7c+_0x393d6f(0x187)+(_0x453172?'apps/'+_0x453172:''+_0x570cef)+'/'+_0x2ada7c+'\x27;\x0a\x0a');_0x134754+=_0x393d6f(0x17c);if(_0x35017f==_0x393d6f(0x135))_0x134754+=_0x393d6f(0x15e);else _0x35017f==_0x393d6f(0x17a)&&(_0x134754+='const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a');_0x134754+=_0x393d6f(0xf3),_0x134754+=_0x393d6f(0x18a),_0x134754+=_0x393d6f(0x16d),_0x134754+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x2ada7c+(_0x35017f==_0x393d6f(0x135)?'Add':_0x393d6f(0x118))+'('+(_0x35017f=='edit'?_0x393d6f(0x19c)+_0x52268d[_0x393d6f(0xf9)]+',\x20':'')+_0x393d6f(0x114),_0x134754+='\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',_0x134754+='\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a',_0x134754+=_0x393d6f(0x174),_0x134754+=_0x393d6f(0x13f),_0x134754+=_0x393d6f(0x121),_0x134754+=_0x393d6f(0x11c),_0x35017f==_0x393d6f(0x17a)&&(_0x134754+=_0x393d6f(0x137),_0x134754+='const\x20getDetail\x20=\x20('+_0x52268d[_0x393d6f(0xf9)]+':\x20'+(_0x6ce6?_0x393d6f(0x102):_0x393d6f(0x11e))+_0x393d6f(0x122),_0x134754+=_0x393d6f(0x123)+_0x52268d['Field']+')\x20{\x0a',_0x134754+=_0x393d6f(0x13a),_0x134754+=_0x393d6f(0xf6)+_0x2ada7c+'Detail('+_0x52268d['Field']+_0x393d6f(0x196),_0x134754+=_0x393d6f(0x10b),_0x134754+=_0x393d6f(0x189),_0x134754+='\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',_0x134754+=_0x393d6f(0x13f),_0x134754+='\x20\x20\x20\x20}\x20else\x20{\x0a',_0x134754+=_0x393d6f(0x10e),_0x134754+=_0x393d6f(0x17b),_0x134754+=_0x393d6f(0x152),_0x134754+=_0x393d6f(0x180)+_0x52268d[_0x393d6f(0xf9)]+'\x20as\x20unknown\x20as\x20'+(_0x6ce6?_0x393d6f(0x102):_0x393d6f(0x11e))+')\x0a'),_0x134754+='</script>\x0a',fs[_0x393d6f(0x18e)]((0x0,path_1[_0x393d6f(0x139)])(_0x5afc1a),{'recursive':!![]}),fs[_0x393d6f(0x12d)](_0x5afc1a,_0x134754,_0x393d6f(0x19e));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x2a19b7=a19_0x11d0;(function(_0x2aee83,_0x4914fe){const _0x4bd8fc=a19_0x11d0,_0x505ab6=_0x2aee83();while(!![]){try{const _0x3521e0=parseInt(_0x4bd8fc(0xc2))/0x1+parseInt(_0x4bd8fc(0xcd))/0x2*(parseInt(_0x4bd8fc(0xc9))/0x3)+parseInt(_0x4bd8fc(0xd8))/0x4+parseInt(_0x4bd8fc(0xb8))/0x5+parseInt(_0x4bd8fc(0xbd))/0x6+-parseInt(_0x4bd8fc(0xb7))/0x7*(parseInt(_0x4bd8fc(0xd0))/0x8)+parseInt(_0x4bd8fc(0xba))/0x9*(-parseInt(_0x4bd8fc(0xd3))/0xa);if(_0x3521e0===_0x4914fe)break;else _0x505ab6['push'](_0x505ab6['shift']());}catch(_0xc67f51){_0x505ab6['push'](_0x505ab6['shift']());}}}(a19_0x96ca,0xae2e6));const a19_0x41fcc2=(function(){let _0x4608fc=!![];return function(_0x2bf3cf,_0x3d372b){const _0x398a55=_0x4608fc?function(){if(_0x3d372b){const _0x3e7e3b=_0x3d372b['apply'](_0x2bf3cf,arguments);return _0x3d372b=null,_0x3e7e3b;}}:function(){};return _0x4608fc=![],_0x398a55;};}()),a19_0x31b59c=a19_0x41fcc2(this,function(){const _0xd81d25=a19_0x11d0;return a19_0x31b59c[_0xd81d25(0xc3)]()[_0xd81d25(0xbb)]('(((.+)+)+)+$')['toString']()[_0xd81d25(0xc8)](a19_0x31b59c)[_0xd81d25(0xbb)]('(((.+)+)+)+$');});a19_0x31b59c();'use strict';Object['defineProperty'](exports,a19_0x2a19b7(0xda),{'value':!![]});function a19_0x96ca(){const _0x5219ce=['3156760DuZczI','/vue','423FjiFSW','search','{\x20path:\x20\x22','624288xNHYZM','path','padEnd','mkdirSync','pages/','422723oCpiGB','toString','\x20\x20\x20\x20]\x0a','writeFileSync','../../','\x22\x20}\x20}','constructor','3138wwRIGe','\x22,\x0a','default','//\x20add\x20route\x20here','10ENAUWE','cwd','/list\x22','8uzpFSq','dirname','apps/','61480dzpvVb','../../../','replace','\x20\x20\x20\x20component:\x20()\x20=>\x20import(`','indexOf','2024152JBpKqY','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','__esModule','/edit\x22','/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','utf-8','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','\x20\x20\x20\x20children:[\x0a',',\x20component:\x20()=>\x20import(\x27','\x20\x20\x20\x20//\x20redirect:\x20\x22/','readFileSync','/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','.ts','\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a','apps-','4668923OvChBs'];a19_0x96ca=function(){return _0x5219ce;};return a19_0x96ca();}function a19_0x11d0(_0x340eca,_0x509f52){const _0x51fe25=a19_0x96ca();return a19_0x11d0=function(_0x31b59c,_0x41fcc2){_0x31b59c=_0x31b59c-0xae;let _0x96ca25=_0x51fe25[_0x31b59c];return _0x96ca25;},a19_0x11d0(_0x340eca,_0x509f52);}const fs=require('fs'),path_1=require(a19_0x2a19b7(0xbe));async function default_1({tablestartUpShort2:_0x5ef1df,moduleName:_0x2759e7,controller:_0x2f9658,Comment:_0x49ba4d,apporbasic:_0x5a0aaf,Primary:_0x42608a}){await createRoutes({'tablestartUpShort2':_0x5ef1df,'moduleName':_0x2759e7,'controller':_0x2f9658,'Comment':_0x49ba4d,'apporbasic':_0x5a0aaf,'Primary':_0x42608a});}exports[a19_0x2a19b7(0xcb)]=default_1;async function createRoutes({tablestartUpShort2:_0x2d6bb6,moduleName:_0x121b8f,controller:_0x5abe4c,Comment:_0x48eb78,apporbasic:_0x10905c,Primary:_0x2b4736}){const _0x380c92=a19_0x2a19b7;let _0xe53598=process[_0x380c92(0xce)]()+_0x380c92(0xb9)+(typeof _0x5abe4c=='string'?'/'+_0x5abe4c:'');_0x121b8f?_0xe53598=_0xe53598+('/router/modules/apps/'+_0x121b8f+_0x380c92(0xb4)):_0xe53598=_0xe53598+('/router/modules/'+_0x10905c+_0x380c92(0xb4));if(!fs['existsSync'](_0xe53598)){let _0x46c262='';_0x46c262+='export\x20default\x20{\x0a',_0x46c262+='\x20\x20\x20\x20path:\x20\x22/'+(_0x121b8f?_0x380c92(0xb6)+_0x121b8f+'/':_0x10905c+'/')+_0x380c92(0xca),_0x46c262+=_0x380c92(0xb1)+(_0x121b8f?_0x380c92(0xb6)+_0x121b8f+'/':_0x10905c+'/')+'\x22,\x0a',_0x46c262+=_0x380c92(0xd6)+(_0x121b8f?_0x380c92(0xd4):_0x380c92(0xc6))+_0x380c92(0xc1)+(_0x121b8f?_0x380c92(0xd2)+_0x121b8f:''+_0x10905c)+'/layout.vue`),\x0a',_0x46c262+=_0x380c92(0xaf),_0x46c262+=_0x380c92(0xb5),_0x46c262+=_0x380c92(0xc4),_0x46c262+='}\x0a',fs[_0x380c92(0xc0)]((0x0,path_1[_0x380c92(0xd1)])(_0xe53598),{'recursive':!![]}),fs['writeFileSync'](_0xe53598,_0x46c262,_0x380c92(0xdd));}const _0x2844c7=fs[_0x380c92(0xb2)](_0xe53598,_0x380c92(0xdd)),_0x23ea0c=_0x380c92(0xbc)+(_0x2d6bb6+_0x380c92(0xcf))['padEnd'](0x14)+(_0x380c92(0xb0)+(_0x121b8f?_0x380c92(0xd4):_0x380c92(0xc6))+_0x380c92(0xc1)+(_0x121b8f?_0x380c92(0xd2)+_0x121b8f:''+_0x10905c)+'/'+_0x2d6bb6+'/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0x48eb78+_0x380c92(0xc7));_0x2844c7[_0x380c92(0xd7)](_0x23ea0c)==-0x1&&fs[_0x380c92(0xc5)](_0xe53598,_0x2844c7[_0x380c92(0xd5)](_0x380c92(0xcc),_0x23ea0c+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here')[_0x380c92(0xd5)](_0x380c92(0xcc),_0x380c92(0xbc)+(_0x2d6bb6+'/add\x22')[_0x380c92(0xbf)](0x14)+(_0x380c92(0xb0)+(_0x121b8f?'../../../':_0x380c92(0xc6))+'pages/'+(_0x121b8f?_0x380c92(0xd2)+_0x121b8f:''+_0x10905c)+'/'+_0x2d6bb6+_0x380c92(0xb3)+_0x48eb78+_0x380c92(0xd9)))[_0x380c92(0xd5)](_0x380c92(0xcc),_0x380c92(0xbc)+(_0x2d6bb6+_0x380c92(0xdb))[_0x380c92(0xbf)](0x14)+(_0x380c92(0xb0)+(_0x121b8f?'../../../':_0x380c92(0xc6))+'pages/'+(_0x121b8f?_0x380c92(0xd2)+_0x121b8f:''+_0x10905c)+'/'+_0x2d6bb6+_0x380c92(0xdc)+_0x48eb78+_0x380c92(0xae))));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x55b6b4=a20_0x1201;(function(_0x18ffee,_0x3d9116){const _0x4f68c8=a20_0x1201,_0x14589b=_0x18ffee();while(!![]){try{const _0x32bee4=-parseInt(_0x4f68c8(0x97))/0x1+parseInt(_0x4f68c8(0xc1))/0x2*(parseInt(_0x4f68c8(0xb6))/0x3)+parseInt(_0x4f68c8(0xb4))/0x4*(-parseInt(_0x4f68c8(0xb0))/0x5)+-parseInt(_0x4f68c8(0x8f))/0x6*(-parseInt(_0x4f68c8(0xc8))/0x7)+-parseInt(_0x4f68c8(0xc5))/0x8+-parseInt(_0x4f68c8(0x96))/0x9*(-parseInt(_0x4f68c8(0xae))/0xa)+parseInt(_0x4f68c8(0xc6))/0xb;if(_0x32bee4===_0x3d9116)break;else _0x14589b['push'](_0x14589b['shift']());}catch(_0x2ed5ff){_0x14589b['push'](_0x14589b['shift']());}}}(a20_0x3edc,0x4a9f0));const a20_0x1b68b7=(function(){let _0x376b49=!![];return function(_0x11fd2,_0x2cc702){const _0x4cc020=_0x376b49?function(){if(_0x2cc702){const _0x265038=_0x2cc702['apply'](_0x11fd2,arguments);return _0x2cc702=null,_0x265038;}}:function(){};return _0x376b49=![],_0x4cc020;};}()),a20_0x504883=a20_0x1b68b7(this,function(){const _0x503856=a20_0x1201;return a20_0x504883[_0x503856(0xab)]()[_0x503856(0xa4)]('(((.+)+)+)+$')[_0x503856(0xab)]()[_0x503856(0xc2)](a20_0x504883)[_0x503856(0xa4)]('(((.+)+)+)+$');});a20_0x504883();'use strict';Object[a20_0x55b6b4(0x8a)](exports,a20_0x55b6b4(0x94),{'value':!![]});const fs=require('fs'),path=require(a20_0x55b6b4(0xd3)),helper_1=require('../helper');async function default_1({tablestartUpShort:_0x509288,tablestartUpShort2:_0x4066e0,moduleName:_0x2f60c8,controller:_0x3e7159,apporbasic:_0x32a93a,Fields:_0x2429bb}){const _0x155b11=a20_0x55b6b4;let _0x502674=process[_0x155b11(0xb8)]()+'/vue'+(typeof _0x3e7159==_0x155b11(0xcb)?'/'+_0x3e7159:'');_0x2f60c8?_0x502674=_0x502674+('/pages/apps/'+_0x2f60c8+'/'+_0x4066e0+_0x155b11(0x90)):_0x502674=_0x502674+(_0x155b11(0xaa)+_0x32a93a+'/'+_0x4066e0+_0x155b11(0x90));const _0x1b4581=_0x155b11(0xa9)+_0x509288+_0x155b11(0xc9)+_0x509288+_0x155b11(0x9d),_0x2e780b=await createAddRuleColumn({'Fields':_0x2429bb}),_0x5d140b=await createEditRuleColumn({'Fields':_0x2429bb});!fs[_0x155b11(0xbf)](path[_0x155b11(0xb1)](_0x502674))&&fs[_0x155b11(0xb3)](path[_0x155b11(0xb1)](_0x502674),{'recursive':!![]}),fs[_0x155b11(0xba)](_0x502674,_0x1b4581[_0x155b11(0xa8)](_0x155b11(0x9a),_0x2e780b)[_0x155b11(0xa8)](_0x155b11(0xbe),_0x5d140b),_0x155b11(0xac));}function a20_0x3edc(){const _0x3aa226=['3830552qWEQkS','12182544TQgxtI','Field','294YnAmds','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','text','string','\x20},\x0a','double','longtext','number','displayorder','json','\x27]\x20},\x0a','path','defineProperty','datetime','mediumtext','join','\x27,\x20\x27','9198uyOfIi','/interface.ts','Type','YES','indexOf','__esModule','Null','2925kxXVBL','377384ktoOLp','getProp','enum','%AddRuleColumn%','date','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','deleted_at','false','Comment','tinyint','default','\x20\x20\x20\x20],\x0a\x0a','search','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','float','`,\x20type:\x20\x22date\x22\x20},\x0a','replace','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','/pages/','toString','utf-8','updated_at','5470hTiBWi','\x20\x20\x20\x20','2510SsIhIa','dirname',':\x20[\x0a','mkdirSync','2804VOMZpr','created_at','5724bpnoUp','不能为空`,\x20required:\x20','cwd','timestamp','writeFileSync','\x20\x20\x20\x20//\x20','`,\x20type:\x20\x22number\x22\x20},\x0a','getEnum','%EditRuleColumn%','existsSync','decimal','172GMzLZd','constructor','true','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'];a20_0x3edc=function(){return _0x3aa226;};return a20_0x3edc();}exports[a20_0x55b6b4(0xa2)]=default_1;async function createAddRuleColumn({Fields:_0x19a91b}){const _0x17ff38=a20_0x55b6b4;let _0x1127dd='';for(let _0x24a8f3 in _0x19a91b){let _0x3db66b=_0x19a91b[_0x24a8f3],_0x570c56=(0x0,helper_1[_0x17ff38(0x98)])(_0x3db66b[_0x17ff38(0x91)]);if(_0x3db66b[_0x17ff38(0xc7)]==_0x17ff38(0xd0)||_0x3db66b[_0x17ff38(0xc7)]==_0x17ff38(0xb5)||_0x3db66b[_0x17ff38(0xc7)]==_0x17ff38(0xad)||_0x3db66b[_0x17ff38(0xc7)]==_0x17ff38(0x9e))continue;if([_0x17ff38(0xca),'longtext',_0x17ff38(0x8c)][_0x17ff38(0x93)](_0x570c56)!=-0x1)_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+=_0x17ff38(0xaf)+_0x3db66b[_0x17ff38(0xc7)]+_0x17ff38(0xb2),_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)&&(_0x1127dd+=_0x17ff38(0xa5)+_0x3db66b['Comment']+_0x17ff38(0xb7)+(_0x3db66b[_0x17ff38(0x95)]!='YES'?'false':_0x17ff38(0xc3))+_0x17ff38(0xcc)),_0x1127dd+=_0x17ff38(0xa3);else{if([_0x17ff38(0xa6),'double',_0x17ff38(0xc0),_0x17ff38(0xcf)][_0x17ff38(0x93)](_0x570c56)!=-0x1)_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+='\x20\x20\x20\x20'+_0x3db66b[_0x17ff38(0xc7)]+':\x20[\x0a',_0x1127dd+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xbc),_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)&&(_0x1127dd+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xb7)+(_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)?_0x17ff38(0x9f):_0x17ff38(0xc3))+_0x17ff38(0xcc)),_0x1127dd+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint']['indexOf'](_0x570c56)!=-0x1)_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+='\x20\x20\x20\x20'+_0x3db66b['Field']+':\x20[\x0a',_0x1127dd+=_0x17ff38(0x9c)+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xbc),_0x3db66b['Null']!=_0x17ff38(0x92)&&(_0x1127dd+=_0x17ff38(0xa5)+_0x3db66b['Comment']+'不能为空`,\x20required:\x20'+(_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)?_0x17ff38(0x9f):_0x17ff38(0xc3))+'\x20},\x0a'),_0x1127dd+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x570c56==_0x17ff38(0xd1))_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+='\x20\x20\x20\x20'+_0x3db66b[_0x17ff38(0xc7)]+_0x17ff38(0xb2),_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)&&(_0x1127dd+=_0x17ff38(0xa5)+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xb7)+(_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)?_0x17ff38(0x9f):'true')+_0x17ff38(0xcc)),_0x1127dd+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x570c56==_0x17ff38(0x99)){let _0x20ad07=(0x0,helper_1[_0x17ff38(0xbd)])(_0x3db66b[_0x17ff38(0x91)]);_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+='\x20\x20\x20\x20'+_0x3db66b[_0x17ff38(0xc7)]+_0x17ff38(0xb2),_0x1127dd+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xc4)+_0x20ad07[_0x17ff38(0x8d)]('\x27,\x20\x27')+'\x27]\x20},\x0a',_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)&&(_0x1127dd+=_0x17ff38(0xa5)+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xb7)+(_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)?_0x17ff38(0x9f):'true')+'\x20},\x0a'),_0x1127dd+=_0x17ff38(0xa3);}else['date',_0x17ff38(0x8b),_0x17ff38(0xb9)]['indexOf'](_0x570c56)>-0x1?(_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+=_0x17ff38(0xaf)+_0x3db66b['Field']+_0x17ff38(0xb2),_0x1127dd+=_0x17ff38(0x9c)+_0x3db66b[_0x17ff38(0xa0)]+_0x17ff38(0xa7),_0x3db66b['Null']!=_0x17ff38(0x92)&&(_0x1127dd+=_0x17ff38(0xa5)+_0x3db66b['Comment']+_0x17ff38(0xb7)+(_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)?_0x17ff38(0x9f):_0x17ff38(0xc3))+_0x17ff38(0xcc)),_0x1127dd+=_0x17ff38(0xa3)):(_0x1127dd+=_0x17ff38(0xbb)+_0x3db66b[_0x17ff38(0xa0)]+'\x0a',_0x1127dd+=_0x17ff38(0xaf)+_0x3db66b[_0x17ff38(0xc7)]+_0x17ff38(0xb2),_0x1127dd+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x3db66b['Comment']+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)&&(_0x1127dd+=_0x17ff38(0xa5)+_0x3db66b['Comment']+_0x17ff38(0xb7)+(_0x3db66b[_0x17ff38(0x95)]!=_0x17ff38(0x92)?_0x17ff38(0x9f):'true')+'\x20},\x0a'),_0x1127dd+=_0x17ff38(0xa3));}}}}}return _0x1127dd;}function a20_0x1201(_0x161bcc,_0x195b8c){const _0x2b6c5e=a20_0x3edc();return a20_0x1201=function(_0x504883,_0x1b68b7){_0x504883=_0x504883-0x8a;let _0x3edc87=_0x2b6c5e[_0x504883];return _0x3edc87;},a20_0x1201(_0x161bcc,_0x195b8c);}async function createEditRuleColumn({Fields:_0x4e8e19}){const _0x568f3f=a20_0x55b6b4;let _0x3836ec='';for(let _0x5caf4f in _0x4e8e19){let _0x338835=_0x4e8e19[_0x5caf4f],_0x5ae6cb=(0x0,helper_1[_0x568f3f(0x98)])(_0x338835[_0x568f3f(0x91)]);if(_0x338835[_0x568f3f(0xc7)]==_0x568f3f(0xd0)||_0x338835[_0x568f3f(0xc7)]==_0x568f3f(0xb5)||_0x338835[_0x568f3f(0xc7)]=='updated_at'||_0x338835['Field']=='deleted_at')continue;if(['text',_0x568f3f(0xce),_0x568f3f(0x8c)][_0x568f3f(0x93)](_0x5ae6cb)!=-0x1)_0x3836ec+=_0x568f3f(0xbb)+_0x338835[_0x568f3f(0xa0)]+'\x0a',_0x3836ec+='\x20\x20\x20\x20'+_0x338835[_0x568f3f(0xc7)]+':\x20[\x0a',_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)&&(_0x3836ec+=_0x568f3f(0xa5)+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xb7)+(_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)?'false':_0x568f3f(0xc3))+'\x20},\x0a'),_0x3836ec+='\x20\x20\x20\x20],\x0a\x0a';else{if(['float',_0x568f3f(0xcd),_0x568f3f(0xc0),_0x568f3f(0xcf)][_0x568f3f(0x93)](_0x5ae6cb)!=-0x1)_0x3836ec+='\x20\x20\x20\x20//\x20'+_0x338835[_0x568f3f(0xa0)]+'\x0a',_0x3836ec+=_0x568f3f(0xaf)+_0x338835[_0x568f3f(0xc7)]+':\x20[\x0a',_0x3836ec+=_0x568f3f(0x9c)+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xbc),_0x338835[_0x568f3f(0x95)]!='YES'&&(_0x3836ec+=_0x568f3f(0xa5)+_0x338835['Comment']+_0x568f3f(0xb7)+(_0x338835[_0x568f3f(0x95)]!='YES'?_0x568f3f(0x9f):'true')+_0x568f3f(0xcc)),_0x3836ec+=_0x568f3f(0xa3);else{if([_0x568f3f(0xa1)][_0x568f3f(0x93)](_0x5ae6cb)!=-0x1)_0x3836ec+=_0x568f3f(0xbb)+_0x338835[_0x568f3f(0xa0)]+'\x0a',_0x3836ec+='\x20\x20\x20\x20'+_0x338835['Field']+_0x568f3f(0xb2),_0x3836ec+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xbc),_0x338835['Null']!=_0x568f3f(0x92)&&(_0x3836ec+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xb7)+(_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)?_0x568f3f(0x9f):_0x568f3f(0xc3))+_0x568f3f(0xcc)),_0x3836ec+=_0x568f3f(0xa3);else{if(_0x5ae6cb==_0x568f3f(0xd1))_0x3836ec+='\x20\x20\x20\x20//\x20'+_0x338835[_0x568f3f(0xa0)]+'\x0a',_0x3836ec+=_0x568f3f(0xaf)+_0x338835[_0x568f3f(0xc7)]+':\x20[\x0a',_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)&&(_0x3836ec+=_0x568f3f(0xa5)+_0x338835[_0x568f3f(0xa0)]+'不能为空`,\x20required:\x20'+(_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)?_0x568f3f(0x9f):_0x568f3f(0xc3))+_0x568f3f(0xcc)),_0x3836ec+=_0x568f3f(0xa3);else{if(_0x5ae6cb==_0x568f3f(0x99)){let _0x1f1d79=(0x0,helper_1[_0x568f3f(0xbd)])(_0x338835['Type']);_0x3836ec+=_0x568f3f(0xbb)+_0x338835['Comment']+'\x0a',_0x3836ec+=_0x568f3f(0xaf)+_0x338835[_0x568f3f(0xc7)]+_0x568f3f(0xb2),_0x3836ec+=_0x568f3f(0x9c)+_0x338835[_0x568f3f(0xa0)]+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x1f1d79['join'](_0x568f3f(0x8e))+_0x568f3f(0xd2),_0x338835['Null']!=_0x568f3f(0x92)&&(_0x3836ec+=_0x568f3f(0xa5)+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xb7)+(_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)?'false':'true')+_0x568f3f(0xcc)),_0x3836ec+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x568f3f(0x9b),_0x568f3f(0x8b),_0x568f3f(0xb9)][_0x568f3f(0x93)](_0x5ae6cb)>-0x1?(_0x3836ec+=_0x568f3f(0xbb)+_0x338835[_0x568f3f(0xa0)]+'\x0a',_0x3836ec+=_0x568f3f(0xaf)+_0x338835[_0x568f3f(0xc7)]+':\x20[\x0a',_0x3836ec+=_0x568f3f(0x9c)+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xa7),_0x338835[_0x568f3f(0x95)]!='YES'&&(_0x3836ec+=_0x568f3f(0xa5)+_0x338835['Comment']+'不能为空`,\x20required:\x20'+(_0x338835['Null']!=_0x568f3f(0x92)?_0x568f3f(0x9f):_0x568f3f(0xc3))+_0x568f3f(0xcc)),_0x3836ec+='\x20\x20\x20\x20],\x0a\x0a'):(_0x3836ec+='\x20\x20\x20\x20//\x20'+_0x338835[_0x568f3f(0xa0)]+'\x0a',_0x3836ec+='\x20\x20\x20\x20'+_0x338835[_0x568f3f(0xc7)]+_0x568f3f(0xb2),_0x3836ec+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x338835[_0x568f3f(0xa0)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x338835[_0x568f3f(0x95)]!=_0x568f3f(0x92)&&(_0x3836ec+=_0x568f3f(0xa5)+_0x338835[_0x568f3f(0xa0)]+_0x568f3f(0xb7)+(_0x338835['Null']!='YES'?'false':_0x568f3f(0xc3))+_0x568f3f(0xcc)),_0x3836ec+=_0x568f3f(0xa3));}}}}}return _0x3836ec;}
|
|
1
|
+
const a20_0x28a34b=a20_0x225f;(function(_0x147417,_0x2660ff){const _0x2c4902=a20_0x225f,_0x4713b6=_0x147417();while(!![]){try{const _0x21dc3e=-parseInt(_0x2c4902(0xe8))/0x1*(parseInt(_0x2c4902(0xec))/0x2)+-parseInt(_0x2c4902(0xd6))/0x3+parseInt(_0x2c4902(0xe0))/0x4*(-parseInt(_0x2c4902(0xc7))/0x5)+parseInt(_0x2c4902(0xcf))/0x6+-parseInt(_0x2c4902(0xbd))/0x7*(parseInt(_0x2c4902(0xfb))/0x8)+parseInt(_0x2c4902(0xb9))/0x9*(-parseInt(_0x2c4902(0xcc))/0xa)+parseInt(_0x2c4902(0xb7))/0xb*(parseInt(_0x2c4902(0xde))/0xc);if(_0x21dc3e===_0x2660ff)break;else _0x4713b6['push'](_0x4713b6['shift']());}catch(_0x3555b4){_0x4713b6['push'](_0x4713b6['shift']());}}}(a20_0x4940,0xd5fd0));function a20_0x225f(_0x56f5c6,_0xe54054){const _0xd15c08=a20_0x4940();return a20_0x225f=function(_0x2568d0,_0x4727c3){_0x2568d0=_0x2568d0-0xb1;let _0x494059=_0xd15c08[_0x2568d0];return _0x494059;},a20_0x225f(_0x56f5c6,_0xe54054);}const a20_0x4727c3=(function(){let _0x917220=!![];return function(_0x28fae0,_0x41e129){const _0x1a4c85=_0x917220?function(){const _0x1a069e=a20_0x225f;if(_0x41e129){const _0x431d2e=_0x41e129[_0x1a069e(0xe4)](_0x28fae0,arguments);return _0x41e129=null,_0x431d2e;}}:function(){};return _0x917220=![],_0x1a4c85;};}()),a20_0x2568d0=a20_0x4727c3(this,function(){const _0x913e66=a20_0x225f;return a20_0x2568d0['toString']()[_0x913e66(0xd1)](_0x913e66(0xf9))[_0x913e66(0xcb)]()[_0x913e66(0xf5)](a20_0x2568d0)['search'](_0x913e66(0xf9));});a20_0x2568d0();'use strict';Object[a20_0x28a34b(0xb8)](exports,a20_0x28a34b(0xb2),{'value':!![]});const fs=require('fs'),path=require(a20_0x28a34b(0xdd)),helper_1=require('../helper');async function default_1({tablestartUpShort:_0x36a359,tablestartUpShort2:_0x417a96,moduleName:_0x4a11ba,controller:_0x2b2be0,apporbasic:_0x3d5fce,Fields:_0xdad6ef}){const _0x34d663=a20_0x28a34b;let _0x2ef342=process[_0x34d663(0xf6)]()+_0x34d663(0xf7)+(typeof _0x2b2be0==_0x34d663(0xe7)?'/'+_0x2b2be0:'');_0x4a11ba?_0x2ef342=_0x2ef342+('/pages/apps/'+_0x4a11ba+'/'+_0x417a96+_0x34d663(0xb4)):_0x2ef342=_0x2ef342+(_0x34d663(0xc2)+_0x3d5fce+'/'+_0x417a96+_0x34d663(0xb4));const _0x1815be=_0x34d663(0xfc)+_0x36a359+_0x34d663(0xd4)+_0x36a359+_0x34d663(0xf3),_0x17c8ec=await createAddRuleColumn({'Fields':_0xdad6ef}),_0x49fd01=await createEditRuleColumn({'Fields':_0xdad6ef});!fs['existsSync'](path[_0x34d663(0xb3)](_0x2ef342))&&fs[_0x34d663(0xe9)](path[_0x34d663(0xb3)](_0x2ef342),{'recursive':!![]}),fs[_0x34d663(0xf0)](_0x2ef342,_0x1815be[_0x34d663(0xce)]('%AddRuleColumn%',_0x17c8ec)[_0x34d663(0xce)](_0x34d663(0xee),_0x49fd01),'utf-8');}exports[a20_0x28a34b(0xdc)]=default_1;async function createAddRuleColumn({Fields:_0x47ec5f}){const _0x125367=a20_0x28a34b;let _0x2491e3='';for(let _0x9f1e75 in _0x47ec5f){let _0x1244bb=_0x47ec5f[_0x9f1e75],_0x46dd27=(0x0,helper_1[_0x125367(0xb6)])(_0x1244bb[_0x125367(0xc0)]);if(_0x1244bb[_0x125367(0xda)]=='displayorder'||_0x1244bb['Field']==_0x125367(0xb1)||_0x1244bb[_0x125367(0xda)]==_0x125367(0xd2)||_0x1244bb[_0x125367(0xda)]==_0x125367(0xfa))continue;if([_0x125367(0xe5),_0x125367(0xdb),_0x125367(0xd8)][_0x125367(0xe2)](_0x46dd27)!=-0x1)_0x2491e3+=_0x125367(0xbc)+_0x1244bb[_0x125367(0xf8)]+'\x0a',_0x2491e3+=_0x125367(0xbe)+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x1244bb['Null']!=_0x125367(0xeb)&&(_0x2491e3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1244bb[_0x125367(0xf8)]+_0x125367(0xca)+(_0x1244bb['Null']!='YES'?'false':_0x125367(0xe6))+'\x20},\x0a'),_0x2491e3+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x125367(0xd7),_0x125367(0xef),_0x125367(0xf2),_0x125367(0xbf)][_0x125367(0xe2)](_0x46dd27)!=-0x1)_0x2491e3+=_0x125367(0xbc)+_0x1244bb['Comment']+'\x0a',_0x2491e3+='\x20\x20\x20\x20'+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x2491e3+=_0x125367(0xb5)+_0x1244bb['Comment']+_0x125367(0xe1),_0x1244bb['Null']!=_0x125367(0xeb)&&(_0x2491e3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1244bb['Comment']+_0x125367(0xca)+(_0x1244bb[_0x125367(0xbb)]!='YES'?_0x125367(0xd3):_0x125367(0xe6))+_0x125367(0xd5)),_0x2491e3+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x125367(0xc5)][_0x125367(0xe2)](_0x46dd27)!=-0x1)_0x2491e3+='\x20\x20\x20\x20//\x20'+_0x1244bb[_0x125367(0xf8)]+'\x0a',_0x2491e3+=_0x125367(0xbe)+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x2491e3+=_0x125367(0xb5)+_0x1244bb['Comment']+_0x125367(0xe1),_0x1244bb[_0x125367(0xbb)]!=_0x125367(0xeb)&&(_0x2491e3+=_0x125367(0xea)+_0x1244bb[_0x125367(0xf8)]+_0x125367(0xca)+(_0x1244bb['Null']!=_0x125367(0xeb)?_0x125367(0xd3):_0x125367(0xe6))+_0x125367(0xd5)),_0x2491e3+=_0x125367(0xc4);else{if(_0x46dd27==_0x125367(0xc1))_0x2491e3+='\x20\x20\x20\x20//\x20'+_0x1244bb[_0x125367(0xf8)]+'\x0a',_0x2491e3+='\x20\x20\x20\x20'+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x1244bb[_0x125367(0xbb)]!=_0x125367(0xeb)&&(_0x2491e3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1244bb[_0x125367(0xf8)]+_0x125367(0xca)+(_0x1244bb[_0x125367(0xbb)]!=_0x125367(0xeb)?_0x125367(0xd3):_0x125367(0xe6))+'\x20},\x0a'),_0x2491e3+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x46dd27==_0x125367(0xe3)){let _0x92123d=(0x0,helper_1[_0x125367(0xc9)])(_0x1244bb['Type']);_0x2491e3+=_0x125367(0xbc)+_0x1244bb[_0x125367(0xf8)]+'\x0a',_0x2491e3+=_0x125367(0xbe)+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x2491e3+=_0x125367(0xb5)+_0x1244bb[_0x125367(0xf8)]+_0x125367(0xf1)+_0x92123d[_0x125367(0xc6)]('\x27,\x20\x27')+_0x125367(0xf4),_0x1244bb[_0x125367(0xbb)]!=_0x125367(0xeb)&&(_0x2491e3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1244bb[_0x125367(0xf8)]+'不能为空`,\x20required:\x20'+(_0x1244bb[_0x125367(0xbb)]!='YES'?'false':_0x125367(0xe6))+'\x20},\x0a'),_0x2491e3+='\x20\x20\x20\x20],\x0a\x0a';}else['date',_0x125367(0xed),'timestamp'][_0x125367(0xe2)](_0x46dd27)>-0x1?(_0x2491e3+=_0x125367(0xbc)+_0x1244bb[_0x125367(0xf8)]+'\x0a',_0x2491e3+=_0x125367(0xbe)+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x2491e3+=_0x125367(0xb5)+_0x1244bb[_0x125367(0xf8)]+_0x125367(0xc3),_0x1244bb[_0x125367(0xbb)]!='YES'&&(_0x2491e3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x1244bb[_0x125367(0xf8)]+_0x125367(0xca)+(_0x1244bb[_0x125367(0xbb)]!='YES'?'false':_0x125367(0xe6))+_0x125367(0xd5)),_0x2491e3+=_0x125367(0xc4)):(_0x2491e3+='\x20\x20\x20\x20//\x20'+_0x1244bb[_0x125367(0xf8)]+'\x0a',_0x2491e3+=_0x125367(0xbe)+_0x1244bb[_0x125367(0xda)]+_0x125367(0xd0),_0x2491e3+=_0x125367(0xb5)+_0x1244bb['Comment']+_0x125367(0xdf),_0x1244bb[_0x125367(0xbb)]!='YES'&&(_0x2491e3+=_0x125367(0xea)+_0x1244bb['Comment']+_0x125367(0xca)+(_0x1244bb[_0x125367(0xbb)]!=_0x125367(0xeb)?_0x125367(0xd3):_0x125367(0xe6))+_0x125367(0xd5)),_0x2491e3+=_0x125367(0xc4));}}}}}return _0x2491e3;}function a20_0x4940(){const _0x599e49=['\x27]\x20},\x0a','constructor','cwd','/vue','Comment','(((.+)+)+)+$','deleted_at','40UgLvlJ','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','created_at','__esModule','dirname','/interface.ts','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','getProp','33580382ePhrRe','defineProperty','342963DjXerD','timestamp','Null','\x20\x20\x20\x20//\x20','134876ZnCIaH','\x20\x20\x20\x20','number','Type','json','/pages/','`,\x20type:\x20\x22date\x22\x20},\x0a','\x20\x20\x20\x20],\x0a\x0a','tinyint','join','236710QuuHOG','displayorder','getEnum','不能为空`,\x20required:\x20','toString','240FjGXmP','date','replace','6010152hvKLqo',':\x20[\x0a','search','updated_at','false','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','\x20},\x0a','80742UQpaIK','float','mediumtext','\x27,\x20\x27','Field','longtext','default','path','12EmaNsf','`,\x20type:\x20\x22string\x22\x20},\x0a','76atuyFu','`,\x20type:\x20\x22number\x22\x20},\x0a','indexOf','enum','apply','text','true','string','3IBDYNq','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','YES','827092MgVXJO','datetime','%EditRuleColumn%','double','writeFileSync','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','decimal','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}'];a20_0x4940=function(){return _0x599e49;};return a20_0x4940();}async function createEditRuleColumn({Fields:_0x1487f7}){const _0x36b5f7=a20_0x28a34b;let _0x2c792d='';for(let _0x3940dc in _0x1487f7){let _0x11d479=_0x1487f7[_0x3940dc],_0x486ee2=(0x0,helper_1['getProp'])(_0x11d479[_0x36b5f7(0xc0)]);if(_0x11d479[_0x36b5f7(0xda)]==_0x36b5f7(0xc8)||_0x11d479[_0x36b5f7(0xda)]=='created_at'||_0x11d479['Field']=='updated_at'||_0x11d479[_0x36b5f7(0xda)]=='deleted_at')continue;if(['text',_0x36b5f7(0xdb),_0x36b5f7(0xd8)][_0x36b5f7(0xe2)](_0x486ee2)!=-0x1)_0x2c792d+=_0x36b5f7(0xbc)+_0x11d479[_0x36b5f7(0xf8)]+'\x0a',_0x2c792d+=_0x36b5f7(0xbe)+_0x11d479[_0x36b5f7(0xda)]+':\x20[\x0a',_0x11d479['Null']!=_0x36b5f7(0xeb)&&(_0x2c792d+=_0x36b5f7(0xea)+_0x11d479[_0x36b5f7(0xf8)]+_0x36b5f7(0xca)+(_0x11d479[_0x36b5f7(0xbb)]!=_0x36b5f7(0xeb)?_0x36b5f7(0xd3):'true')+_0x36b5f7(0xd5)),_0x2c792d+=_0x36b5f7(0xc4);else{if(['float',_0x36b5f7(0xef),_0x36b5f7(0xf2),_0x36b5f7(0xbf)]['indexOf'](_0x486ee2)!=-0x1)_0x2c792d+=_0x36b5f7(0xbc)+_0x11d479[_0x36b5f7(0xf8)]+'\x0a',_0x2c792d+=_0x36b5f7(0xbe)+_0x11d479[_0x36b5f7(0xda)]+':\x20[\x0a',_0x2c792d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x11d479[_0x36b5f7(0xf8)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x11d479[_0x36b5f7(0xbb)]!='YES'&&(_0x2c792d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x11d479[_0x36b5f7(0xf8)]+_0x36b5f7(0xca)+(_0x11d479['Null']!=_0x36b5f7(0xeb)?_0x36b5f7(0xd3):'true')+_0x36b5f7(0xd5)),_0x2c792d+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x36b5f7(0xc5)]['indexOf'](_0x486ee2)!=-0x1)_0x2c792d+='\x20\x20\x20\x20//\x20'+_0x11d479['Comment']+'\x0a',_0x2c792d+=_0x36b5f7(0xbe)+_0x11d479[_0x36b5f7(0xda)]+':\x20[\x0a',_0x2c792d+=_0x36b5f7(0xb5)+_0x11d479['Comment']+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x11d479['Null']!=_0x36b5f7(0xeb)&&(_0x2c792d+=_0x36b5f7(0xea)+_0x11d479['Comment']+_0x36b5f7(0xca)+(_0x11d479[_0x36b5f7(0xbb)]!=_0x36b5f7(0xeb)?_0x36b5f7(0xd3):_0x36b5f7(0xe6))+_0x36b5f7(0xd5)),_0x2c792d+=_0x36b5f7(0xc4);else{if(_0x486ee2==_0x36b5f7(0xc1))_0x2c792d+=_0x36b5f7(0xbc)+_0x11d479[_0x36b5f7(0xf8)]+'\x0a',_0x2c792d+='\x20\x20\x20\x20'+_0x11d479[_0x36b5f7(0xda)]+_0x36b5f7(0xd0),_0x11d479[_0x36b5f7(0xbb)]!='YES'&&(_0x2c792d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x11d479[_0x36b5f7(0xf8)]+'不能为空`,\x20required:\x20'+(_0x11d479[_0x36b5f7(0xbb)]!=_0x36b5f7(0xeb)?_0x36b5f7(0xd3):'true')+'\x20},\x0a'),_0x2c792d+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x486ee2=='enum'){let _0xbacf88=(0x0,helper_1[_0x36b5f7(0xc9)])(_0x11d479[_0x36b5f7(0xc0)]);_0x2c792d+=_0x36b5f7(0xbc)+_0x11d479['Comment']+'\x0a',_0x2c792d+=_0x36b5f7(0xbe)+_0x11d479[_0x36b5f7(0xda)]+_0x36b5f7(0xd0),_0x2c792d+=_0x36b5f7(0xb5)+_0x11d479[_0x36b5f7(0xf8)]+_0x36b5f7(0xf1)+_0xbacf88[_0x36b5f7(0xc6)](_0x36b5f7(0xd9))+_0x36b5f7(0xf4),_0x11d479['Null']!='YES'&&(_0x2c792d+=_0x36b5f7(0xea)+_0x11d479[_0x36b5f7(0xf8)]+_0x36b5f7(0xca)+(_0x11d479[_0x36b5f7(0xbb)]!=_0x36b5f7(0xeb)?_0x36b5f7(0xd3):'true')+_0x36b5f7(0xd5)),_0x2c792d+=_0x36b5f7(0xc4);}else[_0x36b5f7(0xcd),_0x36b5f7(0xed),_0x36b5f7(0xba)][_0x36b5f7(0xe2)](_0x486ee2)>-0x1?(_0x2c792d+=_0x36b5f7(0xbc)+_0x11d479[_0x36b5f7(0xf8)]+'\x0a',_0x2c792d+=_0x36b5f7(0xbe)+_0x11d479[_0x36b5f7(0xda)]+_0x36b5f7(0xd0),_0x2c792d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x11d479[_0x36b5f7(0xf8)]+_0x36b5f7(0xc3),_0x11d479[_0x36b5f7(0xbb)]!='YES'&&(_0x2c792d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x11d479[_0x36b5f7(0xf8)]+'不能为空`,\x20required:\x20'+(_0x11d479[_0x36b5f7(0xbb)]!='YES'?_0x36b5f7(0xd3):_0x36b5f7(0xe6))+_0x36b5f7(0xd5)),_0x2c792d+=_0x36b5f7(0xc4)):(_0x2c792d+='\x20\x20\x20\x20//\x20'+_0x11d479[_0x36b5f7(0xf8)]+'\x0a',_0x2c792d+=_0x36b5f7(0xbe)+_0x11d479['Field']+':\x20[\x0a',_0x2c792d+=_0x36b5f7(0xb5)+_0x11d479[_0x36b5f7(0xf8)]+_0x36b5f7(0xdf),_0x11d479[_0x36b5f7(0xbb)]!='YES'&&(_0x2c792d+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x11d479['Comment']+_0x36b5f7(0xca)+(_0x11d479['Null']!='YES'?_0x36b5f7(0xd3):_0x36b5f7(0xe6))+_0x36b5f7(0xd5)),_0x2c792d+=_0x36b5f7(0xc4));}}}}}return _0x2c792d;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x271811=a21_0x2a87;function a21_0x2ad7(){const _0x100ccb=['Type','export\x20function\x20','toString','Edit(','constructor','request\x27;\x0a\x0a','1904776qMrOUj','/add`,\x20params)\x0a','number','List(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','../','1467368HkKAnl',')\x20{\x0a','}`)\x0a','@详情\x0a','../helper','\x20\x20\x20\x20return\x20request(`GET`,\x20`','2614661SxizJv','.ts','/edit/${','3318792BAaxBD','__esModule','@删除\x0a','utf-8','getProp','\x20\x20\x20\x20return\x20request(`POST`,\x20`','mkdirSync','existsSync','cwd','148266emJBZn','/detail/${','20qrNDbn','string','@列表\x0a','Field','}\x0a\x0a','(((.+)+)+)+$','defineProperty',',\x20params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','apply','default','Remove(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','//\x20','1581415dsGAwb','path','@添加\x0a','../../','Detail(','/apis/','Add(params:\x20{\x20[key:\x20string]:\x20any\x20}\x20=\x20{})\x20{\x0a','mediumtext','296558FEAMGR','/list`,\x20params)\x0a','search'];a21_0x2ad7=function(){return _0x100ccb;};return a21_0x2ad7();}(function(_0x3b68e0,_0x5dae26){const _0x31e754=a21_0x2a87,_0x47e358=_0x3b68e0();while(!![]){try{const _0x3ab401=-parseInt(_0x31e754(0xcf))/0x1+-parseInt(_0x31e754(0xbb))/0x2*(parseInt(_0x31e754(0xb9))/0x3)+parseInt(_0x31e754(0xdd))/0x4+parseInt(_0x31e754(0xc7))/0x5+parseInt(_0x31e754(0xe6))/0x6+-parseInt(_0x31e754(0xe3))/0x7+parseInt(_0x31e754(0xd8))/0x8;if(_0x3ab401===_0x5dae26)break;else _0x47e358['push'](_0x47e358['shift']());}catch(_0x5bcf1e){_0x47e358['push'](_0x47e358['shift']());}}}(a21_0x2ad7,0x4bb25));const a21_0x360c3f=(function(){let _0x37d2d4=!![];return function(_0x36db28,_0x22434d){const _0x4ef9d5=_0x37d2d4?function(){const _0x5394b7=a21_0x2a87;if(_0x22434d){const _0x552e97=_0x22434d[_0x5394b7(0xc3)](_0x36db28,arguments);return _0x22434d=null,_0x552e97;}}:function(){};return _0x37d2d4=![],_0x4ef9d5;};}()),a21_0x123411=a21_0x360c3f(this,function(){const _0x246cd7=a21_0x2a87;return a21_0x123411[_0x246cd7(0xd4)]()[_0x246cd7(0xd1)](_0x246cd7(0xc0))['toString']()[_0x246cd7(0xd6)](a21_0x123411)[_0x246cd7(0xd1)]('(((.+)+)+)+$');});a21_0x123411();'use strict';Object[a21_0x271811(0xc1)](exports,a21_0x271811(0xb1),{'value':!![]});const fs=require('fs'),path_1=require(a21_0x271811(0xc8)),helper_1=require(a21_0x271811(0xe1));async function default_1({tablestartUpShort:_0x5a68ec,tablestartUpShort2:_0x52e309,moduleName:_0x4de87c,controller:_0x5b8f0b,Comment:_0x5e9c9c,apporbasic:_0x336a7d,Primary:_0x4f53ee}){const _0x2719c7=a21_0x271811;let _0xca6e52=process[_0x2719c7(0xb8)]()+'/vue'+(typeof _0x5b8f0b==_0x2719c7(0xbc)?'/'+_0x5b8f0b:'');_0x4de87c?_0xca6e52=_0xca6e52+('/apis/apps/'+_0x4de87c+'/'+_0x5a68ec+'.ts'):_0xca6e52=_0xca6e52+(_0x2719c7(0xcc)+_0x336a7d+'/'+_0x5a68ec+_0x2719c7(0xe4));if(!fs[_0x2719c7(0xb7)](_0xca6e52)){const _0x31ca48=['text',_0x2719c7(0xce),_0x2719c7(0xbc)]['indexOf']((0x0,helper_1[_0x2719c7(0xb4)])(_0x4f53ee[_0x2719c7(0xd2)]))==-0x1,_0x198307=''+(typeof _0x5b8f0b==_0x2719c7(0xbc)?_0x5b8f0b+'/':'')+(_0x4de87c?_0x4de87c+'/':'')+_0x52e309;let _0x282a76='import\x20{\x20request\x20}\x20from\x20\x27'+(_0x4de87c?_0x2719c7(0xca):_0x2719c7(0xdc))+_0x2719c7(0xd7);_0x282a76+=_0x2719c7(0xc6)+_0x5e9c9c+_0x2719c7(0xe0),_0x282a76+=_0x2719c7(0xd3)+_0x5a68ec+_0x2719c7(0xcb)+_0x4f53ee[_0x2719c7(0xbe)]+':\x20'+(_0x31ca48?_0x2719c7(0xda):_0x2719c7(0xbc))+_0x2719c7(0xde),_0x282a76+='\x20\x20\x20\x20return\x20request(`GET`,\x20`'+_0x198307+_0x2719c7(0xba)+_0x4f53ee[_0x2719c7(0xbe)]+_0x2719c7(0xdf),_0x282a76+=_0x2719c7(0xbf),_0x282a76+=_0x2719c7(0xc6)+_0x5e9c9c+_0x2719c7(0xc9),_0x282a76+=_0x2719c7(0xd3)+_0x5a68ec+_0x2719c7(0xcd),_0x282a76+=_0x2719c7(0xb5)+_0x198307+_0x2719c7(0xd9),_0x282a76+=_0x2719c7(0xbf),_0x282a76+=_0x2719c7(0xc6)+_0x5e9c9c+'@修改\x0a',_0x282a76+=_0x2719c7(0xd3)+_0x5a68ec+_0x2719c7(0xd5)+_0x4f53ee[_0x2719c7(0xbe)]+':\x20'+(_0x31ca48?_0x2719c7(0xda):_0x2719c7(0xbc))+_0x2719c7(0xc2),_0x282a76+='\x20\x20\x20\x20return\x20request(`POST`,\x20`'+_0x198307+_0x2719c7(0xe5)+_0x4f53ee[_0x2719c7(0xbe)]+'}`,\x20params)\x0a',_0x282a76+=_0x2719c7(0xbf),_0x282a76+=_0x2719c7(0xc6)+_0x5e9c9c+_0x2719c7(0xbd),_0x282a76+=_0x2719c7(0xd3)+_0x5a68ec+_0x2719c7(0xdb),_0x282a76+=_0x2719c7(0xe2)+_0x198307+_0x2719c7(0xd0),_0x282a76+=_0x2719c7(0xbf),_0x282a76+=_0x2719c7(0xc6)+_0x5e9c9c+_0x2719c7(0xb2),_0x282a76+=_0x2719c7(0xd3)+_0x5a68ec+_0x2719c7(0xc5),_0x282a76+=_0x2719c7(0xb5)+_0x198307+'/remove`,\x20params)\x0a',_0x282a76+='}\x0a\x0a',fs[_0x2719c7(0xb6)]((0x0,path_1['dirname'])(_0xca6e52),{'recursive':!![]}),fs['writeFileSync'](_0xca6e52,_0x282a76,_0x2719c7(0xb3));}}function a21_0x2a87(_0x88f764,_0x202445){const _0x52ff84=a21_0x2ad7();return a21_0x2a87=function(_0x123411,_0x360c3f){_0x123411=_0x123411-0xb1;let _0x2ad73a=_0x52ff84[_0x123411];return _0x2ad73a;},a21_0x2a87(_0x88f764,_0x202445);}exports[a21_0x271811(0xc4)]=default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x4c6949=a22_0x41f5;(function(_0x2b9c72,_0x2d44d2){const _0x422c3e=a22_0x41f5,_0x5aee52=_0x2b9c72();while(!![]){try{const _0x132a86=-parseInt(_0x422c3e(0xaa))/0x1*(-parseInt(_0x422c3e(0x8b))/0x2)+parseInt(_0x422c3e(0x9a))/0x3+parseInt(_0x422c3e(0xa1))/0x4*(parseInt(_0x422c3e(0x96))/0x5)+-parseInt(_0x422c3e(0x93))/0x6+parseInt(_0x422c3e(0x8a))/0x7+parseInt(_0x422c3e(0x84))/0x8+-parseInt(_0x422c3e(0xa8))/0x9;if(_0x132a86===_0x2d44d2)break;else _0x5aee52['push'](_0x5aee52['shift']());}catch(_0x230ef4){_0x5aee52['push'](_0x5aee52['shift']());}}}(a22_0x470d,0x8145a));const a22_0xb324d4=(function(){let _0x151494=!![];return function(_0x424424,_0x87b0c4){const _0x339f58=_0x151494?function(){const _0x174115=a22_0x41f5;if(_0x87b0c4){const _0x4aa01c=_0x87b0c4[_0x174115(0x9f)](_0x424424,arguments);return _0x87b0c4=null,_0x4aa01c;}}:function(){};return _0x151494=![],_0x339f58;};}()),a22_0x3363b5=a22_0xb324d4(this,function(){const _0xe3ef54=a22_0x41f5;return a22_0x3363b5['toString']()[_0xe3ef54(0xa2)](_0xe3ef54(0x86))[_0xe3ef54(0xab)]()[_0xe3ef54(0xa6)](a22_0x3363b5)[_0xe3ef54(0xa2)](_0xe3ef54(0x86));});function a22_0x41f5(_0x35ad12,_0x40f70b){const _0x2f1d77=a22_0x470d();return a22_0x41f5=function(_0x3363b5,_0xb324d4){_0x3363b5=_0x3363b5-0x84;let _0x470dd8=_0x2f1d77[_0x3363b5];return _0x470dd8;},a22_0x41f5(_0x35ad12,_0x40f70b);}a22_0x3363b5();'use strict';Object['defineProperty'](exports,a22_0x4c6949(0x90),{'value':!![]});const fs=require('fs'),path_1=require(a22_0x4c6949(0x88));async function default_1({tablestartUpShort2:_0x3fda26,controller:_0x163a71,moduleName:_0x35c07f,Comment:_0x246de7,apporbasic:_0x2f2966,vuedialog:_0x5f4eea}){const _0x111f9d=a22_0x4c6949;let _0x41f054=process[_0x111f9d(0xa9)]()+_0x111f9d(0x91)+(typeof _0x163a71==_0x111f9d(0x85)?'/'+_0x163a71:'');_0x35c07f?_0x41f054=_0x41f054+(_0x111f9d(0x98)+_0x35c07f+'/layout.vue'):_0x41f054=_0x41f054+('/pages/'+_0x2f2966+_0x111f9d(0x97));await createLayout(_0x41f054,{'moduleName':_0x35c07f});const _0x5e89be=fs['readFileSync'](_0x41f054,_0x111f9d(0xa7)),_0x37ffd5=_0x111f9d(0x87)+(_0x246de7+'\x22')[_0x111f9d(0x8f)](0x14)+_0x111f9d(0x8e)+(''+(typeof _0x35c07f==_0x111f9d(0x85)?'/apps-'+_0x35c07f+'/':'/'+_0x2f2966+'/')+_0x3fda26+(!_0x5f4eea?_0x111f9d(0x95):'')+'\x22')[_0x111f9d(0x8f)](0x14)+'}';_0x5e89be[_0x111f9d(0x9c)](_0x37ffd5)==-0x1&&fs[_0x111f9d(0x99)](_0x41f054,_0x5e89be[_0x111f9d(0x92)](_0x111f9d(0x9e),_0x37ffd5+_0x111f9d(0x89)));}exports[a22_0x4c6949(0xa3)]=default_1;function a22_0x470d(){const _0x55c312=['\x20\x20\x20\x20const\x20menus\x20=\x20ref([\x0a',',\x20path:\x20\x22','padEnd','__esModule','/vue','replace','1383726pJYYCd','/\x22\x20:menus=\x22menus\x22>\x0a\x0a','/list','70TdaAgs','/layout.vue','/pages/apps/','writeFileSync','2617338zkmsNA','</template>\x0a\x0a','indexOf','mkdirSync','//\x20add\x20menu\x20here','apply','</script>\x0a\x0a','122072rkFckI','search','default','existsSync','\x20\x20\x20\x20</page-layout>\x0a','constructor','utf-8','24841089zMskyt','cwd','587018tDWSLa','toString','<script\x20lang=\x22ts\x22\x20setup>\x0a','6007392suKAgM','string','(((.+)+)+)+$','{title:\x20\x22','path',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here','6178200TvLIVA','2bAmpTL','\x20\x20\x20\x20])\x0a'];a22_0x470d=function(){return _0x55c312;};return a22_0x470d();}async function createLayout(_0x4f5eeb,{moduleName:_0x1e4fac}){const _0x5100fb=a22_0x4c6949;if(!fs[_0x5100fb(0xa4)](_0x4f5eeb)){let _0xe54bd6='<template>\x0a';_0xe54bd6+='\x20\x20\x20\x20<page-layout\x20title=\x22未设置\x22\x20navbar=\x22/apps-'+_0x1e4fac+_0x5100fb(0x94),_0xe54bd6+=_0x5100fb(0xa5),_0xe54bd6+=_0x5100fb(0x9b),_0xe54bd6+=_0x5100fb(0xac),_0xe54bd6+=_0x5100fb(0x8d),_0xe54bd6+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20menu\x20here\x0a',_0xe54bd6+=_0x5100fb(0x8c),_0xe54bd6+=_0x5100fb(0xa0),fs[_0x5100fb(0x9d)]((0x0,path_1['dirname'])(_0x4f5eeb),{'recursive':!![]}),fs[_0x5100fb(0x99)](_0x4f5eeb,_0xe54bd6,'utf-8');}}
|