test_lgq/niucloud/public/admin/assets/edit-5677190c.js

2 lines
19 KiB
JavaScript
Raw Normal View History

2024-01-24 17:36:08 +08:00
import{d as $e,O as Ee,f as Se,r as h,cQ as Ne,N as a,v as De,n as Fe,q as E,h as r,c as k,y as Ie,a as i,u as n,t as _,e as t,w as d,F as w,G as U,I as b,B as $,i as v,D as me,cz as L,a4 as ie,a8 as Pe,R as Re,W as Be,X as Me,as as qe,aF as Ae,Y as Le,aD as Oe,ah as ze,aB as Ge,E as je,aj as Ke,az as Je,aA as We,aG as Qe,aE as Xe,$ as Ye,a0 as He,p as Ze,g as el,_ as ll}from"./index-4dcc0234.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css */import"./el-form-item-4ed993c7.js";import{_ as al}from"./edit-associated.vue_vue_type_script_setup_true_async_true_lang-84f9dad8.js";import{_ as tl}from"./edit-view-type.vue_vue_type_script_setup_true_async_true_lang-c96e768c.js";import{_ as nl}from"./edit-verify.vue_vue_type_script_setup_true_async_true_lang-a3f3db3b.js";import{g as ol,o as dl,p as sl,q as ul,r as ml}from"./tools-123d2a10.js";import{a3 as re}from"./sys-8ead7f22.js";import{S as il}from"./sortable.esm-be94e56d.js";/* empty css */import"./dict-1d5574f0.js";/* empty css */const x=S=>(Ze("data-v-dcd148dc"),S=S(),el(),S),rl={class:"main-container mb-80"},pl={class:"detail-head !mb-[10px]"},cl=x(()=>i("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1)),_l={class:"ml-[1px]"},bl=x(()=>i("span",{class:"adorn"},"|",-1)),fl={class:"right"},vl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"}," 生成代码所属功能模块,对应路由名称,例如会员模块,充值模块,订单模块等",-1)),yl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"}," 命名规范,小写,多个单词使用下划线连接,例如: memberarticle_category",-1)),hl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"}," 生成代码所属文件名称controllermodelservice等类型文件名",-1)),xl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"}," 命名规范,小写,多个单词使用下划线连接,例如: article_category",-1)),Vl=x(()=>i("i",{class:"iconfont icontuodong vues-rank cursor-move"},null,-1)),gl={class:"flex items-center"},kl={class:"flex items-center"},wl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"}," 物理删除:从表中把记录移除。软删除:通过标识使得这条记录在系统逻辑层面上不可见",-1)),Cl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"}," 软删除字段需为int类型并且默认值为0",-1)),Tl=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"},"弹出:弹出框编辑。新页面:跳转页面编辑。",-1)),Ul=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"},"列表排序规则字段。",-1)),$l=x(()=>i("p",{class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"},"列表排序规则。",-1)),El={class:"mb-[20px]"},Sl={class:"fixed-footer-wrap"},Nl={class:"fixed-footer"},Dl=$e({__name:"edit",setup(S){const O=Ee(),z=Se(),pe=O.meta.title,G=parseInt(O.query.id||0),V=h(!0),j=Ne(),K=h(0),J=h("basicSettings"),W={id:"",table_name:"",table_content:"",module_name:"",class_name:"",edit_type:1,table_column:[],editFiledIndex:0},ce=["=","!=",">",">=","<","<=","LIKE","BETWEEN"],_e=[{label:a("formInput"),value:"input"},{label:a("formTextarea"),value:"textarea"},{label:a("formSelect"),value:"select"},{label:a("formRadio"),value:"radio"},{label:a("formCheckbox"),value:"checkbox"},{label:a("formDateTime"),value:"datetime"},{label:a("formImageSelect"),value:"imageSelect"},{label:a("formEditor"),value:"editor"},{label:a("formNumber"),value: