suyuan/public/admin/assets/edit.f2593231.js

2 lines
16 KiB
JavaScript
Raw Normal View History

2023-11-24 17:50:39 +08:00
import{_ as oe}from"./index.018f266f.js";import{Q as ne,H as de,B as me,C as se,x as re,I as ie,F as _e,R as pe,S as ce,J as Fe,N as be,O as fe,Z as Ve,w as Be,y as Ee,D as ve}from"./element-plus.c4a2af8a.js";import{_ as ye}from"./index.vue_vue_type_script_setup_true_lang.23d19169.js";import{f as S,b as Ae}from"./index.a7ae38ad.js";import{u as Ce,a as De}from"./vue-router.12d45bc3.js";import{t as ke,g as ge}from"./code.032ce9ab.js";import{a as he}from"./useDictOptions.f965e37e.js";import{d as we}from"./dict.c4eb476c.js";import{m as Ue}from"./menu.cd013879.js";import{_ as qe}from"./relations-add.vue_vue_type_script_setup_true_lang.3682ba22.js";import{l as O}from"./lodash.ec5da75f.js";import{d as G,r as L,$ as j,s as z,o as i,c as V,U as e,L as u,w as $e,a as n,V as E,a7 as y,u as H,K as B,R as U,S as p,n as xe,t as K}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.ff93117e.js";import"./axios.eb055ccc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.31dc130b.js";import"./color.b6d632a4.js";import"./clone.7a47b02c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.3a33898e.js";import"./ms.a9ae1d6d.js";import"./nprogress.fa64f2fc.js";import"./vue-clipboard3.be0dfeee.js";import"./clipboard.824ba320.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.a5d54722.js";const Re={class:"code-edit"},Ie={class:"w-80"},Te={class:"w-80"},Ne={class:"w-80"},Pe={class:"w-80"},Se=p("\u5355\u8868\uFF08curd\uFF09"),Oe=p("\u6811\u8868\uFF08curd\uFF09"),Le=p("\u7269\u7406\u5220\u9664"),je=p("\u8F6F\u5220\u9664"),ze=n("div",{class:"form-tips"},"\u6307\u5B9A\u6811\u8868\u7684\u4E3B\u8981ID\uFF0C\u4E00\u822C\u4E3A\u4E3B\u952E",-1),He=n("div",{class:"form-tips"},"\u6307\u5B9A\u6811\u8868\u7684\u7236ID\uFF0C\u6BD4\u5982\uFF1Aparent_id",-1),Ke={class:"w-80"},Ge=n("div",{class:"form-tips"},[n("div",null," \u4F8B\uFF1A\u586B\u5199test,\u751F\u6210\u6587\u4EF6\u63CF\u8FF0\u4E3Atest\u63A7\u5236\u5668(test\u903B\u8F91/test\u6A21\u578B) ")],-1),Je=p("\u538B\u7F29\u5305\u4E0B\u8F7D"),Qe=p("\u751F\u6210\u5230\u6A21\u5757"),We={class:"w-80"},Ze=n("div",{class:"form-tips"},"\u751F\u6210\u6587\u4EF6\u6240\u5728\u6A21\u5757",-1),Me={class:"w-80"},Xe=n("div",{class:"form-tips"},[n("div",null," \u4F8B\uFF1A\u586B\u5199test,\u5219\u5728app/\u6A21\u5757\u540D/controller/test\u4E0B\u751F\u6210\u63A7\u5236\u5668 ")],-1),Ye={class:"w-80"},el=p("\u81EA\u52A8\u6784\u5EFA"),ll=p("\u624B\u52A8\u6DFB\u52A0"),ul=n("div",{class:"form-tips"}," \u81EA\u52A8\u6784\u5EFA\uFF1A\u81EA\u52A8\u6267\u884C\u751F\u6210\u83DC\u5355sql\u3002\u624B\u52A8\u6DFB\u52A0\uFF1A\u81EA\u884C\u6DFB\u52A0\u83DC\u5355\u3002 ",-1),al=p(" \u65B0\u589E\u5173\u8054 "),tl={class:"mt-4"},ol=p(" \u7F16\u8F91 "),nl=p(" \u5220\u9664 "),dl=p("\u4FDD\u5B58"),ml=G({name:"tableEdit"}),Xl=G({...ml,setup(sl){const J=Ce(),Q=De(),q=L("column"),k=L(!1),$=[{name:"\u4E00\u5BF9\u4E00",value:"has_one"},{name:"\u4E00\u5BF9\u591A",value:"has_many"}],t=j({id:"",table_name:"",table_comment:"",author:"",remark:"",template_type:0,generate_type:0,module_name:"",class_dir:"",class_comment:"",table_column:[],menu:{pid:0,name:"",type:0},tree:{tree_id:0,tree_pid:0,tree_name:0},delete:{name:"",type:0},relations:[]});let g=0;const x=z(),h=z(),R=j({table_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u8868\u540D\u79F0"}],table_comment:[{required:!0,message:"\u8BF7\u8F93\u5165\u8868\u63CF\u8FF0"}],module_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u6A21\u5757\u540D"}],generate_type:[{required:!0,trigger:"change"}],template_type:[{required:!0,trigger:"change"}],["menu.pid"]:[{required:!0,message:"\u8BF7\u9