moreShopAdmin/dist/admin/assets/edit.b3a33539.js

2 lines
17 KiB
JavaScript
Raw Normal View History

2024-08-28 20:36:40 +08:00
import{_ as Fe}from"./index.b58927cc.js";import{Q as fe,x as Ee,G as Ve,H as Be,R as ye,y as ve,L as Ce,C as he,D as Ae,M as De,B as ke,J as ge,K as we,N as Ue,w as qe,F as xe}from"./element-plus.a63a26dd.js";import{_ as Re}from"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import{f as Q,b as $e}from"./index.5bbc12c8.js";import{u as Ie,a as Te}from"./vue-router.101084e3.js";import{t as Ne,g as Pe}from"./code.327e1da6.js";import{a as Le}from"./useDictOptions.da569484.js";import{d as Oe}from"./dict.db9d8753.js";import{m as Qe}from"./menu.e7c55739.js";import{_ as Se}from"./relations-add.vue_vue_type_script_setup_true_lang.d6c2093d.js";import{l as S}from"./lodash.2473fc51.js";import{d as H,r as j,Z as K,s as z,b as C,o as _,c as B,U as e,L as a,u as o,j as je,a as d,T as v,a9 as h,K as y,R as c,Q as R,n as Ke,t as G,w as ze}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.4884cfc2.js";import"./axios.932d3f8a.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./pinia.a969beab.js";import"./css-color-function.9f6a56f3.js";import"./color.d1bc3784.js";import"./clone.83700f2e.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.fcc9be76.js";import"./vue-clipboard3.9e751565.js";import"./clipboard.dda64e67.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.5f9b7233.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";const Ge={class:"code-edit"},He={class:"w-80"},Je={class:"w-80"},Me={class:"w-80"},We={class:"w-80"},Ze=d("span",{class:"ml-2"},"\u5FC5\u586B",-1),Xe=d("span",{class:"ml-2"},"\u63D2\u5165",-1),Ye=d("span",{class:"ml-2"},"\u7F16\u8F91",-1),el=d("span",{class:"ml-2"},"\u5217\u8868",-1),ll=d("span",{class:"ml-2"},"\u67E5\u8BE2",-1),ul=d("div",{class:"form-tips"},"\u6307\u5B9A\u6811\u8868\u7684\u4E3B\u8981ID\uFF0C\u4E00\u822C\u4E3A\u4E3B\u952E",-1),al=d("div",{class:"form-tips"},"\u6307\u5B9A\u6811\u8868\u7684\u7236ID\uFF0C\u6BD4\u5982\uFF1Aparent_id",-1),tl={class:"w-80"},ol=d("div",{class:"form-tips"},[d("div",null," \u4F8B\uFF1A\u586B\u5199test,\u751F\u6210\u6587\u4EF6\u63CF\u8FF0\u4E3Atest\u63A7\u5236\u5668(test\u903B\u8F91/test\u6A21\u578B) ")],-1),nl={class:"w-80"},dl=d("div",{class:"form-tips"},"\u751F\u6210\u6587\u4EF6\u6240\u5728\u6A21\u5757",-1),sl={class:"w-80"},ml=d("div",{class:"form-tips"},[d("div",null," \u4F8B\uFF1A\u586B\u5199test,\u5219\u5728app/\u6A21\u5757\u540D/controller/test\u4E0B\u751F\u6210\u63A7\u5236\u5668 ")],-1),rl={class:"w-80"},il=d("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),_l={class:"mt-4"},pl=H({name:"tableEdit"}),lu=H({...pl,setup(cl){const J=Ie(),M=Te(),g=j("column"),w=j(!1),$=[{name:"\u4E00\u5BF9\u4E00",value:"has_one"},{name:"\u4E00\u5BF9\u591A",value:"has_many"}],t=K({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 U=0;const I=z(),q=z(),T=K({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\u9009\u62E9\u7236\u7EA7\u83DC\u5355"}],["menu.name"]:[{required:!0,message:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"}],["delete.type"]:[{required:!0,tr