2 lines
22 KiB
JavaScript
2 lines
22 KiB
JavaScript
import{$ as t,_ as _e,r as f,d as u,o as _,c as w,e as s,w as e,f as o,I as K,l as c,F as Q,A as z,x as G,p as ye,q as be,G as he,H as ke,R as we,Q as le,J as k,K as xe,j as Ce,k as d,m as i,a0 as ne,g as V,a1 as Ne,s as Se,P as Ue}from"./index.b3c890dc.js";import{l as ae,g as qe,u as Fe,a as $e,d as Me}from"./menu.e1365309.js";let M=[];const Be=Object.assign({"../../assets/icons/svg/404.svg":()=>t(()=>import("./404.b46c7eb9.js"),[]),"../../assets/icons/svg/bug.svg":()=>t(()=>import("./bug.c2b901ab.js"),[]),"../../assets/icons/svg/build.svg":()=>t(()=>import("./build.cee08664.js"),[]),"../../assets/icons/svg/button.svg":()=>t(()=>import("./button.d4ec432f.js"),[]),"../../assets/icons/svg/cascader.svg":()=>t(()=>import("./cascader.1134cded.js"),[]),"../../assets/icons/svg/chart.svg":()=>t(()=>import("./chart.47c5fc09.js"),[]),"../../assets/icons/svg/checkbox.svg":()=>t(()=>import("./checkbox.e0011079.js"),[]),"../../assets/icons/svg/clipboard.svg":()=>t(()=>import("./clipboard.4cb84a95.js"),[]),"../../assets/icons/svg/code.svg":()=>t(()=>import("./code.e3552bf9.js"),[]),"../../assets/icons/svg/color.svg":()=>t(()=>import("./color.36c00dbd.js"),[]),"../../assets/icons/svg/component.svg":()=>t(()=>import("./component.39aabf93.js"),[]),"../../assets/icons/svg/dashboard.svg":()=>t(()=>import("./dashboard.1cdb26b4.js"),[]),"../../assets/icons/svg/date-range.svg":()=>t(()=>import("./date-range.61256616.js"),[]),"../../assets/icons/svg/date.svg":()=>t(()=>import("./date.1a1b54fa.js"),[]),"../../assets/icons/svg/dict.svg":()=>t(()=>import("./dict.f9e4196e.js"),[]),"../../assets/icons/svg/documentation.svg":()=>t(()=>import("./documentation.a5f1c591.js"),[]),"../../assets/icons/svg/download.svg":()=>t(()=>import("./download.b06fbc7a.js"),[]),"../../assets/icons/svg/downloads.svg":()=>t(()=>import("./downloads.e955445d.js"),[]),"../../assets/icons/svg/drag.svg":()=>t(()=>import("./drag.855f09b1.js"),[]),"../../assets/icons/svg/druid.svg":()=>t(()=>import("./druid.59e3bde2.js"),[]),"../../assets/icons/svg/edit.svg":()=>t(()=>import("./edit.6138f7bd.js"),[]),"../../assets/icons/svg/education.svg":()=>t(()=>import("./education.9cdfc09c.js"),[]),"../../assets/icons/svg/email.svg":()=>t(()=>import("./email.6177a1b7.js"),[]),"../../assets/icons/svg/example.svg":()=>t(()=>import("./example.28eb468e.js"),[]),"../../assets/icons/svg/excel.svg":()=>t(()=>import("./excel.9680a7a3.js"),[]),"../../assets/icons/svg/exit-fullscreen.svg":()=>t(()=>import("./exit-fullscreen.7693107c.js"),[]),"../../assets/icons/svg/eye-open.svg":()=>t(()=>import("./eye-open.2742c814.js"),[]),"../../assets/icons/svg/eye.svg":()=>t(()=>import("./eye.7efea8d7.js"),[]),"../../assets/icons/svg/form.svg":()=>t(()=>import("./form.fe6029ff.js"),[]),"../../assets/icons/svg/fullscreen.svg":()=>t(()=>import("./fullscreen.181ef4f1.js"),[]),"../../assets/icons/svg/github.svg":()=>t(()=>import("./github.f0d66958.js"),[]),"../../assets/icons/svg/guide.svg":()=>t(()=>import("./guide.40474b41.js"),[]),"../../assets/icons/svg/icon.svg":()=>t(()=>import("./icon.2d1c0100.js"),[]),"../../assets/icons/svg/input.svg":()=>t(()=>import("./input.a7187a4f.js"),[]),"../../assets/icons/svg/international.svg":()=>t(()=>import("./international.7ee45404.js"),[]),"../../assets/icons/svg/job.svg":()=>t(()=>import("./job.ef157af3.js"),[]),"../../assets/icons/svg/language.svg":()=>t(()=>import("./language.443cf574.js"),[]),"../../assets/icons/svg/link.svg":()=>t(()=>import("./link.64f798fb.js"),[]),"../../assets/icons/svg/list.svg":()=>t(()=>import("./list.88f483cb.js"),[]),"../../assets/icons/svg/lock.svg":()=>t(()=>import("./lock.b3970863.js"),[]),"../../assets/icons/svg/log.svg":()=>t(()=>import("./log.6a61dc82.js"),[]),"../../assets/icons/svg/logininfor.svg":()=>t(()=>import("./logininfor.1258c2cb.js"),[]),"../../assets/icons/svg/message.svg":()=>t(()=>import("./message.082e45f4.js"),[]),"../../assets/icons/svg/money.svg":()=>t(()=>import("./money.1bcf65d6.js"),[]),"../../assets/icons/svg/monitor.svg":()=>t(()=>import("./monitor.16d358a5.js"),[]),"../../assets/icons/svg/nested.svg":()=>t(()=>import("./nested.0325dcc4.js"),[]),"../../assets/icons/svg/number.svg":()=>t(()=>import("./number.63af79ba.js"),[]),"../../assets/icons/svg/online.svg":()=>t(()=>import("./online.0bccf30b.js"),[]),"../../assets/icons/svg/password.svg":()=>t(()=>import("./password.4f940edf.js"),[]),"../../assets/icons/svg/pdf.svg":()=>t(()=>import("./pdf.53cff26e.js"),[]),"../../assets/icons/svg/people.svg":()=>t(()=>import("./people.87963c2b.js"),[]),"../../assets/icons/svg/peoples.svg":()=>t(()=>import("./peoples.0e6279eb.js"),[]),"../../assets/icons/svg/phone.svg":()=>t(()=>import("./phone.5ce31124.js"),[]),"../../assets/icons/svg/post.svg":()=>t(()=>import("./post.8daa8f25.js"),[]),"../../assets/icons/svg/qq.svg":()=>t(()=>import("./qq.74ce5ed3.js"),[]),"../../assets/icons/svg/question.svg":()=>t(()=>import("./question.0c8624b9.js"),[]),"../../assets/icons/svg/radio.svg":()=>t(()=>import("./radio.d6beef62.js"),[]),"../../assets/icons/svg/rate.svg":()=>t(()=>import("./rate.4a8dcd58.js"),[]),"../../assets/icons/svg/redis-list.svg":()=>t(()=>import("./redis-list.8924bf0a.js"),[]),"../../assets/icons/svg/redis.svg":()=>t(()=>import("./redis.615d741a.js"),[]),"../../assets/icons/svg/row.svg":()=>t(()=>import("./row.1bd8ad7e.js"),[]),"../../assets/icons/svg/search.svg":()=>t(()=>import("./search.33b822fc.js"),[]),"../../assets/icons/svg/select.svg":()=>t(()=>import("./select.558564a5.js"),[]),"../../assets/icons/svg/server.svg":()=>t(()=>import("./server.f0461856.js"),[]),"../../assets/icons/svg/shopping.svg":()=>t(()=>import("./shopping.b0e0ebd3.js"),[]),"../../assets/icons/svg/size.svg":()=>t(()=>import("./size.a85972fe.js"),[]),"../../assets/icons/svg/skill.svg":()=>t(()=>import("./skill.bb02a4ac.js"),[]),"../../assets/icons/svg/slider.svg":()=>t(()=>import("./slider.ab079a74.js"),[]),"../../assets/icons/svg/star.svg":()=>t(()=>import("./star.5374eaaa.js"),[]),"../../assets/icons/svg/swagger.svg":()=>t(()=>import("./swagger.0f6005b0.js"),[]),"../../assets/icons/svg/switch.svg":()=>t(()=>import("./switch.39427d32.js"),[]),"../../assets/icons/svg/system.svg":()=>t(()=>import("./system.dd8f4370.js"),[]),"../../assets/icons/svg/tab.svg":()=>t(()=>import("./tab.837765b4.js"),[]),"../../assets/icons/svg/table.svg":()=>t(()=>import("./table.53c6772c.js"),[]),"../../assets/icons/svg/textarea.svg":()=>t(()=>import("./textarea.7dc42e90.js"),[]),"../../assets/icons/svg/theme.svg":()=>t(()=>import("./theme.988b699a.js"),[]),"../../assets/icons/svg/time-range.svg":()=>t(()=>import("./time-range.134e4394.js"),[]),"../../assets/icons/svg/time.svg":()=>t(()=>import("./time.145701c2.js"),[]),"../../assets/icons/svg/tool.svg":()=>t(()=>import("./tool.c30a4b30.js"),[]),"../../assets/icons/svg/tree-table.svg":()=>t(()=>import("./tree-table.a57dac2f.js"),[]),"../../assets/icons/svg/tree.svg":()=>t(()=>import("./tree.3a250732.js"),[]),"../../assets/icons/svg/upload.svg":()=>t(()=>import("./upload.02a15e1b.js"),[]),"../../assets/icons/svg/user.svg":()=>t(()=>import("./user.0c7aa22a.js"),[]),"../../assets/icons/svg/validCode.svg":()=>t(()=>import("./validCode.c5c7d4df.js"),[]),"../../assets/icons/svg/wechat.svg":()=>t(()=>import("./wechat.ec3af840.js"),[]),"../../assets/icons/svg/zip.svg":()=>t(()=>import("./zip.fc1b638f.js"),[])});for(const b in Be){const m=b.split("assets/icons/svg/")[1].split(".svg")[0];M.push(m)}const je=b=>(ye("data-v-93339799"),b=b(),be(),b),Ke={class:"icon-body"},Qe=je(()=>c("i",{class:"el-icon-search el-input__icon"},null,-1)),ze={class:"icon-list"},Ge=["onClick"],He={__name:"index",emits:["selected"],setup(b,{expose:m,emit:H}){const I=f(""),h=f(M);function E(){h.value=M,I.value&&(h.value=M.filter(A=>A.indexOf(I.value)!==-1))}function U(A){H("selected",A),document.body.click()}function x(){I.value="",h.value=M}return m({reset:x}),(A,C)=>{const q=u("el-input"),F=u("svg-icon");return _(),w("div",Ke,[s(q,{modelValue:o(I),"onUpdate:modelValue":C[0]||(C[0]=g=>K(I)?I.value=g:null),style:{position:"relative"},clearable:"",placeholder:"\u8BF7\u8F93\u5165\u56FE\u6807\u540D\u79F0",onClear:E,onInput:E},{suffix:e(()=>[Qe]),_:1},8,["modelValue"]),c("div",ze,[(_(!0),w(Q,null,z(o(h),(g,B)=>(_(),w("div",{key:B,onClick:X=>U(g)},[s(F,{"icon-class":g,style:{height:"30px",width:"16px"}},null,8,["icon-class"]),c("span",null,G(g),1)],8,Ge))),128))])])}}},Je=_e(He,[["__scopeId","data-v-93339799"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/components/IconSelect/index.vue"]]),We={class:"app-container"},Xe={class:"dialog-footer"},Ye=he({name:"Menu"}),Ze=Object.assign(Ye,{setup(b){const{proxy:m}=Se(),{sys_show_hide:H,sys_normal_disable:I}=m.useDict("sys_show_hide","sys_normal_disable"),h=f([]),E=f(!1),U=f(!0),x=f(!0),A=f(""),C=f([]),q=f(!1),F=f(!0),g=f(!1),B=f(null),X=ke({form:{},queryParams:{menuName:void 0,visible:void 0},rules:{menuName:[{required:!0,message:"\u83DC\u5355\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],orderNum:[{required:!0,message:"\u83DC\u5355\u987A\u5E8F\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],path:[{required:!0,message:"\u8DEF\u7531\u5730\u5740\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}]}}),{queryParams:N,form:n,rules:ie}=we(X);function S(){U.value=!0,ae(N.value).then(r=>{h.value=m.handleTree(r.data,"menuId"),U.value=!1})}function Y(){C.value=[],ae().then(r=>{const a={menuId:0,menuName:"\u4E3B\u7C7B\u76EE",children:[]};a.children=m.handleTree(r.data,"menuId"),C.value.push(a)})}function ue(){E.value=!1,J()}function J(){n.value={menuId:void 0,parentId:0,menuName:void 0,icon:void 0,menuType:"M",orderNum:void 0,isFrame:"1",isCache:"0",visible:"0",status:"0"},m.resetForm("menuRef")}function Z(){B.value.reset(),g.value=!0}function re(r){n.value.icon=r,g.value=!1}function de(r){var a=r.relatedTarget||r.srcElement||r.target||r.currentTarget,T=a.className;T!=="el-input__inner"&&(g.value=!1)}function W(){S()}function pe(){m.resetForm("queryRef"),W()}function ee(r){J(),Y(),r!=null&&r.menuId?n.value.parentId=r.menuId:n.value.parentId=0,E.value=!0,A.value="\u6DFB\u52A0\u83DC\u5355"}function ve(){F.value=!1,q.value=!q.value,Ue(()=>{F.value=!0})}async function me(r){J(),await Y(),qe(r.menuId).then(a=>{n.value=a.data,E.value=!0,A.value="\u4FEE\u6539\u83DC\u5355"})}function ce(){m.$refs.menuRef.validate(r=>{r&&(n.value.menuId!=null?Fe(n.value).then(a=>{m.$modal.msgSuccess("\u4FEE\u6539\u6210\u529F"),E.value=!1,S()}):$e(n.value).then(a=>{m.$modal.msgSuccess("\u65B0\u589E\u6210\u529F"),E.value=!1,S()}))})}function ge(r){m.$modal.confirm('\u662F\u5426\u786E\u8BA4\u5220\u9664\u540D\u79F0\u4E3A"'+r.menuName+'"\u7684\u6570\u636E\u9879?').then(function(){return Me(r.menuId)}).then(()=>{S(),m.$modal.msgSuccess("\u5220\u9664\u6210\u529F")}).catch(()=>{})}return S(),(r,a)=>{const T=u("el-input"),p=u("el-form-item"),fe=u("el-option"),Ee=u("el-select"),R=u("el-button"),se=u("el-form"),v=u("el-col"),Ve=u("right-toolbar"),te=u("el-row"),O=u("el-table-column"),Ie=u("dict-tag"),Te=u("el-table"),Re=u("el-tree-select"),P=u("el-radio"),$=u("el-radio-group"),Pe=u("search"),D=u("el-icon"),De=u("el-popover"),Ae=u("el-input-number"),L=u("question-filled"),y=u("el-tooltip"),Oe=u("el-dialog"),j=le("hasPermi"),Le=le("loading");return _(),w("div",We,[k(s(se,{model:o(N),ref:"queryRef",inline:!0},{default:e(()=>[s(p,{label:"\u83DC\u5355\u540D\u79F0",prop:"menuName"},{default:e(()=>[s(T,{modelValue:o(N).menuName,"onUpdate:modelValue":a[0]||(a[0]=l=>o(N).menuName=l),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0",clearable:"",style:{width:"200px"},onKeyup:Ce(W,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),s(p,{label:"\u72B6\u6001",prop:"status"},{default:e(()=>[s(Ee,{modelValue:o(N).status,"onUpdate:modelValue":a[1]||(a[1]=l=>o(N).status=l),placeholder:"\u83DC\u5355\u72B6\u6001",clearable:"",style:{width:"200px"}},{default:e(()=>[(_(!0),w(Q,null,z(o(I),l=>(_(),d(fe,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),s(p,null,{default:e(()=>[s(R,{type:"primary",icon:"Search",onClick:W},{default:e(()=>[i("\u641C\u7D22")]),_:1}),s(R,{icon:"Refresh",onClick:pe},{default:e(()=>[i("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"]),[[xe,o(x)]]),s(te,{gutter:10,class:"mb8"},{default:e(()=>[s(v,{span:1.5},{default:e(()=>[k((_(),d(R,{type:"primary",plain:"",icon:"Plus",onClick:ee},{default:e(()=>[i("\u65B0\u589E")]),_:1})),[[j,["system:menu:add"]]])]),_:1},8,["span"]),s(v,{span:1.5},{default:e(()=>[s(R,{type:"info",plain:"",icon:"Sort",onClick:ve},{default:e(()=>[i("\u5C55\u5F00/\u6298\u53E0")]),_:1})]),_:1},8,["span"]),s(Ve,{showSearch:o(x),"onUpdate:showSearch":a[2]||(a[2]=l=>K(x)?x.value=l:null),onQueryTable:S},null,8,["showSearch"])]),_:1}),o(F)?k((_(),d(Te,{key:0,data:o(h),"row-key":"menuId","default-expand-all":o(q),"tree-props":{children:"children",hasChildren:"hasChildren"}},{default:e(()=>[s(O,{prop:"menuName",label:"\u83DC\u5355\u540D\u79F0","show-overflow-tooltip":!0,width:"160"}),s(O,{prop:"icon",label:"\u56FE\u6807",align:"center",width:"100"},{default:e(l=>[s(o(ne),{"icon-class":l.row.icon},null,8,["icon-class"])]),_:1}),s(O,{prop:"orderNum",label:"\u6392\u5E8F",width:"60"}),s(O,{prop:"perms",label:"\u6743\u9650\u6807\u8BC6","show-overflow-tooltip":!0}),s(O,{prop:"component",label:"\u7EC4\u4EF6\u8DEF\u5F84","show-overflow-tooltip":!0}),s(O,{prop:"status",label:"\u72B6\u6001",width:"80"},{default:e(l=>[s(Ie,{options:o(I),value:l.row.status},null,8,["options","value"])]),_:1}),s(O,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime"},{default:e(l=>[c("span",null,G(r.parseTime(l.row.createTime)),1)]),_:1}),s(O,{label:"\u64CD\u4F5C",align:"center",width:"210","class-name":"small-padding fixed-width"},{default:e(l=>[k((_(),d(R,{link:"",type:"primary",icon:"Edit",onClick:oe=>me(l.row)},{default:e(()=>[i("\u4FEE\u6539")]),_:2},1032,["onClick"])),[[j,["system:menu:edit"]]]),k((_(),d(R,{link:"",type:"primary",icon:"Plus",onClick:oe=>ee(l.row)},{default:e(()=>[i("\u65B0\u589E")]),_:2},1032,["onClick"])),[[j,["system:menu:add"]]]),k((_(),d(R,{link:"",type:"primary",icon:"Delete",onClick:oe=>ge(l.row)},{default:e(()=>[i("\u5220\u9664")]),_:2},1032,["onClick"])),[[j,["system:menu:remove"]]])]),_:1})]),_:1},8,["data","default-expand-all"])),[[Le,o(U)]]):V("v-if",!0),V(" \u6DFB\u52A0\u6216\u4FEE\u6539\u83DC\u5355\u5BF9\u8BDD\u6846 "),s(Oe,{title:o(A),modelValue:o(E),"onUpdate:modelValue":a[17]||(a[17]=l=>K(E)?E.value=l:null),width:"680px","append-to-body":""},{footer:e(()=>[c("div",Xe,[s(R,{type:"primary",onClick:ce},{default:e(()=>[i("\u786E \u5B9A")]),_:1}),s(R,{onClick:ue},{default:e(()=>[i("\u53D6 \u6D88")]),_:1})])]),default:e(()=>[s(se,{ref:"menuRef",model:o(n),rules:o(ie),"label-width":"100px"},{default:e(()=>[s(te,null,{default:e(()=>[s(v,{span:24},{default:e(()=>[s(p,{label:"\u4E0A\u7EA7\u83DC\u5355"},{default:e(()=>[s(Re,{modelValue:o(n).parentId,"onUpdate:modelValue":a[3]||(a[3]=l=>o(n).parentId=l),data:o(C),props:{value:"menuId",label:"menuName",children:"children"},"value-key":"menuId",placeholder:"\u9009\u62E9\u4E0A\u7EA7\u83DC\u5355","check-strictly":""},null,8,["modelValue","data"])]),_:1})]),_:1}),s(v,{span:24},{default:e(()=>[s(p,{label:"\u83DC\u5355\u7C7B\u578B",prop:"menuType"},{default:e(()=>[s($,{modelValue:o(n).menuType,"onUpdate:modelValue":a[4]||(a[4]=l=>o(n).menuType=l)},{default:e(()=>[s(P,{label:"M"},{default:e(()=>[i("\u76EE\u5F55")]),_:1}),s(P,{label:"C"},{default:e(()=>[i("\u83DC\u5355")]),_:1}),s(P,{label:"F"},{default:e(()=>[i("\u6309\u94AE")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),o(n).menuType!="F"?(_(),d(v,{key:0,span:24},{default:e(()=>[s(p,{label:"\u83DC\u5355\u56FE\u6807",prop:"icon"},{default:e(()=>[s(De,{placement:"bottom-start",width:540,visible:o(g),"onUpdate:visible":a[6]||(a[6]=l=>K(g)?g.value=l:null),trigger:"click",onShow:Z},{reference:e(()=>[k((_(),d(T,{modelValue:o(n).icon,"onUpdate:modelValue":a[5]||(a[5]=l=>o(n).icon=l),placeholder:"\u70B9\u51FB\u9009\u62E9\u56FE\u6807",onBlur:Z,readonly:""},{prefix:e(()=>[o(n).icon?(_(),d(o(ne),{key:0,"icon-class":o(n).icon,class:"el-input__icon",style:{height:"32px",width:"16px"}},null,8,["icon-class"])):(_(),d(D,{key:1,style:{height:"32px",width:"16px"}},{default:e(()=>[s(Pe)]),_:1}))]),_:1},8,["modelValue"])),[[o(Ne),de]])]),default:e(()=>[s(o(Je),{ref_key:"iconSelectRef",ref:B,onSelected:re},null,512)]),_:1},8,["visible"])]),_:1})]),_:1})):V("v-if",!0),s(v,{span:12},{default:e(()=>[s(p,{label:"\u83DC\u5355\u540D\u79F0",prop:"menuName"},{default:e(()=>[s(T,{modelValue:o(n).menuName,"onUpdate:modelValue":a[7]||(a[7]=l=>o(n).menuName=l),placeholder:"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1})]),_:1}),s(v,{span:12},{default:e(()=>[s(p,{label:"\u663E\u793A\u6392\u5E8F",prop:"orderNum"},{default:e(()=>[s(Ae,{modelValue:o(n).orderNum,"onUpdate:modelValue":a[8]||(a[8]=l=>o(n).orderNum=l),"controls-position":"right",min:0},null,8,["modelValue"])]),_:1})]),_:1}),o(n).menuType!="F"?(_(),d(v,{key:1,span:12},{default:e(()=>[s(p,null,{label:e(()=>[c("span",null,[s(y,{content:"\u9009\u62E9\u662F\u5916\u94FE\u5219\u8DEF\u7531\u5730\u5740\u9700\u8981\u4EE5`http(s)://`\u5F00\u5934",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i("\u662F\u5426\u5916\u94FE ")])]),default:e(()=>[s($,{modelValue:o(n).isFrame,"onUpdate:modelValue":a[9]||(a[9]=l=>o(n).isFrame=l)},{default:e(()=>[s(P,{label:"0"},{default:e(()=>[i("\u662F")]),_:1}),s(P,{label:"1"},{default:e(()=>[i("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType!="F"?(_(),d(v,{key:2,span:12},{default:e(()=>[s(p,{prop:"path"},{label:e(()=>[c("span",null,[s(y,{content:"\u8BBF\u95EE\u7684\u8DEF\u7531\u5730\u5740\uFF0C\u5982\uFF1A`user`\uFF0C\u5982\u5916\u7F51\u5730\u5740\u9700\u5185\u94FE\u8BBF\u95EE\u5219\u4EE5`http(s)://`\u5F00\u5934",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u8DEF\u7531\u5730\u5740 ")])]),default:e(()=>[s(T,{modelValue:o(n).path,"onUpdate:modelValue":a[10]||(a[10]=l=>o(n).path=l),placeholder:"\u8BF7\u8F93\u5165\u8DEF\u7531\u5730\u5740"},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType=="C"?(_(),d(v,{key:3,span:12},{default:e(()=>[s(p,{prop:"component"},{label:e(()=>[c("span",null,[s(y,{content:"\u8BBF\u95EE\u7684\u7EC4\u4EF6\u8DEF\u5F84\uFF0C\u5982\uFF1A`system/user/index`\uFF0C\u9ED8\u8BA4\u5728`views`\u76EE\u5F55\u4E0B",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u7EC4\u4EF6\u8DEF\u5F84 ")])]),default:e(()=>[s(T,{modelValue:o(n).component,"onUpdate:modelValue":a[11]||(a[11]=l=>o(n).component=l),placeholder:"\u8BF7\u8F93\u5165\u7EC4\u4EF6\u8DEF\u5F84"},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType!="M"?(_(),d(v,{key:4,span:12},{default:e(()=>[s(p,null,{label:e(()=>[c("span",null,[s(y,{content:"\u63A7\u5236\u5668\u4E2D\u5B9A\u4E49\u7684\u6743\u9650\u5B57\u7B26\uFF0C\u5982\uFF1A@PreAuthorize(`@ss.hasPermi('system:user:list')`)",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u6743\u9650\u5B57\u7B26 ")])]),default:e(()=>[s(T,{modelValue:o(n).perms,"onUpdate:modelValue":a[12]||(a[12]=l=>o(n).perms=l),placeholder:"\u8BF7\u8F93\u5165\u6743\u9650\u6807\u8BC6",maxlength:"100"},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType=="C"?(_(),d(v,{key:5,span:12},{default:e(()=>[s(p,null,{label:e(()=>[c("span",null,[s(y,{content:'\u8BBF\u95EE\u8DEF\u7531\u7684\u9ED8\u8BA4\u4F20\u9012\u53C2\u6570\uFF0C\u5982\uFF1A`{"id": 1, "name": "ry"}`',placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u8DEF\u7531\u53C2\u6570 ")])]),default:e(()=>[s(T,{modelValue:o(n).query,"onUpdate:modelValue":a[13]||(a[13]=l=>o(n).query=l),placeholder:"\u8BF7\u8F93\u5165\u8DEF\u7531\u53C2\u6570",maxlength:"255"},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType=="C"?(_(),d(v,{key:6,span:12},{default:e(()=>[s(p,null,{label:e(()=>[c("span",null,[s(y,{content:"\u9009\u62E9\u662F\u5219\u4F1A\u88AB`keep-alive`\u7F13\u5B58\uFF0C\u9700\u8981\u5339\u914D\u7EC4\u4EF6\u7684`name`\u548C\u5730\u5740\u4FDD\u6301\u4E00\u81F4",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u662F\u5426\u7F13\u5B58 ")])]),default:e(()=>[s($,{modelValue:o(n).isCache,"onUpdate:modelValue":a[14]||(a[14]=l=>o(n).isCache=l)},{default:e(()=>[s(P,{label:"0"},{default:e(()=>[i("\u7F13\u5B58")]),_:1}),s(P,{label:"1"},{default:e(()=>[i("\u4E0D\u7F13\u5B58")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType!="F"?(_(),d(v,{key:7,span:12},{default:e(()=>[s(p,null,{label:e(()=>[c("span",null,[s(y,{content:"\u9009\u62E9\u9690\u85CF\u5219\u8DEF\u7531\u5C06\u4E0D\u4F1A\u51FA\u73B0\u5728\u4FA7\u8FB9\u680F\uFF0C\u4F46\u4ECD\u7136\u53EF\u4EE5\u8BBF\u95EE",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u663E\u793A\u72B6\u6001 ")])]),default:e(()=>[s($,{modelValue:o(n).visible,"onUpdate:modelValue":a[15]||(a[15]=l=>o(n).visible=l)},{default:e(()=>[(_(!0),w(Q,null,z(o(H),l=>(_(),d(P,{key:l.value,label:l.value},{default:e(()=>[i(G(l.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o(n).menuType!="F"?(_(),d(v,{key:8,span:12},{default:e(()=>[s(p,null,{label:e(()=>[c("span",null,[s(y,{content:"\u9009\u62E9\u505C\u7528\u5219\u8DEF\u7531\u5C06\u4E0D\u4F1A\u51FA\u73B0\u5728\u4FA7\u8FB9\u680F\uFF0C\u4E5F\u4E0D\u80FD\u88AB\u8BBF\u95EE",placement:"top"},{default:e(()=>[s(D,null,{default:e(()=>[s(L)]),_:1})]),_:1}),i(" \u83DC\u5355\u72B6\u6001 ")])]),default:e(()=>[s($,{modelValue:o(n).status,"onUpdate:modelValue":a[16]||(a[16]=l=>o(n).status=l)},{default:e(()=>[(_(!0),w(Q,null,z(o(I),l=>(_(),d(P,{key:l.value,label:l.value},{default:e(()=>[i(G(l.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0)]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}}),ts=_e(Ze,[["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/system/menu/index.vue"]]);export{ts as default};
|