anncic-apihelper 3.4.3 → 3.4.5
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/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
function a18_0x2195(_0x5b5a02,_0x72e4d0){const _0x22ec90=a18_0x58b7();return a18_0x2195=function(_0x5d4e00,_0x45642a){_0x5d4e00=_0x5d4e00-0x144;let _0x58b762=_0x22ec90[_0x5d4e00];return _0x58b762;},a18_0x2195(_0x5b5a02,_0x72e4d0);}const a18_0x383bc7=a18_0x2195;(function(_0x394ddf,_0x26a0ff){const _0x1888db=a18_0x2195,_0x374b85=_0x394ddf();while(!![]){try{const _0x396eb0=-parseInt(_0x1888db(0x1b3))/0x1*(parseInt(_0x1888db(0x19c))/0x2)+-parseInt(_0x1888db(0x154))/0x3*(parseInt(_0x1888db(0x1b7))/0x4)+parseInt(_0x1888db(0x185))/0x5*(-parseInt(_0x1888db(0x16e))/0x6)+-parseInt(_0x1888db(0x1f7))/0x7+-parseInt(_0x1888db(0x1b8))/0x8*(-parseInt(_0x1888db(0x17e))/0x9)+parseInt(_0x1888db(0x165))/0xa*(parseInt(_0x1888db(0x1a7))/0xb)+parseInt(_0x1888db(0x176))/0xc;if(_0x396eb0===_0x26a0ff)break;else _0x374b85['push'](_0x374b85['shift']());}catch(_0x34a875){_0x374b85['push'](_0x374b85['shift']());}}}(a18_0x58b7,0x95662));const a18_0x45642a=(function(){let _0x1ce700=!![];return function(_0x5517d8,_0xf09d97){const _0x28ae9d=_0x1ce700?function(){const _0x17d6e3=a18_0x2195;if(_0xf09d97){const _0x5ecb4e=_0xf09d97[_0x17d6e3(0x158)](_0x5517d8,arguments);return _0xf09d97=null,_0x5ecb4e;}}:function(){};return _0x1ce700=![],_0x28ae9d;};}()),a18_0x5d4e00=a18_0x45642a(this,function(){const _0x2981bf=a18_0x2195;return a18_0x5d4e00[_0x2981bf(0x1f2)]()[_0x2981bf(0x181)](_0x2981bf(0x150))[_0x2981bf(0x1f2)]()['constructor'](a18_0x5d4e00)['search'](_0x2981bf(0x150));});a18_0x5d4e00();'use strict';Object[a18_0x383bc7(0x19b)](exports,'__esModule',{'value':!![]});const fs=require('fs'),path_1=require(a18_0x383bc7(0x174)),helper_1=require('../helper');async function default_1({moduleName:_0x74d898,controller:_0x5cf203,tablestartUpShort:_0x31486c,tablestartUpShort2:_0x44ad6b,Primary:_0xf19bad,Fields:_0x46c33a,apporbasic:_0xbaed9c,Comment:_0x556bae}){const _0x3f7e27=a18_0x383bc7;await createIndex({'moduleName':_0x74d898,'controller':_0x5cf203,'tablestartUpShort':_0x31486c,'tablestartUpShort2':_0x44ad6b,'Primary':_0xf19bad,'Fields':_0x46c33a,'apporbasic':_0xbaed9c}),await createSearch({'moduleName':_0x74d898,'controller':_0x5cf203,'tablestartUpShort2':_0x44ad6b,'Primary':_0xf19bad,'Fields':_0x46c33a,'apporbasic':_0xbaed9c}),await createAddOrEdit({'moduleName':_0x74d898,'controller':_0x5cf203,'tablestartUpShort':_0x31486c,'tablestartUpShort2':_0x44ad6b,'Primary':_0xf19bad,'Fields':_0x46c33a,'apporbasic':_0xbaed9c,'Comment':_0x556bae},'add'),await createAddOrEdit({'moduleName':_0x74d898,'controller':_0x5cf203,'tablestartUpShort':_0x31486c,'tablestartUpShort2':_0x44ad6b,'Primary':_0xf19bad,'Fields':_0x46c33a,'apporbasic':_0xbaed9c,'Comment':_0x556bae},_0x3f7e27(0x1d8));}exports['default']=default_1;async function createIndex({moduleName:_0x3a3998,controller:_0x36b2fd,tablestartUpShort:_0xd10534,tablestartUpShort2:_0xe6981e,Primary:_0x486bd6,Fields:_0x5b08c9,apporbasic:_0x1fd7b2}){const _0x1a05ea=a18_0x383bc7;let _0x4fa086=process[_0x1a05ea(0x1ae)]()+_0x1a05ea(0x186)+(typeof _0x36b2fd==_0x1a05ea(0x19d)?'/'+_0x36b2fd:'');_0x3a3998?_0x4fa086=_0x4fa086+(_0x1a05ea(0x1e2)+_0x3a3998+'/'+_0xe6981e+_0x1a05ea(0x152)):_0x4fa086=_0x4fa086+('/pages/'+_0x1fd7b2+'/'+_0xe6981e+'/list/index.vue');if(!fs['existsSync'](_0x4fa086)){let _0x49a7a9=_0x1a05ea(0x16a)+('\x22'+_0x486bd6[_0x1a05ea(0x1d5)]+'\x22')[_0x1a05ea(0x1cc)](0x14)+(_0x1a05ea(0x15d)+(_0x486bd6['Comment']||'编号')+'\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>');for(let _0x43e411 in _0x5b08c9){const _0x1cdb55=_0x5b08c9[_0x43e411];if([_0x1a05ea(0x1fa),_0x1a05ea(0x1c3),_0x1a05ea(0x1f4),_0x1a05ea(0x18e)][_0x1a05ea(0x1d9)](_0x43e411)!=-0x1)continue;if(_0x43e411['substring'](_0x43e411[_0x1a05ea(0x1f6)]-0x3)==_0x1a05ea(0x156)||_0x43e411['substring'](_0x43e411[_0x1a05ea(0x1f6)]-0x5)=='thumb'||_0x43e411=='thumb'||_0x43e411[_0x1a05ea(0x1f8)](_0x43e411[_0x1a05ea(0x1f6)]-0x4)==_0x1a05ea(0x18d)||_0x43e411=='logo')_0x49a7a9+='\x0a'+_0x1a05ea(0x195)+'<el-table-column\x20prop='+('\x22'+_0x43e411+'\x22')[_0x1a05ea(0x1cc)](0x14)+(_0x1a05ea(0x15d)+(_0x1cdb55[_0x1a05ea(0x15f)]||_0x1cdb55['Field'])+'\x22\x20align=\x27center\x27\x20show-overflow-tooltip>'),_0x49a7a9+='\x0a'+_0x1a05ea(0x1d6)+'<template\x20#default=\x22scope\x22>',_0x49a7a9+='\x0a'+_0x1a05ea(0x166)+_0x1a05ea(0x17f),_0x49a7a9+='\x0a'+_0x1a05ea(0x164)+('<a\x20:href=\x22scope.row.'+_0x43e411+_0x1a05ea(0x1d2)),_0x49a7a9+='\x0a'+_0x1a05ea(0x1c6)+(_0x1a05ea(0x18b)+_0x43e411+_0x1a05ea(0x1ea)),_0x49a7a9+='\x0a'+_0x1a05ea(0x164)+_0x1a05ea(0x1fc),_0x49a7a9+='\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'+_0x1a05ea(0x187),_0x49a7a9+='\x0a'+_0x1a05ea(0x1c6)+('<el-avatar\x20:src=\x22scope.row.'+_0x43e411+_0x1a05ea(0x1c8)),_0x49a7a9+='\x0a'+_0x1a05ea(0x164)+_0x1a05ea(0x1db),_0x49a7a9+='\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'+_0x1a05ea(0x1c5),_0x49a7a9+='\x0a'+_0x1a05ea(0x1d6)+_0x1a05ea(0x1db),_0x49a7a9+='\x0a'+_0x1a05ea(0x195)+_0x1a05ea(0x145);else[_0x1a05ea(0x15c)][_0x1a05ea(0x1d9)]((0x0,helper_1[_0x1a05ea(0x171)])(_0x1cdb55[_0x1a05ea(0x1f9)]))==-0x1&&(_0x49a7a9+='\x0a'+_0x1a05ea(0x195)+_0x1a05ea(0x16a)+('\x22'+_0x43e411+'\x22')[_0x1a05ea(0x1cc)](0x14)+(_0x1a05ea(0x15d)+(_0x1cdb55[_0x1a05ea(0x15f)]||_0x1cdb55['Field'])+_0x1a05ea(0x1a0)));}const _0x2f77ef=''+(typeof _0x36b2fd==_0x1a05ea(0x19d)?_0x36b2fd+'/':'')+(_0x3a3998?_0x3a3998+'/':'')+_0xe6981e;fs[_0x1a05ea(0x1a4)]((0x0,path_1[_0x1a05ea(0x14f)])(_0x4fa086),{'recursive':!![]}),fs[_0x1a05ea(0x1cd)](_0x4fa086,_0x1a05ea(0x1a8)+_0x2f77ef+_0x1a05ea(0x1e7)+_0x49a7a9+'\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@/'+_0x2f77ef+_0x1a05ea(0x1b9)+_0x486bd6[_0x1a05ea(0x1d5)]+'`)\x22\x20@click=\x22$router.push(`edit?'+_0x486bd6[_0x1a05ea(0x1d5)]+'=${scope.row.'+_0x486bd6[_0x1a05ea(0x1d5)]+_0x1a05ea(0x1e9)+_0x2f77ef+_0x1a05ea(0x191)+_0xd10534+'List,\x20'+_0xd10534+_0x1a05ea(0x184)+_0xd10534+_0x1a05ea(0x182)+(_0x3a3998?_0x1a05ea(0x194)+_0x3a3998:''+_0x1fd7b2)+'/'+_0xd10534+_0x1a05ea(0x1dd)+_0xd10534+_0x1a05ea(0x183)+_0xd10534+_0x1a05ea(0x1f1)+_0x486bd6[_0x1a05ea(0x1d5)]+_0x1a05ea(0x16f)+_0x486bd6[_0x1a05ea(0x1d5)]+'\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.'+_0x486bd6[_0x1a05ea(0x1d5)]+')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0xd10534+'Edit(item.'+_0x486bd6[_0x1a05ea(0x1d5)]+',\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>',_0x1a05ea(0x157));}}async function createSearch({moduleName:_0x3fd755,tablestartUpShort2:_0x4e5ed3,controller:_0x394d70,Primary:_0x238495,Fields:_0x56a66f,apporbasic:_0x4cc41a}){const _0x4a4b7f=a18_0x383bc7;let _0x3f905d=process[_0x4a4b7f(0x1ae)]()+'/vue'+(typeof _0x394d70=='string'?'/'+_0x394d70:'');_0x3fd755?_0x3f905d=_0x3f905d+(_0x4a4b7f(0x1e2)+_0x3fd755+'/'+_0x4e5ed3+'/list/components/search.vue'):_0x3f905d=_0x3f905d+(_0x4a4b7f(0x18f)+_0x4cc41a+'/'+_0x4e5ed3+_0x4a4b7f(0x177));if(!fs['existsSync'](_0x3f905d)){let _0x926afa='';_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+('<el-form-item\x20label=\x22'+(_0x238495[_0x4a4b7f(0x15f)]||'编号')+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x197)+_0x238495['Field']+_0x4a4b7f(0x175)+(_0x238495['Comment']||'编号')+_0x4a4b7f(0x16c)),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+_0x4a4b7f(0x17b);for(let _0x42b321 in _0x56a66f){const _0x364235=_0x56a66f[_0x42b321];if(['updated_at',_0x4a4b7f(0x1f4),_0x4a4b7f(0x18e)][_0x4a4b7f(0x1d9)](_0x42b321)!=-0x1)continue;if(_0x42b321['substring'](_0x42b321['length']-0x3)=='img'||_0x42b321['substring'](_0x42b321['length']-0x5)==_0x4a4b7f(0x1df)||_0x42b321==_0x4a4b7f(0x1df)||_0x42b321['substring'](_0x42b321[_0x4a4b7f(0x1f6)]-0x4)=='logo'||_0x42b321==_0x4a4b7f(0x18d))continue;if(_0x42b321['substring'](_0x42b321[_0x4a4b7f(0x1f6)]-0x3)=='num')_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+('<el-input-number\x20v-model=\x22props.search.'+_0x42b321+_0x4a4b7f(0x175)+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x1b2)),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+'</el-form-item>'+'\x0a';else{if(_0x42b321['endsWith']('_id')){let _0x30ec1a=''+(typeof _0x394d70==_0x4a4b7f(0x19d)?_0x394d70+'/':'')+(_0x3fd755?_0x3fd755+'/':'')+_0x4e5ed3;_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x1bd)+(_0x4a4b7f(0x1c4)+_0x42b321+_0x4a4b7f(0x1e1)+_0x30ec1a+_0x4a4b7f(0x172)),_0x926afa+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4a4b7f(0x17b)+'\x0a';}else switch((0x0,helper_1[_0x4a4b7f(0x171)])(_0x364235[_0x4a4b7f(0x1f9)])){case'enum':_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x19a)+_0x42b321+_0x4a4b7f(0x1ad)+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x1dc));for(let _0x33bd94 of(0x0,helper_1[_0x4a4b7f(0x198)])(_0x364235['Type'])){_0x926afa+='\x0a'+_0x4a4b7f(0x1bd)+(_0x4a4b7f(0x1d4)+_0x33bd94+'\x22\x20value=\x22'+_0x33bd94+_0x4a4b7f(0x151));}_0x926afa+='\x0a'+_0x4a4b7f(0x168)+_0x4a4b7f(0x170),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+'</el-form-item>'+'\x0a';break;case _0x4a4b7f(0x155):_0x926afa+='\x0a'+'\x20\x20\x20\x20'+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4a4b7f(0x169)+_0x42b321+_0x4a4b7f(0x19e)+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x1c1)),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+_0x4a4b7f(0x17b)+'\x0a',_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x169)+_0x42b321+'_end\x22\x20placeholder=\x22选择'+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x188)),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+'</el-form-item>'+'\x0a';break;case _0x4a4b7f(0x1cb):_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+(_0x4a4b7f(0x15a)+(_0x364235['Comment']||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x169)+_0x42b321+'_start\x22\x20placeholder=\x22选择'+_0x364235[_0x4a4b7f(0x15f)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+_0x4a4b7f(0x17b)+'\x0a',_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+(_0x4a4b7f(0x15a)+(_0x364235['Comment']||_0x364235['Field'])+'\x22>'),_0x926afa+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4a4b7f(0x169)+_0x42b321+_0x4a4b7f(0x162)+_0x364235[_0x4a4b7f(0x15f)]+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+_0x4a4b7f(0x17b)+'\x0a';break;case _0x4a4b7f(0x15e):_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+('<el-form-item\x20label=\x22'+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235['Field'])+'\x22>'),_0x926afa+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x4a4b7f(0x169)+_0x42b321+_0x4a4b7f(0x19e)+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x196)),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+_0x4a4b7f(0x17b)+'\x0a',_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x169)+_0x42b321+'_end\x22\x20placeholder=\x22选择'+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x1a6)),_0x926afa+='\x0a'+_0x4a4b7f(0x1bf)+_0x4a4b7f(0x17b)+'\x0a';break;case'string':_0x926afa+='\x0a'+'\x20\x20\x20\x20'+(_0x4a4b7f(0x15a)+(_0x364235[_0x4a4b7f(0x15f)]||_0x364235[_0x4a4b7f(0x1d5)])+'\x22>'),_0x926afa+='\x0a'+_0x4a4b7f(0x168)+(_0x4a4b7f(0x197)+_0x42b321+_0x4a4b7f(0x175)+_0x364235[_0x4a4b7f(0x15f)]+_0x4a4b7f(0x16c)),_0x926afa+='\x0a'+'\x20\x20\x20\x20'+_0x4a4b7f(0x17b)+'\x0a';}}}fs[_0x4a4b7f(0x1a4)]((0x0,path_1[_0x4a4b7f(0x14f)])(_0x3f905d),{'recursive':!![]}),fs['writeFileSync'](_0x3f905d,_0x4a4b7f(0x1c2)+_0x926afa+'\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>',_0x4a4b7f(0x157));}}async function createAddOrEdit({moduleName:_0x3f77e5,controller:_0x304797,tablestartUpShort:_0x1335bc,tablestartUpShort2:_0x4b7a65,Primary:_0x148d44,Fields:_0x1a5b54,apporbasic:_0x3f7568,Comment:_0x99f60f},_0x175f5b='add'){const _0x1e1501=a18_0x383bc7;let _0x1db346=process[_0x1e1501(0x1ae)]()+_0x1e1501(0x186)+(typeof _0x304797==_0x1e1501(0x19d)?'/'+_0x304797:'');_0x3f77e5?_0x1db346=_0x1db346+(_0x1e1501(0x1e2)+_0x3f77e5+'/'+_0x4b7a65+'/'+_0x175f5b+_0x1e1501(0x1c9)):_0x1db346=_0x1db346+(_0x1e1501(0x18f)+_0x3f7568+'/'+_0x4b7a65+'/'+_0x175f5b+'/index.vue');if(!fs[_0x1e1501(0x178)](_0x1db346)){const _0x427586=[_0x1e1501(0x15c),_0x1e1501(0x1a3),_0x1e1501(0x19d)][_0x1e1501(0x1d9)]((0x0,helper_1[_0x1e1501(0x171)])(_0x148d44[_0x1e1501(0x1f9)]))==-0x1,_0x1b3e8b=''+(typeof _0x304797==_0x1e1501(0x19d)?_0x304797+'/':'')+(_0x3f77e5?_0x3f77e5+'/':'')+_0x4b7a65;let _0x58a982='';for(let _0x473acc in _0x1a5b54){const _0x3c1b1f=_0x1a5b54[_0x473acc];if([_0x1e1501(0x1fa),'updated_at','deleted_at',_0x1e1501(0x18e)][_0x1e1501(0x1d9)](_0x473acc)!=-0x1)continue;if(_0x473acc[_0x1e1501(0x1f8)](_0x473acc[_0x1e1501(0x1f6)]-0x4)==_0x1e1501(0x1cf)||_0x473acc['substring'](_0x473acc[_0x1e1501(0x1f6)]-0x6)=='thumbs')_0x58a982+='\x0a'+_0x1e1501(0x1bd)+(_0x1e1501(0x15a)+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+_0x1e1501(0x173)),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1d1)+_0x473acc+_0x1e1501(0x190)+(_0x3f77e5?'module=\x22'+_0x3f77e5+'\x22':'')+_0x1e1501(0x1ec)),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+'</el-form-item>'+'\x0a';else{if(_0x473acc[_0x1e1501(0x1f8)](_0x473acc['length']-0x3)==_0x1e1501(0x156)||_0x473acc[_0x1e1501(0x1f8)](_0x473acc[_0x1e1501(0x1f6)]-0x5)=='thumb'||_0x473acc==_0x1e1501(0x1df)||_0x473acc[_0x1e1501(0x1f8)](_0x473acc[_0x1e1501(0x1f6)]-0x4)=='logo'||_0x473acc==_0x1e1501(0x18d))_0x58a982+='\x0a'+_0x1e1501(0x1bd)+(_0x1e1501(0x15a)+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f['Field'])+_0x1e1501(0x1e3)+_0x473acc+_0x1e1501(0x173)),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1d1)+_0x473acc+_0x1e1501(0x1e5)+(_0x3f77e5?_0x1e1501(0x1e8)+_0x3f77e5+'\x22':'')+'/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';else{if(_0x473acc[_0x1e1501(0x1f8)](_0x473acc[_0x1e1501(0x1f6)]-0x4)==_0x1e1501(0x179)||_0x473acc[_0x1e1501(0x1f8)](_0x473acc['length']-0x3)==_0x1e1501(0x16d))_0x58a982+='\x0a'+_0x1e1501(0x1bd)+('<el-form-item\x20label=\x22'+(_0x3c1b1f['Comment']||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1a2)+_0x473acc+_0x1e1501(0x144)+_0x3c1b1f[_0x1e1501(0x15f)]+'\x22\x20split=\x22-\x22\x20clearable/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';else{if(_0x473acc[_0x1e1501(0x1e4)](-0x3)==_0x1e1501(0x1b1))_0x58a982+='\x0a'+_0x1e1501(0x1bd)+('<el-form-item\x20label=\x22'+(_0x3c1b1f['Comment']||_0x3c1b1f[_0x1e1501(0x1d5)])+'\x22\x20prop=\x22'+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1d3)+_0x473acc+'\x22\x20placeholder=\x22请输入'+_0x3c1b1f[_0x1e1501(0x15f)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';else{if(_0x473acc[_0x1e1501(0x1e4)](-0x4)==_0x1e1501(0x1c0))_0x58a982+='\x0a'+_0x1e1501(0x1bd)+(_0x1e1501(0x15a)+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f['Field'])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+('<el-input\x20v-model=\x22formdata.'+_0x473acc+'\x22\x20placeholder=\x22请输入'+_0x3c1b1f[_0x1e1501(0x15f)]+'\x22\x20clearable/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';else{if(_0x473acc[_0x1e1501(0x1e4)](-0x3)==_0x1e1501(0x167)){let _0x25509a=''+(typeof _0x304797==_0x1e1501(0x19d)?_0x304797+'/':'')+(_0x3f77e5?_0x3f77e5+'/':'')+_0x4b7a65;_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1e1501(0x15a)+(_0x3c1b1f['Comment']||_0x3c1b1f['Field'])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1d0)+_0x473acc+_0x1e1501(0x1e1)+_0x25509a+_0x1e1501(0x172)),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';}else switch((0x0,helper_1[_0x1e1501(0x171)])(_0x3c1b1f[_0x1e1501(0x1f9)])){case _0x1e1501(0x1da):_0x58a982+='\x0a'+_0x1e1501(0x1bd)+(_0x1e1501(0x15a)+(_0x3c1b1f['Comment']||_0x3c1b1f[_0x1e1501(0x1d5)])+'\x22\x20prop=\x22'+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1d3)+_0x473acc+_0x1e1501(0x175)+_0x3c1b1f[_0x1e1501(0x15f)]+_0x1e1501(0x1af)),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';break;case _0x1e1501(0x1ab):_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f['Field'])+'\x22\x20prop=\x22'+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x14d)+_0x473acc+_0x1e1501(0x1ad)+_0x3c1b1f[_0x1e1501(0x15f)]+_0x1e1501(0x1dc));for(let _0x28050b of(0x0,helper_1['getEnum'])(_0x3c1b1f[_0x1e1501(0x1f9)])){_0x58a982+='\x0a'+_0x1e1501(0x1d6)+(_0x1e1501(0x1d4)+_0x28050b+_0x1e1501(0x163)+_0x28050b+_0x1e1501(0x151));}_0x58a982+='\x0a'+_0x1e1501(0x195)+_0x1e1501(0x170),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';break;case _0x1e1501(0x15c):_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1e1501(0x15a)+(_0x3c1b1f['Comment']||_0x3c1b1f[_0x1e1501(0x1d5)])+'\x22\x20prop=\x22'+_0x473acc+'\x22\x20class=\x22block\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x1c7)+_0x473acc+_0x1e1501(0x15b)+_0x3c1b1f[_0x1e1501(0x15f)]+_0x1e1501(0x1a9)),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+'</el-form-item>'+'\x0a';break;case _0x1e1501(0x1f5):_0x58a982+='\x0a'+_0x1e1501(0x1bd)+('<el-form-item\x20label=\x22'+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+_0x1e1501(0x173)),_0x58a982+='\x0a'+_0x1e1501(0x195)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x473acc+'\x22\x20'+(_0x3f77e5?_0x1e1501(0x1e8)+_0x3f77e5+'\x22':'')+'/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';break;case _0x1e1501(0x1a3):_0x58a982+='\x0a'+_0x1e1501(0x1bd)+('<el-form-item\x20label=\x22'+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f[_0x1e1501(0x1d5)])+'\x22\x20prop=\x22'+_0x473acc+_0x1e1501(0x173)),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x199)+_0x473acc+'\x22\x20'+(_0x3f77e5?_0x1e1501(0x1e8)+_0x3f77e5+'\x22':'')+'/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+'</el-form-item>'+'\x0a';break;case _0x1e1501(0x155):_0x58a982+='\x0a'+_0x1e1501(0x1bd)+('<el-form-item\x20label=\x22'+(_0x3c1b1f['Comment']||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-date-picker\x20v-model=\x22formdata.'+_0x473acc+_0x1e1501(0x1ed)+_0x3c1b1f['Comment']+_0x1e1501(0x14a)),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+'</el-form-item>'+'\x0a';break;case _0x1e1501(0x1cb):_0x58a982+='\x0a'+_0x1e1501(0x1bd)+(_0x1e1501(0x15a)+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x193)+_0x473acc+'\x22\x20placeholder=\x22选择'+_0x3c1b1f[_0x1e1501(0x15f)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1e1501(0x17b)+'\x0a';break;case _0x1e1501(0x15e):_0x58a982+='\x0a'+_0x1e1501(0x1bd)+(_0x1e1501(0x15a)+(_0x3c1b1f['Comment']||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+_0x1e1501(0x195)+(_0x1e1501(0x193)+_0x473acc+_0x1e1501(0x1ed)+_0x3c1b1f[_0x1e1501(0x15f)]+'\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';break;default:_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1e1501(0x15a)+(_0x3c1b1f[_0x1e1501(0x15f)]||_0x3c1b1f[_0x1e1501(0x1d5)])+_0x1e1501(0x1e3)+_0x473acc+'\x22>'),_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x473acc+_0x1e1501(0x175)+_0x3c1b1f[_0x1e1501(0x15f)]+'\x22\x20clearable/>'),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+_0x1e1501(0x17b)+'\x0a';}}}}}}}_0x58a982+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x58a982+='\x0a'+_0x1e1501(0x195)+_0x1e1501(0x14b),_0x58a982+='\x0a'+_0x1e1501(0x1bd)+'</el-form-item>'+'\x0a';let _0x465709=_0x1e1501(0x17a);_0x465709+=_0x1e1501(0x1de),_0x465709+=_0x1e1501(0x17d)+(_0x175f5b==_0x1e1501(0x146)?'添加'+_0x99f60f:'编辑'+_0x99f60f)+_0x1e1501(0x1e0)+_0x1335bc+(_0x175f5b==_0x1e1501(0x146)?'Add':_0x1e1501(0x18c))+'Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/'+_0x1b3e8b+'/'+(_0x175f5b==_0x1e1501(0x146)?_0x1e1501(0x146):_0x1e1501(0x160)+_0x148d44[_0x1e1501(0x1d5)])+_0x1e1501(0x192),_0x465709+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x58a982+'\x0a\x0a',_0x465709+=_0x1e1501(0x1ef),_0x465709+=_0x1e1501(0x1ca)+_0x1b3e8b+'/'+(_0x175f5b==_0x1e1501(0x146)?_0x1e1501(0x146):_0x1e1501(0x160)+_0x148d44[_0x1e1501(0x1d5)])+'`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a',_0x465709+=_0x1e1501(0x1a1),_0x465709+=_0x1e1501(0x19f),_0x465709+=_0x1e1501(0x1aa),_0x465709+=_0x1e1501(0x159),_0x465709+=_0x1e1501(0x1ee);if(_0x175f5b==_0x1e1501(0x146))_0x465709+=_0x1e1501(0x1bc)+_0x1335bc+'AddRule\x20}\x20from\x20\x27../interface\x27;\x0a',_0x465709+='import\x20{\x20'+_0x1335bc+'Add\x20}\x20from\x20\x27@/apis/'+(_0x3f77e5?_0x1e1501(0x194)+_0x3f77e5:''+_0x3f7568)+'/'+_0x1335bc+_0x1e1501(0x161);else _0x175f5b==_0x1e1501(0x1d8)&&(_0x465709+=_0x1e1501(0x1bc)+_0x1335bc+_0x1e1501(0x1bb),_0x465709+=_0x1e1501(0x1bc)+_0x1335bc+_0x1e1501(0x1f0)+_0x1335bc+'Detail\x20}\x20from\x20\x27@/apis/'+(_0x3f77e5?_0x1e1501(0x194)+_0x3f77e5:''+_0x3f7568)+'/'+_0x1335bc+_0x1e1501(0x161));_0x465709+='const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a';if(_0x175f5b==_0x1e1501(0x146))_0x465709+=_0x1e1501(0x1e6);else _0x175f5b==_0x1e1501(0x1d8)&&(_0x465709+=_0x1e1501(0x153));_0x465709+=_0x1e1501(0x147),_0x465709+=_0x1e1501(0x149),_0x465709+='\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a',_0x465709+=_0x1e1501(0x1b6)+_0x1335bc+(_0x175f5b=='add'?_0x1e1501(0x1fb):_0x1e1501(0x18c))+'('+(_0x175f5b==_0x1e1501(0x1d8)?_0x1e1501(0x1d7)+_0x148d44[_0x1e1501(0x1d5)]+',\x20':'')+'item).then(res=>{\x0a',_0x465709+='\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',_0x465709+=_0x1e1501(0x1a5),_0x465709+=_0x1e1501(0x1be),_0x465709+=_0x1e1501(0x1ac),_0x465709+=_0x1e1501(0x16b),_0x465709+='}\x0a\x0a',_0x175f5b==_0x1e1501(0x1d8)&&(_0x465709+=_0x1e1501(0x1b4),_0x465709+=_0x1e1501(0x18a)+_0x148d44[_0x1e1501(0x1d5)]+':\x20'+(_0x427586?'number':_0x1e1501(0x19d))+')\x20=>\x20{\x0a',_0x465709+=_0x1e1501(0x1b5)+_0x148d44[_0x1e1501(0x1d5)]+_0x1e1501(0x1f3),_0x465709+=_0x1e1501(0x1eb),_0x465709+=_0x1e1501(0x168)+_0x1335bc+_0x1e1501(0x1ba)+_0x148d44[_0x1e1501(0x1d5)]+').then(res\x20=>\x20{\x0a',_0x465709+=_0x1e1501(0x189),_0x465709+=_0x1e1501(0x1b0),_0x465709+=_0x1e1501(0x1ce),_0x465709+='\x20\x20\x20\x20\x20\x20\x20\x20})\x0a',_0x465709+='\x20\x20\x20\x20}\x20else\x20{\x0a',_0x465709+='\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a',_0x465709+=_0x1e1501(0x148),_0x465709+=_0x1e1501(0x14c),_0x465709+=_0x1e1501(0x17c)+_0x148d44['Field']+_0x1e1501(0x14e)+(_0x427586?_0x1e1501(0x1da):_0x1e1501(0x19d))+')\x0a'),_0x465709+=_0x1e1501(0x180),fs[_0x1e1501(0x1a4)]((0x0,path_1[_0x1e1501(0x14f)])(_0x1db346),{'recursive':!![]}),fs['writeFileSync'](_0x1db346,_0x465709,_0x1e1501(0x157));}}function a18_0x58b7(){const _0x4626bd=['结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a','const\x20getDetail\x20=\x20(','<img\x20:src=\x22scope.row.','Edit','logo','displayorder','/pages/','\x22\x20:limit=\x225\x22\x20','/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>\x0a','<el-date-picker\x20v-model=\x22formdata.','apps/','\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\x20v-model=\x22props.search.','getEnum','<tinymce-editor\x20v-model=\x22formdata.','<el-select\x20v-model=\x22props.search.','defineProperty','10XZoXam','string','_start\x22\x20placeholder=\x22选择','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a','<elplus-select-tags\x20v-model=\x22formdata.','mediumtext','mkdirSync','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','275ThNPmE','<template>\x0a\x20\x20\x20\x20<page-main>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<elplus-table\x20:datas=\x22table.data\x22\x20:pageinfo=\x22table.search\x22\x20:loading=\x22loading\x22\x20@transform=\x22LoadDatas\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#search>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<search\x20v-model:search=\x22table.search\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#header>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`get@/','\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>','\x20\x20\x20\x20</page-main>\x0a','enum','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','\x22\x20placeholder=\x22请选择','cwd','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','num','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>','204206RqRLHR','//\x20获取详情\x0a','\x20\x20\x20\x20if\x20(','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','401432BlNmEh','46112kGaqkk','/edit/:','Detail(','EditRule\x20}\x20from\x20\x27../interface\x27;\x0a','import\x20{\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a','\x20\x20\x20\x20','_ids','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<template>\x0a\x20\x20\x20\x20','updated_at','<elplus-select-search\x20v-model=\x22props.search.','</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\x20\x20\x20\x20\x20\x20\x20\x20','<el-input\x20v-model=\x22formdata.','\x22\x20style=\x22cursor:pointer\x22/>','/index.vue','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','datetime','padEnd','writeFileSync','\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','imgs','<elplus-select-search\x20v-model=\x22formdata.','<attachment-image\x20v-model=\x22formdata.','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','<el-input-number\x20v-model=\x22formdata.','<el-option\x20label=\x22','Field','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','item.','edit','indexOf','number','</template>','\x22\x20clearable>','\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','\x20\x20\x20\x20<page-main>\x0a','thumb','\x22\x20:model=\x22formdata\x22\x20:rules=\x22','\x22\x20api=\x22','/pages/apps/','\x22\x20prop=\x22','substr','\x22\x20:limit=\x221\x22\x20','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\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','module=\x22','}`)\x22\x20type=\x22primary\x22\x20text>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20编辑\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</el-button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','\x20/>','\x22\x20placeholder=\x22选择','<script\x20lang=\x22ts\x22\x20setup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','Edit,\x20','Remove({\x20','toString',')\x20{\x0a','deleted_at','longtext','length','735854qosWAL','substring','Type','created_at','Add','</a>','\x22\x20placeholder=\x22请输入或选择','</el-table-column>','add','//\x20保存数据\x0a','\x20\x20\x20\x20}\x0a','const\x20handlerSave\x20=\x20()=>{\x0a','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>','}\x0a\x0a\x0a','<el-select\x20v-model=\x22formdata.','\x20as\x20unknown\x20as\x20','dirname','(((.+)+)+)+$','\x22\x20/>','/list/index.vue','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','24DaLdVj','date','img','utf-8','apply','</template>\x0a','<el-form-item\x20label=\x22','\x22\x20\x20placeholder=\x22请输入','text','\x20label=\x22','timestamp','Comment','edit/:','\x27;\x0a\x0a','_end\x22\x20placeholder=\x22选择','\x22\x20value=\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','268810puTSqb','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_id','\x20\x20\x20\x20\x20\x20\x20\x20','<el-date-picker\x20v-model=\x22props.search.','<el-table-column\x20prop=','\x20\x20\x20\x20})\x0a','\x22\x20clearable/>','tag','1032018cUwwgk',':\x20item.','</el-select>','getProp','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','\x22\x20class=\x22block\x22>','path','\x22\x20placeholder=\x22请输入','25601016INRtdR','/list/components/search.vue','existsSync','tags','<template>\x0a','</el-form-item>','getDetail(route?.query?.','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','1467pnRtdv','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','</script>\x0a','search','Edit\x20}\x20from\x20\x27@/apis/','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','Remove,\x20','35yowDoY','/vue','<template\x20#reference>'];a18_0x58b7=function(){return _0x4626bd;};return a18_0x58b7();}
|
|
1
|
+
const a18_0x225f00=a18_0x36e6;(function(_0x120871,_0x444ba3){const _0xde951a=a18_0x36e6,_0x4c8f91=_0x120871();while(!![]){try{const _0x42720a=parseInt(_0xde951a(0x94))/0x1+-parseInt(_0xde951a(0xcc))/0x2+parseInt(_0xde951a(0x115))/0x3*(-parseInt(_0xde951a(0x88))/0x4)+-parseInt(_0xde951a(0xb6))/0x5+-parseInt(_0xde951a(0x8d))/0x6*(parseInt(_0xde951a(0x116))/0x7)+-parseInt(_0xde951a(0x12c))/0x8*(-parseInt(_0xde951a(0xf4))/0x9)+parseInt(_0xde951a(0xc3))/0xa*(parseInt(_0xde951a(0x108))/0xb);if(_0x42720a===_0x444ba3)break;else _0x4c8f91['push'](_0x4c8f91['shift']());}catch(_0x1022f4){_0x4c8f91['push'](_0x4c8f91['shift']());}}}(a18_0x33ef,0x5df64));const a18_0x273eb9=(function(){let _0x2128eb=!![];return function(_0x10e3da,_0x4ca718){const _0x1be66a=_0x2128eb?function(){const _0x7332ab=a18_0x36e6;if(_0x4ca718){const _0x5d73d4=_0x4ca718[_0x7332ab(0xfa)](_0x10e3da,arguments);return _0x4ca718=null,_0x5d73d4;}}:function(){};return _0x2128eb=![],_0x1be66a;};}()),a18_0x2a487f=a18_0x273eb9(this,function(){const _0x321ac2=a18_0x36e6;return a18_0x2a487f[_0x321ac2(0x8b)]()[_0x321ac2(0xe1)](_0x321ac2(0xe7))[_0x321ac2(0x8b)]()[_0x321ac2(0xec)](a18_0x2a487f)[_0x321ac2(0xe1)](_0x321ac2(0xe7));});function a18_0x36e6(_0x442847,_0x10a136){const _0x265ff0=a18_0x33ef();return a18_0x36e6=function(_0x2a487f,_0x273eb9){_0x2a487f=_0x2a487f-0x83;let _0x33efc4=_0x265ff0[_0x2a487f];return _0x33efc4;},a18_0x36e6(_0x442847,_0x10a136);}a18_0x2a487f();'use strict';Object[a18_0x225f00(0xfb)](exports,a18_0x225f00(0x13f),{'value':!![]});const fs=require('fs'),path_1=require(a18_0x225f00(0xda)),helper_1=require(a18_0x225f00(0x11d));async function default_1({moduleName:_0x47202b,controller:_0x10e90b,tablestartUpShort:_0x334607,tablestartUpShort2:_0x261f65,Primary:_0x687184,Fields:_0x4fb903,apporbasic:_0x5962e5,Comment:_0x254816}){const _0x4b280c=a18_0x225f00;await createIndex({'moduleName':_0x47202b,'controller':_0x10e90b,'tablestartUpShort':_0x334607,'tablestartUpShort2':_0x261f65,'Primary':_0x687184,'Fields':_0x4fb903,'apporbasic':_0x5962e5}),await createSearch({'moduleName':_0x47202b,'controller':_0x10e90b,'tablestartUpShort2':_0x261f65,'Primary':_0x687184,'Fields':_0x4fb903,'apporbasic':_0x5962e5}),await createAddOrEdit({'moduleName':_0x47202b,'controller':_0x10e90b,'tablestartUpShort':_0x334607,'tablestartUpShort2':_0x261f65,'Primary':_0x687184,'Fields':_0x4fb903,'apporbasic':_0x5962e5,'Comment':_0x254816},_0x4b280c(0xb7)),await createAddOrEdit({'moduleName':_0x47202b,'controller':_0x10e90b,'tablestartUpShort':_0x334607,'tablestartUpShort2':_0x261f65,'Primary':_0x687184,'Fields':_0x4fb903,'apporbasic':_0x5962e5,'Comment':_0x254816},_0x4b280c(0xef));}exports['default']=default_1;function a18_0x33ef(){const _0x17a6cc=['Add','\x20\x20\x20\x20}\x0a','getProp','<el-input-number\x20v-model=\x22formdata.','const\x20refForm\x20=\x20ref(),\x20formdata\x20=\x20ref<any>({});\x0a','</el-select>','`)\x22\x20type=\x22primary\x22\x20@click=\x22handlerSave()\x22>保存</el-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','/pages/','dirname','</template>\x0a','833668UrubaP','<a\x20:href=\x22scope.row.','\x22\x20api=\x22','\x22\x20clearable/>','\x22\x20placeholder=\x22选择','Field','thumb','getDetail(route?.query?.','const\x20getDetail\x20=\x20(','<el-input\x20v-model=\x22props.search.','<el-input\x20v-model=\x22formdata.','\x22\x20clearable>','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err=>{\x0a','55497KTdCrd','7iEqlwP','\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.','\x22\x20style=\x22width:\x20100%;max-width:500px\x22\x20/>','enum','mediumtext','}\x0a\x0a','\x22\x20align=\x27center\x27\x20sortable=\x22custom\x22\x20show-overflow-tooltip\x20/>','../helper','\x20\x20\x20\x20\x20\x20\x20\x20router.back();\x0a','\x22\x20prop=\x22','</script>\x0a','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter(),\x20route\x20=\x20useRoute();\x0a\x0a','<template>\x0a\x20\x20\x20\x20','writeFileSync','</template>','displayorder','\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','Comment','<tinymce-editor\x20v-model=\x22formdata.',')\x20{\x0a','\x22\x20style=\x22cursor:pointer\x22/>','\x20\x20\x20\x20refForm.value?.validate().then((item:\x20any)\x20=>\x20{\x0a','24dLloFt','imgs','/list/components/search.vue','List,\x20','\x22\x20/>','\x22\x20value=\x22','Remove,\x20','<template\x20#default=\x22scope\x22>','tags','<template\x20#reference>','_id','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27),\x20router.back();\x0a','<el-avatar\x20:src=\x22scope.row.',')\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20','`)\x22\x20@click=\x22$router.push(`edit?','开始时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','Edit(item.','Rule\x22\x20:loading=\x22loading\x22\x20:disabled=\x22!$hasPrem(`post@/','deleted_at','__esModule','开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','Edit\x20}\x20from\x20\x27@/apis/','\x22\x20target=\x22_blank\x22\x20title=\x22查看最大化图片\x22>','text','<el-date-picker\x20v-model=\x22formdata.','56kFgPJR','<elplus-select-search\x20v-model=\x22formdata.','Edit','toString','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','3562542fIOcrt','\x20\x20\x20\x20\x20\x20\x20\x20}).catch(err\x20=>\x20{\x0a','\x20\x20\x20\x20<page-main>\x0a','mkdirSync','}`)\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@/','\x27;\x0a\x0a','logo','97222OZRyoo','\x20\x20\x20\x20\x20\x20\x20\x20','substring',')\x20=>\x20{\x0a','<elplus-select-search\x20v-model=\x22props.search.','}\x0a\x0a\x0a','Detail(',':\x20item.','_ids','padEnd','apps/','datetime','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','module=\x22','substr','\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>','<el-popover\x20placement=\x22bottom\x22\x20trigger=\x22click\x22>','edit/:','\x20as\x20unknown\x20as\x20','number','\x22\x20:limit=\x221\x22\x20','_start\x22\x20placeholder=\x22选择','\x20label=\x22','\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>','const\x20loading\x20=\x20ref(false),\x20router\x20=\x20useRouter();\x0a\x0a','created_at','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','thumbs','结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\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@/','<el-input-number\x20v-model=\x22props.search.','string','longtext','\x20\x20\x20\x20}\x20else\x20{\x0a','1774235McCqlP','add','Add\x20}\x20from\x20\x27@/apis/','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','\x22\x20align=\x27center\x27\x20show-overflow-tooltip>','const\x20handlerSave\x20=\x20()=>{\x0a','Type',').then(res\x20=>\x20{\x0a','\x22\x20split=\x22-\x22\x20clearable/>','import\x20{\x20','\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','<elplus-select-tags\x20v-model=\x22formdata.','\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','170ajunzV','item.','/vue','<el-table-column\x20prop=','\x22\x20placeholder=\x22请输入','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<el-button\x20v-if=\x22$hasPrem(`post@/','</el-form-item>','tag','getEnum','487610MsZxtU','<img\x20:src=\x22scope.row.','<template>\x0a','<el-option\x20label=\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','/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','/pages/apps/','num','date','\x22\x20class=\x22block\x22>','\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20formdata.value\x20=\x20{};\x0a','timestamp','\x20\x20\x20\x20\x20\x20\x20\x20})\x0a','path','<attachment-image\x20v-model=\x22formdata.','/index.vue','\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>','updated_at','cwd','\x22\x20placeholder=\x22请输入或选择','search','indexOf','\x20\x20\x20\x20\x20\x20\x20\x20<elplus-form\x20ref=\x22refForm\x22\x20title=\x22','_end\x22\x20placeholder=\x22选择','<el-date-picker\x20v-model=\x22props.search.','/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','(((.+)+)+)+$','/list/index.vue','</el-table-column>','Detail\x20}\x20from\x20\x27@/apis/','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<template\x20#footer>\x0a','constructor','<el-select\x20v-model=\x22props.search.','\x22\x20placeholder=\x22请选择','edit','//\x20保存数据\x0a','length','img','\x20\x20\x20\x20\x20\x20\x20\x20</elplus-form>\x0a','1351935gbScEQ','utf-8','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','item).then(res=>{\x0a','结束时间\x22\x20type=\x22date\x22\x20value-format=\x22YYYY-MM-DD\x22/>','AddRule\x20}\x20from\x20\x27../interface\x27;\x0a','apply','defineProperty','<el-form-item\x20label=\x22'];a18_0x33ef=function(){return _0x17a6cc;};return a18_0x33ef();}async function createIndex({moduleName:_0x1a0831,controller:_0x1b40d3,tablestartUpShort:_0xd9c180,tablestartUpShort2:_0x31d308,Primary:_0x4b9bf5,Fields:_0x325d5f,apporbasic:_0x40cd03}){const _0x47d43c=a18_0x225f00;let _0x2e610f=process[_0x47d43c(0xdf)]()+_0x47d43c(0xc5)+(typeof _0x1b40d3==_0x47d43c(0xb3)?'/'+_0x1b40d3:'');_0x1a0831?_0x2e610f=_0x2e610f+(_0x47d43c(0xd2)+_0x1a0831+'/'+_0x31d308+'/list/index.vue'):_0x2e610f=_0x2e610f+(_0x47d43c(0x105)+_0x40cd03+'/'+_0x31d308+_0x47d43c(0xe8));if(!fs['existsSync'](_0x2e610f)){let _0x3cb6b4=_0x47d43c(0xc6)+('\x22'+_0x4b9bf5[_0x47d43c(0x10d)]+'\x22')[_0x47d43c(0x9d)](0x14)+(_0x47d43c(0xaa)+(_0x4b9bf5[_0x47d43c(0x127)]||'编号')+'\x22\x20align=\x22center\x22\x20fixed=\x22left\x22\x20/>');for(let _0x2ed73e in _0x325d5f){const _0x46c6eb=_0x325d5f[_0x2ed73e];if([_0x47d43c(0xad),_0x47d43c(0xde),'deleted_at',_0x47d43c(0x125)][_0x47d43c(0xe2)](_0x2ed73e)!=-0x1)continue;if(_0x2ed73e[_0x47d43c(0x96)](_0x2ed73e['length']-0x3)=='img'||_0x2ed73e[_0x47d43c(0x96)](_0x2ed73e[_0x47d43c(0xf1)]-0x5)==_0x47d43c(0x10e)||_0x2ed73e==_0x47d43c(0x10e)||_0x2ed73e[_0x47d43c(0x96)](_0x2ed73e[_0x47d43c(0xf1)]-0x4)=='logo'||_0x2ed73e=='logo')_0x3cb6b4+='\x0a'+_0x47d43c(0xa0)+'<el-table-column\x20prop='+('\x22'+_0x2ed73e+'\x22')['padEnd'](0x14)+(_0x47d43c(0xaa)+(_0x46c6eb[_0x47d43c(0x127)]||_0x46c6eb[_0x47d43c(0x10d)])+_0x47d43c(0xba)),_0x3cb6b4+='\x0a'+_0x47d43c(0x8c)+_0x47d43c(0x133),_0x3cb6b4+='\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'+_0x47d43c(0xa4),_0x3cb6b4+='\x0a'+_0x47d43c(0xf6)+(_0x47d43c(0x109)+_0x2ed73e+_0x47d43c(0x85)),_0x3cb6b4+='\x0a'+_0x47d43c(0xae)+(_0x47d43c(0xcd)+_0x2ed73e+_0x47d43c(0x118)),_0x3cb6b4+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</a>',_0x3cb6b4+='\x0a'+_0x47d43c(0xf6)+_0x47d43c(0x135),_0x3cb6b4+='\x0a'+_0x47d43c(0xae)+(_0x47d43c(0x138)+_0x2ed73e+_0x47d43c(0x12a)),_0x3cb6b4+='\x0a'+_0x47d43c(0xf6)+_0x47d43c(0x124),_0x3cb6b4+='\x0a'+_0x47d43c(0xd0)+'</el-popover>',_0x3cb6b4+='\x0a'+_0x47d43c(0x8c)+_0x47d43c(0x124),_0x3cb6b4+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x47d43c(0xe9);else['text'][_0x47d43c(0xe2)]((0x0,helper_1['getProp'])(_0x46c6eb['Type']))==-0x1&&(_0x3cb6b4+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x47d43c(0xc6)+('\x22'+_0x2ed73e+'\x22')[_0x47d43c(0x9d)](0x14)+(_0x47d43c(0xaa)+(_0x46c6eb[_0x47d43c(0x127)]||_0x46c6eb[_0x47d43c(0x10d)])+_0x47d43c(0x11c)));}const _0x5dee71=''+(typeof _0x1b40d3==_0x47d43c(0xb3)?_0x1b40d3+'/':'')+(_0x1a0831?_0x1a0831+'/':'')+_0x31d308;fs[_0x47d43c(0x90)]((0x0,path_1[_0x47d43c(0x106)])(_0x2e610f),{'recursive':!![]}),fs[_0x47d43c(0x123)](_0x2e610f,'<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@/'+_0x5dee71+_0x47d43c(0xd1)+_0x3cb6b4+_0x47d43c(0xb1)+_0x5dee71+'/edit/:'+_0x4b9bf5[_0x47d43c(0x10d)]+_0x47d43c(0x13a)+_0x4b9bf5[_0x47d43c(0x10d)]+'=${scope.row.'+_0x4b9bf5[_0x47d43c(0x10d)]+_0x47d43c(0x91)+_0x5dee71+_0x47d43c(0xe6)+_0xd9c180+_0x47d43c(0x12f)+_0xd9c180+_0x47d43c(0x132)+_0xd9c180+_0x47d43c(0x84)+(_0x1a0831?_0x47d43c(0x9e)+_0x1a0831:''+_0x40cd03)+'/'+_0xd9c180+_0x47d43c(0xc0)+_0xd9c180+_0x47d43c(0xb9)+_0xd9c180+'Remove({\x20'+_0x4b9bf5['Field']+_0x47d43c(0x9b)+_0x4b9bf5[_0x47d43c(0x10d)]+_0x47d43c(0x117)+_0x4b9bf5[_0x47d43c(0x10d)]+_0x47d43c(0x139)+_0xd9c180+_0x47d43c(0x13c)+_0x4b9bf5[_0x47d43c(0x10d)]+',\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>',_0x47d43c(0xf5));}}async function createSearch({moduleName:_0x27b928,tablestartUpShort2:_0x3720c8,controller:_0xf265a0,Primary:_0x3d42e0,Fields:_0x4740b1,apporbasic:_0x47778c}){const _0x23bf19=a18_0x225f00;let _0x10be8e=process['cwd']()+'/vue'+(typeof _0xf265a0==_0x23bf19(0xb3)?'/'+_0xf265a0:'');_0x27b928?_0x10be8e=_0x10be8e+(_0x23bf19(0xd2)+_0x27b928+'/'+_0x3720c8+'/list/components/search.vue'):_0x10be8e=_0x10be8e+('/pages/'+_0x47778c+'/'+_0x3720c8+_0x23bf19(0x12e));if(!fs['existsSync'](_0x10be8e)){let _0x2e218c='';_0x2e218c+='\x0a'+'\x20\x20\x20\x20'+(_0x23bf19(0xfc)+(_0x3d42e0[_0x23bf19(0x127)]||'编号')+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+('<el-input\x20v-model=\x22props.search.'+_0x3d42e0[_0x23bf19(0x10d)]+_0x23bf19(0xc7)+(_0x3d42e0[_0x23bf19(0x127)]||'编号')+'\x22\x20clearable/>'),_0x2e218c+='\x0a'+'\x20\x20\x20\x20'+_0x23bf19(0xc9);for(let _0xc768f0 in _0x4740b1){const _0x4483d7=_0x4740b1[_0xc768f0];if([_0x23bf19(0xde),_0x23bf19(0x13e),_0x23bf19(0x125)][_0x23bf19(0xe2)](_0xc768f0)!=-0x1)continue;if(_0xc768f0['substring'](_0xc768f0[_0x23bf19(0xf1)]-0x3)==_0x23bf19(0xf2)||_0xc768f0[_0x23bf19(0x96)](_0xc768f0['length']-0x5)==_0x23bf19(0x10e)||_0xc768f0==_0x23bf19(0x10e)||_0xc768f0[_0x23bf19(0x96)](_0xc768f0[_0x23bf19(0xf1)]-0x4)=='logo'||_0xc768f0==_0x23bf19(0x93))continue;if(_0xc768f0[_0x23bf19(0x96)](_0xc768f0[_0x23bf19(0xf1)]-0x3)=='num')_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7['Comment']||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xb2)+_0xc768f0+_0x23bf19(0xc7)+_0x4483d7[_0x23bf19(0x127)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20clearable/>'),_0x2e218c+='\x0a'+_0x23bf19(0xd6)+_0x23bf19(0xc9)+'\x0a';else{if(_0xc768f0['endsWith'](_0x23bf19(0x136))){let _0x3730e9=''+(typeof _0xf265a0=='string'?_0xf265a0+'/':'')+(_0x27b928?_0x27b928+'/':'')+_0x3720c8;_0x2e218c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x104)+(_0x23bf19(0x98)+_0xc768f0+_0x23bf19(0x10a)+_0x3730e9+_0x23bf19(0xdd)),_0x2e218c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x23bf19(0xc9)+'\x0a';}else switch((0x0,helper_1['getProp'])(_0x4483d7[_0x23bf19(0xbc)])){case _0x23bf19(0x119):_0x2e218c+='\x0a'+_0x23bf19(0xd6)+('<el-form-item\x20label=\x22'+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xed)+_0xc768f0+'\x22\x20placeholder=\x22请选择'+_0x4483d7[_0x23bf19(0x127)]+_0x23bf19(0x113));for(let _0x2e4ee7 of(0x0,helper_1[_0x23bf19(0xcb)])(_0x4483d7[_0x23bf19(0xbc)])){_0x2e218c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x23bf19(0xcf)+_0x2e4ee7+'\x22\x20value=\x22'+_0x2e4ee7+_0x23bf19(0x130));}_0x2e218c+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-select>',_0x2e218c+='\x0a'+_0x23bf19(0xd6)+'</el-form-item>'+'\x0a';break;case'date':_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xe5)+_0xc768f0+_0x23bf19(0xa9)+_0x4483d7[_0x23bf19(0x127)]+_0x23bf19(0x13b)),_0x2e218c+='\x0a'+_0x23bf19(0xd6)+_0x23bf19(0xc9)+'\x0a',_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7['Comment']||_0x4483d7['Field'])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xe5)+_0xc768f0+_0x23bf19(0xe4)+_0x4483d7[_0x23bf19(0x127)]+_0x23bf19(0xf8)),_0x2e218c+='\x0a'+_0x23bf19(0xd6)+_0x23bf19(0xc9)+'\x0a';break;case _0x23bf19(0x9f):_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xe5)+_0xc768f0+'_start\x22\x20placeholder=\x22选择'+_0x4483d7[_0x23bf19(0x127)]+'开始时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x2e218c+='\x0a'+_0x23bf19(0xd6)+_0x23bf19(0xc9)+'\x0a',_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7['Field'])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xe5)+_0xc768f0+_0x23bf19(0xe4)+_0x4483d7['Comment']+'结束时间\x22\x20type=\x22datetime\x22\x20value-format=\x22YYYY-MM-DD\x20HH:mm:ss\x22/>'),_0x2e218c+='\x0a'+_0x23bf19(0xd6)+_0x23bf19(0xc9)+'\x0a';break;case _0x23bf19(0xd8):_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7['Comment']||_0x4483d7['Field'])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xe5)+_0xc768f0+_0x23bf19(0xa9)+_0x4483d7[_0x23bf19(0x127)]+_0x23bf19(0x83)),_0x2e218c+='\x0a'+'\x20\x20\x20\x20'+'</el-form-item>'+'\x0a',_0x2e218c+='\x0a'+_0x23bf19(0xd6)+('<el-form-item\x20label=\x22'+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0xe5)+_0xc768f0+_0x23bf19(0xe4)+_0x4483d7[_0x23bf19(0x127)]+_0x23bf19(0xb0)),_0x2e218c+='\x0a'+'\x20\x20\x20\x20'+_0x23bf19(0xc9)+'\x0a';break;case'string':_0x2e218c+='\x0a'+_0x23bf19(0xd6)+(_0x23bf19(0xfc)+(_0x4483d7[_0x23bf19(0x127)]||_0x4483d7[_0x23bf19(0x10d)])+'\x22>'),_0x2e218c+='\x0a'+_0x23bf19(0x95)+(_0x23bf19(0x111)+_0xc768f0+_0x23bf19(0xc7)+_0x4483d7[_0x23bf19(0x127)]+_0x23bf19(0x10b)),_0x2e218c+='\x0a'+_0x23bf19(0xd6)+_0x23bf19(0xc9)+'\x0a';}}}fs[_0x23bf19(0x90)]((0x0,path_1[_0x23bf19(0x106)])(_0x10be8e),{'recursive':!![]}),fs['writeFileSync'](_0x10be8e,_0x23bf19(0x122)+_0x2e218c+'\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>',_0x23bf19(0xf5));}}async function createAddOrEdit({moduleName:_0x3b3653,controller:_0x844407,tablestartUpShort:_0x46f936,tablestartUpShort2:_0x4d579a,Primary:_0x47cd48,Fields:_0x29533b,apporbasic:_0x16b743,Comment:_0x221369},_0x4ef363=a18_0x225f00(0xb7)){const _0x51412f=a18_0x225f00;let _0x3d1c13=process[_0x51412f(0xdf)]()+_0x51412f(0xc5)+(typeof _0x844407==_0x51412f(0xb3)?'/'+_0x844407:'');_0x3b3653?_0x3d1c13=_0x3d1c13+(_0x51412f(0xd2)+_0x3b3653+'/'+_0x4d579a+'/'+_0x4ef363+_0x51412f(0xdc)):_0x3d1c13=_0x3d1c13+(_0x51412f(0x105)+_0x16b743+'/'+_0x4d579a+'/'+_0x4ef363+_0x51412f(0xdc));if(!fs['existsSync'](_0x3d1c13)){const _0x1fe0dc=['text','mediumtext',_0x51412f(0xb3)]['indexOf']((0x0,helper_1[_0x51412f(0xff)])(_0x47cd48[_0x51412f(0xbc)]))==-0x1,_0x3b748e=''+(typeof _0x844407==_0x51412f(0xb3)?_0x844407+'/':'')+(_0x3b3653?_0x3b3653+'/':'')+_0x4d579a;let _0x666df2='';for(let _0x2ccdb4 in _0x29533b){const _0xc0cb6=_0x29533b[_0x2ccdb4];if([_0x51412f(0xad),_0x51412f(0xde),_0x51412f(0x13e),_0x51412f(0x125)]['indexOf'](_0x2ccdb4)!=-0x1)continue;if(_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4['length']-0x4)==_0x51412f(0x12d)||_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4['length']-0x6)==_0x51412f(0xaf))_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51412f(0xfc)+(_0xc0cb6['Comment']||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+_0x51412f(0xd5)),_0x666df2+='\x0a'+_0x51412f(0xa0)+('<attachment-image\x20v-model=\x22formdata.'+_0x2ccdb4+'\x22\x20:limit=\x225\x22\x20'+(_0x3b3653?_0x51412f(0xa1)+_0x3b3653+'\x22':'')+'\x20/>'),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x51412f(0xc9)+'\x0a';else{if(_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4['length']-0x3)==_0x51412f(0xf2)||_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4['length']-0x5)==_0x51412f(0x10e)||_0x2ccdb4=='thumb'||_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4[_0x51412f(0xf1)]-0x4)==_0x51412f(0x93)||_0x2ccdb4=='logo')_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6['Comment']||_0xc0cb6['Field'])+_0x51412f(0x11f)+_0x2ccdb4+_0x51412f(0xd5)),_0x666df2+='\x0a'+_0x51412f(0xa0)+(_0x51412f(0xdb)+_0x2ccdb4+_0x51412f(0xa8)+(_0x3b3653?_0x51412f(0xa1)+_0x3b3653+'\x22':'')+'/>'),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'</el-form-item>'+'\x0a';else{if(_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4['length']-0x4)==_0x51412f(0x134)||_0x2ccdb4[_0x51412f(0x96)](_0x2ccdb4[_0x51412f(0xf1)]-0x3)==_0x51412f(0xca))_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6['Comment']||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+(_0x51412f(0xc1)+_0x2ccdb4+_0x51412f(0xe0)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0xbe)),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';else{if(_0x2ccdb4[_0x51412f(0xa2)](-0x3)==_0x51412f(0xd3))_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51412f(0xfc)+(_0xc0cb6['Comment']||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+('<el-input-number\x20v-model=\x22formdata.'+_0x2ccdb4+_0x51412f(0xc7)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0xa3)),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x51412f(0xc9)+'\x0a';else{if(_0x2ccdb4[_0x51412f(0xa2)](-0x4)==_0x51412f(0x9c))_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6['Comment']||_0xc0cb6['Field'])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51412f(0x112)+_0x2ccdb4+_0x51412f(0xc7)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0x10b)),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';else{if(_0x2ccdb4[_0x51412f(0xa2)](-0x3)==_0x51412f(0x136)){let _0x4c71b2=''+(typeof _0x844407==_0x51412f(0xb3)?_0x844407+'/':'')+(_0x3b3653?_0x3b3653+'/':'')+_0x4d579a;_0x666df2+='\x0a'+_0x51412f(0x104)+('<el-form-item\x20label=\x22'+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+'\x22\x20prop=\x22'+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+(_0x51412f(0x89)+_0x2ccdb4+_0x51412f(0x10a)+_0x4c71b2+'\x22\x20lakey=\x22id\x22\x20\x20label=\x22id\x22\x20clearable/>'),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';}else switch((0x0,helper_1[_0x51412f(0xff)])(_0xc0cb6['Type'])){case _0x51412f(0xa7):_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+'\x22\x20prop=\x22'+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+(_0x51412f(0x100)+_0x2ccdb4+'\x22\x20placeholder=\x22请输入'+_0xc0cb6[_0x51412f(0x127)]+'\x22\x20:min=\x221\x22\x20controls-position=\x22right\x22\x20/>'),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';break;case _0x51412f(0x119):_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6['Field'])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+('<el-select\x20v-model=\x22formdata.'+_0x2ccdb4+_0x51412f(0xee)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0x113));for(let _0x159050 of(0x0,helper_1[_0x51412f(0xcb)])(_0xc0cb6['Type'])){_0x666df2+='\x0a'+_0x51412f(0x8c)+(_0x51412f(0xcf)+_0x159050+_0x51412f(0x131)+_0x159050+_0x51412f(0x130));}_0x666df2+='\x0a'+_0x51412f(0xa0)+_0x51412f(0x102),_0x666df2+='\x0a'+_0x51412f(0x104)+'</el-form-item>'+'\x0a';break;case _0x51412f(0x86):_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+_0x51412f(0xd5)),_0x666df2+='\x0a'+_0x51412f(0xa0)+(_0x51412f(0x112)+_0x2ccdb4+'\x22\x20\x20placeholder=\x22请输入'+_0xc0cb6['Comment']+'\x22\x20type=\x22textarea\x22\x20:rows=\x224\x22/>'),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x51412f(0xc9)+'\x0a';break;case _0x51412f(0xb4):_0x666df2+='\x0a'+_0x51412f(0x104)+('<el-form-item\x20label=\x22'+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6['Field'])+_0x51412f(0x11f)+_0x2ccdb4+_0x51412f(0xd5)),_0x666df2+='\x0a'+_0x51412f(0xa0)+('<tinymce-editor\x20v-model=\x22formdata.'+_0x2ccdb4+'\x22\x20'+(_0x3b3653?_0x51412f(0xa1)+_0x3b3653+'\x22':'')+'/>'),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x51412f(0xc9)+'\x0a';break;case _0x51412f(0x11a):_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6['Field'])+'\x22\x20prop=\x22'+_0x2ccdb4+_0x51412f(0xd5)),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51412f(0x128)+_0x2ccdb4+'\x22\x20'+(_0x3b3653?'module=\x22'+_0x3b3653+'\x22':'')+'/>'),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';break;case _0x51412f(0xd4):_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-form-item\x20label=\x22'+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+'\x22\x20prop=\x22'+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+('<el-date-picker\x20v-model=\x22formdata.'+_0x2ccdb4+_0x51412f(0x10c)+_0xc0cb6['Comment']+_0x51412f(0x126)),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';break;case _0x51412f(0x9f):_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+(_0x51412f(0x87)+_0x2ccdb4+_0x51412f(0x10c)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0xab)),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';break;case _0x51412f(0xd8):_0x666df2+='\x0a'+_0x51412f(0x104)+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+_0x51412f(0xa0)+('<el-date-picker\x20v-model=\x22formdata.'+_0x2ccdb4+_0x51412f(0x10c)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0xab)),_0x666df2+='\x0a'+_0x51412f(0x104)+_0x51412f(0xc9)+'\x0a';break;default:_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x51412f(0xfc)+(_0xc0cb6[_0x51412f(0x127)]||_0xc0cb6[_0x51412f(0x10d)])+_0x51412f(0x11f)+_0x2ccdb4+'\x22>'),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+('<el-input\x20v-model=\x22formdata.'+_0x2ccdb4+_0x51412f(0xc7)+_0xc0cb6[_0x51412f(0x127)]+_0x51412f(0x10b)),_0x666df2+='\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x51412f(0xc9)+'\x0a';}}}}}}}_0x666df2+='\x0a'+_0x51412f(0x104)+'<el-form-item\x20label=\x22排序\x22\x20prop=\x22displayorder\x22>',_0x666df2+='\x0a'+_0x51412f(0xa0)+'<el-input-number\x20v-model=\x22formdata.displayorder\x22\x20placeholder=\x22请输入排序权重\x22\x20controls-position=\x22right\x22/>',_0x666df2+='\x0a'+_0x51412f(0x104)+'</el-form-item>'+'\x0a';let _0x2f8ab5=_0x51412f(0xce);_0x2f8ab5+=_0x51412f(0x8f),_0x2f8ab5+=_0x51412f(0xe3)+(_0x4ef363=='add'?'添加'+_0x221369:'编辑'+_0x221369)+'\x22\x20:model=\x22formdata\x22\x20:rules=\x22'+_0x46f936+(_0x4ef363==_0x51412f(0xb7)?_0x51412f(0xfd):_0x51412f(0x8a))+_0x51412f(0x13d)+_0x3b748e+'/'+(_0x4ef363==_0x51412f(0xb7)?_0x51412f(0xb7):_0x51412f(0xa5)+_0x47cd48[_0x51412f(0x10d)])+'`)\x22>\x0a',_0x2f8ab5+=_0x51412f(0x104)+_0x666df2+'\x0a\x0a',_0x2f8ab5+=_0x51412f(0xeb),_0x2f8ab5+=_0x51412f(0xc8)+_0x3b748e+'/'+(_0x4ef363==_0x51412f(0xb7)?_0x51412f(0xb7):_0x51412f(0xa5)+_0x47cd48[_0x51412f(0x10d)])+_0x51412f(0x103),_0x2f8ab5+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</template>\x0a',_0x2f8ab5+=_0x51412f(0xf3),_0x2f8ab5+='\x20\x20\x20\x20</page-main>\x0a',_0x2f8ab5+=_0x51412f(0x107),_0x2f8ab5+='<script\x20lang=\x22ts\x22\x20setup>\x0a';if(_0x4ef363==_0x51412f(0xb7))_0x2f8ab5+=_0x51412f(0xbf)+_0x46f936+_0x51412f(0xf9),_0x2f8ab5+='import\x20{\x20'+_0x46f936+_0x51412f(0xb8)+(_0x3b3653?_0x51412f(0x9e)+_0x3b3653:''+_0x16b743)+'/'+_0x46f936+_0x51412f(0x92);else _0x4ef363==_0x51412f(0xef)&&(_0x2f8ab5+=_0x51412f(0xbf)+_0x46f936+'EditRule\x20}\x20from\x20\x27../interface\x27;\x0a',_0x2f8ab5+=_0x51412f(0xbf)+_0x46f936+'Edit,\x20'+_0x46f936+_0x51412f(0xea)+(_0x3b3653?_0x51412f(0x9e)+_0x3b3653:''+_0x16b743)+'/'+_0x46f936+_0x51412f(0x92));_0x2f8ab5+=_0x51412f(0x101);if(_0x4ef363==_0x51412f(0xb7))_0x2f8ab5+=_0x51412f(0xac);else _0x4ef363==_0x51412f(0xef)&&(_0x2f8ab5+=_0x51412f(0x121));_0x2f8ab5+=_0x51412f(0xf0),_0x2f8ab5+=_0x51412f(0xbb),_0x2f8ab5+=_0x51412f(0x12b),_0x2f8ab5+='\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20true,\x20'+_0x46f936+(_0x4ef363==_0x51412f(0xb7)?_0x51412f(0xfd):_0x51412f(0x8a))+'('+(_0x4ef363=='edit'?_0x51412f(0xc4)+_0x47cd48[_0x51412f(0x10d)]+',\x20':'')+_0x51412f(0xf7),_0x2f8ab5+=_0x51412f(0xc2),_0x2f8ab5+=_0x51412f(0x114),_0x2f8ab5+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20$notify.error(err\x20||\x20\x27网络请求错误\x27);\x0a',_0x2f8ab5+=_0x51412f(0xd9),_0x2f8ab5+='\x20\x20\x20\x20})\x0a',_0x2f8ab5+=_0x51412f(0x11b),_0x4ef363==_0x51412f(0xef)&&(_0x2f8ab5+='//\x20获取详情\x0a',_0x2f8ab5+=_0x51412f(0x110)+_0x47cd48['Field']+':\x20'+(_0x1fe0dc?'number':_0x51412f(0xb3))+_0x51412f(0x97),_0x2f8ab5+='\x20\x20\x20\x20if\x20('+_0x47cd48[_0x51412f(0x10d)]+_0x51412f(0x129),_0x2f8ab5+=_0x51412f(0xd7),_0x2f8ab5+=_0x51412f(0x95)+_0x46f936+_0x51412f(0x9a)+_0x47cd48[_0x51412f(0x10d)]+_0x51412f(0xbd),_0x2f8ab5+='\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loading.value\x20=\x20false,\x20formdata.value\x20=\x20res.data;\x0a',_0x2f8ab5+=_0x51412f(0x8e),_0x2f8ab5+=_0x51412f(0x137),_0x2f8ab5+=_0x51412f(0xd9),_0x2f8ab5+=_0x51412f(0xb5),_0x2f8ab5+=_0x51412f(0x11e),_0x2f8ab5+=_0x51412f(0xfe),_0x2f8ab5+=_0x51412f(0x99),_0x2f8ab5+=_0x51412f(0x10f)+_0x47cd48['Field']+_0x51412f(0xa6)+(_0x1fe0dc?_0x51412f(0xa7):_0x51412f(0xb3))+')\x0a'),_0x2f8ab5+=_0x51412f(0x120),fs[_0x51412f(0x90)]((0x0,path_1[_0x51412f(0x106)])(_0x3d1c13),{'recursive':!![]}),fs[_0x51412f(0x123)](_0x3d1c13,_0x2f8ab5,_0x51412f(0xf5));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x1fb2cb=a19_0xddb5;(function(_0x5538e9,_0x6f7a3e){const _0x4cb99d=a19_0xddb5,_0x221386=_0x5538e9();while(!![]){try{const _0x37087d=parseInt(_0x4cb99d(0x1c5))/0x1*(parseInt(_0x4cb99d(0x1c8))/0x2)+-parseInt(_0x4cb99d(0x1e5))/0x3+parseInt(_0x4cb99d(0x1d1))/0x4+-parseInt(_0x4cb99d(0x1e1))/0x5*(-parseInt(_0x4cb99d(0x1ea))/0x6)+parseInt(_0x4cb99d(0x1c9))/0x7+parseInt(_0x4cb99d(0x1c4))/0x8+parseInt(_0x4cb99d(0x1c6))/0x9*(-parseInt(_0x4cb99d(0x1ce))/0xa);if(_0x37087d===_0x6f7a3e)break;else _0x221386['push'](_0x221386['shift']());}catch(_0x4c5273){_0x221386['push'](_0x221386['shift']());}}}(a19_0x4f56,0x8edd1));const a19_0x551892=(function(){let _0x2ffb96=!![];return function(_0x48e087,_0x15dd10){const _0x2df8f4=_0x2ffb96?function(){const _0x4ba0fe=a19_0xddb5;if(_0x15dd10){const _0x26fb35=_0x15dd10[_0x4ba0fe(0x1c7)](_0x48e087,arguments);return _0x15dd10=null,_0x26fb35;}}:function(){};return _0x2ffb96=![],_0x2df8f4;};}()),a19_0x315429=a19_0x551892(this,function(){const _0x2a4d9a=a19_0xddb5;return a19_0x315429['toString']()[_0x2a4d9a(0x1ee)](_0x2a4d9a(0x1d4))[_0x2a4d9a(0x1f0)]()[_0x2a4d9a(0x1e4)](a19_0x315429)['search'](_0x2a4d9a(0x1d4));});a19_0x315429();'use strict';function a19_0xddb5(_0x2efeee,_0x3464e3){const _0x159fb2=a19_0x4f56();return a19_0xddb5=function(_0x315429,_0x551892){_0x315429=_0x315429-0x1c3;let _0x4f56a8=_0x159fb2[_0x315429];return _0x4f56a8;},a19_0xddb5(_0x2efeee,_0x3464e3);}Object['defineProperty'](exports,a19_0x1fb2cb(0x1c3),{'value':!![]});const fs=require('fs'),path_1=require(a19_0x1fb2cb(0x1d7));async function default_1({tablestartUpShort2:_0x375148,moduleName:_0x16ed98,controller:_0x5b79f1,Comment:_0x1443ea,apporbasic:_0x27045e,Primary:_0x398d9a}){await createRoutes({'tablestartUpShort2':_0x375148,'moduleName':_0x16ed98,'controller':_0x5b79f1,'Comment':_0x1443ea,'apporbasic':_0x27045e,'Primary':_0x398d9a});}exports[a19_0x1fb2cb(0x1f2)]=default_1;async function createRoutes({tablestartUpShort2:_0x224e64,moduleName:_0x2f80b1,controller:_0x20d1c7,Comment:_0xab3c9b,apporbasic:_0x459346,Primary:_0x23a9f8}){const _0x53c702=a19_0x1fb2cb;let _0x2a87a5=process[_0x53c702(0x1eb)]()+'/vue'+(typeof _0x20d1c7==_0x53c702(0x1d5)?'/'+_0x20d1c7:'');_0x2f80b1?_0x2a87a5=_0x2a87a5+(_0x53c702(0x1de)+_0x2f80b1+_0x53c702(0x1cd)):_0x2a87a5=_0x2a87a5+(_0x53c702(0x1cb)+_0x459346+_0x53c702(0x1cd));if(!fs[_0x53c702(0x1f5)](_0x2a87a5)){let _0x5573c3='';_0x5573c3+=_0x53c702(0x1ca),_0x5573c3+=_0x53c702(0x1d3)+(_0x2f80b1?_0x53c702(0x1f4)+_0x2f80b1+'/':_0x459346+'/')+_0x53c702(0x1e0),_0x5573c3+='\x20\x20\x20\x20//\x20redirect:\x20\x22/'+(_0x2f80b1?_0x53c702(0x1f4)+_0x2f80b1+'/':_0x459346+'/')+'\x22,\x0a',_0x5573c3+=_0x53c702(0x1f3)+(_0x2f80b1?_0x53c702(0x1e8):_0x53c702(0x1e6))+'pages/'+(_0x2f80b1?_0x53c702(0x1df)+_0x2f80b1:''+_0x459346)+'/layout.vue`),\x0a',_0x5573c3+=_0x53c702(0x1e9),_0x5573c3+='\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here\x0a',_0x5573c3+=_0x53c702(0x1e7),_0x5573c3+='}\x0a',fs[_0x53c702(0x1d9)]((0x0,path_1[_0x53c702(0x1f1)])(_0x2a87a5),{'recursive':!![]}),fs[_0x53c702(0x1cc)](_0x2a87a5,_0x5573c3,_0x53c702(0x1d0));}const _0x11c2b3=fs[_0x53c702(0x1ef)](_0x2a87a5,_0x53c702(0x1d0)),_0x204991=_0x53c702(0x1f6)+(_0x224e64+'/list\x22')[_0x53c702(0x1da)](0x14)+(_0x53c702(0x1e2)+(_0x2f80b1?_0x53c702(0x1e8):_0x53c702(0x1e6))+_0x53c702(0x1e3)+(_0x2f80b1?_0x53c702(0x1df)+_0x2f80b1:''+_0x459346)+'/'+_0x224e64+'/list/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0xab3c9b+_0x53c702(0x1d2));_0x11c2b3[_0x53c702(0x1dd)](_0x204991)==-0x1&&fs['writeFileSync'](_0x2a87a5,_0x11c2b3[_0x53c702(0x1d8)](_0x53c702(0x1d6),_0x204991+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here')[_0x53c702(0x1d8)](_0x53c702(0x1d6),'{\x20path:\x20\x22'+(_0x224e64+_0x53c702(0x1dc))[_0x53c702(0x1da)](0x14)+(_0x53c702(0x1e2)+(_0x2f80b1?'../../../':_0x53c702(0x1e6))+_0x53c702(0x1e3)+(_0x2f80b1?_0x53c702(0x1df)+_0x2f80b1:''+_0x459346)+'/'+_0x224e64+_0x53c702(0x1cf)+_0xab3c9b+_0x53c702(0x1ec)))['replace']('//\x20add\x20route\x20here',_0x53c702(0x1f6)+(_0x224e64+_0x53c702(0x1ed))[_0x53c702(0x1da)](0x14)+(',\x20component:\x20()=>\x20import(\x27'+(_0x2f80b1?_0x53c702(0x1e8):_0x53c702(0x1e6))+'pages/'+(_0x2f80b1?_0x53c702(0x1df)+_0x2f80b1:''+_0x459346)+'/'+_0x224e64+'/edit/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22'+_0xab3c9b+_0x53c702(0x1db))));}function a19_0x4f56(){const _0x520a73=['/add\x22','indexOf','/router/modules/apps/','apps/','\x22,\x0a','150tgawaG',',\x20component:\x20()=>\x20import(\x27','pages/','constructor','531927gLSwFU','../../','\x20\x20\x20\x20]\x0a','../../../','\x20\x20\x20\x20children:[\x0a','38022VTbKAp','cwd','添加\x22\x20}\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here','/edit\x22','search','readFileSync','toString','dirname','default','\x20\x20\x20\x20component:\x20()\x20=>\x20import(`','apps-','existsSync','{\x20path:\x20\x22','__esModule','133664zNvRVI','163SaqEoM','6047307uDuanQ','apply','9532zqZfHG','6216511nOSQiU','export\x20default\x20{\x0a','/router/modules/','writeFileSync','.ts','20iDKRNg','/add/index.vue\x27),\x20meta:\x20{\x20name:\x20\x22','utf-8','938300OAgKDD','\x22\x20}\x20}','\x20\x20\x20\x20path:\x20\x22/','(((.+)+)+)+$','string','//\x20add\x20route\x20here','path','replace','mkdirSync','padEnd','编辑\x22\x20}\x20},\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20add\x20route\x20here'];a19_0x4f56=function(){return _0x520a73;};return a19_0x4f56();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x516b77=a20_0x2499;(function(_0x2f98cc,_0x3735af){const _0x4f7fe5=a20_0x2499,_0x221b61=_0x2f98cc();while(!![]){try{const _0xc8feea=-parseInt(_0x4f7fe5(0x18d))/0x1*(-parseInt(_0x4f7fe5(0x180))/0x2)+parseInt(_0x4f7fe5(0x173))/0x3*(parseInt(_0x4f7fe5(0x195))/0x4)+-parseInt(_0x4f7fe5(0x190))/0x5+-parseInt(_0x4f7fe5(0x15a))/0x6+-parseInt(_0x4f7fe5(0x157))/0x7+parseInt(_0x4f7fe5(0x182))/0x8+parseInt(_0x4f7fe5(0x18b))/0x9;if(_0xc8feea===_0x3735af)break;else _0x221b61['push'](_0x221b61['shift']());}catch(_0x29e67b){_0x221b61['push'](_0x221b61['shift']());}}}(a20_0x5902,0xab77a));const a20_0x2a5dfc=(function(){let _0x53d3af=!![];return function(_0x216983,_0x1f5ccd){const _0x4a5ffd=_0x53d3af?function(){const _0x53081a=a20_0x2499;if(_0x1f5ccd){const _0x4de9e5=_0x1f5ccd[_0x53081a(0x16f)](_0x216983,arguments);return _0x1f5ccd=null,_0x4de9e5;}}:function(){};return _0x53d3af=![],_0x4a5ffd;};}()),a20_0x192beb=a20_0x2a5dfc(this,function(){const _0x21dd35=a20_0x2499;return a20_0x192beb[_0x21dd35(0x191)]()[_0x21dd35(0x153)](_0x21dd35(0x186))['toString']()[_0x21dd35(0x15d)](a20_0x192beb)[_0x21dd35(0x153)](_0x21dd35(0x186));});a20_0x192beb();'use strict';function a20_0x5902(){const _0x36d06a=['replace','search','\x20\x20\x20\x20],\x0a\x0a','true','double','6679176MEOdXr','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','indexOf','8014740gjuEIl','string','created_at','constructor','\x20},\x0a','defineProperty','../helper','Comment','`,\x20type:\x20\x22number\x22\x20},\x0a',':\x20[\x0a','Null','tinyint','number','enum','\x27,\x20\x27','longtext','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','__esModule','/pages/','/interface.ts','timestamp','apply','getProp','writeFileSync','decimal','156474UXKEyp','date','`,\x20type:\x20\x22date\x22\x20},\x0a','join','json','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','displayorder','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','不能为空`,\x20required:\x20','deleted_at','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','\x27]\x20},\x0a','path','38SFhigR','\x20\x20\x20\x20//\x20','5778536kbQEhi','float','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','\x20\x20\x20\x20','(((.+)+)+)+$','%EditRuleColumn%','text','Type','utf-8','8902971oVmTrR','mediumtext','64835tLtjnR','false','getEnum','16355JJuxjx','toString','YES','dirname','Field','4FxoTgo'];a20_0x5902=function(){return _0x36d06a;};return a20_0x5902();}Object[a20_0x516b77(0x15f)](exports,a20_0x516b77(0x16b),{'value':!![]});function a20_0x2499(_0x2864ea,_0x217fe0){const _0x3fa507=a20_0x5902();return a20_0x2499=function(_0x192beb,_0x2a5dfc){_0x192beb=_0x192beb-0x152;let _0x5902af=_0x3fa507[_0x192beb];return _0x5902af;},a20_0x2499(_0x2864ea,_0x217fe0);}const fs=require('fs'),path=require(a20_0x516b77(0x17f)),helper_1=require(a20_0x516b77(0x160));async function default_1({tablestartUpShort:_0x3e3d5f,tablestartUpShort2:_0x266479,moduleName:_0x4fb3b7,controller:_0x27bc23,apporbasic:_0x32ed07,Fields:_0x141a66}){const _0x498b00=a20_0x516b77;let _0x316fb4=process['cwd']()+'/vue'+(typeof _0x27bc23==_0x498b00(0x15b)?'/'+_0x27bc23:'');_0x4fb3b7?_0x316fb4=_0x316fb4+('/pages/apps/'+_0x4fb3b7+'/'+_0x266479+_0x498b00(0x16d)):_0x316fb4=_0x316fb4+(_0x498b00(0x16c)+_0x32ed07+'/'+_0x266479+_0x498b00(0x16d));const _0x46c5a1=_0x498b00(0x16a)+_0x3e3d5f+_0x498b00(0x17d)+_0x3e3d5f+_0x498b00(0x158),_0x1f7bcb=await createAddRuleColumn({'Fields':_0x141a66}),_0xaa1040=await createEditRuleColumn({'Fields':_0x141a66});!fs['existsSync'](path[_0x498b00(0x193)](_0x316fb4))&&fs['mkdirSync'](path['dirname'](_0x316fb4),{'recursive':!![]}),fs[_0x498b00(0x171)](_0x316fb4,_0x46c5a1[_0x498b00(0x152)]('%AddRuleColumn%',_0x1f7bcb)[_0x498b00(0x152)](_0x498b00(0x187),_0xaa1040),_0x498b00(0x18a));}exports['default']=default_1;async function createAddRuleColumn({Fields:_0x48e559}){const _0x69192e=a20_0x516b77;let _0x1d9b08='';for(let _0x56a567 in _0x48e559){let _0x18bc00=_0x48e559[_0x56a567],_0x34cb1a=(0x0,helper_1[_0x69192e(0x170)])(_0x18bc00['Type']);if(_0x18bc00[_0x69192e(0x194)]==_0x69192e(0x179)||_0x18bc00[_0x69192e(0x194)]==_0x69192e(0x15c)||_0x18bc00[_0x69192e(0x194)]=='updated_at'||_0x18bc00['Field']==_0x69192e(0x17c))continue;if([_0x69192e(0x188),_0x69192e(0x169),_0x69192e(0x18c)]['indexOf'](_0x34cb1a)!=-0x1)_0x1d9b08+=_0x69192e(0x181)+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+=_0x69192e(0x185)+_0x18bc00[_0x69192e(0x194)]+_0x69192e(0x163),_0x18bc00[_0x69192e(0x164)]!='YES'&&(_0x1d9b08+=_0x69192e(0x178)+_0x18bc00[_0x69192e(0x161)]+_0x69192e(0x17b)+(_0x18bc00['Null']!=_0x69192e(0x192)?'false':_0x69192e(0x155))+'\x20},\x0a'),_0x1d9b08+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x69192e(0x183),_0x69192e(0x156),'decimal','number'][_0x69192e(0x159)](_0x34cb1a)!=-0x1)_0x1d9b08+=_0x69192e(0x181)+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+=_0x69192e(0x185)+_0x18bc00[_0x69192e(0x194)]+_0x69192e(0x163),_0x1d9b08+=_0x69192e(0x17a)+_0x18bc00[_0x69192e(0x161)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)&&(_0x1d9b08+=_0x69192e(0x178)+_0x18bc00[_0x69192e(0x161)]+_0x69192e(0x17b)+(_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)?_0x69192e(0x18e):_0x69192e(0x155))+_0x69192e(0x15e)),_0x1d9b08+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x69192e(0x165)][_0x69192e(0x159)](_0x34cb1a)!=-0x1)_0x1d9b08+=_0x69192e(0x181)+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+=_0x69192e(0x185)+_0x18bc00['Field']+':\x20[\x0a',_0x1d9b08+=_0x69192e(0x17a)+_0x18bc00['Comment']+_0x69192e(0x162),_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)&&(_0x1d9b08+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x18bc00['Comment']+_0x69192e(0x17b)+(_0x18bc00[_0x69192e(0x164)]!='YES'?_0x69192e(0x18e):_0x69192e(0x155))+'\x20},\x0a'),_0x1d9b08+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x34cb1a==_0x69192e(0x177))_0x1d9b08+=_0x69192e(0x181)+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+=_0x69192e(0x185)+_0x18bc00[_0x69192e(0x194)]+_0x69192e(0x163),_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)&&(_0x1d9b08+=_0x69192e(0x178)+_0x18bc00['Comment']+_0x69192e(0x17b)+(_0x18bc00['Null']!=_0x69192e(0x192)?_0x69192e(0x18e):'true')+_0x69192e(0x15e)),_0x1d9b08+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x34cb1a==_0x69192e(0x167)){let _0x21548e=(0x0,helper_1[_0x69192e(0x18f)])(_0x18bc00[_0x69192e(0x189)]);_0x1d9b08+=_0x69192e(0x181)+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+=_0x69192e(0x185)+_0x18bc00[_0x69192e(0x194)]+_0x69192e(0x163),_0x1d9b08+=_0x69192e(0x17a)+_0x18bc00[_0x69192e(0x161)]+_0x69192e(0x184)+_0x21548e[_0x69192e(0x176)](_0x69192e(0x168))+_0x69192e(0x17e),_0x18bc00['Null']!=_0x69192e(0x192)&&(_0x1d9b08+=_0x69192e(0x178)+_0x18bc00[_0x69192e(0x161)]+'不能为空`,\x20required:\x20'+(_0x18bc00['Null']!='YES'?'false':_0x69192e(0x155))+_0x69192e(0x15e)),_0x1d9b08+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x69192e(0x174),'datetime',_0x69192e(0x16e)][_0x69192e(0x159)](_0x34cb1a)>-0x1?(_0x1d9b08+=_0x69192e(0x181)+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+='\x20\x20\x20\x20'+_0x18bc00['Field']+_0x69192e(0x163),_0x1d9b08+=_0x69192e(0x17a)+_0x18bc00[_0x69192e(0x161)]+_0x69192e(0x175),_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)&&(_0x1d9b08+=_0x69192e(0x178)+_0x18bc00[_0x69192e(0x161)]+_0x69192e(0x17b)+(_0x18bc00[_0x69192e(0x164)]!='YES'?_0x69192e(0x18e):'true')+_0x69192e(0x15e)),_0x1d9b08+=_0x69192e(0x154)):(_0x1d9b08+='\x20\x20\x20\x20//\x20'+_0x18bc00[_0x69192e(0x161)]+'\x0a',_0x1d9b08+=_0x69192e(0x185)+_0x18bc00[_0x69192e(0x194)]+_0x69192e(0x163),_0x1d9b08+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x18bc00[_0x69192e(0x161)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)&&(_0x1d9b08+=_0x69192e(0x178)+_0x18bc00['Comment']+_0x69192e(0x17b)+(_0x18bc00[_0x69192e(0x164)]!=_0x69192e(0x192)?_0x69192e(0x18e):_0x69192e(0x155))+_0x69192e(0x15e)),_0x1d9b08+=_0x69192e(0x154));}}}}}return _0x1d9b08;}async function createEditRuleColumn({Fields:_0x465920}){const _0x559da2=a20_0x516b77;let _0x4ad346='';for(let _0x388340 in _0x465920){let _0x27abb2=_0x465920[_0x388340],_0x53d850=(0x0,helper_1[_0x559da2(0x170)])(_0x27abb2[_0x559da2(0x189)]);if(_0x27abb2[_0x559da2(0x194)]==_0x559da2(0x179)||_0x27abb2['Field']=='created_at'||_0x27abb2[_0x559da2(0x194)]=='updated_at'||_0x27abb2['Field']==_0x559da2(0x17c))continue;if([_0x559da2(0x188),_0x559da2(0x169),_0x559da2(0x18c)][_0x559da2(0x159)](_0x53d850)!=-0x1)_0x4ad346+='\x20\x20\x20\x20//\x20'+_0x27abb2[_0x559da2(0x161)]+'\x0a',_0x4ad346+=_0x559da2(0x185)+_0x27abb2[_0x559da2(0x194)]+':\x20[\x0a',_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)&&(_0x4ad346+=_0x559da2(0x178)+_0x27abb2[_0x559da2(0x161)]+'不能为空`,\x20required:\x20'+(_0x27abb2[_0x559da2(0x164)]!='YES'?_0x559da2(0x18e):_0x559da2(0x155))+_0x559da2(0x15e)),_0x4ad346+=_0x559da2(0x154);else{if(['float',_0x559da2(0x156),_0x559da2(0x172),_0x559da2(0x166)][_0x559da2(0x159)](_0x53d850)!=-0x1)_0x4ad346+=_0x559da2(0x181)+_0x27abb2[_0x559da2(0x161)]+'\x0a',_0x4ad346+=_0x559da2(0x185)+_0x27abb2[_0x559da2(0x194)]+_0x559da2(0x163),_0x4ad346+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x27abb2[_0x559da2(0x161)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)&&(_0x4ad346+=_0x559da2(0x178)+_0x27abb2[_0x559da2(0x161)]+'不能为空`,\x20required:\x20'+(_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)?'false':_0x559da2(0x155))+_0x559da2(0x15e)),_0x4ad346+=_0x559da2(0x154);else{if([_0x559da2(0x165)][_0x559da2(0x159)](_0x53d850)!=-0x1)_0x4ad346+='\x20\x20\x20\x20//\x20'+_0x27abb2[_0x559da2(0x161)]+'\x0a',_0x4ad346+='\x20\x20\x20\x20'+_0x27abb2[_0x559da2(0x194)]+_0x559da2(0x163),_0x4ad346+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x27abb2[_0x559da2(0x161)]+_0x559da2(0x162),_0x27abb2[_0x559da2(0x164)]!='YES'&&(_0x4ad346+=_0x559da2(0x178)+_0x27abb2[_0x559da2(0x161)]+'不能为空`,\x20required:\x20'+(_0x27abb2['Null']!=_0x559da2(0x192)?_0x559da2(0x18e):_0x559da2(0x155))+_0x559da2(0x15e)),_0x4ad346+=_0x559da2(0x154);else{if(_0x53d850=='json')_0x4ad346+=_0x559da2(0x181)+_0x27abb2['Comment']+'\x0a',_0x4ad346+=_0x559da2(0x185)+_0x27abb2[_0x559da2(0x194)]+_0x559da2(0x163),_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)&&(_0x4ad346+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x27abb2[_0x559da2(0x161)]+_0x559da2(0x17b)+(_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)?_0x559da2(0x18e):_0x559da2(0x155))+_0x559da2(0x15e)),_0x4ad346+=_0x559da2(0x154);else{if(_0x53d850==_0x559da2(0x167)){let _0x3178b5=(0x0,helper_1[_0x559da2(0x18f)])(_0x27abb2[_0x559da2(0x189)]);_0x4ad346+=_0x559da2(0x181)+_0x27abb2[_0x559da2(0x161)]+'\x0a',_0x4ad346+=_0x559da2(0x185)+_0x27abb2[_0x559da2(0x194)]+':\x20[\x0a',_0x4ad346+=_0x559da2(0x17a)+_0x27abb2['Comment']+_0x559da2(0x184)+_0x3178b5[_0x559da2(0x176)]('\x27,\x20\x27')+'\x27]\x20},\x0a',_0x27abb2[_0x559da2(0x164)]!='YES'&&(_0x4ad346+=_0x559da2(0x178)+_0x27abb2['Comment']+_0x559da2(0x17b)+(_0x27abb2['Null']!=_0x559da2(0x192)?_0x559da2(0x18e):_0x559da2(0x155))+_0x559da2(0x15e)),_0x4ad346+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x559da2(0x174),'datetime',_0x559da2(0x16e)][_0x559da2(0x159)](_0x53d850)>-0x1?(_0x4ad346+=_0x559da2(0x181)+_0x27abb2['Comment']+'\x0a',_0x4ad346+=_0x559da2(0x185)+_0x27abb2['Field']+_0x559da2(0x163),_0x4ad346+=_0x559da2(0x17a)+_0x27abb2[_0x559da2(0x161)]+_0x559da2(0x175),_0x27abb2[_0x559da2(0x164)]!='YES'&&(_0x4ad346+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x27abb2['Comment']+'不能为空`,\x20required:\x20'+(_0x27abb2['Null']!=_0x559da2(0x192)?'false':_0x559da2(0x155))+_0x559da2(0x15e)),_0x4ad346+='\x20\x20\x20\x20],\x0a\x0a'):(_0x4ad346+=_0x559da2(0x181)+_0x27abb2[_0x559da2(0x161)]+'\x0a',_0x4ad346+='\x20\x20\x20\x20'+_0x27abb2['Field']+_0x559da2(0x163),_0x4ad346+=_0x559da2(0x17a)+_0x27abb2[_0x559da2(0x161)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)&&(_0x4ad346+=_0x559da2(0x178)+_0x27abb2[_0x559da2(0x161)]+_0x559da2(0x17b)+(_0x27abb2[_0x559da2(0x164)]!=_0x559da2(0x192)?_0x559da2(0x18e):_0x559da2(0x155))+'\x20},\x0a'),_0x4ad346+=_0x559da2(0x154));}}}}}return _0x4ad346;}
|
|
1
|
+
function a20_0x2fed(_0x476914,_0x558334){const _0x434f60=a20_0x229d();return a20_0x2fed=function(_0x365504,_0x391e39){_0x365504=_0x365504-0x17c;let _0x229dc3=_0x434f60[_0x365504];return _0x229dc3;},a20_0x2fed(_0x476914,_0x558334);}const a20_0x41fcfe=a20_0x2fed;(function(_0x4a2d45,_0x29b0f5){const _0x37789d=a20_0x2fed,_0x554242=_0x4a2d45();while(!![]){try{const _0x5368a5=parseInt(_0x37789d(0x1a7))/0x1+-parseInt(_0x37789d(0x186))/0x2*(parseInt(_0x37789d(0x1b8))/0x3)+parseInt(_0x37789d(0x180))/0x4+-parseInt(_0x37789d(0x189))/0x5+parseInt(_0x37789d(0x17d))/0x6*(parseInt(_0x37789d(0x1bd))/0x7)+parseInt(_0x37789d(0x18b))/0x8*(-parseInt(_0x37789d(0x1bc))/0x9)+-parseInt(_0x37789d(0x1b1))/0xa;if(_0x5368a5===_0x29b0f5)break;else _0x554242['push'](_0x554242['shift']());}catch(_0x1735c6){_0x554242['push'](_0x554242['shift']());}}}(a20_0x229d,0xc9647));const a20_0x391e39=(function(){let _0x3259b6=!![];return function(_0x41d743,_0x53bdf3){const _0x135949=_0x3259b6?function(){if(_0x53bdf3){const _0x540557=_0x53bdf3['apply'](_0x41d743,arguments);return _0x53bdf3=null,_0x540557;}}:function(){};return _0x3259b6=![],_0x135949;};}()),a20_0x365504=a20_0x391e39(this,function(){const _0x1a5492=a20_0x2fed;return a20_0x365504[_0x1a5492(0x187)]()[_0x1a5492(0x195)](_0x1a5492(0x192))[_0x1a5492(0x187)]()['constructor'](a20_0x365504)[_0x1a5492(0x195)]('(((.+)+)+)+$');});function a20_0x229d(){const _0x231f45=['getEnum','1277564sfhwcc','/pages/','Type','Field','\x20\x20\x20\x20//\x20','displayorder','false','path','mkdirSync','number','10710310wzkVco','longtext','getProp','Comment','\x20},\x0a','../helper','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','261DIkqZn','`,\x20type:\x20\x22number\x22\x20},\x0a','dirname','float','107703illXof','750757YlXojg','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','\x20\x20\x20\x20','timestamp','double','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','84zTaBcg','text','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','4903072Vfirce','deleted_at','不能为空`,\x20required:\x20','Null','`,\x20type:\x20\x22date\x22\x20},\x0a','enum','25926lIpFZA','toString','string','178690CWvWQM','created_at','632hMJDow','/pages/apps/','__esModule','%EditRuleColumn%','\x20\x20\x20\x20],\x0a\x0a','json','utf-8','(((.+)+)+)+$','`,\x20type:\x20\x22string\x22\x20},\x0a','\x27,\x20\x27','search','indexOf','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','/interface.ts','replace','decimal','default','true','cwd','date','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','defineProperty','\x27]\x20},\x0a',':\x20[\x0a','tinyint','updated_at','YES'];a20_0x229d=function(){return _0x231f45;};return a20_0x229d();}a20_0x365504();'use strict';Object[a20_0x41fcfe(0x1a0)](exports,a20_0x41fcfe(0x18d),{'value':!![]});const fs=require('fs'),path=require(a20_0x41fcfe(0x1ae)),helper_1=require(a20_0x41fcfe(0x1b6));async function default_1({tablestartUpShort:_0xdb5c18,tablestartUpShort2:_0x20fd53,moduleName:_0x1dc565,controller:_0x5d1abd,apporbasic:_0x3179af,Fields:_0x3ca490}){const _0x3bb2cf=a20_0x41fcfe;let _0x35ee05=process[_0x3bb2cf(0x19d)]()+'/vue'+(typeof _0x5d1abd==_0x3bb2cf(0x188)?'/'+_0x5d1abd:'');_0x1dc565?_0x35ee05=_0x35ee05+(_0x3bb2cf(0x18c)+_0x1dc565+'/'+_0x20fd53+_0x3bb2cf(0x198)):_0x35ee05=_0x35ee05+(_0x3bb2cf(0x1a8)+_0x3179af+'/'+_0x20fd53+_0x3bb2cf(0x198));const _0x10587c=_0x3bb2cf(0x1b7)+_0xdb5c18+_0x3bb2cf(0x17f)+_0xdb5c18+_0x3bb2cf(0x17c),_0x39cbcf=await createAddRuleColumn({'Fields':_0x3ca490}),_0x3e70c3=await createEditRuleColumn({'Fields':_0x3ca490});!fs['existsSync'](path[_0x3bb2cf(0x1ba)](_0x35ee05))&&fs[_0x3bb2cf(0x1af)](path['dirname'](_0x35ee05),{'recursive':!![]}),fs['writeFileSync'](_0x35ee05,_0x10587c[_0x3bb2cf(0x199)]('%AddRuleColumn%',_0x39cbcf)['replace'](_0x3bb2cf(0x18e),_0x3e70c3),_0x3bb2cf(0x191));}exports[a20_0x41fcfe(0x19b)]=default_1;async function createAddRuleColumn({Fields:_0x56fccc}){const _0x453dad=a20_0x41fcfe;let _0x1dce6e='';for(let _0x34b311 in _0x56fccc){let _0x4d305e=_0x56fccc[_0x34b311],_0x4e6fce=(0x0,helper_1[_0x453dad(0x1b3)])(_0x4d305e[_0x453dad(0x1a9)]);if(_0x4d305e[_0x453dad(0x1aa)]==_0x453dad(0x1ac)||_0x4d305e['Field']==_0x453dad(0x18a)||_0x4d305e['Field']=='updated_at'||_0x4d305e[_0x453dad(0x1aa)]==_0x453dad(0x181))continue;if([_0x453dad(0x17e),'longtext','mediumtext'][_0x453dad(0x196)](_0x4e6fce)!=-0x1)_0x1dce6e+=_0x453dad(0x1ab)+_0x4d305e[_0x453dad(0x1b4)]+'\x0a',_0x1dce6e+=_0x453dad(0x1bf)+_0x4d305e['Field']+_0x453dad(0x1a2),_0x4d305e[_0x453dad(0x183)]!='YES'&&(_0x1dce6e+=_0x453dad(0x197)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x182)+(_0x4d305e[_0x453dad(0x183)]!='YES'?_0x453dad(0x1ad):_0x453dad(0x19c))+_0x453dad(0x1b5)),_0x1dce6e+=_0x453dad(0x18f);else{if([_0x453dad(0x1bb),_0x453dad(0x1c1),'decimal',_0x453dad(0x1b0)][_0x453dad(0x196)](_0x4e6fce)!=-0x1)_0x1dce6e+=_0x453dad(0x1ab)+_0x4d305e['Comment']+'\x0a',_0x1dce6e+='\x20\x20\x20\x20'+_0x4d305e[_0x453dad(0x1aa)]+_0x453dad(0x1a2),_0x1dce6e+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4d305e['Comment']+_0x453dad(0x1b9),_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)&&(_0x1dce6e+=_0x453dad(0x197)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x182)+(_0x4d305e['Null']!=_0x453dad(0x1a5)?'false':_0x453dad(0x19c))+'\x20},\x0a'),_0x1dce6e+=_0x453dad(0x18f);else{if(['tinyint'][_0x453dad(0x196)](_0x4e6fce)!=-0x1)_0x1dce6e+=_0x453dad(0x1ab)+_0x4d305e[_0x453dad(0x1b4)]+'\x0a',_0x1dce6e+=_0x453dad(0x1bf)+_0x4d305e[_0x453dad(0x1aa)]+_0x453dad(0x1a2),_0x1dce6e+=_0x453dad(0x19f)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x1b9),_0x4d305e[_0x453dad(0x183)]!='YES'&&(_0x1dce6e+=_0x453dad(0x197)+_0x4d305e['Comment']+_0x453dad(0x182)+(_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)?_0x453dad(0x1ad):_0x453dad(0x19c))+_0x453dad(0x1b5)),_0x1dce6e+=_0x453dad(0x18f);else{if(_0x4e6fce==_0x453dad(0x190))_0x1dce6e+=_0x453dad(0x1ab)+_0x4d305e[_0x453dad(0x1b4)]+'\x0a',_0x1dce6e+='\x20\x20\x20\x20'+_0x4d305e[_0x453dad(0x1aa)]+':\x20[\x0a',_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)&&(_0x1dce6e+=_0x453dad(0x197)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x182)+(_0x4d305e[_0x453dad(0x183)]!='YES'?'false':'true')+_0x453dad(0x1b5)),_0x1dce6e+=_0x453dad(0x18f);else{if(_0x4e6fce=='enum'){let _0x51fc59=(0x0,helper_1[_0x453dad(0x1a6)])(_0x4d305e['Type']);_0x1dce6e+=_0x453dad(0x1ab)+_0x4d305e[_0x453dad(0x1b4)]+'\x0a',_0x1dce6e+=_0x453dad(0x1bf)+_0x4d305e[_0x453dad(0x1aa)]+_0x453dad(0x1a2),_0x1dce6e+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x1be)+_0x51fc59['join'](_0x453dad(0x194))+_0x453dad(0x1a1),_0x4d305e[_0x453dad(0x183)]!='YES'&&(_0x1dce6e+=_0x453dad(0x197)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x182)+(_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)?_0x453dad(0x1ad):_0x453dad(0x19c))+_0x453dad(0x1b5)),_0x1dce6e+=_0x453dad(0x18f);}else[_0x453dad(0x19e),'datetime',_0x453dad(0x1c0)][_0x453dad(0x196)](_0x4e6fce)>-0x1?(_0x1dce6e+='\x20\x20\x20\x20//\x20'+_0x4d305e[_0x453dad(0x1b4)]+'\x0a',_0x1dce6e+='\x20\x20\x20\x20'+_0x4d305e[_0x453dad(0x1aa)]+_0x453dad(0x1a2),_0x1dce6e+=_0x453dad(0x19f)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x184),_0x4d305e[_0x453dad(0x183)]!='YES'&&(_0x1dce6e+=_0x453dad(0x197)+_0x4d305e[_0x453dad(0x1b4)]+'不能为空`,\x20required:\x20'+(_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)?_0x453dad(0x1ad):_0x453dad(0x19c))+_0x453dad(0x1b5)),_0x1dce6e+=_0x453dad(0x18f)):(_0x1dce6e+='\x20\x20\x20\x20//\x20'+_0x4d305e['Comment']+'\x0a',_0x1dce6e+=_0x453dad(0x1bf)+_0x4d305e['Field']+':\x20[\x0a',_0x1dce6e+=_0x453dad(0x19f)+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x193),_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)&&(_0x1dce6e+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4d305e[_0x453dad(0x1b4)]+_0x453dad(0x182)+(_0x4d305e[_0x453dad(0x183)]!=_0x453dad(0x1a5)?_0x453dad(0x1ad):_0x453dad(0x19c))+_0x453dad(0x1b5)),_0x1dce6e+='\x20\x20\x20\x20],\x0a\x0a');}}}}}return _0x1dce6e;}async function createEditRuleColumn({Fields:_0x637126}){const _0x8c5f52=a20_0x41fcfe;let _0x58524b='';for(let _0xcb407b in _0x637126){let _0x9491be=_0x637126[_0xcb407b],_0x3f091d=(0x0,helper_1[_0x8c5f52(0x1b3)])(_0x9491be[_0x8c5f52(0x1a9)]);if(_0x9491be[_0x8c5f52(0x1aa)]=='displayorder'||_0x9491be['Field']==_0x8c5f52(0x18a)||_0x9491be[_0x8c5f52(0x1aa)]==_0x8c5f52(0x1a4)||_0x9491be[_0x8c5f52(0x1aa)]==_0x8c5f52(0x181))continue;if([_0x8c5f52(0x17e),_0x8c5f52(0x1b2),'mediumtext'][_0x8c5f52(0x196)](_0x3f091d)!=-0x1)_0x58524b+=_0x8c5f52(0x1ab)+_0x9491be['Comment']+'\x0a',_0x58524b+=_0x8c5f52(0x1bf)+_0x9491be[_0x8c5f52(0x1aa)]+':\x20[\x0a',_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)&&(_0x58524b+=_0x8c5f52(0x197)+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x182)+(_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)?_0x8c5f52(0x1ad):'true')+_0x8c5f52(0x1b5)),_0x58524b+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x8c5f52(0x1bb),_0x8c5f52(0x1c1),_0x8c5f52(0x19a),'number'][_0x8c5f52(0x196)](_0x3f091d)!=-0x1)_0x58524b+=_0x8c5f52(0x1ab)+_0x9491be[_0x8c5f52(0x1b4)]+'\x0a',_0x58524b+=_0x8c5f52(0x1bf)+_0x9491be[_0x8c5f52(0x1aa)]+':\x20[\x0a',_0x58524b+=_0x8c5f52(0x19f)+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x1b9),_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)&&(_0x58524b+=_0x8c5f52(0x197)+_0x9491be['Comment']+_0x8c5f52(0x182)+(_0x9491be[_0x8c5f52(0x183)]!='YES'?_0x8c5f52(0x1ad):'true')+'\x20},\x0a'),_0x58524b+=_0x8c5f52(0x18f);else{if([_0x8c5f52(0x1a3)]['indexOf'](_0x3f091d)!=-0x1)_0x58524b+=_0x8c5f52(0x1ab)+_0x9491be[_0x8c5f52(0x1b4)]+'\x0a',_0x58524b+='\x20\x20\x20\x20'+_0x9491be[_0x8c5f52(0x1aa)]+_0x8c5f52(0x1a2),_0x58524b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x1b9),_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)&&(_0x58524b+=_0x8c5f52(0x197)+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x182)+(_0x9491be['Null']!='YES'?'false':_0x8c5f52(0x19c))+'\x20},\x0a'),_0x58524b+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x3f091d=='json')_0x58524b+=_0x8c5f52(0x1ab)+_0x9491be[_0x8c5f52(0x1b4)]+'\x0a',_0x58524b+='\x20\x20\x20\x20'+_0x9491be[_0x8c5f52(0x1aa)]+_0x8c5f52(0x1a2),_0x9491be['Null']!=_0x8c5f52(0x1a5)&&(_0x58524b+=_0x8c5f52(0x197)+_0x9491be['Comment']+_0x8c5f52(0x182)+(_0x9491be[_0x8c5f52(0x183)]!='YES'?_0x8c5f52(0x1ad):_0x8c5f52(0x19c))+_0x8c5f52(0x1b5)),_0x58524b+=_0x8c5f52(0x18f);else{if(_0x3f091d==_0x8c5f52(0x185)){let _0x22c466=(0x0,helper_1[_0x8c5f52(0x1a6)])(_0x9491be[_0x8c5f52(0x1a9)]);_0x58524b+=_0x8c5f52(0x1ab)+_0x9491be[_0x8c5f52(0x1b4)]+'\x0a',_0x58524b+=_0x8c5f52(0x1bf)+_0x9491be[_0x8c5f52(0x1aa)]+_0x8c5f52(0x1a2),_0x58524b+=_0x8c5f52(0x19f)+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x1be)+_0x22c466['join']('\x27,\x20\x27')+_0x8c5f52(0x1a1),_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)&&(_0x58524b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x182)+(_0x9491be[_0x8c5f52(0x183)]!='YES'?_0x8c5f52(0x1ad):_0x8c5f52(0x19c))+_0x8c5f52(0x1b5)),_0x58524b+=_0x8c5f52(0x18f);}else['date','datetime',_0x8c5f52(0x1c0)][_0x8c5f52(0x196)](_0x3f091d)>-0x1?(_0x58524b+=_0x8c5f52(0x1ab)+_0x9491be[_0x8c5f52(0x1b4)]+'\x0a',_0x58524b+=_0x8c5f52(0x1bf)+_0x9491be[_0x8c5f52(0x1aa)]+_0x8c5f52(0x1a2),_0x58524b+=_0x8c5f52(0x19f)+_0x9491be[_0x8c5f52(0x1b4)]+'`,\x20type:\x20\x22date\x22\x20},\x0a',_0x9491be[_0x8c5f52(0x183)]!='YES'&&(_0x58524b+=_0x8c5f52(0x197)+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x182)+(_0x9491be[_0x8c5f52(0x183)]!='YES'?_0x8c5f52(0x1ad):'true')+_0x8c5f52(0x1b5)),_0x58524b+=_0x8c5f52(0x18f)):(_0x58524b+='\x20\x20\x20\x20//\x20'+_0x9491be['Comment']+'\x0a',_0x58524b+=_0x8c5f52(0x1bf)+_0x9491be[_0x8c5f52(0x1aa)]+_0x8c5f52(0x1a2),_0x58524b+=_0x8c5f52(0x19f)+_0x9491be[_0x8c5f52(0x1b4)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)&&(_0x58524b+=_0x8c5f52(0x197)+_0x9491be[_0x8c5f52(0x1b4)]+_0x8c5f52(0x182)+(_0x9491be[_0x8c5f52(0x183)]!=_0x8c5f52(0x1a5)?_0x8c5f52(0x1ad):'true')+_0x8c5f52(0x1b5)),_0x58524b+=_0x8c5f52(0x18f));}}}}}return _0x58524b;}
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a21_0x4d91(_0x1d2ca2,_0x1a73d4){var _0x1839b2=a21_0x5a3b();return a21_0x4d91=function(_0xd2ff48,_0xbd8864){_0xd2ff48=_0xd2ff48-0x127;var _0x5a3b27=_0x1839b2[_0xd2ff48];return _0x5a3b27;},a21_0x4d91(_0x1d2ca2,_0x1a73d4);}var a21_0x2414e2=a21_0x4d91;(function(_0xbe8117,_0x24bdba){var _0x560b0e=a21_0x4d91,_0x273f85=_0xbe8117();while(!![]){try{var _0x453f42=-parseInt(_0x560b0e(0x130))/0x1*(-parseInt(_0x560b0e(0x128))/0x2)+parseInt(_0x560b0e(0x132))/0x3*(parseInt(_0x560b0e(0x12a))/0x4)+parseInt(_0x560b0e(0x131))/0x5+-parseInt(_0x560b0e(0x12f))/0x6+-parseInt(_0x560b0e(0x133))/0x7+-parseInt(_0x560b0e(0x12c))/0x8+parseInt(_0x560b0e(0x129))/0x9;if(_0x453f42===_0x24bdba)break;else _0x273f85['push'](_0x273f85['shift']());}catch(_0x781d92){_0x273f85['push'](_0x273f85['shift']());}}}(a21_0x5a3b,0x83c9b));var a21_0xbd8864=(function(){var _0x2937be=!![];return function(_0x5e44da,_0x115496){var _0x52b34d=_0x2937be?function(){var _0x47da91=a21_0x4d91;if(_0x115496){var _0x1a583a=_0x115496[_0x47da91(0x127)](_0x5e44da,arguments);return _0x115496=null,_0x1a583a;}}:function(){};return _0x2937be=![],_0x52b34d;};}()),a21_0xd2ff48=a21_0xbd8864(this,function(){var _0x42f4ea=a21_0x4d91;return a21_0xd2ff48['toString']()[_0x42f4ea(0x12b)](_0x42f4ea(0x12e))['toString']()['constructor'](a21_0xd2ff48)['search']('(((.+)+)+)+$');});a21_0xd2ff48();function a21_0x5a3b(){var _0xf03850=['__esModule','apply','34vAvCcy','1187919xEgdFU','655724nlVBAo','search','2126744DUorBN','defineProperty','(((.+)+)+)+$','668574ZNTDLD','13381JFPwEG','5020055xNAOnX','9aLjZJA','6567379fWLunW'];a21_0x5a3b=function(){return _0xf03850;};return a21_0x5a3b();}'use strict';Object[a21_0x2414e2(0x12d)](exports,a21_0x2414e2(0x134),{'value':!![]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anncic-apihelper",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@anncic-api/typeorm": "^3.4.
|
|
17
|
+
"@anncic-api/typeorm": "^3.4.5"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^20.3.2",
|
|
21
21
|
"javascript-obfuscator": "^4.0.2",
|
|
22
22
|
"typescript": "^5.1.3"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "441edba6848e4628d8f80c685eed383d95ab8ca8"
|
|
25
25
|
}
|