suyuan-breed/public/admin/assets/edit.35389759.js

2 lines
16 KiB
JavaScript
Raw Permalink Normal View History

2024-02-22 17:19:17 +08:00
import{_ as oe}from"./index.14b5d861.js";import{U as ne,J as de,B as me,C as se,x as re,K as ie,F as _e,G as pe,H as ce,M as Fe,R as be,S as fe,$ as Ve,w as Be,y as Ee,D as ve}from"./element-plus.ae8e286c.js";import{_ as ye}from"./index.vue_vue_type_script_setup_true_lang.4e44db35.js";import{f as S,b as Ae}from"./index.71fc8348.js";import{u as Ce,a as De}from"./vue-router.ed788fee.js";import{t as ke,g as ge}from"./code.733ce175.js";import{a as Ue}from"./useDictOptions.40b26c73.js";import{d as he}from"./dict.0b13e0b9.js";import{m as we}from"./menu.eb5d33a5.js";import{_ as qe}from"./relations-add.vue_vue_type_script_setup_true_lang.27c5c201.js";import{l as O}from"./lodash.e92d81a1.js";import{d as J,r as K,_ as j,s as z,o as i,c as V,T as e,K as u,w as $e,a as n,U as E,a6 as y,u as G,J as B,Q as w,R as p,n as xe,t as H}from"./@vue.108c970a.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.664390f6.js";import"./axios.4ebfdb3f.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.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.dbf33394.js";import"./color.e1b5fced.js";import"./clone.0a4e8ac3.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.f174a91e.js";import"./ms.a9ae1d6d.js";import"./nprogress.d7c3ab1b.js";import"./vue-clipboard3.add720e2.js";import"./clipboard.01ea18f5.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.241b9b5d.js";import"./index.a9e38e26.js";const Re={class:"code-edit"},Te={class:"w-80"},Ie={class:"w-80"},Ne={class:"w-80"},Pe={class:"w-80"},Se=p("\u5355\u8868\uFF08curd\uFF09"),Oe=p("\u6811\u8868\uFF08curd\uFF09"),Ke=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),Ge=n("div",{class:"form-tips"},"\u6307\u5B9A\u6811\u8868\u7684\u7236ID\uFF0C\u6BD4\u5982\uFF1Aparent_id",-1),He={class:"w-80"},Je=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),Le=p("\u538B\u7F29\u5305\u4E0B\u8F7D"),Me=p("\u751F\u6210\u5230\u6A21\u5757"),Qe={class:"w-80"},We=n("div",{class:"form-tips"},"\u751F\u6210\u6587\u4EF6\u6240\u5728\u6A21\u5757",-1),Xe={class:"w-80"},Ye=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),Ze={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=J({name:"tableEdit"}),Yl=J({...ml,setup(sl){const L=Ce(),M=De(),q=K("column"),k=K(!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(),U=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